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
7 changes: 5 additions & 2 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 @@ -2181,7 +2181,10 @@ 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(/^-+/, "");
// Hash the project directory the same way Claude Code does: replace path separators
// and colons with dashes, preserving any leading dash (POSIX absolute paths produce
// a leading "-home-..." form, and CC keeps the leading dash in ~/.claude/projects/).
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