very-happy-cli 0.2.97 → 0.2.99
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.
- package/dist/{AcpBackend-CTUM4dvG.mjs → AcpBackend-C9LtzYSx.mjs} +1 -1
- package/dist/{AcpBackend-DrwdVSeJ.cjs → AcpBackend-DkvV2nhl.cjs} +1 -1
- package/dist/{AcpSessionManager-BoBuHee3.mjs → AcpSessionManager-B5rJcE82.mjs} +1 -1
- package/dist/{AcpSessionManager-BieE187D.cjs → AcpSessionManager-gsp_-PGy.cjs} +1 -1
- package/dist/{config-DCH33LOM.mjs → config-BcCVR-Wx.mjs} +2 -2
- package/dist/{config-COq6X7U7.cjs → config-Bidi0Yeq.cjs} +2 -2
- package/dist/{index-Bcgquogx.mjs → index-B87z2DOo.mjs} +12 -15
- package/dist/{index-Dn0iOBFd.cjs → index-CxdGnaov.cjs} +4 -4
- package/dist/{index-BD2fHJ8o.cjs → index-Dp1EYEyF.cjs} +18 -21
- package/dist/{index-DkhMvofH.mjs → index-Wfds4scC.mjs} +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{installTerminalHooks-DqNtW6a2.mjs → installTerminalHooks-DkOh088o.mjs} +2 -2
- package/dist/{installTerminalHooks-H3kpFEZS.cjs → installTerminalHooks-jaCruGfR.cjs} +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +11 -0
- package/dist/lib.d.mts +11 -0
- package/dist/lib.mjs +1 -1
- package/dist/{mcp-BKAuzaLX.mjs → mcp-DhftF_XE.mjs} +2 -2
- package/dist/{mcp-BwNc5eRs.cjs → mcp-ZQbu8tL1.cjs} +2 -2
- package/dist/{runGemini-Brp0UmLx.mjs → runGemini-3-xWWBRA.mjs} +4 -4
- package/dist/{runGemini-w35qiFBB.cjs → runGemini-Ce7Maf-D.cjs} +4 -4
- package/dist/{runOpenClaw-BvPRFx-L.mjs → runOpenClaw-DZhGhihh.mjs} +3 -3
- package/dist/{runOpenClaw-CkHtTCpI.cjs → runOpenClaw-q3inEsDr.cjs} +3 -3
- package/dist/{send-c-wEmh5U.mjs → send-B3NOqi9-.mjs} +2 -2
- package/dist/{send-tyKG13xt.cjs → send-BdEJeVye.cjs} +2 -2
- package/dist/{spawn-yS6yY8Xi.mjs → spawn-CCYAeBfN.mjs} +2 -2
- package/dist/{spawn-xdCsG2RT.cjs → spawn-DEVUh4iW.cjs} +2 -2
- package/dist/{types-xZOYW0_G.mjs → types-CrJj-daH.mjs} +302 -73
- package/dist/{types-DoGaKVfK.cjs → types-DhxxJFD0.cjs} +303 -73
- package/package.json +7 -7
|
@@ -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-
|
|
4
|
+
import { l as logger, d as contentLogMetadata, e as errorLogMetadata, f as packageJson, g as delay } from './types-CrJj-daH.mjs';
|
|
5
5
|
|
|
6
6
|
const DEFAULT_TIMEOUTS = {
|
|
7
7
|
/** Default initialization timeout: 60 seconds */
|
|
@@ -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-
|
|
6
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
7
7
|
|
|
8
8
|
const DEFAULT_TIMEOUTS = {
|
|
9
9
|
/** Default initialization timeout: 60 seconds */
|
|
@@ -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-
|
|
6
|
-
import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-
|
|
5
|
+
import { l as logger } from './types-CrJj-daH.mjs';
|
|
6
|
+
import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-B87z2DOo.mjs';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'chalk';
|
|
9
9
|
import 'node:util';
|
|
@@ -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-
|
|
8
|
-
var index = require('./index-
|
|
7
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
8
|
+
var index = require('./index-Dp1EYEyF.cjs');
|
|
9
9
|
require('axios');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('node:util');
|
|
@@ -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
|
|
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, h as connectionState, ah as startOfflineReconnection, ai as clearCredentials, aj as clearMachineId, k as ensurePrivateDirectorySync, ak as SandboxConfigSchema, b as createEnvelope, al as CodexAppServerClient, am as getLatestDaemonLog } from './types-CrJj-daH.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';
|
|
@@ -7828,9 +7828,6 @@ async function claimSessionOrExit(happySessionId, options) {
|
|
|
7828
7828
|
process.on("exit", () => releaseSessionLock(happySessionId));
|
|
7829
7829
|
}
|
|
7830
7830
|
|
|
7831
|
-
function shellescape(s) {
|
|
7832
|
-
return "'" + s.replace(/'/g, "'\\''") + "'";
|
|
7833
|
-
}
|
|
7834
7831
|
const hostSuffix = process.env.HAPPY_VARIANT === "dev" ? "-dev" : "";
|
|
7835
7832
|
const initialMachineMetadata = {
|
|
7836
7833
|
host: os$1.hostname() + hostSuffix,
|
|
@@ -14741,7 +14738,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14741
14738
|
process.exit(0);
|
|
14742
14739
|
} else if (subcommand === "install-terminal-hooks") {
|
|
14743
14740
|
try {
|
|
14744
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-
|
|
14741
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-DkOh088o.mjs');
|
|
14745
14742
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
14746
14743
|
if (command.action === "help") {
|
|
14747
14744
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -14758,7 +14755,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14758
14755
|
}
|
|
14759
14756
|
} else if (subcommand === "spawn") {
|
|
14760
14757
|
try {
|
|
14761
|
-
const { handleSpawnCommand } = await import('./spawn-
|
|
14758
|
+
const { handleSpawnCommand } = await import('./spawn-CCYAeBfN.mjs');
|
|
14762
14759
|
await handleSpawnCommand(args.slice(1));
|
|
14763
14760
|
} catch (error) {
|
|
14764
14761
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -14770,7 +14767,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14770
14767
|
return;
|
|
14771
14768
|
} else if (subcommand === "send") {
|
|
14772
14769
|
try {
|
|
14773
|
-
const { handleSendCommand } = await import('./send-
|
|
14770
|
+
const { handleSendCommand } = await import('./send-B3NOqi9-.mjs');
|
|
14774
14771
|
await handleSendCommand(args.slice(1));
|
|
14775
14772
|
} catch (error) {
|
|
14776
14773
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -14876,9 +14873,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14876
14873
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
14877
14874
|
const projectId = args[3];
|
|
14878
14875
|
try {
|
|
14879
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
14880
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./types-
|
|
14881
|
-
const { ApiClient: ApiClient2 } = await import('./types-
|
|
14876
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-BcCVR-Wx.mjs');
|
|
14877
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./types-CrJj-daH.mjs').then(function (n) { return n.an; });
|
|
14878
|
+
const { ApiClient: ApiClient2 } = await import('./types-CrJj-daH.mjs').then(function (n) { return n.ao; });
|
|
14882
14879
|
let userEmail = void 0;
|
|
14883
14880
|
try {
|
|
14884
14881
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -14909,7 +14906,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14909
14906
|
}
|
|
14910
14907
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
14911
14908
|
try {
|
|
14912
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
14909
|
+
const { readGeminiLocalConfig } = await import('./config-BcCVR-Wx.mjs');
|
|
14913
14910
|
const config = readGeminiLocalConfig();
|
|
14914
14911
|
if (config.googleCloudProject) {
|
|
14915
14912
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -14949,7 +14946,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14949
14946
|
process.exit(0);
|
|
14950
14947
|
}
|
|
14951
14948
|
try {
|
|
14952
|
-
const { runGemini } = await import('./runGemini-
|
|
14949
|
+
const { runGemini } = await import('./runGemini-3-xWWBRA.mjs');
|
|
14953
14950
|
let startedBy = void 0;
|
|
14954
14951
|
for (let i = 1; i < args.length; i++) {
|
|
14955
14952
|
if (args[i] === "--started-by") {
|
|
@@ -14971,7 +14968,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14971
14968
|
return;
|
|
14972
14969
|
} else if (subcommand === "acp") {
|
|
14973
14970
|
try {
|
|
14974
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
14971
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-Wfds4scC.mjs');
|
|
14975
14972
|
let startedBy = void 0;
|
|
14976
14973
|
let verbose = false;
|
|
14977
14974
|
const acpArgs = [];
|
|
@@ -15011,7 +15008,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
15011
15008
|
return;
|
|
15012
15009
|
} else if (subcommand === "openclaw") {
|
|
15013
15010
|
try {
|
|
15014
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
15011
|
+
const { runOpenClaw } = await import('./runOpenClaw-DZhGhihh.mjs');
|
|
15015
15012
|
let startedBy = void 0;
|
|
15016
15013
|
let verbose = false;
|
|
15017
15014
|
let gatewayUrl;
|
|
@@ -15062,7 +15059,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
15062
15059
|
return;
|
|
15063
15060
|
} else if (subcommand === "mcp" && args.length === 1) {
|
|
15064
15061
|
try {
|
|
15065
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
15062
|
+
const { handleMcpCommand } = await import('./mcp-DhftF_XE.mjs');
|
|
15066
15063
|
await handleMcpCommand();
|
|
15067
15064
|
} catch (error) {
|
|
15068
15065
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AcpBackend = require('./AcpBackend-
|
|
4
|
-
var persistence = require('./types-
|
|
5
|
-
var AcpSessionManager = require('./AcpSessionManager-
|
|
3
|
+
var AcpBackend = require('./AcpBackend-DkvV2nhl.cjs');
|
|
4
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
5
|
+
var AcpSessionManager = require('./AcpSessionManager-gsp_-PGy.cjs');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-Dp1EYEyF.cjs');
|
|
9
9
|
require('node:child_process');
|
|
10
10
|
require('@agentclientprotocol/sdk');
|
|
11
11
|
require('axios');
|
|
@@ -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-
|
|
6
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
7
7
|
var spawn = require('cross-spawn');
|
|
8
8
|
var path = require('node:path');
|
|
9
9
|
var node_readline = require('node:readline');
|
|
@@ -6771,7 +6771,7 @@ function parseJsonObject(text) {
|
|
|
6771
6771
|
return null;
|
|
6772
6772
|
}
|
|
6773
6773
|
}
|
|
6774
|
-
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-
|
|
6774
|
+
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-Dp1EYEyF.cjs', document.baseURI).href))).resolve(s)) {
|
|
6775
6775
|
const platformArch = `${platform}-${arch}`;
|
|
6776
6776
|
const candidates = [
|
|
6777
6777
|
`@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
|
|
@@ -7850,9 +7850,6 @@ async function claimSessionOrExit(happySessionId, options) {
|
|
|
7850
7850
|
process.on("exit", () => releaseSessionLock(happySessionId));
|
|
7851
7851
|
}
|
|
7852
7852
|
|
|
7853
|
-
function shellescape(s) {
|
|
7854
|
-
return "'" + s.replace(/'/g, "'\\''") + "'";
|
|
7855
|
-
}
|
|
7856
7853
|
const hostSuffix = process.env.HAPPY_VARIANT === "dev" ? "-dev" : "";
|
|
7857
7854
|
const initialMachineMetadata = {
|
|
7858
7855
|
host: os$1.hostname() + hostSuffix,
|
|
@@ -8237,8 +8234,8 @@ async function startDaemon() {
|
|
|
8237
8234
|
const cliPath = path$1.join(persistence.projectPath(), "dist", "index.mjs");
|
|
8238
8235
|
const agent = options.agent === "gemini" ? "gemini" : options.agent === "codex" ? "codex" : options.agent === "openclaw" ? "openclaw" : "claude";
|
|
8239
8236
|
const resumeId = agent === "claude" ? options.resumeClaudeSessionId : agent === "codex" ? options.resumeCodexThreadId : void 0;
|
|
8240
|
-
const resumeFragment = resumeId ? ` --resume ${shellescape(resumeId)}` : "";
|
|
8241
|
-
const permissionModeFragment = spawnPermissionMode ? ` --permission-mode ${shellescape(spawnPermissionMode)}` : "";
|
|
8237
|
+
const resumeFragment = resumeId ? ` --resume ${persistence.shellescape(resumeId)}` : "";
|
|
8238
|
+
const permissionModeFragment = spawnPermissionMode ? ` --permission-mode ${persistence.shellescape(spawnPermissionMode)}` : "";
|
|
8242
8239
|
const fullCommand = `node --no-warnings --no-deprecation ${cliPath} ${agent} --happy-starting-mode remote --started-by daemon${resumeFragment}${permissionModeFragment}`;
|
|
8243
8240
|
const windowName = `happy-${Date.now()}-${agent}`;
|
|
8244
8241
|
const tmuxEnv = {};
|
|
@@ -9942,7 +9939,7 @@ const MAX_TITLE_CHARS = 60;
|
|
|
9942
9939
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
9943
9940
|
function resolveClaudeBinary() {
|
|
9944
9941
|
try {
|
|
9945
|
-
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-
|
|
9942
|
+
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-Dp1EYEyF.cjs', document.baseURI).href)));
|
|
9946
9943
|
const utilsPath = path.resolve(path.join(persistence.projectPath(), "scripts", "claude_version_utils.cjs"));
|
|
9947
9944
|
const { getClaudeCliPath } = require$1(utilsPath);
|
|
9948
9945
|
const path$1 = getClaudeCliPath();
|
|
@@ -12137,9 +12134,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
|
|
|
12137
12134
|
};
|
|
12138
12135
|
}
|
|
12139
12136
|
|
|
12140
|
-
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-
|
|
12137
|
+
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-Dp1EYEyF.cjs', document.baseURI).href)));
|
|
12141
12138
|
const __dirname$1 = path.dirname(__filename$1);
|
|
12142
|
-
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
12139
|
+
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-Dp1EYEyF.cjs', document.baseURI).href)));
|
|
12143
12140
|
const PRISMA_QUERY_ENGINE_FILES = {
|
|
12144
12141
|
"arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
|
|
12145
12142
|
"x64-darwin": "libquery_engine-darwin.dylib.node",
|
|
@@ -14763,7 +14760,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14763
14760
|
process.exit(0);
|
|
14764
14761
|
} else if (subcommand === "install-terminal-hooks") {
|
|
14765
14762
|
try {
|
|
14766
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-
|
|
14763
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-jaCruGfR.cjs'); });
|
|
14767
14764
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
14768
14765
|
if (command.action === "help") {
|
|
14769
14766
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -14780,7 +14777,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14780
14777
|
}
|
|
14781
14778
|
} else if (subcommand === "spawn") {
|
|
14782
14779
|
try {
|
|
14783
|
-
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-
|
|
14780
|
+
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-DEVUh4iW.cjs'); });
|
|
14784
14781
|
await handleSpawnCommand(args.slice(1));
|
|
14785
14782
|
} catch (error) {
|
|
14786
14783
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -14792,7 +14789,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14792
14789
|
return;
|
|
14793
14790
|
} else if (subcommand === "send") {
|
|
14794
14791
|
try {
|
|
14795
|
-
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-
|
|
14792
|
+
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-BdEJeVye.cjs'); });
|
|
14796
14793
|
await handleSendCommand(args.slice(1));
|
|
14797
14794
|
} catch (error) {
|
|
14798
14795
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -14898,9 +14895,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14898
14895
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
14899
14896
|
const projectId = args[3];
|
|
14900
14897
|
try {
|
|
14901
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
14902
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./types-
|
|
14903
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-
|
|
14898
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-Bidi0Yeq.cjs'); });
|
|
14899
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./types-DhxxJFD0.cjs'); }).then(function (n) { return n.persistence; });
|
|
14900
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-DhxxJFD0.cjs'); }).then(function (n) { return n.api; });
|
|
14904
14901
|
let userEmail = void 0;
|
|
14905
14902
|
try {
|
|
14906
14903
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -14931,7 +14928,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14931
14928
|
}
|
|
14932
14929
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
14933
14930
|
try {
|
|
14934
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
14931
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-Bidi0Yeq.cjs'); });
|
|
14935
14932
|
const config = readGeminiLocalConfig();
|
|
14936
14933
|
if (config.googleCloudProject) {
|
|
14937
14934
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -14971,7 +14968,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14971
14968
|
process.exit(0);
|
|
14972
14969
|
}
|
|
14973
14970
|
try {
|
|
14974
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
14971
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-Ce7Maf-D.cjs'); });
|
|
14975
14972
|
let startedBy = void 0;
|
|
14976
14973
|
for (let i = 1; i < args.length; i++) {
|
|
14977
14974
|
if (args[i] === "--started-by") {
|
|
@@ -14993,7 +14990,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
14993
14990
|
return;
|
|
14994
14991
|
} else if (subcommand === "acp") {
|
|
14995
14992
|
try {
|
|
14996
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
14993
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-CxdGnaov.cjs'); });
|
|
14997
14994
|
let startedBy = void 0;
|
|
14998
14995
|
let verbose = false;
|
|
14999
14996
|
const acpArgs = [];
|
|
@@ -15033,7 +15030,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
15033
15030
|
return;
|
|
15034
15031
|
} else if (subcommand === "openclaw") {
|
|
15035
15032
|
try {
|
|
15036
|
-
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-
|
|
15033
|
+
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-q3inEsDr.cjs'); });
|
|
15037
15034
|
let startedBy = void 0;
|
|
15038
15035
|
let verbose = false;
|
|
15039
15036
|
let gatewayUrl;
|
|
@@ -15084,7 +15081,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
15084
15081
|
return;
|
|
15085
15082
|
} else if (subcommand === "mcp" && args.length === 1) {
|
|
15086
15083
|
try {
|
|
15087
|
-
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-
|
|
15084
|
+
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-ZQbu8tL1.cjs'); });
|
|
15088
15085
|
await handleMcpCommand();
|
|
15089
15086
|
} catch (error) {
|
|
15090
15087
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-
|
|
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-
|
|
3
|
-
import { h as connectionState, A as ApiClient, i as readSettings, j as encodeBase64, l as logger, p as projectPath } from './types-
|
|
4
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
1
|
+
import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-C9LtzYSx.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-C9LtzYSx.mjs';
|
|
3
|
+
import { h as connectionState, A as ApiClient, i as readSettings, j as encodeBase64, l as logger, p as projectPath } from './types-CrJj-daH.mjs';
|
|
4
|
+
import { A as AcpSessionManager } from './AcpSessionManager-B5rJcE82.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-
|
|
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-B87z2DOo.mjs';
|
|
8
8
|
import 'node:child_process';
|
|
9
9
|
import '@agentclientprotocol/sdk';
|
|
10
10
|
import 'axios';
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -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-
|
|
7
|
-
import { t as tmuxSupportsSessionEnv } from './index-
|
|
6
|
+
import { p as projectPath } from './types-CrJj-daH.mjs';
|
|
7
|
+
import { t as tmuxSupportsSessionEnv } from './index-B87z2DOo.mjs';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'node:util';
|
|
10
10
|
import 'node:fs/promises';
|
|
@@ -5,8 +5,8 @@ var path = require('node:path');
|
|
|
5
5
|
var os = require('node:os');
|
|
6
6
|
var node_child_process = require('node:child_process');
|
|
7
7
|
var chalk = require('chalk');
|
|
8
|
-
var persistence = require('./types-
|
|
9
|
-
var index = require('./index-
|
|
8
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
9
|
+
var index = require('./index-Dp1EYEyF.cjs');
|
|
10
10
|
require('axios');
|
|
11
11
|
require('node:util');
|
|
12
12
|
require('node:fs/promises');
|
package/dist/lib.cjs
CHANGED
package/dist/lib.d.cts
CHANGED
|
@@ -344,6 +344,7 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
344
344
|
mirrorSessionId: z$1.ZodOptional<z$1.ZodString>;
|
|
345
345
|
restoredAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
346
346
|
manual: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
347
|
+
attachTmux: z$1.ZodOptional<z$1.ZodString>;
|
|
347
348
|
}, z$1.core.$strip>>;
|
|
348
349
|
}, z$1.core.$strip>>;
|
|
349
350
|
closedTerminals: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -358,12 +359,18 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
358
359
|
}>>;
|
|
359
360
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
360
361
|
manual: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
362
|
+
attachTmux: z$1.ZodOptional<z$1.ZodString>;
|
|
361
363
|
closedAt: z$1.ZodNumber;
|
|
362
364
|
}, z$1.core.$strip>>>;
|
|
363
365
|
terminalRestore: z$1.ZodOptional<z$1.ZodObject<{
|
|
364
366
|
rpcAvailable: z$1.ZodBoolean;
|
|
365
367
|
detectedAt: z$1.ZodNumber;
|
|
366
368
|
}, z$1.core.$strip>>;
|
|
369
|
+
tmuxSessions: z$1.ZodOptional<z$1.ZodObject<{
|
|
370
|
+
rpcAvailable: z$1.ZodBoolean;
|
|
371
|
+
detectedAt: z$1.ZodNumber;
|
|
372
|
+
killAttached: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
373
|
+
}, z$1.core.$strip>>;
|
|
367
374
|
cliUpdate: z$1.ZodOptional<z$1.ZodObject<{
|
|
368
375
|
currentVersion: z$1.ZodString;
|
|
369
376
|
recommendedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -1119,6 +1126,10 @@ interface TerminalListItem {
|
|
|
1119
1126
|
/** B-265: `@vh_title_manual` is set — carried into close records so a
|
|
1120
1127
|
* restore can put the flag back (old webs ignore it). */
|
|
1121
1128
|
manual?: boolean;
|
|
1129
|
+
/** B-273: this terminal was opened to attach the user's tmux session of
|
|
1130
|
+
* this NAME (`@vh_attach`). Carried into close records so a manual
|
|
1131
|
+
* restore re-attaches; old webs ignore it. */
|
|
1132
|
+
attachTmux?: string;
|
|
1122
1133
|
}
|
|
1123
1134
|
|
|
1124
1135
|
/**
|
package/dist/lib.d.mts
CHANGED
|
@@ -344,6 +344,7 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
344
344
|
mirrorSessionId: z$1.ZodOptional<z$1.ZodString>;
|
|
345
345
|
restoredAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
346
346
|
manual: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
347
|
+
attachTmux: z$1.ZodOptional<z$1.ZodString>;
|
|
347
348
|
}, z$1.core.$strip>>;
|
|
348
349
|
}, z$1.core.$strip>>;
|
|
349
350
|
closedTerminals: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -358,12 +359,18 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
358
359
|
}>>;
|
|
359
360
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
360
361
|
manual: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
362
|
+
attachTmux: z$1.ZodOptional<z$1.ZodString>;
|
|
361
363
|
closedAt: z$1.ZodNumber;
|
|
362
364
|
}, z$1.core.$strip>>>;
|
|
363
365
|
terminalRestore: z$1.ZodOptional<z$1.ZodObject<{
|
|
364
366
|
rpcAvailable: z$1.ZodBoolean;
|
|
365
367
|
detectedAt: z$1.ZodNumber;
|
|
366
368
|
}, z$1.core.$strip>>;
|
|
369
|
+
tmuxSessions: z$1.ZodOptional<z$1.ZodObject<{
|
|
370
|
+
rpcAvailable: z$1.ZodBoolean;
|
|
371
|
+
detectedAt: z$1.ZodNumber;
|
|
372
|
+
killAttached: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
373
|
+
}, z$1.core.$strip>>;
|
|
367
374
|
cliUpdate: z$1.ZodOptional<z$1.ZodObject<{
|
|
368
375
|
currentVersion: z$1.ZodString;
|
|
369
376
|
recommendedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -1119,6 +1126,10 @@ interface TerminalListItem {
|
|
|
1119
1126
|
/** B-265: `@vh_title_manual` is set — carried into close records so a
|
|
1120
1127
|
* restore can put the flag back (old webs ignore it). */
|
|
1121
1128
|
manual?: boolean;
|
|
1129
|
+
/** B-273: this terminal was opened to attach the user's tmux session of
|
|
1130
|
+
* this NAME (`@vh_attach`). Carried into close records so a manual
|
|
1131
|
+
* restore re-attaches; old webs ignore it. */
|
|
1132
|
+
attachTmux?: string;
|
|
1122
1133
|
}
|
|
1123
1134
|
|
|
1124
1135
|
/**
|
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-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-CrJj-daH.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-
|
|
4
|
+
import { p as pushClipboardViaDaemon } from './index-B87z2DOo.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-
|
|
6
|
+
import { l as logger } from './types-CrJj-daH.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-
|
|
6
|
+
var index = require('./index-Dp1EYEyF.cjs');
|
|
7
7
|
var limits = require('./limits-KdWKmwtH.cjs');
|
|
8
|
-
var persistence = require('./types-
|
|
8
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:crypto');
|
|
@@ -2,10 +2,10 @@ import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
|
2
2
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
|
-
import { l as logger, h as connectionState, A as ApiClient, i as readSettings, e as errorLogMetadata, j as encodeBase64, p as projectPath, d as contentLogMetadata } from './types-
|
|
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-
|
|
7
|
-
import { A as AcpBackend } from './AcpBackend-
|
|
8
|
-
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-
|
|
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-CrJj-daH.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-B87z2DOo.mjs';
|
|
7
|
+
import { A as AcpBackend } from './AcpBackend-C9LtzYSx.mjs';
|
|
8
|
+
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-BcCVR-Wx.mjs';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import 'chalk';
|
|
11
11
|
import 'node:util';
|
|
@@ -4,10 +4,10 @@ var ink = require('ink');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
6
|
var path = require('node:path');
|
|
7
|
-
var persistence = require('./types-
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var AcpBackend = require('./AcpBackend-
|
|
10
|
-
var config = require('./config-
|
|
7
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
8
|
+
var index = require('./index-Dp1EYEyF.cjs');
|
|
9
|
+
var AcpBackend = require('./AcpBackend-DkvV2nhl.cjs');
|
|
10
|
+
var config = require('./config-Bidi0Yeq.cjs');
|
|
11
11
|
require('axios');
|
|
12
12
|
require('chalk');
|
|
13
13
|
require('node:util');
|
|
@@ -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-
|
|
7
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
8
|
-
import { i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, r as registerKillSessionHandler } from './index-
|
|
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-CrJj-daH.mjs';
|
|
7
|
+
import { A as AcpSessionManager } from './AcpSessionManager-B5rJcE82.mjs';
|
|
8
|
+
import { i as initialMachineMetadata, d as createSessionMetadata, e as setupOfflineReconnection, n as notifyDaemonSessionStarted, M as MessageQueue2, r as registerKillSessionHandler } from './index-B87z2DOo.mjs';
|
|
9
9
|
import WebSocket from 'ws';
|
|
10
10
|
import * as ed from '@noble/ed25519';
|
|
11
11
|
import { sha512 } from '@noble/hashes/sha2.js';
|
|
@@ -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-
|
|
9
|
-
var AcpSessionManager = require('./AcpSessionManager-
|
|
10
|
-
var index = require('./index-
|
|
8
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
9
|
+
var AcpSessionManager = require('./AcpSessionManager-gsp_-PGy.cjs');
|
|
10
|
+
var index = require('./index-Dp1EYEyF.cjs');
|
|
11
11
|
var WebSocket = require('ws');
|
|
12
12
|
var ed = require('@noble/ed25519');
|
|
13
13
|
var sha2_js = require('@noble/hashes/sha2.js');
|
|
@@ -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-
|
|
5
|
-
import { b as sendUserMessage, a as sessionWebUrl } from './index-
|
|
4
|
+
import { r as readPersistedSessions, c as configuration } from './types-CrJj-daH.mjs';
|
|
5
|
+
import { b as sendUserMessage, a as sessionWebUrl } from './index-B87z2DOo.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 persistence = require('./types-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var persistence = require('./types-DhxxJFD0.cjs');
|
|
7
|
+
var index = require('./index-Dp1EYEyF.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, 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-
|
|
5
|
-
import { l as logger } from './types-
|
|
4
|
+
import { c as checkIfDaemonRunningAndCleanupStaleState, s as spawnDaemonSession, a as sessionWebUrl, w as waitForSessionKey, b as sendUserMessage } from './index-B87z2DOo.mjs';
|
|
5
|
+
import { l as logger } from './types-CrJj-daH.mjs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:crypto';
|
|
8
8
|
import 'cross-spawn';
|