@ouro.bot/cli 0.1.0-alpha.81 → 0.1.0-alpha.82
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.json +6 -0
- package/dist/heart/daemon/daemon-cli.js +22 -0
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
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.82",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Fix: Wire default implementations for CLI update flow. `ouro up` now actually checks the npm registry for newer versions, installs them, and re-execs. Previously the update check deps were declared but never wired in createDefaultOuroCliDeps. Also wires rollback and versions command defaults."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.81",
|
|
6
12
|
"changes": [
|
|
@@ -1368,6 +1368,28 @@ function createDefaultOuroCliDeps(socketPath = socket_client_1.DEFAULT_DAEMON_SO
|
|
|
1368
1368
|
(0, ouro_version_manager_1.activateVersion)(version, {});
|
|
1369
1369
|
},
|
|
1370
1370
|
/* v8 ignore stop */
|
|
1371
|
+
/* v8 ignore start -- CLI version management defaults: integration code @preserve */
|
|
1372
|
+
checkForCliUpdate: async () => {
|
|
1373
|
+
const { checkForUpdate } = await Promise.resolve().then(() => __importStar(require("./update-checker")));
|
|
1374
|
+
return checkForUpdate((0, bundle_manifest_1.getPackageVersion)(), {
|
|
1375
|
+
fetchRegistryJson: async () => {
|
|
1376
|
+
const res = await fetch("https://registry.npmjs.org/@ouro.bot/cli");
|
|
1377
|
+
return res.json();
|
|
1378
|
+
},
|
|
1379
|
+
distTag: "alpha",
|
|
1380
|
+
});
|
|
1381
|
+
},
|
|
1382
|
+
installCliVersion: async (version) => { (0, ouro_version_manager_1.installVersion)(version, {}); },
|
|
1383
|
+
activateCliVersion: (version) => { (0, ouro_version_manager_1.activateVersion)(version, {}); },
|
|
1384
|
+
getCurrentCliVersion: () => (0, ouro_version_manager_1.getCurrentVersion)({}),
|
|
1385
|
+
getPreviousCliVersion: () => (0, ouro_version_manager_1.getPreviousVersion)({}),
|
|
1386
|
+
listCliVersions: () => (0, ouro_version_manager_1.listInstalledVersions)({}),
|
|
1387
|
+
reExecFromNewVersion: (reArgs) => {
|
|
1388
|
+
const entry = path.join((0, ouro_version_manager_1.getOuroCliHome)(), "CurrentVersion", "node_modules", "@ouro.bot", "cli", "dist", "heart", "daemon", "ouro-entry.js");
|
|
1389
|
+
require("child_process").execFileSync("node", [entry, ...reArgs], { stdio: "inherit" });
|
|
1390
|
+
process.exit(0);
|
|
1391
|
+
},
|
|
1392
|
+
/* v8 ignore stop */
|
|
1371
1393
|
syncGlobalOuroBotWrapper: ouro_bot_global_installer_1.syncGlobalOuroBotWrapper,
|
|
1372
1394
|
ensureSkillManagement: skill_management_installer_1.ensureSkillManagement,
|
|
1373
1395
|
ensureDaemonBootPersistence: defaultEnsureDaemonBootPersistence,
|