@rockcarver/frodo-cli 5.0.0-8 → 5.0.0-9

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.
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-Ctb5zv51.cjs");
2
2
  const require_Console = require("./Console-1LBCP_JZ.cjs");
3
- const require_EscapableSelectPrompt = require("./EscapableSelectPrompt-BljVxNDm.cjs");
3
+ const require_EscapableSelectPrompt = require("./EscapableSelectPrompt-CYqJdCqN.cjs");
4
4
  //#region src/utils/interactive/RealmPickers.ts
5
5
  /**
6
6
  * Realm picker (docs/INTERACTIVE-COMMANDS.md, post-auth pickers).
@@ -85,7 +85,7 @@ async function resolveRealmPick(command) {
85
85
  const current = require_Console.state.getRealm();
86
86
  let choice;
87
87
  for (;;) {
88
- const { livePositionalPreviewFor, runInvocationEditorForCommand } = await Promise.resolve().then(() => require("./ResolveInteractiveInputs-D_-5704M.cjs")).then((n) => n.ResolveInteractiveInputs_exports);
88
+ const { livePositionalPreviewFor, runInvocationEditorForCommand } = await Promise.resolve().then(() => require("./ResolveInteractiveInputs-DqsZuoJZ.cjs")).then((n) => n.ResolveInteractiveInputs_exports);
89
89
  const answer = await require_EscapableSelectPrompt.escapableSelect({
90
90
  message: `Choose a realm (default: ${current}):`,
91
91
  default: current,
@@ -115,7 +115,7 @@ async function resolveRealmPick(command) {
115
115
  }
116
116
  require_Console.state.setRealm(choice);
117
117
  {
118
- const { setPositionalValueForCommand } = await Promise.resolve().then(() => require("./ResolveInteractiveInputs-D_-5704M.cjs")).then((n) => n.ResolveInteractiveInputs_exports);
118
+ const { setPositionalValueForCommand } = await Promise.resolve().then(() => require("./ResolveInteractiveInputs-DqsZuoJZ.cjs")).then((n) => n.ResolveInteractiveInputs_exports);
119
119
  setPositionalValueForCommand(command, "realm", choice.replace(/^\//, ""));
120
120
  }
121
121
  require_Console.verboseMessage(`Using realm ${choice}.`);
@@ -134,4 +134,4 @@ Object.defineProperty(exports, "noteRealmProvenance", {
134
134
  }
135
135
  });
136
136
 
137
- //# sourceMappingURL=RealmPickers-IjVJiRB5.cjs.map
137
+ //# sourceMappingURL=RealmPickers-B6c0YtQu.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"RealmPickers-IjVJiRB5.cjs","names":["state","canPrompt","escapableSelect","editableOptionsHint","EXIT_ALL","EXIT_ALL_SIGNAL","RIGHT","ESCAPE"],"sources":["../src/utils/interactive/RealmPickers.ts"],"sourcesContent":["/**\n * Realm picker (docs/INTERACTIVE-COMMANDS.md, post-auth pickers).\n *\n * After authentication succeeds, a command whose realm argument was left\n * at its default can offer a dropdown of the target system's realms --\n * but ONLY when the system actually has more than one (a single-realm\n * tenant has no choice to offer; the default is already correct). The\n * pick fires from the getTokens wrapper (AuthenticateOps) immediately\n * after auth succeeds, so every command gets it without per-command\n * wiring; a prompt only happens when\n *\n * - the gate allows prompting (canPrompt()),\n * - the command declares a realm positional argument,\n * - the user did not name a realm explicitly (argument value or\n * FRODO_REALM -- recorded by `noteRealmProvenance` during the\n * resolution pass, BEFORE frodo-lib maps the sentinel default to the\n * deployment type's realm during auth), and\n * - the target system reports more than one realm.\n *\n * Every other path is a no-op. Escape declines the offer and keeps the\n * deployment-type default -- unlike the entity pickers there is no\n * \"wrong\" continuation to protect here (the default is a valid choice),\n * so backing out just means \"keep the default\".\n *\n * The loader failing (permission denied on realm listing, older servers,\n * classic deployments where the endpoint differs) is swallowed and the\n * default kept: the command is about to run against the default realm\n * exactly as it did before the interactive layer existed.\n */\n\nimport { state } from '@rockcarver/frodo-lib';\nimport { Command } from 'commander';\nimport { verboseMessage } from '../Console';\nimport { editableOptionsHint } from './EditableOptions';\nimport { escapableSelect, ESCAPE, RIGHT } from './EscapableSelectPrompt';\nimport { EXIT_ALL, EXIT_ALL_SIGNAL } from './ExitAll';\nimport { canPrompt } from './PromptGateState';\n\n/** frodo-lib's sentinel default for \"no realm chosen yet\". */\nconst DEFAULT_REALM_KEY = '__default__realm__';\n\n/** Cache of the realms read during this invocation (one fetch per run). */\nlet cachedRealms: { name: string; active: boolean }[] | undefined;\n\n/**\n * Whether the current invocation's realm was user-specified. Captured by\n * `noteRealmProvenance` during the resolution pass -- it CANNOT be\n * re-derived after auth, because frodo-lib's determineDefaultRealm\n * replaces the sentinel default with the deployment type's realm (alpha\n * or /) during _getTokens, making a user choice and a mapped default\n * indistinguishable afterwards.\n */\nlet realmUserSpecified = false;\n\n/**\n * Records whether this invocation's realm came from the user (positional\n * argument value or FRODO_REALM) as opposed to the sentinel default.\n * Called by the resolution pass BEFORE auth -- see the `realmUserSpecified`\n * doc for why the timing matters.\n */\nexport function noteRealmProvenance(): void {\n const realm = state.getRealm();\n realmUserSpecified = !!realm && realm !== DEFAULT_REALM_KEY;\n}\n\n/** Test hygiene: clears the per-invocation provenance + realm cache. */\nexport function resetRealmPickerStateForTests(): void {\n realmUserSpecified = false;\n cachedRealms = undefined;\n}\n\n/**\n * Offers the realm dropdown for `command`'s realm argument when the\n * conditions in the module doc hold. Called by the getTokens wrapper\n * after a successful login. Never throws; on any problem it simply keeps\n * the default.\n */\nexport async function resolveRealmPick(command: Command): Promise<void> {\n if (!canPrompt()) return;\n if (!command.registeredArguments.some((a) => a.name() === 'realm')) return;\n if (realmUserSpecified) return;\n\n let realms: { name: string; active: boolean }[];\n try {\n if (!cachedRealms) {\n // Via the memoized ops helper: shares one fetch with commands that\n // read realms themselves (frodo realm list), keeping Polly's\n // order-matched replay intact (recordings have one entry for the\n // endpoint) and halving the latency when both run.\n const { readRealmsCached } = await import('../../ops/RealmOps');\n const skeletons = await readRealmsCached();\n cachedRealms = skeletons.map((realm) => ({\n name: realm.name ?? realm._id ?? '',\n active: realm.active ?? true,\n }));\n }\n realms = cachedRealms;\n } catch {\n return; // can't list realms: keep the default\n }\n if (realms.length <= 1) return;\n\n const current = state.getRealm();\n // The picker runs POST-AUTH, so `current` is already frodo-lib's mapped\n // deployment default (alpha on cloud, / on classic/forgeops) -- passing\n // it as the select's default pre-highlights the TRUE default instead of\n // the first row, so a bare <enter> means \"keep the deployment default\".\n // The default may legitimately be absent from the list (the realms\n // endpoint never returns the root realm, so on classic/forgeops \"/\" has\n // no row): escapableSelect falls back to the first row in that case.\n // → (armed by the hint) opens the invocation editor, then\n // re-prompts this picker; ESCAPE keeps the default as before; EXIT_ALL\n // THROWS the unwind signal (the session ends even though auth already\n // succeeded -- the gesture means \"leave everything\", from any depth,\n // per docs/INTERACTIVE-COMMANDS.md).\n // The loop's exit type is string | typeof ESCAPE (the RIGHT case loops;\n // EXIT_ALL never resolves out of the loop -- it throws).\n let choice: string | typeof ESCAPE;\n for (;;) {\n const { livePositionalPreviewFor, runInvocationEditorForCommand } =\n await import('../../cli/ResolveInteractiveInputs');\n const answer = await escapableSelect<string>({\n message: `Choose a realm (default: ${current}):`,\n default: current,\n hint: editableOptionsHint(command),\n // LIVE footer: the highlighted realm shadows the realm positional\n // per render, so the footer's realm token moves with the cursor\n // BEFORE <enter> commits (live preview).\n preview: livePositionalPreviewFor(command, 'realm'),\n choices: realms.map((realm) => ({\n value: realm.name,\n name: realm.name,\n description: realm.active ? undefined : 'inactive',\n })),\n });\n if (answer === EXIT_ALL) throw EXIT_ALL_SIGNAL;\n if (answer === RIGHT) {\n // The hint advertised the editor, so → must open it (this branch\n // used to just re-prompt, making the key look dead). The editor\n // throws EXIT_ALL_SIGNAL on a double-ESC; a plain return loops\n // back here and the user can still ESC the picker.\n await runInvocationEditorForCommand(command);\n continue;\n }\n choice = answer;\n break;\n }\n if (choice === ESCAPE) {\n // Backed out: keep the deployment default (the pre-interactive\n // behavior), AND say so -- a silent return after the frame erased\n // left the terminal idle with no explanation (user report\n // 2026-10-13: \"the picker wasn't active\" -- the prompt had actually\n // concluded; nothing showed why nothing then happened).\n verboseMessage(`Keeping the default realm ${current}.`);\n return;\n }\n if (!choice || choice === current) {\n // <enter> on the already-highlighted default: an explicit \"keep\n // it\". The pick is DONE -- do NOT loop back into another picker\n // instance (the old silent re-prompt read as a dead screen: the\n // prompt concluded and nothing re-appeared).\n verboseMessage(`Keeping the default realm ${current}.`);\n return;\n }\n state.setRealm(choice);\n // Write the picked realm back into the command's realm positional so the\n // deferred authoring print (flushed at the action's postAction hook, see\n // FrodoCommand/AuthoringPrintState) shows the command EXACTLY as it ran\n // -- the printed realm token matches state.getRealm() token for token.\n // Without this, a non-default pick would print the (sentinel-translated)\n // positional while the action actually runs in `choice`. The CLI\n // positional convention is the plain name (no leading slash) -- the\n // exact value the user would type -- and handleDefaultArgsAndOpts\n // re-feeds it into state.setRealm inside the action body, so the value\n // must be positional-shaped, not state-shaped.\n {\n const { setPositionalValueForCommand } =\n await import('../../cli/ResolveInteractiveInputs');\n setPositionalValueForCommand(command, 'realm', choice.replace(/^\\//, ''));\n }\n verboseMessage(`Using realm ${choice}.`);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,MAAM,oBAAoB;;AAG1B,IAAI;;;;;;;;;AAUJ,IAAI,qBAAqB;;;;;;;AAQzB,SAAgB,sBAA4B;CAC1C,MAAM,QAAQA,gBAAAA,MAAM,SAAS;CAC7B,qBAAqB,CAAC,CAAC,SAAS,UAAU;AAC5C;;;;;;;AAcA,eAAsB,iBAAiB,SAAiC;CACtE,IAAI,CAACC,8BAAAA,UAAU,GAAG;CAClB,IAAI,CAAC,QAAQ,oBAAoB,MAAM,MAAM,EAAE,KAAK,MAAM,OAAO,GAAG;CACpE,IAAI,oBAAoB;CAExB,IAAI;CACJ,IAAI;EACF,IAAI,CAAC,cAAc;GAKjB,MAAM,EAAE,qBAAqB,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,yBAAA,CAAA,CAAA,CAAA,MAAA,MAAA,EAAA,gBAAA;GAEnC,gBAAe,MADS,iBAAiB,EAAA,CAChB,KAAK,WAAW;IACvC,MAAM,MAAM,QAAQ,MAAM,OAAO;IACjC,QAAQ,MAAM,UAAU;GAC1B,EAAE;EACJ;EACA,SAAS;CACX,QAAQ;EACN;CACF;CACA,IAAI,OAAO,UAAU,GAAG;CAExB,MAAM,UAAUD,gBAAAA,MAAM,SAAS;CAe/B,IAAI;CACJ,SAAS;EACP,MAAM,EAAE,0BAA0B,kCAChC,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,yCAAA,CAAA,CAAA,CAAA,MAAA,MAAA,EAAA,gCAAA;EACR,MAAM,SAAS,MAAME,8BAAAA,gBAAwB;GAC3C,SAAS,4BAA4B,QAAQ;GAC7C,SAAS;GACT,MAAMC,8BAAAA,oBAAoB,OAAO;GAIjC,SAAS,yBAAyB,SAAS,OAAO;GAClD,SAAS,OAAO,KAAK,WAAW;IAC9B,OAAO,MAAM;IACb,MAAM,MAAM;IACZ,aAAa,MAAM,SAAS,KAAA,IAAY;GAC1C,EAAE;EACJ,CAAC;EACD,IAAI,WAAWC,8BAAAA,UAAU,MAAMC,8BAAAA;EAC/B,IAAI,WAAWC,8BAAAA,OAAO;GAKpB,MAAM,8BAA8B,OAAO;GAC3C;EACF;EACA,SAAS;EACT;CACF;CACA,IAAI,WAAWC,8BAAAA,QAAQ;EAMrB,gBAAA,eAAe,6BAA6B,QAAQ,EAAE;EACtD;CACF;CACA,IAAI,CAAC,UAAU,WAAW,SAAS;EAKjC,gBAAA,eAAe,6BAA6B,QAAQ,EAAE;EACtD;CACF;CACA,gBAAA,MAAM,SAAS,MAAM;CAWrB;EACE,MAAM,EAAE,iCACN,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,yCAAA,CAAA,CAAA,CAAA,MAAA,MAAA,EAAA,gCAAA;EACR,6BAA6B,SAAS,SAAS,OAAO,QAAQ,OAAO,EAAE,CAAC;CAC1E;CACA,gBAAA,eAAe,eAAe,OAAO,EAAE;AACzC"}
1
+ {"version":3,"file":"RealmPickers-B6c0YtQu.cjs","names":["state","canPrompt","escapableSelect","editableOptionsHint","EXIT_ALL","EXIT_ALL_SIGNAL","RIGHT","ESCAPE"],"sources":["../src/utils/interactive/RealmPickers.ts"],"sourcesContent":["/**\n * Realm picker (docs/INTERACTIVE-COMMANDS.md, post-auth pickers).\n *\n * After authentication succeeds, a command whose realm argument was left\n * at its default can offer a dropdown of the target system's realms --\n * but ONLY when the system actually has more than one (a single-realm\n * tenant has no choice to offer; the default is already correct). The\n * pick fires from the getTokens wrapper (AuthenticateOps) immediately\n * after auth succeeds, so every command gets it without per-command\n * wiring; a prompt only happens when\n *\n * - the gate allows prompting (canPrompt()),\n * - the command declares a realm positional argument,\n * - the user did not name a realm explicitly (argument value or\n * FRODO_REALM -- recorded by `noteRealmProvenance` during the\n * resolution pass, BEFORE frodo-lib maps the sentinel default to the\n * deployment type's realm during auth), and\n * - the target system reports more than one realm.\n *\n * Every other path is a no-op. Escape declines the offer and keeps the\n * deployment-type default -- unlike the entity pickers there is no\n * \"wrong\" continuation to protect here (the default is a valid choice),\n * so backing out just means \"keep the default\".\n *\n * The loader failing (permission denied on realm listing, older servers,\n * classic deployments where the endpoint differs) is swallowed and the\n * default kept: the command is about to run against the default realm\n * exactly as it did before the interactive layer existed.\n */\n\nimport { state } from '@rockcarver/frodo-lib';\nimport { Command } from 'commander';\nimport { verboseMessage } from '../Console';\nimport { editableOptionsHint } from './EditableOptions';\nimport { escapableSelect, ESCAPE, RIGHT } from './EscapableSelectPrompt';\nimport { EXIT_ALL, EXIT_ALL_SIGNAL } from './ExitAll';\nimport { canPrompt } from './PromptGateState';\n\n/** frodo-lib's sentinel default for \"no realm chosen yet\". */\nconst DEFAULT_REALM_KEY = '__default__realm__';\n\n/** Cache of the realms read during this invocation (one fetch per run). */\nlet cachedRealms: { name: string; active: boolean }[] | undefined;\n\n/**\n * Whether the current invocation's realm was user-specified. Captured by\n * `noteRealmProvenance` during the resolution pass -- it CANNOT be\n * re-derived after auth, because frodo-lib's determineDefaultRealm\n * replaces the sentinel default with the deployment type's realm (alpha\n * or /) during _getTokens, making a user choice and a mapped default\n * indistinguishable afterwards.\n */\nlet realmUserSpecified = false;\n\n/**\n * Records whether this invocation's realm came from the user (positional\n * argument value or FRODO_REALM) as opposed to the sentinel default.\n * Called by the resolution pass BEFORE auth -- see the `realmUserSpecified`\n * doc for why the timing matters.\n */\nexport function noteRealmProvenance(): void {\n const realm = state.getRealm();\n realmUserSpecified = !!realm && realm !== DEFAULT_REALM_KEY;\n}\n\n/** Test hygiene: clears the per-invocation provenance + realm cache. */\nexport function resetRealmPickerStateForTests(): void {\n realmUserSpecified = false;\n cachedRealms = undefined;\n}\n\n/**\n * Offers the realm dropdown for `command`'s realm argument when the\n * conditions in the module doc hold. Called by the getTokens wrapper\n * after a successful login. Never throws; on any problem it simply keeps\n * the default.\n */\nexport async function resolveRealmPick(command: Command): Promise<void> {\n if (!canPrompt()) return;\n if (!command.registeredArguments.some((a) => a.name() === 'realm')) return;\n if (realmUserSpecified) return;\n\n let realms: { name: string; active: boolean }[];\n try {\n if (!cachedRealms) {\n // Via the memoized ops helper: shares one fetch with commands that\n // read realms themselves (frodo realm list), keeping Polly's\n // order-matched replay intact (recordings have one entry for the\n // endpoint) and halving the latency when both run.\n const { readRealmsCached } = await import('../../ops/RealmOps');\n const skeletons = await readRealmsCached();\n cachedRealms = skeletons.map((realm) => ({\n name: realm.name ?? realm._id ?? '',\n active: realm.active ?? true,\n }));\n }\n realms = cachedRealms;\n } catch {\n return; // can't list realms: keep the default\n }\n if (realms.length <= 1) return;\n\n const current = state.getRealm();\n // The picker runs POST-AUTH, so `current` is already frodo-lib's mapped\n // deployment default (alpha on cloud, / on classic/forgeops) -- passing\n // it as the select's default pre-highlights the TRUE default instead of\n // the first row, so a bare <enter> means \"keep the deployment default\".\n // The default may legitimately be absent from the list (the realms\n // endpoint never returns the root realm, so on classic/forgeops \"/\" has\n // no row): escapableSelect falls back to the first row in that case.\n // → (armed by the hint) opens the invocation editor, then\n // re-prompts this picker; ESCAPE keeps the default as before; EXIT_ALL\n // THROWS the unwind signal (the session ends even though auth already\n // succeeded -- the gesture means \"leave everything\", from any depth,\n // per docs/INTERACTIVE-COMMANDS.md).\n // The loop's exit type is string | typeof ESCAPE (the RIGHT case loops;\n // EXIT_ALL never resolves out of the loop -- it throws).\n let choice: string | typeof ESCAPE;\n for (;;) {\n const { livePositionalPreviewFor, runInvocationEditorForCommand } =\n await import('../../cli/ResolveInteractiveInputs');\n const answer = await escapableSelect<string>({\n message: `Choose a realm (default: ${current}):`,\n default: current,\n hint: editableOptionsHint(command),\n // LIVE footer: the highlighted realm shadows the realm positional\n // per render, so the footer's realm token moves with the cursor\n // BEFORE <enter> commits (live preview).\n preview: livePositionalPreviewFor(command, 'realm'),\n choices: realms.map((realm) => ({\n value: realm.name,\n name: realm.name,\n description: realm.active ? undefined : 'inactive',\n })),\n });\n if (answer === EXIT_ALL) throw EXIT_ALL_SIGNAL;\n if (answer === RIGHT) {\n // The hint advertised the editor, so → must open it (this branch\n // used to just re-prompt, making the key look dead). The editor\n // throws EXIT_ALL_SIGNAL on a double-ESC; a plain return loops\n // back here and the user can still ESC the picker.\n await runInvocationEditorForCommand(command);\n continue;\n }\n choice = answer;\n break;\n }\n if (choice === ESCAPE) {\n // Backed out: keep the deployment default (the pre-interactive\n // behavior), AND say so -- a silent return after the frame erased\n // left the terminal idle with no explanation (user report\n // 2026-10-13: \"the picker wasn't active\" -- the prompt had actually\n // concluded; nothing showed why nothing then happened).\n verboseMessage(`Keeping the default realm ${current}.`);\n return;\n }\n if (!choice || choice === current) {\n // <enter> on the already-highlighted default: an explicit \"keep\n // it\". The pick is DONE -- do NOT loop back into another picker\n // instance (the old silent re-prompt read as a dead screen: the\n // prompt concluded and nothing re-appeared).\n verboseMessage(`Keeping the default realm ${current}.`);\n return;\n }\n state.setRealm(choice);\n // Write the picked realm back into the command's realm positional so the\n // deferred authoring print (flushed at the action's postAction hook, see\n // FrodoCommand/AuthoringPrintState) shows the command EXACTLY as it ran\n // -- the printed realm token matches state.getRealm() token for token.\n // Without this, a non-default pick would print the (sentinel-translated)\n // positional while the action actually runs in `choice`. The CLI\n // positional convention is the plain name (no leading slash) -- the\n // exact value the user would type -- and handleDefaultArgsAndOpts\n // re-feeds it into state.setRealm inside the action body, so the value\n // must be positional-shaped, not state-shaped.\n {\n const { setPositionalValueForCommand } =\n await import('../../cli/ResolveInteractiveInputs');\n setPositionalValueForCommand(command, 'realm', choice.replace(/^\\//, ''));\n }\n verboseMessage(`Using realm ${choice}.`);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,MAAM,oBAAoB;;AAG1B,IAAI;;;;;;;;;AAUJ,IAAI,qBAAqB;;;;;;;AAQzB,SAAgB,sBAA4B;CAC1C,MAAM,QAAQA,gBAAAA,MAAM,SAAS;CAC7B,qBAAqB,CAAC,CAAC,SAAS,UAAU;AAC5C;;;;;;;AAcA,eAAsB,iBAAiB,SAAiC;CACtE,IAAI,CAACC,8BAAAA,UAAU,GAAG;CAClB,IAAI,CAAC,QAAQ,oBAAoB,MAAM,MAAM,EAAE,KAAK,MAAM,OAAO,GAAG;CACpE,IAAI,oBAAoB;CAExB,IAAI;CACJ,IAAI;EACF,IAAI,CAAC,cAAc;GAKjB,MAAM,EAAE,qBAAqB,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,yBAAA,CAAA,CAAA,CAAA,MAAA,MAAA,EAAA,gBAAA;GAEnC,gBAAe,MADS,iBAAiB,EAAA,CAChB,KAAK,WAAW;IACvC,MAAM,MAAM,QAAQ,MAAM,OAAO;IACjC,QAAQ,MAAM,UAAU;GAC1B,EAAE;EACJ;EACA,SAAS;CACX,QAAQ;EACN;CACF;CACA,IAAI,OAAO,UAAU,GAAG;CAExB,MAAM,UAAUD,gBAAAA,MAAM,SAAS;CAe/B,IAAI;CACJ,SAAS;EACP,MAAM,EAAE,0BAA0B,kCAChC,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,yCAAA,CAAA,CAAA,CAAA,MAAA,MAAA,EAAA,gCAAA;EACR,MAAM,SAAS,MAAME,8BAAAA,gBAAwB;GAC3C,SAAS,4BAA4B,QAAQ;GAC7C,SAAS;GACT,MAAMC,8BAAAA,oBAAoB,OAAO;GAIjC,SAAS,yBAAyB,SAAS,OAAO;GAClD,SAAS,OAAO,KAAK,WAAW;IAC9B,OAAO,MAAM;IACb,MAAM,MAAM;IACZ,aAAa,MAAM,SAAS,KAAA,IAAY;GAC1C,EAAE;EACJ,CAAC;EACD,IAAI,WAAWC,8BAAAA,UAAU,MAAMC,8BAAAA;EAC/B,IAAI,WAAWC,8BAAAA,OAAO;GAKpB,MAAM,8BAA8B,OAAO;GAC3C;EACF;EACA,SAAS;EACT;CACF;CACA,IAAI,WAAWC,8BAAAA,QAAQ;EAMrB,gBAAA,eAAe,6BAA6B,QAAQ,EAAE;EACtD;CACF;CACA,IAAI,CAAC,UAAU,WAAW,SAAS;EAKjC,gBAAA,eAAe,6BAA6B,QAAQ,EAAE;EACtD;CACF;CACA,gBAAA,MAAM,SAAS,MAAM;CAWrB;EACE,MAAM,EAAE,iCACN,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,yCAAA,CAAA,CAAA,CAAA,MAAA,MAAA,EAAA,gCAAA;EACR,6BAA6B,SAAS,SAAS,OAAO,QAAQ,OAAO,EAAE,CAAC;CAC1E;CACA,gBAAA,eAAe,eAAe,OAAO,EAAE;AACzC"}
@@ -1,10 +1,10 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-Ctb5zv51.cjs");
2
2
  const require_Console = require("./Console-1LBCP_JZ.cjs");
3
- const require_EscapableSelectPrompt = require("./EscapableSelectPrompt-BljVxNDm.cjs");
3
+ const require_EscapableSelectPrompt = require("./EscapableSelectPrompt-CYqJdCqN.cjs");
4
4
  const require_AuthoringPrintState = require("./AuthoringPrintState-vyWOD1Wt.cjs");
5
- const require_EntityPickers = require("./EntityPickers-BGrRn1Yq.cjs");
5
+ const require_EntityPickers = require("./EntityPickers-DBhC-5mV.cjs");
6
6
  const require_DefaultsStore = require("./DefaultsStore-RlEkAWqT.cjs");
7
- const require_RealmPickers = require("./RealmPickers-IjVJiRB5.cjs");
7
+ const require_RealmPickers = require("./RealmPickers-B6c0YtQu.cjs");
8
8
  let path = require("path");
9
9
  path = require_rolldown_runtime.__toESM(path, 1);
10
10
  let fs = require("fs");
@@ -1793,7 +1793,7 @@ async function runInvocationEditor(command) {
1793
1793
  require_Console.verboseMessage(`Using ${option.flags}.`);
1794
1794
  }
1795
1795
  if (picked.length > 0) {
1796
- const { replayEditorOptionStates } = await Promise.resolve().then(() => require("./FrodoCommand-DueD-n-I.cjs")).then((n) => n.FrodoCommand_exports);
1796
+ const { replayEditorOptionStates } = await Promise.resolve().then(() => require("./FrodoCommand-BYl0VUkM.cjs")).then((n) => n.FrodoCommand_exports);
1797
1797
  replayEditorOptionStates(command);
1798
1798
  }
1799
1799
  if (savingDefaults && Object.keys(committed).length > 0) {
@@ -1853,4 +1853,4 @@ Object.defineProperty(exports, "setGuidedMode", {
1853
1853
  }
1854
1854
  });
1855
1855
 
1856
- //# sourceMappingURL=ResolveInteractiveInputs-D_-5704M.cjs.map
1856
+ //# sourceMappingURL=ResolveInteractiveInputs-DqsZuoJZ.cjs.map