@opencode-ai/sdk 1.14.20 → 1.14.21

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.
@@ -986,8 +986,7 @@ export type PermissionObjectConfig = {
986
986
  [key: string]: PermissionActionConfig;
987
987
  };
988
988
  export type PermissionRuleConfig = PermissionActionConfig | PermissionObjectConfig;
989
- export type PermissionConfig = {
990
- __originalKeys?: Array<string>;
989
+ export type PermissionConfig = PermissionActionConfig | {
991
990
  read?: PermissionRuleConfig;
992
991
  edit?: PermissionRuleConfig;
993
992
  glob?: PermissionRuleConfig;
@@ -1004,8 +1003,8 @@ export type PermissionConfig = {
1004
1003
  lsp?: PermissionRuleConfig;
1005
1004
  doom_loop?: PermissionActionConfig;
1006
1005
  skill?: PermissionRuleConfig;
1007
- [key: string]: PermissionRuleConfig | Array<string> | PermissionActionConfig | undefined;
1008
- } | PermissionActionConfig;
1006
+ [key: string]: PermissionRuleConfig | PermissionActionConfig | undefined;
1007
+ };
1009
1008
  export type AgentConfig = {
1010
1009
  model?: string;
1011
1010
  /**
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.14.20",
4
+ "version": "1.14.21",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {