@opencode-ai/sdk 1.17.0 → 1.17.2

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.
@@ -1360,21 +1360,6 @@ export type ServerConfig = {
1360
1360
  mdnsDomain?: string;
1361
1361
  cors?: Array<string>;
1362
1362
  };
1363
- export type ReferenceConfigEntry = string | {
1364
- /**
1365
- * Git repository URL, host/path reference, or GitHub owner/repo shorthand
1366
- */
1367
- repository: string;
1368
- branch?: string;
1369
- } | {
1370
- /**
1371
- * Absolute path, ~/ path, or workspace-relative path to a local reference directory
1372
- */
1373
- path: string;
1374
- };
1375
- export type ReferenceConfig = {
1376
- [key: string]: ReferenceConfigEntry;
1377
- };
1378
1363
  export type PermissionActionConfig = "ask" | "allow" | "deny";
1379
1364
  export type PermissionObjectConfig = {
1380
1365
  [key: string]: PermissionActionConfig;
@@ -1582,7 +1567,12 @@ export type Config = {
1582
1567
  paths?: Array<string>;
1583
1568
  urls?: Array<string>;
1584
1569
  };
1585
- reference?: ReferenceConfig;
1570
+ references?: {
1571
+ [key: string]: string | ConfigV2ReferenceGit | ConfigV2ReferenceLocal;
1572
+ };
1573
+ reference?: {
1574
+ [key: string]: string | ConfigV2ReferenceGit | ConfigV2ReferenceLocal;
1575
+ };
1586
1576
  watcher?: {
1587
1577
  ignore?: Array<string>;
1588
1578
  };
@@ -3156,6 +3146,17 @@ export type SyncEventSessionNextCompactionEnded = {
3156
3146
  };
3157
3147
  };
3158
3148
  };
3149
+ export type ConfigV2ReferenceGit = {
3150
+ repository: string;
3151
+ branch?: string;
3152
+ description?: string;
3153
+ hidden?: boolean;
3154
+ };
3155
+ export type ConfigV2ReferenceLocal = {
3156
+ path: string;
3157
+ description?: string;
3158
+ hidden?: boolean;
3159
+ };
3159
3160
  export type PolicyEffect = "allow" | "deny";
3160
3161
  export type ConfigV2ExperimentalPolicy = {
3161
3162
  action: "provider.use";
@@ -3553,15 +3554,21 @@ export type QuestionV2Reply = {
3553
3554
  export type ReferenceLocalSource = {
3554
3555
  type: "local";
3555
3556
  path: string;
3557
+ description?: string;
3558
+ hidden?: boolean;
3556
3559
  };
3557
3560
  export type ReferenceGitSource = {
3558
3561
  type: "git";
3559
3562
  repository: string;
3560
3563
  branch?: string;
3564
+ description?: string;
3565
+ hidden?: boolean;
3561
3566
  };
3562
3567
  export type ReferenceInfo = {
3563
3568
  name: string;
3564
3569
  path: string;
3570
+ description?: string;
3571
+ hidden?: boolean;
3565
3572
  source: ReferenceLocalSource | ReferenceGitSource;
3566
3573
  };
3567
3574
  export type EventModelsDevRefreshed = {
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.17.0",
4
+ "version": "1.17.2",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {