@mnemom/mnemom 0.17.12 → 0.17.13
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/dist/commands/agent.d.ts
CHANGED
|
@@ -363,6 +363,8 @@ export declare function logLaunch(ctx: {
|
|
|
363
363
|
goalMode: string | null;
|
|
364
364
|
cli: ResolvedCli;
|
|
365
365
|
}): void;
|
|
366
|
+
/** The launch line for the yolo default: permission prompts are skipped, and how to keep them. */
|
|
367
|
+
export declare function permissionPromptsLine(cli: ResolvedCli): string;
|
|
366
368
|
/**
|
|
367
369
|
* The agent a signed-out `--dry-run` shows when the caller named none: the real name is
|
|
368
370
|
* `agent-<handle>` from the Mnemom login, which a dry run (no sign-in) cannot know yet.
|
package/dist/commands/agent.js
CHANGED
|
@@ -517,6 +517,10 @@ export async function agentCommand(scenarioArg, options = {}) {
|
|
|
517
517
|
if (expNotice)
|
|
518
518
|
say(expNotice);
|
|
519
519
|
say(goalAlignmentLine(goalAlignmentMode(envelope, goalMode)));
|
|
520
|
+
// Said before the coding agent starts, so its own "Bypass Permissions mode" warning is no
|
|
521
|
+
// surprise. The server shape doesn't apply yolo (warnServerDrops says so).
|
|
522
|
+
if (yolo && shape !== "server")
|
|
523
|
+
say(permissionPromptsLine(cli));
|
|
520
524
|
sayContextProfile(contextProfile);
|
|
521
525
|
sayCompaction(contextProfile, compactionIntercept, compactAt, launchWindow(win));
|
|
522
526
|
// ── handoff MCP tool (MNE-7564) ── OFF by default: absent/false ⇒ handoffMcpConfigPath stays
|
|
@@ -1660,6 +1664,11 @@ export function logLaunch(ctx) {
|
|
|
1660
1664
|
say(`mnemom agent: goal mode: ${ctx.goalMode} (inferred from your messages; watch x-mnemom-goal-revision / x-mnemom-goal-steer on each response)`);
|
|
1661
1665
|
}
|
|
1662
1666
|
}
|
|
1667
|
+
/** The launch line for the yolo default: permission prompts are skipped, and how to keep them. */
|
|
1668
|
+
export function permissionPromptsLine(cli) {
|
|
1669
|
+
const who = cli.name === "claude" ? "Claude Code" : cli.name;
|
|
1670
|
+
return `mnemom agent: ${who} runs with its permission prompts skipped (--dangerously-skip-permissions) — launch with --no-yolo to keep them.`;
|
|
1671
|
+
}
|
|
1663
1672
|
/**
|
|
1664
1673
|
* The agent a signed-out `--dry-run` shows when the caller named none: the real name is
|
|
1665
1674
|
* `agent-<handle>` from the Mnemom login, which a dry run (no sign-in) cannot know yet.
|