claude-tmux 1.0.14 → 1.0.15

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -113,7 +113,7 @@ Spawn Claude Code instances in tmux sessions for long-running tasks.
113
113
  ## Tips
114
114
  - Verify completion before killing. Idle sessions are fine.`,
115
115
  });
116
- server.tool("spawn", "Launch a new Claude Code instance in a tmux session. Creates an interactive session you can communicate with via send/read. The session runs until killed. Use for multi-turn conversations or tasks requiring steering.", {
116
+ server.tool("spawn", "Start a Claude Code instance in a tmux session.", {
117
117
  name: z.string().min(1).max(50).describe("Unique session name (e.g., 'refactor-auth', 'debug-api')"),
118
118
  prompt: z.string().describe("Initial prompt to send to Claude on startup"),
119
119
  workdir: z.string().describe("Working directory for Claude to operate in"),
@@ -131,7 +131,7 @@ server.tool("spawn", "Launch a new Claude Code instance in a tmux session. Creat
131
131
  runTmux(`send-keys -t "${session}" 'claude --dangerously-skip-permissions "$(cat ${tempFile})" && rm ${tempFile}' Enter`);
132
132
  return response(`Started ${session}`);
133
133
  });
134
- server.tool("read", "Wait for a Claude session to finish working and return the terminal output. You can continue other work while waiting.", {
134
+ server.tool("read", "Wait for a session to finish and return output.", {
135
135
  name: z.string().describe("Session name (as provided to spawn)"),
136
136
  }, async ({ name }) => {
137
137
  const session = sessionName(name);
@@ -141,7 +141,7 @@ server.tool("read", "Wait for a Claude session to finish working and return the
141
141
  const output = await waitForIdle(session);
142
142
  return response(output);
143
143
  });
144
- server.tool("send", "Send a follow-up message to a running Claude session. Use to steer the session mid-task or provide additional instructions. Call read afterwards to get the result.", {
144
+ server.tool("send", "Send a message to a running session.", {
145
145
  name: z.string().describe("Session name (as provided to spawn)"),
146
146
  text: z.string().describe("Message to send to Claude"),
147
147
  }, async ({ name, text }) => {
@@ -163,7 +163,7 @@ server.tool("send", "Send a follow-up message to a running Claude session. Use t
163
163
  return response(`Error: ${errorMessage(e)}`);
164
164
  }
165
165
  });
166
- server.tool("kill", "Terminate a Claude tmux session and clean up resources.", {
166
+ server.tool("kill", "Terminate a session.", {
167
167
  name: z.string().describe("Session name (as provided to spawn)"),
168
168
  }, async ({ name }) => {
169
169
  const session = sessionName(name);
@@ -178,7 +178,7 @@ server.tool("kill", "Terminate a Claude tmux session and clean up resources.", {
178
178
  return response(`Error: ${errorMessage(e)}`);
179
179
  }
180
180
  });
181
- server.tool("list", "List all active Claude tmux sessions.", {}, async () => {
181
+ server.tool("list", "List active sessions.", {}, async () => {
182
182
  const output = runTmuxSafe(`list-sessions -F "#{session_name}"`) ?? "";
183
183
  const sessions = output.split('\n')
184
184
  .filter(s => s.startsWith(SESSION_PREFIX))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-tmux",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "MCP server for orchestrating multiple Claude Code instances via tmux",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",