agent-relay-orchestrator 0.72.0 → 0.73.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/control.ts +1 -0
- package/src/spawn/command.ts +1 -0
- package/src/spawn/types.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-relay-orchestrator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.73.0",
|
|
4
4
|
"description": "Agent Relay orchestrator — manages agent lifecycle across hosts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test": "bun test"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"agent-relay-sdk": "0.2.
|
|
19
|
+
"agent-relay-sdk": "0.2.48"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/bun": "latest",
|
package/src/control.ts
CHANGED
|
@@ -255,6 +255,7 @@ function spawnOptionsFromRecord(source: Record<string, any>, config: Orchestrato
|
|
|
255
255
|
approvalMode: typeof source.approvalMode === "string" ? source.approvalMode : "guarded",
|
|
256
256
|
prompt: typeof source.prompt === "string" ? source.prompt : undefined,
|
|
257
257
|
systemPromptAppend: typeof source.systemPromptAppend === "string" ? source.systemPromptAppend : undefined,
|
|
258
|
+
relayInjectionEvents: Array.isArray(source.relayInjectionEvents) ? source.relayInjectionEvents : undefined,
|
|
258
259
|
tags: stringArray(source.tags),
|
|
259
260
|
capabilities: stringArray(source.capabilities),
|
|
260
261
|
providerArgs: stringArray(source.providerArgs),
|
package/src/spawn/command.ts
CHANGED
|
@@ -78,6 +78,7 @@ export function buildEnv(opts: SpawnOptions & { label: string; agentId: string }
|
|
|
78
78
|
AGENT_RELAY_APPROVAL: opts.approvalMode || "guarded",
|
|
79
79
|
...(opts.profile ? { AGENT_RELAY_AGENT_PROFILE: opts.profile } : {}),
|
|
80
80
|
...(opts.agentProfile ? { AGENT_RELAY_AGENT_PROFILE_JSON: JSON.stringify(opts.agentProfile) } : {}),
|
|
81
|
+
...(opts.relayInjectionEvents?.length ? { AGENT_RELAY_INJECTION_EVENTS_JSON: JSON.stringify(opts.relayInjectionEvents) } : {}),
|
|
81
82
|
// #330 — tag by TRUE origin. An MCP spawn (an agent spawning a helper) is `agent-spawned`, not
|
|
82
83
|
// `dashboard-spawned`; the old blanket `dashboard-spawned` mislabeled every headless spawn as
|
|
83
84
|
// dashboard-originated. Dashboard/CLI/automation spawns (no `requestedVia: "mcp"`) keep the
|