very-happy-cli 0.2.140 → 0.2.141

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 (43) hide show
  1. package/dist/{AcpBackend-DsSYq8T-.mjs → AcpBackend-CWmjboOm.mjs} +2 -2
  2. package/dist/{AcpBackend-C0Lq4uoA.cjs → AcpBackend-CnWSwaHk.cjs} +2 -2
  3. package/dist/{AcpSessionManager-BAErE9s0.mjs → AcpSessionManager-CtXoi6PN.mjs} +1 -1
  4. package/dist/{AcpSessionManager-DIqByTH7.cjs → AcpSessionManager-Dxt78rPO.cjs} +1 -1
  5. package/dist/{agentGuidance-Dl3apItH.cjs → agentGuidance-B9ENxSaS.cjs} +1 -1
  6. package/dist/{agentGuidance-xk3v4_7E.mjs → agentGuidance-Do7cQka3.mjs} +1 -1
  7. package/dist/codex/happyMcpStdioBridge.cjs +2 -2
  8. package/dist/codex/happyMcpStdioBridge.mjs +2 -2
  9. package/dist/{config-BVoHul9V.mjs → config-DY57frJF.mjs} +4 -4
  10. package/dist/{config-D0-jnCOC.cjs → config-Dn7nAHcA.cjs} +4 -4
  11. package/dist/{index-DJvzGXVN.cjs → index-3STVDtNO.cjs} +6 -6
  12. package/dist/{index-BuQn9kUK.cjs → index-BSVgut_Y.cjs} +4 -4
  13. package/dist/{index-D0IP7gXG.mjs → index-C55sW8E9.mjs} +37 -20
  14. package/dist/{index-__h-pCTK.cjs → index-ChWePQEd.cjs} +41 -24
  15. package/dist/{index-BPnAbcz_.mjs → index-DhfgAB8K.mjs} +4 -4
  16. package/dist/{index-BNydKYvS.mjs → index-Dz6FgNFg.mjs} +7 -7
  17. package/dist/index.cjs +4 -4
  18. package/dist/index.mjs +4 -4
  19. package/dist/{installTerminalHooks-D3jfvbyY.cjs → installTerminalHooks--jkP17uE.cjs} +4 -4
  20. package/dist/{installTerminalHooks-D2ice1a-.mjs → installTerminalHooks-zmtIrf3E.mjs} +4 -4
  21. package/dist/lib.cjs +2 -2
  22. package/dist/lib.mjs +2 -2
  23. package/dist/{limits-nhD0Wran.mjs → limits-DT5Yk_UH.mjs} +7 -7
  24. package/dist/{limits-Dbip6eVO.cjs → limits-DbLWXlJm.cjs} +7 -7
  25. package/dist/{mcp-V26C05fN.mjs → mcp-Bzy-X9kI.mjs} +4 -4
  26. package/dist/{mcp-DeapmTWN.cjs → mcp-kE0n1dBF.cjs} +4 -4
  27. package/dist/{runGemini-sa5kAgPe.mjs → runGemini-BmdhYEzM.mjs} +6 -6
  28. package/dist/{runGemini-D34eCFpz.cjs → runGemini-CxUz95A1.cjs} +6 -6
  29. package/dist/{runOpenClaw-Bdsq8KBa.mjs → runOpenClaw-CYpO3Vv8.mjs} +5 -5
  30. package/dist/{runOpenClaw-B8F8D--R.cjs → runOpenClaw-RLIFJx61.cjs} +5 -5
  31. package/dist/{send-DP_S3wn0.cjs → send-BGcCrMUT.cjs} +4 -4
  32. package/dist/{send-KICC_ACz.mjs → send-DT04hV8o.mjs} +4 -4
  33. package/dist/{sessions-C6EvnC4B.mjs → sessions-DDWTq2AG.mjs} +4 -4
  34. package/dist/{sessions-CGBBgVZn.cjs → sessions-Jt9lrcrG.cjs} +4 -4
  35. package/dist/{spawn-C1OqXJNb.mjs → spawn-Ca0A70dX.mjs} +4 -4
  36. package/dist/{spawn-BhUK0Vt2.cjs → spawn-CdZgvthE.cjs} +4 -4
  37. package/dist/{teams-Dm5HGpNz.mjs → teams-CzK1zg0m.mjs} +4 -4
  38. package/dist/{teams-C29nEHFD.cjs → teams-DfVwVZ4x.cjs} +4 -4
  39. package/dist/{todo-C-vovA0N.mjs → todo-4WhOom8k.mjs} +3 -3
  40. package/dist/{todo-CeJX0z_2.cjs → todo-D9nFaYpQ.cjs} +3 -3
  41. package/dist/{types-DCVS050m.cjs → types-Bk3W89Z3.cjs} +2 -2
  42. package/dist/{types-thyvQB2a.mjs → types-CLosaeZT.mjs} +1 -1
  43. package/package.json +7 -7
@@ -1,8 +1,8 @@
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, p as packageJson } from './limits-nhD0Wran.mjs';
5
- import { j as contentLogMetadata, h as errorLogMetadata, m as delay } from './types-thyvQB2a.mjs';
4
+ import { l as logger, p as packageJson } from './limits-DT5Yk_UH.mjs';
5
+ import { j as contentLogMetadata, h as errorLogMetadata, m as delay } from './types-CLosaeZT.mjs';
6
6
 
7
7
  function acpImageBlocks(attachments, supportsImages) {
8
8
  return attachments.filter((file) => ["image/jpeg", "image/png", "image/gif", "image/webp"].includes(file.mimeType)).map((file) => {
@@ -3,8 +3,8 @@
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('./limits-Dbip6eVO.cjs');
7
- var api = require('./types-DCVS050m.cjs');
6
+ var persistence = require('./limits-DbLWXlJm.cjs');
7
+ var api = require('./types-Bk3W89Z3.cjs');
8
8
 
9
9
  function acpImageBlocks(attachments, supportsImages) {
10
10
  return attachments.filter((file) => ["image/jpeg", "image/png", "image/gif", "image/webp"].includes(file.mimeType)).map((file) => {
@@ -1,5 +1,5 @@
1
1
  import { createId } from '@paralleldrive/cuid2';
2
- import { b as streamKeyOf, d as createEnvelope } from './types-thyvQB2a.mjs';
2
+ import { b as streamKeyOf, d as createEnvelope } from './types-CLosaeZT.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 api = require('./types-DCVS050m.cjs');
4
+ var api = require('./types-Bk3W89Z3.cjs');
5
5
 
6
6
  function turnOptions(turnId, time) {
7
7
  return turnId ? { turn: turnId, time } : { time };
@@ -2,7 +2,7 @@
2
2
 
3
3
  var z = require('zod');
4
4
  var node_crypto = require('node:crypto');
5
- var persistence = require('./limits-Dbip6eVO.cjs');
5
+ var persistence = require('./limits-DbLWXlJm.cjs');
6
6
  var promises = require('node:fs/promises');
7
7
  var node_fs = require('node:fs');
8
8
  var path = require('node:path');
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { randomUUID } from 'node:crypto';
3
- import { n as normalizeHttpEndpoint, c as configuration, g as readSettings, r as readPersistedSessions, d as readCredentialsForConfiguredRelay } from './limits-nhD0Wran.mjs';
3
+ import { n as normalizeHttpEndpoint, c as configuration, g as readSettings, r as readPersistedSessions, d as readCredentialsForConfiguredRelay } from './limits-DT5Yk_UH.mjs';
4
4
  import { open, mkdir, rename, unlink } from 'node:fs/promises';
5
5
  import { constants } from 'node:fs';
6
6
  import { isAbsolute, join, dirname } from 'node:path';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var agentGuidance = require('../agentGuidance-Dl3apItH.cjs');
3
+ var agentGuidance = require('../agentGuidance-B9ENxSaS.cjs');
4
4
  var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
5
5
  var stdio_js = require('@modelcontextprotocol/sdk/server/stdio.js');
6
6
  var index_js = require('@modelcontextprotocol/sdk/client/index.js');
7
7
  var streamableHttp_js = require('@modelcontextprotocol/sdk/client/streamableHttp.js');
8
8
  var z = require('zod');
9
- var persistence = require('../limits-Dbip6eVO.cjs');
9
+ var persistence = require('../limits-DbLWXlJm.cjs');
10
10
  require('node:crypto');
11
11
  require('node:fs/promises');
12
12
  require('node:fs');
@@ -1,10 +1,10 @@
1
- import { P as PREVIEW_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, r as registerTeamsTools } from '../agentGuidance-xk3v4_7E.mjs';
1
+ import { P as PREVIEW_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, r as registerTeamsTools } from '../agentGuidance-Do7cQka3.mjs';
2
2
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
3
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
4
4
  import { Client } from '@modelcontextprotocol/sdk/client/index.js';
5
5
  import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
6
6
  import { z } from 'zod';
7
- import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION } from '../limits-nhD0Wran.mjs';
7
+ import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION } from '../limits-DT5Yk_UH.mjs';
8
8
  import 'node:crypto';
9
9
  import 'node:fs/promises';
10
10
  import 'node:fs';
@@ -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 './limits-nhD0Wran.mjs';
6
- import { g as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-D0IP7gXG.mjs';
5
+ import { l as logger } from './limits-DT5Yk_UH.mjs';
6
+ import { g as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-C55sW8E9.mjs';
7
7
  import 'node:fs/promises';
8
8
  import 'node:fs';
9
9
  import 'node:os';
@@ -13,7 +13,7 @@ import 'node:crypto';
13
13
  import 'tweetnacl';
14
14
  import 'chalk';
15
15
  import 'node:util';
16
- import './types-thyvQB2a.mjs';
16
+ import './types-CLosaeZT.mjs';
17
17
  import 'axios';
18
18
  import 'node:events';
19
19
  import 'socket.io-client';
@@ -28,7 +28,7 @@ import 'node-pty';
28
28
  import 'node:readline';
29
29
  import '@anthropic-ai/sandbox-runtime';
30
30
  import 'expo-server-sdk';
31
- import './agentGuidance-xk3v4_7E.mjs';
31
+ import './agentGuidance-Do7cQka3.mjs';
32
32
  import 'ink';
33
33
  import 'react';
34
34
  import '@anthropic-ai/claude-agent-sdk';
@@ -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('./limits-Dbip6eVO.cjs');
8
- var index = require('./index-__h-pCTK.cjs');
7
+ var persistence = require('./limits-DbLWXlJm.cjs');
8
+ var index = require('./index-ChWePQEd.cjs');
9
9
  require('node:fs/promises');
10
10
  require('node:fs');
11
11
  require('node:os');
@@ -15,7 +15,7 @@ require('node:crypto');
15
15
  require('tweetnacl');
16
16
  require('chalk');
17
17
  require('node:util');
18
- require('./types-DCVS050m.cjs');
18
+ require('./types-Bk3W89Z3.cjs');
19
19
  require('axios');
20
20
  require('node:events');
21
21
  require('socket.io-client');
@@ -30,7 +30,7 @@ require('node-pty');
30
30
  require('node:readline');
31
31
  require('@anthropic-ai/sandbox-runtime');
32
32
  require('expo-server-sdk');
33
- require('./agentGuidance-Dl3apItH.cjs');
33
+ require('./agentGuidance-B9ENxSaS.cjs');
34
34
  require('ink');
35
35
  require('react');
36
36
  require('@anthropic-ai/claude-agent-sdk');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var AcpBackend = require('./AcpBackend-C0Lq4uoA.cjs');
4
- var persistence = require('./limits-Dbip6eVO.cjs');
5
- var AcpSessionManager = require('./AcpSessionManager-DIqByTH7.cjs');
6
- var api = require('./types-DCVS050m.cjs');
7
- var index = require('./index-__h-pCTK.cjs');
3
+ var AcpBackend = require('./AcpBackend-CnWSwaHk.cjs');
4
+ var persistence = require('./limits-DbLWXlJm.cjs');
5
+ var AcpSessionManager = require('./AcpSessionManager-Dxt78rPO.cjs');
6
+ var api = require('./types-Bk3W89Z3.cjs');
7
+ var index = require('./index-ChWePQEd.cjs');
8
8
  var promises = require('node:fs/promises');
9
9
  var node_crypto = require('node:crypto');
10
10
  var path = require('node:path');
@@ -33,7 +33,7 @@ require('fs');
33
33
  require('node:readline');
34
34
  require('@anthropic-ai/sandbox-runtime');
35
35
  require('expo-server-sdk');
36
- require('./agentGuidance-Dl3apItH.cjs');
36
+ require('./agentGuidance-B9ENxSaS.cjs');
37
37
  require('ink');
38
38
  require('react');
39
39
  require('@anthropic-ai/claude-agent-sdk');
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-__h-pCTK.cjs');
3
+ var index = require('./index-ChWePQEd.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-DCVS050m.cjs');
8
+ require('./types-Bk3W89Z3.cjs');
9
9
  require('axios');
10
- require('./limits-Dbip6eVO.cjs');
10
+ require('./limits-DbLWXlJm.cjs');
11
11
  require('node:fs/promises');
12
12
  require('node:fs');
13
13
  require('node:path');
@@ -31,7 +31,7 @@ require('fs');
31
31
  require('node:readline');
32
32
  require('@anthropic-ai/sandbox-runtime');
33
33
  require('expo-server-sdk');
34
- require('./agentGuidance-Dl3apItH.cjs');
34
+ require('./agentGuidance-B9ENxSaS.cjs');
35
35
  require('ink');
36
36
  require('react');
37
37
  require('ps-list');
@@ -1,13 +1,13 @@
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, randomInt, randomBytes, createHash as createHash$1, timingSafeEqual } from 'node:crypto';
4
- import { o as notifyDaemonSessionEvent, q as getProjectPath, l as BUILTIN_TODO_DISCOVERY, p as projectPath, r as initializeSandbox, w as wrapCommand, j as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, m as delay, t as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, u as notifyDaemonClaudeAuthFailed, v as commandOnPath, c as checkIfDaemonRunningAndCleanupStaleState, x as deriveLocalCliUpdateSummary, y as AGENT_VERSION_SOURCES, z as isClaudeSessionId, C as getLocalHappyAgentCredentialPath, D as readLocalHappyAgentCredentials, E as parseExactVersion, F as compareExactVersions, G as extractCompleteLines, H as decideBackfill, J as parseTerminalHookPayload, K as tmuxArgs, L as scrubTmuxClientEnv, N as decideMirrorBinding, O as MIRROR_BACKFILL_LINES_DEFAULT, P as mirrorLineKey, Q as mirrorLocalId, T as listDaemonSessions, U as stopDaemonSession, V as detectCLIAvailability, W as detectResumeSupport, X as isDaemonRunningCurrentlyInstalledHappyVersion, Y as stopDaemon, Z as TurnActivityTracker, _ as summarizeSpawnSessionForLog, $ as shellescape, A as ApiClient, a0 as fetchCliUpdateState, a1 as resolveCliUpdateCheckInterval, a2 as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, a3 as cleanupDaemonState, i as isValidSessionId, s as spawnDaemonSession, a4 as listVhTerminals, a5 as isValidTerminalId, a6 as readVhTerminal, a7 as sendToVhTerminal, a8 as ContextUsageSchema, a9 as TITLE_PROMPT_PREFIX, aa as BOARD_ANALYZER_PROMPT_PREFIX, k as connectionState, ab as startOfflineReconnection, n as notifyDaemonSessionStarted, d as createEnvelope, ac as CodexAppServerClient } from './types-thyvQB2a.mjs';
5
- import { l as logger, D as ensurePrivateDirectory, E as hardenPrivateFile, c as configuration, p as packageJson, g as readSettings, F as readCredentials, u as credentialRelayProblem, o as readDaemonState, i as encodeBase64, G as readSettingsOutcome, H as updateSettings, I as encodeBase64Url, m as decodeBase64, J as writeCredentialsLegacy, K as writeCredentialsDataKey, d as readCredentialsForConfiguredRelay, j as encrypt, r as readPersistedSessions, w as writePrivateFileSync, L as decryptWithDataKey, M as decryptLegacy, N as persistSession, k as decrypt, f as ensurePrivateDirectorySync, O as acquireDaemonLock, P as deletePersistedSessions, Q as writeDaemonState, R as writeSettings, S as releaseDaemonLock, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES, T as clearCredentials, U as clearMachineId, V as SandboxConfigSchema, W as getLatestDaemonLog } from './limits-nhD0Wran.mjs';
4
+ import { o as notifyDaemonSessionEvent, q as getProjectPath, l as BUILTIN_TODO_DISCOVERY, p as projectPath, r as initializeSandbox, w as wrapCommand, j as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, m as delay, t as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, u as notifyDaemonClaudeAuthFailed, v as commandOnPath, c as checkIfDaemonRunningAndCleanupStaleState, x as deriveLocalCliUpdateSummary, y as AGENT_VERSION_SOURCES, z as isClaudeSessionId, C as getLocalHappyAgentCredentialPath, D as readLocalHappyAgentCredentials, E as parseExactVersion, F as compareExactVersions, G as extractCompleteLines, H as decideBackfill, J as parseTerminalHookPayload, K as tmuxArgs, L as scrubTmuxClientEnv, N as decideMirrorBinding, O as MIRROR_BACKFILL_LINES_DEFAULT, P as mirrorLineKey, Q as mirrorLocalId, T as listDaemonSessions, U as stopDaemonSession, V as detectCLIAvailability, W as detectResumeSupport, X as isDaemonRunningCurrentlyInstalledHappyVersion, Y as stopDaemon, Z as TurnActivityTracker, _ as summarizeSpawnSessionForLog, $ as shellescape, A as ApiClient, a0 as fetchCliUpdateState, a1 as resolveCliUpdateCheckInterval, a2 as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, a3 as cleanupDaemonState, i as isValidSessionId, s as spawnDaemonSession, a4 as listVhTerminals, a5 as isValidTerminalId, a6 as readVhTerminal, a7 as sendToVhTerminal, a8 as ContextUsageSchema, a9 as TITLE_PROMPT_PREFIX, aa as BOARD_ANALYZER_PROMPT_PREFIX, k as connectionState, ab as startOfflineReconnection, n as notifyDaemonSessionStarted, d as createEnvelope, ac as CodexAppServerClient } from './types-CLosaeZT.mjs';
5
+ import { l as logger, D as ensurePrivateDirectory, E as hardenPrivateFile, c as configuration, p as packageJson, g as readSettings, F as readCredentials, u as credentialRelayProblem, o as readDaemonState, i as encodeBase64, G as readSettingsOutcome, H as updateSettings, I as encodeBase64Url, m as decodeBase64, J as writeCredentialsLegacy, K as writeCredentialsDataKey, d as readCredentialsForConfiguredRelay, j as encrypt, r as readPersistedSessions, w as writePrivateFileSync, L as decryptWithDataKey, M as decryptLegacy, N as persistSession, k as decrypt, f as ensurePrivateDirectorySync, O as acquireDaemonLock, P as deletePersistedSessions, Q as writeDaemonState, R as writeSettings, S as releaseDaemonLock, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES, T as clearCredentials, U as clearMachineId, V as SandboxConfigSchema, W as getLatestDaemonLog } from './limits-DT5Yk_UH.mjs';
6
6
  import spawn$1, { spawn } from 'cross-spawn';
7
7
  import path, { join, resolve, basename, isAbsolute, dirname, sep, delimiter, normalize } from 'node:path';
8
8
  import { createInterface } from 'node:readline';
9
9
  import { existsSync, readFileSync, readdirSync, statSync, mkdirSync, unlinkSync, renameSync, writeFileSync, accessSync, constants, openSync, fsyncSync, closeSync, rmSync as rmSync$1, chmodSync as chmodSync$1 } from 'node:fs';
10
- import { f as trimIdent, A as AGENT_GUIDANCE, t as teamScopePath, T as TeamConnectionPreflightError, e as createTeamsClient, P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, g as TEAM_TOOL_NAMES, r as registerTeamsTools, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, h as REPORT_PROGRESS_TOOL_TITLE, i as REPORT_PROGRESS_TOOL_DESCRIPTION } from './agentGuidance-xk3v4_7E.mjs';
10
+ import { f as trimIdent, A as AGENT_GUIDANCE, t as teamScopePath, T as TeamConnectionPreflightError, e as createTeamsClient, P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, g as TEAM_TOOL_NAMES, r as registerTeamsTools, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, h as REPORT_PROGRESS_TOOL_TITLE, i as REPORT_PROGRESS_TOOL_DESCRIPTION } from './agentGuidance-Do7cQka3.mjs';
11
11
  import { readFile, writeFile, rename, unlink, mkdir, symlink, rm, readlink, lstat, stat, open as open$1, appendFile } from 'node:fs/promises';
12
12
  import fs, { watch, access } from 'fs/promises';
13
13
  import { useStdout, useInput, Box, Text, render } from 'ink';
@@ -1282,7 +1282,21 @@ function createRuntimeControls(isThinking) {
1282
1282
  });
1283
1283
  return { operationId: op.id };
1284
1284
  }
1285
- return { setQuery, observe, request };
1285
+ async function stopRunningTasks() {
1286
+ const q = query, runGeneration = generation;
1287
+ if (!q || !q.canControl()) return [];
1288
+ const running = [...tasks.values()].filter((task) => task.status === "running" && text(task.id)).map((task) => String(task.id)).slice(0, 20);
1289
+ const stopped = [];
1290
+ await Promise.all(running.map(async (id) => {
1291
+ try {
1292
+ await q.stopTask(id);
1293
+ if (query === q && generation === runGeneration) stopped.push(id);
1294
+ } catch {
1295
+ }
1296
+ }));
1297
+ return stopped;
1298
+ }
1299
+ return { setQuery, observe, request, stopRunningTasks };
1286
1300
  }
1287
1301
 
1288
1302
  class MessageBuffer {
@@ -3897,6 +3911,9 @@ async function claudeRemoteLauncher(session, onPermissionModeChange, onEffective
3897
3911
  logger.debug("[remote]: doAbort");
3898
3912
  session.markAborting();
3899
3913
  session.onAbort();
3914
+ void runtimeControls.stopRunningTasks().then((ids) => {
3915
+ if (ids.length > 0) logger.debug(`[remote]: stopped ${ids.length} background task(s) on abort: ${ids.join(", ")}`);
3916
+ }).catch((error) => logger.debug("[remote]: stopping background tasks on abort failed", error));
3900
3917
  if (session.thinking) {
3901
3918
  const interrupted = await turnSteering.interruptTurn().catch((e) => {
3902
3919
  logger.debug("[remote]: interruptTurn threw, falling back to hard abort", e);
@@ -12305,7 +12322,7 @@ function registerSideQuestionHandler(rpc, deps) {
12305
12322
  const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
12306
12323
  const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
12307
12324
  const run = deps.run ?? (async (input) => {
12308
- const { query } = await import('./index-BPnAbcz_.mjs');
12325
+ const { query } = await import('./index-DhfgAB8K.mjs');
12309
12326
  return runSideQuestion(query, input);
12310
12327
  });
12311
12328
  const slots = /* @__PURE__ */ new Map();
@@ -17541,7 +17558,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17541
17558
  process.exit(0);
17542
17559
  } else if (subcommand === "install-terminal-hooks") {
17543
17560
  try {
17544
- const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-D2ice1a-.mjs');
17561
+ const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-zmtIrf3E.mjs');
17545
17562
  const command = parseTerminalHooksArgs(args.slice(1));
17546
17563
  if (command.action === "help") {
17547
17564
  console.log(TERMINAL_HOOKS_HELP);
@@ -17558,7 +17575,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17558
17575
  }
17559
17576
  } else if (subcommand === "spawn") {
17560
17577
  try {
17561
- const { handleSpawnCommand } = await import('./spawn-C1OqXJNb.mjs');
17578
+ const { handleSpawnCommand } = await import('./spawn-Ca0A70dX.mjs');
17562
17579
  await handleSpawnCommand(args.slice(1));
17563
17580
  } catch (error) {
17564
17581
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -17570,7 +17587,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17570
17587
  return;
17571
17588
  } else if (subcommand === "sessions") {
17572
17589
  try {
17573
- const { handleSessionsCommand } = await import('./sessions-C6EvnC4B.mjs');
17590
+ const { handleSessionsCommand } = await import('./sessions-DDWTq2AG.mjs');
17574
17591
  await handleSessionsCommand(args.slice(1));
17575
17592
  } catch (error) {
17576
17593
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -17582,7 +17599,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17582
17599
  return;
17583
17600
  } else if (subcommand === "send") {
17584
17601
  try {
17585
- const { handleSendCommand } = await import('./send-KICC_ACz.mjs');
17602
+ const { handleSendCommand } = await import('./send-DT04hV8o.mjs');
17586
17603
  await handleSendCommand(args.slice(1));
17587
17604
  } catch (error) {
17588
17605
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -17688,9 +17705,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17688
17705
  if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
17689
17706
  const projectId = args[3];
17690
17707
  try {
17691
- const { saveGoogleCloudProjectToConfig } = await import('./config-BVoHul9V.mjs');
17692
- const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-nhD0Wran.mjs').then(function (n) { return n.X; });
17693
- const { ApiClient: ApiClient2 } = await import('./types-thyvQB2a.mjs').then(function (n) { return n.ad; });
17708
+ const { saveGoogleCloudProjectToConfig } = await import('./config-DY57frJF.mjs');
17709
+ const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-DT5Yk_UH.mjs').then(function (n) { return n.X; });
17710
+ const { ApiClient: ApiClient2 } = await import('./types-CLosaeZT.mjs').then(function (n) { return n.ad; });
17694
17711
  let userEmail = void 0;
17695
17712
  try {
17696
17713
  const credentials = await readCredentialsForConfiguredRelay2();
@@ -17721,7 +17738,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17721
17738
  }
17722
17739
  if (geminiSubcommand === "project" && args[2] === "get") {
17723
17740
  try {
17724
- const { readGeminiLocalConfig } = await import('./config-BVoHul9V.mjs');
17741
+ const { readGeminiLocalConfig } = await import('./config-DY57frJF.mjs');
17725
17742
  const config = readGeminiLocalConfig();
17726
17743
  if (config.googleCloudProject) {
17727
17744
  console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
@@ -17761,7 +17778,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17761
17778
  process.exit(0);
17762
17779
  }
17763
17780
  try {
17764
- const { runGemini } = await import('./runGemini-sa5kAgPe.mjs');
17781
+ const { runGemini } = await import('./runGemini-BmdhYEzM.mjs');
17765
17782
  let startedBy = void 0;
17766
17783
  for (let i = 1; i < args.length; i++) {
17767
17784
  if (args[i] === "--started-by") {
@@ -17791,7 +17808,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17791
17808
  }
17792
17809
  };
17793
17810
  try {
17794
- const { runAcp, resolveAcpAgentConfig } = await import('./index-BNydKYvS.mjs');
17811
+ const { runAcp, resolveAcpAgentConfig } = await import('./index-Dz6FgNFg.mjs');
17795
17812
  const parsed = parsePiRunnerArgs(args.slice(1));
17796
17813
  const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
17797
17814
  const { credentials } = await authAndSetupMachineIfNeeded();
@@ -17819,7 +17836,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17819
17836
  return;
17820
17837
  } else if (subcommand === "acp") {
17821
17838
  try {
17822
- const { runAcp, resolveAcpAgentConfig } = await import('./index-BNydKYvS.mjs');
17839
+ const { runAcp, resolveAcpAgentConfig } = await import('./index-Dz6FgNFg.mjs');
17823
17840
  let startedBy = void 0;
17824
17841
  let verbose = false;
17825
17842
  const acpArgs = [];
@@ -17859,7 +17876,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17859
17876
  return;
17860
17877
  } else if (subcommand === "openclaw") {
17861
17878
  try {
17862
- const { runOpenClaw } = await import('./runOpenClaw-Bdsq8KBa.mjs');
17879
+ const { runOpenClaw } = await import('./runOpenClaw-CYpO3Vv8.mjs');
17863
17880
  let startedBy = void 0;
17864
17881
  let verbose = false;
17865
17882
  let gatewayUrl;
@@ -17910,7 +17927,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17910
17927
  return;
17911
17928
  } else if (subcommand === "todo") {
17912
17929
  try {
17913
- const { handleTodoCommand } = await import('./todo-C-vovA0N.mjs');
17930
+ const { handleTodoCommand } = await import('./todo-4WhOom8k.mjs');
17914
17931
  await handleTodoCommand(args.slice(1));
17915
17932
  } catch (error) {
17916
17933
  console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
@@ -17919,7 +17936,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17919
17936
  return;
17920
17937
  } else if (subcommand === "teams") {
17921
17938
  try {
17922
- const { handleTeamsCommand } = await import('./teams-Dm5HGpNz.mjs');
17939
+ const { handleTeamsCommand } = await import('./teams-CzK1zg0m.mjs');
17923
17940
  await handleTeamsCommand(args.slice(1));
17924
17941
  } catch (error) {
17925
17942
  console.error(error instanceof Error ? error.message : "Teams command failed");
@@ -17928,7 +17945,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17928
17945
  return;
17929
17946
  } else if (subcommand === "mcp" && args.length === 1) {
17930
17947
  try {
17931
- const { handleMcpCommand } = await import('./mcp-V26C05fN.mjs');
17948
+ const { handleMcpCommand } = await import('./mcp-Bzy-X9kI.mjs');
17932
17949
  await handleMcpCommand();
17933
17950
  } catch (error) {
17934
17951
  process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
@@ -3,13 +3,13 @@
3
3
  var chalk = require('chalk');
4
4
  var os = require('node:os');
5
5
  var node_crypto = require('node:crypto');
6
- var api = require('./types-DCVS050m.cjs');
7
- var persistence = require('./limits-Dbip6eVO.cjs');
6
+ var api = require('./types-Bk3W89Z3.cjs');
7
+ var persistence = require('./limits-DbLWXlJm.cjs');
8
8
  var spawn = require('cross-spawn');
9
9
  var path = require('node:path');
10
10
  var node_readline = require('node:readline');
11
11
  var node_fs = require('node:fs');
12
- var agentGuidance = require('./agentGuidance-Dl3apItH.cjs');
12
+ var agentGuidance = require('./agentGuidance-B9ENxSaS.cjs');
13
13
  var promises = require('node:fs/promises');
14
14
  var fs = require('fs/promises');
15
15
  var ink = require('ink');
@@ -1304,7 +1304,21 @@ function createRuntimeControls(isThinking) {
1304
1304
  });
1305
1305
  return { operationId: op.id };
1306
1306
  }
1307
- return { setQuery, observe, request };
1307
+ async function stopRunningTasks() {
1308
+ const q = query, runGeneration = generation;
1309
+ if (!q || !q.canControl()) return [];
1310
+ const running = [...tasks.values()].filter((task) => task.status === "running" && text(task.id)).map((task) => String(task.id)).slice(0, 20);
1311
+ const stopped = [];
1312
+ await Promise.all(running.map(async (id) => {
1313
+ try {
1314
+ await q.stopTask(id);
1315
+ if (query === q && generation === runGeneration) stopped.push(id);
1316
+ } catch {
1317
+ }
1318
+ }));
1319
+ return stopped;
1320
+ }
1321
+ return { setQuery, observe, request, stopRunningTasks };
1308
1322
  }
1309
1323
 
1310
1324
  class MessageBuffer {
@@ -3919,6 +3933,9 @@ async function claudeRemoteLauncher(session, onPermissionModeChange, onEffective
3919
3933
  persistence.logger.debug("[remote]: doAbort");
3920
3934
  session.markAborting();
3921
3935
  session.onAbort();
3936
+ void runtimeControls.stopRunningTasks().then((ids) => {
3937
+ if (ids.length > 0) persistence.logger.debug(`[remote]: stopped ${ids.length} background task(s) on abort: ${ids.join(", ")}`);
3938
+ }).catch((error) => persistence.logger.debug("[remote]: stopping background tasks on abort failed", error));
3922
3939
  if (session.thinking) {
3923
3940
  const interrupted = await turnSteering.interruptTurn().catch((e) => {
3924
3941
  persistence.logger.debug("[remote]: interruptTurn threw, falling back to hard abort", e);
@@ -7875,7 +7892,7 @@ function parseJsonObject(text) {
7875
7892
  return null;
7876
7893
  }
7877
7894
  }
7878
- 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-__h-pCTK.cjs', document.baseURI).href))).resolve(s)) {
7895
+ 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-ChWePQEd.cjs', document.baseURI).href))).resolve(s)) {
7879
7896
  const platformArch = `${platform}-${arch}`;
7880
7897
  const candidates = [
7881
7898
  `@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
@@ -12327,7 +12344,7 @@ function registerSideQuestionHandler(rpc, deps) {
12327
12344
  const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
12328
12345
  const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
12329
12346
  const run = deps.run ?? (async (input) => {
12330
- const { query } = await Promise.resolve().then(function () { return require('./index-BuQn9kUK.cjs'); });
12347
+ const { query } = await Promise.resolve().then(function () { return require('./index-BSVgut_Y.cjs'); });
12331
12348
  return runSideQuestion(query, input);
12332
12349
  });
12333
12350
  const slots = /* @__PURE__ */ new Map();
@@ -12429,7 +12446,7 @@ const MAX_TITLE_CHARS = 60;
12429
12446
  const GENERATION_TIMEOUT_MS = 3e4;
12430
12447
  function resolveClaudeBinary() {
12431
12448
  try {
12432
- 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-__h-pCTK.cjs', document.baseURI).href)));
12449
+ 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-ChWePQEd.cjs', document.baseURI).href)));
12433
12450
  const utilsPath = path.resolve(path.join(api.projectPath(), "scripts", "claude_version_utils.cjs"));
12434
12451
  const { getClaudeCliPath } = require$1(utilsPath);
12435
12452
  const path$1 = getClaudeCliPath();
@@ -14655,9 +14672,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
14655
14672
  };
14656
14673
  }
14657
14674
 
14658
- 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-__h-pCTK.cjs', document.baseURI).href)));
14675
+ 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-ChWePQEd.cjs', document.baseURI).href)));
14659
14676
  const __dirname$1 = path.dirname(__filename$1);
14660
- const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-__h-pCTK.cjs', document.baseURI).href)));
14677
+ const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-ChWePQEd.cjs', document.baseURI).href)));
14661
14678
  const PRISMA_QUERY_ENGINE_FILES = {
14662
14679
  "arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
14663
14680
  "x64-darwin": "libquery_engine-darwin.dylib.node",
@@ -17563,7 +17580,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17563
17580
  process.exit(0);
17564
17581
  } else if (subcommand === "install-terminal-hooks") {
17565
17582
  try {
17566
- const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-D3jfvbyY.cjs'); });
17583
+ const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks--jkP17uE.cjs'); });
17567
17584
  const command = parseTerminalHooksArgs(args.slice(1));
17568
17585
  if (command.action === "help") {
17569
17586
  console.log(TERMINAL_HOOKS_HELP);
@@ -17580,7 +17597,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17580
17597
  }
17581
17598
  } else if (subcommand === "spawn") {
17582
17599
  try {
17583
- const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-BhUK0Vt2.cjs'); });
17600
+ const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-CdZgvthE.cjs'); });
17584
17601
  await handleSpawnCommand(args.slice(1));
17585
17602
  } catch (error) {
17586
17603
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -17592,7 +17609,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17592
17609
  return;
17593
17610
  } else if (subcommand === "sessions") {
17594
17611
  try {
17595
- const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-CGBBgVZn.cjs'); });
17612
+ const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-Jt9lrcrG.cjs'); });
17596
17613
  await handleSessionsCommand(args.slice(1));
17597
17614
  } catch (error) {
17598
17615
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -17604,7 +17621,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17604
17621
  return;
17605
17622
  } else if (subcommand === "send") {
17606
17623
  try {
17607
- const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-DP_S3wn0.cjs'); });
17624
+ const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-BGcCrMUT.cjs'); });
17608
17625
  await handleSendCommand(args.slice(1));
17609
17626
  } catch (error) {
17610
17627
  console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
@@ -17710,9 +17727,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17710
17727
  if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
17711
17728
  const projectId = args[3];
17712
17729
  try {
17713
- const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-D0-jnCOC.cjs'); });
17714
- const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-Dbip6eVO.cjs'); }).then(function (n) { return n.persistence; });
17715
- const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-DCVS050m.cjs'); }).then(function (n) { return n.api; });
17730
+ const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-Dn7nAHcA.cjs'); });
17731
+ const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-DbLWXlJm.cjs'); }).then(function (n) { return n.persistence; });
17732
+ const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-Bk3W89Z3.cjs'); }).then(function (n) { return n.api; });
17716
17733
  let userEmail = void 0;
17717
17734
  try {
17718
17735
  const credentials = await readCredentialsForConfiguredRelay2();
@@ -17743,7 +17760,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17743
17760
  }
17744
17761
  if (geminiSubcommand === "project" && args[2] === "get") {
17745
17762
  try {
17746
- const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-D0-jnCOC.cjs'); });
17763
+ const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-Dn7nAHcA.cjs'); });
17747
17764
  const config = readGeminiLocalConfig();
17748
17765
  if (config.googleCloudProject) {
17749
17766
  console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
@@ -17783,7 +17800,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17783
17800
  process.exit(0);
17784
17801
  }
17785
17802
  try {
17786
- const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-D34eCFpz.cjs'); });
17803
+ const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CxUz95A1.cjs'); });
17787
17804
  let startedBy = void 0;
17788
17805
  for (let i = 1; i < args.length; i++) {
17789
17806
  if (args[i] === "--started-by") {
@@ -17813,7 +17830,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17813
17830
  }
17814
17831
  };
17815
17832
  try {
17816
- const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-DJvzGXVN.cjs'); });
17833
+ const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-3STVDtNO.cjs'); });
17817
17834
  const parsed = parsePiRunnerArgs(args.slice(1));
17818
17835
  const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
17819
17836
  const { credentials } = await authAndSetupMachineIfNeeded();
@@ -17841,7 +17858,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17841
17858
  return;
17842
17859
  } else if (subcommand === "acp") {
17843
17860
  try {
17844
- const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-DJvzGXVN.cjs'); });
17861
+ const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-3STVDtNO.cjs'); });
17845
17862
  let startedBy = void 0;
17846
17863
  let verbose = false;
17847
17864
  const acpArgs = [];
@@ -17881,7 +17898,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17881
17898
  return;
17882
17899
  } else if (subcommand === "openclaw") {
17883
17900
  try {
17884
- const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-B8F8D--R.cjs'); });
17901
+ const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-RLIFJx61.cjs'); });
17885
17902
  let startedBy = void 0;
17886
17903
  let verbose = false;
17887
17904
  let gatewayUrl;
@@ -17932,7 +17949,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17932
17949
  return;
17933
17950
  } else if (subcommand === "todo") {
17934
17951
  try {
17935
- const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-CeJX0z_2.cjs'); });
17952
+ const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-D9nFaYpQ.cjs'); });
17936
17953
  await handleTodoCommand(args.slice(1));
17937
17954
  } catch (error) {
17938
17955
  console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
@@ -17941,7 +17958,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17941
17958
  return;
17942
17959
  } else if (subcommand === "teams") {
17943
17960
  try {
17944
- const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-C29nEHFD.cjs'); });
17961
+ const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-DfVwVZ4x.cjs'); });
17945
17962
  await handleTeamsCommand(args.slice(1));
17946
17963
  } catch (error) {
17947
17964
  console.error(error instanceof Error ? error.message : "Teams command failed");
@@ -17950,7 +17967,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
17950
17967
  return;
17951
17968
  } else if (subcommand === "mcp" && args.length === 1) {
17952
17969
  try {
17953
- const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-DeapmTWN.cjs'); });
17970
+ const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-kE0n1dBF.cjs'); });
17954
17971
  await handleMcpCommand();
17955
17972
  } catch (error) {
17956
17973
  process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
@@ -1,11 +1,11 @@
1
- import { q as query } from './index-D0IP7gXG.mjs';
1
+ import { q as query } from './index-C55sW8E9.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-thyvQB2a.mjs';
6
+ import './types-CLosaeZT.mjs';
7
7
  import 'axios';
8
- import './limits-nhD0Wran.mjs';
8
+ import './limits-DT5Yk_UH.mjs';
9
9
  import 'node:fs/promises';
10
10
  import 'node:fs';
11
11
  import 'node:path';
@@ -29,7 +29,7 @@ import 'fs';
29
29
  import 'node:readline';
30
30
  import '@anthropic-ai/sandbox-runtime';
31
31
  import 'expo-server-sdk';
32
- import './agentGuidance-xk3v4_7E.mjs';
32
+ import './agentGuidance-Do7cQka3.mjs';
33
33
  import 'ink';
34
34
  import 'react';
35
35
  import 'ps-list';