mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 04:29:42 +00:00
chore: generate
This commit is contained in:
parent
1a734adb4d
commit
27353df0cc
3 changed files with 61 additions and 72 deletions
|
|
@ -15,7 +15,12 @@ import type { EventSource } from "./context/sdk"
|
|||
import { win32DisableProcessedInput, win32InstallCtrlCGuard } from "./win32"
|
||||
import { writeHeapSnapshot } from "v8"
|
||||
import { TuiConfig } from "./config/tui"
|
||||
import { OPENCODE_PROCESS_ROLE, OPENCODE_RUN_ID, ensureRunID, sanitizedProcessEnv } from "@opencode-ai/core/util/opencode-process"
|
||||
import {
|
||||
OPENCODE_PROCESS_ROLE,
|
||||
OPENCODE_RUN_ID,
|
||||
ensureRunID,
|
||||
sanitizedProcessEnv,
|
||||
} from "@opencode-ai/core/util/opencode-process"
|
||||
import { validateSession } from "./validate-session"
|
||||
|
||||
declare global {
|
||||
|
|
|
|||
|
|
@ -1206,9 +1206,7 @@ export type PermissionRuleConfig = PermissionActionConfig | PermissionObjectConf
|
|||
|
||||
export type PermissionConfig =
|
||||
| PermissionActionConfig
|
||||
| ({
|
||||
[key: string]: PermissionRuleConfig
|
||||
} & {
|
||||
| {
|
||||
read?: PermissionRuleConfig
|
||||
edit?: PermissionRuleConfig
|
||||
glob?: PermissionRuleConfig
|
||||
|
|
@ -1226,7 +1224,7 @@ export type PermissionConfig =
|
|||
doom_loop?: PermissionActionConfig
|
||||
skill?: PermissionRuleConfig
|
||||
[key: string]: PermissionRuleConfig | PermissionActionConfig | undefined
|
||||
})
|
||||
}
|
||||
|
||||
export type AgentConfig = {
|
||||
model?: string
|
||||
|
|
|
|||
|
|
@ -10950,17 +10950,6 @@
|
|||
{
|
||||
"$ref": "#/components/schemas/PermissionActionConfig"
|
||||
},
|
||||
{
|
||||
"allOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/components/schemas/PermissionRuleConfig"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -11018,8 +11007,6 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"AgentConfig": {
|
||||
"type": "object",
|
||||
|
|
@ -11692,8 +11679,7 @@
|
|||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["enabled"],
|
||||
"additionalProperties": false
|
||||
"required": ["enabled"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue