@opencode-ai/sdk 0.4.29 → 0.4.34
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.
- package/dist/gen/types.gen.d.ts +21 -1
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -812,9 +812,22 @@ export type AgentConfig = {
|
|
|
812
812
|
*/
|
|
813
813
|
description?: string;
|
|
814
814
|
mode?: string;
|
|
815
|
+
permission?: {
|
|
816
|
+
edit?: string;
|
|
817
|
+
bash?: string | {
|
|
818
|
+
[key: string]: string;
|
|
819
|
+
};
|
|
820
|
+
webfetch?: string;
|
|
821
|
+
};
|
|
815
822
|
[key: string]: unknown | string | number | {
|
|
816
823
|
[key: string]: boolean;
|
|
817
|
-
} | boolean | string |
|
|
824
|
+
} | boolean | string | {
|
|
825
|
+
edit?: string;
|
|
826
|
+
bash?: string | {
|
|
827
|
+
[key: string]: string;
|
|
828
|
+
};
|
|
829
|
+
webfetch?: string;
|
|
830
|
+
} | undefined;
|
|
818
831
|
};
|
|
819
832
|
export type Provider = {
|
|
820
833
|
api?: string;
|
|
@@ -942,6 +955,13 @@ export type Agent = {
|
|
|
942
955
|
mode: string;
|
|
943
956
|
topP?: number;
|
|
944
957
|
temperature?: number;
|
|
958
|
+
permission: {
|
|
959
|
+
edit: string;
|
|
960
|
+
bash: {
|
|
961
|
+
[key: string]: string;
|
|
962
|
+
};
|
|
963
|
+
webfetch?: string;
|
|
964
|
+
};
|
|
945
965
|
model?: {
|
|
946
966
|
modelID: string;
|
|
947
967
|
providerID: string;
|