claudish 14.30.1 → 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 +106 -101
  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.1";
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-11-30T07:09:14.415Z",
14144
+ fetchedAt: "2026-12-01T09:33:37.583Z",
14145
14145
  format: 1,
14146
14146
  recommendations: {
14147
14147
  contractVersion: 3,
@@ -14247,11 +14247,11 @@ var init_bundled_recommended_list = __esm(() => {
14247
14247
  tier: "luxury"
14248
14248
  }
14249
14249
  ],
14250
- generationId: "g-20261129161514060-092a94cb"
14250
+ generationId: "g-20261130162421869-567d142f"
14251
14251
  },
14252
14252
  source: "https://us-central1-claudish-6da10.cloudfunctions.net"
14253
14253
  },
14254
- catalogGenerationId: "g-20261129161514060-092a94cb",
14254
+ catalogGenerationId: "g-20261130162421869-567d142f",
14255
14255
  entries: [
14256
14256
  {
14257
14257
  aggregators: [
@@ -14825,9 +14825,9 @@ var init_bundled_recommended_list = __esm(() => {
14825
14825
  ],
14826
14826
  aliases: [
14827
14827
  "anthropic/claude-opus-5.5",
14828
- "claude-opus-5-5-low",
14829
14828
  "claude-opus-5-5-high",
14830
14829
  "claude-opus-5-5-medium",
14830
+ "claude-opus-5-5-low",
14831
14831
  "claude-opus-5-5-max",
14832
14832
  "claude-opus-5-5-xhigh"
14833
14833
  ],
@@ -15018,9 +15018,9 @@ var init_bundled_recommended_list = __esm(() => {
15018
15018
  aliases: [
15019
15019
  "anthropic/claude-sonnet-5.5",
15020
15020
  "claude-sonnet-5.5",
15021
+ "claude-sonnet-5-5-high",
15021
15022
  "claude-sonnet-5-5-low",
15022
15023
  "claude-sonnet-5-5-medium",
15023
- "claude-sonnet-5-5-high",
15024
15024
  "claude-sonnet-5-5-max",
15025
15025
  "claude-sonnet-5-5-xhigh"
15026
15026
  ],
@@ -15284,9 +15284,9 @@ var init_bundled_recommended_list = __esm(() => {
15284
15284
  ],
15285
15285
  aliases: [
15286
15286
  "google/gemini-4-carbon",
15287
- "gemini-4-carbon-medium",
15287
+ "gemini-4-carbon-low",
15288
15288
  "gemini-4-carbon-high",
15289
- "gemini-4-carbon-low"
15289
+ "gemini-4-carbon-medium"
15290
15290
  ],
15291
15291
  contextWindow: 1048576,
15292
15292
  contractVersion: 3,
@@ -15439,10 +15439,10 @@ var init_bundled_recommended_list = __esm(() => {
15439
15439
  ],
15440
15440
  aliases: [
15441
15441
  "google/gemini-4-hydrogen",
15442
- "gemini-4-hydrogen-medium",
15443
15442
  "gemini-4-hydrogen-high",
15444
15443
  "gemini-4-hydrogen-xhigh",
15445
- "gemini-4-hydrogen-low"
15444
+ "gemini-4-hydrogen-low",
15445
+ "gemini-4-hydrogen-medium"
15446
15446
  ],
15447
15447
  contextWindow: 1048576,
15448
15448
  contractVersion: 3,
@@ -15594,10 +15594,10 @@ var init_bundled_recommended_list = __esm(() => {
15594
15594
  ],
15595
15595
  aliases: [
15596
15596
  "google/gemini-4-neon",
15597
- "gemini-4-neon-medium",
15598
- "gemini-4-neon-high",
15599
15597
  "gemini-4-neon-xhigh",
15600
- "gemini-4-neon-low"
15598
+ "gemini-4-neon-low",
15599
+ "gemini-4-neon-medium",
15600
+ "gemini-4-neon-high"
15601
15601
  ],
15602
15602
  contextWindow: 1048576,
15603
15603
  contractVersion: 3,
@@ -18215,9 +18215,7 @@ var init_bundled_recommended_list = __esm(() => {
18215
18215
  status: "unknown"
18216
18216
  },
18217
18217
  status: "known",
18218
- tokenParam: {
18219
- status: "unknown"
18220
- },
18218
+ tokenParam: "max_output_tokens",
18221
18219
  toolsWithReasoning: {
18222
18220
  status: "unknown"
18223
18221
  }
@@ -18320,11 +18318,12 @@ var init_bundled_recommended_list = __esm(() => {
18320
18318
  supportsThinking: true,
18321
18319
  supportsTools: true,
18322
18320
  supportsVision: true,
18321
+ tokenParam: "max_output_tokens",
18323
18322
  videoInput: true,
18324
18323
  videoOutput: false
18325
18324
  }
18326
18325
  ],
18327
- lastUpdated: "2026-11-29T16:15:14.060Z",
18326
+ lastUpdated: "2026-11-30T16:24:21.869Z",
18328
18327
  models: [],
18329
18328
  plans: [
18330
18329
  {
@@ -18985,174 +18984,174 @@ var init_bundled_recommended_list = __esm(() => {
18985
18984
  id: "google-antigravity",
18986
18985
  inclusions: [
18987
18986
  {
18988
- externalModelId: "claude-opus-5-5-low",
18987
+ externalModelId: "gemini-4-carbon-low",
18989
18988
  kind: "provider_model",
18990
18989
  provider: "antigravity",
18991
18990
  resolution: {
18992
- modelId: "claude-opus-5-5",
18991
+ modelId: "gemini-4-carbon",
18993
18992
  status: "mapped"
18994
18993
  },
18995
- sourceText: "claude-opus-5-5-low"
18994
+ sourceText: "gemini-4-carbon-low"
18996
18995
  },
18997
18996
  {
18998
- externalModelId: "claude-sonnet-5-5-low",
18997
+ externalModelId: "gemini-4-carbon-high",
18999
18998
  kind: "provider_model",
19000
18999
  provider: "antigravity",
19001
19000
  resolution: {
19002
- modelId: "claude-sonnet-5-5",
19001
+ modelId: "gemini-4-carbon",
19003
19002
  status: "mapped"
19004
19003
  },
19005
- sourceText: "claude-sonnet-5-5-low"
19004
+ sourceText: "gemini-4-carbon-high"
19006
19005
  },
19007
19006
  {
19008
- externalModelId: "claude-opus-5-5-high",
19007
+ externalModelId: "gemini-4-neon-xhigh",
19009
19008
  kind: "provider_model",
19010
19009
  provider: "antigravity",
19011
19010
  resolution: {
19012
- modelId: "claude-opus-5-5",
19011
+ modelId: "gemini-4-neon",
19013
19012
  status: "mapped"
19014
19013
  },
19015
- sourceText: "claude-opus-5-5-high"
19014
+ sourceText: "gemini-4-neon-xhigh"
19016
19015
  },
19017
19016
  {
19018
- externalModelId: "gemini-4-hydrogen-medium",
19017
+ externalModelId: "gemini-4-neon-low",
19019
19018
  kind: "provider_model",
19020
19019
  provider: "antigravity",
19021
19020
  resolution: {
19022
- modelId: "gemini-4-hydrogen",
19021
+ modelId: "gemini-4-neon",
19023
19022
  status: "mapped"
19024
19023
  },
19025
- sourceText: "gemini-4-hydrogen-medium"
19024
+ sourceText: "gemini-4-neon-low"
19026
19025
  },
19027
19026
  {
19028
- externalModelId: "claude-sonnet-5-5-medium",
19027
+ externalModelId: "gemini-4-carbon-medium",
19029
19028
  kind: "provider_model",
19030
19029
  provider: "antigravity",
19031
19030
  resolution: {
19032
- modelId: "claude-sonnet-5-5",
19031
+ modelId: "gemini-4-carbon",
19033
19032
  status: "mapped"
19034
19033
  },
19035
- sourceText: "claude-sonnet-5-5-medium"
19034
+ sourceText: "gemini-4-carbon-medium"
19036
19035
  },
19037
19036
  {
19038
- externalModelId: "claude-sonnet-5-5-high",
19037
+ externalModelId: "claude-opus-5-5-high",
19039
19038
  kind: "provider_model",
19040
19039
  provider: "antigravity",
19041
19040
  resolution: {
19042
- modelId: "claude-sonnet-5-5",
19041
+ modelId: "claude-opus-5-5",
19043
19042
  status: "mapped"
19044
19043
  },
19045
- sourceText: "claude-sonnet-5-5-high"
19044
+ sourceText: "claude-opus-5-5-high"
19046
19045
  },
19047
19046
  {
19048
- externalModelId: "gemini-4-neon-medium",
19047
+ externalModelId: "claude-opus-5-5-medium",
19049
19048
  kind: "provider_model",
19050
19049
  provider: "antigravity",
19051
19050
  resolution: {
19052
- modelId: "gemini-4-neon",
19051
+ modelId: "claude-opus-5-5",
19053
19052
  status: "mapped"
19054
19053
  },
19055
- sourceText: "gemini-4-neon-medium"
19054
+ sourceText: "claude-opus-5-5-medium"
19056
19055
  },
19057
19056
  {
19058
- externalModelId: "claude-opus-5-5-medium",
19057
+ externalModelId: "gemini-4-hydrogen-high",
19059
19058
  kind: "provider_model",
19060
19059
  provider: "antigravity",
19061
19060
  resolution: {
19062
- modelId: "claude-opus-5-5",
19061
+ modelId: "gemini-4-hydrogen",
19063
19062
  status: "mapped"
19064
19063
  },
19065
- sourceText: "claude-opus-5-5-medium"
19064
+ sourceText: "gemini-4-hydrogen-high"
19066
19065
  },
19067
19066
  {
19068
- externalModelId: "gemini-4-carbon-medium",
19067
+ externalModelId: "gemini-4-hydrogen-xhigh",
19069
19068
  kind: "provider_model",
19070
19069
  provider: "antigravity",
19071
19070
  resolution: {
19072
- modelId: "gemini-4-carbon",
19071
+ modelId: "gemini-4-hydrogen",
19073
19072
  status: "mapped"
19074
19073
  },
19075
- sourceText: "gemini-4-carbon-medium"
19074
+ sourceText: "gemini-4-hydrogen-xhigh"
19076
19075
  },
19077
19076
  {
19078
- externalModelId: "gemini-4-neon-high",
19077
+ externalModelId: "claude-sonnet-5-5-high",
19079
19078
  kind: "provider_model",
19080
19079
  provider: "antigravity",
19081
19080
  resolution: {
19082
- modelId: "gemini-4-neon",
19081
+ modelId: "claude-sonnet-5-5",
19083
19082
  status: "mapped"
19084
19083
  },
19085
- sourceText: "gemini-4-neon-high"
19084
+ sourceText: "claude-sonnet-5-5-high"
19086
19085
  },
19087
19086
  {
19088
- externalModelId: "gemini-4-neon-xhigh",
19087
+ externalModelId: "claude-opus-5-5-low",
19089
19088
  kind: "provider_model",
19090
19089
  provider: "antigravity",
19091
19090
  resolution: {
19092
- modelId: "gemini-4-neon",
19091
+ modelId: "claude-opus-5-5",
19093
19092
  status: "mapped"
19094
19093
  },
19095
- sourceText: "gemini-4-neon-xhigh"
19094
+ sourceText: "claude-opus-5-5-low"
19096
19095
  },
19097
19096
  {
19098
- externalModelId: "gemini-4-carbon-high",
19097
+ externalModelId: "gemini-4-neon-medium",
19099
19098
  kind: "provider_model",
19100
19099
  provider: "antigravity",
19101
19100
  resolution: {
19102
- modelId: "gemini-4-carbon",
19101
+ modelId: "gemini-4-neon",
19103
19102
  status: "mapped"
19104
19103
  },
19105
- sourceText: "gemini-4-carbon-high"
19104
+ sourceText: "gemini-4-neon-medium"
19106
19105
  },
19107
19106
  {
19108
- externalModelId: "gemini-4-hydrogen-high",
19107
+ externalModelId: "gemini-4-neon-high",
19109
19108
  kind: "provider_model",
19110
19109
  provider: "antigravity",
19111
19110
  resolution: {
19112
- modelId: "gemini-4-hydrogen",
19111
+ modelId: "gemini-4-neon",
19113
19112
  status: "mapped"
19114
19113
  },
19115
- sourceText: "gemini-4-hydrogen-high"
19114
+ sourceText: "gemini-4-neon-high"
19116
19115
  },
19117
19116
  {
19118
- externalModelId: "gemini-4-carbon-low",
19117
+ externalModelId: "gemini-4-hydrogen-low",
19119
19118
  kind: "provider_model",
19120
19119
  provider: "antigravity",
19121
19120
  resolution: {
19122
- modelId: "gemini-4-carbon",
19121
+ modelId: "gemini-4-hydrogen",
19123
19122
  status: "mapped"
19124
19123
  },
19125
- sourceText: "gemini-4-carbon-low"
19124
+ sourceText: "gemini-4-hydrogen-low"
19126
19125
  },
19127
19126
  {
19128
- externalModelId: "gemini-4-neon-low",
19127
+ externalModelId: "claude-sonnet-5-5-low",
19129
19128
  kind: "provider_model",
19130
19129
  provider: "antigravity",
19131
19130
  resolution: {
19132
- modelId: "gemini-4-neon",
19131
+ modelId: "claude-sonnet-5-5",
19133
19132
  status: "mapped"
19134
19133
  },
19135
- sourceText: "gemini-4-neon-low"
19134
+ sourceText: "claude-sonnet-5-5-low"
19136
19135
  },
19137
19136
  {
19138
- externalModelId: "gemini-4-hydrogen-xhigh",
19137
+ externalModelId: "gemini-4-hydrogen-medium",
19139
19138
  kind: "provider_model",
19140
19139
  provider: "antigravity",
19141
19140
  resolution: {
19142
19141
  modelId: "gemini-4-hydrogen",
19143
19142
  status: "mapped"
19144
19143
  },
19145
- sourceText: "gemini-4-hydrogen-xhigh"
19144
+ sourceText: "gemini-4-hydrogen-medium"
19146
19145
  },
19147
19146
  {
19148
- externalModelId: "gemini-4-hydrogen-low",
19147
+ externalModelId: "claude-sonnet-5-5-medium",
19149
19148
  kind: "provider_model",
19150
19149
  provider: "antigravity",
19151
19150
  resolution: {
19152
- modelId: "gemini-4-hydrogen",
19151
+ modelId: "claude-sonnet-5-5",
19153
19152
  status: "mapped"
19154
19153
  },
19155
- sourceText: "gemini-4-hydrogen-low"
19154
+ sourceText: "claude-sonnet-5-5-medium"
19156
19155
  }
19157
19156
  ],
19158
19157
  modelDiscovery: "client",
@@ -19496,44 +19495,44 @@ var init_bundled_recommended_list = __esm(() => {
19496
19495
  id: "ollama-cloud",
19497
19496
  inclusions: [
19498
19497
  {
19499
- externalModelId: "mimo-v2.6-flash",
19498
+ externalModelId: "glm-5.3",
19500
19499
  kind: "provider_model",
19501
19500
  provider: "ollamacloud",
19502
19501
  resolution: {
19503
- modelId: "mimo-v2.6-flash",
19502
+ modelId: "glm-5.3",
19504
19503
  status: "mapped"
19505
19504
  },
19506
- sourceText: "mimo-v2.6-flash"
19505
+ sourceText: "glm-5.3"
19507
19506
  },
19508
19507
  {
19509
- externalModelId: "glm-5.3",
19508
+ externalModelId: "deepseek-v4.1-flash",
19510
19509
  kind: "provider_model",
19511
19510
  provider: "ollamacloud",
19512
19511
  resolution: {
19513
- modelId: "glm-5.3",
19512
+ modelId: "deepseek-v4.1-flash",
19514
19513
  status: "mapped"
19515
19514
  },
19516
- sourceText: "glm-5.3"
19515
+ sourceText: "deepseek-v4.1-flash"
19517
19516
  },
19518
19517
  {
19519
- externalModelId: "minimax-m3.1-flash",
19518
+ externalModelId: "glm-5.3-flash",
19520
19519
  kind: "provider_model",
19521
19520
  provider: "ollamacloud",
19522
19521
  resolution: {
19523
- modelId: "minimax-m3.1-flash",
19522
+ modelId: "glm-5.3-flash",
19524
19523
  status: "mapped"
19525
19524
  },
19526
- sourceText: "minimax-m3.1-flash"
19525
+ sourceText: "glm-5.3-flash"
19527
19526
  },
19528
19527
  {
19529
- externalModelId: "glm-5.3-flash",
19528
+ externalModelId: "kimi-k3.1-pro",
19530
19529
  kind: "provider_model",
19531
19530
  provider: "ollamacloud",
19532
19531
  resolution: {
19533
- modelId: "glm-5.3-flash",
19532
+ modelId: "kimi-k3.1-pro",
19534
19533
  status: "mapped"
19535
19534
  },
19536
- sourceText: "glm-5.3-flash"
19535
+ sourceText: "kimi-k3.1-pro"
19537
19536
  },
19538
19537
  {
19539
19538
  externalModelId: "mimo-v2.6-pro",
@@ -19546,24 +19545,24 @@ var init_bundled_recommended_list = __esm(() => {
19546
19545
  sourceText: "mimo-v2.6-pro"
19547
19546
  },
19548
19547
  {
19549
- externalModelId: "deepseek-v4.1-flash",
19548
+ externalModelId: "minimax-m3.1-flash",
19550
19549
  kind: "provider_model",
19551
19550
  provider: "ollamacloud",
19552
19551
  resolution: {
19553
- modelId: "deepseek-v4.1-flash",
19552
+ modelId: "minimax-m3.1-flash",
19554
19553
  status: "mapped"
19555
19554
  },
19556
- sourceText: "deepseek-v4.1-flash"
19555
+ sourceText: "minimax-m3.1-flash"
19557
19556
  },
19558
19557
  {
19559
- externalModelId: "kimi-k3.1-pro",
19558
+ externalModelId: "mimo-v2.6-flash",
19560
19559
  kind: "provider_model",
19561
19560
  provider: "ollamacloud",
19562
19561
  resolution: {
19563
- modelId: "kimi-k3.1-pro",
19562
+ modelId: "mimo-v2.6-flash",
19564
19563
  status: "mapped"
19565
19564
  },
19566
- sourceText: "kimi-k3.1-pro"
19565
+ sourceText: "mimo-v2.6-flash"
19567
19566
  }
19568
19567
  ],
19569
19568
  modelDiscovery: "catalog",
@@ -19818,7 +19817,7 @@ var init_bundled_recommended_list = __esm(() => {
19818
19817
  }
19819
19818
  ],
19820
19819
  routeRegistry: {
19821
- generationId: "g-20261129161514060-092a94cb",
19820
+ generationId: "g-20261130162421869-567d142f",
19822
19821
  registry: {
19823
19822
  contractVersion: 3,
19824
19823
  registryVersion: "3.7.0",
@@ -47852,8 +47851,6 @@ function buildOAuthHeaders(token, accountId) {
47852
47851
  };
47853
47852
  if (accountId) {
47854
47853
  headers["chatgpt-account-id"] = accountId;
47855
- headers["x-conversation-id"] = "claudish-session";
47856
- headers["x-session-id"] = "claudish-session";
47857
47854
  }
47858
47855
  return headers;
47859
47856
  }
@@ -50346,8 +50343,12 @@ var init_openai_codex = __esm(() => {
50346
50343
  getEndpoint(_targetModel, binding) {
50347
50344
  return binding?.auth?.endpoint ?? super.getEndpoint();
50348
50345
  }
50349
- async getHeaders(_claudeRequest, binding) {
50346
+ async getHeaders(claudeRequest, binding) {
50350
50347
  const auth = binding?.auth;
50348
+ if (auth?.arm === "oauth") {
50349
+ const key = conversationKey(claudeRequest);
50350
+ return { ...auth.headers, "session-id": key, "thread-id": key };
50351
+ }
50351
50352
  if (auth)
50352
50353
  return { ...auth.headers };
50353
50354
  return super.getHeaders();
@@ -132867,7 +132868,7 @@ This searched OpenRouter's listing only. Subscription wire ids and catalog alias
132867
132868
  });
132868
132869
  tools.push({
132869
132870
  name: "team",
132870
- 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,
132871
132872
  inputSchema: {
132872
132873
  type: "object",
132873
132874
  properties: {
@@ -132964,7 +132965,7 @@ This searched OpenRouter's listing only. Subscription wire ids and catalog alias
132964
132965
  },
132965
132966
  require_pattern: {
132966
132967
  type: "string",
132967
- 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
132968
132969
  },
132969
132970
  min_output_bytes: {
132970
132971
  type: "number",
@@ -132977,7 +132978,7 @@ This searched OpenRouter's listing only. Subscription wire ids and catalog alias
132977
132978
  task_type: {
132978
132979
  type: "string",
132979
132980
  pattern: TASK_TYPE_PATTERN.source,
132980
- 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}`
132981
132982
  },
132982
132983
  claude_flags: {
132983
132984
  type: "string",
@@ -133836,6 +133837,13 @@ function resolveToolGroups(mode) {
133836
133837
  return new Set(["low-level", "agentic", "session", "debug"]);
133837
133838
  }
133838
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
+ }
133839
133847
  function unknownToolModeWarning(mode) {
133840
133848
  if (TOOL_MODES.includes(mode))
133841
133849
  return;
@@ -133884,17 +133892,11 @@ async function main() {
133884
133892
  replays.setViewServices({ feed: viewFeed, claims: viewClaims });
133885
133893
  setViewServices({ feed: viewFeed, claims: viewClaims });
133886
133894
  const progressIntervalMs = resolveProgressIntervalMs();
133887
- const allTools = defineTools(sessionManager, nested);
133888
- const nestedNames = NESTED_MCP_TOOL_NAMES;
133889
- const enabledTools = allTools.filter((t) => enabledGroups.has(t.group) && (!nested || nestedNames.includes(t.name)));
133895
+ const enabledTools = enabledToolDefinitions(sessionManager, nested, enabledGroups);
133890
133896
  const toolMap = new Map(enabledTools.map((t) => [t.name, t]));
133891
133897
  console.error(`[claudish] MCP server started (tools: ${nested ? "nested" : toolMode}, ${enabledTools.length} tools)`);
133892
133898
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
133893
- tools: enabledTools.map((t) => ({
133894
- name: t.name,
133895
- description: t.description,
133896
- inputSchema: t.inputSchema
133897
- }))
133899
+ tools: enabledTools.map(listedTool)
133898
133900
  }));
133899
133901
  server.setRequestHandler(CallToolRequestSchema, async (request, extra) => {
133900
133902
  const { name, arguments: args } = request.params;
@@ -134013,7 +134015,7 @@ Each session is an interactive Claude Code running the model in its own headless
134013
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.
134014
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.
134015
134017
 
134016
- 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;
134017
134019
  var init_mcp_server = __esm(() => {
134018
134020
  init_server2();
134019
134021
  init_stdio2();
@@ -134087,6 +134089,9 @@ var init_mcp_server = __esm(() => {
134087
134089
  };
134088
134090
  TASK_TYPE_PATTERN = /^[a-z][a-z0-9-]{0,23}$/;
134089
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}\`.`;
134090
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.";
134091
134096
  replays = new ReplayManager;
134092
134097
  sanitize2 = sanitizeForReport;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "14.30.1",
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.1",
78
- "@claudish/magmux-darwin-x64": "14.30.1",
79
- "@claudish/magmux-linux-arm64": "14.30.1",
80
- "@claudish/magmux-linux-x64": "14.30.1"
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",