agent-relay-orchestrator 0.99.1 → 0.101.0
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 +2 -2
- package/src/spawn/supervisor.ts +1 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-relay-orchestrator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.101.0",
|
|
4
4
|
"description": "Agent Relay orchestrator — manages agent lifecycle across hosts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"test": "bun test"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"agent-relay-sdk": "0.2.
|
|
20
|
+
"agent-relay-sdk": "0.2.82"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/bun": "latest",
|
package/src/spawn/supervisor.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { chmodSync, closeSync, existsSync, openSync, readFileSync, rmSync, statS
|
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
import type { OrchestratorConfig } from "../config";
|
|
4
4
|
import type { ManagedSessionExitDiagnostics } from "../relay";
|
|
5
|
-
import { errMessage
|
|
5
|
+
import { errMessage } from "agent-relay-sdk";
|
|
6
6
|
import { isPidAlive } from "agent-relay-sdk/process-utils";
|
|
7
7
|
import { shellEscape } from "agent-relay-sdk/shell-utils";
|
|
8
8
|
import { tmuxHasSession } from "agent-relay-sdk/tmux-utils";
|
|
@@ -172,10 +172,6 @@ function terminationDiagnostics(systemd: ManagedSessionExitDiagnostics["systemd"
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
function describeSessionExit(record: SessionRecord, diagnostics: Omit<ManagedSessionExitDiagnostics, "lastError">): string {
|
|
175
|
-
if (record.provider === "claude") {
|
|
176
|
-
const modelUnavailable = extractClaudeModelUnavailableMessage((diagnostics.logTail ?? []).join("\n"));
|
|
177
|
-
if (modelUnavailable) return modelUnavailable;
|
|
178
|
-
}
|
|
179
175
|
const seconds = Math.max(0, Math.round(diagnostics.runtimeMs / 1000));
|
|
180
176
|
const parts = [`managed ${record.provider} session ${record.name} exited after ${seconds}s`];
|
|
181
177
|
if (diagnostics.systemd?.unavailable) {
|