@wrongstack/cli 1.0.28 → 1.0.29

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.
Files changed (37) hide show
  1. package/data/providers.json +22 -0
  2. package/dist/{acp-M4565YUW.js → acp-QWCBMQSO.js} +2 -2
  3. package/dist/{chunk-RGFWGUAB.js → chunk-4UWCMBPG.js} +159 -3
  4. package/dist/{chunk-ENRYW73H.js → chunk-6A7URMWN.js} +79 -8
  5. package/dist/{chunk-5JYDKG5B.js → chunk-BZHT5GPF.js} +6 -1
  6. package/dist/{chunk-L5TD7UIG.js → chunk-IFQ6NQPL.js} +4 -4
  7. package/dist/{chunk-3ZTLPNEQ.js → chunk-KT34LWIS.js} +9 -8
  8. package/dist/{chunk-UZ2TMHNH.js → chunk-UKP7H2U4.js} +10 -2
  9. package/dist/{chunk-EPR42SWM.js → chunk-WRYZLEXP.js} +20 -1
  10. package/dist/{cli-context-O2SHBDFH.js → cli-context-6RONY47P.js} +18 -18
  11. package/dist/{cli-main-BKG4ZVLN.js → cli-main-YS3HIOSD.js} +51 -41
  12. package/dist/{execution-THXWTHYT.js → execution-JEYF2L7O.js} +31 -23
  13. package/dist/fleet/host-explore-companion.d.ts +1 -1
  14. package/dist/{hq-44F4OQH2.js → hq-BNK67HOE.js} +3 -3
  15. package/dist/hq-publisher.d.ts +4 -1
  16. package/dist/hq-server/sage-sync-send.d.ts +5 -0
  17. package/dist/hq-server/server-lifecycle.d.ts +1 -1
  18. package/dist/hq-server/snapshot.d.ts +1 -1
  19. package/dist/{hq-server-UIB24LU6.js → hq-server-PCQACV7Y.js} +2 -2
  20. package/dist/hq-ttl-N4DAIAVX.js +7 -0
  21. package/dist/index.js +3 -3
  22. package/dist/{mailbox-serve-GNGXEQ2R.js → mailbox-serve-FW3JCCPK.js} +2 -2
  23. package/dist/{per-subcommand-help-QDAQASPZ.js → per-subcommand-help-MWQWFIAV.js} +2 -2
  24. package/dist/sage-FFKUOCQL.js +475 -0
  25. package/dist/sage-connect.d.ts +62 -0
  26. package/dist/sage-hq-sync.d.ts +8 -0
  27. package/dist/sage-sync-ZMTHB477.js +69 -0
  28. package/dist/{sessions-config-XHLXJ5C3.js → sessions-config-JGIZRNT6.js} +15 -4
  29. package/dist/{short-circuit-flags-BSIPTAPD.js → short-circuit-flags-5N2LPK4R.js} +3 -3
  30. package/dist/subcommands/handlers/helpers.d.ts +1 -1
  31. package/dist/subcommands/handlers/sage-sync.d.ts +4 -0
  32. package/dist/subcommands/handlers/sage.d.ts +5 -0
  33. package/dist/{subcommands-SRRB3RAS.js → subcommands-WX4GDMWB.js} +2 -2
  34. package/dist/{version-help-XJJQ7YSH.js → version-help-HN32QYQN.js} +2 -2
  35. package/dist/{webui-server-GCXIO3JY.js → webui-server-EXJWLB3X.js} +10 -8
  36. package/package.json +30 -29
  37. package/dist/hq-ttl-VJR65OBJ.js +0 -7
@@ -1,16 +1,3 @@
1
- import {
2
- runProjectPicker
3
- } from "./chunk-WQZW3RDP.js";
4
- import {
5
- ensureProjectDataDir,
6
- findProject,
7
- generateSlug,
8
- loadManifest,
9
- saveManifest
10
- } from "./chunk-IS2PPBQV.js";
11
- import {
12
- getWrongTrace
13
- } from "./chunk-ERX4BLKP.js";
14
1
  import {
15
2
  MAX_TUI_THINKING_WORD_LENGTH,
16
3
  clearSuggestions,
@@ -25,6 +12,9 @@ import {
25
12
  spawnHqAgent,
26
13
  terminateHqAgent
27
14
  } from "./chunk-7IQWQCBH.js";
15
+ import {
16
+ setupPlugins
17
+ } from "./chunk-YHYINL47.js";
28
18
  import {
29
19
  deriveFsAccessPair,
30
20
  filterSafeForProject,
@@ -33,8 +23,28 @@ import {
33
23
  persistTelegramConfig
34
24
  } from "./chunk-SFBFYIOW.js";
35
25
  import {
36
- setupPlugins
37
- } from "./chunk-YHYINL47.js";
26
+ advanceToNextTask,
27
+ findSpec,
28
+ formatElapsed,
29
+ gatherProjectContext,
30
+ getSessionState,
31
+ getTaskProgress,
32
+ matchTaskNode,
33
+ sddState
34
+ } from "./chunk-JHUJUIOH.js";
35
+ import {
36
+ runProjectPicker
37
+ } from "./chunk-WQZW3RDP.js";
38
+ import {
39
+ ensureProjectDataDir,
40
+ findProject,
41
+ generateSlug,
42
+ loadManifest,
43
+ saveManifest
44
+ } from "./chunk-IS2PPBQV.js";
45
+ import {
46
+ getWrongTrace
47
+ } from "./chunk-ERX4BLKP.js";
38
48
  import {
39
49
  configureSimpleUiRuntimeContext,
40
50
  detectProjectFacts,
@@ -52,33 +62,23 @@ import {
52
62
  fmtTok,
53
63
  patchConfig
54
64
  } from "./chunk-EWKESL4L.js";
65
+ import {
66
+ effectiveMcpServers,
67
+ parseLaunchMcpServers
68
+ } from "./chunk-HLSHFXTO.js";
55
69
  import {
56
70
  renderDeepHelpToString,
57
71
  renderFocusedHelpToString
58
- } from "./chunk-EPR42SWM.js";
72
+ } from "./chunk-WRYZLEXP.js";
59
73
  import {
60
74
  awaitFirstWrongProxyProbe,
61
75
  bootstrapWrongProxy
62
76
  } from "./chunk-CDY4D5QK.js";
63
- import {
64
- advanceToNextTask,
65
- findSpec,
66
- formatElapsed,
67
- gatherProjectContext,
68
- getSessionState,
69
- getTaskProgress,
70
- matchTaskNode,
71
- sddState
72
- } from "./chunk-JHUJUIOH.js";
73
77
  import {
74
78
  explainCall,
75
79
  formatExplainedCall,
76
80
  formatPermissionRules
77
81
  } from "./chunk-4TVYGG6G.js";
78
- import {
79
- effectiveMcpServers,
80
- parseLaunchMcpServers
81
- } from "./chunk-HLSHFXTO.js";
82
82
  import {
83
83
  PLUGIN_AUDIT_ENTRIES,
84
84
  runPluginManagementCommand
@@ -107,7 +107,7 @@ import {
107
107
  } from "./chunk-NRXWOMK7.js";
108
108
  import {
109
109
  startCliHqConnection
110
- } from "./chunk-RGFWGUAB.js";
110
+ } from "./chunk-4UWCMBPG.js";
111
111
  import {
112
112
  buildProviderForId,
113
113
  resolveProviderCfg,
@@ -1179,6 +1179,7 @@ import { randomUUID as randomUUID6 } from "node:crypto";
1179
1179
  import { createProjectAgentRoster, recordDispatch } from "@wrongstack/core/agent-catalog";
1180
1180
  import {
1181
1181
  AdaptiveConcurrencyController,
1182
+ areSubagentCompanionsAllowedForSession,
1182
1183
  areSubagentsAllowedForSession as areSubagentsAllowedForSession2,
1183
1184
  DEFAULT_MAX_FLEET_SPAWNS as DEFAULT_MAX_FLEET_SPAWNS2,
1184
1185
  Director,
@@ -2194,8 +2195,8 @@ function createHostExploreCompanion(input) {
2194
2195
  const template = roster[DEFAULT_EXPLORE_COMPANION_AGENT_ID];
2195
2196
  let residentId;
2196
2197
  const ensureResident = async () => {
2197
- if (input.subagentsAllowed?.() === false) {
2198
- throw new Error("Subagents are disabled for this session.");
2198
+ if (input.companionsAllowed?.() === false) {
2199
+ throw new Error("Subagent companions are disabled for this session.");
2199
2200
  }
2200
2201
  if (residentId) {
2201
2202
  const alive = director.status().subagents.some((s) => s.id === residentId);
@@ -2203,7 +2204,7 @@ function createHostExploreCompanion(input) {
2203
2204
  residentId = void 0;
2204
2205
  }
2205
2206
  if (!template) throw new Error("explore-companion role missing from roster");
2206
- const subagentId = await director.spawn({
2207
+ const subagentId = await director.spawnCompanion({
2207
2208
  ...template,
2208
2209
  id: `explore-companion-${sessionTag}`,
2209
2210
  name: "Explore Companion",
@@ -3053,7 +3054,7 @@ ${JSON.stringify({
3053
3054
  async spawnBounded(config) {
3054
3055
  let expired = false;
3055
3056
  let timer;
3056
- const pending = this.input.director.spawn(config).then((id) => {
3057
+ const pending = this.input.director.spawnCompanion(config).then((id) => {
3057
3058
  if (!expired) return id;
3058
3059
  void this.input.director.terminate(id).catch(() => {
3059
3060
  });
@@ -4584,7 +4585,9 @@ var MultiAgentHost = class {
4584
4585
  mailboxProjectDir: this.mailboxProjectDir(),
4585
4586
  roster: this.roster,
4586
4587
  config: config.fleet?.exploreCompanion,
4587
- subagentsAllowed: () => areSubagentsAllowedForSession2(sessionId)
4588
+ // Companion gate, not the general one: a Bug Hunter round runs
4589
+ // solo but keeps its read-only companions.
4590
+ companionsAllowed: () => areSubagentCompanionsAllowedForSession(sessionId)
4588
4591
  }) : null
4589
4592
  });
4590
4593
  this.exploreCompanions.ensure(this.deps.session.id);
@@ -4599,7 +4602,7 @@ var MultiAgentHost = class {
4599
4602
  },
4600
4603
  enabled: (sessionId) => {
4601
4604
  const current = this.deps.configStore.get();
4602
- return current.features.memory !== false && current.features.memoryCurator !== false && current.Sage?.enabled !== false && areSubagentsAllowedForSession2(sessionId);
4605
+ return current.features.memory !== false && current.features.memoryCurator !== false && current.Sage?.enabled !== false && areSubagentCompanionsAllowedForSession(sessionId);
4603
4606
  },
4604
4607
  scrub: (text) => this.deps.secretScrubber.scrub(text),
4605
4608
  note: (sessionId, subject, body) => postSessionNote3({
@@ -4614,7 +4617,7 @@ var MultiAgentHost = class {
4614
4617
  });
4615
4618
  this.memoryCompanion.ensure(this.deps.session.id);
4616
4619
  this.exploreCompanionOff = this.deps.events.on("agent.run.started", (e) => {
4617
- if (e.sessionId && areSubagentsAllowedForSession2(e.sessionId)) {
4620
+ if (e.sessionId && areSubagentCompanionsAllowedForSession(e.sessionId)) {
4618
4621
  this.exploreCompanions?.ensure(e.sessionId);
4619
4622
  if (!e.ctx.meta?.["agentRole"]) this.memoryCompanion?.ensure(e.sessionId);
4620
4623
  }
@@ -6564,7 +6567,7 @@ async function runCliExecution(params) {
6564
6567
  governanceHandle,
6565
6568
  setConfig
6566
6569
  } = params;
6567
- const { execute } = await import("./execution-THXWTHYT.js");
6570
+ const { execute } = await import("./execution-JEYF2L7O.js");
6568
6571
  return execute(
6569
6572
  toExecuteDeps({
6570
6573
  core: {
@@ -38359,6 +38362,7 @@ async function setupSession(params) {
38359
38362
  let restoredToolCalls = [];
38360
38363
  let restoredEvents = [];
38361
38364
  let restoredSubagentsAllowed;
38365
+ let restoredSubagentCompanionsAllowed;
38362
38366
  let restoredPermissionOverrides;
38363
38367
  let resumedModel;
38364
38368
  let resumedProvider;
@@ -38386,6 +38390,7 @@ async function setupSession(params) {
38386
38390
  restoredToolCalls = resumed.data.toolCallEnds ?? [];
38387
38391
  restoredEvents = resumed.data.events ?? [];
38388
38392
  restoredSubagentsAllowed = resumed.data.subagentsAllowed;
38393
+ restoredSubagentCompanionsAllowed = resumed.data.subagentCompanionsAllowed;
38389
38394
  restoredPermissionOverrides = resumed.data.permissionOverrides;
38390
38395
  resumedModel = resumed.data.metadata.model;
38391
38396
  resumedProvider = resumed.data.metadata.provider;
@@ -38452,7 +38457,12 @@ async function setupSession(params) {
38452
38457
  await context.flushConversationJournal();
38453
38458
  }
38454
38459
  if (restoredEvents.length > 0 || restoredSubagentsAllowed !== void 0) {
38455
- restoreSessionSubagentPolicy(context, restoredEvents, restoredSubagentsAllowed);
38460
+ restoreSessionSubagentPolicy(
38461
+ context,
38462
+ restoredEvents,
38463
+ restoredSubagentsAllowed,
38464
+ restoredSubagentCompanionsAllowed
38465
+ );
38456
38466
  restoreSessionSubagentModelPlan(context, restoredEvents);
38457
38467
  } else seedSessionSubagentPolicy(context);
38458
38468
  restoreRequiredSkillsFromEvents(context, restoredEvents);
@@ -40429,4 +40439,4 @@ export {
40429
40439
  CLI_VERSION,
40430
40440
  runInteractive
40431
40441
  };
40432
- //# sourceMappingURL=cli-main-BKG4ZVLN.js.map
40442
+ //# sourceMappingURL=cli-main-YS3HIOSD.js.map
@@ -11,6 +11,20 @@ import {
11
11
  deriveFsAccessPair,
12
12
  persistConfigSetting
13
13
  } from "./chunk-SFBFYIOW.js";
14
+ import "./chunk-WHOIR577.js";
15
+ import {
16
+ advanceToNextTask,
17
+ autoDetectTaskCompletion,
18
+ getActiveSDDContext,
19
+ getActiveSDDPhase,
20
+ getCurrentExecutingContext,
21
+ getTaskListText,
22
+ getTaskProgress,
23
+ renderTaskListWithProgress,
24
+ trySaveImplementationPlan,
25
+ trySaveSpecFromAIOutput,
26
+ trySaveTasksFromAIOutput
27
+ } from "./chunk-JHUJUIOH.js";
14
28
  import {
15
29
  checkStructuredAnswer,
16
30
  parseOutputFormat,
@@ -22,35 +36,21 @@ import {
22
36
  import {
23
37
  theme
24
38
  } from "./chunk-QD544J2B.js";
39
+ import {
40
+ fmtTok
41
+ } from "./chunk-EWKESL4L.js";
25
42
  import {
26
43
  WEBUI_SESSION_CHILD_CAPABILITIES,
27
44
  writeWebuiSessionChildError,
28
45
  writeWebuiSessionChildReady
29
46
  } from "./chunk-ZMX5HRLI.js";
30
- import {
31
- fmtTok
32
- } from "./chunk-EWKESL4L.js";
33
- import "./chunk-WHOIR577.js";
34
- import {
35
- advanceToNextTask,
36
- autoDetectTaskCompletion,
37
- getActiveSDDContext,
38
- getActiveSDDPhase,
39
- getCurrentExecutingContext,
40
- getTaskListText,
41
- getTaskProgress,
42
- renderTaskListWithProgress,
43
- trySaveImplementationPlan,
44
- trySaveSpecFromAIOutput,
45
- trySaveTasksFromAIOutput
46
- } from "./chunk-JHUJUIOH.js";
47
47
  import {
48
48
  terminalLink,
49
49
  terminalText
50
50
  } from "./chunk-HXJYHAR4.js";
51
51
  import {
52
52
  startCliHqConnection
53
- } from "./chunk-RGFWGUAB.js";
53
+ } from "./chunk-4UWCMBPG.js";
54
54
  import {
55
55
  CLI_VERSION
56
56
  } from "./chunk-F5DCFAKI.js";
@@ -84,9 +84,12 @@ import { color, writeOut } from "@wrongstack/core/utils";
84
84
  import { ERROR_CODES } from "@wrongstack/core/types";
85
85
  var CONTEXT_OVERFLOW_RE = /context window|exceeds the context|too many tokens|context.*tokens/i;
86
86
  function contextOverflowHint(err) {
87
+ if (!err || typeof err !== "object") return null;
87
88
  const structured = err.code === ERROR_CODES.PROVIDER_CONTEXT_OVERFLOW || err.code === ERROR_CODES.AGENT_CONTEXT_OVERFLOW;
88
- const textual = CONTEXT_OVERFLOW_RE.test(`${err.message}
89
- ${err.describe()}`);
89
+ const desc = typeof err.describe === "function" ? err.describe() : "";
90
+ const message = typeof err.message === "string" ? err.message : "";
91
+ const textual = CONTEXT_OVERFLOW_RE.test(`${message}
92
+ ${desc}`);
90
93
  if (!structured && !textual) return null;
91
94
  return [
92
95
  "Provider rejected the request as over its effective context window.",
@@ -354,7 +357,7 @@ async function runWebUIDispatch(ctx) {
354
357
  const isSimpleUi = !isSessionChild && flags["simpleui"] === true;
355
358
  agent.disableInteractiveConfirmation();
356
359
  renderer.setSilent(true);
357
- const { runWebUI } = await import("./webui-server-GCXIO3JY.js");
360
+ const { runWebUI } = await import("./webui-server-EXJWLB3X.js");
358
361
  const flagValue = (names) => {
359
362
  for (const name of names) {
360
363
  if (!Object.hasOwn(flags, name)) continue;
@@ -3284,7 +3287,12 @@ async function resumeSession(ctx, sessionId) {
3284
3287
  agent.ctx.session = resumed.writer;
3285
3288
  try {
3286
3289
  agent.ctx.state.replaceMessages(resumed.data.messages);
3287
- restoreSessionSubagentPolicy(agent.ctx, resumed.data.events, resumed.data.subagentsAllowed);
3290
+ restoreSessionSubagentPolicy(
3291
+ agent.ctx,
3292
+ resumed.data.events,
3293
+ resumed.data.subagentsAllowed,
3294
+ resumed.data.subagentCompanionsAllowed
3295
+ );
3288
3296
  restoreSessionSubagentModelPlan(agent.ctx, resumed.data.events);
3289
3297
  restoreSessionPermissionOverrides2(agent.ctx.meta, resumed.data);
3290
3298
  restoreRequiredSkillsFromEvents2(agent.ctx, resumed.data.events);
@@ -7342,4 +7350,4 @@ export {
7342
7350
  execute,
7343
7351
  resolveReviewerFallbackModels
7344
7352
  };
7345
- //# sourceMappingURL=execution-THXWTHYT.js.map
7353
+ //# sourceMappingURL=execution-JEYF2L7O.js.map
@@ -41,7 +41,7 @@ interface HostExploreCompanionInput {
41
41
  mailboxProjectDir: string;
42
42
  roster: Record<string, SubagentConfig>;
43
43
  config?: HostExploreCompanionConfig | undefined;
44
- subagentsAllowed?: (() => boolean) | undefined;
44
+ companionsAllowed?: (() => boolean) | undefined;
45
45
  }
46
46
  export declare function createHostExploreCompanion(input: HostExploreCompanionInput): ExploreCompanion | null;
47
47
  export {};
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-Q7E3BPDU.js";
11
11
  import {
12
12
  parseTokenTtlValue
13
- } from "./chunk-UZ2TMHNH.js";
13
+ } from "./chunk-UKP7H2U4.js";
14
14
 
15
15
  // src/subcommands/handlers/hq.ts
16
16
  import {
@@ -329,7 +329,7 @@ var hqCmd = async (args, deps) => {
329
329
  return 1;
330
330
  };
331
331
  async function startServer(deps) {
332
- const { startHqServer } = await import("./hq-server-UIB24LU6.js");
332
+ const { startHqServer } = await import("./hq-server-PCQACV7Y.js");
333
333
  const dataDir = resolveDataDir(deps);
334
334
  const flags = deps.flags ?? {};
335
335
  const rawPublicUrl = typeof flags["hq-public-url"] === "string" ? flags["hq-public-url"] : process.env.WRONGSTACK_HQ_PUBLIC_URL;
@@ -1004,4 +1004,4 @@ export {
1004
1004
  hqCmd,
1005
1005
  resolveAuditActor
1006
1006
  };
1007
- //# sourceMappingURL=hq-44F4OQH2.js.map
1007
+ //# sourceMappingURL=hq-BNK67HOE.js.map
@@ -1,6 +1,8 @@
1
1
  import type { CreateHqPublisherOptions, HqPublisher } from '@wrongstack/core/hq';
2
+ import type { Config } from '@wrongstack/core/types';
2
3
  import { type KanbanHqSyncStats } from './kanban-hq-sync.js';
3
- type CliHqPublisherOptions = Omit<CreateHqPublisherOptions, 'socketFactory'> & {
4
+ type CliHqPublisherOptions = Omit<CreateHqPublisherOptions, 'socketFactory' | 'appConfig'> & {
5
+ appConfig?: Pick<Config, 'hq' | 'Sage'> | undefined;
4
6
  socketFactory?: CreateHqPublisherOptions['socketFactory'];
5
7
  };
6
8
  export interface CliHqConnection {
@@ -29,6 +31,7 @@ interface CliHqConnectionOptions extends CliHqPublisherOptions {
29
31
  * two writers applying the same remote snapshots to the same board files.
30
32
  */
31
33
  ownKanbanSync?: boolean | undefined;
34
+ ownSageSync?: boolean | undefined;
32
35
  }
33
36
  export declare function createCliHqPublisher(options: CliHqPublisherOptions): HqPublisher | undefined;
34
37
  export declare function startCliHqConnection(options: CliHqConnectionOptions): CliHqConnection;
@@ -0,0 +1,5 @@
1
+ import { type HqSageSnapshotPayload } from '@wrongstack/core/hq';
2
+ import type { WebSocket } from 'ws';
3
+ /** Pace the initial corpus by socket flushes, keeping large projects below the queue cap. */
4
+ export declare function sendSageSnapshot(ws: WebSocket, snapshot: HqSageSnapshotPayload): Promise<boolean>;
5
+ //# sourceMappingURL=sage-sync-send.d.ts.map
@@ -4,8 +4,8 @@
4
4
  * @module hq-server/server-lifecycle
5
5
  */
6
6
  import type { Server as HttpServer } from 'node:http';
7
- import type { WebSocket, WebSocketServer } from 'ws';
8
7
  import type { HqPersistence } from '@wrongstack/core/hq';
8
+ import type { WebSocket, WebSocketServer } from 'ws';
9
9
  import type { LoginAttemptStore } from './login-attempt-store.js';
10
10
  import type { MailboxGatewayManager } from './mailbox-gateway-manager.js';
11
11
  interface HqServerShutdownParams {
@@ -24,7 +24,7 @@ export declare const HQ_BROWSER_MAX_BUFFERED_BYTES: number;
24
24
  * always-loaded graph, and a static import would drag that whole package into
25
25
  * boot, which the CLI keeps behind a lazy import on purpose.
26
26
  */
27
- export declare function sendGuarded(ws: WebSocket, data: string): boolean;
27
+ export declare function sendGuarded(ws: WebSocket, data: string, callback?: (error?: Error) => void): boolean;
28
28
  /**
29
29
  * How long a session/fleet snapshot may go unrefreshed before it is treated
30
30
  * as gone.
@@ -10,7 +10,7 @@ import {
10
10
  readLocalSubagentTranscript,
11
11
  sanitizeApiError,
12
12
  startHqServer
13
- } from "./chunk-ENRYW73H.js";
13
+ } from "./chunk-6A7URMWN.js";
14
14
  import "./chunk-HXJYHAR4.js";
15
15
  import "./chunk-5EA6OTLJ.js";
16
16
  import "./chunk-Q7E3BPDU.js";
@@ -27,4 +27,4 @@ export {
27
27
  sanitizeApiError,
28
28
  startHqServer
29
29
  };
30
- //# sourceMappingURL=hq-server-UIB24LU6.js.map
30
+ //# sourceMappingURL=hq-server-PCQACV7Y.js.map
@@ -0,0 +1,7 @@
1
+ import {
2
+ parseTokenTtlValue
3
+ } from "./chunk-UKP7H2U4.js";
4
+ export {
5
+ parseTokenTtlValue
6
+ };
7
+ //# sourceMappingURL=hq-ttl-N4DAIAVX.js.map
package/dist/index.js CHANGED
@@ -20,14 +20,14 @@ async function main(argv) {
20
20
  applyAsciiMode(earlyFlags);
21
21
  }
22
22
  if (earlyFlags["help"] === true || earlyFlags["version"] === true) {
23
- const { handleHelpVersionShortCircuit } = await import("./short-circuit-flags-BSIPTAPD.js");
23
+ const { handleHelpVersionShortCircuit } = await import("./short-circuit-flags-5N2LPK4R.js");
24
24
  const earlyExit = await handleHelpVersionShortCircuit(argv);
25
25
  if (earlyExit !== null) return earlyExit;
26
26
  }
27
- const { initializeCli } = await import("./cli-context-O2SHBDFH.js");
27
+ const { initializeCli } = await import("./cli-context-6RONY47P.js");
28
28
  const cliCtx = await initializeCli(argv);
29
29
  if (typeof cliCtx === "number") return cliCtx;
30
- const { runInteractive } = await import("./cli-main-BKG4ZVLN.js");
30
+ const { runInteractive } = await import("./cli-main-YS3HIOSD.js");
31
31
  return runInteractive(cliCtx);
32
32
  }
33
33
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startCliHqConnection
3
- } from "./chunk-RGFWGUAB.js";
3
+ } from "./chunk-4UWCMBPG.js";
4
4
  import "./chunk-F5DCFAKI.js";
5
5
 
6
6
  // src/subcommands/handlers/mailbox-serve.ts
@@ -361,4 +361,4 @@ function printHelp(deps) {
361
361
  export {
362
362
  mailboxServeCmd
363
363
  };
364
- //# sourceMappingURL=mailbox-serve-GNGXEQ2R.js.map
364
+ //# sourceMappingURL=mailbox-serve-FW3JCCPK.js.map
@@ -7,7 +7,7 @@ import {
7
7
  renderFocusedHelpToString,
8
8
  renderGenericHelp,
9
9
  subcommandsWithFocusedHelp
10
- } from "./chunk-EPR42SWM.js";
10
+ } from "./chunk-WRYZLEXP.js";
11
11
  import "./chunk-YTEOAWOJ.js";
12
12
  export {
13
13
  deepSubcommandsWithFocusedHelp,
@@ -19,4 +19,4 @@ export {
19
19
  renderGenericHelp,
20
20
  subcommandsWithFocusedHelp
21
21
  };
22
- //# sourceMappingURL=per-subcommand-help-QDAQASPZ.js.map
22
+ //# sourceMappingURL=per-subcommand-help-MWQWFIAV.js.map