@ordewell/cli 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,10 +12,8 @@ npm install -g @ordewell/cli # or: npm install -g ordewell
12
12
  ```
13
13
 
14
14
  **Requirements:** Node.js 20 or newer, at least one of Claude Code, Codex or
15
- OpenCode, and git for task isolation. Runners use structured connectors and
16
- require Ordewell's MCP tools; no tmux is needed. Linux, macOS and Windows are
17
- supported; the terminal UI remains unverified on native Windows, so use WSL
18
- for that surface.
15
+ OpenCode, and git for task isolation. Linux, macOS and Windows are supported;
16
+ on Windows, run the terminal UI under WSL.
19
17
 
20
18
  ## Usage
21
19
 
package/dist/main.js CHANGED
@@ -141,7 +141,7 @@ Planner, models and runners:
141
141
  ordewell runners [<id> on|off] Enable or disable runners (claude-code, opencode, codex)
142
142
  ordewell allowlist set|clear|show Limit which models a runner may use
143
143
  ordewell auto [full|guarded] Autonomy level for new sessions: Full or Guarded
144
- ordewell parallel [<n>] How many AI tasks run at once (default 3; applies to a live run)
144
+ ordewell parallel [<n>] How many AI tasks run at once (default 5; applies to a live run)
145
145
  ordewell refresh Re-discover runners and model catalogs
146
146
  ordewell models List every provider's catalog (works without a server)
147
147
 
@@ -220,10 +220,17 @@ Environment:
220
220
  ORCHESTRATOR_MODEL Default: deepseek/deepseek-v4-flash
221
221
  OPENROUTER_BASE_URL Default: https://openrouter.ai/api/v1
222
222
  ORDEWELL_AUTONOMOUS_MODE true: Full, false: Guarded, for new sessions (see "ordewell auto")
223
+ ORDEWELL_APPROVAL_MODE What the planner may run beyond read-only commands: auto (default:
224
+ Guarded asks, Full runs only the allowlist), ask, allowlist or allow.
225
+ File writes are always refused
226
+ ORDEWELL_APPROVAL_ALLOW Extra allowlist entries, comma-separated: "gh issue list",
227
+ "gcloud * * list", "mcp:find-*", "https://docs.example.com/*";
228
+ a leading ! excludes
229
+ ORDEWELL_APPROVAL_DEFAULTS false: drop the built-in read-only allowlist
223
230
  ORDEWELL_PORT Daemon port CLI commands target (default: 3742)
224
231
  ORDEWELL_DIRENV false: agents skip the project's direnv .envrc
225
232
  ORDEWELL_RESEARCH_ENABLED true (default) or false
226
- ORDEWELL_MAX_PARALLEL Default: 3 \u2014 set with "ordewell parallel"
233
+ ORDEWELL_MAX_PARALLEL Default: 5, set with "ordewell parallel"
227
234
  `);
228
235
  }
229
236
 
@@ -978,6 +985,7 @@ function describeApproval(event) {
978
985
  const detail = event.detail ? String(event.detail) : "";
979
986
  const headline = event.kind === "shell_command" ? `The planner wants to run a command:
980
987
  ${subject}` : event.kind === "url_fetch" ? `The planner wants to fetch a URL:
988
+ ${subject}` : event.kind === "mcp_tool" ? `The planner wants to use an MCP tool:
981
989
  ${subject}` : `The planner wants to read a path outside the workspace:
982
990
  ${subject}`;
983
991
  const detailLine = detail ? `
@@ -4009,6 +4017,7 @@ var APPROVAL_KIND = {
4009
4017
  shell_command: "Run a command",
4010
4018
  url_fetch: "Fetch a URL",
4011
4019
  external_path: "Read outside the workspace",
4020
+ mcp_tool: "Use an MCP tool",
4012
4021
  runner_tool: "Use a tool"
4013
4022
  };
4014
4023
  var DECIDED_BY = {
@@ -4919,7 +4928,7 @@ function renderOverlay(state, rows, cols) {
4919
4928
  if (overlay.kind === "help") return renderHelp(overlay.scroll ?? 0, rows, cols);
4920
4929
  if (overlay.kind === "approval") {
4921
4930
  const { request } = overlay;
4922
- const headline = request.kind === "shell_command" ? "The planner wants to run a command" : request.kind === "url_fetch" ? "The planner wants to fetch a URL" : "The planner wants to read a path outside the workspace";
4931
+ const headline = request.kind === "shell_command" ? "The planner wants to run a command" : request.kind === "url_fetch" ? "The planner wants to fetch a URL" : request.kind === "mcp_tool" ? "The planner wants to use an MCP tool" : "The planner wants to read a path outside the workspace";
4923
4932
  const queued = state.pendingApprovals.length;
4924
4933
  return frame(
4925
4934
  "Approval needed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ordewell/cli",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Ordewell CLI and TUI — plan, run and verify coding-agent tasks from the terminal.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Alessandro Costanzo Ciano",
@@ -49,8 +49,8 @@
49
49
  "typecheck": "tsc --noEmit"
50
50
  },
51
51
  "dependencies": {
52
- "@ordewell/core": "^0.8.0",
53
- "@ordewell/web": "^0.8.0",
52
+ "@ordewell/core": "^0.9.0",
53
+ "@ordewell/web": "^0.9.0",
54
54
  "string-width": "^7.2.0",
55
55
  "ws": "^8.18.0"
56
56
  },