@ouro.bot/cli 0.1.0-alpha.377 → 0.1.0-alpha.378
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/README.md +2 -1
- package/changelog.json +9 -0
- package/dist/heart/daemon/cli-exec.js +4 -4
- package/dist/repertoire/vault-unlock.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@ Ouroboros is a TypeScript harness for daemon-managed agents that live in externa
|
|
|
13
13
|
- Agent bundles live outside the repo at `~/AgentBundles/<agent>.ouro/`.
|
|
14
14
|
- Credentials live in the owning agent's Bitwarden/Vaultwarden vault. Provider credentials use `providers/<provider>`, runtime/sense/integration credentials use `runtime/config`, and travel/tool credentials use ordinary vault credential items.
|
|
15
15
|
- Vault coordinates and local runtime state live in the agent bundle; raw credentials do not.
|
|
16
|
+
- The only Ouro-owned durable credential locations are the bundle and the agent vault. Local unlock material is a machine-local cache, not a credential source of truth.
|
|
16
17
|
- Machine-scoped test and runtime spillover lives under `~/.agentstate/...`.
|
|
17
18
|
|
|
18
19
|
Current first-class senses:
|
|
@@ -195,7 +196,7 @@ ouro hook <event> --agent <name> # fire a lifecycle hook (SessionStart,
|
|
|
195
196
|
|
|
196
197
|
## Setting Up On Another Machine
|
|
197
198
|
|
|
198
|
-
To clone an existing agent onto a new machine (macOS, Linux, or Windows via WSL2), see **[docs/cross-machine-setup.md](docs/cross-machine-setup.md)**. The short version: `npx ouro.bot`, pick "clone", enter the bundle's git remote URL,
|
|
199
|
+
To clone an existing agent onto a new machine (macOS, Linux, or Windows via WSL2), see **[docs/cross-machine-setup.md](docs/cross-machine-setup.md)**. The short version is bundle plus vault: `npx ouro.bot`, pick "clone", enter the bundle's git remote URL, unlock the agent vault, refresh/verify credentials, and start with `ouro up`.
|
|
199
200
|
|
|
200
201
|
## The Agent's Inner Life
|
|
201
202
|
|
package/changelog.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.378",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Existing-agent continuation docs now spell out the bundle plus vault flow: clone the bundle, unlock the agent vault, refresh and verify provider/runtime credentials, then run `ouro up`.",
|
|
8
|
+
"Locked-vault and vault-create guidance no longer names an operator password manager as an Ouro credential location; local unlock material is documented as a machine-local cache, not a source of truth.",
|
|
9
|
+
"`ouro clone` non-interactive next steps now lead with `ouro vault unlock`, `ouro provider refresh`, and `ouro auth verify` instead of stale `ouro auth run` guidance.",
|
|
10
|
+
"`@ouro.bot/cli` and the `ouro.bot` wrapper are version-synced for the existing-bundle vault continuation release."
|
|
11
|
+
]
|
|
12
|
+
},
|
|
4
13
|
{
|
|
5
14
|
"version": "0.1.0-alpha.377",
|
|
6
15
|
"changes": [
|
|
@@ -674,9 +674,9 @@ async function executeVaultCreate(command, deps) {
|
|
|
674
674
|
"",
|
|
675
675
|
`vault unlock secret: ${unlockSecret}`,
|
|
676
676
|
"",
|
|
677
|
-
"
|
|
677
|
+
"Keep this saved outside Ouro now. Another machine cannot unlock the vault without it.",
|
|
678
678
|
]
|
|
679
|
-
: ["
|
|
679
|
+
: ["Keep the vault unlock secret saved outside Ouro. Another machine will need it once."]),
|
|
680
680
|
].join("\n");
|
|
681
681
|
deps.writeStdout(message);
|
|
682
682
|
return message;
|
|
@@ -3140,7 +3140,7 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
3140
3140
|
/* v8 ignore start -- chained command failures: tested via interactive clone test, catch branches are defensive @preserve */
|
|
3141
3141
|
}
|
|
3142
3142
|
catch (e) {
|
|
3143
|
-
deps.writeStdout(`auth setup failed: ${e instanceof Error ? e.message : String(e)}\nYou can retry later with: ouro auth
|
|
3143
|
+
deps.writeStdout(`auth setup failed: ${e instanceof Error ? e.message : String(e)}\nYou can retry later with: ouro auth --agent ${agentName}`);
|
|
3144
3144
|
}
|
|
3145
3145
|
/* v8 ignore stop */
|
|
3146
3146
|
}
|
|
@@ -3172,7 +3172,7 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
3172
3172
|
}
|
|
3173
3173
|
}
|
|
3174
3174
|
else {
|
|
3175
|
-
deps.writeStdout(`\nnext steps:\n ouro auth
|
|
3175
|
+
deps.writeStdout(`\nnext steps:\n ouro vault unlock --agent ${agentName}\n ouro provider refresh --agent ${agentName}\n ouro auth verify --agent ${agentName}\n ouro up\n ouro setup --tool claude-code --agent ${agentName}`);
|
|
3176
3176
|
}
|
|
3177
3177
|
/* v8 ignore start -- PATH hint: only fires inside npx, not testable in vitest @preserve */
|
|
3178
3178
|
if (process.env.npm_execpath) {
|
|
@@ -110,7 +110,7 @@ function lockedMessage(config, store) {
|
|
|
110
110
|
"This computer does not currently have usable local unlock material for that vault.",
|
|
111
111
|
"This can happen on a new computer, after a local profile or hostname migration, or if the local unlock entry was removed.",
|
|
112
112
|
"",
|
|
113
|
-
`Run \`${command}\` and enter the vault unlock secret from the operator
|
|
113
|
+
`Run \`${command}\` and enter the saved agent vault unlock secret from the human/operator who controls that vault.`,
|
|
114
114
|
"If nobody saved that unlock secret, Ouro cannot recover it; create or rotate the agent vault and re-enter credentials.",
|
|
115
115
|
].join("\n");
|
|
116
116
|
}
|