@ouro.bot/cli 0.1.0-alpha.537 → 0.1.0-alpha.539
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
CHANGED
|
@@ -6,7 +6,7 @@ Ouroboros is a TypeScript harness for daemon-managed agents that live in externa
|
|
|
6
6
|
|
|
7
7
|
## What The Runtime Looks Like
|
|
8
8
|
|
|
9
|
-
- `npx ouro.bot@
|
|
9
|
+
- `npx ouro.bot@latest` is the supported bootstrap path.
|
|
10
10
|
- `ouro` is the installed day-to-day command.
|
|
11
11
|
- `ouro up` starts the daemon from the installed production version, syncs the launcher, installs workflow helpers, and reconciles stale runtime state.
|
|
12
12
|
- `ouro dev` starts the daemon from a local repo build. It auto-builds from source, disables launchd auto-restart (so the installed daemon doesn't respawn underneath you), persists the repo path in `~/.ouro-cli/dev-config.json` for next time, and force-restarts the daemon. If you run `ouro dev` from inside the repo, it detects the CWD automatically. Run `ouro up` to return to production mode (this also cleans up `dev-config.json`).
|
|
@@ -144,15 +144,15 @@ For a clean smoke test, run from outside the repo:
|
|
|
144
144
|
|
|
145
145
|
```bash
|
|
146
146
|
cd ~
|
|
147
|
-
npx ouro.bot@
|
|
148
|
-
npx ouro.bot@
|
|
147
|
+
npx ouro.bot@latest -v
|
|
148
|
+
npx ouro.bot@latest up
|
|
149
149
|
ouro -v
|
|
150
150
|
ouro status
|
|
151
151
|
```
|
|
152
152
|
|
|
153
153
|
Expected shape:
|
|
154
154
|
|
|
155
|
-
- `npx ouro.bot@
|
|
155
|
+
- `npx ouro.bot@latest` and `ouro` report the same version.
|
|
156
156
|
- `ouro status` shows the daemon overview plus discovered agents, senses, and workers.
|
|
157
157
|
|
|
158
158
|
### Work On The Harness
|
|
@@ -216,7 +216,7 @@ The generic secret primitive is a vault item / credential in the owning agent va
|
|
|
216
216
|
|
|
217
217
|
## Setting Up On Another Machine
|
|
218
218
|
|
|
219
|
-
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@
|
|
219
|
+
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@latest`, open the home deck, choose clone, enter the bundle's git remote URL, unlock the agent vault, refresh/verify credentials, and start with `ouro up`.
|
|
220
220
|
|
|
221
221
|
## The Agent's Inner Life
|
|
222
222
|
|
package/changelog.json
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
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.539",
|
|
6
|
+
"changes": [
|
|
7
|
+
"The trusted-publishing workflow now selects the safe npm dist-tag before publishing instead of relying on post-publish `npm dist-tag add`, which OIDC trusted publishing cannot authenticate.",
|
|
8
|
+
"Prerelease publishes keep using `latest` while `latest` is absent or already prerelease, then move future prereleases back to their prerelease channel after `latest` points at a stable release.",
|
|
9
|
+
"Runtime update checks, version status, and install guidance now use the supported `latest` channel so default npm installs and daemon updates follow the same publish path."
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"version": "0.1.0-alpha.538",
|
|
14
|
+
"changes": [
|
|
15
|
+
"The publish workflow now repairs a stale prerelease-polluted npm `latest` dist-tag to the just-published alpha while leaving future stable `latest` releases untouched.",
|
|
16
|
+
"Adds tested npm dist-tag policy helpers so prerelease publishes continue using `alpha` and default npm installs cannot quietly drift behind the supported alpha channel."
|
|
17
|
+
]
|
|
18
|
+
},
|
|
4
19
|
{
|
|
5
20
|
"version": "0.1.0-alpha.537",
|
|
6
21
|
"changes": [
|
|
@@ -5702,7 +5702,7 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
5702
5702
|
/* v8 ignore next 2 -- unreachable after exec replaces process @preserve */
|
|
5703
5703
|
return "";
|
|
5704
5704
|
}
|
|
5705
|
-
const message = "no installed version found. run: npx ouro.bot@
|
|
5705
|
+
const message = "no installed version found. run: npx ouro.bot@latest";
|
|
5706
5706
|
deps.writeStdout(message);
|
|
5707
5707
|
return message;
|
|
5708
5708
|
}
|
|
@@ -6269,15 +6269,15 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
6269
6269
|
try {
|
|
6270
6270
|
const { result: updateResult, timedOut } = await runCliUpdateCheckWithTimeout(deps.checkForCliUpdate, deps.updateCheckTimeoutMs ?? update_checker_1.CLI_UPDATE_CHECK_TIMEOUT_MS);
|
|
6271
6271
|
if (updateResult.latestVersion) {
|
|
6272
|
-
sections.push(`published
|
|
6272
|
+
sections.push(`published latest: ${updateResult.latestVersion} (${updateResult.available ? "update available" : "up to date"})`);
|
|
6273
6273
|
}
|
|
6274
6274
|
else if (updateResult.error) {
|
|
6275
|
-
sections.push(`published
|
|
6275
|
+
sections.push(`published latest: unavailable (${summarizeCliUpdateCheckStatus(updateResult.error, timedOut)})`);
|
|
6276
6276
|
}
|
|
6277
6277
|
}
|
|
6278
6278
|
catch (err) {
|
|
6279
6279
|
const reason = summarizeCliUpdateCheckStatus(err instanceof Error ? err.message : String(err));
|
|
6280
|
-
sections.push(`published
|
|
6280
|
+
sections.push(`published latest: unavailable (${reason})`);
|
|
6281
6281
|
}
|
|
6282
6282
|
}
|
|
6283
6283
|
const message = ttyBoardEnabled(deps)
|
|
@@ -6291,8 +6291,8 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
6291
6291
|
lines: localSection.split("\n"),
|
|
6292
6292
|
},
|
|
6293
6293
|
{
|
|
6294
|
-
title: "Published
|
|
6295
|
-
lines: sections.slice(1).length > 0 ? sections.slice(1) : ["published
|
|
6294
|
+
title: "Published latest",
|
|
6295
|
+
lines: sections.slice(1).length > 0 ? sections.slice(1) : ["published latest: unavailable"],
|
|
6296
6296
|
},
|
|
6297
6297
|
],
|
|
6298
6298
|
})
|
|
@@ -53,7 +53,7 @@ fi
|
|
|
53
53
|
# Fall back to installed version
|
|
54
54
|
ENTRY="$HOME/.ouro-cli/CurrentVersion/node_modules/@ouro.bot/cli/dist/heart/daemon/ouro-entry.js"
|
|
55
55
|
if [ ! -e "$ENTRY" ]; then
|
|
56
|
-
echo "ouro not installed. Run: npx ouro.bot@
|
|
56
|
+
echo "ouro not installed. Run: npx ouro.bot@latest" >&2
|
|
57
57
|
exit 1
|
|
58
58
|
fi
|
|
59
59
|
exec node "$ENTRY" "$@"
|
|
@@ -41,7 +41,7 @@ const semver = __importStar(require("semver"));
|
|
|
41
41
|
const runtime_1 = require("../../nerves/runtime");
|
|
42
42
|
const DEFAULT_INTERVAL_MS = 30 * 60 * 1000; // 30 minutes
|
|
43
43
|
exports.CLI_UPDATE_CHECK_TIMEOUT_MS = 3_000;
|
|
44
|
-
exports.CLI_UPDATE_DIST_TAG = "
|
|
44
|
+
exports.CLI_UPDATE_DIST_TAG = "latest";
|
|
45
45
|
async function checkForUpdate(currentVersion, deps) {
|
|
46
46
|
(0, runtime_1.emitNervesEvent)({
|
|
47
47
|
component: "daemon",
|