@opencode-ai/sdk 1.1.18 → 1.1.19

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.
@@ -477,6 +477,10 @@ export type QuestionInfo = {
477
477
  * Allow selecting multiple choices
478
478
  */
479
479
  multiple?: boolean;
480
+ /**
481
+ * Allow typing a custom answer (default: true)
482
+ */
483
+ custom?: boolean;
480
484
  };
481
485
  export type QuestionRequest = {
482
486
  id: string;
@@ -604,6 +608,7 @@ export type PermissionRule = {
604
608
  export type PermissionRuleset = Array<PermissionRule>;
605
609
  export type Session = {
606
610
  id: string;
611
+ slug: string;
607
612
  projectID: string;
608
613
  directory: string;
609
614
  parentID?: 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.1.18",
4
+ "version": "1.1.19",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {