moderado 0.4.26 → 0.4.33

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 (73) hide show
  1. package/README.md +82 -66
  2. package/dist/args.d.ts.map +1 -1
  3. package/dist/args.js +6 -2
  4. package/dist/args.js.map +1 -1
  5. package/dist/commands/chat.d.ts +7 -1
  6. package/dist/commands/chat.d.ts.map +1 -1
  7. package/dist/commands/chat.js +230 -82
  8. package/dist/commands/chat.js.map +1 -1
  9. package/dist/commands/models.d.ts.map +1 -1
  10. package/dist/commands/models.js +14 -12
  11. package/dist/commands/models.js.map +1 -1
  12. package/dist/commands/run.d.ts +11 -0
  13. package/dist/commands/run.d.ts.map +1 -1
  14. package/dist/commands/run.js +25 -8
  15. package/dist/commands/run.js.map +1 -1
  16. package/dist/config.d.ts +2 -1
  17. package/dist/config.d.ts.map +1 -1
  18. package/dist/config.js +50 -19
  19. package/dist/config.js.map +1 -1
  20. package/dist/sessions.d.ts.map +1 -1
  21. package/dist/sessions.js +6 -1
  22. package/dist/sessions.js.map +1 -1
  23. package/dist/ui/box.d.ts +6 -0
  24. package/dist/ui/box.d.ts.map +1 -1
  25. package/dist/ui/box.js +33 -1
  26. package/dist/ui/box.js.map +1 -1
  27. package/dist/ui/file_mentions.js +18 -9
  28. package/dist/ui/file_mentions.js.map +1 -1
  29. package/dist/ui/help_content.d.ts +17 -0
  30. package/dist/ui/help_content.d.ts.map +1 -0
  31. package/dist/ui/help_content.js +13 -0
  32. package/dist/ui/help_content.js.map +1 -0
  33. package/dist/ui/help_modal.d.ts.map +1 -1
  34. package/dist/ui/help_modal.js +5 -5
  35. package/dist/ui/help_modal.js.map +1 -1
  36. package/dist/ui/model_selector.d.ts.map +1 -1
  37. package/dist/ui/model_selector.js +6 -4
  38. package/dist/ui/model_selector.js.map +1 -1
  39. package/dist/ui/popup.d.ts.map +1 -1
  40. package/dist/ui/popup.js +4 -3
  41. package/dist/ui/popup.js.map +1 -1
  42. package/dist/ui/provider_connect.d.ts +13 -4
  43. package/dist/ui/provider_connect.d.ts.map +1 -1
  44. package/dist/ui/provider_connect.js +37 -29
  45. package/dist/ui/provider_connect.js.map +1 -1
  46. package/dist/ui/welcome.d.ts +16 -2
  47. package/dist/ui/welcome.d.ts.map +1 -1
  48. package/dist/ui/welcome.js +63 -33
  49. package/dist/ui/welcome.js.map +1 -1
  50. package/dist/vendor/contracts/provider.js +8 -8
  51. package/dist/vendor/contracts/provider.js.map +1 -1
  52. package/dist/vendor/core/agent.d.ts.map +1 -1
  53. package/dist/vendor/core/agent.js +6 -3
  54. package/dist/vendor/core/agent.js.map +1 -1
  55. package/dist/vendor/providers/model_discovery.js +1 -1
  56. package/dist/vendor/providers/model_discovery.js.map +1 -1
  57. package/dist/vendor/providers/nvidia/nvidia_adapter.d.ts +1 -1
  58. package/dist/vendor/providers/nvidia/nvidia_adapter.d.ts.map +1 -1
  59. package/dist/vendor/providers/nvidia/nvidia_adapter.js +4 -4
  60. package/dist/vendor/providers/nvidia/nvidia_adapter.js.map +1 -1
  61. package/dist/vendor/providers/nvidia/sse_parser.d.ts +1 -0
  62. package/dist/vendor/providers/nvidia/sse_parser.d.ts.map +1 -1
  63. package/dist/vendor/providers/nvidia/sse_parser.js +2 -1
  64. package/dist/vendor/providers/nvidia/sse_parser.js.map +1 -1
  65. package/dist/vendor/providers/presets.d.ts +12 -4
  66. package/dist/vendor/providers/presets.d.ts.map +1 -1
  67. package/dist/vendor/providers/presets.js +24 -15
  68. package/dist/vendor/providers/presets.js.map +1 -1
  69. package/package.json +3 -2
  70. package/dist/commands/interactive_menu.d.ts +0 -3
  71. package/dist/commands/interactive_menu.d.ts.map +0 -1
  72. package/dist/commands/interactive_menu.js +0 -98
  73. package/dist/commands/interactive_menu.js.map +0 -1
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Moderado
2
2
 
3
- > **A lightweight, provider-independent CLI coding agent with dynamic NVIDIA NIM discovery, free-first AUTO routing, and an uncompromised human-in-the-loop approval boundary.**
3
+ > **A lightweight, provider-independent CLI coding agent with dynamic NVIDIA NIM discovery, free-first AUTO routing, and an explicit human-in-the-loop approval boundary.**
4
4
 
5
5
  [![Latest release](https://img.shields.io/github/v/release/marcuz-apl/moderado)](https://github.com/marcuz-apl/moderado/releases/latest)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](file:///d:/projects/moderado/LICENSE)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
7
7
  [![Standards: Alfazen](https://img.shields.io/badge/standard-alfazen--coding-green.svg)](https://github.com/marcuz-apl/alfazen-skills)
8
8
 
9
9
  ---
@@ -14,7 +14,7 @@
14
14
  - **Provider-Independent Core**: Core agent loops, tool dispatching, and routing depend on pure contracts (`packages/contracts`) using Dependency Injection.
15
15
  - **Dynamic NVIDIA Discovery**: Queries live `/v1/models` from NVIDIA NIM hosted catalog or local NIM instances; never relies on stale static lists.
16
16
  - **Free-First AUTO Routing**: Intelligently ranks and selects verified free/trial tool-capable models before any paid endpoints. Paid models and unverified pricing require explicit user opt-in.
17
- - **Strict Approval Boundary**: Auto-approved reads; interactive human approval for file writes, edits, and command executions. Non-interactive sessions fail closed.
17
+ - **Approval Boundary**: Reads never prompt. Interactive chat starts with auto-approve on and toggles with `Shift+Tab`; `moderado run` prompts for every mutation unless you pass `-y`. Network commands and MCP tools always prompt, and non-interactive sessions fail closed.
18
18
  - **Minimalist & Bloat-Free (`ponytail`)**: Follows the Decision Ladder: YAGNI, standard library first (native Node `fetch`, `AbortController`, `child_process.spawn`), and zero unnecessary dependencies.
19
19
  - **Alfazen Versioning (`versioning-alfazen`)**: SemVer 2.0.0 with high-traceability connected UTC build prefixes (`v<m.n.p>+<yymmddc>`) and mandatory owner advisory gates for major releases.
20
20
 
@@ -24,14 +24,15 @@
24
24
 
25
25
  | Document | Purpose |
26
26
  |---|---|
27
- | [**PRD.md**](file:///d:/projects/moderado/PRD.md) | **Product Requirements Document**: Personas, requirements, CLI specs, and acceptance criteria |
28
- | [**AGENTS.md**](file:///d:/projects/moderado/AGENTS.md) | **Agent Operational Manual**: Rules of engagement, Ponytail Decision Ladder, and subagent patterns |
29
- | [**docs/ARCHITECTURE.md**](file:///d:/projects/moderado/docs/ARCHITECTURE.md) | **System Architecture**: Workspaces, Dependency Injection, state machines, and event streams |
30
- | [**docs/TOOLS.md**](file:///d:/projects/moderado/docs/TOOLS.md) | **Tool Specifications**: Schemas, limits, atomic writes, and validation rules for the workspace tools |
31
- | [**docs/ROUTING.md**](file:///d:/projects/moderado/docs/ROUTING.md) | **Discovery & Routing**: Classification taxonomy, AUTO selection algorithm, and retry/fallback cascades |
32
- | [**docs/SECURITY.md**](file:///d:/projects/moderado/docs/SECURITY.md) | **Security Model**: Workspace jail, `shell: false` isolation, environment cleansing, and injection defense |
27
+ | [**PRD.md**](../../PRD.md) | **Product Requirements Document**: Personas, requirements, CLI specs, and acceptance criteria |
28
+ | [**AGENTS.md**](../../AGENTS.md) | **Agent Operational Manual**: Rules of engagement, Ponytail Decision Ladder, and subagent patterns |
29
+ | [**docs/ARCHITECTURE.md**](../../docs/ARCHITECTURE.md) | **System Architecture**: Workspaces, Dependency Injection, and event streams |
30
+ | [**docs/TOOLS.md**](../../docs/TOOLS.md) | **Tool Specifications**: Schemas, limits, atomic writes, and validation rules for the workspace tools |
31
+ | [**docs/ROUTING.md**](../../docs/ROUTING.md) | **Discovery & Routing**: Classification taxonomy, AUTO selection algorithm, and retry/fallback cascades |
32
+ | [**docs/SECURITY.md**](../../docs/SECURITY.md) | **Security Model**: Workspace jail, `shell: false` isolation, environment cleansing, and injection defense |
33
+ | [**docs/GUIDE.md**](../../docs/GUIDE.md) | **User Guide**: TUI capabilities, skills, MCP servers, and provider presets |
33
34
  | [**docs/COMPETITIVE_ANALYSIS.md**](../../docs/COMPETITIVE_ANALYSIS.md) | **Competitive Analysis**: Verified Cline CLI and OpenCode CLI feature survey, gap analysis, and deliberate non-goals |
34
- | [**HANDOFF.md**](file:///d:/projects/moderado/HANDOFF.md) | **Project Handoff Snapshot**: Real-time status, decisions, blockers, and next implementation milestones |
35
+ | [**HANDOFF.md**](../../HANDOFF.md) | **Project Handoff Snapshot**: Status, decisions, blockers, and next implementation milestones |
35
36
 
36
37
  ---
37
38
 
@@ -42,11 +43,11 @@ Moderado is organized as an npm workspace:
42
43
  ```text
43
44
  moderado/
44
45
  ├── apps/
45
- │ └── cli/ # v0.1 CLI application and terminal event rendering
46
+ │ └── cli/ # CLI application and terminal event rendering
46
47
  ├── packages/
47
48
  │ ├── contracts/ # Pure TypeScript interfaces, Zod schemas, events
48
- │ ├── core/ # Agent loop, routing policy, session state machine
49
- │ ├── providers/ # NVIDIA NIM HTTP adapter and mock/fake providers
49
+ │ ├── core/ # Agent loop, routing policy, subagent delegation
50
+ │ ├── providers/ # NVIDIA NIM and OpenAI-compatible adapters, presets
50
51
  │ └── tools/ # Workspace file jail and process execution engine
51
52
  ├── tests/ # Cross-package and CLI integration tests
52
53
  ├── docs/ # Architectural and subsystem specifications
@@ -67,6 +68,9 @@ moderado models
67
68
  # Run a bounded coding task in the current workspace (default AUTO routing)
68
69
  moderado run "Add unit tests for user authentication"
69
70
 
71
+ # Approve mutations without prompting (required when stdin is not a terminal)
72
+ moderado run "Add unit tests" --auto-approve
73
+
70
74
  # Pin a specific model (disables fallback)
71
75
  moderado run "Refactor database client" --model meta/llama-3.3-70b-instruct
72
76
 
@@ -77,6 +81,8 @@ moderado run "Audit codebase" --profile local-nim
77
81
  moderado run "Analyze security boundaries" --read-only
78
82
  ```
79
83
 
84
+ Every command is also available through the short `modr` alias.
85
+
80
86
  ---
81
87
 
82
88
  ## Install Moderado
@@ -88,11 +94,13 @@ npm install -g moderado
88
94
  moderado --help
89
95
  ```
90
96
 
91
- The latest published release is 0.4.26. Its `/connect` flow handles the
92
- Gateway and direct providers; `/login` is no longer offered. The previous
93
- 0.4.8 release uses `/login` for the Gateway. The earlier 0.3.10 release is
94
- self-contained and works without the Gateway. All three use the `moderado`
95
- command name.
97
+ The 0.4.33 release candidate restores the approval boundary in `moderado run`,
98
+ fixes `@file` mention replacement, aligns boxes and wrapped text for CJK and
99
+ emoji, and makes the offline suite deterministic on Windows. It also ships the
100
+ `modr` command alias, Gateway authorization recovery with key re-entry, a live
101
+ progress row, and the canonical `moderado` provider identity. `/connect` handles
102
+ the Gateway and direct providers; releases before 0.4.10 used `/login` for the
103
+ Gateway. The 0.3.10 release is self-contained and works without the Gateway.
96
104
 
97
105
  Install the latest release with `npm install -g moderado`. To install a specific
98
106
  version, run `npm install -g moderado@<version>`. Prebuilt binaries and the curl
@@ -126,6 +134,7 @@ an actionable error and leaves the current installation intact. Update it
126
134
  manually with its original installer or package manager, for example
127
135
  `npm install -g moderado` or the Homebrew/Scoop command above. An interrupted
128
136
  update reports cancellation; run the command again when ready.
137
+
129
138
  To build from source instead:
130
139
 
131
140
  ```bash
@@ -142,31 +151,35 @@ Maintainers can install a verified release artifact directly with
142
151
 
143
152
  ### Connect to the Moderado Gateway
144
153
 
145
- In the current source build, run `/connect`, choose Moderado Gateway, and then
154
+ In the current source build, run `/connect`, choose Moderado, and then
146
155
  choose public access or sign in.
147
- Browser authorization or a Moderado Cloud `mrd_` API key is optional for account
156
+ Browser authorization or a Moderado `mrd_` API key is optional for account
148
157
  features. `/model` lists configured Gateway routes: `auto` follows Gateway
149
158
  routing, while selecting a route pins requests to it. Existing BYOK and local
150
159
  provider profiles remain independent.
151
160
 
152
- The same `/connect` menu offers OpenRouter, NVIDIA NIM, Agnes AI, OrcaRouter,
153
- Ollama, LM Studio, and custom OpenAI-compatible providers. The published 0.4.8
154
- release still uses `/login` for the Gateway.
161
+ The same `/connect` menu offers OpenRouter, NVIDIA NIM, Ollama,
162
+ LM Studio, and custom OpenAI-compatible providers. Releases before 0.4.10 used
163
+ `/login` for the Gateway.
155
164
 
156
- Cloud OAuth credentials last 30 days and have no refresh token; authorize again
165
+ Moderado OAuth credentials last 30 days and have no refresh token; authorize again
157
166
  after expiry. On Windows, credentials are stored in Windows Credential Manager.
158
167
  On other platforms, the current credential store is memory-only, so log in again
159
168
  after starting a new CLI process.
160
169
 
161
- Cloud connections use their configured Gateway URL. Loopback URLs such as
170
+ Moderado connections use their configured Gateway URL. Loopback URLs such as
162
171
  `http://127.0.0.1:4788/v1` are treated as local development; HTTPS URLs for a
163
172
  NAS, VPS, or other remote host are used as configured. To set the URL before
164
- first login, define `MODERADO_CLOUD_BASE_URL`. `MODERADO_CLOUD_ENV=development`
165
- and `MODERADO_CLOUD_ENV=production` remain available as explicit overrides.
173
+ first login, define `MODERADO_BASE_URL`. Production defaults to
174
+ `https://modr.alfazen.org/v1`; `MODERADO_ENV=development` selects the local
175
+ server and `MODERADO_ENV=production` explicitly selects production. The legacy
176
+ `MODERADO_CLOUD_ENV` and `MODERADO_CLOUD_BASE_URL` names remain fallbacks when
177
+ their corresponding canonical variables are unset. For an environment-provided
178
+ Moderado key, use `MODERADO_API_KEY`; `MODERADO_CLOUD_API_KEY` remains its
179
+ fallback when the canonical variable is unset.
180
+
181
+ ---
166
182
 
167
- Run `moderado doctor` to inspect local setup without exposing secrets. Add
168
- `--connectivity` only when you want an optional live model-catalog check.
169
- `npm test` never performs live provider calls.
170
183
  ## Getting Started & Development
171
184
 
172
185
  ### Log in and select a model in the TUI
@@ -176,7 +189,7 @@ an API key or a preselected model. The welcome card shows **No model connected
176
189
  use `/connect`** until you add one.
177
190
 
178
191
  Use `/connect` to choose the Gateway or another provider. The Gateway offers a
179
- route picker after connection; `/model` can change the route later. Cloud `auto`
192
+ route picker after connection; `/model` can change the route later. Moderado `auto`
180
193
  follows the Gateway's configured pool, while choosing a route pins subsequent
181
194
  requests to it.
182
195
 
@@ -185,45 +198,14 @@ requests to it.
185
198
  Moderado stores sessions per workspace in `~/.moderado/sessions/`. Use
186
199
  `/session` to create, resume, export, or compact a local conversation. Session
187
200
  exports redact recognized API-key prefixes. The status line uses only
188
- provider-reported token usage. It shows `$0.00` for Moderado Cloud free routes,
201
+ provider-reported token usage. It shows `$0.00` for Moderado free routes,
189
202
  calculates cost when a model exposes prompt and completion prices, and shows
190
203
  **Cost unknown** when a metered model's pricing is unavailable.
191
204
 
192
205
  Saved OpenAI-compatible profiles continue to support providers such as
193
206
  OpenRouter, Z.AI, DeepSeek, Moonshot, and Mistral. Compatibility depends on each
194
207
  provider supporting `/v1/models` and streaming `/v1/chat/completions` with tool
195
- calls. Cloud keys are never written in plaintext to `~/.moderado/config.json`.
196
-
197
- ### 1. Build & Test
198
- ```bash
199
- # Install workspace dependencies
200
- npm install
201
-
202
- # Build all packages via TypeScript project references
203
- npm run build
204
-
205
- # Run full automated test suite (100% offline, zero API keys required)
206
- npm test
207
- ```
208
-
209
- ### 2. Manual Live Smoke Test (Optional)
210
- To test live model discovery and chat against NVIDIA NIM with real credentials:
211
- ```bash
212
- # PowerShell
213
- $env:NVIDIA_API_KEY="nvapi-..."
214
- node scripts/smoke_test.js
215
-
216
- # POSIX (bash/zsh)
217
- export NVIDIA_API_KEY="nvapi-..."
218
- node scripts/smoke_test.js
219
- ```
220
-
221
- ---
222
-
223
- ## License
224
-
225
- This project is licensed under the MIT License.
226
- *NVIDIA NIM, NGC, and model weights/APIs are subject to their respective terms and licenses. Moderado is independent and not endorsed by NVIDIA.*
208
+ calls. Moderado keys are never written in plaintext to `~/.moderado/config.json`.
227
209
 
228
210
  ### Practical coding workflow
229
211
 
@@ -232,7 +214,7 @@ Use `/workflow` from the TUI to work through a change safely:
232
214
  - **Git status** shows the current branch and changed files without using a shell.
233
215
  - **Review diff** shows the bounded working-tree diff.
234
216
  - In **Plan** mode, Moderado asks the model for a concise checklist and cannot make workspace changes. Choose **Build plan** and confirm to send that checklist to Execute mode.
235
- - File writes, exact edits, and multi-file patches show their change preview and still require approval. Moderado records a byte-preserving checkpoint immediately before an approved file mutation.
217
+ - File writes, exact edits, and multi-file patches show their change preview and still require approval when auto-approve is off. Moderado records a byte-preserving checkpoint immediately before an approved file mutation.
236
218
  - **Undo latest agent change** requires its own approval. It restores the latest completed checkpoint from `~/.moderado/checkpoints/` only when every affected file still has the expected post-change digest. If a file changed externally, it reports the conflict and restores nothing.
237
219
 
238
220
  ### Diagnostics evidence
@@ -253,7 +235,36 @@ Moderado exposes a versioned host-event envelope with session identity and monot
253
235
 
254
236
  ### Doctor command
255
237
 
256
- Run `moderado doctor` to check the local Node runtime, workspace, Moderado home directory, provider/key presence, Git, and npm without exposing credentials. Run `moderado doctor --connectivity` only when you want an explicit live provider catalog check.
238
+ Run `moderado doctor` to check the local Node runtime, workspace, Moderado home directory, provider/key presence, Git, and npm without exposing credentials. Add `--connectivity` only when you want an explicit live provider catalog check. `npm test` never performs live provider calls.
239
+
240
+ ### 1. Build & Test
241
+
242
+ ```bash
243
+ # Install workspace dependencies
244
+ npm install
245
+
246
+ # Build all packages via TypeScript project references
247
+ npm run build
248
+
249
+ # Run full automated test suite (100% offline, zero API keys required)
250
+ npm test
251
+ ```
252
+
253
+ ### 2. Manual Live Smoke Test (Optional)
254
+
255
+ To test live model discovery and chat against NVIDIA NIM with real credentials:
256
+
257
+ ```bash
258
+ # PowerShell
259
+ $env:NVIDIA_API_KEY="nvapi-..."
260
+ node scripts/smoke_test.js
261
+
262
+ # POSIX (bash/zsh)
263
+ export NVIDIA_API_KEY="nvapi-..."
264
+ node scripts/smoke_test.js
265
+ ```
266
+
267
+ ---
257
268
 
258
269
  ## Windows credential storage
259
270
 
@@ -262,3 +273,8 @@ Manager and keeps only a credential reference in `~/.moderado/config.json`.
262
273
  Non-Windows platforms use the current memory-only credential store, so log in
263
274
  again for each new CLI process. Existing BYOK environment variables and saved
264
275
  profiles remain independent.
276
+
277
+ ## License
278
+
279
+ This project is licensed under the MIT License.
280
+ *NVIDIA NIM, NGC, and model weights/APIs are subject to their respective terms and licenses. Moderado is independent and not endorsed by NVIDIA.*
@@ -1 +1 @@
1
- {"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAEA,MA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SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,YAAY,CAAC,IAAI,GAAE,MAAM,EAA0B,GAAG,aAAa,CAsFlF;AAED,wBAAgB,WAAW,IAAI,MAAM,CAwCpC"}
package/dist/args.js CHANGED
@@ -99,10 +99,12 @@ USAGE:
99
99
  moderado upgrade
100
100
  moderado run "<task>" [options]
101
101
  moderado "<task>" [options]
102
+ (every command is also available through the "modr" alias)
102
103
 
103
104
  COMMANDS:
104
105
  models Discover live models, capability & access tiers
105
- run "<task>" Execute a bounded coding task in the workspace\n skills List built-in and user skills
106
+ run "<task>" Execute a bounded coding task in the workspace
107
+ skills List built-in and user skills
106
108
  skills on|off NAME|PATTERN Enable or disable user skills (* matches all)
107
109
  doctor Check local Moderado setup
108
110
  update Update within the current major version
@@ -112,14 +114,16 @@ OPTIONS:
112
114
  -w, --workspace <path> Target workspace directory (default: current directory)
113
115
  -m, --model <id> Pin a specific model (disables AUTO fallback)
114
116
  -p, --profile <name> Target configured profile (default: hosted-nvidia)
117
+ --provider <name> Limit the models catalog to one provider
115
118
  --max-steps <int> Upper bound on tool interaction cycles (default: 25)
116
119
  --max-tokens <int> Hard limit on generated output tokens per response (default: 1024)
117
120
  --timeout <seconds> Global session execution timeout (default: 600s)
118
121
  --read-only Enforce read-only mode (blocks writes & commands)
119
- -y, --auto-approve Automatically approve all tool operations
122
+ -y, --auto-approve Approve every tool operation without prompting
120
123
  --non-interactive Fail closed on operations requiring approval
121
124
  --allow-paid Permit paid models during AUTO routing
122
125
  --allow-unknown Permit unverified/unknown access models in AUTO
126
+ --connectivity Run a live provider catalog check (doctor)
123
127
  --verbose Display raw tool inputs and event logs
124
128
  --json Output results in structured JSON (models command)
125
129
  --migrate-credentials Move legacy Windows config keys into Credential Manager
package/dist/args.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"args.js","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AA4BtC,MAAM,UAAU,YAAY,CAAC,OAAiB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACjE,MAAM,aAAa,GAAG;QACpB,SAAS,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE;QAChE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,KAAK,EAAE,GAAG,EAAE;QAC9C,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE;QACrC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,eAAe,EAAE;QAC1E,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,OAAO,EAAE,IAAI,EAAE;QACvD,YAAY,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE;QACzC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,OAAO,EAAE,KAAK,EAAE;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e,CAAC,CAAC;QACrD,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;QACvC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;QACjC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;QACvC,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC;QACjD,kBAAkB,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;QACjE,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;QACjC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;KACxC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,WAAW;IACzB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCR,CAAC;AACF,CAAC"}
@@ -7,6 +7,7 @@ import { ModeradoConfig, ProviderConnection } from '../config.js';
7
7
  import { StoredSession } from '../sessions.js';
8
8
  import { selectConfirmPopup, selectListPopup } from '../ui/popup.js';
9
9
  export declare function createConnectionProvider(connection: ProviderConnection): NvidiaAdapter;
10
+ export declare function getProviderStatusName(connection?: Pick<ProviderConnection, 'id' | 'displayName'>): string | undefined;
10
11
  export declare function formatSessionExitSummary(session: StoredSession, modelId?: string): string;
11
12
  export declare function createAgentTask(request: string, mode: 'Plan' | 'Execute'): string;
12
13
  export declare function createReviewTask(changedFiles: string[]): string;
@@ -24,6 +25,11 @@ export declare function formatTurnFailureAnswer(status: string, errorEvent: {
24
25
  code?: string;
25
26
  message: string;
26
27
  } | undefined, modelId: string, otherConnections?: string[]): string;
28
+ /** A turn whose provider rejected its credential may recover by re-entering a key once. */
29
+ export declare function turnFailedAuthentication(status: string, errorEvent: {
30
+ code?: string;
31
+ message: string;
32
+ } | undefined): boolean;
27
33
  export declare function resolveTurnAssistantAnswer(result: {
28
34
  status: string;
29
35
  messages: ChatMessage[];
@@ -37,7 +43,7 @@ export declare function resolveTurnAssistantAnswer(result: {
37
43
  answer: string;
38
44
  isError: boolean;
39
45
  };
40
- export declare function saveFailedTurnPrompt(history: ChatMessage[], prompt: string): ChatMessage[];
46
+ export declare function saveFailedTurnPrompt(history: ChatMessage[], prompt: string, partialResponse?: string): ChatMessage[];
41
47
  export declare function isBareExitCommand(input: string): boolean;
42
48
  /** Resolve the required, explicit local destination for `/session share`. */
43
49
  export declare function resolveSessionSharePath(workspaceRoot: string, outputPath: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/commands/chat.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAkG,kBAAkB,EAA0D,MAAM,iBAAiB,CAAC;AAC7M,OAAO,KAAK,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,WAAW,EAAoB,aAAa,EAAE,eAAe,EAAyB,UAAU,EAAmB,MAAM,qBAAqB,CAAC;AAC3L,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAuD,cAAc,EAAE,kBAAkB,EAA2K,MAAM,cAAc,CAAC;AAUhS,OAAO,EAAyH,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACtK,OAAO,EAAkC,kBAAkB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAQrG,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,kBAAkB,GAAG,aAAa,CAEtF;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAazF;AASD,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,G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