neurastream 0.1.0 → 0.1.1
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/package.json +21 -21
- package/src/adapters/omp/install.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neurastream",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Harness-agnostic agent orchestration: queue, guards, blockers, scoring, ledger.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,26 +20,26 @@
|
|
|
20
20
|
"LICENSE"
|
|
21
21
|
],
|
|
22
22
|
"bin": {
|
|
23
|
-
"neurastream": "
|
|
24
|
-
"agent-score": "
|
|
25
|
-
"agent-ledger": "
|
|
26
|
-
"brief-lint": "
|
|
27
|
-
"oc-run": "
|
|
28
|
-
"wip-check": "
|
|
29
|
-
"wip-backup": "
|
|
30
|
-
"wip-snapshot": "
|
|
31
|
-
"pm-fail-facts": "
|
|
32
|
-
"main-health": "
|
|
33
|
-
"queue-check": "
|
|
34
|
-
"queue-close": "
|
|
35
|
-
"queue-cancel": "
|
|
36
|
-
"main-start": "
|
|
37
|
-
"machine-guard": "
|
|
38
|
-
"glm-reset": "
|
|
39
|
-
"priority-watch": "
|
|
40
|
-
"resource-alerts": "
|
|
41
|
-
"tmp-snapshot": "
|
|
42
|
-
"heavy-run": "
|
|
23
|
+
"neurastream": "src/cli/main.ts",
|
|
24
|
+
"agent-score": "bin/agent-score",
|
|
25
|
+
"agent-ledger": "bin/agent-ledger",
|
|
26
|
+
"brief-lint": "bin/brief-lint",
|
|
27
|
+
"oc-run": "bin/oc-run",
|
|
28
|
+
"wip-check": "bin/wip-check",
|
|
29
|
+
"wip-backup": "bin/wip-backup",
|
|
30
|
+
"wip-snapshot": "bin/wip-snapshot",
|
|
31
|
+
"pm-fail-facts": "bin/pm-fail-facts",
|
|
32
|
+
"main-health": "bin/main-health",
|
|
33
|
+
"queue-check": "bin/queue-check",
|
|
34
|
+
"queue-close": "bin/queue-close",
|
|
35
|
+
"queue-cancel": "bin/queue-cancel",
|
|
36
|
+
"main-start": "bin/main-start",
|
|
37
|
+
"machine-guard": "bin/machine-guard",
|
|
38
|
+
"glm-reset": "bin/glm-reset",
|
|
39
|
+
"priority-watch": "bin/priority-watch",
|
|
40
|
+
"resource-alerts": "bin/resource-alerts",
|
|
41
|
+
"tmp-snapshot": "bin/tmp-snapshot",
|
|
42
|
+
"heavy-run": "bin/heavy-run"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"typecheck": "tsc --noEmit",
|
|
@@ -99,8 +99,12 @@ function linkPlugin(home: string): string {
|
|
|
99
99
|
env: { ...process.env, HOME: home },
|
|
100
100
|
encoding: "utf8",
|
|
101
101
|
});
|
|
102
|
+
if (r.error) {
|
|
103
|
+
throw new Error("omp not found on PATH: install oh-my-pi (npm i -g @oh-my-pi/pi-coding-agent) and retry", { cause: r.error });
|
|
104
|
+
}
|
|
102
105
|
if (r.status !== 0) {
|
|
103
|
-
|
|
106
|
+
const out = [r.stderr, r.stdout].find(s => typeof s === "string" && s.length > 0) ?? "";
|
|
107
|
+
throw new Error(`omp plugin link failed (exit ${r.status ?? "signal"}): ${out.trim()}`);
|
|
104
108
|
}
|
|
105
109
|
return join(home, ".omp/plugins/node_modules/neurastream");
|
|
106
110
|
}
|