feat(opencode): add agent description (#10680)

This commit is contained in:
Steffen Deusch
2026-01-26 16:43:10 +01:00
committed by GitHub
parent 805ae19c9a
commit b1fbfa7e94

View File

@@ -73,6 +73,7 @@ export namespace Agent {
const result: Record<string, Info> = { const result: Record<string, Info> = {
build: { build: {
name: "build", name: "build",
description: "The default agent. Executes tools based on configured permissions.",
options: {}, options: {},
permission: PermissionNext.merge( permission: PermissionNext.merge(
defaults, defaults,
@@ -87,6 +88,7 @@ export namespace Agent {
}, },
plan: { plan: {
name: "plan", name: "plan",
description: "Plan mode. Disallows all edit tools.",
options: {}, options: {},
permission: PermissionNext.merge( permission: PermissionNext.merge(
defaults, defaults,