@yemi33/minions 0.1.2442 → 0.1.2444

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.
@@ -116,12 +116,12 @@ warns when required permission-bypass flags are absent.
116
116
  ```powershell
117
117
  # Test A: stdin without -p — works.
118
118
  "Say only the word: pong" |
119
- copilot --output-format json -s --allow-all --no-ask-user --autopilot --log-level error
119
+ copilot --output-format json -s --allow-all --no-ask-user --autopilot
120
120
  # EXIT=0; user.message.data.content = "Say only the word: pong\r\n"; assistant replied "pong".
121
121
 
122
122
  # Test B: -p "<40_000-char string>" — Windows OS rejects spawn.
123
123
  $big = "x" * 40000
124
- copilot -p $big --output-format json -s --allow-all --no-ask-user --autopilot --log-level error
124
+ copilot -p $big --output-format json -s --allow-all --no-ask-user --autopilot
125
125
  # Program 'copilot.exe' failed to run:
126
126
  # The filename or extension is too long.
127
127
  # (CreateProcess ARG_MAX limit, ~32 KB on Windows)
@@ -176,7 +176,7 @@ Empirically confirmed flags for non-interactive Copilot invocations:
176
176
  | `--allow-all` | **required** | Equivalent to `--allow-all-tools --allow-all-paths --allow-all-urls`. Without this the CLI prompts for every tool/path use, which deadlocks in stdin/stdout mode. |
177
177
  | `--no-ask-user` | **required** | Removes the `ask_user` tool. Without it the agent can stall waiting for human input. |
178
178
  | `--autopilot` | for multi-turn agency | Enables `task_complete`-driven multi-turn loop. **Without it** the session ends after one assistant response (see §3.1). |
179
- | `--log-level error` | recommended | Suppresses INFO/DEBUG diagnostics that aren't part of the JSONL stream. |
179
+ | `--log-level <level>` | **do not emit** | Copilot CLI 1.0.76-1 exits silently with code 1 for explicit non-default levels. Omit the flag and use the CLI default; `--output-format json` still keeps stdout machine-readable. |
180
180
  | `--disable-builtin-mcps` | gated by config | Disables `github-mcp-server`. Default-on for Minions (`copilotDisableBuiltinMcps: true`) to prevent split-brain PR creation. |
181
181
  | `--no-color` | always emitted | Keeps any incidental CLI rendering free of ANSI color. |
182
182
  | `--plain-diff` | always emitted | Keeps incidental diff rendering plain even though normal output is JSONL. |
@@ -499,7 +499,7 @@ Constructed test: created `AGENTS.md` in cwd with content
499
499
 
500
500
  ```text
501
501
  # A) Default behavior — AGENTS.md is loaded
502
- PS> "Just say hello." | copilot --output-format json -s --allow-all --no-ask-user --autopilot --log-level error
502
+ PS> "Just say hello." | copilot --output-format json -s --allow-all --no-ask-user --autopilot
503
503
  {"type":"assistant.message", ..., "content": "Hello. __AGENTS_LOADED__"} ← marker present
504
504
 
505
505
  ```
@@ -602,11 +602,11 @@ When implementing `engine/runtimes/copilot.js`:
602
602
  - Recognize npm shims returned by PATH and resolve the package's JavaScript
603
603
  entry; no separate npm-prefix scan is needed.
604
604
  3. `buildArgs(opts)` always emits:
605
- `--output-format json -s --no-color --plain-diff --allow-all --no-ask-user --autopilot --log-level error`
605
+ `--output-format json -s --no-color --plain-diff --allow-all --no-ask-user --autopilot`
606
606
  plus the conditional flags from §3, plus `--disable-builtin-mcps` per
607
607
  `opts.disableBuiltinMcps`,
608
608
  plus `--attachment <path>` (repeatable) for each image in `opts.images` (§10a).
609
- **Never** emit `--verbose`.
609
+ **Never** emit `--verbose` or `--log-level`.
610
610
  4. `buildPrompt()` injects `<system>...</system>\n\n` when sysprompt is
611
611
  non-empty on a fresh call; a resumed call (`opts.sessionId`) passes through
612
612
  only the new user prompt (§2).
@@ -434,12 +434,15 @@ function _mapEffort(level) {
434
434
  //
435
435
  // Always-on baseline (per docs/copilot-cli-schema.md §3 and the PRD spec):
436
436
  // --output-format json -s --no-color --plain-diff --autopilot
437
- // --allow-all --no-ask-user --log-level error
437
+ // --allow-all --no-ask-user
438
438
  //
439
439
  // Conditional flags only emitted when their corresponding opt is set/truthy.
440
440
  // Copilot has no --verbose flag — never emit it. The `bare` / `maxBudget` /
441
441
  // `fallbackModel` opts are silently ignored (their capability flags are false
442
442
  // so engine code shouldn't pass them, but we tolerate them gracefully).
443
+ // Do not emit --log-level: Copilot CLI 1.0.76-1 exits silently with code 1
444
+ // when given an explicit non-default level. Omitting it preserves the CLI's
445
+ // compatible default while --output-format json keeps stdout machine-readable.
443
446
 
444
447
  // Map MIME type to file extension for --attachment temp file naming.
445
448
  const _MIME_EXT = {
@@ -475,7 +478,6 @@ function buildArgs(opts = {}) {
475
478
  '--autopilot',
476
479
  '--allow-all',
477
480
  '--no-ask-user',
478
- '--log-level', 'error',
479
481
  ];
480
482
 
481
483
  if (Array.isArray(addDirs)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.2442",
3
+ "version": "0.1.2444",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"