summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2025-12-22 23:24:39 +0000
committerGitHub Action <[email protected]>2025-12-22 23:24:39 +0000
commitb25418e68b1dacef699985cdd79c270b9e4303e8 (patch)
treeaf95284264647f4a9d71fee9abcd45eb850785f1 /packages
parent046e3511409e7830fb24d8943b241d1febb10646 (diff)
downloadopencode-b25418e68b1dacef699985cdd79c270b9e4303e8.tar.gz
opencode-b25418e68b1dacef699985cdd79c270b9e4303e8.zip
chore: generate
Diffstat (limited to 'packages')
-rw-r--r--packages/plugin/package.json2
-rw-r--r--packages/sdk/js/package.json2
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts24
-rw-r--r--packages/sdk/openapi.json48
4 files changed, 73 insertions, 3 deletions
diff --git a/packages/plugin/package.json b/packages/plugin/package.json
index 5df882dbe..26b2d7310 100644
--- a/packages/plugin/package.json
+++ b/packages/plugin/package.json
@@ -24,4 +24,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
-} \ No newline at end of file
+}
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index 6e976bc7a..78cf5cdf0 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -29,4 +29,4 @@
"publishConfig": {
"directory": "dist"
}
-} \ No newline at end of file
+}
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index 4eeeceb55..403f1d6a0 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -1167,6 +1167,13 @@ export type AgentConfig = {
| {
[key: string]: "ask" | "allow" | "deny"
}
+ skill?:
+ | "ask"
+ | "allow"
+ | "deny"
+ | {
+ [key: string]: "ask" | "allow" | "deny"
+ }
webfetch?: "ask" | "allow" | "deny"
doom_loop?: "ask" | "allow" | "deny"
external_directory?: "ask" | "allow" | "deny"
@@ -1193,6 +1200,13 @@ export type AgentConfig = {
| {
[key: string]: "ask" | "allow" | "deny"
}
+ skill?:
+ | "ask"
+ | "allow"
+ | "deny"
+ | {
+ [key: string]: "ask" | "allow" | "deny"
+ }
webfetch?: "ask" | "allow" | "deny"
doom_loop?: "ask" | "allow" | "deny"
external_directory?: "ask" | "allow" | "deny"
@@ -1512,6 +1526,13 @@ export type Config = {
| {
[key: string]: "ask" | "allow" | "deny"
}
+ skill?:
+ | "ask"
+ | "allow"
+ | "deny"
+ | {
+ [key: string]: "ask" | "allow" | "deny"
+ }
webfetch?: "ask" | "allow" | "deny"
doom_loop?: "ask" | "allow" | "deny"
external_directory?: "ask" | "allow" | "deny"
@@ -1792,6 +1813,9 @@ export type Agent = {
bash: {
[key: string]: "ask" | "allow" | "deny"
}
+ skill: {
+ [key: string]: "ask" | "allow" | "deny"
+ }
webfetch?: "ask" | "allow" | "deny"
doom_loop?: "ask" | "allow" | "deny"
external_directory?: "ask" | "allow" | "deny"
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index 455bd51f8..24aea70a8 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -7687,6 +7687,24 @@
}
]
},
+ "skill": {
+ "anyOf": [
+ {
+ "type": "string",
+ "enum": ["ask", "allow", "deny"]
+ },
+ {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {
+ "type": "string",
+ "enum": ["ask", "allow", "deny"]
+ }
+ }
+ ]
+ },
"webfetch": {
"type": "string",
"enum": ["ask", "allow", "deny"]
@@ -8395,6 +8413,24 @@
}
]
},
+ "skill": {
+ "anyOf": [
+ {
+ "type": "string",
+ "enum": ["ask", "allow", "deny"]
+ },
+ {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {
+ "type": "string",
+ "enum": ["ask", "allow", "deny"]
+ }
+ }
+ ]
+ },
"webfetch": {
"type": "string",
"enum": ["ask", "allow", "deny"]
@@ -9204,6 +9240,16 @@
"enum": ["ask", "allow", "deny"]
}
},
+ "skill": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {
+ "type": "string",
+ "enum": ["ask", "allow", "deny"]
+ }
+ },
"webfetch": {
"type": "string",
"enum": ["ask", "allow", "deny"]
@@ -9217,7 +9263,7 @@
"enum": ["ask", "allow", "deny"]
}
},
- "required": ["edit", "bash"]
+ "required": ["edit", "bash", "skill"]
},
"model": {
"type": "object",