@opencode-ai/sdk 0.0.0-snapshot-terminal-title-animation-202512151259 → 0.0.0-snapshot-start-screen-tips-202512221907

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.
@@ -385,10 +385,10 @@ export declare class Session extends HeyApiClient {
385
385
  };
386
386
  agent?: string;
387
387
  noReply?: boolean;
388
- system?: string;
389
388
  tools?: {
390
389
  [key: string]: boolean;
391
390
  };
391
+ system?: string;
392
392
  parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
393
393
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
394
394
  /**
@@ -416,10 +416,10 @@ export declare class Session extends HeyApiClient {
416
416
  };
417
417
  agent?: string;
418
418
  noReply?: boolean;
419
- system?: string;
420
419
  tools?: {
421
420
  [key: string]: boolean;
422
421
  };
422
+ system?: string;
423
423
  parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
424
424
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
425
425
  /**
@@ -723,8 +723,8 @@ export class Session extends HeyApiClient {
723
723
  { in: "body", key: "model" },
724
724
  { in: "body", key: "agent" },
725
725
  { in: "body", key: "noReply" },
726
- { in: "body", key: "system" },
727
726
  { in: "body", key: "tools" },
727
+ { in: "body", key: "system" },
728
728
  { in: "body", key: "parts" },
729
729
  ],
730
730
  },
@@ -776,8 +776,8 @@ export class Session extends HeyApiClient {
776
776
  { in: "body", key: "model" },
777
777
  { in: "body", key: "agent" },
778
778
  { in: "body", key: "noReply" },
779
- { in: "body", key: "system" },
780
779
  { in: "body", key: "tools" },
780
+ { in: "body", key: "system" },
781
781
  { in: "body", key: "parts" },
782
782
  ],
783
783
  },
@@ -130,6 +130,7 @@ export type AssistantMessage = {
130
130
  modelID: string;
131
131
  providerID: string;
132
132
  mode: string;
133
+ agent: string;
133
134
  path: {
134
135
  cwd: string;
135
136
  root: string;
@@ -372,6 +373,7 @@ export type Part = TextPart | {
372
373
  prompt: string;
373
374
  description: string;
374
375
  agent: string;
376
+ command?: string;
375
377
  } | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | AgentPart | RetryPart | CompactionPart;
376
378
  export type EventMessagePartUpdated = {
377
379
  type: "message.part.updated";
@@ -415,35 +417,6 @@ export type EventPermissionReplied = {
415
417
  response: string;
416
418
  };
417
419
  };
418
- export type SessionStatus = {
419
- type: "idle";
420
- } | {
421
- type: "retry";
422
- attempt: number;
423
- message: string;
424
- next: number;
425
- } | {
426
- type: "busy";
427
- };
428
- export type EventSessionStatus = {
429
- type: "session.status";
430
- properties: {
431
- sessionID: string;
432
- status: SessionStatus;
433
- };
434
- };
435
- export type EventSessionIdle = {
436
- type: "session.idle";
437
- properties: {
438
- sessionID: string;
439
- };
440
- };
441
- export type EventSessionCompacted = {
442
- type: "session.compacted";
443
- properties: {
444
- sessionID: string;
445
- };
446
- };
447
420
  export type EventFileEdited = {
448
421
  type: "file.edited";
449
422
  properties: {
@@ -475,6 +448,35 @@ export type EventTodoUpdated = {
475
448
  todos: Array<Todo>;
476
449
  };
477
450
  };
451
+ export type SessionStatus = {
452
+ type: "idle";
453
+ } | {
454
+ type: "retry";
455
+ attempt: number;
456
+ message: string;
457
+ next: number;
458
+ } | {
459
+ type: "busy";
460
+ };
461
+ export type EventSessionStatus = {
462
+ type: "session.status";
463
+ properties: {
464
+ sessionID: string;
465
+ status: SessionStatus;
466
+ };
467
+ };
468
+ export type EventSessionIdle = {
469
+ type: "session.idle";
470
+ properties: {
471
+ sessionID: string;
472
+ };
473
+ };
474
+ export type EventSessionCompacted = {
475
+ type: "session.compacted";
476
+ properties: {
477
+ sessionID: string;
478
+ };
479
+ };
478
480
  export type EventCommandExecuted = {
479
481
  type: "command.executed";
480
482
  properties: {
@@ -628,7 +630,7 @@ export type EventGlobalDisposed = {
628
630
  [key: string]: unknown;
629
631
  };
630
632
  };
631
- export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventFileEdited | EventTodoUpdated | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventServerConnected | EventGlobalDisposed;
633
+ export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventServerConnected | EventGlobalDisposed;
632
634
  export type GlobalEvent = {
633
635
  directory: string;
634
636
  payload: Event;
@@ -774,6 +776,14 @@ export type KeybindsConfig = {
774
776
  * Previous recently used model
775
777
  */
776
778
  model_cycle_recent_reverse?: string;
779
+ /**
780
+ * Next favorite model
781
+ */
782
+ model_cycle_favorite?: string;
783
+ /**
784
+ * Previous favorite model
785
+ */
786
+ model_cycle_favorite_reverse?: string;
777
787
  /**
778
788
  * List available commands
779
789
  */
@@ -1241,6 +1251,9 @@ export type Config = {
1241
1251
  build?: AgentConfig;
1242
1252
  general?: AgentConfig;
1243
1253
  explore?: AgentConfig;
1254
+ title?: AgentConfig;
1255
+ summary?: AgentConfig;
1256
+ compaction?: AgentConfig;
1244
1257
  [key: string]: AgentConfig | undefined;
1245
1258
  };
1246
1259
  /**
@@ -1337,6 +1350,10 @@ export type Config = {
1337
1350
  * Tools that should only be available to primary agents.
1338
1351
  */
1339
1352
  primary_tools?: Array<string>;
1353
+ /**
1354
+ * Continue the agent loop when a tool call is denied
1355
+ */
1356
+ continue_loop_on_deny?: boolean;
1340
1357
  };
1341
1358
  };
1342
1359
  export type ToolIds = Array<string>;
@@ -1394,6 +1411,7 @@ export type SubtaskPartInput = {
1394
1411
  prompt: string;
1395
1412
  description: string;
1396
1413
  agent: string;
1414
+ command?: string;
1397
1415
  };
1398
1416
  export type Command = {
1399
1417
  name: string;
@@ -1463,6 +1481,7 @@ export type Model = {
1463
1481
  headers: {
1464
1482
  [key: string]: string;
1465
1483
  };
1484
+ release_date: string;
1466
1485
  };
1467
1486
  export type Provider = {
1468
1487
  id: string;
@@ -1532,7 +1551,8 @@ export type Agent = {
1532
1551
  name: string;
1533
1552
  description?: string;
1534
1553
  mode: "subagent" | "primary" | "all";
1535
- builtIn: boolean;
1554
+ native?: boolean;
1555
+ hidden?: boolean;
1536
1556
  topP?: number;
1537
1557
  temperature?: number;
1538
1558
  color?: string;
@@ -2429,10 +2449,10 @@ export type SessionPromptData = {
2429
2449
  };
2430
2450
  agent?: string;
2431
2451
  noReply?: boolean;
2432
- system?: string;
2433
2452
  tools?: {
2434
2453
  [key: string]: boolean;
2435
2454
  };
2455
+ system?: string;
2436
2456
  parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
2437
2457
  };
2438
2458
  path: {
@@ -2514,10 +2534,10 @@ export type SessionPromptAsyncData = {
2514
2534
  };
2515
2535
  agent?: string;
2516
2536
  noReply?: boolean;
2517
- system?: string;
2518
2537
  tools?: {
2519
2538
  [key: string]: boolean;
2520
2539
  };
2540
+ system?: string;
2521
2541
  parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
2522
2542
  };
2523
2543
  path: {
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-terminal-title-animation-202512151259",
4
+ "version": "0.0.0-snapshot-start-screen-tips-202512221907",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",