Selaa lähdekoodia

chore: generate

opencode-agent[bot] 3 kuukautta sitten
vanhempi
commit
e54f974840

+ 1 - 3
packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx

@@ -324,9 +324,7 @@ export function Autocomplete(props: {
       ...(reference.kind === "invalid" ? [] : [`Reference root: ${reference.path}`]),
       ...(reference.kind === "invalid" ? [] : [`Reference root: ${reference.path}`]),
       ...(problem
       ...(problem
         ? [`Problem: ${problem}`]
         ? [`Problem: ${problem}`]
-        : [
-            "Inspect the configured reference with Read, Glob, and Grep when useful.",
-          ]),
+        : ["Inspect the configured reference with Read, Glob, and Grep when useful."]),
     ].join("\n")
     ].join("\n")
   }
   }
 
 

+ 1 - 3
packages/opencode/src/session/prompt/reference.ts

@@ -63,9 +63,7 @@ export function referenceTextPart(input: {
       ...(metadata.targetPath ? [`Resolved path: ${metadata.targetPath}`] : []),
       ...(metadata.targetPath ? [`Resolved path: ${metadata.targetPath}`] : []),
       ...(metadata.problem
       ...(metadata.problem
         ? [`Problem: ${metadata.problem}`]
         ? [`Problem: ${metadata.problem}`]
-        : [
-            "Inspect the configured reference with Read, Glob, and Grep when useful.",
-          ]),
+        : ["Inspect the configured reference with Read, Glob, and Grep when useful."]),
     ].join("\n"),
     ].join("\n"),
     metadata: { reference: metadata },
     metadata: { reference: metadata },
   }
   }

+ 0 - 3
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -1569,8 +1569,6 @@ export type PermissionConfig =
       question?: PermissionActionConfig
       question?: PermissionActionConfig
       webfetch?: PermissionActionConfig
       webfetch?: PermissionActionConfig
       websearch?: PermissionActionConfig
       websearch?: PermissionActionConfig
-      repo_clone?: PermissionRuleConfig
-      repo_overview?: PermissionRuleConfig
       lsp?: PermissionRuleConfig
       lsp?: PermissionRuleConfig
       doom_loop?: PermissionActionConfig
       doom_loop?: PermissionActionConfig
       skill?: PermissionRuleConfig
       skill?: PermissionRuleConfig
@@ -1826,7 +1824,6 @@ export type Config = {
     build?: AgentConfig
     build?: AgentConfig
     general?: AgentConfig
     general?: AgentConfig
     explore?: AgentConfig
     explore?: AgentConfig
-    scout?: AgentConfig
     title?: AgentConfig
     title?: AgentConfig
     summary?: AgentConfig
     summary?: AgentConfig
     compaction?: AgentConfig
     compaction?: AgentConfig

+ 0 - 9
packages/sdk/openapi.json

@@ -15865,12 +15865,6 @@
               "websearch": {
               "websearch": {
                 "$ref": "#/components/schemas/PermissionActionConfig"
                 "$ref": "#/components/schemas/PermissionActionConfig"
               },
               },
-              "repo_clone": {
-                "$ref": "#/components/schemas/PermissionRuleConfig"
-              },
-              "repo_overview": {
-                "$ref": "#/components/schemas/PermissionRuleConfig"
-              },
               "lsp": {
               "lsp": {
                 "$ref": "#/components/schemas/PermissionRuleConfig"
                 "$ref": "#/components/schemas/PermissionRuleConfig"
               },
               },
@@ -16507,9 +16501,6 @@
               "explore": {
               "explore": {
                 "$ref": "#/components/schemas/AgentConfig"
                 "$ref": "#/components/schemas/AgentConfig"
               },
               },
-              "scout": {
-                "$ref": "#/components/schemas/AgentConfig"
-              },
               "title": {
               "title": {
                 "$ref": "#/components/schemas/AgentConfig"
                 "$ref": "#/components/schemas/AgentConfig"
               },
               },