summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-11-26 15:33:43 -0800
committerGitHub <[email protected]>2025-11-26 17:33:43 -0600
commit99d7ff47c409a80a9c3b8217e8ca09383f4e70ac (patch)
tree4d6224c7ec2bf62ab24300c96bb55bf1c3171019 /packages/sdk
parent3ff0eb3065e477af8f9c7c50c37c2b04e919e689 (diff)
downloadopencode-99d7ff47c409a80a9c3b8217e8ca09383f4e70ac.tar.gz
opencode-99d7ff47c409a80a9c3b8217e8ca09383f4e70ac.zip
enable parcel file watcher, expand parcel ignore patterns, replace fs watcher for git branches with parcel (#4805)
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts19
1 files changed, 10 insertions, 9 deletions
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index efa5c9946..bf23f77ec 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -589,6 +589,14 @@ export type EventSessionError = {
}
}
+export type EventFileWatcherUpdated = {
+ type: "file.watcher.updated"
+ properties: {
+ file: string
+ event: "add" | "change" | "unlink"
+ }
+}
+
export type EventVcsBranchUpdated = {
type: "vcs.branch.updated"
properties: {
@@ -647,14 +655,6 @@ export type EventServerConnected = {
}
}
-export type EventFileWatcherUpdated = {
- type: "file.watcher.updated"
- properties: {
- file: string
- event: "add" | "change" | "unlink"
- }
-}
-
export type Event =
| EventInstallationUpdated
| EventInstallationUpdateAvailable
@@ -677,12 +677,12 @@ export type Event =
| EventSessionDeleted
| EventSessionDiff
| EventSessionError
+ | EventFileWatcherUpdated
| EventVcsBranchUpdated
| EventTuiPromptAppend
| EventTuiCommandExecute
| EventTuiToastShow
| EventServerConnected
- | EventFileWatcherUpdated
export type GlobalEvent = {
directory: string
@@ -692,6 +692,7 @@ export type GlobalEvent = {
export type Project = {
id: string
worktree: string
+ vcsDir?: string
vcs?: "git"
time: {
created: number