@opencode-ai/sdk 1.0.164 → 1.0.166

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.
@@ -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";
@@ -1410,6 +1411,7 @@ export type SubtaskPartInput = {
1410
1411
  prompt: string;
1411
1412
  description: string;
1412
1413
  agent: string;
1414
+ command?: string;
1413
1415
  };
1414
1416
  export type Command = {
1415
1417
  name: 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": "1.0.164",
4
+ "version": "1.0.166",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",