@opencode-ai/sdk 0.0.0-snapshot-start-screen-tips-202512230618 → 0.0.0-snapshot-terminal-title-animation-202512230705
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 +25 -29
- package/package.json +1 -1
|
@@ -477,6 +477,30 @@ export type EventSessionCompacted = {
|
|
|
477
477
|
sessionID: string;
|
|
478
478
|
};
|
|
479
479
|
};
|
|
480
|
+
export type EventTuiPromptAppend = {
|
|
481
|
+
type: "tui.prompt.append";
|
|
482
|
+
properties: {
|
|
483
|
+
text: string;
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
export type EventTuiCommandExecute = {
|
|
487
|
+
type: "tui.command.execute";
|
|
488
|
+
properties: {
|
|
489
|
+
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
export type EventTuiToastShow = {
|
|
493
|
+
type: "tui.toast.show";
|
|
494
|
+
properties: {
|
|
495
|
+
title?: string;
|
|
496
|
+
message: string;
|
|
497
|
+
variant: "info" | "success" | "warning" | "error";
|
|
498
|
+
/**
|
|
499
|
+
* Duration in milliseconds
|
|
500
|
+
*/
|
|
501
|
+
duration?: number;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
480
504
|
export type EventCommandExecuted = {
|
|
481
505
|
type: "command.executed";
|
|
482
506
|
properties: {
|
|
@@ -560,30 +584,6 @@ export type EventVcsBranchUpdated = {
|
|
|
560
584
|
branch?: string;
|
|
561
585
|
};
|
|
562
586
|
};
|
|
563
|
-
export type EventTuiPromptAppend = {
|
|
564
|
-
type: "tui.prompt.append";
|
|
565
|
-
properties: {
|
|
566
|
-
text: string;
|
|
567
|
-
};
|
|
568
|
-
};
|
|
569
|
-
export type EventTuiCommandExecute = {
|
|
570
|
-
type: "tui.command.execute";
|
|
571
|
-
properties: {
|
|
572
|
-
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
export type EventTuiToastShow = {
|
|
576
|
-
type: "tui.toast.show";
|
|
577
|
-
properties: {
|
|
578
|
-
title?: string;
|
|
579
|
-
message: string;
|
|
580
|
-
variant: "info" | "success" | "warning" | "error";
|
|
581
|
-
/**
|
|
582
|
-
* Duration in milliseconds
|
|
583
|
-
*/
|
|
584
|
-
duration?: number;
|
|
585
|
-
};
|
|
586
|
-
};
|
|
587
587
|
export type Pty = {
|
|
588
588
|
id: string;
|
|
589
589
|
title: string;
|
|
@@ -630,7 +630,7 @@ export type EventGlobalDisposed = {
|
|
|
630
630
|
[key: string]: unknown;
|
|
631
631
|
};
|
|
632
632
|
};
|
|
633
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted |
|
|
633
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventServerConnected | EventGlobalDisposed;
|
|
634
634
|
export type GlobalEvent = {
|
|
635
635
|
directory: string;
|
|
636
636
|
payload: Event;
|
|
@@ -992,10 +992,6 @@ export type KeybindsConfig = {
|
|
|
992
992
|
* Toggle terminal title
|
|
993
993
|
*/
|
|
994
994
|
terminal_title_toggle?: string;
|
|
995
|
-
/**
|
|
996
|
-
* Toggle tips on home screen
|
|
997
|
-
*/
|
|
998
|
-
tips_toggle?: string;
|
|
999
995
|
};
|
|
1000
996
|
export type AgentConfig = {
|
|
1001
997
|
model?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/sdk",
|
|
4
|
-
"version": "0.0.0-snapshot-
|
|
4
|
+
"version": "0.0.0-snapshot-terminal-title-animation-202512230705",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsgo --noEmit",
|