@ouro.bot/cli 0.1.0-alpha.650 → 0.1.0-alpha.652
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
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
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.652",
|
|
6
|
+
"changes": [
|
|
7
|
+
"The `ouro.bot` bootstrap wrapper now refuses to downgrade an already-installed newer `~/.ouro-cli/CurrentVersion`, so a stale global wrapper cannot roll the local runtime back after a fresh CI-published update."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.651",
|
|
12
|
+
"changes": [
|
|
13
|
+
"Daemon inter-agent message routing now stores its queue under machine-scoped `~/.ouro-cli/daemon/messages` instead of resolving a no-agent `default.ouro/state/messages` bundle path during daemon startup."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.650",
|
|
6
18
|
"changes": [
|
|
@@ -34,10 +34,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.FileMessageRouter = void 0;
|
|
37
|
+
exports.getDaemonMessageRouterDir = getDaemonMessageRouterDir;
|
|
37
38
|
const fs = __importStar(require("fs"));
|
|
38
39
|
const path = __importStar(require("path"));
|
|
39
40
|
const runtime_1 = require("../../nerves/runtime");
|
|
40
|
-
const
|
|
41
|
+
const ouro_version_manager_1 = require("../versioning/ouro-version-manager");
|
|
42
|
+
function getDaemonMessageRouterDir(homeDir) {
|
|
43
|
+
return path.join((0, ouro_version_manager_1.getOuroCliHome)(homeDir), "daemon", "messages");
|
|
44
|
+
}
|
|
41
45
|
function messageId(nowIso) {
|
|
42
46
|
return `msg-${nowIso.replace(/[^0-9]/g, "")}`;
|
|
43
47
|
}
|
|
@@ -45,7 +49,7 @@ class FileMessageRouter {
|
|
|
45
49
|
baseDir;
|
|
46
50
|
now;
|
|
47
51
|
constructor(options = {}) {
|
|
48
|
-
this.baseDir = options.baseDir ?? (
|
|
52
|
+
this.baseDir = options.baseDir ?? getDaemonMessageRouterDir(options.homeDir);
|
|
49
53
|
this.now = options.now ?? (() => new Date().toISOString());
|
|
50
54
|
fs.mkdirSync(this.baseDir, { recursive: true });
|
|
51
55
|
}
|