@opencode-ai/sdk 1.1.34 → 1.1.35
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/v2/gen/types.gen.d.ts +14 -1
- package/package.json +1 -1
|
@@ -746,7 +746,20 @@ export type EventPtyDeleted = {
|
|
|
746
746
|
id: string;
|
|
747
747
|
};
|
|
748
748
|
};
|
|
749
|
-
export type
|
|
749
|
+
export type EventWorktreeReady = {
|
|
750
|
+
type: "worktree.ready";
|
|
751
|
+
properties: {
|
|
752
|
+
name: string;
|
|
753
|
+
branch: string;
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
export type EventWorktreeFailed = {
|
|
757
|
+
type: "worktree.failed";
|
|
758
|
+
properties: {
|
|
759
|
+
message: string;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
750
763
|
export type GlobalEvent = {
|
|
751
764
|
directory: string;
|
|
752
765
|
payload: Event;
|