@opencode-ai/sdk 1.0.115 → 1.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/types.gen.d.ts +10 -14
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -516,6 +516,13 @@ export type EventSessionError = {
|
|
|
516
516
|
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | ApiError;
|
|
517
517
|
};
|
|
518
518
|
};
|
|
519
|
+
export type EventFileWatcherUpdated = {
|
|
520
|
+
type: "file.watcher.updated";
|
|
521
|
+
properties: {
|
|
522
|
+
file: string;
|
|
523
|
+
event: "add" | "change" | "unlink";
|
|
524
|
+
};
|
|
525
|
+
};
|
|
519
526
|
export type EventVcsBranchUpdated = {
|
|
520
527
|
type: "vcs.branch.updated";
|
|
521
528
|
properties: {
|
|
@@ -552,14 +559,7 @@ export type EventServerConnected = {
|
|
|
552
559
|
[key: string]: unknown;
|
|
553
560
|
};
|
|
554
561
|
};
|
|
555
|
-
export type
|
|
556
|
-
type: "file.watcher.updated";
|
|
557
|
-
properties: {
|
|
558
|
-
file: string;
|
|
559
|
-
event: "add" | "change" | "unlink";
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventFileEdited | EventTodoUpdated | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventServerConnected | EventFileWatcherUpdated;
|
|
562
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventFileEdited | EventTodoUpdated | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventServerConnected;
|
|
563
563
|
export type GlobalEvent = {
|
|
564
564
|
directory: string;
|
|
565
565
|
payload: Event;
|
|
@@ -567,6 +567,7 @@ export type GlobalEvent = {
|
|
|
567
567
|
export type Project = {
|
|
568
568
|
id: string;
|
|
569
569
|
worktree: string;
|
|
570
|
+
vcsDir?: string;
|
|
570
571
|
vcs?: "git";
|
|
571
572
|
time: {
|
|
572
573
|
created: number;
|
|
@@ -1107,12 +1108,7 @@ export type Path = {
|
|
|
1107
1108
|
directory: string;
|
|
1108
1109
|
};
|
|
1109
1110
|
export type VcsInfo = {
|
|
1110
|
-
|
|
1111
|
-
directory: string;
|
|
1112
|
-
projectID: string;
|
|
1113
|
-
vcs?: {
|
|
1114
|
-
branch: string;
|
|
1115
|
-
};
|
|
1111
|
+
branch: string;
|
|
1116
1112
|
};
|
|
1117
1113
|
export type NotFoundError = {
|
|
1118
1114
|
name: "NotFoundError";
|