@machina.ai/cell-cli-core 1.49.0-rc6 → 1.51.0-rc1

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 (124) hide show
  1. package/dist/docs/CHANGES.md +23 -0
  2. package/dist/docs/adr/001-openai-xai-compatible-adapters.md +75 -0
  3. package/dist/docs/changelogs/preview.md +11 -3
  4. package/dist/docs/cli/settings.md +21 -1
  5. package/dist/docs/reference/configuration.md +150 -39
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/package.json +2 -2
  10. package/dist/src/agents/agentLoader.d.ts +4 -4
  11. package/dist/src/agents/browser/browserAgentDefinition.js +2 -2
  12. package/dist/src/agents/browser/browserAgentDefinition.js.map +1 -1
  13. package/dist/src/agents/codebase-investigator.js +2 -2
  14. package/dist/src/agents/codebase-investigator.js.map +1 -1
  15. package/dist/src/agents/skill-extraction-agent.js +2 -2
  16. package/dist/src/agents/skill-extraction-agent.js.map +1 -1
  17. package/dist/src/billing/billing.js +3 -1
  18. package/dist/src/billing/billing.js.map +1 -1
  19. package/dist/src/code_assist/types.d.ts +20 -20
  20. package/dist/src/config/config.d.ts +9 -0
  21. package/dist/src/config/config.js +33 -0
  22. package/dist/src/config/config.js.map +1 -1
  23. package/dist/src/config/config.test.js +11 -1
  24. package/dist/src/config/config.test.js.map +1 -1
  25. package/dist/src/config/defaultModelConfigs.js +91 -25
  26. package/dist/src/config/defaultModelConfigs.js.map +1 -1
  27. package/dist/src/config/extensions/integrityTypes.d.ts +2 -2
  28. package/dist/src/config/localModel.test.d.ts +6 -0
  29. package/dist/src/config/localModel.test.js +114 -0
  30. package/dist/src/config/localModel.test.js.map +1 -0
  31. package/dist/src/config/models.d.ts +18 -1
  32. package/dist/src/config/models.js +90 -7
  33. package/dist/src/config/models.js.map +1 -1
  34. package/dist/src/config/models.test.js +63 -16
  35. package/dist/src/config/models.test.js.map +1 -1
  36. package/dist/src/core/baseLlmClient.js +26 -1
  37. package/dist/src/core/baseLlmClient.js.map +1 -1
  38. package/dist/src/core/contentGenerator.js +91 -1
  39. package/dist/src/core/contentGenerator.js.map +1 -1
  40. package/dist/src/core/contentGenerator.test.js +101 -0
  41. package/dist/src/core/contentGenerator.test.js.map +1 -1
  42. package/dist/src/core/geminiChat.test.js +25 -0
  43. package/dist/src/core/geminiChat.test.js.map +1 -1
  44. package/dist/src/core/openAiCompatibleContentGenerator.d.ts +156 -0
  45. package/dist/src/core/openAiCompatibleContentGenerator.js +1161 -0
  46. package/dist/src/core/openAiCompatibleContentGenerator.js.map +1 -0
  47. package/dist/src/core/openAiCompatibleContentGenerator.test.d.ts +6 -0
  48. package/dist/src/core/openAiCompatibleContentGenerator.test.js +850 -0
  49. package/dist/src/core/openAiCompatibleContentGenerator.test.js.map +1 -0
  50. package/dist/src/generated/git-commit.d.ts +2 -2
  51. package/dist/src/generated/git-commit.js +2 -2
  52. package/dist/src/index.d.ts +1 -0
  53. package/dist/src/index.js +1 -0
  54. package/dist/src/index.js.map +1 -1
  55. package/dist/src/safety/built-in.js +60 -11
  56. package/dist/src/safety/built-in.js.map +1 -1
  57. package/dist/src/safety/built-in.test.js +60 -0
  58. package/dist/src/safety/built-in.test.js.map +1 -1
  59. package/dist/src/test-utils/mockWorkspaceContext.js +12 -1
  60. package/dist/src/test-utils/mockWorkspaceContext.js.map +1 -1
  61. package/dist/src/tools/at-reference-resolution.test.d.ts +6 -0
  62. package/dist/src/tools/at-reference-resolution.test.js +402 -0
  63. package/dist/src/tools/at-reference-resolution.test.js.map +1 -0
  64. package/dist/src/tools/edit.js +91 -12
  65. package/dist/src/tools/edit.js.map +1 -1
  66. package/dist/src/tools/edit.test.js +22 -1
  67. package/dist/src/tools/edit.test.js.map +1 -1
  68. package/dist/src/tools/glob.js +40 -4
  69. package/dist/src/tools/glob.js.map +1 -1
  70. package/dist/src/tools/glob.test.js +2 -1
  71. package/dist/src/tools/glob.test.js.map +1 -1
  72. package/dist/src/tools/grep.js +22 -3
  73. package/dist/src/tools/grep.js.map +1 -1
  74. package/dist/src/tools/grep.test.js +2 -2
  75. package/dist/src/tools/grep.test.js.map +1 -1
  76. package/dist/src/tools/read-file.js +16 -3
  77. package/dist/src/tools/read-file.js.map +1 -1
  78. package/dist/src/tools/read-many-files.test.js +2 -2
  79. package/dist/src/tools/read-many-files.test.js.map +1 -1
  80. package/dist/src/tools/ripGrep.js +30 -3
  81. package/dist/src/tools/ripGrep.js.map +1 -1
  82. package/dist/src/tools/ripGrep.test.js +3 -3
  83. package/dist/src/tools/ripGrep.test.js.map +1 -1
  84. package/dist/src/tools/trackerTools.test.js +1 -1
  85. package/dist/src/tools/trackerTools.test.js.map +1 -1
  86. package/dist/src/tools/write-file.js +76 -9
  87. package/dist/src/tools/write-file.js.map +1 -1
  88. package/dist/src/tools/write-file.test.js +17 -16
  89. package/dist/src/tools/write-file.test.js.map +1 -1
  90. package/dist/src/utils/editCorrector.test.js +6 -0
  91. package/dist/src/utils/editCorrector.test.js.map +1 -1
  92. package/dist/src/utils/fetch.test.js +1 -0
  93. package/dist/src/utils/fetch.test.js.map +1 -1
  94. package/dist/src/utils/historyHardening.d.ts +1 -0
  95. package/dist/src/utils/historyHardening.js +92 -14
  96. package/dist/src/utils/historyHardening.js.map +1 -1
  97. package/dist/src/utils/historyHardening.test.js +189 -1
  98. package/dist/src/utils/historyHardening.test.js.map +1 -1
  99. package/dist/src/utils/memoryImportProcessor.js +24 -3
  100. package/dist/src/utils/memoryImportProcessor.js.map +1 -1
  101. package/dist/src/utils/memoryImportProcessor.test.js +36 -0
  102. package/dist/src/utils/memoryImportProcessor.test.js.map +1 -1
  103. package/dist/src/utils/modelUtils.d.ts +8 -0
  104. package/dist/src/utils/modelUtils.js +59 -0
  105. package/dist/src/utils/modelUtils.js.map +1 -1
  106. package/dist/src/utils/modelUtils.test.js +46 -2
  107. package/dist/src/utils/modelUtils.test.js.map +1 -1
  108. package/dist/src/utils/pathCorrector.js +5 -3
  109. package/dist/src/utils/pathCorrector.js.map +1 -1
  110. package/dist/src/utils/pathCorrector.test.js +2 -1
  111. package/dist/src/utils/pathCorrector.test.js.map +1 -1
  112. package/dist/src/utils/paths.d.ts +5 -0
  113. package/dist/src/utils/paths.js +41 -0
  114. package/dist/src/utils/paths.js.map +1 -1
  115. package/dist/src/utils/paths.test.js +15 -1
  116. package/dist/src/utils/paths.test.js.map +1 -1
  117. package/dist/src/utils/workspaceContext.js +21 -0
  118. package/dist/src/utils/workspaceContext.js.map +1 -1
  119. package/dist/src/utils/workspaceContext.test.js +40 -0
  120. package/dist/src/utils/workspaceContext.test.js.map +1 -1
  121. package/dist/src/voice/whisperModelManager.js +2 -0
  122. package/dist/src/voice/whisperModelManager.js.map +1 -1
  123. package/dist/tsconfig.tsbuildinfo +1 -1
  124. package/package.json +2 -2
@@ -123,6 +123,29 @@ stored separately in `config.yml`.
123
123
  device flow Keycloak (mensaje "Open URL..." al iniciar sesión) a stderr cuando
124
124
  el CLI corre con `--acp`, garantizando un stream stdout limpio.
125
125
 
126
+ ### 5. Universal OpenAI & xAI Compatibility Adapters under Keycloak SSO
127
+
128
+ - **Problem**: Cell CLI was designed to interface natively with Gemini models.
129
+ Environments utilizing OpenAI or xAI models under a unified Keycloak proxy
130
+ could not use the CLI.
131
+ - **Solution**: Implemented a universal, lightweight, and stateless
132
+ compatibility adapter (`OpenAiCompatibleContentGenerator`) that translates
133
+ Gemini-formatted contents, system instructions, and tool definitions into
134
+ OpenAI-compatible formats and parses standard OpenAI outputs back to Gemini
135
+ parts and usage metadata.
136
+ - **Key Improvements**:
137
+ - **Stateless Tool Call Correlation**: Reconstructs and matches multi-turn
138
+ tool call IDs (`call_0`, `call_1`, etc.) dynamically without requiring
139
+ session/state cache.
140
+ - **Recursive Schema Translation**: Automatically maps uppercase Gemini schema
141
+ types (`STRING`, `OBJECT`, etc.) to lowercase standards required by OpenAI.
142
+ - **SSE Streaming Support**: Fully supports real-time Server-Sent Events
143
+ stream chunk parsing and return.
144
+ - **Transparent Model Routing**: Seamlessly hooks into
145
+ `createContentGenerator` to route all Keycloak-authenticated requests with
146
+ model names formatted as `{provider}/{model}` (e.g., `openai/gpt-4o`,
147
+ `xai/grok-2`) directly to the compatibility adapter.
148
+
126
149
  ## Name and Variable Renaming
127
150
 
128
151
  The following table documents the major renaming changes from "Gemini" to "Cell"
@@ -0,0 +1,75 @@
1
+ # Universal OpenAI & xAI Compatibility Adapters under Keycloak SSO
2
+
3
+ - Status: Accepted
4
+ - Deciders: Cell CLI Core Team
5
+ - Date: 2026-07-11
6
+
7
+ ## Context and Problem Statement
8
+
9
+ Currently, Cell CLI interacts natively with Gemini models via the Google Gen AI
10
+ SDK. To enable organizations using OpenAI-compatible or xAI endpoints hosted
11
+ through unified Keycloak proxies to utilize Cell CLI, we need a universal,
12
+ stateless compatibility adapter.
13
+
14
+ All communication must flow exclusively through the configured Keycloak
15
+ authentication proxy, appending `/cell/{provider}/v1/chat/completions` to the
16
+ proxy's base URL and forwarding Keycloak SSO headers.
17
+
18
+ ## Decision Drivers
19
+
20
+ - **Zero State Retention:** The adapter must remain entirely stateless, avoiding
21
+ any cache or session storage between separate generator invocations to
22
+ maintain clean horizontal scalability and thread safety.
23
+ - **Payload Fidelity:** Convert Gemini-formatted prompts (system instructions,
24
+ user/model history, schemas, tool definitions) accurately to OpenAI-compatible
25
+ payloads, and parse standard OpenAI completions back to Gemini parts and usage
26
+ metadata.
27
+ - **De-novo Tool ID Correlation:** Map sequential `tool_call_id`s across
28
+ multi-turn histories during pure payload scans without persisting state.
29
+ - **Maintainability:** Minimal impact on the core Gemini engine; transparent
30
+ routing of provider-prefixed models.
31
+
32
+ ## Considered Options
33
+
34
+ 1. **Option 1: Add a native OpenAI SDK dependency**
35
+ - _Pros:_ Reuses official OpenAI client wrappers.
36
+ - _Cons:_ Significantly increases NPM package weight, introduces potential
37
+ dependency conflicts, and complicates stateless stream handling over the
38
+ unified Keycloak proxy.
39
+ 2. **Option 2: Stateless lightweight compatibility generator adapter (Chosen)**
40
+ - _Pros:_ Zero extra dependencies, fully stateless, lightweight (`fetch`
41
+ based), allows recursive, custom-tailored schema mappings and deterministic
42
+ multi-turn tool call correlation.
43
+ - _Cons:_ Requires manually maintaining payload translations for text, tools,
44
+ and streaming chunks.
45
+
46
+ ## Decision Outcome
47
+
48
+ We choose **Option 2: Stateless lightweight compatibility generator adapter**.
49
+
50
+ ### Implementation Details
51
+
52
+ - **Validation Bypass:** Allow model names formatted as `{provider}/{model}`
53
+ when configured with `AuthType.KEYCLOAK`.
54
+ - **Stateless Tool Call ID Correlation:** Reconstruct and match `tool_call_id`s
55
+ (`call_0`, `call_1`, ...) on every single payload scan by tracing
56
+ conversational history turns sequentially.
57
+ - **SSE Stream Parser:** Efficiently stream OpenAI Server-Sent Events, yielding
58
+ parsed completion chunks and formatting them back to Gemini-compatible
59
+ `GenerateContentResponse` shapes.
60
+
61
+ ## Pros and Cons of the Chosen Option
62
+
63
+ ### Pros
64
+
65
+ - Extends the CLI to support OpenAI and xAI out-of-the-box without increasing
66
+ bundle size.
67
+ - Purely functional, keeping the runtime footprint minimal and highly
68
+ thread-safe.
69
+ - Correctly aligns with the established composition/delegation architectural
70
+ principles of Cell CLI.
71
+
72
+ ### Cons
73
+
74
+ - Stream chunks must be parsed line-by-line which we resolved using a standard
75
+ TextDecoder buffer stream loop.
@@ -1,6 +1,6 @@
1
- # Preview release: v0.48.0-preview.0
1
+ # Preview release: v0.50.0-preview.1
2
2
 
3
- Released: June 17, 2026
3
+ Released: June 25, 2026
4
4
 
5
5
  Our preview release includes the latest, new, and experimental features. This
6
6
  release may not be as stable as our [latest weekly release](latest.md).
@@ -27,6 +27,14 @@ npm install -g @google/gemini-cli@preview
27
27
 
28
28
  ## What's Changed
29
29
 
30
+ - fix/verify release npm ci ignore scripts by @rmedranollamas in
31
+ [#28116](https://github.com/google-gemini/gemini-cli/pull/28116)
32
+ - fix(ci): prevent workspace binary shadowing in release verification by @galz10
33
+ in [#28132](https://github.com/google-gemini/gemini-cli/pull/28132)
34
+ - Feat/tool registry discovery by @ved015 in
35
+ [#28113](https://github.com/google-gemini/gemini-cli/pull/28113)
36
+ - fix(ci): prevent bad NPM releases and promote job crashes by @galz10 in
37
+ [#28147](https://github.com/google-gemini/gemini-cli/pull/28147)
30
38
  - chore(release): bump version to 0.48.0-nightly.20260609.g3a13b8eeb by
31
39
  @gemini-cli-robot in
32
40
  [#27779](https://github.com/google-gemini/gemini-cli/pull/27779)
@@ -67,4 +75,4 @@ npm install -g @google/gemini-cli@preview
67
75
  [#27992](https://github.com/google-gemini/gemini-cli/pull/27992)
68
76
 
69
77
  **Full Changelog**:
70
- https://github.com/google-gemini/gemini-cli/compare/v0.47.0-preview.0...v0.48.0-preview.0
78
+ https://github.com/google-gemini/gemini-cli/compare/v0.47.0-preview.0...v0.50.0-preview.1
@@ -69,7 +69,7 @@ they appear in the UI.
69
69
  | Hide CWD | `ui.footer.hideCWD` | Hide the current working directory in the footer. | `false` |
70
70
  | Hide Sandbox Status | `ui.footer.hideSandboxStatus` | Hide the sandbox status indicator in the footer. | `false` |
71
71
  | Hide Model Info | `ui.footer.hideModelInfo` | Hide the model name and context usage in the footer. | `false` |
72
- | Hide Context Window Percentage | `ui.footer.hideContextPercentage` | Hides the context window usage percentage. | `true` |
72
+ | Hide Context Window Percentage | `ui.footer.hideContextPercentage` | Hides the context window usage percentage. | `false` |
73
73
  | Hide Footer | `ui.hideFooter` | Hide the footer from the UI | `false` |
74
74
  | Show Memory Usage | `ui.showMemoryUsage` | Display memory usage information in the UI | `false` |
75
75
  | Show Line Numbers | `ui.showLineNumbers` | Show line numbers in the chat. | `true` |
@@ -103,6 +103,8 @@ they appear in the UI.
103
103
  | UI Label | Setting | Description | Default |
104
104
  | ----------------------------- | ---------------------------- | -------------------------------------------------------------------------------------- | ----------- |
105
105
  | Model | `model.name` | The Gemini model to use for conversations. | `undefined` |
106
+ | Local Model URL | `model.localModelUrl` | The URL of the local OpenAI-compatible endpoint. | `undefined` |
107
+ | Local Model API Key | `model.localModelApiKey` | The API key for the local OpenAI-compatible endpoint. | `undefined` |
106
108
  | Max Session Turns | `model.maxSessionTurns` | Maximum number of user/model/tool turns to keep in a session. -1 means unlimited. | `-1` |
107
109
  | Context Compression Threshold | `model.compressionThreshold` | The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3). | `0.5` |
108
110
  | Disable Loop Detection | `model.disableLoopDetection` | Disable automatic detection and prevention of infinite loops. | `false` |
@@ -161,6 +163,24 @@ they appear in the UI.
161
163
  | Auto Configure Max Old Space Size | `advanced.autoConfigureMemory` | Automatically configure Node.js memory limits. Note: Because memory is allocated during the initial process boot, this setting is only read from the global user settings file and ignores workspace-level overrides. | `true` |
162
164
  | Ignore Local .env | `advanced.ignoreLocalEnv` | Whether to ignore generic .env files in the project directory. | `false` |
163
165
 
166
+ ### LoadMemoryFromIncludeDirectories
167
+
168
+ | UI Label | Setting | Description | Default |
169
+ | ------------------------------------ | ---------------------------------- | ------------------------------------------------------ | ------- |
170
+ | Load Memory From Include Directories | `loadMemoryFromIncludeDirectories` | Whether to load memory files from include directories. | `false` |
171
+
172
+ ### FolderTrustFeature
173
+
174
+ | UI Label | Setting | Description | Default |
175
+ | -------------------- | -------------------- | -------------------------------------------------- | ------- |
176
+ | Folder Trust Feature | `folderTrustFeature` | Enable folder trust feature for enhanced security. | `false` |
177
+
178
+ ### FolderTrust
179
+
180
+ | UI Label | Setting | Description | Default |
181
+ | ------------ | ------------- | ------------------------------------------------- | ------- |
182
+ | Folder Trust | `folderTrust` | Setting to track whether Folder trust is enabled. | `false` |
183
+
164
184
  ### Experimental
165
185
 
166
186
  | UI Label | Setting | Description | Default |
@@ -384,7 +384,7 @@ their corresponding top-level category object in your `settings.json` file.
384
384
  - **`ui.footer.hideContextPercentage`** (boolean):
385
385
 
386
386
  - **Description:** Hides the context window usage percentage.
387
- - **Default:** `true`
387
+ - **Default:** `false`
388
388
 
389
389
  - **`ui.hideFooter`** (boolean):
390
390
 
@@ -543,6 +543,16 @@ their corresponding top-level category object in your `settings.json` file.
543
543
  - **Description:** The Gemini model to use for conversations.
544
544
  - **Default:** `undefined`
545
545
 
546
+ - **`model.localModelUrl`** (string):
547
+
548
+ - **Description:** The URL of the local OpenAI-compatible endpoint.
549
+ - **Default:** `undefined`
550
+
551
+ - **`model.localModelApiKey`** (string):
552
+
553
+ - **Description:** The API key for the local OpenAI-compatible endpoint.
554
+ - **Default:** `undefined`
555
+
546
556
  - **`model.maxSessionTurns`** (number):
547
557
 
548
558
  - **Description:** Maximum number of user/model/tool turns to keep in a
@@ -637,6 +647,12 @@ their corresponding top-level category object in your `settings.json` file.
637
647
  "model": "gemini-3-flash-preview"
638
648
  }
639
649
  },
650
+ "gemini-3.6-flash": {
651
+ "extends": "chat-base-3",
652
+ "modelConfig": {
653
+ "model": "gemini-3.6-flash"
654
+ }
655
+ },
640
656
  "gemini-3.1-pro-preview": {
641
657
  "extends": "chat-base-3",
642
658
  "modelConfig": {
@@ -706,7 +722,7 @@ their corresponding top-level category object in your `settings.json` file.
706
722
  "gemini-3-flash-base": {
707
723
  "extends": "base",
708
724
  "modelConfig": {
709
- "model": "gemini-3-flash-preview"
725
+ "model": "gemini-3.5-flash"
710
726
  }
711
727
  },
712
728
  "gemini-3.5-flash-base": {
@@ -715,6 +731,12 @@ their corresponding top-level category object in your `settings.json` file.
715
731
  "model": "gemini-3.5-flash"
716
732
  }
717
733
  },
734
+ "gemini-3.6-flash-base": {
735
+ "extends": "base",
736
+ "modelConfig": {
737
+ "model": "gemini-3.6-flash"
738
+ }
739
+ },
718
740
  "classifier": {
719
741
  "extends": "base",
720
742
  "modelConfig": {
@@ -848,7 +870,7 @@ their corresponding top-level category object in your `settings.json` file.
848
870
  },
849
871
  "chat-compression-3-flash": {
850
872
  "modelConfig": {
851
- "model": "gemini-3-flash-preview"
873
+ "model": "gemini-3.5-flash"
852
874
  }
853
875
  },
854
876
  "chat-compression-3.1-flash-lite": {
@@ -878,7 +900,7 @@ their corresponding top-level category object in your `settings.json` file.
878
900
  },
879
901
  "agent-history-provider-summarizer": {
880
902
  "modelConfig": {
881
- "model": "gemini-3-flash-preview"
903
+ "model": "gemini-3.5-flash"
882
904
  }
883
905
  }
884
906
  }
@@ -961,13 +983,13 @@ their corresponding top-level category object in your `settings.json` file.
961
983
  "multimodalToolUse": true
962
984
  }
963
985
  },
964
- "gemini-3.5-flash": {
986
+ "gemini-3.6-flash": {
965
987
  "tier": "flash",
966
988
  "family": "gemini-3",
967
989
  "isPreview": false,
968
990
  "isVisible": true,
969
991
  "features": {
970
- "thinking": false,
992
+ "thinking": true,
971
993
  "multimodalToolUse": true
972
994
  }
973
995
  },
@@ -1001,6 +1023,16 @@ their corresponding top-level category object in your `settings.json` file.
1001
1023
  "multimodalToolUse": false
1002
1024
  }
1003
1025
  },
1026
+ "gemini-3.5-flash": {
1027
+ "tier": "flash",
1028
+ "family": "gemini-3.5",
1029
+ "isPreview": false,
1030
+ "isVisible": true,
1031
+ "features": {
1032
+ "thinking": true,
1033
+ "multimodalToolUse": true
1034
+ }
1035
+ },
1004
1036
  "gemma-4-31b-it": {
1005
1037
  "displayName": "gemma-4-31b-it",
1006
1038
  "tier": "custom",
@@ -1071,6 +1103,54 @@ their corresponding top-level category object in your `settings.json` file.
1071
1103
  "family": "gemini-2.5",
1072
1104
  "isPreview": false,
1073
1105
  "isVisible": false
1106
+ },
1107
+ "auto-gemini-3.5": {
1108
+ "displayName": "Auto (Gemini 3.5 Flash)",
1109
+ "tier": "auto",
1110
+ "family": "gemini-2.5",
1111
+ "isPreview": false,
1112
+ "isVisible": true,
1113
+ "dialogDescription": "Let Cell CLI decide the best model for the task: gemini-3.5-flash, gemini-3-flash",
1114
+ "features": {
1115
+ "thinking": true,
1116
+ "multimodalToolUse": false
1117
+ }
1118
+ },
1119
+ "auto-grok-4.5": {
1120
+ "displayName": "Auto (Grok 4.5)",
1121
+ "tier": "auto",
1122
+ "family": "grok-4.5",
1123
+ "isPreview": false,
1124
+ "isVisible": true,
1125
+ "dialogDescription": "Let Cell CLI decide the best model for the task: grok-4.5, grok-4-1-fast-reasoning",
1126
+ "features": {
1127
+ "thinking": true,
1128
+ "multimodalToolUse": false
1129
+ }
1130
+ },
1131
+ "auto-gpt-5.6-frontier": {
1132
+ "displayName": "Auto (GPT 5.6 Frontier)",
1133
+ "tier": "auto",
1134
+ "family": "gpt-5.6",
1135
+ "isPreview": false,
1136
+ "isVisible": true,
1137
+ "dialogDescription": "Let Cell CLI decide the best model for the task: gpt-5.6-terra, gpt-5.6-luna",
1138
+ "features": {
1139
+ "thinking": true,
1140
+ "multimodalToolUse": false
1141
+ }
1142
+ },
1143
+ "auto-gpt-5.4": {
1144
+ "displayName": "Auto (GPT 5.4)",
1145
+ "tier": "auto",
1146
+ "family": "gpt-5.4",
1147
+ "isPreview": false,
1148
+ "isVisible": true,
1149
+ "dialogDescription": "Let Cell CLI decide the best model for the task: gpt-5.4, gpt-5.4-mini",
1150
+ "features": {
1151
+ "thinking": true,
1152
+ "multimodalToolUse": false
1153
+ }
1074
1154
  }
1075
1155
  }
1076
1156
  ```
@@ -1120,15 +1200,8 @@ their corresponding top-level category object in your `settings.json` file.
1120
1200
  ]
1121
1201
  },
1122
1202
  "gemini-3-flash-preview": {
1123
- "default": "gemini-3-flash-preview",
1203
+ "default": "gemini-3.5-flash",
1124
1204
  "contexts": [
1125
- {
1126
- "condition": {
1127
- "hasAccessToPreview": false,
1128
- "useGemini3_5Flash": true
1129
- },
1130
- "target": "gemini-3.5-flash"
1131
- },
1132
1205
  {
1133
1206
  "condition": {
1134
1207
  "hasAccessToPreview": false,
@@ -1138,6 +1211,9 @@ their corresponding top-level category object in your `settings.json` file.
1138
1211
  }
1139
1212
  ]
1140
1213
  },
1214
+ "gemini-3.6-flash": {
1215
+ "default": "gemini-3.6-flash"
1216
+ },
1141
1217
  "gemini-3.5-flash": {
1142
1218
  "default": "gemini-3.5-flash",
1143
1219
  "contexts": [
@@ -1191,6 +1267,18 @@ their corresponding top-level category object in your `settings.json` file.
1191
1267
  }
1192
1268
  ]
1193
1269
  },
1270
+ "auto-gemini-3.5": {
1271
+ "default": "gemini-3.5-flash"
1272
+ },
1273
+ "auto-grok-4.5": {
1274
+ "default": "xai/grok-4.5"
1275
+ },
1276
+ "auto-gpt-5.6-frontier": {
1277
+ "default": "openai/gpt-5.6-terra"
1278
+ },
1279
+ "auto-gpt-5.4": {
1280
+ "default": "openai/gpt-5.4"
1281
+ },
1194
1282
  "auto": {
1195
1283
  "default": "gemini-3-pro-preview",
1196
1284
  "contexts": [
@@ -1243,21 +1331,7 @@ their corresponding top-level category object in your `settings.json` file.
1243
1331
  "default": "gemini-3.1-flash-lite"
1244
1332
  },
1245
1333
  "flash": {
1246
- "default": "gemini-3-flash-preview",
1247
- "contexts": [
1248
- {
1249
- "condition": {
1250
- "useGemini3_5Flash": true
1251
- },
1252
- "target": "gemini-3.5-flash"
1253
- },
1254
- {
1255
- "condition": {
1256
- "hasAccessToPreview": false
1257
- },
1258
- "target": "gemini-2.5-flash"
1259
- }
1260
- ]
1334
+ "default": "gemini-3.5-flash"
1261
1335
  },
1262
1336
  "flash-lite": {
1263
1337
  "default": "gemini-3.1-flash-lite"
@@ -1303,25 +1377,37 @@ their corresponding top-level category object in your `settings.json` file.
1303
1377
  ```json
1304
1378
  {
1305
1379
  "flash": {
1306
- "default": "gemini-3-flash-preview",
1380
+ "default": "gemini-3.5-flash",
1307
1381
  "contexts": [
1308
1382
  {
1309
1383
  "condition": {
1310
- "useGemini3_5Flash": true
1384
+ "requestedModels": ["gemini-2.5-pro", "auto-gemini-2.5"]
1385
+ },
1386
+ "target": "gemini-2.5-flash"
1387
+ },
1388
+ {
1389
+ "condition": {
1390
+ "requestedModels": ["auto-gemini-3.5"]
1311
1391
  },
1312
1392
  "target": "gemini-3.5-flash"
1313
1393
  },
1314
1394
  {
1315
1395
  "condition": {
1316
- "hasAccessToPreview": false
1396
+ "requestedModels": ["auto-grok-4.5"]
1317
1397
  },
1318
- "target": "gemini-2.5-flash"
1398
+ "target": "xai/grok-4-1-fast-reasoning"
1319
1399
  },
1320
1400
  {
1321
1401
  "condition": {
1322
- "requestedModels": ["gemini-2.5-pro", "auto-gemini-2.5"]
1402
+ "requestedModels": ["auto-gpt-5.6-frontier"]
1323
1403
  },
1324
- "target": "gemini-2.5-flash"
1404
+ "target": "openai/gpt-5.6-luna"
1405
+ },
1406
+ {
1407
+ "condition": {
1408
+ "requestedModels": ["auto-gpt-5.4"]
1409
+ },
1410
+ "target": "openai/gpt-5.4-mini"
1325
1411
  }
1326
1412
  ]
1327
1413
  },
@@ -1340,6 +1426,30 @@ their corresponding top-level category object in your `settings.json` file.
1340
1426
  },
1341
1427
  "target": "gemini-2.5-pro"
1342
1428
  },
1429
+ {
1430
+ "condition": {
1431
+ "requestedModels": ["auto-gemini-3.5"]
1432
+ },
1433
+ "target": "gemini-3.5-flash"
1434
+ },
1435
+ {
1436
+ "condition": {
1437
+ "requestedModels": ["auto-grok-4.5"]
1438
+ },
1439
+ "target": "xai/grok-4.5"
1440
+ },
1441
+ {
1442
+ "condition": {
1443
+ "requestedModels": ["auto-gpt-5.6-frontier"]
1444
+ },
1445
+ "target": "openai/gpt-5.6-terra"
1446
+ },
1447
+ {
1448
+ "condition": {
1449
+ "requestedModels": ["auto-gpt-5.4"]
1450
+ },
1451
+ "target": "openai/gpt-5.4"
1452
+ },
1343
1453
  {
1344
1454
  "condition": {
1345
1455
  "useGemini3_1": true,
@@ -1385,7 +1495,7 @@ their corresponding top-level category object in your `settings.json` file.
1385
1495
  }
1386
1496
  },
1387
1497
  {
1388
- "model": "gemini-3-flash-preview",
1498
+ "model": "gemini-3.5-flash",
1389
1499
  "isLastResort": true,
1390
1500
  "maxAttempts": 10,
1391
1501
  "actions": {
@@ -1420,7 +1530,7 @@ their corresponding top-level category object in your `settings.json` file.
1420
1530
  }
1421
1531
  },
1422
1532
  {
1423
- "model": "gemini-3-flash-preview",
1533
+ "model": "gemini-3.5-flash",
1424
1534
  "isLastResort": true,
1425
1535
  "maxAttempts": 10,
1426
1536
  "actions": {
@@ -2098,8 +2208,9 @@ their corresponding top-level category object in your `settings.json` file.
2098
2208
 
2099
2209
  - **Description:** The Whisper model to use for local transcription.
2100
2210
  - **Default:** `"ggml-base.en.bin"`
2101
- - **Values:** `"ggml-tiny.en.bin"`, `"ggml-base.en.bin"`,
2102
- `"ggml-large-v3-turbo-q5_0.bin"`, `"ggml-large-v3-turbo-q8_0.bin"`
2211
+ - **Values:** `"ggml-tiny.bin"`, `"ggml-base.bin"`, `"ggml-tiny.en.bin"`,
2212
+ `"ggml-base.en.bin"`, `"ggml-large-v3-turbo-q5_0.bin"`,
2213
+ `"ggml-large-v3-turbo-q8_0.bin"`
2103
2214
 
2104
2215
  - **`experimental.voice.stopGracePeriodMs`** (number):
2105
2216
 
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export * from './src/index.js';
7
7
  export { Storage } from './src/config/storage.js';
8
- export { DEFAULT_GEMINI_MODEL, DEFAULT_GEMINI_MODEL_AUTO, AUTO_GEMINI_3_5_MODEL, DEFAULT_GEMINI_FLASH_MODEL, DEFAULT_GEMINI_FLASH_LITE_MODEL, DEFAULT_GEMINI_EMBEDDING_MODEL, GEMMA_4_31B_IT_MODEL, GEMMA_4_26B_A4B_IT_MODEL, GEMINI_3_5_FLASH_MODEL, } from './src/config/models.js';
8
+ export { DEFAULT_GEMINI_MODEL, DEFAULT_GEMINI_MODEL_AUTO, AUTO_GEMINI_3_5_MODEL, AUTO_GROK_4_5_MODEL, AUTO_GPT_5_6_FRONTIER_MODEL, AUTO_GPT_5_4_MODEL, DEFAULT_GEMINI_FLASH_MODEL, DEFAULT_GEMINI_FLASH_LITE_MODEL, DEFAULT_GEMINI_3_6_FLASH_MODEL, DEFAULT_GEMINI_EMBEDDING_MODEL, GEMMA_4_31B_IT_MODEL, GEMMA_4_26B_A4B_IT_MODEL, GEMINI_3_5_FLASH_MODEL, } from './src/config/models.js';
9
9
  export { serializeTerminalToObject, type AnsiOutput, type AnsiLine, type AnsiToken, } from './src/utils/terminalSerializer.js';
10
10
  export { DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD } from './src/config/config.js';
11
11
  export { detectIdeFromEnv } from './src/ide/detect-ide.js';
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export * from './src/index.js';
7
7
  export { Storage } from './src/config/storage.js';
8
- export { DEFAULT_GEMINI_MODEL, DEFAULT_GEMINI_MODEL_AUTO, AUTO_GEMINI_3_5_MODEL, DEFAULT_GEMINI_FLASH_MODEL, DEFAULT_GEMINI_FLASH_LITE_MODEL, DEFAULT_GEMINI_EMBEDDING_MODEL, GEMMA_4_31B_IT_MODEL, GEMMA_4_26B_A4B_IT_MODEL, GEMINI_3_5_FLASH_MODEL, } from './src/config/models.js';
8
+ export { DEFAULT_GEMINI_MODEL, DEFAULT_GEMINI_MODEL_AUTO, AUTO_GEMINI_3_5_MODEL, AUTO_GROK_4_5_MODEL, AUTO_GPT_5_6_FRONTIER_MODEL, AUTO_GPT_5_4_MODEL, DEFAULT_GEMINI_FLASH_MODEL, DEFAULT_GEMINI_FLASH_LITE_MODEL, DEFAULT_GEMINI_3_6_FLASH_MODEL, DEFAULT_GEMINI_EMBEDDING_MODEL, GEMMA_4_31B_IT_MODEL, GEMMA_4_26B_A4B_IT_MODEL, GEMINI_3_5_FLASH_MODEL, } from './src/config/models.js';
9
9
  export { serializeTerminalToObject, } from './src/utils/terminalSerializer.js';
10
10
  export { DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD } from './src/config/config.js';
11
11
  export { detectIdeFromEnv } from './src/ide/detect-ide.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,M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  "description": "Cell CLI Core",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "@google/genai": "1.30.0",
22
22
  "@grpc/grpc-js": "1.14.3",
23
23
  "@iarna/toml": "2.2.5",
24
- "@machina.ai/auth-keycloak": "1.19.4-rc0",
24
+ "@machina.ai/auth-keycloak": "1.19.4-rc1",
25
25
  "@machina.ai/config-yaml": "1.11.1",
26
26
  "@modelcontextprotocol/sdk": "1.23.0",
27
27
  "@opentelemetry/api": "1.9.0",
@@ -97,8 +97,8 @@ declare const localAgentSchema: z.ZodObject<{
97
97
  stdio?: boolean | undefined;
98
98
  description?: string | undefined;
99
99
  timeout?: number | undefined;
100
- trust?: boolean | undefined;
101
100
  headers?: Record<string, string> | undefined;
101
+ trust?: boolean | undefined;
102
102
  auth?: {
103
103
  type: "google-credentials";
104
104
  scopes?: string[] | undefined;
@@ -129,8 +129,8 @@ declare const localAgentSchema: z.ZodObject<{
129
129
  stdio?: boolean | undefined;
130
130
  description?: string | undefined;
131
131
  timeout?: number | undefined;
132
- trust?: boolean | undefined;
133
132
  headers?: Record<string, string> | undefined;
133
+ trust?: boolean | undefined;
134
134
  auth?: {
135
135
  type: "google-credentials";
136
136
  scopes?: string[] | undefined;
@@ -174,8 +174,8 @@ declare const localAgentSchema: z.ZodObject<{
174
174
  stdio?: boolean | undefined;
175
175
  description?: string | undefined;
176
176
  timeout?: number | undefined;
177
- trust?: boolean | undefined;
178
177
  headers?: Record<string, string> | undefined;
178
+ trust?: boolean | undefined;
179
179
  auth?: {
180
180
  type: "google-credentials";
181
181
  scopes?: string[] | undefined;
@@ -217,8 +217,8 @@ declare const localAgentSchema: z.ZodObject<{
217
217
  stdio?: boolean | undefined;
218
218
  description?: string | undefined;
219
219
  timeout?: number | undefined;
220
- trust?: boolean | undefined;
221
220
  headers?: Record<string, string> | undefined;
221
+ trust?: boolean | undefined;
222
222
  auth?: {
223
223
  type: "google-credentials";
224
224
  scopes?: string[] | undefined;
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { supersedeStaleSnapshots } from './snapshotSuperseder.js';
7
7
  import { z } from 'zod';
8
- import { isPreviewModel, PREVIEW_GEMINI_FLASH_MODEL, DEFAULT_GEMINI_FLASH_MODEL, } from '../../config/models.js';
8
+ import { isPreviewModel, DEFAULT_GEMINI_3_5_FLASH_MODEL, DEFAULT_GEMINI_FLASH_MODEL, } from '../../config/models.js';
9
9
  /** Canonical agent name — used for routing and configuration lookup. */
10
10
  export const BROWSER_AGENT_NAME = 'browser_agent';
11
11
  /**
@@ -104,7 +104,7 @@ export const BrowserAgentDefinition = (config, visionEnabled = false) => {
104
104
  // Use Preview Flash model if the main model is any of the preview models.
105
105
  // If the main model is not a preview model, use the default flash model.
106
106
  const model = isPreviewModel(config.getModel(), config)
107
- ? PREVIEW_GEMINI_FLASH_MODEL
107
+ ? DEFAULT_GEMINI_3_5_FLASH_MODEL
108
108
  : DEFAULT_GEMINI_FLASH_MODEL;
109
109
  return {
110
110
  name: BROWSER_AGENT_NAME,
@@ -1 +1 @@
1
- {"version":3,"file":"browserAgentDefinition.js","sourceRoot":"","sources":["../../../../src/agents/browser/browserAgentDefinition.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAYH,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,wEAAwE;AACxE,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;IAC5E,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CAAC,uDAAuD,CAAC;IACpE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W,EAAE,qCAAqC;qBACnD;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;SACF;QAED,YAAY,EAAE;YACZ,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,iCAAiC;YAC9C,MAAM,EAAE,uBAAuB;SAChC;QAED,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAE1D,WAAW,EAAE;YACX,8DAA8D;YAC9D,KAAK;YACL,qBAAqB,EAAE;gBACrB,WAAW,EAAE,GAAG;gBAChB,IAAI,EAAE,IAAI;aACX;SACF;QAED,SAAS,EAAE;YACT,cAAc,EAAE,EAAE;YAClB,QAAQ,EAAE,EAAE;SACb;QAED,wEAAwE;QACxE,4DAA4D;QAC5D,UAAU,EAAE,SAAS;QAErB,0EAA0E;QAC1E,2EAA2E;QAC3E,yEAAyE;QACzE,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC;QAErD,YAAY,EAAE;YACZ,KAAK,EAAE;;;;;6NAKgN;YACvN,YAAY,EAAE,wBAAwB,CACpC,aAAa,EACb,MAAM,CAAC,qBAAqB,EAAE,CAAC,YAAY,CAAC,cAAc,CAC3D;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"browserAgentDefinition.js","sourceRoot":"","sources":["../../../../src/agents/browser/browserAgentDefinition.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAYH,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,wEAAwE;AACxE,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,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,IAAI;QAClB,WAAW,EAAE,eAAe;QAC5B,WAAW,EAAE,owBAAowB;QAEjxB,WAAW,EAAE;YACX,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,qCAAqC;qBACnD;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;SACF;QAED,YAAY,EAAE;YACZ,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,iCAAiC;YAC9C,MAAM,EAAE,uBAAuB;SAChC;QAED,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAE1D,WAAW,EAAE;YACX,8DAA8D;YAC9D,KAAK;YACL,qBAAqB,EAAE;gBACrB,WAAW,EAAE,GAAG;gBAChB,IAAI,EAAE,IAAI;aACX;SACF;QAED,SAAS,EAAE;YACT,cAAc,EAAE,EAAE;YAClB,QAAQ,EAAE,EAAE;SACb;QAED,wEAAwE;QACxE,4DAA4D;QAC5D,UAAU,EAAE,SAAS;QAErB,0EAA0E;QAC1E,2EAA2E;QAC3E,yEAAyE;QACzE,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC;QAErD,YAAY,EAAE;YACZ,KAAK,EAAE;;;;;6NAKgN;YACvN,YAAY,EAAE,wBAAwB,CACpC,aAAa,EACb,MAAM,CAAC,qBAAqB,EAAE,CAAC,YAAY,CAAC,cAAc,CAC3D;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { GLOB_TOOL_NAME, GREP_TOOL_NAME, LS_TOOL_NAME, READ_FILE_TOOL_NAME, } from '../tools/tool-names.js';
7
- import { DEFAULT_THINKING_MODE, DEFAULT_GEMINI_MODEL, PREVIEW_GEMINI_FLASH_MODEL, supportsModernFeatures, } from '../config/models.js';
7
+ import { DEFAULT_THINKING_MODE, DEFAULT_GEMINI_MODEL, DEFAULT_GEMINI_3_5_FLASH_MODEL, supportsModernFeatures, } from '../config/models.js';
8
8
  import { z } from 'zod';
9
9
  import { ThinkingLevel } from '@google/genai';
10
10
  // Define a type that matches the outputConfig schema for type safety.
@@ -31,7 +31,7 @@ export const CodebaseInvestigatorAgent = (config) => {
31
31
  // Use Preview Flash model if the main model supports modern features.
32
32
  // If the main model is not a modern model, use the default pro model.
33
33
  const model = supportsModernFeatures(config.getModel())
34
- ? PREVIEW_GEMINI_FLASH_MODEL
34
+ ? DEFAULT_GEMINI_3_5_FLASH_MODEL
35
35
  : DEFAULT_GEMINI_MODEL;
36
36
  const listCommand = process.platform === 'win32'
37
37
  ? '`dir /s` (CMD) or `Get-ChildItem -Recurse` (PowerShell)'