@opencode-ai/sdk 1.14.23 → 1.14.25
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,7 +986,9 @@ export type PermissionObjectConfig = {
|
|
|
986
986
|
[key: string]: PermissionActionConfig;
|
|
987
987
|
};
|
|
988
988
|
export type PermissionRuleConfig = PermissionActionConfig | PermissionObjectConfig;
|
|
989
|
-
export type PermissionConfig = PermissionActionConfig | {
|
|
989
|
+
export type PermissionConfig = PermissionActionConfig | ({
|
|
990
|
+
[key: string]: PermissionRuleConfig;
|
|
991
|
+
} & {
|
|
990
992
|
read?: PermissionRuleConfig;
|
|
991
993
|
edit?: PermissionRuleConfig;
|
|
992
994
|
glob?: PermissionRuleConfig;
|
|
@@ -1004,7 +1006,7 @@ export type PermissionConfig = PermissionActionConfig | {
|
|
|
1004
1006
|
doom_loop?: PermissionActionConfig;
|
|
1005
1007
|
skill?: PermissionRuleConfig;
|
|
1006
1008
|
[key: string]: PermissionRuleConfig | PermissionActionConfig | undefined;
|
|
1007
|
-
};
|
|
1009
|
+
});
|
|
1008
1010
|
export type AgentConfig = {
|
|
1009
1011
|
model?: string;
|
|
1010
1012
|
/**
|