Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/orchestrator/dist/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -24819,7 +24819,7 @@ server.tool("system_status", "Check the health of the orchestrator system: embed
const lines = [];
lines.push("## System Status");
lines.push("");
lines.push(`- **Version**: orchestrator MCP server **0.30.28** (pid ${process.pid})`);
lines.push(`- **Version**: orchestrator MCP server **${PLUGIN_VERSION}** (pid ${process.pid})`);
if (agentChannel) {
lines.push(`- **Agent-channel**: ACTIVE - filewatcher running`);
} else {
Expand Down Expand Up @@ -26044,7 +26044,7 @@ function startAgentChannel() {
`);
return;
}
const projectHash = projectDir.replace(/[\\/:]/g, "-").replace(/^-+/, "");
const projectHash = projectDir.replace(/[\\/:]/g, "-");
const projectsHashDir = join5(homedir2(), ".claude", "projects", projectHash);
const roleEnv = process.env.ORCHESTRATOR_AGENT_ROLE ?? process.env.SPAWNBOX_AGENT_ROLE;
const role = roleEnv === "prime" ? "prime" : "subordinate";
Expand Down
9 changes: 6 additions & 3 deletions plugins/orchestrator/mcp/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ server.tool(
const lines: string[] = [];
lines.push("## System Status");
lines.push("");
lines.push(`- **Version**: orchestrator MCP server **0.30.28** (pid ${process.pid})`);
lines.push(`- **Version**: orchestrator MCP server **${PLUGIN_VERSION}** (pid ${process.pid})`);
if (agentChannel) {
lines.push(`- **Agent-channel**: ACTIVE - filewatcher running`);
} else {
Expand Down Expand Up @@ -2180,8 +2180,11 @@ function startAgentChannel(): void {

// Project hash dir under ~/.claude/projects/. Hash mirrors how Claude Code
// names the per-project directory: replace path separators + drive colons
// with hyphens, leading hyphens trimmed.
const projectHash = projectDir.replace(/[\\/:]/g, "-").replace(/^-+/, "");
// with hyphens. Leading hyphens are preserved — CC retains the leading
// dash that comes from a leading slash on POSIX absolute paths (e.g.
// /home/foo -> -home-foo). Stripping them caused a silent path mismatch
// and broke the JSONL filewatcher entirely (see anti_pattern 6dfc7ae1).
const projectHash = projectDir.replace(/[\\/:]/g, "-");
const projectsHashDir = join(homedir(), ".claude", "projects", projectHash);

// Role/name env vars: ORCHESTRATOR_AGENT_* is the canonical form (set by
Expand Down