@opencode-ai/sdk 0.0.0-dev-202602140254 → 0.0.0-dev-202602140449
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 +11 -6
- package/package.json +1 -1
|
@@ -452,7 +452,16 @@ export type EventMessagePartUpdated = {
|
|
|
452
452
|
type: "message.part.updated";
|
|
453
453
|
properties: {
|
|
454
454
|
part: Part;
|
|
455
|
-
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
export type EventMessagePartDelta = {
|
|
458
|
+
type: "message.part.delta";
|
|
459
|
+
properties: {
|
|
460
|
+
sessionID: string;
|
|
461
|
+
messageID: string;
|
|
462
|
+
partID: string;
|
|
463
|
+
field: string;
|
|
464
|
+
delta: string;
|
|
456
465
|
};
|
|
457
466
|
};
|
|
458
467
|
export type EventMessagePartRemoved = {
|
|
@@ -602,10 +611,6 @@ export type Todo = {
|
|
|
602
611
|
* Priority level of the task: high, medium, low
|
|
603
612
|
*/
|
|
604
613
|
priority: string;
|
|
605
|
-
/**
|
|
606
|
-
* Unique identifier for the todo item
|
|
607
|
-
*/
|
|
608
|
-
id: string;
|
|
609
614
|
};
|
|
610
615
|
export type EventTodoUpdated = {
|
|
611
616
|
type: "todo.updated";
|
|
@@ -792,7 +797,7 @@ export type EventWorktreeFailed = {
|
|
|
792
797
|
message: string;
|
|
793
798
|
};
|
|
794
799
|
};
|
|
795
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventFileWatcherUpdated | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
800
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartDelta | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventFileWatcherUpdated | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
796
801
|
export type GlobalEvent = {
|
|
797
802
|
directory: string;
|
|
798
803
|
payload: Event;
|