@pellux/goodvibes-agent 1.0.31 → 1.0.34
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 +59 -2
- package/README.md +72 -58
- package/dist/package/main.js +7572 -2430
- package/docs/README.md +25 -21
- package/docs/channels-remote-and-api.md +6 -2
- package/docs/connected-host.md +27 -6
- package/docs/getting-started.md +87 -66
- package/docs/knowledge-artifacts-and-multimodal.md +16 -4
- package/docs/project-planning.md +2 -2
- package/docs/providers-and-routing.md +3 -2
- package/docs/release-and-publishing.md +15 -11
- package/docs/tools-and-commands.md +150 -128
- package/docs/voice-and-live-tts.md +1 -1
- package/package.json +8 -3
- package/release/live-verification/live-verification.json +148 -0
- package/release/live-verification/live-verification.md +187 -0
- package/release/performance-snapshot.json +57 -0
- package/release/release-notes.md +19 -0
- package/release/release-readiness.json +581 -0
- package/src/agent/harness-control.ts +42 -3
- package/src/cli/agent-knowledge-command.ts +5 -5
- package/src/cli/agent-knowledge-format.ts +11 -0
- package/src/cli/agent-knowledge-runtime.ts +92 -13
- package/src/cli/bundle-command.ts +5 -4
- package/src/cli/entrypoint.ts +5 -2
- package/src/cli/external-runtime.ts +2 -15
- package/src/cli/management.ts +4 -3
- package/src/input/commands/guidance-runtime.ts +1 -1
- package/src/input/commands/knowledge.ts +2 -2
- package/src/runtime/bootstrap.ts +10 -18
- package/src/runtime/connected-host-auth.ts +16 -0
- package/src/tools/agent-analysis-registry-policy.ts +2 -9
- package/src/tools/agent-channel-send-tool.ts +3 -9
- package/src/tools/agent-context-policy.ts +1 -5
- package/src/tools/agent-find-policy.ts +1 -4
- package/src/tools/agent-harness-channel-metadata.ts +177 -0
- package/src/tools/agent-harness-cli-metadata.ts +4 -1
- package/src/tools/agent-harness-command-catalog.ts +10 -3
- package/src/tools/agent-harness-connected-host-status.ts +9 -3
- package/src/tools/agent-harness-delegation-posture.ts +216 -0
- package/src/tools/agent-harness-keybinding-metadata.ts +57 -22
- package/src/tools/agent-harness-mcp-metadata.ts +248 -0
- package/src/tools/agent-harness-media-posture.ts +282 -0
- package/src/tools/agent-harness-metadata.ts +44 -9
- package/src/tools/agent-harness-model-routing.ts +501 -0
- package/src/tools/agent-harness-model-tool-catalog.ts +7 -2
- package/src/tools/agent-harness-notification-metadata.ts +217 -0
- package/src/tools/agent-harness-operator-methods.ts +285 -0
- package/src/tools/agent-harness-pairing-posture.ts +265 -0
- package/src/tools/agent-harness-panel-metadata.ts +26 -12
- package/src/tools/agent-harness-provider-account-metadata.ts +205 -0
- package/src/tools/agent-harness-release-evidence.ts +364 -0
- package/src/tools/agent-harness-release-readiness.ts +298 -0
- package/src/tools/agent-harness-security-posture.ts +648 -0
- package/src/tools/agent-harness-service-posture.ts +207 -0
- package/src/tools/agent-harness-session-metadata.ts +284 -0
- package/src/tools/agent-harness-setup-posture.ts +295 -0
- package/src/tools/agent-harness-tool-schema.ts +104 -27
- package/src/tools/agent-harness-tool.ts +251 -235
- package/src/tools/agent-harness-ui-surface-metadata.ts +20 -12
- package/src/tools/agent-harness-workspace-actions.ts +260 -0
- package/src/tools/agent-knowledge-ingest-tool.ts +4 -10
- package/src/tools/agent-knowledge-tool.ts +120 -25
- package/src/tools/agent-local-registry-tool.ts +3 -7
- package/src/tools/agent-media-generate-tool.ts +2 -8
- package/src/tools/agent-notify-tool.ts +3 -8
- package/src/tools/agent-operator-action-tool.ts +4 -10
- package/src/tools/agent-operator-briefing-tool.ts +1 -6
- package/src/tools/agent-read-policy.ts +1 -4
- package/src/tools/agent-reminder-schedule-tool.ts +4 -9
- package/src/tools/agent-tool-policy-guard.ts +15 -51
- package/src/tools/agent-web-search-policy.ts +1 -4
- package/src/tools/agent-work-plan-tool.ts +1 -6
- package/src/version.ts +2 -2
package/docs/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# GoodVibes Agent Docs
|
|
2
2
|
|
|
3
|
-
These are the package-facing docs for the GoodVibes Agent `1.0.x` release line
|
|
3
|
+
These are the package-facing docs for the GoodVibes Agent `1.0.x` release line.
|
|
4
4
|
|
|
5
|
-
Current
|
|
5
|
+
## Current Docs
|
|
6
6
|
|
|
7
7
|
- [Getting Started](getting-started.md)
|
|
8
8
|
- [Connected Host](connected-host.md)
|
|
@@ -14,22 +14,26 @@ Current package docs:
|
|
|
14
14
|
- [Project Planning](project-planning.md)
|
|
15
15
|
- [Release And Publishing](release-and-publishing.md)
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- Agent
|
|
22
|
-
-
|
|
23
|
-
- Agent
|
|
24
|
-
- Agent
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
17
|
+
## Baseline
|
|
18
|
+
|
|
19
|
+
- Package executable: `goodvibes-agent`.
|
|
20
|
+
- Install/runtime: Bun `1.3.10` or newer.
|
|
21
|
+
- Current Agent version: `package.json`.
|
|
22
|
+
- SDK pin: exact `@pellux/goodvibes-sdk@0.33.36` version in `package.json`.
|
|
23
|
+
- Connected host: owned outside Agent; Agent reports and uses it but does not manage lifecycle.
|
|
24
|
+
- Agent Knowledge: only `/api/goodvibes-agent/knowledge/*`; no default knowledge fallback.
|
|
25
|
+
- Local state: memory, notes, personas, skills, routines, sessions, setup, and profiles live under the Agent home.
|
|
26
|
+
- Build/fix/review work: explicit delegation to GoodVibes TUI, not normal chat behavior.
|
|
27
|
+
|
|
28
|
+
## Model Access Baseline
|
|
29
|
+
|
|
30
|
+
Agent-owned model tools expose the same user-facing harness surfaces:
|
|
31
|
+
|
|
32
|
+
- `agent_harness` for workspace actions, slash commands, settings, panels, UI surfaces, keybindings, tool schemas, service/daemon posture, connected-host capability/status, release evidence, and posture catalogs.
|
|
33
|
+
- `agent_knowledge` and `agent_knowledge_ingest` for isolated Agent Knowledge.
|
|
34
|
+
- `agent_local_registry` for Agent-local memory, notes, personas, skills, bundles, and routines.
|
|
35
|
+
- `agent_work_plan` for visible local work-plan state.
|
|
36
|
+
- `agent_operator_briefing` and `agent_operator_action` for public connected operator state and exact confirmed actions.
|
|
37
|
+
- `agent_channel_send`, `agent_notify`, `agent_reminder_schedule`, and `agent_media_generate` for explicit confirmed effects.
|
|
38
|
+
|
|
39
|
+
Catalog modes are compact by default. Detailed schemas, route hints, redacted log tail, release artifact data, and editor fields require `includeParameters:true` or a singular inspect mode. Mutations, external delivery, UI routing, keybinding changes, setting writes, local destructive actions, media generation, reminders, and connected-host operator actions remain confirmation-gated and refuse ambiguous lookup.
|
|
@@ -17,7 +17,11 @@ Agent channel UX should show:
|
|
|
17
17
|
|
|
18
18
|
Agent-local memory, routines, skills, and personas are not automatically broadcast to channels. External delivery is an effect and requires an exact command, an explicit routine promotion, or a user-approved connected-host request. Companion pairing uses `/pair` without printing the raw token; manual token display requires `/pair --show-token --yes`. One-off delivery uses Agent Workspace -> Channels -> Send channel message or `/channels send ... --yes`.
|
|
19
19
|
|
|
20
|
-
The model can inspect
|
|
20
|
+
The model can inspect pairing posture with `agent_harness` mode `pairing_posture`, and inspect one pairing route with mode `pairing_route` using `pairingRouteId`, `target`, or `query`. Those pairing modes return endpoint binding, pairing surface id, route catalog, and token fingerprint only; raw tokens and QR payloads are never returned by the read-only posture modes. QR display, manual token display, companion connection, channel delivery, task, approval, provider/model, and attachment actions stay visible user flows.
|
|
21
|
+
|
|
22
|
+
The model can inspect channel-facing workspace actions with `agent_harness`, list the structured channel readiness map with `agent_harness` mode `channels`, and inspect one channel with mode `channel` using `channelId`, `target`, or `query`. Channel discovery is compact by default. Use `includeParameters:true` or single-channel inspection when the model needs delivery target shape, read-only connected-route hints, or full route metadata. These modes are read-only: they return setup state, delivery posture, risk labels, safe config-key names, and default-target key names without printing secret values or sending messages. The model can send one explicit configured delivery through `agent_channel_send` only when the user asks for that exact effect. It must not create routes, authorize accounts, infer recipients, or expose new public surfaces from chat.
|
|
23
|
+
|
|
24
|
+
The model can inspect configured notification target posture with `agent_harness` mode `notifications`, and inspect one redacted target with mode `notification_target` using `notificationTargetId`, `target`, or `query`. Notification discovery is compact by default. Use `includeParameters:true` or single-target inspection when management route hints are needed. These modes return target count, validity, protocol/host posture, and fingerprints, but not full webhook URLs. Use `agent_notify` for one explicit confirmed notification. Use confirmed `/notify` mirrors for target management only when the user supplies the exact add/remove/clear/test intent.
|
|
21
25
|
|
|
22
26
|
## Companion And Session Routes
|
|
23
27
|
|
|
@@ -43,7 +47,7 @@ Use public SDK/operator routes only. For Agent Knowledge, the only valid family
|
|
|
43
47
|
/api/goodvibes-agent/knowledge/*
|
|
44
48
|
```
|
|
45
49
|
|
|
46
|
-
If an Agent-specific route is missing, fail closed or show guidance. Do not substitute the default knowledge, another product segment, or private connected-host files.
|
|
50
|
+
If an Agent-specific route is missing, fail closed or show guidance. Do not substitute the default knowledge, another product segment, or private connected-host files. If an Agent-specific route returns default scope metadata, treat that as contamination and fail the call.
|
|
47
51
|
|
|
48
52
|
Harness and settings operations use the Agent-owned `agent_harness` tool. Generic settings/context mutators are not the model-facing Agent contract.
|
|
49
53
|
|
package/docs/connected-host.md
CHANGED
|
@@ -19,9 +19,24 @@ Start the owning GoodVibes host before launching Agent. Agent expects that host
|
|
|
19
19
|
|
|
20
20
|
```text
|
|
21
21
|
http://127.0.0.1:3421
|
|
22
|
-
/api/goodvibes-agent/knowledge/status
|
|
23
|
-
/api/goodvibes-agent/knowledge/ask
|
|
24
|
-
/api/goodvibes-agent/knowledge/search
|
|
22
|
+
GET /api/goodvibes-agent/knowledge/status
|
|
23
|
+
POST /api/goodvibes-agent/knowledge/ask
|
|
24
|
+
POST /api/goodvibes-agent/knowledge/search
|
|
25
|
+
GET /api/goodvibes-agent/knowledge/sources
|
|
26
|
+
GET /api/goodvibes-agent/knowledge/nodes
|
|
27
|
+
GET /api/goodvibes-agent/knowledge/issues
|
|
28
|
+
GET /api/goodvibes-agent/knowledge/items/{id}
|
|
29
|
+
GET /api/goodvibes-agent/knowledge/map
|
|
30
|
+
GET /api/goodvibes-agent/knowledge/connectors
|
|
31
|
+
GET /api/goodvibes-agent/knowledge/connectors/{id}
|
|
32
|
+
GET /api/goodvibes-agent/knowledge/connectors/{id}/doctor
|
|
33
|
+
POST /api/goodvibes-agent/knowledge/ingest/url
|
|
34
|
+
POST /api/goodvibes-agent/knowledge/ingest/artifact
|
|
35
|
+
POST /api/goodvibes-agent/knowledge/ingest/urls
|
|
36
|
+
POST /api/goodvibes-agent/knowledge/ingest/bookmarks
|
|
37
|
+
POST /api/goodvibes-agent/knowledge/ingest/browser-history
|
|
38
|
+
POST /api/goodvibes-agent/knowledge/ingest/connector
|
|
39
|
+
POST /api/goodvibes-agent/knowledge/reindex
|
|
25
40
|
```
|
|
26
41
|
|
|
27
42
|
If the GoodVibes API is on a different host or port, use a one-off override when launching the TUI:
|
|
@@ -54,10 +69,16 @@ Agent owns the operator assistant TUI, local profiles, local memory/notes/routin
|
|
|
54
69
|
|
|
55
70
|
Agent does not own connected-host lifecycle. It does not provide commands to install, expose, start, stop, restart, or mutate the connected GoodVibes host.
|
|
56
71
|
|
|
57
|
-
The model can inspect this boundary with `agent_harness` mode `connected_host`.
|
|
72
|
+
The model can inspect this boundary with `agent_harness` mode `connected_host`. `daemon` is an alias for the same posture report. By default the report is compact: configured base URL, token posture, ownership, mode hints, and capability counts. Use `includeParameters:true` for full route families, allowed capabilities, blocked capabilities, and first-class Agent tool availability. Allowed capabilities include read-only operator briefing, explicit allowlisted approval/automation/schedule actions, isolated Agent Knowledge read/ingest, confirmed channel or notification delivery, confirmed reminder schedules, and configured media generation. Blocked capabilities include connected-host lifecycle, listener mutation, default or non-Agent knowledge fallback, hidden background Agent jobs, implicit delegated review, route/account creation, and arbitrary connected-host mutations. To inspect one surface without parsing the full report, use `connected_host_capability` with `capabilityId`, `target`, or `query`.
|
|
58
73
|
|
|
59
|
-
The model can inspect
|
|
74
|
+
The model can inspect the public operator method catalog with `agent_harness` mode `operator_methods`. That report lists the allowlisted read and mutation methods, their public routes, owning first-class model tools, confirmation policy, and boundary. To inspect one method without parsing the full report, use `operator_method` with `methodId`, `target`, or `query`. This is a read-only catalog and does not expose arbitrary route invocation.
|
|
60
75
|
|
|
61
|
-
|
|
76
|
+
The model can inspect service posture with `agent_harness` mode `service_posture`. That report exposes the same read-only endpoint binding, network-facing posture, issue, and redacted-log diagnostics used by status, doctor, and support bundles. Use `includeParameters:true` when reachability probes and redacted log tail are needed. To inspect one endpoint, use `service_endpoint` with `endpointId`, `target`, or `query`; valid endpoint ids are `controlPlane`, `httpListener`, and `web`. These modes are diagnostic only and do not expose host start, stop, restart, install, listener, or account-management operations.
|
|
77
|
+
|
|
78
|
+
The model can inspect live connected-host readiness with `agent_harness` mode `connected_host_status`. `daemon_status` is an alias. That report uses the same read-only status probe as the CLI: it checks the connected-host status route, verifies the SDK version pin, checks the isolated Agent Knowledge status route when token and version posture allow it, reports endpoint bindings and token posture without printing token values, and returns actionable findings. `includeParameters:true` adds route family and capability detail. It is diagnostic only and does not expose host start, stop, restart, install, listener, or account-management operations.
|
|
79
|
+
|
|
80
|
+
The model can inspect companion pairing posture with `agent_harness` mode `pairing_posture`, and inspect one pairing/mobile route with `pairing_route`. Those modes report the control-plane endpoint binding, pairing surface id, token presence/fingerprint, and route catalog without returning raw tokens or QR payloads. Pairing display, manual token display, companion connection, channel delivery, task, approval, provider/model, and attachment actions remain visible user flows.
|
|
81
|
+
|
|
82
|
+
Agent Knowledge is its own product segment. Agent uses `/api/goodvibes-agent/knowledge/*` only and must not fall back to default knowledge or other product-specific knowledge routes. Agent also rejects successful-looking responses that expose default scope metadata or known non-Agent payload markers.
|
|
62
83
|
|
|
63
84
|
Normal assistant chat uses companion chat. Build/fix/review work is delegated explicitly to GoodVibes TUI through public runtime/session contracts, and delegated review is requested only when explicitly asked for build/fix/review work.
|
package/docs/getting-started.md
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
# Getting Started
|
|
2
2
|
|
|
3
|
-
GoodVibes Agent is the installable `1.0.x` personal operator assistant
|
|
3
|
+
GoodVibes Agent is the installable `1.0.x` personal operator assistant TUI for GoodVibes.
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
6
|
|
|
7
|
-
- Bun `1.3.10` or newer
|
|
8
|
-
- A connected GoodVibes host compatible with `@pellux/goodvibes-sdk@0.33.
|
|
9
|
-
-
|
|
7
|
+
- Bun `1.3.10` or newer.
|
|
8
|
+
- A connected GoodVibes host compatible with the exact `@pellux/goodvibes-sdk@0.33.36` pin in `package.json`.
|
|
9
|
+
- Connected-host token/config state accepted by that host.
|
|
10
10
|
|
|
11
|
-
Agent does not launch the connected host
|
|
12
|
-
|
|
13
|
-
Use the interactive TUI first. CLI subcommands are secondary support paths for install checks, setup inspection, and scriptable mirrors of workflows that are already reachable from the workspace.
|
|
11
|
+
Agent does not launch or manage the connected host.
|
|
14
12
|
|
|
15
13
|
## Install From Package
|
|
16
14
|
|
|
@@ -20,13 +18,15 @@ goodvibes-agent --help
|
|
|
20
18
|
goodvibes-agent
|
|
21
19
|
```
|
|
22
20
|
|
|
23
|
-
If
|
|
21
|
+
If `goodvibes-agent` is not on `PATH`:
|
|
24
22
|
|
|
25
23
|
```sh
|
|
26
24
|
export PATH="$(bun pm bin -g):$PATH"
|
|
27
25
|
goodvibes-agent --help
|
|
28
26
|
```
|
|
29
27
|
|
|
28
|
+
`goodvibes-agent` starts the interactive TUI. On a fresh Agent home, setup opens first. After setup is applied, the TUI opens directly into the Agent workspace.
|
|
29
|
+
|
|
30
30
|
## Run From Source
|
|
31
31
|
|
|
32
32
|
```sh
|
|
@@ -36,110 +36,131 @@ bun install
|
|
|
36
36
|
bun run dev
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
`goodvibes-agent` starts the interactive Agent TUI. On a fresh Agent home, the TUI opens Agent setup first.
|
|
42
|
-
|
|
43
|
-
After setup has been applied once, the TUI opens directly into the Agent operator workspace. You can also reopen it with `/agent`, `/home`, or `/operator`. That fullscreen workspace is the current front door for setup/config, conversation/session controls, provider/model selection, read-only web research, Agent Knowledge, local memory/notes/skills/routines/personas, channel readiness, voice/media setup, read-only work/approval/automation views, and explicit GoodVibes TUI build delegation.
|
|
44
|
-
|
|
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.
|
|
39
|
+
## First Run
|
|
46
40
|
|
|
47
|
-
|
|
41
|
+
Use the interactive workspace first. CLI subcommands are secondary support paths for install checks, setup inspection, and scriptable mirrors.
|
|
48
42
|
|
|
49
|
-
|
|
43
|
+
Primary first-run areas:
|
|
50
44
|
|
|
51
|
-
|
|
45
|
+
- Setup: provider/model, connected-host compatibility, Agent Knowledge readiness, profiles, support bundles, subscriptions, and auth review.
|
|
46
|
+
- Home: normal chat, operator briefing, model selection, and health.
|
|
47
|
+
- Knowledge: isolated Agent Knowledge status, ask/search, inspection, and confirmed ingest.
|
|
48
|
+
- Memory & Skills: local memory, notes, personas, skills, routines, and learned behavior capture.
|
|
49
|
+
- Channels: companion pairing, channel readiness, notification targets, and confirmed sends.
|
|
50
|
+
- Voice & Media: TTS setup, image input, and confirmed generated media.
|
|
51
|
+
- Work & Automation: work-plan tracking, approvals, schedules, reminders, and explicit operator actions.
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
Press `/` inside the Agent workspace to search actions by name, category, command, or detail.
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
## Model Access
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
The main Agent model can use the same user-facing harness through Agent-owned tools. Use `agent_harness mode:"summary"` for a compact map, then drill into plural catalogs or single-item inspect modes.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Default discovery is intentionally compact:
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
- plural modes return ids, labels, counts, safe state, and route hints;
|
|
62
|
+
- singular modes return detailed policy and lookup metadata;
|
|
63
|
+
- `includeParameters:true` adds schemas, editor fields, model routes, parameter hints, release artifact data, redacted log tail, and detail that would be too large for normal discovery.
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
Common model routes:
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
| Need | Tool Or Mode |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| Workspace actions | `agent_harness workspace_actions`, `workspace_action`, `run_workspace_action` |
|
|
70
|
+
| Slash commands | `agent_harness commands`, `command`, `run_command` |
|
|
71
|
+
| Settings | `agent_harness settings`, `get_setting`, `set_setting`, `reset_setting` |
|
|
72
|
+
| Visible UI | `agent_harness panels`, `ui_surfaces`, `open_panel`, `open_ui_surface` |
|
|
73
|
+
| Keybindings | `agent_harness shortcuts`, `keybindings`, `keybinding`, `run_keybinding`, `set_keybinding` |
|
|
74
|
+
| Agent Knowledge | `agent_knowledge`, `agent_knowledge_ingest` |
|
|
75
|
+
| Local memory/notes/personas/skills/routines | `agent_local_registry` or confirmed workspace actions |
|
|
76
|
+
| Work plan | `agent_work_plan` |
|
|
77
|
+
| Channels, notifications, reminders, media | `agent_channel_send`, `agent_notify`, `agent_reminder_schedule`, `agent_media_generate` |
|
|
78
|
+
| Operator state/actions | `agent_operator_briefing`, `agent_operator_action`, `operator_methods` |
|
|
79
|
+
| Connected host/daemon posture | `service_posture`, `connected_host`, `connected_host_status`, `daemon`, `daemon_status` |
|
|
71
80
|
|
|
72
|
-
|
|
81
|
+
All effects require explicit user request and confirmation. Ambiguous lookup is refused with candidates.
|
|
73
82
|
|
|
74
83
|
## Isolated Agent Profiles
|
|
75
84
|
|
|
76
|
-
Use a separate Agent home
|
|
85
|
+
Use a separate Agent home for isolated local state:
|
|
77
86
|
|
|
78
87
|
```sh
|
|
79
88
|
GOODVIBES_AGENT_HOME=/path/to/agent-home goodvibes-agent
|
|
80
89
|
```
|
|
81
90
|
|
|
82
|
-
Use named Agent profiles
|
|
83
|
-
|
|
84
|
-
Scriptable equivalents for automation and setup scripts:
|
|
91
|
+
Use named Agent profiles from Agent Workspace -> Profiles. Scriptable equivalents:
|
|
85
92
|
|
|
86
93
|
```sh
|
|
87
94
|
goodvibes-agent profiles templates
|
|
88
95
|
goodvibes-agent profiles create household --template household --yes
|
|
89
96
|
goodvibes-agent profiles use household --yes
|
|
90
|
-
goodvibes-agent
|
|
97
|
+
goodvibes-agent --agent-profile household
|
|
91
98
|
goodvibes-agent profiles templates export research ./research-starter.json --yes
|
|
92
99
|
goodvibes-agent profiles templates import ./research-starter.json --yes
|
|
93
|
-
goodvibes-agent --agent-profile household status
|
|
94
|
-
goodvibes-agent --agent-profile household
|
|
95
100
|
```
|
|
96
101
|
|
|
97
|
-
Named profiles isolate Agent-local config, sessions, memory, notes, personas, skills, routines, and setup state
|
|
102
|
+
Named profiles isolate Agent-local config, sessions, memory, notes, personas, skills, routines, and setup state. They do not start or isolate the connected host.
|
|
98
103
|
|
|
99
|
-
## Local
|
|
104
|
+
## Local Behavior
|
|
100
105
|
|
|
101
|
-
Memory, notes, personas, routines, and
|
|
106
|
+
Memory, notes, personas, routines, and Agent skills are local to GoodVibes Agent. They do not write into default knowledge or other product segments.
|
|
102
107
|
|
|
103
|
-
Use
|
|
108
|
+
Use the workspace first:
|
|
104
109
|
|
|
105
|
-
|
|
110
|
+
- Memory & Skills -> Create memory, Create note, or Capture learned behavior.
|
|
111
|
+
- Notes -> Create notes for source triage, temporary decisions, and operator handoff.
|
|
112
|
+
- Personas -> Create, inspect, activate, review, stale, or delete.
|
|
113
|
+
- Skills -> Create, enable/disable, review, bundle, or delete.
|
|
114
|
+
- Routines -> Create, start in chat, review receipts, or explicitly promote to a connected schedule.
|
|
115
|
+
- Work -> Add work item, review work plan, and update status.
|
|
116
|
+
|
|
117
|
+
Starting a routine records local usage and prints its steps in the main conversation. It does not start background automation. Promotion to a connected schedule is separate, explicit, confirmation-gated, and keeps Agent Knowledge isolated.
|
|
118
|
+
|
|
119
|
+
## Knowledge And Artifacts
|
|
106
120
|
|
|
107
|
-
Use Agent Workspace ->
|
|
121
|
+
Use Agent Workspace -> Knowledge for source-backed Agent Knowledge. The valid route family is:
|
|
122
|
+
|
|
123
|
+
```text
|
|
124
|
+
/api/goodvibes-agent/knowledge/*
|
|
125
|
+
```
|
|
108
126
|
|
|
109
|
-
|
|
127
|
+
Agent commands fail closed if the route is unavailable or a successful-looking response exposes default-scope metadata.
|
|
110
128
|
|
|
111
|
-
|
|
112
|
-
- Routines -> Create routine, Start selected, or Promote to schedule after entering real timing and confirmation.
|
|
113
|
-
- Skills -> Create skill, Enable selected, and review setup requirements.
|
|
114
|
-
- Memory & Skills -> Create memory, Create note, or Search memory.
|
|
115
|
-
- Channels -> inspect readiness, send one explicit channel delivery message, add notification targets, and send notification messages only through confirmed actions.
|
|
129
|
+
Use Agent Workspace -> Research for read-only web research and URL inspection. Research requests do not ingest sources. Use confirmed Agent Knowledge ingest actions when a reviewed source should become durable.
|
|
116
130
|
|
|
117
|
-
|
|
131
|
+
Use the Artifacts area and Voice & Media workspace for images, source files, generated media, and exported sessions. Generated media returns artifact ids and metadata, not inline base64.
|
|
118
132
|
|
|
119
|
-
|
|
133
|
+
## Connected Host
|
|
120
134
|
|
|
121
|
-
|
|
135
|
+
Start the owning GoodVibes host before using connected features. Agent expects:
|
|
122
136
|
|
|
123
|
-
|
|
137
|
+
```text
|
|
138
|
+
http://127.0.0.1:3421
|
|
139
|
+
```
|
|
124
140
|
|
|
125
|
-
|
|
141
|
+
Override for one launch:
|
|
126
142
|
|
|
127
|
-
|
|
143
|
+
```sh
|
|
144
|
+
goodvibes-agent --runtime-url http://host:port
|
|
145
|
+
```
|
|
128
146
|
|
|
129
|
-
|
|
147
|
+
Persistent shell/session override:
|
|
130
148
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
- `/api/goodvibes-agent/knowledge/search`
|
|
135
|
-
- `/api/goodvibes-agent/knowledge/ingest/url`
|
|
149
|
+
```sh
|
|
150
|
+
export GOODVIBES_AGENT_RUNTIME_URL=http://host:port
|
|
151
|
+
```
|
|
136
152
|
|
|
137
|
-
|
|
153
|
+
Host diagnostics:
|
|
138
154
|
|
|
139
|
-
|
|
155
|
+
- Agent Workspace -> Home -> Host compatibility
|
|
156
|
+
- Agent Workspace -> Home -> Doctor diagnostics
|
|
157
|
+
- Agent Workspace -> Home -> Review health
|
|
158
|
+
- `goodvibes-agent status --json`
|
|
159
|
+
- `goodvibes-agent doctor`
|
|
160
|
+
- `goodvibes-agent compat`
|
|
140
161
|
|
|
141
|
-
|
|
162
|
+
Model-visible diagnostics are `service_posture`, `service_endpoint`, `connected_host`, `connected_host_status`, `connected_host_capability`, `daemon`, and `daemon_status`. These are read-only and do not expose host lifecycle control.
|
|
142
163
|
|
|
143
164
|
## Current Product Notes
|
|
144
165
|
|
|
145
|
-
Agent uses the
|
|
166
|
+
Agent uses the GoodVibes terminal shell, renderer, input, fullscreen workspace, command registry, and release foundation. The active policy is serial/proactive by default, blocks hidden Agent-owned job fanout, and delegates explicit build/fix/review work to GoodVibes TUI instead of turning Agent into a coding TUI.
|
|
@@ -26,10 +26,16 @@ GET /api/goodvibes-agent/knowledge/sources
|
|
|
26
26
|
GET /api/goodvibes-agent/knowledge/nodes
|
|
27
27
|
GET /api/goodvibes-agent/knowledge/issues
|
|
28
28
|
GET /api/goodvibes-agent/knowledge/items/{id}
|
|
29
|
+
GET /api/goodvibes-agent/knowledge/map
|
|
29
30
|
GET /api/goodvibes-agent/knowledge/connectors
|
|
31
|
+
GET /api/goodvibes-agent/knowledge/connectors/{id}
|
|
32
|
+
GET /api/goodvibes-agent/knowledge/connectors/{id}/doctor
|
|
30
33
|
POST /api/goodvibes-agent/knowledge/ingest/url
|
|
31
34
|
POST /api/goodvibes-agent/knowledge/ingest/urls
|
|
35
|
+
POST /api/goodvibes-agent/knowledge/ingest/artifact
|
|
32
36
|
POST /api/goodvibes-agent/knowledge/ingest/bookmarks
|
|
37
|
+
POST /api/goodvibes-agent/knowledge/ingest/browser-history
|
|
38
|
+
POST /api/goodvibes-agent/knowledge/ingest/connector
|
|
33
39
|
POST /api/goodvibes-agent/knowledge/reindex
|
|
34
40
|
```
|
|
35
41
|
|
|
@@ -37,7 +43,9 @@ If those routes are unavailable, Agent commands fail closed with a structured er
|
|
|
37
43
|
|
|
38
44
|
The CLI and slash-command layers reject route-selection flags such as `--space`, `--knowledge-space`, `--knowledge-space-id`, and `--include-all-spaces` because those would violate the Agent product boundary.
|
|
39
45
|
|
|
40
|
-
|
|
46
|
+
Successful route responses are validated before rendering. If a connected host response exposes default-scope metadata or carries known non-Agent payload markers, Agent returns a `scope_contamination` error instead of treating that payload as isolated Agent Knowledge.
|
|
47
|
+
|
|
48
|
+
Agent Knowledge writes are explicit-user-action paths. Slash commands that ingest, import, review issues, reindex, or run consolidation require `--yes`; ask/search/status/list/get/map/connector paths remain read-only.
|
|
41
49
|
|
|
42
50
|
## Ask And Search
|
|
43
51
|
|
|
@@ -48,9 +56,9 @@ Use Agent Workspace -> Knowledge -> Ask Agent Knowledge for source-backed Agent
|
|
|
48
56
|
- sources, titles, and URLs when returned;
|
|
49
57
|
- facts, gaps, and refinement task ids only when the Agent Knowledge route returns them.
|
|
50
58
|
|
|
51
|
-
`--json` preserves the raw structured Agent route response for tooling.
|
|
59
|
+
`--json` preserves the raw structured Agent route response for tooling after the scope-contamination guard accepts the payload.
|
|
52
60
|
|
|
53
|
-
The command layer does not turn search results into an answer locally and does not apply client-side filters to hide contamination.
|
|
61
|
+
The command layer does not turn search results into an answer locally and does not apply client-side filters to hide contamination. It rejects contaminated payloads; the connected host must still return Agent-owned data for the route to succeed.
|
|
54
62
|
|
|
55
63
|
Use Agent Workspace -> Knowledge -> Search Agent Knowledge for interactive search. `/knowledge search <query>` and `goodvibes-agent search <query>` query the isolated Agent Knowledge search route and render bounded results with title, id, type, score, source, URL, and snippets when available. Empty Agent stores return an explicit empty state.
|
|
56
64
|
|
|
@@ -60,8 +68,12 @@ Read-only inspection is available from the TUI Knowledge workspace first, with C
|
|
|
60
68
|
- `/knowledge list --kind sources|nodes|issues`
|
|
61
69
|
- `/knowledge get <id>`
|
|
62
70
|
- `/knowledge connectors`
|
|
71
|
+
- `/knowledge connector <connector-id>`
|
|
72
|
+
- `/knowledge connector-doctor <connector-id>`
|
|
63
73
|
- `/knowledge map`
|
|
64
74
|
|
|
75
|
+
The main assistant conversation can use the read-only `agent_knowledge` tool for the same isolated status, ask, search, source/node/issue list, item lookup, map, connector list, connector detail, and connector doctor workflows.
|
|
76
|
+
|
|
65
77
|
## Ingest
|
|
66
78
|
|
|
67
79
|
Use Agent Workspace -> Knowledge for URL, URL-list, file, bookmark, browser-history, connector ingest, and reindex forms. The main assistant conversation can also call the confirmed `agent_knowledge_ingest` tool for the same isolated source families. `/knowledge ingest-url <url> --yes` and `goodvibes-agent knowledge ingest-url <url> --yes` ingest URL sources into Agent Knowledge only.
|
|
@@ -82,7 +94,7 @@ Artifacts are first-class runtime objects for files, images, audio, video, gener
|
|
|
82
94
|
|
|
83
95
|
Agent Workspace -> Voice & Media -> Generate media creates image/video artifacts through configured media providers after typed confirmation. The main conversation can perform the same confirmed action with the `agent_media_generate` tool when the user explicitly asks for generated media. Generated media output is summarized as artifact ids, MIME types, filenames, and source URLs when present; inline base64 is not printed into the transcript.
|
|
84
96
|
|
|
85
|
-
The model can
|
|
97
|
+
The model can use first-class tools for the common Knowledge and media workflows: `agent_knowledge`, `agent_knowledge_ingest`, and `agent_media_generate`. `agent_harness` adds workspace-action lookup/execution, `media_posture`/`media_provider` readiness, `sessions`/`session` bookmark and artifact posture, and confirmed slash-command mirrors when a visible workspace route maps to a concrete command.
|
|
86
98
|
|
|
87
99
|
Multimodal outputs should stay in the conversation, artifacts, local notes or memory, or explicit delegation results unless the user explicitly ingests a reviewed source through an Agent Knowledge route. They must not be inserted into default knowledge.
|
|
88
100
|
|
package/docs/project-planning.md
CHANGED
|
@@ -19,7 +19,7 @@ The SDK/runtime owns durable storage and route contracts:
|
|
|
19
19
|
- readiness evaluation and next-question hints;
|
|
20
20
|
- decision records;
|
|
21
21
|
- task, dependency, verification, and assignment metadata;
|
|
22
|
-
-
|
|
22
|
+
- read-only public operator methods.
|
|
23
23
|
|
|
24
24
|
Other surfaces can store or inspect planning artifacts, but conversation control stays in Agent. Agent planning state is not default knowledge, another product segment, or arbitrary knowledge data.
|
|
25
25
|
|
|
@@ -70,7 +70,7 @@ The work-plan tracker is for concrete, durable task state after work becomes act
|
|
|
70
70
|
|
|
71
71
|
Use `/workplan` when the work already has tasks and needs status tracking. Use `/delegate` when explicit build/fix/review work should go to GoodVibes TUI.
|
|
72
72
|
|
|
73
|
-
The model can keep the same visible work plan current with `agent_work_plan`. It can also
|
|
73
|
+
The model can keep the same visible work plan current with `agent_work_plan`. It can also inspect planning/work-plan visibility through `agent_harness` workspace and panel metadata, and inspect explicit build-delegation posture with `delegation_posture`/`delegation_route`; destructive work-plan changes and delegated submissions still require explicit user request and confirmation.
|
|
74
74
|
|
|
75
75
|
## Agent Knowledge Boundary
|
|
76
76
|
|
|
@@ -11,7 +11,8 @@ Provider and model state should be visible in:
|
|
|
11
11
|
- `/model` and `/provider`;
|
|
12
12
|
- the Agent operator workspace setup checklist;
|
|
13
13
|
- the TTS configuration workspace when spoken turns are used.
|
|
14
|
-
- `agent_harness`
|
|
14
|
+
- `agent_harness` modes `model_routing` and `model_route` when the model needs read-only provider/model route posture, selectable model metadata, pinned model status, reasoning support, context-window posture, and safe setting keys. `model_routing` is compact by default; use `includeParameters:true` or `model_route` for full capabilities and route-change hints.
|
|
15
|
+
- `agent_harness` modes `provider_accounts` and `provider_account` when the model needs read-only provider auth route posture, subscription freshness, usage windows, route issues, and repair guidance without tokens or authorization codes. `provider_accounts` is compact by default; use `includeParameters:true` or `provider_account` for route records, usage windows, issues, notes, and auth-flow hints.
|
|
15
16
|
|
|
16
17
|
When a selected model is provider-qualified, Agent keeps the runtime provider row and raw model id separate. For example, `openai-subscriber` plus `openai:gpt-5.5` should route as provider `openai-subscriber` and model `gpt-5.5` where the public route expects provider/model fields.
|
|
17
18
|
|
|
@@ -40,7 +41,7 @@ Search, voice, media, and multimodal providers are valid Agent features when the
|
|
|
40
41
|
|
|
41
42
|
Outputs that should become durable knowledge must go through Agent Knowledge routes. No provider output should be inserted into default knowledge or another product segment by Agent.
|
|
42
43
|
|
|
43
|
-
Setting changes are available to the model through `agent_harness` only when the user explicitly asks. Secret-backed provider or channel values are stored through the secret manager and displayed as redacted references.
|
|
44
|
+
Setting discovery is compact by default and full with `includeParameters:true` or `get_setting`. Setting changes are available to the model through `agent_harness` only when the user explicitly asks. `model_routing` is read-only; model/provider selection, catalog refresh, pin/unpin, custom provider edits, and route setting changes stay visible picker, settings, workspace, or slash-command flows. Secret-backed provider or channel values are stored through the secret manager and displayed as redacted references.
|
|
44
45
|
|
|
45
46
|
## Related Docs
|
|
46
47
|
|