claudish 14.30.2 → 14.31.0

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 +18 -14
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -5557,7 +5557,7 @@ var init_env_placeholder = __esm(() => {
5557
5557
  });
5558
5558
 
5559
5559
  // src/version.ts
5560
- var VERSION = "14.30.2";
5560
+ var VERSION = "14.31.0";
5561
5561
 
5562
5562
  // src/redact.ts
5563
5563
  function isPlaceholder(value) {
@@ -14141,7 +14141,7 @@ var init_bundled_recommended_list = __esm(() => {
14141
14141
  }
14142
14142
  }
14143
14143
  },
14144
- fetchedAt: "2026-12-01T09:23:35.422Z",
14144
+ fetchedAt: "2026-12-01T09:33:37.583Z",
14145
14145
  format: 1,
14146
14146
  recommendations: {
14147
14147
  contractVersion: 3,
@@ -132868,7 +132868,7 @@ This searched OpenRouter's listing only. Subscription wire ids and catalog alias
132868
132868
  });
132869
132869
  tools.push({
132870
132870
  name: "team",
132871
- description: "Run AI models on a task with anonymized outputs and optional blind judging. Every slot is an interactive Claude Code session in its own headless magmux pane. " + "Modes: 'run' (START the models and return once each has taken its prompt \u2014 it does " + "NOT wait for answers), 'status' (per-slot state; read `run.slots`), 'list' (every run this server holds), 'capture' (one slot's screen), 'resize' (set one slot's terminal size), 'scroll' (scroll one slot's transcript view), 'transcript' (one slot's conversation as text lines), 'cancel' (stop one slot or the whole run), 'judge'(blind-vote on existing outputs), 'run-and-judge' (the blocking pipeline). Poll 'status' (read run.slots) or 'list'. NO SLOT IS EVER KILLED ON A TIMER once its prompt is accepted. A team slot is a full Claude Code session and may work for a long time; a slot inside a build or test suite emits nothing for minutes and is working, not stuck. Judge the silence against the task you set, and use 'cancel' if you decide a slot is wedged. A slot that stops on a question it cannot answer is FAILED 'blocked' (team has no way to answer it). JUDGING A WORKING SLOT: read live_output_bytes_by_slot, idle_seconds_by_slot and activity_by_slot (or each row's idle_seconds and " + "activity). Do NOT use 'outputSize' \u2014 it is the size of the final answer, written " + "only when a slot finishes, so it is 0 for every working slot no matter how much that slot has produced.",
132871
+ description: "Run AI models on a task with anonymized outputs and optional blind judging. Every slot is an interactive Claude Code session in its own headless magmux pane. " + "Modes: 'run' (START the models and return once each has taken its prompt \u2014 it does " + "NOT wait for answers), 'status' (per-slot state; read `run.slots`), 'list' (every run this server holds), 'capture' (one slot's screen), 'resize' (set one slot's terminal size), 'scroll' (scroll one slot's transcript view), 'transcript' (one slot's conversation as text lines), 'cancel' (stop one slot or the whole run), 'judge'(blind-vote on existing outputs), 'run-and-judge' (the blocking pipeline). Poll 'status' (read run.slots) or 'list'. NO SLOT IS EVER KILLED ON A TIMER once its prompt is accepted. A team slot is a full Claude Code session and may work for a long time; a slot inside a build or test suite emits nothing for minutes and is working, not stuck. Judge the silence against the task you set, and use 'cancel' if you decide a slot is wedged. A slot that stops on a question it cannot answer is FAILED 'blocked' (team has no way to answer it). JUDGING A WORKING SLOT: read live_output_bytes_by_slot, idle_seconds_by_slot and activity_by_slot (or each row's idle_seconds and " + "activity). Do NOT use 'outputSize' \u2014 it is the size of the final answer, written " + "only when a slot finishes, so it is 0 for every working slot no matter how much that slot has produced. " + TEAM_CHECKOUT_NOTE,
132872
132872
  inputSchema: {
132873
132873
  type: "object",
132874
132874
  properties: {
@@ -132965,7 +132965,7 @@ This searched OpenRouter's listing only. Subscription wire ids and catalog alias
132965
132965
  },
132966
132966
  require_pattern: {
132967
132967
  type: "string",
132968
- description: "Regex (no flags) the slot's answer MUST match, or the slot ends in state SHAPE_MISMATCH (reason 'shape_mismatch') instead of COMPLETED; its answer is still in response-<slot>.md. A slot with no answer at all is EMPTY. The answer is the turn's assistant text, read from the transcript; for a prompt delivered as a file it starts after the child read that file, so `^` anchors to the answer's start. " + "Strongly recommended whenever your prompt mandates an output shape \u2014 e.g. " + "'```vote' for a voting panel."
132968
+ description: "Regex (no flags) the slot's answer MUST match, or the slot ends in state SHAPE_MISMATCH (reason 'shape_mismatch') instead of COMPLETED; its answer is still in response-<slot>.md. A slot with no answer at all is EMPTY. The answer is the turn's assistant text, read from the transcript; for a prompt delivered as a file it starts after the child read that file, so `^` anchors to the answer's start. " + "Strongly recommended whenever your prompt mandates an output shape \u2014 e.g. " + "'```vote' for a voting panel. " + REQUIRE_PATTERN_EMPHASIS_NOTE
132969
132969
  },
132970
132970
  min_output_bytes: {
132971
132971
  type: "number",
@@ -132978,7 +132978,7 @@ This searched OpenRouter's listing only. Subscription wire ids and catalog alias
132978
132978
  task_type: {
132979
132979
  type: "string",
132980
132980
  pattern: TASK_TYPE_PATTERN.source,
132981
- description: `For 'run', 'judge' and 'run-and-judge': ${TASK_TYPE_DESCRIPTION} Every slot of the run carries it as \`task_type\`, the judge slots too.`
132981
+ description: `For 'run', 'judge' and 'run-and-judge': ${TASK_TYPE_DESCRIPTION} Every slot of the run carries it as \`task_type\`, the judge slots too. ${TEAM_TASK_TYPE_CHECKOUT_NOTE}`
132982
132982
  },
132983
132983
  claude_flags: {
132984
132984
  type: "string",
@@ -133837,6 +133837,13 @@ function resolveToolGroups(mode) {
133837
133837
  return new Set(["low-level", "agentic", "session", "debug"]);
133838
133838
  }
133839
133839
  }
133840
+ function enabledToolDefinitions(sessionManager, nested, enabledGroups) {
133841
+ const nestedNames = NESTED_MCP_TOOL_NAMES;
133842
+ return defineTools(sessionManager, nested).filter((t) => enabledGroups.has(t.group) && (!nested || nestedNames.includes(t.name)));
133843
+ }
133844
+ function listedTool(t) {
133845
+ return { name: t.name, description: t.description, inputSchema: t.inputSchema };
133846
+ }
133840
133847
  function unknownToolModeWarning(mode) {
133841
133848
  if (TOOL_MODES.includes(mode))
133842
133849
  return;
@@ -133885,17 +133892,11 @@ async function main() {
133885
133892
  replays.setViewServices({ feed: viewFeed, claims: viewClaims });
133886
133893
  setViewServices({ feed: viewFeed, claims: viewClaims });
133887
133894
  const progressIntervalMs = resolveProgressIntervalMs();
133888
- const allTools = defineTools(sessionManager, nested);
133889
- const nestedNames = NESTED_MCP_TOOL_NAMES;
133890
- const enabledTools = allTools.filter((t) => enabledGroups.has(t.group) && (!nested || nestedNames.includes(t.name)));
133895
+ const enabledTools = enabledToolDefinitions(sessionManager, nested, enabledGroups);
133891
133896
  const toolMap = new Map(enabledTools.map((t) => [t.name, t]));
133892
133897
  console.error(`[claudish] MCP server started (tools: ${nested ? "nested" : toolMode}, ${enabledTools.length} tools)`);
133893
133898
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
133894
- tools: enabledTools.map((t) => ({
133895
- name: t.name,
133896
- description: t.description,
133897
- inputSchema: t.inputSchema
133898
- }))
133899
+ tools: enabledTools.map(listedTool)
133899
133900
  }));
133900
133901
  server.setRequestHandler(CallToolRequestSchema, async (request, extra) => {
133901
133902
  const { name, arguments: args } = request.params;
@@ -134014,7 +134015,7 @@ Each session is an interactive Claude Code running the model in its own headless
134014
134015
  6. capture_session reads a session's current screen; resize_session sets its terminal size (any time, mid-turn included); scroll_session scrolls the child's transcript view (by rows, or back to the live bottom); transcript_session reads the conversation as text lines (also after the session finished); cancel_session stops it. Nothing stops a session for being idle: a child inside a long build is silent and working.
134015
134016
  7. replay_session opens a finished session's real interface read only; read it with capture_session under its replay_id; close_replay ends it.
134016
134017
 
134017
- The session_id from create_session is the key for every session tool.`, proxyInstance = null, proxyStarting = null, probeProxyStarting = null, SCORE_TIE_EPSILON = 0.000001, NEXT_STEP, TASK_TYPE_PATTERN, TASK_TYPE_DESCRIPTION, KEEP_EFFORT = "default", USER_REQUIRED_MODEL_DESCRIPTION, replays, sanitize2, TOOL_MODES;
134018
+ The session_id from create_session is the key for every session tool.`, proxyInstance = null, proxyStarting = null, probeProxyStarting = null, SCORE_TIE_EPSILON = 0.000001, NEXT_STEP, TASK_TYPE_PATTERN, TASK_TYPE_DESCRIPTION, TEAM_CHECKOUT_NOTE, TEAM_TASK_TYPE_CHECKOUT_NOTE, REQUIRE_PATTERN_EMPHASIS_EXAMPLE = "\\*\\*Verdict(?:\\*\\*:|:\\*\\*)\\s*\\*{0,2}(PASS|CONDITIONAL|FAIL)\\b", REQUIRE_PATTERN_EMPHASIS_NOTE, KEEP_EFFORT = "default", USER_REQUIRED_MODEL_DESCRIPTION, replays, sanitize2, TOOL_MODES;
134018
134019
  var init_mcp_server = __esm(() => {
134019
134020
  init_server2();
134020
134021
  init_stdio2();
@@ -134088,6 +134089,9 @@ var init_mcp_server = __esm(() => {
134088
134089
  };
134089
134090
  TASK_TYPE_PATTERN = /^[a-z][a-z0-9-]{0,23}$/;
134090
134091
  TASK_TYPE_DESCRIPTION = "What kind of work this is, in one short word you choose: research, plan, debug, judge, " + `implement, test, \u2026 (${TASK_TYPE_PATTERN.source}). Shown beside the agent on every row, ` + "live and from the records, so a person can tell runs apart. Omit it when there is none; " + "anything else is refused as invalid_args before anything starts.";
134092
+ TEAM_CHECKOUT_NOTE = "EVERY SLOT RUNS IN YOUR OWN CHECKOUT: the directory this server was started in, one " + "working tree and one git branch shared by all slots and by you. team never creates a " + "git worktree. Slots that edit files or commit (an 'implement' or 'test' run) write " + "over each other and over your uncommitted work, and a slot can report another slot's " + "commit as its own. For separate checkouts, make them yourself: one " + "`git worktree add --detach <dir>` per model, then one create_session per model with " + "that directory as work_dir. create_session is in the session tool group, which the " + "default (CLAUDISH_MCP_TOOLS unset or `all`) includes.";
134093
+ TEAM_TASK_TYPE_CHECKOUT_NOTE = "It is a label only and changes nothing about where a slot runs: an 'implement' or " + "'test' run still puts every slot in your own checkout (see the tool description).";
134094
+ REQUIRE_PATTERN_EMPHASIS_NOTE = "Models often put Markdown emphasis around a mandated word: " + "`\\*\\*Verdict\\*\\*: (PASS|CONDITIONAL|FAIL)` does NOT match the answer " + "`**Verdict**: **FAIL**`, and a valid answer ends SHAPE_MISMATCH. Some models also " + "put the colon inside the bold: `**Verdict:** FAIL`. Allow both forms, and end the " + "word with \\b so FAILURE does not match: " + `\`${REQUIRE_PATTERN_EMPHASIS_EXAMPLE}\`.`;
134091
134095
  USER_REQUIRED_MODEL_DESCRIPTION = "True only when the USER named this exact model: it then runs even when it is not in the " + "recommended list. Never set it for a model you chose yourself.";
134092
134096
  replays = new ReplayManager;
134093
134097
  sanitize2 = sanitizeForReport;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "14.30.2",
3
+ "version": "14.31.0",
4
4
  "description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -74,10 +74,10 @@
74
74
  "ai"
75
75
  ],
76
76
  "optionalDependencies": {
77
- "@claudish/magmux-darwin-arm64": "14.30.2",
78
- "@claudish/magmux-darwin-x64": "14.30.2",
79
- "@claudish/magmux-linux-arm64": "14.30.2",
80
- "@claudish/magmux-linux-x64": "14.30.2"
77
+ "@claudish/magmux-darwin-arm64": "14.31.0",
78
+ "@claudish/magmux-darwin-x64": "14.31.0",
79
+ "@claudish/magmux-linux-arm64": "14.31.0",
80
+ "@claudish/magmux-linux-x64": "14.31.0"
81
81
  },
82
82
  "author": "Jack Rudenko <i@madappgang.com>",
83
83
  "license": "MIT",