claudemesh-cli 1.27.1 → 1.27.2

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.
@@ -103,7 +103,7 @@ __export(exports_urls, {
103
103
  VERSION: () => VERSION,
104
104
  URLS: () => URLS
105
105
  });
106
- var URLS, VERSION = "1.27.1", env;
106
+ var URLS, VERSION = "1.27.2", env;
107
107
  var init_urls = __esm(() => {
108
108
  URLS = {
109
109
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -14595,15 +14595,56 @@ Once \`claudemesh install\` has run (registers MCP entry + starts daemon service
14595
14595
  | \`--groups "name:role,name2:role2,all"\` | the group selection prompt | comma-separated \`<groupname>:<role>\` entries; the literal \`all\` joins \`@all\` |
14596
14596
  | \`--role <lead\\|member\\|observer>\` | the role prompt | applied to all groups in \`--groups\` that didn't specify their own |
14597
14597
  | \`--message-mode <push\\|inbox>\` | the message-mode prompt | \`push\` (default) emits \`<channel>\` notifications mid-turn; \`inbox\` only buffers — quieter for headless agents |
14598
- | \`--system-prompt <path>\` | nothing — pure pass-through | forwarded to \`claude --append-system-prompt\` |
14598
+ | \`--system-prompt <text>\` | nothing — pure pass-through | forwarded to \`claude --system-prompt\` (overrides default; pass a string, not a path) |
14599
14599
  | \`--resume <session-id>\` | nothing — pure pass-through | forwarded to \`claude --resume\` to continue a prior Claude Code session |
14600
- | \`--continue\` | nothing — pure pass-through | forwarded to \`claude --continue\` |
14600
+ | \`--continue\` | nothing — pure pass-through | forwarded to \`claude --continue\` (resumes the last session in this cwd) |
14601
14601
  | \`-y\` / \`--yes\` | every confirmation prompt | including the "you'll skip ALL permission prompts" gate. **Use for autonomous agents; omit for shared/multi-person meshes.** |
14602
- | \`-q\` / \`--quiet\` | the welcome banner | useful when the spawning script wants clean stdout |
14602
+ | \`--quiet\` | the wizard + welcome banner | suppresses the launch wizard and banner. Combine with \`-y\` for true headless: \`--quiet\` alone won't bypass Claude's permission prompts, so a script using only \`--quiet\` will hang on the first tool call. |
14603
14603
  | \`--\` | (separator) | everything after \`--\` is forwarded verbatim to \`claude\`. Example: \`claudemesh launch --name X -y -- --resume abc123 --model opus\` |
14604
14604
 
14605
+ > **All twelve flags are end-to-end wired as of \`claudemesh-cli@1.27.1\`.** Earlier builds silently dropped \`--role\`, \`--groups\`, \`--message-mode\`, \`--system-prompt\`, \`--continue\`, and \`--quiet\` at the CLI entrypoint — they were declared but never reached \`runLaunch\`. If a script targets older versions, those flags are no-ops.
14606
+
14605
14607
  ### Wizard-free spawn templates
14606
14608
 
14609
+ #### Canonical fully-populated spawn (every flag set explicitly)
14610
+
14611
+ The kitchen-sink form — copy, set every value, and the session boots without a single interactive prompt or banner. Use as a base when scripting from cron, hooks, CI, or another agent:
14612
+
14613
+ \`\`\`bash
14614
+ claudemesh launch \\
14615
+ --name "ci-bot" \\
14616
+ --mesh openclaw \\
14617
+ --role member \\
14618
+ --groups "frontend:lead,reviewers:observer,all" \\
14619
+ --message-mode inbox \\
14620
+ --system-prompt "$(cat ~/agents/ci-bot.md)" \\
14621
+ --quiet \\
14622
+ -y \\
14623
+ -- \\
14624
+ --model opus \\
14625
+ --resume "$LAST_SESSION_ID"
14626
+ \`\`\`
14627
+
14628
+ Annotated:
14629
+
14630
+ | Position | Value | Effect |
14631
+ |---|---|---|
14632
+ | \`--name "ci-bot"\` | identity | what peers see in \`peer list\` and \`<channel from_name>\` — pin so peers always see the same name across machines |
14633
+ | \`--mesh openclaw\` | workspace | required when you have ≥2 joined meshes; safe to include even with 1 (becomes a no-op assertion) |
14634
+ | \`--role member\` | session label | free-form tag used by group conventions; common values: \`lead\`, \`member\`, \`observer\`, \`bot\`, \`oncall\` |
14635
+ | \`--groups "frontend:lead,..."\` | group memberships | comma-separated \`<group>:<role>\` pairs; bare \`all\` joins \`@all\` with no role |
14636
+ | \`--message-mode inbox\` | delivery | \`push\` interrupts mid-turn (default); \`inbox\` buffers silently; \`off\` disables messages but keeps tool calls |
14637
+ | \`--system-prompt "..."\` | claude system prompt | overrides Claude's default. Pass a string, not a path — wrap with \`$(cat …)\` if you keep prompts in files |
14638
+ | \`--quiet\` | output | suppress the wizard and banner — clean stdout for the spawning script |
14639
+ | \`-y\` | consent | skips every permission prompt (claudemesh's policy gate **and** Claude's \`--dangerously-skip-permissions\`). Required for true headless |
14640
+ | \`--\` | separator | everything after is passed verbatim to \`claude\` |
14641
+ | \`--model opus\` | claude flag | example claude-side override |
14642
+ | \`--resume "$LAST_SESSION_ID"\` | claude flag | resume a prior Claude session inside this mesh identity |
14643
+
14644
+ **Rule of thumb:** for any unattended spawn, the minimum is \`--name + --mesh + -y + --quiet\`. Add \`--system-prompt\` to seed task context, \`--message-mode inbox\` to keep the bot quiet, and \`--role\` + \`--groups\` so peers know how to address it. Drop \`--quiet\` when a human is watching the script's stdout.
14645
+
14646
+ #### Trimmed templates
14647
+
14607
14648
  \`\`\`bash
14608
14649
  # Minimal — single joined mesh, fresh agent, autonomous:
14609
14650
  claudemesh launch --name "Lug Nut" -y
@@ -14624,9 +14665,9 @@ claudemesh launch --name "Mou" --mesh openclaw -y -- --resume abc123-...
14624
14665
 
14625
14666
  # Quiet, headless, system-prompt loaded — for cron / hooks:
14626
14667
  claudemesh launch --name "ci-bot" --mesh openclaw \\
14627
- --system-prompt /path/to/ci-bot.md \\
14668
+ --system-prompt "$(cat ~/agents/ci-bot.md)" \\
14628
14669
  --message-mode inbox \\
14629
- -q -y
14670
+ --quiet -y
14630
14671
  \`\`\`
14631
14672
 
14632
14673
  If any required flag is missing AND stdin is a TTY, \`launch\` falls back to its prompt for that single field. **In a non-TTY context (Bash tool, cron, AppleScript pipe), missing flags cause the verb to fail-closed — never silently use a default that affects identity.**
@@ -19197,4 +19238,4 @@ main().catch((err) => {
19197
19238
  process.exit(EXIT.INTERNAL_ERROR);
19198
19239
  });
19199
19240
 
19200
- //# debugId=BE929AB7D782557264756E2164756E21
19241
+ //# debugId=856EC7628E8E9AE364756E2164756E21