very-happy-cli 0.2.117 → 0.2.118

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 (35) hide show
  1. package/dist/{AcpBackend-C4RMHt0I.mjs → AcpBackend-Bk9b823B.mjs} +116 -12
  2. package/dist/{AcpBackend-CrbXvcgQ.cjs → AcpBackend-p_KNJkHc.cjs} +116 -12
  3. package/dist/{AcpSessionManager-CjAVO4RX.cjs → AcpSessionManager-B9FTbpGQ.cjs} +15 -2
  4. package/dist/{AcpSessionManager-Cnc8Jatl.mjs → AcpSessionManager-CDvqVHKf.mjs} +15 -2
  5. package/dist/{config-CnA3JIUn.mjs → config-CIpgmGLR.mjs} +2 -2
  6. package/dist/{config-O9quMfxg.cjs → config-CkUn1dI4.cjs} +2 -2
  7. package/dist/{index-DiRN0Rv8.mjs → index-B6cpyG_G.mjs} +5 -5
  8. package/dist/{index-B0o3H6_x.mjs → index-BUVQf9PI.mjs} +2 -2
  9. package/dist/{index-DcESl4cI.cjs → index-BXOXRblP.cjs} +23 -23
  10. package/dist/{index-W-O4xR_O.cjs → index-BzgtwTxC.cjs} +4 -4
  11. package/dist/{index-DqmVH6R5.cjs → index-CxjX8DGz.cjs} +2 -2
  12. package/dist/{index-BYZKuQoy.mjs → index-DIXjhnV1.mjs} +19 -19
  13. package/dist/index.cjs +2 -2
  14. package/dist/index.mjs +2 -2
  15. package/dist/{installTerminalHooks-DeYqyjCB.mjs → installTerminalHooks-BAa6LaQQ.mjs} +2 -2
  16. package/dist/{installTerminalHooks-zfsWSotO.cjs → installTerminalHooks-lXQa6bQU.cjs} +2 -2
  17. package/dist/lib.cjs +1 -1
  18. package/dist/lib.d.cts +2 -0
  19. package/dist/lib.d.mts +2 -0
  20. package/dist/lib.mjs +1 -1
  21. package/dist/{mcp-nYqC4FYm.cjs → mcp-DMD7FxBI.cjs} +2 -2
  22. package/dist/{mcp-D_5aOK0I.mjs → mcp-Dwc299mU.mjs} +2 -2
  23. package/dist/{runGemini-CEURRmM4.mjs → runGemini-BaxGXE9w.mjs} +4 -4
  24. package/dist/{runGemini-DYf3ntib.cjs → runGemini-Bj4Egq7j.cjs} +4 -4
  25. package/dist/{runOpenClaw-CNKjAw-H.cjs → runOpenClaw-BJhSvXYy.cjs} +3 -3
  26. package/dist/{runOpenClaw-BozfKWng.mjs → runOpenClaw-BwJhbIKU.mjs} +3 -3
  27. package/dist/{send-BZLhRZb-.cjs → send-BWGUkWhi.cjs} +2 -2
  28. package/dist/{send-CYznZGrp.mjs → send-DX13svrS.mjs} +2 -2
  29. package/dist/{sessions-YWt9YEN8.cjs → sessions-CGhpBNqn.cjs} +2 -2
  30. package/dist/{sessions-DYPB3Peg.mjs → sessions-L7O3ypda.mjs} +2 -2
  31. package/dist/{spawn-tSvo3stN.cjs → spawn-CbY233Eg.cjs} +2 -2
  32. package/dist/{spawn-CsrHZd3y.mjs → spawn-DPDWZdoW.mjs} +2 -2
  33. package/dist/{types-jSfU_0o1.mjs → types-BtuOM9lw.mjs} +15 -8
  34. package/dist/{types-DD3AK6Nb.cjs → types-ClvvHves.cjs} +15 -8
  35. package/package.json +7 -7
@@ -3,7 +3,7 @@
3
3
  var chalk = require('chalk');
4
4
  var os = require('node:os');
5
5
  var node_crypto = require('node:crypto');
6
- var persistence = require('./types-DD3AK6Nb.cjs');
6
+ var persistence = require('./types-ClvvHves.cjs');
7
7
  var spawn = require('cross-spawn');
8
8
  var path = require('node:path');
9
9
  var node_readline = require('node:readline');
@@ -7240,12 +7240,12 @@ function decideHandover(run) {
7240
7240
 
7241
7241
  function decideAutoUpdate(context) {
7242
7242
  if (!context.enabled) return { action: "skip", reason: "auto-update disabled" };
7243
- const target = context.recommendedVersion;
7244
- if (!target) return { action: "skip", reason: "no recommended version published" };
7243
+ const target = context.autoUpdateVersion;
7244
+ if (!target) return { action: "skip", reason: "no version approved for automatic install" };
7245
7245
  const ordering = persistence.compareExactVersions(context.currentVersion, target);
7246
7246
  if (ordering === null) return { action: "skip", reason: "version numbers not comparable" };
7247
7247
  if (ordering === 0) return { action: "skip", reason: "already current" };
7248
- if (ordering > 0) return { action: "skip", reason: `already ahead of the recommended ${target}` };
7248
+ if (ordering > 0) return { action: "skip", reason: `already ahead of the approved ${target}` };
7249
7249
  if (context.failedVersion === target) {
7250
7250
  return { action: "skip", reason: `already failed to install ${target} once` };
7251
7251
  }
@@ -7319,7 +7319,7 @@ function parseJsonObject(text) {
7319
7319
  return null;
7320
7320
  }
7321
7321
  }
7322
- function resolveSdkClaudeBinary(platform = process.platform, arch = process.arch, resolver = (s) => node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-DcESl4cI.cjs', document.baseURI).href))).resolve(s)) {
7322
+ function resolveSdkClaudeBinary(platform = process.platform, arch = process.arch, resolver = (s) => node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-BXOXRblP.cjs', document.baseURI).href))).resolve(s)) {
7323
7323
  const platformArch = `${platform}-${arch}`;
7324
7324
  const candidates = [
7325
7325
  `@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
@@ -9666,7 +9666,7 @@ async function startDaemon() {
9666
9666
  const decision = decideAutoUpdate({
9667
9667
  enabled: (settings.cliAutoUpdate ?? "idle") !== "off",
9668
9668
  currentVersion: cliUpdate.currentVersion,
9669
- recommendedVersion: cliUpdate.recommendedVersion,
9669
+ autoUpdateVersion: cliUpdate.autoUpdateVersion ?? null,
9670
9670
  idle: pidToTrackedSession.size === 0 && !apiMachine.hasLiveTerminals(),
9671
9671
  failedVersion: autoUpdateFailedVersion
9672
9672
  });
@@ -11204,7 +11204,7 @@ function registerSideQuestionHandler(rpc, deps) {
11204
11204
  const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
11205
11205
  const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
11206
11206
  const run = deps.run ?? (async (input) => {
11207
- const { query } = await Promise.resolve().then(function () { return require('./index-DqmVH6R5.cjs'); });
11207
+ const { query } = await Promise.resolve().then(function () { return require('./index-CxjX8DGz.cjs'); });
11208
11208
  return runSideQuestion(query, input);
11209
11209
  });
11210
11210
  const slots = /* @__PURE__ */ new Map();
@@ -11306,7 +11306,7 @@ const MAX_TITLE_CHARS = 60;
11306
11306
  const GENERATION_TIMEOUT_MS = 3e4;
11307
11307
  function resolveClaudeBinary() {
11308
11308
  try {
11309
- const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-DcESl4cI.cjs', document.baseURI).href)));
11309
+ const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-BXOXRblP.cjs', document.baseURI).href)));
11310
11310
  const utilsPath = path.resolve(path.join(persistence.projectPath(), "scripts", "claude_version_utils.cjs"));
11311
11311
  const { getClaudeCliPath } = require$1(utilsPath);
11312
11312
  const path$1 = getClaudeCliPath();
@@ -13508,9 +13508,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
13508
13508
  };
13509
13509
  }
13510
13510
 
13511
- const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-DcESl4cI.cjs', document.baseURI).href)));
13511
+ const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-BXOXRblP.cjs', document.baseURI).href)));
13512
13512
  const __dirname$1 = path.dirname(__filename$1);
13513
- const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-DcESl4cI.cjs', document.baseURI).href)));
13513
+ const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-BXOXRblP.cjs', document.baseURI).href)));
13514
13514
  const PRISMA_QUERY_ENGINE_FILES = {
13515
13515
  "arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
13516
13516
  "x64-darwin": "libquery_engine-darwin.dylib.node",
@@ -16134,7 +16134,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16134
16134
  process.exit(0);
16135
16135
  } else if (subcommand === "install-terminal-hooks") {
16136
16136
  try {
16137
- const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-zfsWSotO.cjs'); });
16137
+ const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-lXQa6bQU.cjs'); });
16138
16138
  const command = parseTerminalHooksArgs(args.slice(1));
16139
16139
  if (command.action === "help") {
16140
16140
  console.log(TERMINAL_HOOKS_HELP);
@@ -16151,7 +16151,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16151
16151
  }
16152
16152
  } else if (subcommand === "spawn") {
16153
16153
  try {
16154
- const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-tSvo3stN.cjs'); });
16154
+ const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-CbY233Eg.cjs'); });
16155
16155
  await handleSpawnCommand(args.slice(1));
16156
16156
  } catch (error) {
16157
16157
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -16163,7 +16163,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16163
16163
  return;
16164
16164
  } else if (subcommand === "sessions") {
16165
16165
  try {
16166
- const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-YWt9YEN8.cjs'); });
16166
+ const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-CGhpBNqn.cjs'); });
16167
16167
  await handleSessionsCommand(args.slice(1));
16168
16168
  } catch (error) {
16169
16169
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -16175,7 +16175,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16175
16175
  return;
16176
16176
  } else if (subcommand === "send") {
16177
16177
  try {
16178
- const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-BZLhRZb-.cjs'); });
16178
+ const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-BWGUkWhi.cjs'); });
16179
16179
  await handleSendCommand(args.slice(1));
16180
16180
  } catch (error) {
16181
16181
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -16281,9 +16281,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16281
16281
  if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
16282
16282
  const projectId = args[3];
16283
16283
  try {
16284
- const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-O9quMfxg.cjs'); });
16285
- const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./types-DD3AK6Nb.cjs'); }).then(function (n) { return n.persistence; });
16286
- const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-DD3AK6Nb.cjs'); }).then(function (n) { return n.api; });
16284
+ const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-CkUn1dI4.cjs'); });
16285
+ const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./types-ClvvHves.cjs'); }).then(function (n) { return n.persistence; });
16286
+ const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-ClvvHves.cjs'); }).then(function (n) { return n.api; });
16287
16287
  let userEmail = void 0;
16288
16288
  try {
16289
16289
  const credentials = await readCredentialsForConfiguredRelay2();
@@ -16314,7 +16314,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16314
16314
  }
16315
16315
  if (geminiSubcommand === "project" && args[2] === "get") {
16316
16316
  try {
16317
- const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-O9quMfxg.cjs'); });
16317
+ const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-CkUn1dI4.cjs'); });
16318
16318
  const config = readGeminiLocalConfig();
16319
16319
  if (config.googleCloudProject) {
16320
16320
  console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
@@ -16354,7 +16354,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16354
16354
  process.exit(0);
16355
16355
  }
16356
16356
  try {
16357
- const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-DYf3ntib.cjs'); });
16357
+ const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-Bj4Egq7j.cjs'); });
16358
16358
  let startedBy = void 0;
16359
16359
  for (let i = 1; i < args.length; i++) {
16360
16360
  if (args[i] === "--started-by") {
@@ -16384,7 +16384,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16384
16384
  }
16385
16385
  };
16386
16386
  try {
16387
- const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-W-O4xR_O.cjs'); });
16387
+ const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-BzgtwTxC.cjs'); });
16388
16388
  const parsed = parsePiRunnerArgs(args.slice(1));
16389
16389
  const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
16390
16390
  const { credentials } = await authAndSetupMachineIfNeeded();
@@ -16411,7 +16411,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16411
16411
  return;
16412
16412
  } else if (subcommand === "acp") {
16413
16413
  try {
16414
- const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-W-O4xR_O.cjs'); });
16414
+ const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-BzgtwTxC.cjs'); });
16415
16415
  let startedBy = void 0;
16416
16416
  let verbose = false;
16417
16417
  const acpArgs = [];
@@ -16451,7 +16451,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16451
16451
  return;
16452
16452
  } else if (subcommand === "openclaw") {
16453
16453
  try {
16454
- const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-CNKjAw-H.cjs'); });
16454
+ const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-BJhSvXYy.cjs'); });
16455
16455
  let startedBy = void 0;
16456
16456
  let verbose = false;
16457
16457
  let gatewayUrl;
@@ -16502,7 +16502,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16502
16502
  return;
16503
16503
  } else if (subcommand === "mcp" && args.length === 1) {
16504
16504
  try {
16505
- const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-nYqC4FYm.cjs'); });
16505
+ const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-DMD7FxBI.cjs'); });
16506
16506
  await handleMcpCommand();
16507
16507
  } catch (error) {
16508
16508
  process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var AcpBackend = require('./AcpBackend-CrbXvcgQ.cjs');
4
- var persistence = require('./types-DD3AK6Nb.cjs');
5
- var AcpSessionManager = require('./AcpSessionManager-CjAVO4RX.cjs');
3
+ var AcpBackend = require('./AcpBackend-p_KNJkHc.cjs');
4
+ var persistence = require('./types-ClvvHves.cjs');
5
+ var AcpSessionManager = require('./AcpSessionManager-B9FTbpGQ.cjs');
6
6
  var node_crypto = require('node:crypto');
7
7
  var path = require('node:path');
8
- var index = require('./index-DcESl4cI.cjs');
8
+ var index = require('./index-BXOXRblP.cjs');
9
9
  require('node:child_process');
10
10
  require('@agentclientprotocol/sdk');
11
11
  require('axios');
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DcESl4cI.cjs');
3
+ var index = require('./index-BXOXRblP.cjs');
4
4
  var claudeAgentSdk = require('@anthropic-ai/claude-agent-sdk');
5
5
  require('chalk');
6
6
  require('node:os');
7
7
  require('node:crypto');
8
- require('./types-DD3AK6Nb.cjs');
8
+ require('./types-ClvvHves.cjs');
9
9
  require('axios');
10
10
  require('node:util');
11
11
  require('node:fs');
@@ -1,7 +1,7 @@
1
1
  import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import chalk from 'chalk';
2
2
  import os, { homedir, userInfo, tmpdir } from 'node:os';
3
3
  import { randomUUID, randomBytes, createHash as createHash$1, timingSafeEqual } from 'node:crypto';
4
- import { o as readDaemonState, l as logger, c as configuration, q as clearDaemonState, s as getProjectPath, p as projectPath, t as initializeSandbox, u as wrapCommand, d as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, g as delay, v as AsyncLock, S as STREAM_DELTA_MAX_CHARS, x as ensurePrivateDirectory, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, y as hardenPrivateFile, f as packageJson, z as commandOnPath, j as readSettings, B as readCredentials, C as credentialRelayProblem, D as deriveLocalCliUpdateSummary, k as encodeBase64, E as updateSettings, F as encodeBase64Url, G as decodeBase64, H as writeCredentialsLegacy, J as writeCredentialsDataKey, K as readCredentialsForConfiguredRelay, L as encrypt, r as readPersistedSessions, N as isClaudeSessionId, w as writePrivateFileSync, O as getLocalHappyAgentCredentialPath, P as readLocalHappyAgentCredentials, Q as decryptWithDataKey, T as decryptLegacy, U as compareExactVersions, V as extractCompleteLines, W as decideBackfill, X as parseTerminalHookPayload, Y as tmuxArgs, Z as scrubTmuxClientEnv, _ as decideMirrorBinding, $ as MIRROR_BACKFILL_LINES_DEFAULT, a0 as persistSession, a1 as mirrorLineKey, a2 as mirrorLocalId, a3 as detectCLIAvailability, a4 as detectResumeSupport, a5 as acquireDaemonLock, a6 as summarizeSpawnSessionForLog, a7 as deletePersistedSessions, a8 as shellescape, a9 as decrypt, aa as writeDaemonState, A as ApiClient, ab as writeSettings, ac as fetchCliUpdateState, ad as resolveCliUpdateCheckInterval, ae as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, af as releaseDaemonLock, i as isValidSessionId, ag as listVhTerminals, ah as isValidTerminalId, ai as readVhTerminal, aj as sendToVhTerminal, ak as TITLE_PROMPT_PREFIX, al as BOARD_ANALYZER_PROMPT_PREFIX, h as connectionState, am as startOfflineReconnection, an as clearCredentials, ao as clearMachineId, m as ensurePrivateDirectorySync, ap as SandboxConfigSchema, b as createEnvelope, aq as CodexAppServerClient, ar as getLatestDaemonLog } from './types-jSfU_0o1.mjs';
4
+ import { o as readDaemonState, l as logger, c as configuration, q as clearDaemonState, s as getProjectPath, p as projectPath, t as initializeSandbox, u as wrapCommand, g as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, k as delay, v as AsyncLock, S as STREAM_DELTA_MAX_CHARS, x as ensurePrivateDirectory, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, y as hardenPrivateFile, j as packageJson, z as commandOnPath, e as readSettings, B as readCredentials, C as credentialRelayProblem, D as deriveLocalCliUpdateSummary, f as encodeBase64, E as updateSettings, F as encodeBase64Url, G as decodeBase64, H as writeCredentialsLegacy, J as writeCredentialsDataKey, K as readCredentialsForConfiguredRelay, L as encrypt, r as readPersistedSessions, N as isClaudeSessionId, w as writePrivateFileSync, O as getLocalHappyAgentCredentialPath, P as readLocalHappyAgentCredentials, Q as decryptWithDataKey, T as decryptLegacy, U as compareExactVersions, V as extractCompleteLines, W as decideBackfill, X as parseTerminalHookPayload, Y as tmuxArgs, Z as scrubTmuxClientEnv, _ as decideMirrorBinding, $ as MIRROR_BACKFILL_LINES_DEFAULT, a0 as persistSession, a1 as mirrorLineKey, a2 as mirrorLocalId, a3 as detectCLIAvailability, a4 as detectResumeSupport, a5 as acquireDaemonLock, a6 as summarizeSpawnSessionForLog, a7 as deletePersistedSessions, a8 as shellescape, a9 as decrypt, aa as writeDaemonState, A as ApiClient, ab as writeSettings, ac as fetchCliUpdateState, ad as resolveCliUpdateCheckInterval, ae as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, af as releaseDaemonLock, i as isValidSessionId, ag as listVhTerminals, ah as isValidTerminalId, ai as readVhTerminal, aj as sendToVhTerminal, ak as TITLE_PROMPT_PREFIX, al as BOARD_ANALYZER_PROMPT_PREFIX, d as connectionState, am as startOfflineReconnection, an as clearCredentials, ao as clearMachineId, m as ensurePrivateDirectorySync, ap as SandboxConfigSchema, b as createEnvelope, aq as CodexAppServerClient, ar as getLatestDaemonLog } from './types-BtuOM9lw.mjs';
5
5
  import spawn$1, { spawn } from 'cross-spawn';
6
6
  import path, { join, resolve, basename, delimiter, isAbsolute, normalize, sep, dirname } from 'node:path';
7
7
  import { createInterface } from 'node:readline';
@@ -7218,12 +7218,12 @@ function decideHandover(run) {
7218
7218
 
7219
7219
  function decideAutoUpdate(context) {
7220
7220
  if (!context.enabled) return { action: "skip", reason: "auto-update disabled" };
7221
- const target = context.recommendedVersion;
7222
- if (!target) return { action: "skip", reason: "no recommended version published" };
7221
+ const target = context.autoUpdateVersion;
7222
+ if (!target) return { action: "skip", reason: "no version approved for automatic install" };
7223
7223
  const ordering = compareExactVersions(context.currentVersion, target);
7224
7224
  if (ordering === null) return { action: "skip", reason: "version numbers not comparable" };
7225
7225
  if (ordering === 0) return { action: "skip", reason: "already current" };
7226
- if (ordering > 0) return { action: "skip", reason: `already ahead of the recommended ${target}` };
7226
+ if (ordering > 0) return { action: "skip", reason: `already ahead of the approved ${target}` };
7227
7227
  if (context.failedVersion === target) {
7228
7228
  return { action: "skip", reason: `already failed to install ${target} once` };
7229
7229
  }
@@ -9644,7 +9644,7 @@ async function startDaemon() {
9644
9644
  const decision = decideAutoUpdate({
9645
9645
  enabled: (settings.cliAutoUpdate ?? "idle") !== "off",
9646
9646
  currentVersion: cliUpdate.currentVersion,
9647
- recommendedVersion: cliUpdate.recommendedVersion,
9647
+ autoUpdateVersion: cliUpdate.autoUpdateVersion ?? null,
9648
9648
  idle: pidToTrackedSession.size === 0 && !apiMachine.hasLiveTerminals(),
9649
9649
  failedVersion: autoUpdateFailedVersion
9650
9650
  });
@@ -11182,7 +11182,7 @@ function registerSideQuestionHandler(rpc, deps) {
11182
11182
  const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
11183
11183
  const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
11184
11184
  const run = deps.run ?? (async (input) => {
11185
- const { query } = await import('./index-B0o3H6_x.mjs');
11185
+ const { query } = await import('./index-BUVQf9PI.mjs');
11186
11186
  return runSideQuestion(query, input);
11187
11187
  });
11188
11188
  const slots = /* @__PURE__ */ new Map();
@@ -16112,7 +16112,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16112
16112
  process.exit(0);
16113
16113
  } else if (subcommand === "install-terminal-hooks") {
16114
16114
  try {
16115
- const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-DeYqyjCB.mjs');
16115
+ const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-BAa6LaQQ.mjs');
16116
16116
  const command = parseTerminalHooksArgs(args.slice(1));
16117
16117
  if (command.action === "help") {
16118
16118
  console.log(TERMINAL_HOOKS_HELP);
@@ -16129,7 +16129,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16129
16129
  }
16130
16130
  } else if (subcommand === "spawn") {
16131
16131
  try {
16132
- const { handleSpawnCommand } = await import('./spawn-CsrHZd3y.mjs');
16132
+ const { handleSpawnCommand } = await import('./spawn-DPDWZdoW.mjs');
16133
16133
  await handleSpawnCommand(args.slice(1));
16134
16134
  } catch (error) {
16135
16135
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -16141,7 +16141,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16141
16141
  return;
16142
16142
  } else if (subcommand === "sessions") {
16143
16143
  try {
16144
- const { handleSessionsCommand } = await import('./sessions-DYPB3Peg.mjs');
16144
+ const { handleSessionsCommand } = await import('./sessions-L7O3ypda.mjs');
16145
16145
  await handleSessionsCommand(args.slice(1));
16146
16146
  } catch (error) {
16147
16147
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -16153,7 +16153,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16153
16153
  return;
16154
16154
  } else if (subcommand === "send") {
16155
16155
  try {
16156
- const { handleSendCommand } = await import('./send-CYznZGrp.mjs');
16156
+ const { handleSendCommand } = await import('./send-DX13svrS.mjs');
16157
16157
  await handleSendCommand(args.slice(1));
16158
16158
  } catch (error) {
16159
16159
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -16259,9 +16259,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16259
16259
  if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
16260
16260
  const projectId = args[3];
16261
16261
  try {
16262
- const { saveGoogleCloudProjectToConfig } = await import('./config-CnA3JIUn.mjs');
16263
- const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./types-jSfU_0o1.mjs').then(function (n) { return n.as; });
16264
- const { ApiClient: ApiClient2 } = await import('./types-jSfU_0o1.mjs').then(function (n) { return n.at; });
16262
+ const { saveGoogleCloudProjectToConfig } = await import('./config-CIpgmGLR.mjs');
16263
+ const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./types-BtuOM9lw.mjs').then(function (n) { return n.as; });
16264
+ const { ApiClient: ApiClient2 } = await import('./types-BtuOM9lw.mjs').then(function (n) { return n.at; });
16265
16265
  let userEmail = void 0;
16266
16266
  try {
16267
16267
  const credentials = await readCredentialsForConfiguredRelay2();
@@ -16292,7 +16292,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16292
16292
  }
16293
16293
  if (geminiSubcommand === "project" && args[2] === "get") {
16294
16294
  try {
16295
- const { readGeminiLocalConfig } = await import('./config-CnA3JIUn.mjs');
16295
+ const { readGeminiLocalConfig } = await import('./config-CIpgmGLR.mjs');
16296
16296
  const config = readGeminiLocalConfig();
16297
16297
  if (config.googleCloudProject) {
16298
16298
  console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
@@ -16332,7 +16332,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16332
16332
  process.exit(0);
16333
16333
  }
16334
16334
  try {
16335
- const { runGemini } = await import('./runGemini-CEURRmM4.mjs');
16335
+ const { runGemini } = await import('./runGemini-BaxGXE9w.mjs');
16336
16336
  let startedBy = void 0;
16337
16337
  for (let i = 1; i < args.length; i++) {
16338
16338
  if (args[i] === "--started-by") {
@@ -16362,7 +16362,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16362
16362
  }
16363
16363
  };
16364
16364
  try {
16365
- const { runAcp, resolveAcpAgentConfig } = await import('./index-DiRN0Rv8.mjs');
16365
+ const { runAcp, resolveAcpAgentConfig } = await import('./index-B6cpyG_G.mjs');
16366
16366
  const parsed = parsePiRunnerArgs(args.slice(1));
16367
16367
  const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
16368
16368
  const { credentials } = await authAndSetupMachineIfNeeded();
@@ -16389,7 +16389,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16389
16389
  return;
16390
16390
  } else if (subcommand === "acp") {
16391
16391
  try {
16392
- const { runAcp, resolveAcpAgentConfig } = await import('./index-DiRN0Rv8.mjs');
16392
+ const { runAcp, resolveAcpAgentConfig } = await import('./index-B6cpyG_G.mjs');
16393
16393
  let startedBy = void 0;
16394
16394
  let verbose = false;
16395
16395
  const acpArgs = [];
@@ -16429,7 +16429,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16429
16429
  return;
16430
16430
  } else if (subcommand === "openclaw") {
16431
16431
  try {
16432
- const { runOpenClaw } = await import('./runOpenClaw-BozfKWng.mjs');
16432
+ const { runOpenClaw } = await import('./runOpenClaw-BwJhbIKU.mjs');
16433
16433
  let startedBy = void 0;
16434
16434
  let verbose = false;
16435
16435
  let gatewayUrl;
@@ -16480,7 +16480,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
16480
16480
  return;
16481
16481
  } else if (subcommand === "mcp" && args.length === 1) {
16482
16482
  try {
16483
- const { handleMcpCommand } = await import('./mcp-D_5aOK0I.mjs');
16483
+ const { handleMcpCommand } = await import('./mcp-Dwc299mU.mjs');
16484
16484
  await handleMcpCommand();
16485
16485
  } catch (error) {
16486
16486
  process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  require('chalk');
4
- require('./index-DcESl4cI.cjs');
5
- require('./types-DD3AK6Nb.cjs');
4
+ require('./index-BXOXRblP.cjs');
5
+ require('./types-ClvvHves.cjs');
6
6
  require('zod');
7
7
  require('node:child_process');
8
8
  require('node:os');
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'chalk';
2
- import './index-BYZKuQoy.mjs';
3
- import './types-jSfU_0o1.mjs';
2
+ import './index-DIXjhnV1.mjs';
3
+ import './types-BtuOM9lw.mjs';
4
4
  import 'zod';
5
5
  import 'node:child_process';
6
6
  import 'node:os';
@@ -3,8 +3,8 @@ import { join, resolve } from 'node:path';
3
3
  import { homedir } from 'node:os';
4
4
  import { spawnSync } from 'node:child_process';
5
5
  import chalk from 'chalk';
6
- import { p as projectPath } from './types-jSfU_0o1.mjs';
7
- import { t as tmuxSupportsSessionEnv } from './index-BYZKuQoy.mjs';
6
+ import { p as projectPath } from './types-BtuOM9lw.mjs';
7
+ import { t as tmuxSupportsSessionEnv } from './index-DIXjhnV1.mjs';
8
8
  import 'axios';
9
9
  import 'node:util';
10
10
  import 'node:fs/promises';
@@ -5,8 +5,8 @@ var path = require('node:path');
5
5
  var os = require('node:os');
6
6
  var node_child_process = require('node:child_process');
7
7
  var chalk = require('chalk');
8
- var persistence = require('./types-DD3AK6Nb.cjs');
9
- var index = require('./index-DcESl4cI.cjs');
8
+ var persistence = require('./types-ClvvHves.cjs');
9
+ var index = require('./index-BXOXRblP.cjs');
10
10
  require('axios');
11
11
  require('node:util');
12
12
  require('node:fs/promises');
package/dist/lib.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var persistence = require('./types-DD3AK6Nb.cjs');
3
+ var persistence = require('./types-ClvvHves.cjs');
4
4
  require('axios');
5
5
  require('chalk');
6
6
  require('node:util');
package/dist/lib.d.cts CHANGED
@@ -336,6 +336,7 @@ declare const CliUpdateStateSchema: z$1.ZodObject<{
336
336
  available: "available";
337
337
  required: "required";
338
338
  }>;
339
+ autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
339
340
  checkedAt: z$1.ZodNumber;
340
341
  handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
341
342
  reason: z$1.ZodString;
@@ -430,6 +431,7 @@ declare const DaemonStateSchema: z$1.ZodObject<{
430
431
  available: "available";
431
432
  required: "required";
432
433
  }>;
434
+ autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
433
435
  checkedAt: z$1.ZodNumber;
434
436
  handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
435
437
  reason: z$1.ZodString;
package/dist/lib.d.mts CHANGED
@@ -336,6 +336,7 @@ declare const CliUpdateStateSchema: z$1.ZodObject<{
336
336
  available: "available";
337
337
  required: "required";
338
338
  }>;
339
+ autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
339
340
  checkedAt: z$1.ZodNumber;
340
341
  handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
341
342
  reason: z$1.ZodString;
@@ -430,6 +431,7 @@ declare const DaemonStateSchema: z$1.ZodObject<{
430
431
  available: "available";
431
432
  required: "required";
432
433
  }>;
434
+ autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
433
435
  checkedAt: z$1.ZodNumber;
434
436
  handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
435
437
  reason: z$1.ZodString;
package/dist/lib.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-jSfU_0o1.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-BtuOM9lw.mjs';
2
2
  import 'axios';
3
3
  import 'chalk';
4
4
  import 'node:util';
@@ -3,9 +3,9 @@
3
3
  var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
4
4
  var stdio_js = require('@modelcontextprotocol/sdk/server/stdio.js');
5
5
  var z = require('zod');
6
- var index = require('./index-DcESl4cI.cjs');
6
+ var index = require('./index-BXOXRblP.cjs');
7
7
  var limits = require('./limits-KdWKmwtH.cjs');
8
- var persistence = require('./types-DD3AK6Nb.cjs');
8
+ var persistence = require('./types-ClvvHves.cjs');
9
9
  require('node:fs/promises');
10
10
  require('node:os');
11
11
  require('node:crypto');
@@ -1,9 +1,9 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
3
3
  import { z } from 'zod';
4
- import { p as pushClipboardViaDaemon, k as setTerminalTitleViaDaemon, m as registerAssistantSessionTools } from './index-BYZKuQoy.mjs';
4
+ import { p as pushClipboardViaDaemon, k as setTerminalTitleViaDaemon, m as registerAssistantSessionTools } from './index-DIXjhnV1.mjs';
5
5
  import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, c as CLIPBOARD_MAX_BYTES } from './limits-CwFb5S2b.mjs';
6
- import { l as logger } from './types-jSfU_0o1.mjs';
6
+ import { l as logger } from './types-BtuOM9lw.mjs';
7
7
  import 'node:fs/promises';
8
8
  import 'node:os';
9
9
  import 'node:crypto';
@@ -2,10 +2,10 @@ import { useStdout, useInput, Box, Text, render } from 'ink';
2
2
  import React, { useState, useRef, useEffect, useCallback } from 'react';
3
3
  import { randomUUID } from 'node:crypto';
4
4
  import { join } from 'node:path';
5
- import { l as logger, h as connectionState, A as ApiClient, j as readSettings, e as errorLogMetadata, k as encodeBase64, p as projectPath, d as contentLogMetadata } from './types-jSfU_0o1.mjs';
6
- import { I as GEMINI_API_KEY_ENV, J as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, C as BasePermissionHandler, K as BaseReasoningProcessor, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, y as hashObject, L as MessageBuffer, N as CHANGE_TITLE_INSTRUCTION, B as registerKillSessionHandler, z as startHappyServer } from './index-BYZKuQoy.mjs';
7
- import { A as AcpBackend } from './AcpBackend-C4RMHt0I.mjs';
8
- import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-CnA3JIUn.mjs';
5
+ import { l as logger, d as connectionState, A as ApiClient, e as readSettings, h as errorLogMetadata, f as encodeBase64, p as projectPath, g as contentLogMetadata } from './types-BtuOM9lw.mjs';
6
+ import { I as GEMINI_API_KEY_ENV, J as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, C as BasePermissionHandler, K as BaseReasoningProcessor, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, y as hashObject, L as MessageBuffer, N as CHANGE_TITLE_INSTRUCTION, B as registerKillSessionHandler, z as startHappyServer } from './index-DIXjhnV1.mjs';
7
+ import { A as AcpBackend } from './AcpBackend-Bk9b823B.mjs';
8
+ import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-CIpgmGLR.mjs';
9
9
  import 'axios';
10
10
  import 'chalk';
11
11
  import 'node:util';
@@ -4,10 +4,10 @@ var ink = require('ink');
4
4
  var React = require('react');
5
5
  var node_crypto = require('node:crypto');
6
6
  var path = require('node:path');
7
- var persistence = require('./types-DD3AK6Nb.cjs');
8
- var index = require('./index-DcESl4cI.cjs');
9
- var AcpBackend = require('./AcpBackend-CrbXvcgQ.cjs');
10
- var config = require('./config-O9quMfxg.cjs');
7
+ var persistence = require('./types-ClvvHves.cjs');
8
+ var index = require('./index-BXOXRblP.cjs');
9
+ var AcpBackend = require('./AcpBackend-p_KNJkHc.cjs');
10
+ var config = require('./config-CkUn1dI4.cjs');
11
11
  require('axios');
12
12
  require('chalk');
13
13
  require('node:util');
@@ -5,9 +5,9 @@ var node_child_process = require('node:child_process');
5
5
  var os = require('node:os');
6
6
  var node_fs = require('node:fs');
7
7
  var path = require('node:path');
8
- var persistence = require('./types-DD3AK6Nb.cjs');
9
- var AcpSessionManager = require('./AcpSessionManager-CjAVO4RX.cjs');
10
- var index = require('./index-DcESl4cI.cjs');
8
+ var persistence = require('./types-ClvvHves.cjs');
9
+ var AcpSessionManager = require('./AcpSessionManager-B9FTbpGQ.cjs');
10
+ var index = require('./index-BXOXRblP.cjs');
11
11
  var WebSocket = require('ws');
12
12
  var ed = require('@noble/ed25519');
13
13
  var sha2_js = require('@noble/hashes/sha2.js');
@@ -3,9 +3,9 @@ import { execFileSync } from 'node:child_process';
3
3
  import os from 'node:os';
4
4
  import { existsSync, readFileSync } from 'node:fs';
5
5
  import { join } from 'node:path';
6
- import { m as ensurePrivateDirectorySync, n as hardenPrivateFileSync, w as writePrivateFileSync, e as errorLogMetadata, d as contentLogMetadata, h as connectionState, A as ApiClient, j as readSettings, k as encodeBase64, l as logger, c as configuration } from './types-jSfU_0o1.mjs';
7
- import { A as AcpSessionManager } from './AcpSessionManager-Cnc8Jatl.mjs';
8
- import { n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, B as registerKillSessionHandler } from './index-BYZKuQoy.mjs';
6
+ import { m as ensurePrivateDirectorySync, n as hardenPrivateFileSync, w as writePrivateFileSync, h as errorLogMetadata, g as contentLogMetadata, d as connectionState, A as ApiClient, e as readSettings, f as encodeBase64, l as logger, c as configuration } from './types-BtuOM9lw.mjs';
7
+ import { A as AcpSessionManager } from './AcpSessionManager-CDvqVHKf.mjs';
8
+ import { n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, B as registerKillSessionHandler } from './index-DIXjhnV1.mjs';
9
9
  import WebSocket from 'ws';
10
10
  import * as ed from '@noble/ed25519';
11
11
  import { sha512 } from '@noble/hashes/sha2.js';
@@ -3,8 +3,8 @@
3
3
  var chalk = require('chalk');
4
4
  var node_fs = require('node:fs');
5
5
  var path = require('node:path');
6
- var persistence = require('./types-DD3AK6Nb.cjs');
7
- var index = require('./index-DcESl4cI.cjs');
6
+ var persistence = require('./types-ClvvHves.cjs');
7
+ var index = require('./index-BXOXRblP.cjs');
8
8
  require('axios');
9
9
  require('node:util');
10
10
  require('node:os');
@@ -1,8 +1,8 @@
1
1
  import chalk from 'chalk';
2
2
  import { readFileSync } from 'node:fs';
3
3
  import { resolve } from 'node:path';
4
- import { r as readPersistedSessions, c as configuration } from './types-jSfU_0o1.mjs';
5
- import { d as sendUserMessage, a as sessionWebUrl } from './index-BYZKuQoy.mjs';
4
+ import { r as readPersistedSessions, c as configuration } from './types-BtuOM9lw.mjs';
5
+ import { d as sendUserMessage, a as sessionWebUrl } from './index-DIXjhnV1.mjs';
6
6
  import 'axios';
7
7
  import 'node:util';
8
8
  import 'node:os';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chalk = require('chalk');
4
- var index = require('./index-DcESl4cI.cjs');
5
- var persistence = require('./types-DD3AK6Nb.cjs');
4
+ var index = require('./index-BXOXRblP.cjs');
5
+ var persistence = require('./types-ClvvHves.cjs');
6
6
  require('node:os');
7
7
  require('node:crypto');
8
8
  require('cross-spawn');
@@ -1,6 +1,6 @@
1
1
  import chalk from 'chalk';
2
- import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, e as listSessions, r as readSessionTranscript, f as stopSession, g as resolvePermissionRequest, h as archiveSession } from './index-BYZKuQoy.mjs';
3
- import { i as isValidSessionId } from './types-jSfU_0o1.mjs';
2
+ import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, e as listSessions, r as readSessionTranscript, f as stopSession, g as resolvePermissionRequest, h as archiveSession } from './index-DIXjhnV1.mjs';
3
+ import { i as isValidSessionId } from './types-BtuOM9lw.mjs';
4
4
  import 'node:os';
5
5
  import 'node:crypto';
6
6
  import 'cross-spawn';
@@ -3,8 +3,8 @@
3
3
  var chalk = require('chalk');
4
4
  var node_fs = require('node:fs');
5
5
  var path = require('node:path');
6
- var index = require('./index-DcESl4cI.cjs');
7
- var persistence = require('./types-DD3AK6Nb.cjs');
6
+ var index = require('./index-BXOXRblP.cjs');
7
+ var persistence = require('./types-ClvvHves.cjs');
8
8
  require('node:os');
9
9
  require('node:crypto');
10
10
  require('cross-spawn');
@@ -1,8 +1,8 @@
1
1
  import chalk from 'chalk';
2
2
  import { readFileSync, statSync } from 'node:fs';
3
3
  import { resolve } from 'node:path';
4
- import { c as checkIfDaemonRunningAndCleanupStaleState, s as spawnDaemonSession, a as sessionWebUrl, i as isValidSpawnOrigin, b as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS, w as waitForSessionKey, d as sendUserMessage } from './index-BYZKuQoy.mjs';
5
- import { l as logger } from './types-jSfU_0o1.mjs';
4
+ import { c as checkIfDaemonRunningAndCleanupStaleState, s as spawnDaemonSession, a as sessionWebUrl, i as isValidSpawnOrigin, b as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS, w as waitForSessionKey, d as sendUserMessage } from './index-DIXjhnV1.mjs';
5
+ import { l as logger } from './types-BtuOM9lw.mjs';
6
6
  import 'node:os';
7
7
  import 'node:crypto';
8
8
  import 'cross-spawn';