@opencode-ai/sdk 0.0.0-snapshot-plz-help-202512122319 → 0.0.0-snapshot-start-screen-tips-202512171706
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 +18 -0
- package/package.json +1 -1
|
@@ -373,6 +373,7 @@ export type Part = TextPart | {
|
|
|
373
373
|
prompt: string;
|
|
374
374
|
description: string;
|
|
375
375
|
agent: string;
|
|
376
|
+
command?: string;
|
|
376
377
|
} | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | AgentPart | RetryPart | CompactionPart;
|
|
377
378
|
export type EventMessagePartUpdated = {
|
|
378
379
|
type: "message.part.updated";
|
|
@@ -775,6 +776,14 @@ export type KeybindsConfig = {
|
|
|
775
776
|
* Previous recently used model
|
|
776
777
|
*/
|
|
777
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;
|
|
778
787
|
/**
|
|
779
788
|
* List available commands
|
|
780
789
|
*/
|
|
@@ -1242,6 +1251,9 @@ export type Config = {
|
|
|
1242
1251
|
build?: AgentConfig;
|
|
1243
1252
|
general?: AgentConfig;
|
|
1244
1253
|
explore?: AgentConfig;
|
|
1254
|
+
title?: AgentConfig;
|
|
1255
|
+
summary?: AgentConfig;
|
|
1256
|
+
compaction?: AgentConfig;
|
|
1245
1257
|
[key: string]: AgentConfig | undefined;
|
|
1246
1258
|
};
|
|
1247
1259
|
/**
|
|
@@ -1338,6 +1350,10 @@ export type Config = {
|
|
|
1338
1350
|
* Tools that should only be available to primary agents.
|
|
1339
1351
|
*/
|
|
1340
1352
|
primary_tools?: Array<string>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Continue the agent loop when a tool call is denied
|
|
1355
|
+
*/
|
|
1356
|
+
continue_loop_on_deny?: boolean;
|
|
1341
1357
|
};
|
|
1342
1358
|
};
|
|
1343
1359
|
export type ToolIds = Array<string>;
|
|
@@ -1395,6 +1411,7 @@ export type SubtaskPartInput = {
|
|
|
1395
1411
|
prompt: string;
|
|
1396
1412
|
description: string;
|
|
1397
1413
|
agent: string;
|
|
1414
|
+
command?: string;
|
|
1398
1415
|
};
|
|
1399
1416
|
export type Command = {
|
|
1400
1417
|
name: string;
|
|
@@ -1464,6 +1481,7 @@ export type Model = {
|
|
|
1464
1481
|
headers: {
|
|
1465
1482
|
[key: string]: string;
|
|
1466
1483
|
};
|
|
1484
|
+
release_date: string;
|
|
1467
1485
|
};
|
|
1468
1486
|
export type Provider = {
|
|
1469
1487
|
id: 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-start-screen-tips-202512171706",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsgo --noEmit",
|