@pellux/goodvibes-agent 1.0.7 → 1.0.8
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 +6 -0
- package/README.md +2 -2
- package/dist/package/main.js +114 -12
- package/docs/README.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/tools-and-commands.md +2 -2
- package/package.json +1 -1
- package/src/tools/agent-harness-ui-surface-metadata.ts +131 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Product-facing release notes for GoodVibes Agent.
|
|
4
4
|
|
|
5
|
+
## 1.0.8 - 2026-06-03
|
|
6
|
+
|
|
7
|
+
- Added model-visible UI surface entries for the panel-picker compatibility route and the security, knowledge, and subscription operator surfaces.
|
|
8
|
+
- Routed those named operator surfaces through Agent Workspace or the existing panel bridge with confirmation.
|
|
9
|
+
- Updated package-facing docs and focused harness coverage so the documented 1.0.x model-visible surface map matches the TUI routes.
|
|
10
|
+
|
|
5
11
|
## 1.0.7 - 2026-06-03
|
|
6
12
|
|
|
7
13
|
- Refreshed package-facing docs index so the latest 1.0.x release is derived from package.json and the top changelog entry instead of a stale hard-coded patch number.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ GoodVibes Agent is the personal operator assistant TUI for GoodVibes. It is buil
|
|
|
7
7
|
|
|
8
8
|
The Agent product connects to a GoodVibes host owned outside this package. It does not install, start, stop, restart, or own that host.
|
|
9
9
|
|
|
10
|
-
Most work happens in the interactive TUI. The installed CLI exists to launch that TUI and provide scriptable mirrors for workflows that are already reachable from the workspace. The main Agent model can inspect the same harness surface through Agent-owned tools: workspace actions, built-in panels, modal/overlay/picker UI surfaces, top-level CLI mirrors, fixed shortcuts, configurable keybindings, slash commands, command policy metadata, settings, model tools, local registries, connected-host capability boundaries, and live connected-host readiness are all discoverable from the conversation without exposing connected-host lifecycle control.
|
|
10
|
+
Most work happens in the interactive TUI. The installed CLI exists to launch that TUI and provide scriptable mirrors for workflows that are already reachable from the workspace. The main Agent model can inspect the same harness surface through Agent-owned tools: workspace actions, built-in panels, modal/overlay/picker UI surfaces, named operator surfaces, top-level CLI mirrors, fixed shortcuts, configurable keybindings, slash commands, command policy metadata, settings, model tools, local registries, connected-host capability boundaries, and live connected-host readiness are all discoverable from the conversation without exposing connected-host lifecycle control.
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
@@ -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, list built-in panels and their workspace routes, inspect modal/overlay/picker UI surfaces, list top-level CLI mirrors, inspect fixed shortcuts and configurable keybindings, list slash commands, inspect command policy metadata, inspect model tool definitions, inspect or change Agent settings with confirmation, run concrete workspace or slash-command mirrors 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, context, bookmarks, model/provider pickers, session/profile pickers, 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; `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`; 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. The `connected_host` report includes route families, allowed capabilities, blocked lifecycle/non-Agent surfaces, and availability for the first-class Agent tools. 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, list built-in panels and their workspace routes, inspect modal/overlay/picker UI surfaces, list top-level CLI mirrors, inspect fixed shortcuts and configurable keybindings, list slash commands, inspect command policy metadata, inspect model tool definitions, inspect or change Agent settings with confirmation, run concrete workspace or slash-command mirrors 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, context, bookmarks, model/provider 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; `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`; 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. The `connected_host` report includes route families, allowed capabilities, blocked lifecycle/non-Agent surfaces, and availability for the first-class Agent tools. 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
|
|
package/dist/package/main.js
CHANGED
|
@@ -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.
|
|
816569
|
+
var _version = "1.0.8";
|
|
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"));
|
|
@@ -847775,13 +847775,13 @@ init_state3();
|
|
|
847775
847775
|
|
|
847776
847776
|
// src/input/commands/recall-shared.ts
|
|
847777
847777
|
var VALID_CLASSES = ["decision", "constraint", "incident", "pattern", "fact", "risk", "runbook", "architecture", "ownership"];
|
|
847778
|
-
var
|
|
847778
|
+
var VALID_SCOPES2 = ["session", "project", "team"];
|
|
847779
847779
|
var VALID_REVIEW_STATES = ["fresh", "reviewed", "stale", "contradicted"];
|
|
847780
847780
|
function isValidClass(s4) {
|
|
847781
847781
|
return VALID_CLASSES.includes(s4);
|
|
847782
847782
|
}
|
|
847783
847783
|
function isValidScope(s4) {
|
|
847784
|
-
return
|
|
847784
|
+
return VALID_SCOPES2.includes(s4);
|
|
847785
847785
|
}
|
|
847786
847786
|
function isValidReviewState(s4) {
|
|
847787
847787
|
return VALID_REVIEW_STATES.includes(s4);
|
|
@@ -847824,7 +847824,7 @@ function handleRecallSearch(args2, context) {
|
|
|
847824
847824
|
if (isValidScope(scope))
|
|
847825
847825
|
filter.scope = scope;
|
|
847826
847826
|
else {
|
|
847827
|
-
context.print(`[memory] Unknown scope "${scope}". Valid values ${
|
|
847827
|
+
context.print(`[memory] Unknown scope "${scope}". Valid values ${VALID_SCOPES2.join(", ")}.`);
|
|
847828
847828
|
return;
|
|
847829
847829
|
}
|
|
847830
847830
|
}
|
|
@@ -847999,7 +847999,7 @@ function handleRecallList(args2, context) {
|
|
|
847999
847999
|
if (scopeIdx !== -1 && args2[scopeIdx + 1]) {
|
|
848000
848000
|
const scope = args2[scopeIdx + 1];
|
|
848001
848001
|
if (!isValidScope(scope)) {
|
|
848002
|
-
context.print(`[memory] Unknown scope "${scope}". Valid values ${
|
|
848002
|
+
context.print(`[memory] Unknown scope "${scope}". Valid values ${VALID_SCOPES2.join(", ")}.`);
|
|
848003
848003
|
return;
|
|
848004
848004
|
}
|
|
848005
848005
|
filter.scope = scope;
|
|
@@ -848049,7 +848049,7 @@ async function handleRecallAdd(args2, context) {
|
|
|
848049
848049
|
const tags = tagsRaw ? tagsRaw.split(",").map((token) => token.trim()).filter(Boolean) : [];
|
|
848050
848050
|
const scope = scopeRaw && isValidScope(scopeRaw) ? scopeRaw : "project";
|
|
848051
848051
|
if (scopeRaw && !isValidScope(scopeRaw)) {
|
|
848052
|
-
context.print(`[memory] Invalid scope "${scopeRaw}". Valid values ${
|
|
848052
|
+
context.print(`[memory] Invalid scope "${scopeRaw}". Valid values ${VALID_SCOPES2.join(", ")}.`);
|
|
848053
848053
|
return;
|
|
848054
848054
|
}
|
|
848055
848055
|
const provenance = [];
|
|
@@ -848183,7 +848183,7 @@ function handleRecallExport(args2, context) {
|
|
|
848183
848183
|
if (scopeIdx !== -1 && commandArgs[scopeIdx + 1]) {
|
|
848184
848184
|
const scope = commandArgs[scopeIdx + 1];
|
|
848185
848185
|
if (!isValidScope(scope)) {
|
|
848186
|
-
context.print(`[memory] Unknown scope "${scope}". Valid values ${
|
|
848186
|
+
context.print(`[memory] Unknown scope "${scope}". Valid values ${VALID_SCOPES2.join(", ")}.`);
|
|
848187
848187
|
return;
|
|
848188
848188
|
}
|
|
848189
848189
|
filter.scope = scope;
|
|
@@ -848262,7 +848262,7 @@ function handleRecallHandoffExport(args2, context) {
|
|
|
848262
848262
|
const scopeIdx = commandArgs.indexOf("--scope");
|
|
848263
848263
|
const scopeRaw = scopeIdx !== -1 ? commandArgs[scopeIdx + 1] : "team";
|
|
848264
848264
|
if (!scopeRaw || !isValidScope(scopeRaw)) {
|
|
848265
|
-
context.print(`[memory] Unknown scope "${scopeRaw ?? ""}". Valid values ${
|
|
848265
|
+
context.print(`[memory] Unknown scope "${scopeRaw ?? ""}". Valid values ${VALID_SCOPES2.join(", ")}.`);
|
|
848266
848266
|
return;
|
|
848267
848267
|
}
|
|
848268
848268
|
const bundle = memory.exportBundle({ scope: scopeRaw });
|
|
@@ -848378,7 +848378,7 @@ function handleRecallPromote(args2, context) {
|
|
|
848378
848378
|
const id = parsed.rest[0];
|
|
848379
848379
|
const scope = parsed.rest[1];
|
|
848380
848380
|
if (!id || !scope || !isValidScope(scope)) {
|
|
848381
|
-
context.print(`[memory] Usage: /memory promote <id> <${
|
|
848381
|
+
context.print(`[memory] Usage: /memory promote <id> <${VALID_SCOPES2.join("|")}> --yes`);
|
|
848382
848382
|
return;
|
|
848383
848383
|
}
|
|
848384
848384
|
if (!parsed.yes) {
|
|
@@ -862154,7 +862154,7 @@ import { mkdirSync as mkdirSync64, readFileSync as readFileSync86, writeFileSync
|
|
|
862154
862154
|
import { dirname as dirname63, resolve as resolve39 } from "path";
|
|
862155
862155
|
init_state3();
|
|
862156
862156
|
var VALID_CLASSES2 = ["decision", "constraint", "incident", "pattern", "fact", "risk", "runbook", "architecture", "ownership"];
|
|
862157
|
-
var
|
|
862157
|
+
var VALID_SCOPES4 = ["session", "project", "team"];
|
|
862158
862158
|
var VALID_REVIEW_STATES3 = ["fresh", "reviewed", "stale", "contradicted"];
|
|
862159
862159
|
var VALID_PROVENANCE_KINDS = ["session", "turn", "task", "event", "file"];
|
|
862160
862160
|
var VALUE_OPTIONS = new Set([
|
|
@@ -862254,7 +862254,7 @@ function isMemoryClass2(value) {
|
|
|
862254
862254
|
return VALID_CLASSES2.includes(value);
|
|
862255
862255
|
}
|
|
862256
862256
|
function isMemoryScope2(value) {
|
|
862257
|
-
return
|
|
862257
|
+
return VALID_SCOPES4.includes(value);
|
|
862258
862258
|
}
|
|
862259
862259
|
function isReviewState(value) {
|
|
862260
862260
|
return VALID_REVIEW_STATES3.includes(value);
|
|
@@ -862269,7 +862269,7 @@ function requireClass(value) {
|
|
|
862269
862269
|
}
|
|
862270
862270
|
function requireScope(value) {
|
|
862271
862271
|
if (!value || !isMemoryScope2(value))
|
|
862272
|
-
throw new Error(`Invalid memory scope "${value ?? ""}". Valid values ${
|
|
862272
|
+
throw new Error(`Invalid memory scope "${value ?? ""}". Valid values ${VALID_SCOPES4.join(", ")}`);
|
|
862273
862273
|
return value;
|
|
862274
862274
|
}
|
|
862275
862275
|
function optionalScope(value) {
|
|
@@ -880765,6 +880765,37 @@ function workspaceCategory(args2) {
|
|
|
880765
880765
|
function settingsTarget(args2) {
|
|
880766
880766
|
return readString56(args2.target || args2.key || args2.prefix) || undefined;
|
|
880767
880767
|
}
|
|
880768
|
+
function optionalPane(args2) {
|
|
880769
|
+
const pane = readString56(args2.pane);
|
|
880770
|
+
return pane === "top" || pane === "bottom" ? pane : undefined;
|
|
880771
|
+
}
|
|
880772
|
+
function openAgentWorkspaceCategory(context, surface, categoryId, extra = {}) {
|
|
880773
|
+
if (!context.openAgentWorkspace)
|
|
880774
|
+
return routeUnavailable(surface);
|
|
880775
|
+
context.openAgentWorkspace(categoryId);
|
|
880776
|
+
return opened(surface, { categoryId, ...extra });
|
|
880777
|
+
}
|
|
880778
|
+
function openPanelWorkspaceSurface(context, args2, surface, options) {
|
|
880779
|
+
if (context.openAgentWorkspace) {
|
|
880780
|
+
context.openAgentWorkspace(options.categoryId);
|
|
880781
|
+
return opened(surface, { categoryId: options.categoryId, panelId: options.panelId });
|
|
880782
|
+
}
|
|
880783
|
+
if (options.opener) {
|
|
880784
|
+
options.opener();
|
|
880785
|
+
return opened(surface, { categoryId: options.categoryId, panelId: options.panelId, route: "named-opener" });
|
|
880786
|
+
}
|
|
880787
|
+
if (context.showPanel) {
|
|
880788
|
+
const pane = optionalPane(args2);
|
|
880789
|
+
context.showPanel(options.panelId, pane);
|
|
880790
|
+
return opened(surface, {
|
|
880791
|
+
categoryId: options.categoryId,
|
|
880792
|
+
panelId: options.panelId,
|
|
880793
|
+
pane: pane ?? "default",
|
|
880794
|
+
route: "panel-bridge"
|
|
880795
|
+
});
|
|
880796
|
+
}
|
|
880797
|
+
return routeUnavailable(surface);
|
|
880798
|
+
}
|
|
880768
880799
|
var UI_SURFACES = [
|
|
880769
880800
|
{
|
|
880770
880801
|
id: "agent-workspace",
|
|
@@ -880784,6 +880815,77 @@ var UI_SURFACES = [
|
|
|
880784
880815
|
return opened(surface, { categoryId: categoryId ?? "default" });
|
|
880785
880816
|
}
|
|
880786
880817
|
},
|
|
880818
|
+
{
|
|
880819
|
+
id: "panel-picker",
|
|
880820
|
+
label: "Panel Picker",
|
|
880821
|
+
kind: "picker",
|
|
880822
|
+
summary: "Keyboard-accessible operator panel route that now opens the Agent Workspace home surface.",
|
|
880823
|
+
command: "Ctrl+P",
|
|
880824
|
+
preferredModelRoute: "Use panels/panel/open_panel for panel catalog and routing, or workspace_actions for concrete model operation.",
|
|
880825
|
+
available: (context) => typeof context.openPanelPicker === "function" || typeof context.openAgentWorkspace === "function",
|
|
880826
|
+
open: (context) => {
|
|
880827
|
+
const surface = findSurfaceById("panel-picker");
|
|
880828
|
+
if (context.openPanelPicker) {
|
|
880829
|
+
context.openPanelPicker();
|
|
880830
|
+
return opened(surface, { categoryId: "home", route: "panel-picker" });
|
|
880831
|
+
}
|
|
880832
|
+
return openAgentWorkspaceCategory(context, surface, "home");
|
|
880833
|
+
}
|
|
880834
|
+
},
|
|
880835
|
+
{
|
|
880836
|
+
id: "security-panel",
|
|
880837
|
+
label: "Security Panel",
|
|
880838
|
+
kind: "workspace",
|
|
880839
|
+
summary: "Security review operator surface for token posture, MCP attack paths, policy posture, and plugin risk.",
|
|
880840
|
+
command: "/security",
|
|
880841
|
+
preferredModelRoute: "Use workspace_actions for security review actions or run_command /security review for compact read-only output.",
|
|
880842
|
+
parameters: ["pane"],
|
|
880843
|
+
available: (context) => typeof context.openAgentWorkspace === "function" || typeof context.openSecurityPanel === "function" || typeof context.showPanel === "function",
|
|
880844
|
+
open: (context, args2) => {
|
|
880845
|
+
const surface = findSurfaceById("security-panel");
|
|
880846
|
+
return openPanelWorkspaceSurface(context, args2, surface, {
|
|
880847
|
+
panelId: "security",
|
|
880848
|
+
categoryId: "tools",
|
|
880849
|
+
opener: context.openSecurityPanel
|
|
880850
|
+
});
|
|
880851
|
+
}
|
|
880852
|
+
},
|
|
880853
|
+
{
|
|
880854
|
+
id: "knowledge-panel",
|
|
880855
|
+
label: "Knowledge Panel",
|
|
880856
|
+
kind: "workspace",
|
|
880857
|
+
summary: "Agent Knowledge operator surface for isolated status, source libraries, graph review, ask/search, and ingest forms.",
|
|
880858
|
+
command: "/knowledge",
|
|
880859
|
+
preferredModelRoute: "Use agent_knowledge, agent_knowledge_ingest, workspace_actions, or run_command /knowledge for concrete model operation.",
|
|
880860
|
+
parameters: ["pane"],
|
|
880861
|
+
available: (context) => typeof context.openAgentWorkspace === "function" || typeof context.openKnowledgePanel === "function" || typeof context.showPanel === "function",
|
|
880862
|
+
open: (context, args2) => {
|
|
880863
|
+
const surface = findSurfaceById("knowledge-panel");
|
|
880864
|
+
return openPanelWorkspaceSurface(context, args2, surface, {
|
|
880865
|
+
panelId: "knowledge",
|
|
880866
|
+
categoryId: "knowledge",
|
|
880867
|
+
opener: context.openKnowledgePanel
|
|
880868
|
+
});
|
|
880869
|
+
}
|
|
880870
|
+
},
|
|
880871
|
+
{
|
|
880872
|
+
id: "subscription-panel",
|
|
880873
|
+
label: "Subscription Panel",
|
|
880874
|
+
kind: "workspace",
|
|
880875
|
+
summary: "Provider subscription operator surface for subscription review, provider inspection, login, logout, and bundle flows.",
|
|
880876
|
+
command: "/subscription",
|
|
880877
|
+
preferredModelRoute: "Use workspace_actions or confirmed run_command /subscription mirrors for concrete subscription operation.",
|
|
880878
|
+
parameters: ["pane"],
|
|
880879
|
+
available: (context) => typeof context.openAgentWorkspace === "function" || typeof context.openSubscriptionPanel === "function" || typeof context.showPanel === "function",
|
|
880880
|
+
open: (context, args2) => {
|
|
880881
|
+
const surface = findSurfaceById("subscription-panel");
|
|
880882
|
+
return openPanelWorkspaceSurface(context, args2, surface, {
|
|
880883
|
+
panelId: "subscription",
|
|
880884
|
+
categoryId: "setup",
|
|
880885
|
+
opener: context.openSubscriptionPanel
|
|
880886
|
+
});
|
|
880887
|
+
}
|
|
880888
|
+
},
|
|
880787
880889
|
{
|
|
880788
880890
|
id: "settings",
|
|
880789
880891
|
label: "Settings",
|
package/docs/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Important baseline constraints:
|
|
|
22
22
|
- Agent depends on `@pellux/goodvibes-sdk@0.33.35`.
|
|
23
23
|
- Agent connects to a GoodVibes host owned outside this product.
|
|
24
24
|
- Agent does not start, stop, restart, install, uninstall, or own the connected GoodVibes host.
|
|
25
|
-
- User-facing Agent workspace actions, built-in panels, modal/overlay/picker UI surfaces, top-level CLI mirrors, fixed shortcuts, configurable keybindings, slash commands, command policy metadata, model tools, settings, local registries, connected-host capability boundaries, and live connected-host readiness are model-visible through Agent-owned tools. Mutations and visible UI routing remain explicit and confirmation-gated.
|
|
25
|
+
- User-facing Agent workspace actions, built-in panels, modal/overlay/picker UI surfaces, named operator surfaces, top-level CLI mirrors, fixed shortcuts, configurable keybindings, slash commands, command policy metadata, model tools, settings, local registries, connected-host capability boundaries, and live connected-host readiness are model-visible through Agent-owned tools. Mutations and visible UI routing remain explicit and confirmation-gated.
|
|
26
26
|
- Agent Knowledge uses only `/api/goodvibes-agent/knowledge/*`; there is no default knowledge or non-Agent product fallback.
|
|
27
27
|
- Agent supports isolated Agent homes with `GOODVIBES_AGENT_HOME=<path>` and named profile homes with `goodvibes-agent profiles create <name> --template <starter> --yes` plus `--agent-profile <name>`.
|
|
28
28
|
- Agent supports connected-host URL overrides with `--runtime-url http://host:port` or `GOODVIBES_AGENT_RUNTIME_URL=http://host:port`; these only change the Agent connection target.
|
package/docs/getting-started.md
CHANGED
|
@@ -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, built-in panel discovery/routing, modal/overlay/picker UI surface discovery/routing, top-level CLI mirror discovery, fixed shortcut and configurable keybinding discovery, keybinding mutation with confirmation, slash-command discovery, command policy metadata, command execution with confirmation, model tool discovery, settings inspection/mutation, connected-host capability inventory, 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, context, bookmarks, model/provider pickers, session/profile pickers, 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; 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. 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. 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, built-in panel discovery/routing, modal/overlay/picker UI surface discovery/routing, top-level CLI mirror discovery, fixed shortcut and configurable keybinding discovery, keybinding mutation with confirmation, slash-command discovery, command policy metadata, command execution with confirmation, model tool discovery, settings inspection/mutation, connected-host capability inventory, 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, context, bookmarks, model/provider 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; 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. 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. 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
|
|
|
@@ -43,7 +43,7 @@ Host-management and coding-first commands that would imply connected-host lifecy
|
|
|
43
43
|
|
|
44
44
|
The main Agent model has an Agent-owned harness bridge rather than generic SDK settings/context control. Use these model tools as the supported parity layer:
|
|
45
45
|
|
|
46
|
-
- `agent_harness`: inspect workspace categories/actions, inspect built-in panels, inspect modal/overlay/picker UI surfaces, inspect top-level CLI mirrors, inspect fixed shortcuts and configurable keybindings, inspect slash commands and command policy metadata, run concrete workspace or slash-command mirrors with confirmation, inspect model tools, inspect or change Agent settings/keybindings, inspect connected-host capability boundaries, and inspect live connected-host readiness.
|
|
46
|
+
- `agent_harness`: inspect workspace categories/actions, inspect built-in panels, inspect modal/overlay/picker UI surfaces and named operator surfaces, inspect top-level CLI mirrors, inspect fixed shortcuts and configurable keybindings, inspect slash commands and command policy metadata, run concrete workspace or slash-command mirrors with confirmation, inspect model tools, inspect or change Agent settings/keybindings, inspect connected-host capability boundaries, and inspect live connected-host readiness.
|
|
47
47
|
- `agent_local_registry`: inspect and maintain Agent-local memory, notes, personas, skills, skill bundles, and routines. Deleting local records requires `confirm:true` and `explicitUserRequest`.
|
|
48
48
|
- `agent_knowledge` and `agent_knowledge_ingest`: ask/search and ingest into the isolated Agent Knowledge segment.
|
|
49
49
|
- `agent_operator_briefing` and `agent_operator_action`: inspect connected work/approval/automation posture, or run exact confirmed approval/automation actions.
|
|
@@ -52,7 +52,7 @@ The main Agent model has an Agent-owned harness bridge rather than generic SDK s
|
|
|
52
52
|
|
|
53
53
|
`agent_harness` discovery modes are read-only. `summary` reports the model access map; `panels` and `panel` return the built-in panel catalog, current open/focused state, and each panel's matching Agent workspace route; `ui_surfaces` and `ui_surface` return modal, overlay, picker, and workspace entrypoints with shell-opener availability and preferred model routes; `cli_commands` and `cli_command` return top-level package CLI mirror metadata, parser output, blocked command tokens, and preferred in-process model routes; `shortcuts` returns fixed runtime/editor shortcuts plus configurable keybindings; `keybindings` and `keybinding` return the live resolved keybinding table, default bindings, custom state, and config path; `commands` and `command` return slash-command descriptions plus effect/confirmation/preferred-tool/boundary policy metadata; `workspace_actions` lists Agent workspace actions and can inline editor field schemas with `includeParameters:true`; `workspace_action` returns one action with its editor schema; `tools` can inline model tool JSON schemas with `includeParameters:true`; `settings` returns setting descriptors plus setting policy; `connected_host` returns the connected-host route families, allowed capabilities, blocked capabilities, and first-class tool availability; 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
|
-
`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 pickers, session/profile pickers, bookmarks, context inspector, 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.
|
|
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 pickers, session/profile pickers, the panel-picker compatibility route, security/knowledge/subscription operator surfaces, bookmarks, context inspector, 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.
|
|
56
56
|
|
|
57
57
|
`set_keybinding` and `reset_keybinding` are confirmation-gated control modes. They write the same Agent `keybindings.json` file exposed by `/keybindings`, reload the runtime keybinding manager, and leave fixed runtime/editor shortcuts read-only.
|
|
58
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pellux/goodvibes-agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
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",
|
|
@@ -11,6 +11,7 @@ export interface AgentHarnessUiSurfaceArgs {
|
|
|
11
11
|
readonly key?: unknown;
|
|
12
12
|
readonly prefix?: unknown;
|
|
13
13
|
readonly limit?: unknown;
|
|
14
|
+
readonly pane?: unknown;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
interface UiSurfaceDefinition {
|
|
@@ -71,6 +72,53 @@ function settingsTarget(args: AgentHarnessUiSurfaceArgs): string | undefined {
|
|
|
71
72
|
return readString(args.target || args.key || args.prefix) || undefined;
|
|
72
73
|
}
|
|
73
74
|
|
|
75
|
+
function optionalPane(args: AgentHarnessUiSurfaceArgs): 'top' | 'bottom' | undefined {
|
|
76
|
+
const pane = readString(args.pane);
|
|
77
|
+
return pane === 'top' || pane === 'bottom' ? pane : undefined;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function openAgentWorkspaceCategory(
|
|
81
|
+
context: CommandContext,
|
|
82
|
+
surface: UiSurfaceDefinition,
|
|
83
|
+
categoryId: string,
|
|
84
|
+
extra: Record<string, unknown> = {},
|
|
85
|
+
): Record<string, unknown> {
|
|
86
|
+
if (!context.openAgentWorkspace) return routeUnavailable(surface);
|
|
87
|
+
context.openAgentWorkspace(categoryId);
|
|
88
|
+
return opened(surface, { categoryId, ...extra });
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function openPanelWorkspaceSurface(
|
|
92
|
+
context: CommandContext,
|
|
93
|
+
args: AgentHarnessUiSurfaceArgs,
|
|
94
|
+
surface: UiSurfaceDefinition,
|
|
95
|
+
options: {
|
|
96
|
+
readonly panelId: string;
|
|
97
|
+
readonly categoryId: string;
|
|
98
|
+
readonly opener?: (() => void) | undefined;
|
|
99
|
+
},
|
|
100
|
+
): Record<string, unknown> {
|
|
101
|
+
if (context.openAgentWorkspace) {
|
|
102
|
+
context.openAgentWorkspace(options.categoryId);
|
|
103
|
+
return opened(surface, { categoryId: options.categoryId, panelId: options.panelId });
|
|
104
|
+
}
|
|
105
|
+
if (options.opener) {
|
|
106
|
+
options.opener();
|
|
107
|
+
return opened(surface, { categoryId: options.categoryId, panelId: options.panelId, route: 'named-opener' });
|
|
108
|
+
}
|
|
109
|
+
if (context.showPanel) {
|
|
110
|
+
const pane = optionalPane(args);
|
|
111
|
+
context.showPanel(options.panelId, pane);
|
|
112
|
+
return opened(surface, {
|
|
113
|
+
categoryId: options.categoryId,
|
|
114
|
+
panelId: options.panelId,
|
|
115
|
+
pane: pane ?? 'default',
|
|
116
|
+
route: 'panel-bridge',
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
return routeUnavailable(surface);
|
|
120
|
+
}
|
|
121
|
+
|
|
74
122
|
const UI_SURFACES: readonly UiSurfaceDefinition[] = [
|
|
75
123
|
{
|
|
76
124
|
id: 'agent-workspace',
|
|
@@ -89,6 +137,89 @@ const UI_SURFACES: readonly UiSurfaceDefinition[] = [
|
|
|
89
137
|
return opened(surface, { categoryId: categoryId ?? 'default' });
|
|
90
138
|
},
|
|
91
139
|
},
|
|
140
|
+
{
|
|
141
|
+
id: 'panel-picker',
|
|
142
|
+
label: 'Panel Picker',
|
|
143
|
+
kind: 'picker',
|
|
144
|
+
summary: 'Keyboard-accessible operator panel route that now opens the Agent Workspace home surface.',
|
|
145
|
+
command: 'Ctrl+P',
|
|
146
|
+
preferredModelRoute: 'Use panels/panel/open_panel for panel catalog and routing, or workspace_actions for concrete model operation.',
|
|
147
|
+
available: (context) => typeof context.openPanelPicker === 'function' || typeof context.openAgentWorkspace === 'function',
|
|
148
|
+
open: (context) => {
|
|
149
|
+
const surface = findSurfaceById('panel-picker')!;
|
|
150
|
+
if (context.openPanelPicker) {
|
|
151
|
+
context.openPanelPicker();
|
|
152
|
+
return opened(surface, { categoryId: 'home', route: 'panel-picker' });
|
|
153
|
+
}
|
|
154
|
+
return openAgentWorkspaceCategory(context, surface, 'home');
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: 'security-panel',
|
|
159
|
+
label: 'Security Panel',
|
|
160
|
+
kind: 'workspace',
|
|
161
|
+
summary: 'Security review operator surface for token posture, MCP attack paths, policy posture, and plugin risk.',
|
|
162
|
+
command: '/security',
|
|
163
|
+
preferredModelRoute: 'Use workspace_actions for security review actions or run_command /security review for compact read-only output.',
|
|
164
|
+
parameters: ['pane'],
|
|
165
|
+
available: (context) => (
|
|
166
|
+
typeof context.openAgentWorkspace === 'function'
|
|
167
|
+
|| typeof context.openSecurityPanel === 'function'
|
|
168
|
+
|| typeof context.showPanel === 'function'
|
|
169
|
+
),
|
|
170
|
+
open: (context, args) => {
|
|
171
|
+
const surface = findSurfaceById('security-panel')!;
|
|
172
|
+
return openPanelWorkspaceSurface(context, args, surface, {
|
|
173
|
+
panelId: 'security',
|
|
174
|
+
categoryId: 'tools',
|
|
175
|
+
opener: context.openSecurityPanel,
|
|
176
|
+
});
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
id: 'knowledge-panel',
|
|
181
|
+
label: 'Knowledge Panel',
|
|
182
|
+
kind: 'workspace',
|
|
183
|
+
summary: 'Agent Knowledge operator surface for isolated status, source libraries, graph review, ask/search, and ingest forms.',
|
|
184
|
+
command: '/knowledge',
|
|
185
|
+
preferredModelRoute: 'Use agent_knowledge, agent_knowledge_ingest, workspace_actions, or run_command /knowledge for concrete model operation.',
|
|
186
|
+
parameters: ['pane'],
|
|
187
|
+
available: (context) => (
|
|
188
|
+
typeof context.openAgentWorkspace === 'function'
|
|
189
|
+
|| typeof context.openKnowledgePanel === 'function'
|
|
190
|
+
|| typeof context.showPanel === 'function'
|
|
191
|
+
),
|
|
192
|
+
open: (context, args) => {
|
|
193
|
+
const surface = findSurfaceById('knowledge-panel')!;
|
|
194
|
+
return openPanelWorkspaceSurface(context, args, surface, {
|
|
195
|
+
panelId: 'knowledge',
|
|
196
|
+
categoryId: 'knowledge',
|
|
197
|
+
opener: context.openKnowledgePanel,
|
|
198
|
+
});
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
id: 'subscription-panel',
|
|
203
|
+
label: 'Subscription Panel',
|
|
204
|
+
kind: 'workspace',
|
|
205
|
+
summary: 'Provider subscription operator surface for subscription review, provider inspection, login, logout, and bundle flows.',
|
|
206
|
+
command: '/subscription',
|
|
207
|
+
preferredModelRoute: 'Use workspace_actions or confirmed run_command /subscription mirrors for concrete subscription operation.',
|
|
208
|
+
parameters: ['pane'],
|
|
209
|
+
available: (context) => (
|
|
210
|
+
typeof context.openAgentWorkspace === 'function'
|
|
211
|
+
|| typeof context.openSubscriptionPanel === 'function'
|
|
212
|
+
|| typeof context.showPanel === 'function'
|
|
213
|
+
),
|
|
214
|
+
open: (context, args) => {
|
|
215
|
+
const surface = findSurfaceById('subscription-panel')!;
|
|
216
|
+
return openPanelWorkspaceSurface(context, args, surface, {
|
|
217
|
+
panelId: 'subscription',
|
|
218
|
+
categoryId: 'setup',
|
|
219
|
+
opener: context.openSubscriptionPanel,
|
|
220
|
+
});
|
|
221
|
+
},
|
|
222
|
+
},
|
|
92
223
|
{
|
|
93
224
|
id: 'settings',
|
|
94
225
|
label: 'Settings',
|
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.
|
|
9
|
+
let _version = '1.0.8';
|
|
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 {
|