@desplega.ai/agent-swarm 1.79.2 → 1.79.3
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/openapi.json +1 -1
- package/package.json +1 -1
- package/src/providers/claude-adapter.ts +10 -0
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Agent Swarm API",
|
|
5
|
-
"version": "1.79.
|
|
5
|
+
"version": "1.79.3",
|
|
6
6
|
"description": "Multi-agent orchestration API for Claude Code, Codex, and Gemini CLI. Enables task distribution, agent communication, and service discovery.\n\nMCP tools are documented separately in [MCP.md](./MCP.md)."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
package/package.json
CHANGED
|
@@ -133,6 +133,9 @@ export async function preseedClaudeTrustDialog(
|
|
|
133
133
|
}
|
|
134
134
|
} catch {
|
|
135
135
|
// missing or malformed — start from {}
|
|
136
|
+
console.warn(
|
|
137
|
+
`\x1b[33m[claude]\x1b[0m Starting with empty .claude.json for trust pre-seed at ${claudeJsonPath}`,
|
|
138
|
+
);
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
const projects = (data.projects ?? {}) as Record<string, Record<string, unknown>>;
|
|
@@ -150,6 +153,9 @@ export async function preseedClaudeTrustDialog(
|
|
|
150
153
|
data.projects = projects;
|
|
151
154
|
|
|
152
155
|
await writeFile(claudeJsonPath, `${JSON.stringify(data, null, 2)}\n`);
|
|
156
|
+
console.log(
|
|
157
|
+
`\x1b[2m[claude]\x1b[0m Pre-seeded trust dialog acceptance for ${cwd} in ${claudeJsonPath}`,
|
|
158
|
+
);
|
|
153
159
|
}
|
|
154
160
|
|
|
155
161
|
/**
|
|
@@ -659,6 +665,10 @@ export class ClaudeAdapter implements ProviderAdapter {
|
|
|
659
665
|
const claudeBinaryArgv = parseClaudeBinary(claudeBinaryRaw);
|
|
660
666
|
const isShannon = claudeBinaryRaw.toLowerCase().includes("shannon");
|
|
661
667
|
|
|
668
|
+
console.log(
|
|
669
|
+
`\x1b[2m[${config.role}]\x1b[0m Resolved CLAUDE_BINARY: ${claudeBinaryArgv.join(" ")} (isShannon: ${isShannon})`,
|
|
670
|
+
);
|
|
671
|
+
|
|
662
672
|
// Fail fast: shannon shells out to tmux. If it's missing, surface a
|
|
663
673
|
// clear error here rather than letting the spawn fail opaquely.
|
|
664
674
|
if (isShannon && !Bun.which("tmux")) {
|