claudish 3.0.3 → 3.0.4

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 +24 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -38311,22 +38311,41 @@ var init_gemini_adapter = __esm(() => {
38311
38311
  init_logger();
38312
38312
  REASONING_PATTERNS = [
38313
38313
  /^Wait,?\s+I(?:'m|\s+am)\s+\w+ing\b/i,
38314
+ /^Wait,?\s+(?:if|that|the|this|I\s+(?:need|should|will|have|already))/i,
38314
38315
  /^Wait[.!]?\s*$/i,
38315
- /^Let\s+me\s+(think|check|verify|see|look|analyze|consider)/i,
38316
+ /^Let\s+me\s+(think|check|verify|see|look|analyze|consider|first|start)/i,
38317
+ /^Let's\s+(check|see|look|start|first|try|think|verify|examine|analyze)/i,
38316
38318
  /^I\s+need\s+to\s+/i,
38317
38319
  /^O[kK](?:ay)?[.,!]?\s*(?:so|let|I|now|first)?/i,
38318
38320
  /^[Hh]mm+/,
38319
38321
  /^So[,.]?\s+(?:I|let|first|now|the)/i,
38320
38322
  /^(?:First|Next|Then|Now)[,.]?\s+(?:I|let|we)/i,
38321
38323
  /^(?:Thinking\s+about|Considering)/i,
38322
- /^I(?:'ll|\s+will|\s+should)\s+(?:first|now|start|begin|try)/i,
38323
- /^(?:Debug|Checking|Verifying|Looking\s+at):/i
38324
+ /^I(?:'ll|\s+will)\s+(?:first|now|start|begin|try|check|fix|look|examine|modify|create|update|read|investigate|adjust|improve|integrate|mark|also|verify|need|rethink|add|help|use|run|search|find|explore|analyze|review|test|implement|write|make|set|get|see|open|close|save|load|fetch|call|send|build|compile|execute|process|handle|parse|format|validate|clean|clear|remove|delete|move|copy|rename|install|configure|setup|initialize|prepare|work|continue|proceed|ensure|confirm)/i,
38325
+ /^I\s+should\s+/i,
38326
+ /^I\s+will\s+(?:first|now|start|verify|check|create|modify|look|need|also|add|help|use|run|search|find|explore|analyze|review|test|implement|write)/i,
38327
+ /^(?:Debug|Checking|Verifying|Looking\s+at):/i,
38328
+ /^I\s+also\s+(?:notice|need|see|want)/i,
38329
+ /^The\s+(?:goal|issue|problem|idea|plan)\s+is/i,
38330
+ /^In\s+the\s+(?:old|current|previous|new|existing)\s+/i,
38331
+ /^`[^`]+`\s+(?:is|has|does|needs|should|will|doesn't|hasn't)/i
38324
38332
  ];
38325
38333
  REASONING_CONTINUATION_PATTERNS = [
38326
38334
  /^And\s+(?:then|I|now|so)/i,
38327
- /^But\s+(?:I|first|wait|actually)/i,
38335
+ /^And\s+I(?:'ll|\s+will)/i,
38336
+ /^But\s+(?:I|first|wait|actually|the|if)/i,
38328
38337
  /^Actually[,.]?\s+/i,
38329
- /^\d+\.\s+(?:I|First|Check|Run|Create|Update|Read)/i
38338
+ /^Also[,.]?\s+(?:I|the|check|note)/i,
38339
+ /^\d+\.\s+(?:I|First|Check|Run|Create|Update|Read|Modify|Add|Fix|Look)/i,
38340
+ /^-\s+(?:I|First|Check|Run|Create|Update|Read|Modify|Add|Fix)/i,
38341
+ /^Or\s+(?:I|just|we|maybe|perhaps)/i,
38342
+ /^Since\s+(?:I|the|this|we|it)/i,
38343
+ /^Because\s+(?:I|the|this|we|it)/i,
38344
+ /^If\s+(?:I|the|this|we|it)\s+/i,
38345
+ /^This\s+(?:is|means|requires|should|will|confirms|suggests)/i,
38346
+ /^That\s+(?:means|is|should|will|explains|confirms)/i,
38347
+ /^Lines?\s+\d+/i,
38348
+ /^The\s+`[^`]+`\s+(?:is|has|contains|needs|should)/i
38330
38349
  ];
38331
38350
  GeminiAdapter = class GeminiAdapter extends BaseModelAdapter {
38332
38351
  thoughtSignatures = new Map;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
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",