claude-code-swarm 0.3.17 → 0.3.18
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-swarm",
|
|
3
3
|
"description": "Spin up Claude Code agent teams from openteams YAML topologies with optional MAP (Multi-Agent Protocol) observability and coordination. Provides hooks for session lifecycle, agent spawn/complete tracking, and a /swarm skill to launch team configurations.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.18",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "alexngai"
|
|
7
7
|
},
|
package/package.json
CHANGED
package/scripts/map-sidecar.mjs
CHANGED
|
@@ -523,8 +523,6 @@ async function main() {
|
|
|
523
523
|
if (sidecarConfig.minimem?.enabled) {
|
|
524
524
|
const minimemDir = sidecarConfig.minimem?.dir || ".swarm/minimem";
|
|
525
525
|
const memWatcher = startMemoryWatcher(minimemDir, (_event) => {
|
|
526
|
-
// Send bridge-memory-sync through the command handler
|
|
527
|
-
// This reuses the same callExtension path as the PostToolUse hook
|
|
528
526
|
const fakeClient = {
|
|
529
527
|
write: () => {},
|
|
530
528
|
writable: true,
|
|
@@ -533,6 +531,7 @@ async function main() {
|
|
|
533
531
|
action: "bridge-memory-sync",
|
|
534
532
|
agentId: SESSION_ID || "minimem",
|
|
535
533
|
timestamp: new Date().toISOString(),
|
|
534
|
+
memoryDir: minimemDir,
|
|
536
535
|
}, fakeClient);
|
|
537
536
|
});
|
|
538
537
|
|
package/src/sidecar-server.mjs
CHANGED
|
@@ -396,13 +396,13 @@ export function createCommandHandler(connection, scope, registeredAgents, opts =
|
|
|
396
396
|
const c = conn || await waitForConn();
|
|
397
397
|
if (c) {
|
|
398
398
|
try {
|
|
399
|
-
// Use callExtension for JSON-RPC vendor-prefixed method
|
|
400
|
-
// Same pattern as trajectory/checkpoint
|
|
401
399
|
const params = {
|
|
402
400
|
resource_id: _memoryResourceId || "",
|
|
403
401
|
agent_id: command.agentId || "minimem",
|
|
404
402
|
commit_hash: `memory-${Date.now()}`,
|
|
405
403
|
timestamp: command.timestamp || new Date().toISOString(),
|
|
404
|
+
// Include the memory directory path for resource resolution on first call
|
|
405
|
+
path: command.memoryDir || "",
|
|
406
406
|
};
|
|
407
407
|
const result = await c.callExtension("x-openhive/memory.sync", params);
|
|
408
408
|
// Cache resource_id from server response
|