@pellux/goodvibes-agent 1.0.26 → 1.0.27

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Product-facing release notes for GoodVibes Agent.
4
4
 
5
+ ## 1.0.27 - 2026-06-03
6
+
7
+ - Classify every built-in slash command with concrete model-visible effect and boundary policy metadata instead of generic unknown policy fallback.
8
+ - Document that built-in slash-command inspection returns concrete effect and boundary policy metadata.
9
+ - Add focused harness coverage so registered built-in slash commands cannot silently regress to unknown model policy.
10
+
5
11
  ## 1.0.26 - 2026-06-03
6
12
 
7
13
  - Route confirmed agent_harness panel-close and panel-close-all keybinding runs through the same Agent workspace dismiss bridge as the user shortcut before falling back to legacy panels.
package/README.md CHANGED
@@ -66,7 +66,7 @@ Use the workspace as the primary product surface:
66
66
 
67
67
  Inside the Agent workspace, press `/` to search every workspace action by name, category, command, or detail. This is the primary discovery path for product actions; slash commands and CLI subcommands remain power-user/scriptable mirrors.
68
68
 
69
- The model has the same harness map through `agent_harness`: it can list Agent workspace actions, inspect or run one workspace action by `actionId`, `command`, `target`, or `query`, list built-in panels and inspect one panel by `panelId`, `target`, or `query`, inspect modal/overlay/picker UI surfaces by `surfaceId`, `target`, or `query`, list top-level CLI mirrors and inspect one mirror by `cliCommand`, `command`, `commandName`, `target`, or `query`, inspect fixed shortcuts and configurable keybindings by `actionId`, `target`, `key`, or `query`, run shell-safe keybinding equivalents with confirmation, list slash commands, inspect or run one slash command by `command`, `commandName`, `target`, or `query` with parsed arguments and policy metadata, inspect model tool definitions or one model tool schema, inspect or change Agent settings by `key`, `target`, or `query` with confirmation, and report connected-host capability and live readiness posture. CLI mirror modes are read-only catalog and parser inspection; inside the main conversation, the model uses the returned preferred model tool, workspace action, setting mode, or confirmed slash-command mirror instead of launching hidden nested CLI processes. Panel modes expose catalog/open state and route visible panel/workspace changes through the current Agent shell bridge with confirmation. UI surface modes expose help, shortcuts, command browser, conversation search, prompt-history search, slash-command mode, file picker, block actions, context, runtime activity, live process output, bookmarks, model/provider/reasoning-effort pickers, TTS provider/voice pickers, session/profile pickers, the panel-picker compatibility route, security/knowledge/subscription operator surfaces, settings, MCP workspace, onboarding, and Agent workspace entrypoints; `open_ui_surface` is confirmation-gated and only performs visible shell navigation. Shortcut modes expose fixed runtime/editor controls plus the live resolved keybinding table; each keybinding descriptor reports its model operation route, `run_keybinding` executes only supported shell-safe equivalents with confirmation, and prompt-editor-only or terminal-selection shortcuts remain explicit direct user interaction. `set_keybinding` and `reset_keybinding` write the same `keybindings.json` file the user edits and require confirmation. Workspace action discovery can inline editor field schemas with `includeParameters:true`; single-action lookup and execution use the same user-facing search fields, return or preserve lookup metadata where the action result carries descriptors, and refuse ambiguous run requests with candidates; CLI mirror, panel, UI surface, keybinding, slash-command, model tool, setting, and connected-host capability lookup use their catalog search fields and refuse ambiguous route, schema, capability, or mutation requests with candidates; confirmed slash-command execution uses the same slash-command lookup and refuses ambiguous requests before any handler runs; profile editors use the current starter-template inventory, and routine schedule editors can prefill a selected local routine from `recordId`. Selection-based local workspace actions accept a local `recordId` so the model can use the same note promotion and local registry flows as the TUI. Direct local create editors for memory, notes, personas, skills, and routines can execute from submitted fields through `run_workspace_action` and `agent_local_registry` with confirmation. The `connected_host` report includes route families, allowed capabilities, blocked lifecycle/non-Agent surfaces, and availability for the first-class Agent tools; `connected_host_capability` inspects one allowed or blocked capability by id, target, or query with its route families and boundary. The `connected_host_status` report performs a read-only live check of the connected-host status route and the isolated Agent Knowledge status route, reports SDK compatibility, token posture, endpoint bindings, route readiness, and actionable findings, and still refuses connected-host lifecycle control. The model uses those first-class tools for product workflows where they exist, such as Agent Knowledge, local memory/notes/personas/skills/routines, channel sends, notifications, reminders, media generation, work plans, and connected-host operator actions.
69
+ The model has the same harness map through `agent_harness`: it can list Agent workspace actions, inspect or run one workspace action by `actionId`, `command`, `target`, or `query`, list built-in panels and inspect one panel by `panelId`, `target`, or `query`, inspect modal/overlay/picker UI surfaces by `surfaceId`, `target`, or `query`, list top-level CLI mirrors and inspect one mirror by `cliCommand`, `command`, `commandName`, `target`, or `query`, inspect fixed shortcuts and configurable keybindings by `actionId`, `target`, `key`, or `query`, run shell-safe keybinding equivalents with confirmation, list slash commands, inspect or run one slash command by `command`, `commandName`, `target`, or `query` with parsed arguments and concrete built-in effect/boundary policy metadata, inspect model tool definitions or one model tool schema, inspect or change Agent settings by `key`, `target`, or `query` with confirmation, and report connected-host capability and live readiness posture. CLI mirror modes are read-only catalog and parser inspection; inside the main conversation, the model uses the returned preferred model tool, workspace action, setting mode, or confirmed slash-command mirror instead of launching hidden nested CLI processes. Panel modes expose catalog/open state and route visible panel/workspace changes through the current Agent shell bridge with confirmation. UI surface modes expose help, shortcuts, command browser, conversation search, prompt-history search, slash-command mode, file picker, block actions, context, runtime activity, live process output, bookmarks, model/provider/reasoning-effort pickers, TTS provider/voice pickers, session/profile pickers, the panel-picker compatibility route, security/knowledge/subscription operator surfaces, settings, MCP workspace, onboarding, and Agent workspace entrypoints; `open_ui_surface` is confirmation-gated and only performs visible shell navigation. Shortcut modes expose fixed runtime/editor controls plus the live resolved keybinding table; each keybinding descriptor reports its model operation route, `run_keybinding` executes only supported shell-safe equivalents with confirmation, and prompt-editor-only or terminal-selection shortcuts remain explicit direct user interaction. `set_keybinding` and `reset_keybinding` write the same `keybindings.json` file the user edits and require confirmation. Workspace action discovery can inline editor field schemas with `includeParameters:true`; single-action lookup and execution use the same user-facing search fields, return or preserve lookup metadata where the action result carries descriptors, and refuse ambiguous run requests with candidates; CLI mirror, panel, UI surface, keybinding, slash-command, model tool, setting, and connected-host capability lookup use their catalog search fields and refuse ambiguous route, schema, capability, or mutation requests with candidates; confirmed slash-command execution uses the same slash-command lookup and refuses ambiguous requests before any handler runs; profile editors use the current starter-template inventory, and routine schedule editors can prefill a selected local routine from `recordId`. Selection-based local workspace actions accept a local `recordId` so the model can use the same note promotion and local registry flows as the TUI. Direct local create editors for memory, notes, personas, skills, and routines can execute from submitted fields through `run_workspace_action` and `agent_local_registry` with confirmation. The `connected_host` report includes route families, allowed capabilities, blocked lifecycle/non-Agent surfaces, and availability for the first-class Agent tools; `connected_host_capability` inspects one allowed or blocked capability by id, target, or query with its route families and boundary. The `connected_host_status` report performs a read-only live check of the connected-host status route and the isolated Agent Knowledge status route, reports SDK compatibility, token posture, endpoint bindings, route readiness, and actionable findings, and still refuses connected-host lifecycle control. The model uses those first-class tools for product workflows where they exist, such as Agent Knowledge, local memory/notes/personas/skills/routines, channel sends, notifications, reminders, media generation, work plans, and connected-host operator actions.
70
70
 
71
71
  The setup workspace surfaces discovered Agent-local persona, skill, and routine markdown files so day-one setup can import useful behavior instead of starting from blank records. It can also create one initial scratchpad note, local persona, skill, and routine directly during first-run setup; those records stay in Agent-local registries and never write to default knowledge or non-Agent segments.
72
72
 
@@ -816566,7 +816566,7 @@ var createStyledCell = (char, overrides = {}) => ({
816566
816566
  // src/version.ts
816567
816567
  import { readFileSync } from "fs";
816568
816568
  import { join } from "path";
816569
- var _version = "1.0.26";
816569
+ var _version = "1.0.27";
816570
816570
  var _sdkVersion = "0.33.35";
816571
816571
  try {
816572
816572
  const pkg = JSON.parse(readFileSync(join(import.meta.dir, "..", "package.json"), "utf-8"));
@@ -879380,7 +879380,119 @@ function actionSearchStatus(host) {
879380
879380
  function describeCommandPolicy(commandName) {
879381
879381
  const root = commandName.replace(/^\//, "").trim().toLowerCase();
879382
879382
  const confirmation = 'agent_harness mode:"run_command" requires confirm:true and explicitUserRequest for every slash command invocation.';
879383
- if (root === "memory" || root === "memories" || root === "note" || root === "notes" || root === "persona" || root === "personas" || root === "skill" || root === "skills" || root === "routine" || root === "routines") {
879383
+ if (root === "agent" || root === "agent-workspace" || root === "workspace") {
879384
+ return {
879385
+ effect: "ui-navigation",
879386
+ confirmation,
879387
+ preferredModelTool: "agent_harness workspace/workspace_categories/workspace_actions/workspace_action/run_workspace_action",
879388
+ boundary: "Agent workspace navigation is visible shell routing. Use workspace action modes for concrete model-readable operation."
879389
+ };
879390
+ }
879391
+ if (root === "setup" || root === "welcome") {
879392
+ return {
879393
+ effect: "ui-navigation",
879394
+ confirmation,
879395
+ preferredModelTool: "agent_harness workspace_actions/workspace_action/open_ui_surface",
879396
+ boundary: "Setup opens the visible Agent onboarding or setup workspace. Model-side changes should use setting modes or workspace actions."
879397
+ };
879398
+ }
879399
+ if (root === "commands" || root === "help" || root === "shortcuts") {
879400
+ return {
879401
+ effect: "ui-navigation",
879402
+ confirmation,
879403
+ preferredModelTool: root === "shortcuts" ? "agent_harness shortcuts/keybindings/keybinding" : "agent_harness commands/command",
879404
+ boundary: "Discovery commands open visible help surfaces. The model should inspect the matching harness catalog directly before invoking commands."
879405
+ };
879406
+ }
879407
+ if (root === "keybindings") {
879408
+ return {
879409
+ effect: "read-only",
879410
+ confirmation,
879411
+ preferredModelTool: "agent_harness shortcuts/keybindings/keybinding/run_keybinding/set_keybinding/reset_keybinding",
879412
+ boundary: "Keybinding inspection is read-only. Keybinding execution or edits require explicit confirmation through agent_harness keybinding modes."
879413
+ };
879414
+ }
879415
+ if (root === "settings" || root === "config") {
879416
+ return {
879417
+ effect: "mixed",
879418
+ confirmation,
879419
+ preferredModelTool: "agent_harness settings/get_setting/set_setting/reset_setting",
879420
+ boundary: "Model-writable settings can be changed through agent_harness. Connected-host lifecycle/listener settings remain read-only."
879421
+ };
879422
+ }
879423
+ if (root === "model" || root === "effort") {
879424
+ return {
879425
+ effect: "mixed",
879426
+ confirmation,
879427
+ preferredModelTool: "agent_harness settings/get_setting/set_setting/open_ui_surface",
879428
+ boundary: "Model and reasoning-effort changes affect the current Agent chat route. Prefer settings modes for concrete values and UI surface routing for visible pickers."
879429
+ };
879430
+ }
879431
+ if (root === "provider" || root === "providers") {
879432
+ return {
879433
+ effect: "mixed",
879434
+ confirmation,
879435
+ preferredModelTool: "agent_harness settings/get_setting/set_setting/open_ui_surface",
879436
+ boundary: "Provider selection and custom provider files belong to Agent provider configuration. Adding, removing, or switching providers requires explicit user intent."
879437
+ };
879438
+ }
879439
+ if (root === "refresh-models") {
879440
+ return {
879441
+ effect: "external-network",
879442
+ confirmation,
879443
+ preferredModelTool: "agent_harness settings/tools",
879444
+ boundary: "Model catalog refresh may call provider discovery routes and update local provider metadata. Do not run it without explicit user request."
879445
+ };
879446
+ }
879447
+ if (root === "pin" || root === "unpin") {
879448
+ return {
879449
+ effect: "local-state",
879450
+ confirmation,
879451
+ preferredModelTool: "agent_harness run_command",
879452
+ boundary: "Pinned model changes mutate local Agent provider preferences only and require an explicit model id."
879453
+ };
879454
+ }
879455
+ if (root === "mode") {
879456
+ return {
879457
+ effect: "local-state",
879458
+ confirmation,
879459
+ preferredModelTool: "agent_harness settings/get_setting/set_setting",
879460
+ boundary: "Interaction-mode changes affect the current Agent operator notification posture and should be explicit."
879461
+ };
879462
+ }
879463
+ if (root === "brief") {
879464
+ return {
879465
+ effect: "read-only",
879466
+ confirmation,
879467
+ preferredModelTool: "agent_operator_briefing",
879468
+ boundary: "Briefing reads current Agent operator posture and next actions without mutating connected-host state."
879469
+ };
879470
+ }
879471
+ if (root === "health" || root === "compat" || root === "context" || root === "accounts" || root === "security") {
879472
+ return {
879473
+ effect: "read-only",
879474
+ confirmation,
879475
+ preferredModelTool: root === "compat" ? "agent_harness connected_host_status" : "agent_harness connected_host_status/settings/tools/open_ui_surface",
879476
+ boundary: "Diagnostics and review commands inspect Agent, provider, MCP, security, and connected-host readiness without taking lifecycle ownership."
879477
+ };
879478
+ }
879479
+ if (root === "trust" || root === "auth" || root === "bundle") {
879480
+ return {
879481
+ effect: "mixed",
879482
+ confirmation,
879483
+ preferredModelTool: "agent_harness run_command",
879484
+ boundary: "Review subcommands are read-only; bundle export/import or auth/trust bundle export writes local files and requires explicit confirmation."
879485
+ };
879486
+ }
879487
+ if (root === "mcp" || root === "voice" || root === "subscription" || root === "secrets" || root === "secret") {
879488
+ return {
879489
+ effect: "mixed",
879490
+ confirmation,
879491
+ preferredModelTool: root === "secrets" || root === "secret" ? "agent_harness settings/get_setting/set_setting/reset_setting" : "agent_harness workspace_actions/settings/open_ui_surface",
879492
+ boundary: "Harness-owned configuration, secret, voice, subscription, and MCP commands can expose credentials or external account state. Mutations require explicit user intent and should prefer secret refs over raw values."
879493
+ };
879494
+ }
879495
+ if (root === "memory" || root === "memories" || root === "note" || root === "persona" || root === "personas" || root === "skill" || root === "skills" || root === "routine" || root === "routines") {
879384
879496
  return {
879385
879497
  effect: "local-state",
879386
879498
  confirmation,
@@ -879388,20 +879500,20 @@ function describeCommandPolicy(commandName) {
879388
879500
  boundary: "Agent-local library records only unless the invoked command explicitly promotes to a connected schedule or Agent Knowledge source."
879389
879501
  };
879390
879502
  }
879391
- if (root === "knowledge") {
879503
+ if (root === "notes") {
879392
879504
  return {
879393
- effect: "mixed",
879505
+ effect: "ui-navigation",
879394
879506
  confirmation,
879395
- preferredModelTool: "agent_knowledge or agent_knowledge_ingest",
879396
- boundary: "Agent Knowledge only. Do not use default knowledge or non-Agent knowledge spaces."
879507
+ preferredModelTool: "agent_harness workspace_actions/workspace_action/run_workspace_action or agent_local_registry",
879508
+ boundary: "Notes workspace routing is visible navigation; note record mutations should use Agent-local registry or workspace action modes."
879397
879509
  };
879398
879510
  }
879399
- if (root === "settings") {
879511
+ if (root === "knowledge") {
879400
879512
  return {
879401
879513
  effect: "mixed",
879402
879514
  confirmation,
879403
- preferredModelTool: "agent_harness settings/get_setting/set_setting/reset_setting",
879404
- boundary: "Model-writable settings can be changed through agent_harness. Connected-host lifecycle/listener settings remain read-only."
879515
+ preferredModelTool: "agent_knowledge or agent_knowledge_ingest",
879516
+ boundary: "Agent Knowledge only. Do not use default knowledge or non-Agent knowledge spaces."
879405
879517
  };
879406
879518
  }
879407
879519
  if (root === "approval" || root === "approvals" || root === "automation") {
@@ -879428,7 +879540,7 @@ function describeCommandPolicy(commandName) {
879428
879540
  boundary: "External delivery requires an explicit target and direct user authorization."
879429
879541
  };
879430
879542
  }
879431
- if (root === "media" || root === "image") {
879543
+ if (root === "media") {
879432
879544
  return {
879433
879545
  effect: "external-network",
879434
879546
  confirmation,
@@ -879436,6 +879548,22 @@ function describeCommandPolicy(commandName) {
879436
879548
  boundary: "Media generation uses configured Agent media providers and writes normal artifacts only."
879437
879549
  };
879438
879550
  }
879551
+ if (root === "image") {
879552
+ return {
879553
+ effect: "external-network",
879554
+ confirmation,
879555
+ preferredModelTool: "agent_harness open_ui_surface",
879556
+ boundary: "Image attachment reads a local image and submits a model turn with image content. Use only for explicit user-supplied files."
879557
+ };
879558
+ }
879559
+ if (root === "tts") {
879560
+ return {
879561
+ effect: "external-network",
879562
+ confirmation,
879563
+ preferredModelTool: "agent_harness settings/open_ui_surface",
879564
+ boundary: "Live TTS submits a normal prompt and may call model and speech providers; stopping playback is local runtime control."
879565
+ };
879566
+ }
879439
879567
  if (root === "workplan" || root === "plan" || root === "task" || root === "tasks") {
879440
879568
  return {
879441
879569
  effect: "local-state",
@@ -879451,26 +879579,50 @@ function describeCommandPolicy(commandName) {
879451
879579
  boundary: "Delegation is explicit user-directed work only; no hidden background review or separate Agent job should be created implicitly."
879452
879580
  };
879453
879581
  }
879454
- if (root === "session" || root === "conversation" || root === "clear" || root === "quit" || root === "exit") {
879582
+ if (root === "session" || root === "conversation" || root === "clear" || root === "reset" || root === "compact" || root === "quit" || root === "exit" || root === "save" || root === "load" || root === "sessions" || root === "title" || root === "undo" || root === "redo" || root === "retry") {
879455
879583
  return {
879456
879584
  effect: "session-lifecycle",
879457
879585
  confirmation,
879458
879586
  boundary: "Session and conversation commands operate on the visible harness session lifecycle."
879459
879587
  };
879460
879588
  }
879461
- if (root === "agent-workspace" || root === "workspace" || root === "help" || root === "shortcuts") {
879589
+ if (root === "export") {
879590
+ return {
879591
+ effect: "local-state",
879592
+ confirmation,
879593
+ boundary: "Conversation export writes a local workspace file and requires an explicit output intent."
879594
+ };
879595
+ }
879596
+ if (root === "bookmarks" || root === "expand" || root === "collapse" || root === "next-error" || root === "prev-error") {
879462
879597
  return {
879463
879598
  effect: "ui-navigation",
879464
879599
  confirmation,
879465
- preferredModelTool: "agent_harness workspace/workspace_actions/workspace_action/run_workspace_action",
879466
- boundary: "Navigation and discovery commands should be inspected through agent_harness when possible."
879600
+ preferredModelTool: root === "bookmarks" ? "agent_harness open_ui_surface" : undefined,
879601
+ boundary: "Conversation display navigation mutates only the visible transcript view or scroll position."
879467
879602
  };
879468
879603
  }
879469
- if (root === "profile" || root === "agent-profile" || root === "provider" || root === "providers" || root === "auth" || root === "secret" || root === "secrets" || root === "mcp" || root === "voice" || root === "subscription") {
879604
+ if (root === "paste") {
879605
+ return {
879606
+ effect: "local-state",
879607
+ confirmation,
879608
+ preferredModelTool: "agent_harness run_keybinding",
879609
+ boundary: "Paste reads the local clipboard and mutates the visible prompt or image attachment state."
879610
+ };
879611
+ }
879612
+ if (root === "profile" || root === "agent-profile") {
879470
879613
  return {
879471
879614
  effect: "mixed",
879472
879615
  confirmation,
879473
- boundary: "Harness-owned configuration, auth, provider, MCP, and profile commands are available through the command bridge with explicit confirmation."
879616
+ preferredModelTool: "agent_harness workspace_actions/workspace_action/run_workspace_action",
879617
+ boundary: "Agent profile commands manage isolated Agent runtime profiles and starter templates. Mutations require explicit confirmation."
879618
+ };
879619
+ }
879620
+ if (root === "qrcode") {
879621
+ return {
879622
+ effect: "read-only",
879623
+ confirmation,
879624
+ preferredModelTool: "agent_harness run_command",
879625
+ boundary: "Pairing details are displayed for explicit operator use; the Agent does not manage connected-host listener lifecycle."
879474
879626
  };
879475
879627
  }
879476
879628
  return {
@@ -44,7 +44,7 @@ After setup has been applied once, the TUI opens directly into the Agent operato
44
44
 
45
45
  Press `/` inside the Agent workspace to search every workspace action by name, category, command, or detail. Use that finder before reaching for shell commands; CLI subcommands are scriptable mirrors of these TUI workflows.
46
46
 
47
- The model can inspect and use the same harness surface through Agent-owned tools. `agent_harness` exposes workspace action discovery, single workspace-action inspection and execution by action id, command, or lookup text, built-in panel discovery/routing by panel id or lookup text, modal/overlay/picker UI surface discovery/routing by surface id or lookup text, top-level CLI mirror discovery and single-mirror lookup by command string, command token, or lookup text, fixed shortcut and configurable keybinding discovery, keybinding inspection/mutation by action id or lookup text, confirmation-gated shell-safe keybinding execution, slash-command discovery, single slash-command inspection by typed command or lookup text, command policy metadata, single slash-command execution by typed command or lookup text with confirmation, model tool discovery and single-tool schema inspection, settings inspection/mutation by key or lookup text, connected-host capability inventory, single connected-host capability inspection, and live connected-host readiness posture. CLI mirror modes are read-only catalog/parser inspection and point the model to the matching in-process tool, workspace action, setting mode, or slash-command mirror. Panel modes expose catalog/open state and route visible panel/workspace changes through the current Agent shell bridge with confirmation. UI surface modes expose help, shortcuts, command browser, conversation search, prompt-history search, slash-command mode, file picker, block actions, context, runtime activity, live process output, bookmarks, model/provider/reasoning-effort pickers, TTS provider/voice pickers, session/profile pickers, the panel-picker compatibility route, security/knowledge/subscription operator surfaces, settings, MCP workspace, onboarding, and Agent workspace entrypoints; `open_ui_surface` is confirmation-gated and only performs visible shell navigation. Shortcut modes expose the fixed runtime/editor shortcuts and the live keybindings table; keybinding descriptors include a model operation route, `run_keybinding` executes supported shell-safe equivalents only with confirmation, prompt-editor-only or terminal-selection shortcuts remain direct user interaction, and confirmed keybinding edits write the same `keybindings.json` file the user edits and reload the runtime manager. Workspace action discovery can include editor field schemas with `includeParameters:true`, including starter-template defaults for profile creation and selected-routine defaults for routine schedule promotion when `recordId` is supplied; single-action lookup and execution use the same user-facing search fields, return lookup metadata where the action result carries descriptors, and refuse ambiguous run requests with candidates. Single-CLI-mirror, single-panel, single-surface, single-keybinding, single-slash-command, single-tool, single-setting, and single-connected-host-capability lookup use their catalog search fields, return lookup metadata where the result carries it, and refuse ambiguous route, schema, capability, or mutation requests with candidates; confirmed slash-command execution uses the same slash-command lookup and refuses ambiguous requests before any handler runs. Selection-based local workspace actions accept a local `recordId`, so the model can use the same note promotion and local registry flows as the TUI. Direct local create editors for memory, notes, personas, skills, and routines can execute from submitted fields through `run_workspace_action` and `agent_local_registry` with confirmation. First-class model tools cover the main product workflows directly: Agent Knowledge, Agent Knowledge ingest, Agent-local memory/notes/personas/skills/routines, operator actions, notifications, channel sends, reminders, generated media, and work plans.
47
+ The model can inspect and use the same harness surface through Agent-owned tools. `agent_harness` exposes workspace action discovery, single workspace-action inspection and execution by action id, command, or lookup text, built-in panel discovery/routing by panel id or lookup text, modal/overlay/picker UI surface discovery/routing by surface id or lookup text, top-level CLI mirror discovery and single-mirror lookup by command string, command token, or lookup text, fixed shortcut and configurable keybinding discovery, keybinding inspection/mutation by action id or lookup text, confirmation-gated shell-safe keybinding execution, slash-command discovery, single slash-command inspection by typed command or lookup text, concrete built-in command effect/boundary policy metadata, single slash-command execution by typed command or lookup text with confirmation, model tool discovery and single-tool schema inspection, settings inspection/mutation by key or lookup text, connected-host capability inventory, single connected-host capability inspection, and live connected-host readiness posture. CLI mirror modes are read-only catalog/parser inspection and point the model to the matching in-process tool, workspace action, setting mode, or slash-command mirror. Panel modes expose catalog/open state and route visible panel/workspace changes through the current Agent shell bridge with confirmation. UI surface modes expose help, shortcuts, command browser, conversation search, prompt-history search, slash-command mode, file picker, block actions, context, runtime activity, live process output, bookmarks, model/provider/reasoning-effort pickers, TTS provider/voice pickers, session/profile pickers, the panel-picker compatibility route, security/knowledge/subscription operator surfaces, settings, MCP workspace, onboarding, and Agent workspace entrypoints; `open_ui_surface` is confirmation-gated and only performs visible shell navigation. Shortcut modes expose the fixed runtime/editor shortcuts and the live keybindings table; keybinding descriptors include a model operation route, `run_keybinding` executes supported shell-safe equivalents only with confirmation, prompt-editor-only or terminal-selection shortcuts remain direct user interaction, and confirmed keybinding edits write the same `keybindings.json` file the user edits and reload the runtime manager. Workspace action discovery can include editor field schemas with `includeParameters:true`, including starter-template defaults for profile creation and selected-routine defaults for routine schedule promotion when `recordId` is supplied; single-action lookup and execution use the same user-facing search fields, return lookup metadata where the action result carries descriptors, and refuse ambiguous run requests with candidates. Single-CLI-mirror, single-panel, single-surface, single-keybinding, single-slash-command, single-tool, single-setting, and single-connected-host-capability lookup use their catalog search fields, return lookup metadata where the result carries it, and refuse ambiguous route, schema, capability, or mutation requests with candidates; confirmed slash-command execution uses the same slash-command lookup and refuses ambiguous requests before any handler runs. Selection-based local workspace actions accept a local `recordId`, so the model can use the same note promotion and local registry flows as the TUI. Direct local create editors for memory, notes, personas, skills, and routines can execute from submitted fields through `run_workspace_action` and `agent_local_registry` with confirmation. First-class model tools cover the main product workflows directly: Agent Knowledge, Agent Knowledge ingest, Agent-local memory/notes/personas/skills/routines, operator actions, notifications, channel sends, reminders, generated media, and work plans.
48
48
 
49
49
  Use the Artifacts area for concrete files and generated output: attach images to prompts, export conversations or saved sessions, ingest local source files and URL lists into Agent Knowledge, import bookmarks or browser history, inspect source records, and generate media artifacts from confirmed prompts.
50
50
 
@@ -50,7 +50,7 @@ The main Agent model has an Agent-owned harness bridge rather than generic SDK s
50
50
  - `agent_work_plan`: keep the visible Agent-local work plan current from the conversation.
51
51
  - `agent_channel_send`, `agent_notify`, `agent_reminder_schedule`, and `agent_media_generate`: perform confirmed external delivery, notification, reminder, or media actions when the user explicitly asks.
52
52
 
53
- `agent_harness` discovery modes are read-only. `summary` reports the model access map; `panels` lists the built-in panel catalog, and `panel` resolves one panel by `panelId`, `target`, or `query` with current open/focused state plus its matching Agent workspace route; `ui_surfaces` lists modal, overlay, picker, and workspace entrypoints, and `ui_surface` resolves one by `surfaceId`, `target`, or `query` with shell-opener availability and preferred model routes; `cli_commands` lists top-level package CLI mirror metadata, and `cli_command` resolves one mirror by `cliCommand`, `command`, `commandName`, `target`, or `query`, returning parser output for concrete invocations, blocked command tokens, lookup metadata, and preferred in-process model routes; `shortcuts` returns fixed runtime/editor shortcuts plus configurable keybindings; `keybindings` lists the live resolved keybinding table, and `keybinding`, `run_keybinding`, `set_keybinding`, and `reset_keybinding` resolve one action by `actionId`, `target`, `key`, or `query` with default bindings, custom state, config path, lookup metadata, and model-operation route metadata; `commands` lists slash-command descriptions; `command` returns one slash-command detail by `command`, `commandName`, `target`, or `query`, including parsed arguments plus effect/confirmation/preferred-tool/boundary policy metadata, and refuses ambiguous command lookup with candidate commands; `run_command` executes one confirmed slash command using the same `command`, `commandName`, `target`, or `query` resolver and refuses ambiguous command lookup before any handler runs; `workspace_actions` lists Agent workspace actions and can inline editor field schemas with `includeParameters:true`; `workspace_action` and `run_workspace_action` resolve one action by `actionId`, `command`, `target`, or `query`, using the same user-facing action-search fields; inspection returns lookup metadata plus editor schema, and execution refuses ambiguous requests with candidate actions before any effect; `tools` lists model tool definitions and can inline JSON schemas with `includeParameters:true`; `tool` returns one model tool schema by `toolName`, `target`, or `query` and refuses ambiguous schema lookup with candidate tools; `settings` returns setting descriptors plus setting policy; `get_setting`, `set_setting`, and `reset_setting` resolve one setting by `key`, `target`, or `query`, return lookup metadata on success, and refuse ambiguous matches with candidate settings; `connected_host` returns the connected-host route families, allowed capabilities, blocked capabilities, and first-class tool availability; `connected_host_capability` returns one allowed or blocked connected-host capability by `capabilityId`, `target`, or `query` with related route families and boundary text and refuses ambiguous capability lookup with candidates; and `connected_host_status` performs a live read-only check of the connected-host status and Agent Knowledge status routes and reports endpoint bindings, token posture, SDK compatibility, route readiness, and findings without printing token values.
53
+ `agent_harness` discovery modes are read-only. `summary` reports the model access map; `panels` lists the built-in panel catalog, and `panel` resolves one panel by `panelId`, `target`, or `query` with current open/focused state plus its matching Agent workspace route; `ui_surfaces` lists modal, overlay, picker, and workspace entrypoints, and `ui_surface` resolves one by `surfaceId`, `target`, or `query` with shell-opener availability and preferred model routes; `cli_commands` lists top-level package CLI mirror metadata, and `cli_command` resolves one mirror by `cliCommand`, `command`, `commandName`, `target`, or `query`, returning parser output for concrete invocations, blocked command tokens, lookup metadata, and preferred in-process model routes; `shortcuts` returns fixed runtime/editor shortcuts plus configurable keybindings; `keybindings` lists the live resolved keybinding table, and `keybinding`, `run_keybinding`, `set_keybinding`, and `reset_keybinding` resolve one action by `actionId`, `target`, `key`, or `query` with default bindings, custom state, config path, lookup metadata, and model-operation route metadata; `commands` lists slash-command descriptions; `command` returns one slash-command detail by `command`, `commandName`, `target`, or `query`, including parsed arguments plus concrete built-in effect/confirmation/preferred-tool/boundary policy metadata, and refuses ambiguous command lookup with candidate commands; `run_command` executes one confirmed slash command using the same `command`, `commandName`, `target`, or `query` resolver and refuses ambiguous command lookup before any handler runs; `workspace_actions` lists Agent workspace actions and can inline editor field schemas with `includeParameters:true`; `workspace_action` and `run_workspace_action` resolve one action by `actionId`, `command`, `target`, or `query`, using the same user-facing action-search fields; inspection returns lookup metadata plus editor schema, and execution refuses ambiguous requests with candidate actions before any effect; `tools` lists model tool definitions and can inline JSON schemas with `includeParameters:true`; `tool` returns one model tool schema by `toolName`, `target`, or `query` and refuses ambiguous schema lookup with candidate tools; `settings` returns setting descriptors plus setting policy; `get_setting`, `set_setting`, and `reset_setting` resolve one setting by `key`, `target`, or `query`, return lookup metadata on success, and refuse ambiguous matches with candidate settings; `connected_host` returns the connected-host route families, allowed capabilities, blocked capabilities, and first-class tool availability; `connected_host_capability` returns one allowed or blocked connected-host capability by `capabilityId`, `target`, or `query` with related route families and boundary text and refuses ambiguous capability lookup with candidates; and `connected_host_status` performs a live read-only check of the connected-host status and Agent Knowledge status routes and reports endpoint bindings, token posture, SDK compatibility, route readiness, and findings without printing token values.
54
54
 
55
55
  `open_ui_surface` is a confirmation-gated visible navigation mode for the same shell surfaces the user can open: Agent workspace, settings, MCP workspace, model/provider/reasoning-effort pickers, TTS provider/voice pickers, session/profile pickers, the panel-picker compatibility route, security/knowledge/subscription operator surfaces, conversation search, prompt-history search, slash-command mode, command browser, file picker, block actions, bookmarks, context inspector, runtime activity monitor, live process output, help, shortcuts, and onboarding. It does not perform hidden operations; use first-class model tools, settings modes, workspace actions, or confirmed slash-command mirrors for actual state changes. Ambiguous UI surface lookup text is refused with candidate surfaces instead of routed.
56
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pellux/goodvibes-agent",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "private": false,
5
5
  "description": "GoodVibes personal operator assistant TUI with a proactive Agent product brain, isolated Agent Knowledge, local profiles, routines, skills, personas, and explicit build delegation.",
6
6
  "type": "module",
@@ -16,11 +16,122 @@ export type ConnectedHostCapabilityResolution =
16
16
  export function describeCommandPolicy(commandName: string): CommandExecutionPolicy {
17
17
  const root = commandName.replace(/^\//, '').trim().toLowerCase();
18
18
  const confirmation = 'agent_harness mode:"run_command" requires confirm:true and explicitUserRequest for every slash command invocation.';
19
+ if (root === 'agent' || root === 'agent-workspace' || root === 'workspace') {
20
+ return {
21
+ effect: 'ui-navigation',
22
+ confirmation,
23
+ preferredModelTool: 'agent_harness workspace/workspace_categories/workspace_actions/workspace_action/run_workspace_action',
24
+ boundary: 'Agent workspace navigation is visible shell routing. Use workspace action modes for concrete model-readable operation.',
25
+ };
26
+ }
27
+ if (root === 'setup' || root === 'welcome') {
28
+ return {
29
+ effect: 'ui-navigation',
30
+ confirmation,
31
+ preferredModelTool: 'agent_harness workspace_actions/workspace_action/open_ui_surface',
32
+ boundary: 'Setup opens the visible Agent onboarding or setup workspace. Model-side changes should use setting modes or workspace actions.',
33
+ };
34
+ }
35
+ if (root === 'commands' || root === 'help' || root === 'shortcuts') {
36
+ return {
37
+ effect: 'ui-navigation',
38
+ confirmation,
39
+ preferredModelTool: root === 'shortcuts' ? 'agent_harness shortcuts/keybindings/keybinding' : 'agent_harness commands/command',
40
+ boundary: 'Discovery commands open visible help surfaces. The model should inspect the matching harness catalog directly before invoking commands.',
41
+ };
42
+ }
43
+ if (root === 'keybindings') {
44
+ return {
45
+ effect: 'read-only',
46
+ confirmation,
47
+ preferredModelTool: 'agent_harness shortcuts/keybindings/keybinding/run_keybinding/set_keybinding/reset_keybinding',
48
+ boundary: 'Keybinding inspection is read-only. Keybinding execution or edits require explicit confirmation through agent_harness keybinding modes.',
49
+ };
50
+ }
51
+ if (root === 'settings' || root === 'config') {
52
+ return {
53
+ effect: 'mixed',
54
+ confirmation,
55
+ preferredModelTool: 'agent_harness settings/get_setting/set_setting/reset_setting',
56
+ boundary: 'Model-writable settings can be changed through agent_harness. Connected-host lifecycle/listener settings remain read-only.',
57
+ };
58
+ }
59
+ if (root === 'model' || root === 'effort') {
60
+ return {
61
+ effect: 'mixed',
62
+ confirmation,
63
+ preferredModelTool: 'agent_harness settings/get_setting/set_setting/open_ui_surface',
64
+ boundary: 'Model and reasoning-effort changes affect the current Agent chat route. Prefer settings modes for concrete values and UI surface routing for visible pickers.',
65
+ };
66
+ }
67
+ if (root === 'provider' || root === 'providers') {
68
+ return {
69
+ effect: 'mixed',
70
+ confirmation,
71
+ preferredModelTool: 'agent_harness settings/get_setting/set_setting/open_ui_surface',
72
+ boundary: 'Provider selection and custom provider files belong to Agent provider configuration. Adding, removing, or switching providers requires explicit user intent.',
73
+ };
74
+ }
75
+ if (root === 'refresh-models') {
76
+ return {
77
+ effect: 'external-network',
78
+ confirmation,
79
+ preferredModelTool: 'agent_harness settings/tools',
80
+ boundary: 'Model catalog refresh may call provider discovery routes and update local provider metadata. Do not run it without explicit user request.',
81
+ };
82
+ }
83
+ if (root === 'pin' || root === 'unpin') {
84
+ return {
85
+ effect: 'local-state',
86
+ confirmation,
87
+ preferredModelTool: 'agent_harness run_command',
88
+ boundary: 'Pinned model changes mutate local Agent provider preferences only and require an explicit model id.',
89
+ };
90
+ }
91
+ if (root === 'mode') {
92
+ return {
93
+ effect: 'local-state',
94
+ confirmation,
95
+ preferredModelTool: 'agent_harness settings/get_setting/set_setting',
96
+ boundary: 'Interaction-mode changes affect the current Agent operator notification posture and should be explicit.',
97
+ };
98
+ }
99
+ if (root === 'brief') {
100
+ return {
101
+ effect: 'read-only',
102
+ confirmation,
103
+ preferredModelTool: 'agent_operator_briefing',
104
+ boundary: 'Briefing reads current Agent operator posture and next actions without mutating connected-host state.',
105
+ };
106
+ }
107
+ if (root === 'health' || root === 'compat' || root === 'context' || root === 'accounts' || root === 'security') {
108
+ return {
109
+ effect: 'read-only',
110
+ confirmation,
111
+ preferredModelTool: root === 'compat' ? 'agent_harness connected_host_status' : 'agent_harness connected_host_status/settings/tools/open_ui_surface',
112
+ boundary: 'Diagnostics and review commands inspect Agent, provider, MCP, security, and connected-host readiness without taking lifecycle ownership.',
113
+ };
114
+ }
115
+ if (root === 'trust' || root === 'auth' || root === 'bundle') {
116
+ return {
117
+ effect: 'mixed',
118
+ confirmation,
119
+ preferredModelTool: 'agent_harness run_command',
120
+ boundary: 'Review subcommands are read-only; bundle export/import or auth/trust bundle export writes local files and requires explicit confirmation.',
121
+ };
122
+ }
123
+ if (root === 'mcp' || root === 'voice' || root === 'subscription' || root === 'secrets' || root === 'secret') {
124
+ return {
125
+ effect: 'mixed',
126
+ confirmation,
127
+ preferredModelTool: root === 'secrets' || root === 'secret' ? 'agent_harness settings/get_setting/set_setting/reset_setting' : 'agent_harness workspace_actions/settings/open_ui_surface',
128
+ boundary: 'Harness-owned configuration, secret, voice, subscription, and MCP commands can expose credentials or external account state. Mutations require explicit user intent and should prefer secret refs over raw values.',
129
+ };
130
+ }
19
131
  if (
20
132
  root === 'memory'
21
133
  || root === 'memories'
22
134
  || root === 'note'
23
- || root === 'notes'
24
135
  || root === 'persona'
25
136
  || root === 'personas'
26
137
  || root === 'skill'
@@ -35,20 +146,20 @@ export function describeCommandPolicy(commandName: string): CommandExecutionPoli
35
146
  boundary: 'Agent-local library records only unless the invoked command explicitly promotes to a connected schedule or Agent Knowledge source.',
36
147
  };
37
148
  }
38
- if (root === 'knowledge') {
149
+ if (root === 'notes') {
39
150
  return {
40
- effect: 'mixed',
151
+ effect: 'ui-navigation',
41
152
  confirmation,
42
- preferredModelTool: 'agent_knowledge or agent_knowledge_ingest',
43
- boundary: 'Agent Knowledge only. Do not use default knowledge or non-Agent knowledge spaces.',
153
+ preferredModelTool: 'agent_harness workspace_actions/workspace_action/run_workspace_action or agent_local_registry',
154
+ boundary: 'Notes workspace routing is visible navigation; note record mutations should use Agent-local registry or workspace action modes.',
44
155
  };
45
156
  }
46
- if (root === 'settings') {
157
+ if (root === 'knowledge') {
47
158
  return {
48
159
  effect: 'mixed',
49
160
  confirmation,
50
- preferredModelTool: 'agent_harness settings/get_setting/set_setting/reset_setting',
51
- boundary: 'Model-writable settings can be changed through agent_harness. Connected-host lifecycle/listener settings remain read-only.',
161
+ preferredModelTool: 'agent_knowledge or agent_knowledge_ingest',
162
+ boundary: 'Agent Knowledge only. Do not use default knowledge or non-Agent knowledge spaces.',
52
163
  };
53
164
  }
54
165
  if (root === 'approval' || root === 'approvals' || root === 'automation') {
@@ -75,7 +186,7 @@ export function describeCommandPolicy(commandName: string): CommandExecutionPoli
75
186
  boundary: 'External delivery requires an explicit target and direct user authorization.',
76
187
  };
77
188
  }
78
- if (root === 'media' || root === 'image') {
189
+ if (root === 'media') {
79
190
  return {
80
191
  effect: 'external-network',
81
192
  confirmation,
@@ -83,6 +194,22 @@ export function describeCommandPolicy(commandName: string): CommandExecutionPoli
83
194
  boundary: 'Media generation uses configured Agent media providers and writes normal artifacts only.',
84
195
  };
85
196
  }
197
+ if (root === 'image') {
198
+ return {
199
+ effect: 'external-network',
200
+ confirmation,
201
+ preferredModelTool: 'agent_harness open_ui_surface',
202
+ boundary: 'Image attachment reads a local image and submits a model turn with image content. Use only for explicit user-supplied files.',
203
+ };
204
+ }
205
+ if (root === 'tts') {
206
+ return {
207
+ effect: 'external-network',
208
+ confirmation,
209
+ preferredModelTool: 'agent_harness settings/open_ui_surface',
210
+ boundary: 'Live TTS submits a normal prompt and may call model and speech providers; stopping playback is local runtime control.',
211
+ };
212
+ }
86
213
  if (root === 'workplan' || root === 'plan' || root === 'task' || root === 'tasks') {
87
214
  return {
88
215
  effect: 'local-state',
@@ -98,37 +225,65 @@ export function describeCommandPolicy(commandName: string): CommandExecutionPoli
98
225
  boundary: 'Delegation is explicit user-directed work only; no hidden background review or separate Agent job should be created implicitly.',
99
226
  };
100
227
  }
101
- if (root === 'session' || root === 'conversation' || root === 'clear' || root === 'quit' || root === 'exit') {
228
+ if (
229
+ root === 'session'
230
+ || root === 'conversation'
231
+ || root === 'clear'
232
+ || root === 'reset'
233
+ || root === 'compact'
234
+ || root === 'quit'
235
+ || root === 'exit'
236
+ || root === 'save'
237
+ || root === 'load'
238
+ || root === 'sessions'
239
+ || root === 'title'
240
+ || root === 'undo'
241
+ || root === 'redo'
242
+ || root === 'retry'
243
+ ) {
102
244
  return {
103
245
  effect: 'session-lifecycle',
104
246
  confirmation,
105
247
  boundary: 'Session and conversation commands operate on the visible harness session lifecycle.',
106
248
  };
107
249
  }
108
- if (root === 'agent-workspace' || root === 'workspace' || root === 'help' || root === 'shortcuts') {
250
+ if (root === 'export') {
251
+ return {
252
+ effect: 'local-state',
253
+ confirmation,
254
+ boundary: 'Conversation export writes a local workspace file and requires an explicit output intent.',
255
+ };
256
+ }
257
+ if (root === 'bookmarks' || root === 'expand' || root === 'collapse' || root === 'next-error' || root === 'prev-error') {
109
258
  return {
110
259
  effect: 'ui-navigation',
111
260
  confirmation,
112
- preferredModelTool: 'agent_harness workspace/workspace_actions/workspace_action/run_workspace_action',
113
- boundary: 'Navigation and discovery commands should be inspected through agent_harness when possible.',
261
+ preferredModelTool: root === 'bookmarks' ? 'agent_harness open_ui_surface' : undefined,
262
+ boundary: 'Conversation display navigation mutates only the visible transcript view or scroll position.',
114
263
  };
115
264
  }
116
- if (
117
- root === 'profile'
118
- || root === 'agent-profile'
119
- || root === 'provider'
120
- || root === 'providers'
121
- || root === 'auth'
122
- || root === 'secret'
123
- || root === 'secrets'
124
- || root === 'mcp'
125
- || root === 'voice'
126
- || root === 'subscription'
127
- ) {
265
+ if (root === 'paste') {
266
+ return {
267
+ effect: 'local-state',
268
+ confirmation,
269
+ preferredModelTool: 'agent_harness run_keybinding',
270
+ boundary: 'Paste reads the local clipboard and mutates the visible prompt or image attachment state.',
271
+ };
272
+ }
273
+ if (root === 'profile' || root === 'agent-profile') {
128
274
  return {
129
275
  effect: 'mixed',
130
276
  confirmation,
131
- boundary: 'Harness-owned configuration, auth, provider, MCP, and profile commands are available through the command bridge with explicit confirmation.',
277
+ preferredModelTool: 'agent_harness workspace_actions/workspace_action/run_workspace_action',
278
+ boundary: 'Agent profile commands manage isolated Agent runtime profiles and starter templates. Mutations require explicit confirmation.',
279
+ };
280
+ }
281
+ if (root === 'qrcode') {
282
+ return {
283
+ effect: 'read-only',
284
+ confirmation,
285
+ preferredModelTool: 'agent_harness run_command',
286
+ boundary: 'Pairing details are displayed for explicit operator use; the Agent does not manage connected-host listener lifecycle.',
132
287
  };
133
288
  }
134
289
  return {
package/src/version.ts CHANGED
@@ -6,7 +6,7 @@ import { join } from 'node:path';
6
6
  // The prebuild script updates the fallback value before compilation.
7
7
  // Uses import.meta.dir (Bun) to locate package.json relative to this file,
8
8
  // which is correct regardless of the process working directory.
9
- let _version = '1.0.26';
9
+ let _version = '1.0.27';
10
10
  let _sdkVersion = '0.33.35';
11
11
  try {
12
12
  const pkg = JSON.parse(readFileSync(join(import.meta.dir, '..', 'package.json'), 'utf-8')) as {