moderado 0.4.28 → 0.4.34

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 (77) hide show
  1. package/README.md +88 -68
  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 +6 -0
  6. package/dist/commands/chat.d.ts.map +1 -1
  7. package/dist/commands/chat.js +161 -59
  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/http_shutdown.d.ts +22 -0
  21. package/dist/http_shutdown.d.ts.map +1 -0
  22. package/dist/http_shutdown.js +36 -0
  23. package/dist/http_shutdown.js.map +1 -0
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +16 -1
  26. package/dist/index.js.map +1 -1
  27. package/dist/self_update.d.ts +6 -0
  28. package/dist/self_update.d.ts.map +1 -1
  29. package/dist/self_update.js +17 -1
  30. package/dist/self_update.js.map +1 -1
  31. package/dist/sessions.d.ts.map +1 -1
  32. package/dist/sessions.js +6 -1
  33. package/dist/sessions.js.map +1 -1
  34. package/dist/ui/box.d.ts +6 -0
  35. package/dist/ui/box.d.ts.map +1 -1
  36. package/dist/ui/box.js +33 -1
  37. package/dist/ui/box.js.map +1 -1
  38. package/dist/ui/file_mentions.js +18 -9
  39. package/dist/ui/file_mentions.js.map +1 -1
  40. package/dist/ui/model_selector.d.ts.map +1 -1
  41. package/dist/ui/model_selector.js +6 -4
  42. package/dist/ui/model_selector.js.map +1 -1
  43. package/dist/ui/popup.d.ts.map +1 -1
  44. package/dist/ui/popup.js +10 -3
  45. package/dist/ui/popup.js.map +1 -1
  46. package/dist/ui/provider_connect.d.ts +13 -4
  47. package/dist/ui/provider_connect.d.ts.map +1 -1
  48. package/dist/ui/provider_connect.js +37 -29
  49. package/dist/ui/provider_connect.js.map +1 -1
  50. package/dist/ui/welcome.d.ts +25 -3
  51. package/dist/ui/welcome.d.ts.map +1 -1
  52. package/dist/ui/welcome.js +69 -25
  53. package/dist/ui/welcome.js.map +1 -1
  54. package/dist/vendor/contracts/provider.js +8 -8
  55. package/dist/vendor/contracts/provider.js.map +1 -1
  56. package/dist/vendor/core/agent.d.ts.map +1 -1
  57. package/dist/vendor/core/agent.js +6 -3
  58. package/dist/vendor/core/agent.js.map +1 -1
  59. package/dist/vendor/providers/model_discovery.js +1 -1
  60. package/dist/vendor/providers/model_discovery.js.map +1 -1
  61. package/dist/vendor/providers/nvidia/nvidia_adapter.d.ts +1 -1
  62. package/dist/vendor/providers/nvidia/nvidia_adapter.d.ts.map +1 -1
  63. package/dist/vendor/providers/nvidia/nvidia_adapter.js +4 -4
  64. package/dist/vendor/providers/nvidia/nvidia_adapter.js.map +1 -1
  65. package/dist/vendor/providers/nvidia/sse_parser.d.ts +1 -0
  66. package/dist/vendor/providers/nvidia/sse_parser.d.ts.map +1 -1
  67. package/dist/vendor/providers/nvidia/sse_parser.js +2 -1
  68. package/dist/vendor/providers/nvidia/sse_parser.js.map +1 -1
  69. package/dist/vendor/providers/presets.d.ts +12 -4
  70. package/dist/vendor/providers/presets.d.ts.map +1 -1
  71. package/dist/vendor/providers/presets.js +24 -15
  72. package/dist/vendor/providers/presets.js.map +1 -1
  73. package/package.json +26 -8
  74. package/dist/commands/interactive_menu.d.ts +0 -3
  75. package/dist/commands/interactive_menu.d.ts.map +0 -1
  76. package/dist/commands/interactive_menu.js +0 -98
  77. 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,12 +94,18 @@ npm install -g moderado
88
94
  moderado --help
89
95
  ```
90
96
 
91
- The 0.4.28 release candidate adds organized `/help` command groups and resumes
92
- interrupted chat sessions. Its `/connect` flow handles the
93
- Gateway and direct providers; `/login` is no longer offered. The previous
94
- 0.4.8 release uses `/login` for the Gateway. The earlier 0.3.10 release is
95
- self-contained and works without the Gateway. All three use the `moderado`
96
- command name.
97
+ The 0.4.34 release fixes the frozen CLI: Ctrl+C always has a way out. Popups
98
+ cancel on the first press instead of swallowing the key, and a turn that ignores
99
+ the abort (a stalled provider stream or a hung tool) force-exits on a second
100
+ press — draining undici sockets first so Node 24 never hits the libuv
101
+ `UV_HANDLE_CLOSING` assertion. The 0.4.33 release restores the approval boundary
102
+ in `moderado run`, fixes `@file` mention replacement, aligns boxes and wrapped
103
+ text for CJK and emoji, and makes the offline suite deterministic on Windows. It
104
+ also ships the `modr` command alias, Gateway authorization recovery with key
105
+ re-entry, a live progress row, and the canonical `moderado` provider identity.
106
+ `/connect` handles the Gateway and direct providers; earlier releases used
107
+ `/login` for the Gateway. The 0.3.10 release is self-contained and works without
108
+ the Gateway.
97
109
 
98
110
  Install the latest release with `npm install -g moderado`. To install a specific
99
111
  version, run `npm install -g moderado@<version>`. Prebuilt binaries and the curl
@@ -102,7 +114,7 @@ npm and Scoop. See `docs/DISTRIBUTION.md` for package-manager details.
102
114
 
103
115
  ### Update an existing installation
104
116
 
105
- These commands are available starting with Moderado v0.4.18.
117
+ These commands are available in the current release.
106
118
 
107
119
  ```bash
108
120
  moderado update # latest release within the installed major version
@@ -127,6 +139,7 @@ an actionable error and leaves the current installation intact. Update it
127
139
  manually with its original installer or package manager, for example
128
140
  `npm install -g moderado` or the Homebrew/Scoop command above. An interrupted
129
141
  update reports cancellation; run the command again when ready.
142
+
130
143
  To build from source instead:
131
144
 
132
145
  ```bash
@@ -143,31 +156,35 @@ Maintainers can install a verified release artifact directly with
143
156
 
144
157
  ### Connect to the Moderado Gateway
145
158
 
146
- In the current source build, run `/connect`, choose Moderado Gateway, and then
159
+ In the current source build, run `/connect`, choose Moderado, and then
147
160
  choose public access or sign in.
148
- Browser authorization or a Moderado Cloud `mrd_` API key is optional for account
161
+ Browser authorization or a Moderado `mrd_` API key is optional for account
149
162
  features. `/model` lists configured Gateway routes: `auto` follows Gateway
150
163
  routing, while selecting a route pins requests to it. Existing BYOK and local
151
164
  provider profiles remain independent.
152
165
 
153
- The same `/connect` menu offers OpenRouter, NVIDIA NIM, Agnes AI, OrcaRouter,
154
- Ollama, LM Studio, and custom OpenAI-compatible providers. The published 0.4.8
155
- release still uses `/login` for the Gateway.
166
+ The same `/connect` menu offers OpenRouter, NVIDIA NIM, Ollama,
167
+ LM Studio, and custom OpenAI-compatible providers. Earlier releases used
168
+ `/login` for the Gateway.
156
169
 
157
- Cloud OAuth credentials last 30 days and have no refresh token; authorize again
170
+ Moderado OAuth credentials last 30 days and have no refresh token; authorize again
158
171
  after expiry. On Windows, credentials are stored in Windows Credential Manager.
159
172
  On other platforms, the current credential store is memory-only, so log in again
160
173
  after starting a new CLI process.
161
174
 
162
- Cloud connections use their configured Gateway URL. Loopback URLs such as
175
+ Moderado connections use their configured Gateway URL. Loopback URLs such as
163
176
  `http://127.0.0.1:4788/v1` are treated as local development; HTTPS URLs for a
164
177
  NAS, VPS, or other remote host are used as configured. To set the URL before
165
- first login, define `MODERADO_CLOUD_BASE_URL`. `MODERADO_CLOUD_ENV=development`
166
- and `MODERADO_CLOUD_ENV=production` remain available as explicit overrides.
178
+ first login, define `MODERADO_BASE_URL`. Production defaults to
179
+ `https://modr.alfazen.org/v1`; `MODERADO_ENV=development` selects the local
180
+ server and `MODERADO_ENV=production` explicitly selects production. The legacy
181
+ `MODERADO_CLOUD_ENV` and `MODERADO_CLOUD_BASE_URL` names remain fallbacks when
182
+ their corresponding canonical variables are unset. For an environment-provided
183
+ Moderado key, use `MODERADO_API_KEY`; `MODERADO_CLOUD_API_KEY` remains its
184
+ fallback when the canonical variable is unset.
185
+
186
+ ---
167
187
 
168
- Run `moderado doctor` to inspect local setup without exposing secrets. Add
169
- `--connectivity` only when you want an optional live model-catalog check.
170
- `npm test` never performs live provider calls.
171
188
  ## Getting Started & Development
172
189
 
173
190
  ### Log in and select a model in the TUI
@@ -177,7 +194,7 @@ an API key or a preselected model. The welcome card shows **No model connected
177
194
  use `/connect`** until you add one.
178
195
 
179
196
  Use `/connect` to choose the Gateway or another provider. The Gateway offers a
180
- route picker after connection; `/model` can change the route later. Cloud `auto`
197
+ route picker after connection; `/model` can change the route later. Moderado `auto`
181
198
  follows the Gateway's configured pool, while choosing a route pins subsequent
182
199
  requests to it.
183
200
 
@@ -186,45 +203,14 @@ requests to it.
186
203
  Moderado stores sessions per workspace in `~/.moderado/sessions/`. Use
187
204
  `/session` to create, resume, export, or compact a local conversation. Session
188
205
  exports redact recognized API-key prefixes. The status line uses only
189
- provider-reported token usage. It shows `$0.00` for Moderado Cloud free routes,
206
+ provider-reported token usage. It shows `$0.00` for Moderado free routes,
190
207
  calculates cost when a model exposes prompt and completion prices, and shows
191
208
  **Cost unknown** when a metered model's pricing is unavailable.
192
209
 
193
210
  Saved OpenAI-compatible profiles continue to support providers such as
194
211
  OpenRouter, Z.AI, DeepSeek, Moonshot, and Mistral. Compatibility depends on each
195
212
  provider supporting `/v1/models` and streaming `/v1/chat/completions` with tool
196
- calls. Cloud keys are never written in plaintext to `~/.moderado/config.json`.
197
-
198
- ### 1. Build & Test
199
- ```bash
200
- # Install workspace dependencies
201
- npm install
202
-
203
- # Build all packages via TypeScript project references
204
- npm run build
205
-
206
- # Run full automated test suite (100% offline, zero API keys required)
207
- npm test
208
- ```
209
-
210
- ### 2. Manual Live Smoke Test (Optional)
211
- To test live model discovery and chat against NVIDIA NIM with real credentials:
212
- ```bash
213
- # PowerShell
214
- $env:NVIDIA_API_KEY="nvapi-..."
215
- node scripts/smoke_test.js
216
-
217
- # POSIX (bash/zsh)
218
- export NVIDIA_API_KEY="nvapi-..."
219
- node scripts/smoke_test.js
220
- ```
221
-
222
- ---
223
-
224
- ## License
225
-
226
- This project is licensed under the MIT License.
227
- *NVIDIA NIM, NGC, and model weights/APIs are subject to their respective terms and licenses. Moderado is independent and not endorsed by NVIDIA.*
213
+ calls. Moderado keys are never written in plaintext to `~/.moderado/config.json`.
228
214
 
229
215
  ### Practical coding workflow
230
216
 
@@ -233,7 +219,7 @@ Use `/workflow` from the TUI to work through a change safely:
233
219
  - **Git status** shows the current branch and changed files without using a shell.
234
220
  - **Review diff** shows the bounded working-tree diff.
235
221
  - 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.
236
- - 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.
222
+ - 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.
237
223
  - **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.
238
224
 
239
225
  ### Diagnostics evidence
@@ -254,7 +240,36 @@ Moderado exposes a versioned host-event envelope with session identity and monot
254
240
 
255
241
  ### Doctor command
256
242
 
257
- 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.
243
+ 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.
244
+
245
+ ### 1. Build & Test
246
+
247
+ ```bash
248
+ # Install workspace dependencies
249
+ npm install
250
+
251
+ # Build all packages via TypeScript project references
252
+ npm run build
253
+
254
+ # Run full automated test suite (100% offline, zero API keys required)
255
+ npm test
256
+ ```
257
+
258
+ ### 2. Manual Live Smoke Test (Optional)
259
+
260
+ To test live model discovery and chat against NVIDIA NIM with real credentials:
261
+
262
+ ```bash
263
+ # PowerShell
264
+ $env:NVIDIA_API_KEY="nvapi-..."
265
+ node scripts/smoke_test.js
266
+
267
+ # POSIX (bash/zsh)
268
+ export NVIDIA_API_KEY="nvapi-..."
269
+ node scripts/smoke_test.js
270
+ ```
271
+
272
+ ---
258
273
 
259
274
  ## Windows credential storage
260
275
 
@@ -263,3 +278,8 @@ Manager and keeps only a credential reference in `~/.moderado/config.json`.
263
278
  Non-Windows platforms use the current memory-only credential store, so log in
264
279
  again for each new CLI process. Existing BYOK environment variables and saved
265
280
  profiles remain independent.
281
+
282
+ ## License
283
+
284
+ This project is licensed under the MIT License.
285
+ *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,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,IAAI,GAAG,KAAK,CAAC;IAC3B,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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,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,K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CAAC,CAAC,CAAC,SAAS;QACjE,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO;QACvC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAC7C,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QACnD,cAAc,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;QACzD,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAC/C,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,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[];
@@ -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;AASrG,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,kBAAkB,GAAG,aAAa,CAEtF;AAED,wBAAgB,wBAAwB,CAAC,O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