very-happy-cli 0.2.107 → 0.2.108

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 (31) hide show
  1. package/dist/{AcpBackend-B3WfHjyi.cjs → AcpBackend-D4vV6SVl.cjs} +1 -1
  2. package/dist/{AcpBackend-leZGKCNL.mjs → AcpBackend-DwR8rrkS.mjs} +1 -1
  3. package/dist/{AcpSessionManager-CI_-4TvB.mjs → AcpSessionManager-C057dkLF.mjs} +1 -1
  4. package/dist/{AcpSessionManager-Cza1nTaQ.cjs → AcpSessionManager-CPHDZ-nz.cjs} +1 -1
  5. package/dist/{config-CpVncJmR.cjs → config-BvVwprR0.cjs} +2 -2
  6. package/dist/{config-TEae6YCF.mjs → config-DKMwLc1k.mjs} +2 -2
  7. package/dist/{index-D9H-dsUT.mjs → index-BXnHT-Wu.mjs} +5 -5
  8. package/dist/{index-RyvQwH4I.cjs → index-C7N-ONU_.cjs} +2 -2
  9. package/dist/{index-CIfhQ_X6.mjs → index-CzSv4d_S.mjs} +19 -13
  10. package/dist/{index-CF9-9B70.cjs → index-DM0Ku1Rv.cjs} +23 -17
  11. package/dist/{index-Dg78JF0h.mjs → index-DYY1DUOD.mjs} +2 -2
  12. package/dist/{index-b_E_olpx.cjs → index-Db5m34eh.cjs} +4 -4
  13. package/dist/index.cjs +2 -2
  14. package/dist/index.mjs +2 -2
  15. package/dist/{installTerminalHooks-DMSUDPG3.cjs → installTerminalHooks-BpvWmkZ9.cjs} +2 -2
  16. package/dist/{installTerminalHooks-tPNg8EgD.mjs → installTerminalHooks-Cs49gg_E.mjs} +2 -2
  17. package/dist/lib.cjs +1 -1
  18. package/dist/lib.mjs +1 -1
  19. package/dist/{mcp-DUXABUpc.mjs → mcp-DY17lhMH.mjs} +2 -2
  20. package/dist/{mcp-B13ZiAxa.cjs → mcp-rTSmj-tn.cjs} +2 -2
  21. package/dist/{runGemini-Dvf_ajZd.cjs → runGemini-B3Mme1zr.cjs} +4 -4
  22. package/dist/{runGemini-aCMjZ4lm.mjs → runGemini-Bqs52hw_.mjs} +4 -4
  23. package/dist/{runOpenClaw-D9v6E9th.cjs → runOpenClaw-B2V9j9Le.cjs} +3 -3
  24. package/dist/{runOpenClaw-BLdlHdZa.mjs → runOpenClaw-CpbsQ7NZ.mjs} +3 -3
  25. package/dist/{send-DUoz9am9.cjs → send-CLdMBQ8e.cjs} +2 -2
  26. package/dist/{send-DAnYf1wR.mjs → send-uHgpvIqm.mjs} +2 -2
  27. package/dist/{spawn-4FlGcOQK.cjs → spawn-BXbVzbMs.cjs} +2 -2
  28. package/dist/{spawn-Gr4_bY2m.mjs → spawn-Dt4ujmHH.mjs} +2 -2
  29. package/dist/{types-DOJq8cyH.mjs → types-D0-nhvuW.mjs} +7 -7
  30. package/dist/{types-4iIbK7lA.cjs → types-D4bwyM-D.cjs} +8 -8
  31. package/package.json +7 -7
@@ -3,7 +3,7 @@
3
3
  var node_child_process = require('node:child_process');
4
4
  var sdk = require('@agentclientprotocol/sdk');
5
5
  var node_crypto = require('node:crypto');
6
- var persistence = require('./types-4iIbK7lA.cjs');
6
+ var persistence = require('./types-D4bwyM-D.cjs');
7
7
 
8
8
  const DEFAULT_TIMEOUTS = {
9
9
  /** Default initialization timeout: 60 seconds */
@@ -1,7 +1,7 @@
1
1
  import { spawn } from 'node:child_process';
2
2
  import { ndJsonStream, ClientSideConnection } from '@agentclientprotocol/sdk';
3
3
  import { randomUUID } from 'node:crypto';
4
- import { l as logger, d as contentLogMetadata, e as errorLogMetadata, f as packageJson, g as delay } from './types-DOJq8cyH.mjs';
4
+ import { l as logger, d as contentLogMetadata, e as errorLogMetadata, f as packageJson, g as delay } from './types-D0-nhvuW.mjs';
5
5
 
6
6
  const DEFAULT_TIMEOUTS = {
7
7
  /** Default initialization timeout: 60 seconds */
@@ -1,5 +1,5 @@
1
1
  import { createId } from '@paralleldrive/cuid2';
2
- import { b as createEnvelope } from './types-DOJq8cyH.mjs';
2
+ import { b as createEnvelope } from './types-D0-nhvuW.mjs';
3
3
 
4
4
  function turnOptions(turnId, time) {
5
5
  return turnId ? { turn: turnId, time } : { time };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var cuid2 = require('@paralleldrive/cuid2');
4
- var persistence = require('./types-4iIbK7lA.cjs');
4
+ var persistence = require('./types-D4bwyM-D.cjs');
5
5
 
6
6
  function turnOptions(turnId, time) {
7
7
  return turnId ? { turn: turnId, time } : { time };
@@ -4,8 +4,8 @@ var fs = require('fs');
4
4
  var path = require('path');
5
5
  var os = require('os');
6
6
  var child_process = require('child_process');
7
- var persistence = require('./types-4iIbK7lA.cjs');
8
- var index = require('./index-CF9-9B70.cjs');
7
+ var persistence = require('./types-D4bwyM-D.cjs');
8
+ var index = require('./index-DM0Ku1Rv.cjs');
9
9
  require('axios');
10
10
  require('chalk');
11
11
  require('node:util');
@@ -2,8 +2,8 @@ import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
2
2
  import { join } from 'path';
3
3
  import { homedir } from 'os';
4
4
  import { execSync } from 'child_process';
5
- import { l as logger } from './types-DOJq8cyH.mjs';
6
- import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-CIfhQ_X6.mjs';
5
+ import { l as logger } from './types-D0-nhvuW.mjs';
6
+ import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-CzSv4d_S.mjs';
7
7
  import 'axios';
8
8
  import 'chalk';
9
9
  import 'node:util';
@@ -1,10 +1,10 @@
1
- import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-leZGKCNL.mjs';
2
- export { a as DEFAULT_IDLE_TIMEOUT_MS, b as DEFAULT_TOOL_CALL_TIMEOUT_MS, e as extractErrorDetail, f as formatDuration, c as formatDurationMinutes, h as handleAgentMessageChunk, d as handleAgentThoughtChunk, g as handleLegacyMessageChunk, i as handlePlanUpdate, j as handleThinkingUpdate, k as handleToolCall, l as handleToolCallUpdate, p as parseArgsFromContent } from './AcpBackend-leZGKCNL.mjs';
3
- import { h as connectionState, A as ApiClient, i as readSettings, j as encodeBase64, l as logger, p as projectPath } from './types-DOJq8cyH.mjs';
4
- import { A as AcpSessionManager } from './AcpSessionManager-CI_-4TvB.mjs';
1
+ import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-DwR8rrkS.mjs';
2
+ export { a as DEFAULT_IDLE_TIMEOUT_MS, b as DEFAULT_TOOL_CALL_TIMEOUT_MS, e as extractErrorDetail, f as formatDuration, c as formatDurationMinutes, h as handleAgentMessageChunk, d as handleAgentThoughtChunk, g as handleLegacyMessageChunk, i as handlePlanUpdate, j as handleThinkingUpdate, k as handleToolCall, l as handleToolCallUpdate, p as parseArgsFromContent } from './AcpBackend-DwR8rrkS.mjs';
3
+ import { h as connectionState, A as ApiClient, i as readSettings, j as encodeBase64, l as logger, p as projectPath } from './types-D0-nhvuW.mjs';
4
+ import { A as AcpSessionManager } from './AcpSessionManager-C057dkLF.mjs';
5
5
  import { randomUUID } from 'node:crypto';
6
6
  import { join } from 'node:path';
7
- import { i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, f as startHappyServer, r as registerKillSessionHandler, B as BasePermissionHandler } from './index-CIfhQ_X6.mjs';
7
+ import { i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, f as startHappyServer, r as registerKillSessionHandler, B as BasePermissionHandler } from './index-CzSv4d_S.mjs';
8
8
  import 'node:child_process';
9
9
  import '@agentclientprotocol/sdk';
10
10
  import 'axios';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CF9-9B70.cjs');
3
+ var index = require('./index-DM0Ku1Rv.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-4iIbK7lA.cjs');
8
+ require('./types-D4bwyM-D.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 } from 'node:os';
3
3
  import { randomUUID, randomBytes, createHash as createHash$1, timingSafeEqual } from 'node:crypto';
4
- import { n as readDaemonState, l as logger, c as configuration, o as clearDaemonState, q as getProjectPath, p as projectPath, s as initializeSandbox, t as wrapCommand, d as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, g as delay, u as AsyncLock, v as ensurePrivateDirectory, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, x as hardenPrivateFile, f as packageJson, i as readSettings, y as readCredentials, z as credentialRelayProblem, B as deriveLocalCliUpdateSummary, j as encodeBase64, C as updateSettings, D as encodeBase64Url, E as decodeBase64, F as writeCredentialsLegacy, G as writeCredentialsDataKey, H as readCredentialsForConfiguredRelay, J as encrypt, r as readPersistedSessions, K as isClaudeSessionId, L as getLocalHappyAgentCredentialPath, N as readLocalHappyAgentCredentials, O as decryptWithDataKey, P as decryptLegacy, Q as extractCompleteLines, S as decideBackfill, T as parseTerminalHookPayload, U as tmuxArgs, V as scrubTmuxClientEnv, W as decideMirrorBinding, X as MIRROR_BACKFILL_LINES_DEFAULT, Y as persistSession, Z as mirrorLineKey, _ as mirrorLocalId, w as writePrivateFileSync, $ as detectResumeSupport, a0 as detectCLIAvailability, a1 as acquireDaemonLock, a2 as summarizeSpawnSessionForLog, a3 as deletePersistedSessions, a4 as shellescape, a5 as decrypt, a6 as writeDaemonState, A as ApiClient, a7 as writeSettings, a8 as fetchCliUpdateState, a9 as resolveCliUpdateCheckInterval, aa as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, ab as releaseDaemonLock, ac as isValidSessionId, ad as listVhTerminals, ae as isValidTerminalId, af as readVhTerminal, ag as sendToVhTerminal, ah as TITLE_PROMPT_PREFIX, ai as BOARD_ANALYZER_PROMPT_PREFIX, h as connectionState, aj as startOfflineReconnection, ak as clearCredentials, al as clearMachineId, k as ensurePrivateDirectorySync, am as SandboxConfigSchema, b as createEnvelope, an as CodexAppServerClient, ao as getLatestDaemonLog } from './types-DOJq8cyH.mjs';
4
+ import { n as readDaemonState, l as logger, c as configuration, o as clearDaemonState, q as getProjectPath, p as projectPath, s as initializeSandbox, t as wrapCommand, d as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, g as delay, u as AsyncLock, v as ensurePrivateDirectory, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, x as hardenPrivateFile, f as packageJson, i as readSettings, y as readCredentials, z as credentialRelayProblem, B as deriveLocalCliUpdateSummary, j as encodeBase64, C as updateSettings, D as encodeBase64Url, E as decodeBase64, F as writeCredentialsLegacy, G as writeCredentialsDataKey, H as readCredentialsForConfiguredRelay, J as encrypt, r as readPersistedSessions, K as isClaudeSessionId, L as getLocalHappyAgentCredentialPath, N as readLocalHappyAgentCredentials, O as decryptWithDataKey, P as decryptLegacy, Q as extractCompleteLines, S as decideBackfill, T as parseTerminalHookPayload, U as tmuxArgs, V as scrubTmuxClientEnv, W as decideMirrorBinding, X as MIRROR_BACKFILL_LINES_DEFAULT, Y as persistSession, Z as mirrorLineKey, _ as mirrorLocalId, w as writePrivateFileSync, $ as detectResumeSupport, a0 as detectCLIAvailability, a1 as acquireDaemonLock, a2 as summarizeSpawnSessionForLog, a3 as deletePersistedSessions, a4 as shellescape, a5 as decrypt, a6 as writeDaemonState, A as ApiClient, a7 as writeSettings, a8 as fetchCliUpdateState, a9 as resolveCliUpdateCheckInterval, aa as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, ab as releaseDaemonLock, ac as isValidSessionId, ad as listVhTerminals, ae as isValidTerminalId, af as readVhTerminal, ag as sendToVhTerminal, ah as TITLE_PROMPT_PREFIX, ai as BOARD_ANALYZER_PROMPT_PREFIX, h as connectionState, aj as startOfflineReconnection, ak as clearCredentials, al as clearMachineId, k as ensurePrivateDirectorySync, am as SandboxConfigSchema, b as createEnvelope, an as CodexAppServerClient, ao as getLatestDaemonLog } from './types-D0-nhvuW.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';
@@ -9077,6 +9077,12 @@ async function startDaemon() {
9077
9077
  });
9078
9078
  claudeAuthService.start();
9079
9079
  apiMachine.connect();
9080
+ if (identityConflict?.confidence === "weak") {
9081
+ void apiMachine.updateMachineMetadata((current) => ({
9082
+ ...current ?? initialMachineMetadata,
9083
+ host: initialMachineMetadata.host
9084
+ })).then(() => logger.debug(`[DAEMON RUN] claimed the machine record for host ${initialMachineMetadata.host}`)).catch((error) => logger.debug("[DAEMON RUN] could not refresh the recorded host:", error));
9085
+ }
9080
9086
  let cliUpdateCheckRunning = false;
9081
9087
  const refreshCliUpdate = async () => {
9082
9088
  if (cliUpdateCheckRunning) return;
@@ -10232,7 +10238,7 @@ function registerSideQuestionHandler(rpc, deps) {
10232
10238
  const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
10233
10239
  const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
10234
10240
  const run = deps.run ?? (async (input) => {
10235
- const { query } = await import('./index-Dg78JF0h.mjs');
10241
+ const { query } = await import('./index-DYY1DUOD.mjs');
10236
10242
  return runSideQuestion(query, input);
10237
10243
  });
10238
10244
  const slots = /* @__PURE__ */ new Map();
@@ -15160,7 +15166,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15160
15166
  process.exit(0);
15161
15167
  } else if (subcommand === "install-terminal-hooks") {
15162
15168
  try {
15163
- const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-tPNg8EgD.mjs');
15169
+ const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-Cs49gg_E.mjs');
15164
15170
  const command = parseTerminalHooksArgs(args.slice(1));
15165
15171
  if (command.action === "help") {
15166
15172
  console.log(TERMINAL_HOOKS_HELP);
@@ -15177,7 +15183,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15177
15183
  }
15178
15184
  } else if (subcommand === "spawn") {
15179
15185
  try {
15180
- const { handleSpawnCommand } = await import('./spawn-Gr4_bY2m.mjs');
15186
+ const { handleSpawnCommand } = await import('./spawn-Dt4ujmHH.mjs');
15181
15187
  await handleSpawnCommand(args.slice(1));
15182
15188
  } catch (error) {
15183
15189
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -15189,7 +15195,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15189
15195
  return;
15190
15196
  } else if (subcommand === "send") {
15191
15197
  try {
15192
- const { handleSendCommand } = await import('./send-DAnYf1wR.mjs');
15198
+ const { handleSendCommand } = await import('./send-uHgpvIqm.mjs');
15193
15199
  await handleSendCommand(args.slice(1));
15194
15200
  } catch (error) {
15195
15201
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -15295,9 +15301,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15295
15301
  if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
15296
15302
  const projectId = args[3];
15297
15303
  try {
15298
- const { saveGoogleCloudProjectToConfig } = await import('./config-TEae6YCF.mjs');
15299
- const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./types-DOJq8cyH.mjs').then(function (n) { return n.ap; });
15300
- const { ApiClient: ApiClient2 } = await import('./types-DOJq8cyH.mjs').then(function (n) { return n.aq; });
15304
+ const { saveGoogleCloudProjectToConfig } = await import('./config-DKMwLc1k.mjs');
15305
+ const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./types-D0-nhvuW.mjs').then(function (n) { return n.ap; });
15306
+ const { ApiClient: ApiClient2 } = await import('./types-D0-nhvuW.mjs').then(function (n) { return n.aq; });
15301
15307
  let userEmail = void 0;
15302
15308
  try {
15303
15309
  const credentials = await readCredentialsForConfiguredRelay2();
@@ -15328,7 +15334,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15328
15334
  }
15329
15335
  if (geminiSubcommand === "project" && args[2] === "get") {
15330
15336
  try {
15331
- const { readGeminiLocalConfig } = await import('./config-TEae6YCF.mjs');
15337
+ const { readGeminiLocalConfig } = await import('./config-DKMwLc1k.mjs');
15332
15338
  const config = readGeminiLocalConfig();
15333
15339
  if (config.googleCloudProject) {
15334
15340
  console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
@@ -15368,7 +15374,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15368
15374
  process.exit(0);
15369
15375
  }
15370
15376
  try {
15371
- const { runGemini } = await import('./runGemini-aCMjZ4lm.mjs');
15377
+ const { runGemini } = await import('./runGemini-Bqs52hw_.mjs');
15372
15378
  let startedBy = void 0;
15373
15379
  for (let i = 1; i < args.length; i++) {
15374
15380
  if (args[i] === "--started-by") {
@@ -15390,7 +15396,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15390
15396
  return;
15391
15397
  } else if (subcommand === "acp") {
15392
15398
  try {
15393
- const { runAcp, resolveAcpAgentConfig } = await import('./index-D9H-dsUT.mjs');
15399
+ const { runAcp, resolveAcpAgentConfig } = await import('./index-BXnHT-Wu.mjs');
15394
15400
  let startedBy = void 0;
15395
15401
  let verbose = false;
15396
15402
  const acpArgs = [];
@@ -15430,7 +15436,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15430
15436
  return;
15431
15437
  } else if (subcommand === "openclaw") {
15432
15438
  try {
15433
- const { runOpenClaw } = await import('./runOpenClaw-BLdlHdZa.mjs');
15439
+ const { runOpenClaw } = await import('./runOpenClaw-CpbsQ7NZ.mjs');
15434
15440
  let startedBy = void 0;
15435
15441
  let verbose = false;
15436
15442
  let gatewayUrl;
@@ -15481,7 +15487,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15481
15487
  return;
15482
15488
  } else if (subcommand === "mcp" && args.length === 1) {
15483
15489
  try {
15484
- const { handleMcpCommand } = await import('./mcp-DUXABUpc.mjs');
15490
+ const { handleMcpCommand } = await import('./mcp-DY17lhMH.mjs');
15485
15491
  await handleMcpCommand();
15486
15492
  } catch (error) {
15487
15493
  process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
@@ -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-4iIbK7lA.cjs');
6
+ var persistence = require('./types-D4bwyM-D.cjs');
7
7
  var spawn = require('cross-spawn');
8
8
  var path = require('node:path');
9
9
  var node_readline = require('node:readline');
@@ -6936,7 +6936,7 @@ function parseJsonObject(text) {
6936
6936
  return null;
6937
6937
  }
6938
6938
  }
6939
- 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-CF9-9B70.cjs', document.baseURI).href))).resolve(s)) {
6939
+ 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-DM0Ku1Rv.cjs', document.baseURI).href))).resolve(s)) {
6940
6940
  const platformArch = `${platform}-${arch}`;
6941
6941
  const candidates = [
6942
6942
  `@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
@@ -9099,6 +9099,12 @@ async function startDaemon() {
9099
9099
  });
9100
9100
  claudeAuthService.start();
9101
9101
  apiMachine.connect();
9102
+ if (identityConflict?.confidence === "weak") {
9103
+ void apiMachine.updateMachineMetadata((current) => ({
9104
+ ...current ?? initialMachineMetadata,
9105
+ host: initialMachineMetadata.host
9106
+ })).then(() => persistence.logger.debug(`[DAEMON RUN] claimed the machine record for host ${initialMachineMetadata.host}`)).catch((error) => persistence.logger.debug("[DAEMON RUN] could not refresh the recorded host:", error));
9107
+ }
9102
9108
  let cliUpdateCheckRunning = false;
9103
9109
  const refreshCliUpdate = async () => {
9104
9110
  if (cliUpdateCheckRunning) return;
@@ -10254,7 +10260,7 @@ function registerSideQuestionHandler(rpc, deps) {
10254
10260
  const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
10255
10261
  const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
10256
10262
  const run = deps.run ?? (async (input) => {
10257
- const { query } = await Promise.resolve().then(function () { return require('./index-RyvQwH4I.cjs'); });
10263
+ const { query } = await Promise.resolve().then(function () { return require('./index-C7N-ONU_.cjs'); });
10258
10264
  return runSideQuestion(query, input);
10259
10265
  });
10260
10266
  const slots = /* @__PURE__ */ new Map();
@@ -10356,7 +10362,7 @@ const MAX_TITLE_CHARS = 60;
10356
10362
  const GENERATION_TIMEOUT_MS = 3e4;
10357
10363
  function resolveClaudeBinary() {
10358
10364
  try {
10359
- 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-CF9-9B70.cjs', document.baseURI).href)));
10365
+ 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-DM0Ku1Rv.cjs', document.baseURI).href)));
10360
10366
  const utilsPath = path.resolve(path.join(persistence.projectPath(), "scripts", "claude_version_utils.cjs"));
10361
10367
  const { getClaudeCliPath } = require$1(utilsPath);
10362
10368
  const path$1 = getClaudeCliPath();
@@ -12556,9 +12562,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
12556
12562
  };
12557
12563
  }
12558
12564
 
12559
- 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-CF9-9B70.cjs', document.baseURI).href)));
12565
+ 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-DM0Ku1Rv.cjs', document.baseURI).href)));
12560
12566
  const __dirname$1 = path.dirname(__filename$1);
12561
- const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-CF9-9B70.cjs', document.baseURI).href)));
12567
+ const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-DM0Ku1Rv.cjs', document.baseURI).href)));
12562
12568
  const PRISMA_QUERY_ENGINE_FILES = {
12563
12569
  "arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
12564
12570
  "x64-darwin": "libquery_engine-darwin.dylib.node",
@@ -15182,7 +15188,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15182
15188
  process.exit(0);
15183
15189
  } else if (subcommand === "install-terminal-hooks") {
15184
15190
  try {
15185
- const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-DMSUDPG3.cjs'); });
15191
+ const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-BpvWmkZ9.cjs'); });
15186
15192
  const command = parseTerminalHooksArgs(args.slice(1));
15187
15193
  if (command.action === "help") {
15188
15194
  console.log(TERMINAL_HOOKS_HELP);
@@ -15199,7 +15205,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15199
15205
  }
15200
15206
  } else if (subcommand === "spawn") {
15201
15207
  try {
15202
- const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-4FlGcOQK.cjs'); });
15208
+ const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-BXbVzbMs.cjs'); });
15203
15209
  await handleSpawnCommand(args.slice(1));
15204
15210
  } catch (error) {
15205
15211
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -15211,7 +15217,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15211
15217
  return;
15212
15218
  } else if (subcommand === "send") {
15213
15219
  try {
15214
- const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-DUoz9am9.cjs'); });
15220
+ const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-CLdMBQ8e.cjs'); });
15215
15221
  await handleSendCommand(args.slice(1));
15216
15222
  } catch (error) {
15217
15223
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -15317,9 +15323,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15317
15323
  if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
15318
15324
  const projectId = args[3];
15319
15325
  try {
15320
- const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-CpVncJmR.cjs'); });
15321
- const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./types-4iIbK7lA.cjs'); }).then(function (n) { return n.persistence; });
15322
- const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-4iIbK7lA.cjs'); }).then(function (n) { return n.api; });
15326
+ const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-BvVwprR0.cjs'); });
15327
+ const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./types-D4bwyM-D.cjs'); }).then(function (n) { return n.persistence; });
15328
+ const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-D4bwyM-D.cjs'); }).then(function (n) { return n.api; });
15323
15329
  let userEmail = void 0;
15324
15330
  try {
15325
15331
  const credentials = await readCredentialsForConfiguredRelay2();
@@ -15350,7 +15356,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15350
15356
  }
15351
15357
  if (geminiSubcommand === "project" && args[2] === "get") {
15352
15358
  try {
15353
- const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-CpVncJmR.cjs'); });
15359
+ const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-BvVwprR0.cjs'); });
15354
15360
  const config = readGeminiLocalConfig();
15355
15361
  if (config.googleCloudProject) {
15356
15362
  console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
@@ -15390,7 +15396,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15390
15396
  process.exit(0);
15391
15397
  }
15392
15398
  try {
15393
- const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-Dvf_ajZd.cjs'); });
15399
+ const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-B3Mme1zr.cjs'); });
15394
15400
  let startedBy = void 0;
15395
15401
  for (let i = 1; i < args.length; i++) {
15396
15402
  if (args[i] === "--started-by") {
@@ -15412,7 +15418,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15412
15418
  return;
15413
15419
  } else if (subcommand === "acp") {
15414
15420
  try {
15415
- const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-b_E_olpx.cjs'); });
15421
+ const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-Db5m34eh.cjs'); });
15416
15422
  let startedBy = void 0;
15417
15423
  let verbose = false;
15418
15424
  const acpArgs = [];
@@ -15452,7 +15458,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15452
15458
  return;
15453
15459
  } else if (subcommand === "openclaw") {
15454
15460
  try {
15455
- const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-D9v6E9th.cjs'); });
15461
+ const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-B2V9j9Le.cjs'); });
15456
15462
  let startedBy = void 0;
15457
15463
  let verbose = false;
15458
15464
  let gatewayUrl;
@@ -15503,7 +15509,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
15503
15509
  return;
15504
15510
  } else if (subcommand === "mcp" && args.length === 1) {
15505
15511
  try {
15506
- const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-B13ZiAxa.cjs'); });
15512
+ const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-rTSmj-tn.cjs'); });
15507
15513
  await handleMcpCommand();
15508
15514
  } catch (error) {
15509
15515
  process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
@@ -1,9 +1,9 @@
1
- import { q as query } from './index-CIfhQ_X6.mjs';
1
+ import { q as query } from './index-CzSv4d_S.mjs';
2
2
  export { AbortError } from '@anthropic-ai/claude-agent-sdk';
3
3
  import 'chalk';
4
4
  import 'node:os';
5
5
  import 'node:crypto';
6
- import './types-DOJq8cyH.mjs';
6
+ import './types-D0-nhvuW.mjs';
7
7
  import 'axios';
8
8
  import 'node:util';
9
9
  import 'node:fs';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var AcpBackend = require('./AcpBackend-B3WfHjyi.cjs');
4
- var persistence = require('./types-4iIbK7lA.cjs');
5
- var AcpSessionManager = require('./AcpSessionManager-Cza1nTaQ.cjs');
3
+ var AcpBackend = require('./AcpBackend-D4vV6SVl.cjs');
4
+ var persistence = require('./types-D4bwyM-D.cjs');
5
+ var AcpSessionManager = require('./AcpSessionManager-CPHDZ-nz.cjs');
6
6
  var node_crypto = require('node:crypto');
7
7
  var path = require('node:path');
8
- var index = require('./index-CF9-9B70.cjs');
8
+ var index = require('./index-DM0Ku1Rv.cjs');
9
9
  require('node:child_process');
10
10
  require('@agentclientprotocol/sdk');
11
11
  require('axios');
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  require('chalk');
4
- require('./index-CF9-9B70.cjs');
5
- require('./types-4iIbK7lA.cjs');
4
+ require('./index-DM0Ku1Rv.cjs');
5
+ require('./types-D4bwyM-D.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-CIfhQ_X6.mjs';
3
- import './types-DOJq8cyH.mjs';
2
+ import './index-CzSv4d_S.mjs';
3
+ import './types-D0-nhvuW.mjs';
4
4
  import 'zod';
5
5
  import 'node:child_process';
6
6
  import 'node:os';
@@ -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-4iIbK7lA.cjs');
9
- var index = require('./index-CF9-9B70.cjs');
8
+ var persistence = require('./types-D4bwyM-D.cjs');
9
+ var index = require('./index-DM0Ku1Rv.cjs');
10
10
  require('axios');
11
11
  require('node:util');
12
12
  require('node:fs/promises');
@@ -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-DOJq8cyH.mjs';
7
- import { t as tmuxSupportsSessionEnv } from './index-CIfhQ_X6.mjs';
6
+ import { p as projectPath } from './types-D0-nhvuW.mjs';
7
+ import { t as tmuxSupportsSessionEnv } from './index-CzSv4d_S.mjs';
8
8
  import 'axios';
9
9
  import 'node:util';
10
10
  import 'node:fs/promises';
package/dist/lib.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var persistence = require('./types-4iIbK7lA.cjs');
3
+ var persistence = require('./types-D4bwyM-D.cjs');
4
4
  require('axios');
5
5
  require('chalk');
6
6
  require('node:util');
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-DOJq8cyH.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-D0-nhvuW.mjs';
2
2
  import 'axios';
3
3
  import 'chalk';
4
4
  import 'node:util';
@@ -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 } from './index-CIfhQ_X6.mjs';
4
+ import { p as pushClipboardViaDaemon } from './index-CzSv4d_S.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-DOJq8cyH.mjs';
6
+ import { l as logger } from './types-D0-nhvuW.mjs';
7
7
  import 'chalk';
8
8
  import 'node:os';
9
9
  import 'node:crypto';
@@ -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-CF9-9B70.cjs');
6
+ var index = require('./index-DM0Ku1Rv.cjs');
7
7
  var limits = require('./limits-KdWKmwtH.cjs');
8
- var persistence = require('./types-4iIbK7lA.cjs');
8
+ var persistence = require('./types-D4bwyM-D.cjs');
9
9
  require('chalk');
10
10
  require('node:os');
11
11
  require('node:crypto');
@@ -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-4iIbK7lA.cjs');
8
- var index = require('./index-CF9-9B70.cjs');
9
- var AcpBackend = require('./AcpBackend-B3WfHjyi.cjs');
10
- var config = require('./config-CpVncJmR.cjs');
7
+ var persistence = require('./types-D4bwyM-D.cjs');
8
+ var index = require('./index-DM0Ku1Rv.cjs');
9
+ var AcpBackend = require('./AcpBackend-D4vV6SVl.cjs');
10
+ var config = require('./config-BvVwprR0.cjs');
11
11
  require('axios');
12
12
  require('chalk');
13
13
  require('node:util');
@@ -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, i as readSettings, e as errorLogMetadata, j as encodeBase64, p as projectPath, d as contentLogMetadata } from './types-DOJq8cyH.mjs';
6
- import { g as GEMINI_API_KEY_ENV, j as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, B as BasePermissionHandler, k as BaseReasoningProcessor, i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, l as MessageBuffer, C as CHANGE_TITLE_INSTRUCTION, r as registerKillSessionHandler, f as startHappyServer } from './index-CIfhQ_X6.mjs';
7
- import { A as AcpBackend } from './AcpBackend-leZGKCNL.mjs';
8
- import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-TEae6YCF.mjs';
5
+ import { l as logger, h as connectionState, A as ApiClient, i as readSettings, e as errorLogMetadata, j as encodeBase64, p as projectPath, d as contentLogMetadata } from './types-D0-nhvuW.mjs';
6
+ import { g as GEMINI_API_KEY_ENV, j as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, B as BasePermissionHandler, k as BaseReasoningProcessor, i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, l as MessageBuffer, C as CHANGE_TITLE_INSTRUCTION, r as registerKillSessionHandler, f as startHappyServer } from './index-CzSv4d_S.mjs';
7
+ import { A as AcpBackend } from './AcpBackend-DwR8rrkS.mjs';
8
+ import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-DKMwLc1k.mjs';
9
9
  import 'axios';
10
10
  import 'chalk';
11
11
  import '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-4iIbK7lA.cjs');
9
- var AcpSessionManager = require('./AcpSessionManager-Cza1nTaQ.cjs');
10
- var index = require('./index-CF9-9B70.cjs');
8
+ var persistence = require('./types-D4bwyM-D.cjs');
9
+ var AcpSessionManager = require('./AcpSessionManager-CPHDZ-nz.cjs');
10
+ var index = require('./index-DM0Ku1Rv.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 { k as ensurePrivateDirectorySync, m as hardenPrivateFileSync, w as writePrivateFileSync, e as errorLogMetadata, d as contentLogMetadata, h as connectionState, A as ApiClient, i as readSettings, j as encodeBase64, l as logger, c as configuration } from './types-DOJq8cyH.mjs';
7
- import { A as AcpSessionManager } from './AcpSessionManager-CI_-4TvB.mjs';
8
- import { i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, r as registerKillSessionHandler } from './index-CIfhQ_X6.mjs';
6
+ import { k as ensurePrivateDirectorySync, m as hardenPrivateFileSync, w as writePrivateFileSync, e as errorLogMetadata, d as contentLogMetadata, h as connectionState, A as ApiClient, i as readSettings, j as encodeBase64, l as logger, c as configuration } from './types-D0-nhvuW.mjs';
7
+ import { A as AcpSessionManager } from './AcpSessionManager-C057dkLF.mjs';
8
+ import { i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, r as registerKillSessionHandler } from './index-CzSv4d_S.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-4iIbK7lA.cjs');
7
- var index = require('./index-CF9-9B70.cjs');
6
+ var persistence = require('./types-D4bwyM-D.cjs');
7
+ var index = require('./index-DM0Ku1Rv.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-DOJq8cyH.mjs';
5
- import { b as sendUserMessage, a as sessionWebUrl } from './index-CIfhQ_X6.mjs';
4
+ import { r as readPersistedSessions, c as configuration } from './types-D0-nhvuW.mjs';
5
+ import { b as sendUserMessage, a as sessionWebUrl } from './index-CzSv4d_S.mjs';
6
6
  import 'axios';
7
7
  import 'node:util';
8
8
  import 'node:os';
@@ -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-CF9-9B70.cjs');
7
- var persistence = require('./types-4iIbK7lA.cjs');
6
+ var index = require('./index-DM0Ku1Rv.cjs');
7
+ var persistence = require('./types-D4bwyM-D.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, w as waitForSessionKey, b as sendUserMessage } from './index-CIfhQ_X6.mjs';
5
- import { l as logger } from './types-DOJq8cyH.mjs';
4
+ import { c as checkIfDaemonRunningAndCleanupStaleState, s as spawnDaemonSession, a as sessionWebUrl, w as waitForSessionKey, b as sendUserMessage } from './index-CzSv4d_S.mjs';
5
+ import { l as logger } from './types-D0-nhvuW.mjs';
6
6
  import 'node:os';
7
7
  import 'node:crypto';
8
8
  import 'cross-spawn';
@@ -29,7 +29,7 @@ import { SandboxManager } from '@anthropic-ai/sandbox-runtime';
29
29
  import { Expo } from 'expo-server-sdk';
30
30
 
31
31
  var name = "very-happy-cli";
32
- var version = "0.2.107";
32
+ var version = "0.2.108";
33
33
  var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
34
34
  var author = "Kirill Dubovitskiy";
35
35
  var contributors = [
@@ -142,12 +142,12 @@ var dependencies = {
142
142
  zod: "^4.0.0"
143
143
  };
144
144
  var optionalDependencies = {
145
- "very-happy-tools-arm64-darwin": "0.2.107",
146
- "very-happy-tools-x64-darwin": "0.2.107",
147
- "very-happy-tools-arm64-linux": "0.2.107",
148
- "very-happy-tools-x64-linux": "0.2.107",
149
- "very-happy-tools-arm64-win32": "0.2.107",
150
- "very-happy-tools-x64-win32": "0.2.107"
145
+ "very-happy-tools-arm64-darwin": "0.2.108",
146
+ "very-happy-tools-x64-darwin": "0.2.108",
147
+ "very-happy-tools-arm64-linux": "0.2.108",
148
+ "very-happy-tools-x64-linux": "0.2.108",
149
+ "very-happy-tools-arm64-win32": "0.2.108",
150
+ "very-happy-tools-x64-win32": "0.2.108"
151
151
  };
152
152
  var devDependencies = {
153
153
  "@slopus/happy-wire": "workspace:*",
@@ -51,7 +51,7 @@ var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
51
51
  var pty__namespace = /*#__PURE__*/_interopNamespaceDefault(pty);
52
52
 
53
53
  var name = "very-happy-cli";
54
- var version = "0.2.107";
54
+ var version = "0.2.108";
55
55
  var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
56
56
  var author = "Kirill Dubovitskiy";
57
57
  var contributors = [
@@ -164,12 +164,12 @@ var dependencies = {
164
164
  zod: "^4.0.0"
165
165
  };
166
166
  var optionalDependencies = {
167
- "very-happy-tools-arm64-darwin": "0.2.107",
168
- "very-happy-tools-x64-darwin": "0.2.107",
169
- "very-happy-tools-arm64-linux": "0.2.107",
170
- "very-happy-tools-x64-linux": "0.2.107",
171
- "very-happy-tools-arm64-win32": "0.2.107",
172
- "very-happy-tools-x64-win32": "0.2.107"
167
+ "very-happy-tools-arm64-darwin": "0.2.108",
168
+ "very-happy-tools-x64-darwin": "0.2.108",
169
+ "very-happy-tools-arm64-linux": "0.2.108",
170
+ "very-happy-tools-x64-linux": "0.2.108",
171
+ "very-happy-tools-arm64-win32": "0.2.108",
172
+ "very-happy-tools-x64-win32": "0.2.108"
173
173
  };
174
174
  var devDependencies = {
175
175
  "@slopus/happy-wire": "workspace:*",
@@ -1603,7 +1603,7 @@ class RpcHandlerManager {
1603
1603
  }
1604
1604
  }
1605
1605
 
1606
- const __dirname$1 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-4iIbK7lA.cjs', document.baseURI).href))));
1606
+ const __dirname$1 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-D4bwyM-D.cjs', document.baseURI).href))));
1607
1607
  function projectPath() {
1608
1608
  const path = path$1.resolve(__dirname$1, "..");
1609
1609
  return path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "very-happy-cli",
3
- "version": "0.2.107",
3
+ "version": "0.2.108",
4
4
  "description": "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.",
5
5
  "author": "Kirill Dubovitskiy",
6
6
  "contributors": [
@@ -113,12 +113,12 @@
113
113
  "zod": "^4.0.0"
114
114
  },
115
115
  "optionalDependencies": {
116
- "very-happy-tools-arm64-darwin": "0.2.107",
117
- "very-happy-tools-x64-darwin": "0.2.107",
118
- "very-happy-tools-arm64-linux": "0.2.107",
119
- "very-happy-tools-x64-linux": "0.2.107",
120
- "very-happy-tools-arm64-win32": "0.2.107",
121
- "very-happy-tools-x64-win32": "0.2.107"
116
+ "very-happy-tools-arm64-darwin": "0.2.108",
117
+ "very-happy-tools-x64-darwin": "0.2.108",
118
+ "very-happy-tools-arm64-linux": "0.2.108",
119
+ "very-happy-tools-x64-linux": "0.2.108",
120
+ "very-happy-tools-arm64-win32": "0.2.108",
121
+ "very-happy-tools-x64-win32": "0.2.108"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@slopus/happy-wire": "workspace:*",