very-happy-cli 0.2.132 → 0.2.133
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-BNMLGtST.mjs → AcpBackend-BQm7dNza.mjs} +2 -2
- package/dist/{AcpBackend--EnHZRC4.cjs → AcpBackend-DgG8o4jd.cjs} +2 -2
- package/dist/{AcpSessionManager-BF5JZYCC.mjs → AcpSessionManager-C7unPEZO.mjs} +1 -1
- package/dist/{AcpSessionManager-RoOyx5KI.cjs → AcpSessionManager-DDFEmhQp.cjs} +1 -1
- package/dist/{agentGuidance-R9MH5Cd5.cjs → agentGuidance-BItqIZTf.cjs} +1 -1
- package/dist/{agentGuidance-DeOIgOhh.mjs → agentGuidance-BaplwDcV.mjs} +1 -1
- package/dist/codex/happyMcpStdioBridge.cjs +2 -2
- package/dist/codex/happyMcpStdioBridge.mjs +2 -2
- package/dist/{config-ClCkJ1a_.mjs → config-BZ8xEnOv.mjs} +4 -4
- package/dist/{config-CkmssSRu.cjs → config-uLywzv5t.cjs} +4 -4
- package/dist/{index-Dn7s2iaT.cjs → index-6Xm0CgN_.cjs} +71 -34
- package/dist/{index-Bqg6yo5s.cjs → index-CdH3ecC5.cjs} +4 -4
- package/dist/{index-DdbU8FmA.mjs → index-ClCeQ1FW.mjs} +7 -7
- package/dist/{index-DK0qz1y7.mjs → index-D8i2EViA.mjs} +4 -4
- package/dist/{index-CjopZZg3.cjs → index-Daga0ztv.cjs} +6 -6
- package/dist/{index-D1gHXtkw.mjs → index-EsR8ayIg.mjs} +67 -30
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{installTerminalHooks-CPZ3vVn8.cjs → installTerminalHooks-CKG0MYVK.cjs} +4 -4
- package/dist/{installTerminalHooks-CRWWmonO.mjs → installTerminalHooks-NH4kiB2E.mjs} +4 -4
- package/dist/lib.cjs +2 -2
- package/dist/lib.d.cts +9 -0
- package/dist/lib.d.mts +9 -0
- package/dist/lib.mjs +2 -2
- package/dist/{limits-C9aXkP7U.mjs → limits-Du7S6jqA.mjs} +7 -7
- package/dist/{limits-DLlsV71c.cjs → limits-XRNzIlVm.cjs} +7 -7
- package/dist/{mcp-DHkYfENQ.cjs → mcp-CAMCuudA.cjs} +4 -4
- package/dist/{mcp-DkoXvc07.mjs → mcp-D8zhjyZa.mjs} +4 -4
- package/dist/{runGemini-Cx1YcK2o.cjs → runGemini-BIVHp0ST.cjs} +6 -6
- package/dist/{runGemini-BjEl7syj.mjs → runGemini-Db4rX54F.mjs} +6 -6
- package/dist/{runOpenClaw-ByHu69K5.mjs → runOpenClaw-D2MceXPO.mjs} +5 -5
- package/dist/{runOpenClaw-I4sGAQf1.cjs → runOpenClaw-a0f2pZZp.cjs} +5 -5
- package/dist/{send-CSOeUlQC.mjs → send-1Wjb0lIh.mjs} +4 -4
- package/dist/{send-gH1vJ0iv.cjs → send-DKbumEcg.cjs} +4 -4
- package/dist/{sessions-CP9FlcJ6.mjs → sessions-DXCCRDb5.mjs} +4 -4
- package/dist/{sessions-BBc8L8qf.cjs → sessions-SIFOOlGp.cjs} +4 -4
- package/dist/{spawn-DrQo81MW.mjs → spawn-Bj3W6HR4.mjs} +4 -4
- package/dist/{spawn-Dmfbot5k.cjs → spawn-C-XpSPLX.cjs} +4 -4
- package/dist/{teams-DtXQYmEK.cjs → teams-ChFzXAqr.cjs} +4 -4
- package/dist/{teams-Bbvo1G6y.mjs → teams-CqhFQLVC.mjs} +4 -4
- package/dist/{todo-BAwevRyb.mjs → todo-B0gbQHH8.mjs} +3 -3
- package/dist/{todo-DOi6svw9.cjs → todo-o0clp-_I.cjs} +3 -3
- package/dist/{types-CA-c2NH7.mjs → types-6DrEgHVx.mjs} +6 -1
- package/dist/{types-B15E2OVy.cjs → types-CcjVmS2i.cjs} +7 -2
- package/package.json +7 -7
|
@@ -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, randomBytes, createHash as createHash$1, timingSafeEqual } from 'node:crypto';
|
|
4
|
-
import { j as getProjectPath, g as BUILTIN_TODO_DISCOVERY, p as projectPath, k as initializeSandbox, w as wrapCommand, d as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, h as delay, l as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, m as commandOnPath, n as deriveLocalCliUpdateSummary, o as isClaudeSessionId, q as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials, t as parseExactVersion, u as compareExactVersions, v as extractCompleteLines, x as decideBackfill, y as parseTerminalHookPayload, z as tmuxArgs, C as scrubTmuxClientEnv, D as decideMirrorBinding, E as MIRROR_BACKFILL_LINES_DEFAULT, F as mirrorLineKey, G as mirrorLocalId, H as detectCLIAvailability, J as detectResumeSupport, K as summarizeSpawnSessionForLog, L as shellescape, A as ApiClient, N as fetchCliUpdateState, O as resolveCliUpdateCheckInterval, P as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, i as isValidSessionId, Q as listVhTerminals, T as isValidTerminalId, U as readVhTerminal, V as sendToVhTerminal, W as ContextUsageSchema, X as TITLE_PROMPT_PREFIX, Y as BOARD_ANALYZER_PROMPT_PREFIX, f as connectionState, Z as startOfflineReconnection, c as createEnvelope, _ as CodexAppServerClient } from './types-
|
|
5
|
-
import { z as readDaemonState, l as logger, c as configuration, A as clearDaemonState, B as ensurePrivateDirectory, D as hardenPrivateFile, p as packageJson, g as readSettings, E as readCredentials, s as credentialRelayProblem, i as encodeBase64, F as readSettingsOutcome, G as updateSettings, H as encodeBase64Url, m as decodeBase64, I as writeCredentialsLegacy, J as writeCredentialsDataKey, d as readCredentialsForConfiguredRelay, j as encrypt, r as readPersistedSessions, w as writePrivateFileSync, K as decryptWithDataKey, L as decryptLegacy, M as persistSession, k as decrypt, f as ensurePrivateDirectorySync, N as acquireDaemonLock, O as deletePersistedSessions, P as writeDaemonState, Q as writeSettings, R as releaseDaemonLock, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES, S as clearCredentials, T as clearMachineId, U as SandboxConfigSchema, V as getLatestDaemonLog } from './limits-
|
|
4
|
+
import { j as getProjectPath, g as BUILTIN_TODO_DISCOVERY, p as projectPath, k as initializeSandbox, w as wrapCommand, d as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, h as delay, l as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, m as commandOnPath, n as deriveLocalCliUpdateSummary, o as isClaudeSessionId, q as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials, t as parseExactVersion, u as compareExactVersions, v as extractCompleteLines, x as decideBackfill, y as parseTerminalHookPayload, z as tmuxArgs, C as scrubTmuxClientEnv, D as decideMirrorBinding, E as MIRROR_BACKFILL_LINES_DEFAULT, F as mirrorLineKey, G as mirrorLocalId, H as detectCLIAvailability, J as detectResumeSupport, K as summarizeSpawnSessionForLog, L as shellescape, A as ApiClient, N as fetchCliUpdateState, O as resolveCliUpdateCheckInterval, P as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, i as isValidSessionId, Q as listVhTerminals, T as isValidTerminalId, U as readVhTerminal, V as sendToVhTerminal, W as ContextUsageSchema, X as TITLE_PROMPT_PREFIX, Y as BOARD_ANALYZER_PROMPT_PREFIX, f as connectionState, Z as startOfflineReconnection, c as createEnvelope, _ as CodexAppServerClient } from './types-6DrEgHVx.mjs';
|
|
5
|
+
import { z as readDaemonState, l as logger, c as configuration, A as clearDaemonState, B as ensurePrivateDirectory, D as hardenPrivateFile, p as packageJson, g as readSettings, E as readCredentials, s as credentialRelayProblem, i as encodeBase64, F as readSettingsOutcome, G as updateSettings, H as encodeBase64Url, m as decodeBase64, I as writeCredentialsLegacy, J as writeCredentialsDataKey, d as readCredentialsForConfiguredRelay, j as encrypt, r as readPersistedSessions, w as writePrivateFileSync, K as decryptWithDataKey, L as decryptLegacy, M as persistSession, k as decrypt, f as ensurePrivateDirectorySync, N as acquireDaemonLock, O as deletePersistedSessions, P as writeDaemonState, Q as writeSettings, R as releaseDaemonLock, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES, S as clearCredentials, T as clearMachineId, U as SandboxConfigSchema, V as getLatestDaemonLog } from './limits-Du7S6jqA.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-
|
|
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-BaplwDcV.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';
|
|
@@ -7502,27 +7502,31 @@ function createUpdateController(deps) {
|
|
|
7502
7502
|
let policy = null;
|
|
7503
7503
|
let outcome = null;
|
|
7504
7504
|
let running = false;
|
|
7505
|
+
let manualVersion = null;
|
|
7505
7506
|
let operation = null;
|
|
7506
7507
|
let blocked = false;
|
|
7507
7508
|
let handoverHold;
|
|
7508
7509
|
let lastPublished = "";
|
|
7509
7510
|
const now = deps.now ?? Date.now;
|
|
7511
|
+
function validManualTarget(next, version) {
|
|
7512
|
+
return version === next.recommendedVersion && Number.isFinite(next.checkedAt) && now() - next.checkedAt <= 65 * 6e4 && next.checkedAt <= now() + 6e4 && compareExactVersions(next.currentVersion, version) === -1 && (!next.minimumVersion || [0, 1].includes(compareExactVersions(version, next.minimumVersion) ?? -1));
|
|
7513
|
+
}
|
|
7510
7514
|
function publish(state, version, detail) {
|
|
7511
7515
|
if (!policy) return;
|
|
7512
|
-
const fingerprint = JSON.stringify([policy.checkedAt, state, version, detail]);
|
|
7516
|
+
const fingerprint = JSON.stringify([policy.checkedAt, state, version, detail, manualVersion]);
|
|
7513
7517
|
if (fingerprint === lastPublished) return;
|
|
7514
7518
|
lastPublished = fingerprint;
|
|
7515
|
-
outcome = { state, version, detail, at: now() };
|
|
7516
|
-
deps.publish({ ...policy, retrySupported: !blocked, handoverHold, autoUpdate: outcome });
|
|
7519
|
+
outcome = { state, version, detail, at: now(), ...manualVersion ? { source: "manual" } : {} };
|
|
7520
|
+
deps.publish({ ...policy, retrySupported: !blocked, manualUpdateSupported: !blocked, handoverHold, autoUpdate: outcome });
|
|
7517
7521
|
}
|
|
7518
7522
|
async function evaluate() {
|
|
7519
7523
|
if (!policy || running) return;
|
|
7520
|
-
const target = policy.autoUpdateVersion ?? null;
|
|
7524
|
+
const target = manualVersion ?? policy.autoUpdateVersion ?? null;
|
|
7521
7525
|
if (outcome?.version === target && ["failed", "installed"].includes(outcome.state)) {
|
|
7522
|
-
const fingerprint = JSON.stringify([policy.checkedAt, outcome.state, outcome.version, outcome.detail]);
|
|
7526
|
+
const fingerprint = JSON.stringify([policy.checkedAt, outcome.state, outcome.version, outcome.detail, manualVersion]);
|
|
7523
7527
|
if (fingerprint !== lastPublished) {
|
|
7524
7528
|
lastPublished = fingerprint;
|
|
7525
|
-
deps.publish({ ...policy, retrySupported: !blocked, handoverHold, autoUpdate: outcome });
|
|
7529
|
+
deps.publish({ ...policy, retrySupported: !blocked, manualUpdateSupported: !blocked, handoverHold, autoUpdate: outcome });
|
|
7526
7530
|
}
|
|
7527
7531
|
return;
|
|
7528
7532
|
}
|
|
@@ -7530,7 +7534,7 @@ function createUpdateController(deps) {
|
|
|
7530
7534
|
publish("policy_stale", target);
|
|
7531
7535
|
return;
|
|
7532
7536
|
}
|
|
7533
|
-
if (!await deps.enabled()) {
|
|
7537
|
+
if (!manualVersion && !await deps.enabled()) {
|
|
7534
7538
|
publish("disabled", target);
|
|
7535
7539
|
return;
|
|
7536
7540
|
}
|
|
@@ -7583,6 +7587,7 @@ function createUpdateController(deps) {
|
|
|
7583
7587
|
try {
|
|
7584
7588
|
const next = await deps.policy();
|
|
7585
7589
|
if (!next) return;
|
|
7590
|
+
if (manualVersion && !validManualTarget(next, manualVersion)) manualVersion = null;
|
|
7586
7591
|
policy = next;
|
|
7587
7592
|
await evaluate();
|
|
7588
7593
|
} finally {
|
|
@@ -7597,11 +7602,42 @@ function createUpdateController(deps) {
|
|
|
7597
7602
|
operation = "retry";
|
|
7598
7603
|
try {
|
|
7599
7604
|
const next = await deps.policy();
|
|
7600
|
-
if (!next || next.autoUpdateVersion !== version || now() - next.checkedAt > 65 * 6e4) {
|
|
7605
|
+
if (!next || (manualVersion ? !validManualTarget(next, version) : next.autoUpdateVersion !== version || now() - next.checkedAt > 65 * 6e4)) {
|
|
7601
7606
|
return { error: "update_policy_changed_or_unavailable" };
|
|
7602
7607
|
}
|
|
7603
|
-
if (!await deps.enabled()) return { error: "auto_update_disabled" };
|
|
7608
|
+
if (!manualVersion && !await deps.enabled()) return { error: "auto_update_disabled" };
|
|
7609
|
+
policy = next;
|
|
7610
|
+
outcome = null;
|
|
7611
|
+
handoverHold = null;
|
|
7612
|
+
publish("waiting_idle", version);
|
|
7613
|
+
setTimeout(() => {
|
|
7614
|
+
void tick().catch(() => publish("policy_stale", version));
|
|
7615
|
+
}, 0);
|
|
7616
|
+
return { accepted: true };
|
|
7617
|
+
} finally {
|
|
7618
|
+
operation = null;
|
|
7619
|
+
}
|
|
7620
|
+
}
|
|
7621
|
+
async function request(version) {
|
|
7622
|
+
if (operation || blocked) return { error: blocked ? "manual_recovery_required" : "update_in_progress" };
|
|
7623
|
+
operation = "request";
|
|
7624
|
+
try {
|
|
7625
|
+
const next = await deps.policy();
|
|
7626
|
+
if (next && manualVersion && !validManualTarget(next, manualVersion)) {
|
|
7627
|
+
manualVersion = null;
|
|
7628
|
+
policy = next;
|
|
7629
|
+
publish("policy_stale", null);
|
|
7630
|
+
}
|
|
7631
|
+
if (!next || typeof version !== "string" || !validManualTarget(next, version)) {
|
|
7632
|
+
return { error: "update_policy_changed_or_unavailable" };
|
|
7633
|
+
}
|
|
7634
|
+
if (outcome?.version === version && (outcome.state === "installed" || manualVersion === version && outcome.state === "waiting_idle")) {
|
|
7635
|
+
policy = next;
|
|
7636
|
+
publish(outcome.state, version, outcome.detail);
|
|
7637
|
+
return { accepted: true };
|
|
7638
|
+
}
|
|
7604
7639
|
policy = next;
|
|
7640
|
+
manualVersion = version;
|
|
7605
7641
|
outcome = null;
|
|
7606
7642
|
handoverHold = null;
|
|
7607
7643
|
publish("waiting_idle", version);
|
|
@@ -7624,9 +7660,9 @@ function createUpdateController(deps) {
|
|
|
7624
7660
|
}
|
|
7625
7661
|
function holdHandover(reason) {
|
|
7626
7662
|
handoverHold = { reason, at: now() };
|
|
7627
|
-
publish("failed", policy?.autoUpdateVersion ?? null, "handover_preflight_failed");
|
|
7663
|
+
publish("failed", manualVersion ?? policy?.autoUpdateVersion ?? null, "handover_preflight_failed");
|
|
7628
7664
|
}
|
|
7629
|
-
return { refresh, retry, tick, withHandover, holdHandover, isRunning: () => running };
|
|
7665
|
+
return { refresh, retry, request, tick, withHandover, holdHandover, isRunning: () => running };
|
|
7630
7666
|
}
|
|
7631
7667
|
|
|
7632
7668
|
const CLAUDE_KEYCHAIN_SERVICE_PREFIX = "Claude Code";
|
|
@@ -10923,6 +10959,7 @@ async function startDaemon() {
|
|
|
10923
10959
|
}
|
|
10924
10960
|
});
|
|
10925
10961
|
apiMachine.setCliUpdateRetryHandler(updateController.retry);
|
|
10962
|
+
apiMachine.setCliUpdateRequestHandler(updateController.request);
|
|
10926
10963
|
const refreshCliUpdate = () => updateController.refresh().catch((error) => {
|
|
10927
10964
|
logger.debug("[DAEMON RUN] CLI update policy check failed:", error);
|
|
10928
10965
|
});
|
|
@@ -12111,7 +12148,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
12111
12148
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
12112
12149
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
12113
12150
|
const run = deps.run ?? (async (input) => {
|
|
12114
|
-
const { query } = await import('./index-
|
|
12151
|
+
const { query } = await import('./index-D8i2EViA.mjs');
|
|
12115
12152
|
return runSideQuestion(query, input);
|
|
12116
12153
|
});
|
|
12117
12154
|
const slots = /* @__PURE__ */ new Map();
|
|
@@ -17128,7 +17165,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17128
17165
|
process.exit(0);
|
|
17129
17166
|
} else if (subcommand === "install-terminal-hooks") {
|
|
17130
17167
|
try {
|
|
17131
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-
|
|
17168
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-NH4kiB2E.mjs');
|
|
17132
17169
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
17133
17170
|
if (command.action === "help") {
|
|
17134
17171
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -17145,7 +17182,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17145
17182
|
}
|
|
17146
17183
|
} else if (subcommand === "spawn") {
|
|
17147
17184
|
try {
|
|
17148
|
-
const { handleSpawnCommand } = await import('./spawn-
|
|
17185
|
+
const { handleSpawnCommand } = await import('./spawn-Bj3W6HR4.mjs');
|
|
17149
17186
|
await handleSpawnCommand(args.slice(1));
|
|
17150
17187
|
} catch (error) {
|
|
17151
17188
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17157,7 +17194,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17157
17194
|
return;
|
|
17158
17195
|
} else if (subcommand === "sessions") {
|
|
17159
17196
|
try {
|
|
17160
|
-
const { handleSessionsCommand } = await import('./sessions-
|
|
17197
|
+
const { handleSessionsCommand } = await import('./sessions-DXCCRDb5.mjs');
|
|
17161
17198
|
await handleSessionsCommand(args.slice(1));
|
|
17162
17199
|
} catch (error) {
|
|
17163
17200
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17169,7 +17206,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17169
17206
|
return;
|
|
17170
17207
|
} else if (subcommand === "send") {
|
|
17171
17208
|
try {
|
|
17172
|
-
const { handleSendCommand } = await import('./send-
|
|
17209
|
+
const { handleSendCommand } = await import('./send-1Wjb0lIh.mjs');
|
|
17173
17210
|
await handleSendCommand(args.slice(1));
|
|
17174
17211
|
} catch (error) {
|
|
17175
17212
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17275,9 +17312,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17275
17312
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
17276
17313
|
const projectId = args[3];
|
|
17277
17314
|
try {
|
|
17278
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
17279
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-
|
|
17280
|
-
const { ApiClient: ApiClient2 } = await import('./types-
|
|
17315
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-BZ8xEnOv.mjs');
|
|
17316
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-Du7S6jqA.mjs').then(function (n) { return n.W; });
|
|
17317
|
+
const { ApiClient: ApiClient2 } = await import('./types-6DrEgHVx.mjs').then(function (n) { return n.$; });
|
|
17281
17318
|
let userEmail = void 0;
|
|
17282
17319
|
try {
|
|
17283
17320
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -17308,7 +17345,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17308
17345
|
}
|
|
17309
17346
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
17310
17347
|
try {
|
|
17311
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
17348
|
+
const { readGeminiLocalConfig } = await import('./config-BZ8xEnOv.mjs');
|
|
17312
17349
|
const config = readGeminiLocalConfig();
|
|
17313
17350
|
if (config.googleCloudProject) {
|
|
17314
17351
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -17348,7 +17385,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17348
17385
|
process.exit(0);
|
|
17349
17386
|
}
|
|
17350
17387
|
try {
|
|
17351
|
-
const { runGemini } = await import('./runGemini-
|
|
17388
|
+
const { runGemini } = await import('./runGemini-Db4rX54F.mjs');
|
|
17352
17389
|
let startedBy = void 0;
|
|
17353
17390
|
for (let i = 1; i < args.length; i++) {
|
|
17354
17391
|
if (args[i] === "--started-by") {
|
|
@@ -17378,7 +17415,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17378
17415
|
}
|
|
17379
17416
|
};
|
|
17380
17417
|
try {
|
|
17381
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
17418
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-ClCeQ1FW.mjs');
|
|
17382
17419
|
const parsed = parsePiRunnerArgs(args.slice(1));
|
|
17383
17420
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
17384
17421
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
@@ -17406,7 +17443,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17406
17443
|
return;
|
|
17407
17444
|
} else if (subcommand === "acp") {
|
|
17408
17445
|
try {
|
|
17409
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
17446
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-ClCeQ1FW.mjs');
|
|
17410
17447
|
let startedBy = void 0;
|
|
17411
17448
|
let verbose = false;
|
|
17412
17449
|
const acpArgs = [];
|
|
@@ -17446,7 +17483,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17446
17483
|
return;
|
|
17447
17484
|
} else if (subcommand === "openclaw") {
|
|
17448
17485
|
try {
|
|
17449
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
17486
|
+
const { runOpenClaw } = await import('./runOpenClaw-D2MceXPO.mjs');
|
|
17450
17487
|
let startedBy = void 0;
|
|
17451
17488
|
let verbose = false;
|
|
17452
17489
|
let gatewayUrl;
|
|
@@ -17497,7 +17534,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17497
17534
|
return;
|
|
17498
17535
|
} else if (subcommand === "todo") {
|
|
17499
17536
|
try {
|
|
17500
|
-
const { handleTodoCommand } = await import('./todo-
|
|
17537
|
+
const { handleTodoCommand } = await import('./todo-B0gbQHH8.mjs');
|
|
17501
17538
|
await handleTodoCommand(args.slice(1));
|
|
17502
17539
|
} catch (error) {
|
|
17503
17540
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -17506,7 +17543,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17506
17543
|
return;
|
|
17507
17544
|
} else if (subcommand === "teams") {
|
|
17508
17545
|
try {
|
|
17509
|
-
const { handleTeamsCommand } = await import('./teams-
|
|
17546
|
+
const { handleTeamsCommand } = await import('./teams-CqhFQLVC.mjs');
|
|
17510
17547
|
await handleTeamsCommand(args.slice(1));
|
|
17511
17548
|
} catch (error) {
|
|
17512
17549
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -17515,7 +17552,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17515
17552
|
return;
|
|
17516
17553
|
} else if (subcommand === "mcp" && args.length === 1) {
|
|
17517
17554
|
try {
|
|
17518
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
17555
|
+
const { handleMcpCommand } = await import('./mcp-D8zhjyZa.mjs');
|
|
17519
17556
|
await handleMcpCommand();
|
|
17520
17557
|
} catch (error) {
|
|
17521
17558
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('chalk');
|
|
4
|
-
require('./index-
|
|
5
|
-
require('./limits-
|
|
4
|
+
require('./index-6Xm0CgN_.cjs');
|
|
5
|
+
require('./limits-XRNzIlVm.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('./types-
|
|
7
|
+
require('./types-CcjVmS2i.cjs');
|
|
8
8
|
require('node:child_process');
|
|
9
9
|
require('node:os');
|
|
10
10
|
require('node:crypto');
|
|
@@ -12,7 +12,7 @@ require('cross-spawn');
|
|
|
12
12
|
require('node:path');
|
|
13
13
|
require('node:readline');
|
|
14
14
|
require('node:fs');
|
|
15
|
-
require('./agentGuidance-
|
|
15
|
+
require('./agentGuidance-BItqIZTf.cjs');
|
|
16
16
|
require('node:fs/promises');
|
|
17
17
|
require('fs/promises');
|
|
18
18
|
require('ink');
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'chalk';
|
|
2
|
-
import './index-
|
|
3
|
-
import './limits-
|
|
2
|
+
import './index-EsR8ayIg.mjs';
|
|
3
|
+
import './limits-Du7S6jqA.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-6DrEgHVx.mjs';
|
|
6
6
|
import 'node:child_process';
|
|
7
7
|
import 'node:os';
|
|
8
8
|
import 'node:crypto';
|
|
@@ -10,7 +10,7 @@ import 'cross-spawn';
|
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import 'node:readline';
|
|
12
12
|
import 'node:fs';
|
|
13
|
-
import './agentGuidance-
|
|
13
|
+
import './agentGuidance-BaplwDcV.mjs';
|
|
14
14
|
import 'node:fs/promises';
|
|
15
15
|
import 'fs/promises';
|
|
16
16
|
import 'ink';
|
|
@@ -5,10 +5,10 @@ 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 api = require('./types-
|
|
9
|
-
var index = require('./index-
|
|
8
|
+
var api = require('./types-CcjVmS2i.cjs');
|
|
9
|
+
var index = require('./index-6Xm0CgN_.cjs');
|
|
10
10
|
require('axios');
|
|
11
|
-
require('./limits-
|
|
11
|
+
require('./limits-XRNzIlVm.cjs');
|
|
12
12
|
require('node:fs/promises');
|
|
13
13
|
require('zod');
|
|
14
14
|
require('node:crypto');
|
|
@@ -30,7 +30,7 @@ require('fs');
|
|
|
30
30
|
require('node:readline');
|
|
31
31
|
require('@anthropic-ai/sandbox-runtime');
|
|
32
32
|
require('expo-server-sdk');
|
|
33
|
-
require('./agentGuidance-
|
|
33
|
+
require('./agentGuidance-BItqIZTf.cjs');
|
|
34
34
|
require('ink');
|
|
35
35
|
require('react');
|
|
36
36
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -3,10 +3,10 @@ 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-6DrEgHVx.mjs';
|
|
7
|
+
import { t as tmuxSupportsSessionEnv } from './index-EsR8ayIg.mjs';
|
|
8
8
|
import 'axios';
|
|
9
|
-
import './limits-
|
|
9
|
+
import './limits-Du7S6jqA.mjs';
|
|
10
10
|
import 'node:fs/promises';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'node:crypto';
|
|
@@ -28,7 +28,7 @@ import 'fs';
|
|
|
28
28
|
import 'node:readline';
|
|
29
29
|
import '@anthropic-ai/sandbox-runtime';
|
|
30
30
|
import 'expo-server-sdk';
|
|
31
|
-
import './agentGuidance-
|
|
31
|
+
import './agentGuidance-BaplwDcV.mjs';
|
|
32
32
|
import 'ink';
|
|
33
33
|
import 'react';
|
|
34
34
|
import '@anthropic-ai/claude-agent-sdk';
|
package/dist/lib.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var api = require('./types-
|
|
4
|
-
var persistence = require('./limits-
|
|
3
|
+
var api = require('./types-CcjVmS2i.cjs');
|
|
4
|
+
var persistence = require('./limits-XRNzIlVm.cjs');
|
|
5
5
|
require('axios');
|
|
6
6
|
require('node:events');
|
|
7
7
|
require('socket.io-client');
|
package/dist/lib.d.cts
CHANGED
|
@@ -355,12 +355,14 @@ declare const CliUpdateStateSchema: z$1.ZodObject<{
|
|
|
355
355
|
}>;
|
|
356
356
|
autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
357
357
|
retrySupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
358
|
+
manualUpdateSupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
358
359
|
checkedAt: z$1.ZodNumber;
|
|
359
360
|
handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
360
361
|
reason: z$1.ZodString;
|
|
361
362
|
at: z$1.ZodNumber;
|
|
362
363
|
}, z$1.core.$strip>>>;
|
|
363
364
|
autoUpdate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
365
|
+
source: z$1.ZodOptional<z$1.ZodString>;
|
|
364
366
|
state: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
365
367
|
installing: "installing";
|
|
366
368
|
installed: "installed";
|
|
@@ -451,12 +453,14 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
451
453
|
}>;
|
|
452
454
|
autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
453
455
|
retrySupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
456
|
+
manualUpdateSupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
454
457
|
checkedAt: z$1.ZodNumber;
|
|
455
458
|
handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
456
459
|
reason: z$1.ZodString;
|
|
457
460
|
at: z$1.ZodNumber;
|
|
458
461
|
}, z$1.core.$strip>>>;
|
|
459
462
|
autoUpdate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
463
|
+
source: z$1.ZodOptional<z$1.ZodString>;
|
|
460
464
|
state: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
461
465
|
installing: "installing";
|
|
462
466
|
installed: "installed";
|
|
@@ -1386,6 +1390,11 @@ declare class ApiMachineClient {
|
|
|
1386
1390
|
* and the open-terminal snapshot/replay payloads. */
|
|
1387
1391
|
private encTerminalData;
|
|
1388
1392
|
constructor(token: string, machine: Machine);
|
|
1393
|
+
setCliUpdateRequestHandler(handler: (version: unknown) => Promise<{
|
|
1394
|
+
accepted: true;
|
|
1395
|
+
} | {
|
|
1396
|
+
error: string;
|
|
1397
|
+
}>): void;
|
|
1389
1398
|
setCliUpdateRetryHandler(handler: (version: unknown) => Promise<{
|
|
1390
1399
|
accepted: true;
|
|
1391
1400
|
} | {
|
package/dist/lib.d.mts
CHANGED
|
@@ -355,12 +355,14 @@ declare const CliUpdateStateSchema: z$1.ZodObject<{
|
|
|
355
355
|
}>;
|
|
356
356
|
autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
357
357
|
retrySupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
358
|
+
manualUpdateSupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
358
359
|
checkedAt: z$1.ZodNumber;
|
|
359
360
|
handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
360
361
|
reason: z$1.ZodString;
|
|
361
362
|
at: z$1.ZodNumber;
|
|
362
363
|
}, z$1.core.$strip>>>;
|
|
363
364
|
autoUpdate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
365
|
+
source: z$1.ZodOptional<z$1.ZodString>;
|
|
364
366
|
state: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
365
367
|
installing: "installing";
|
|
366
368
|
installed: "installed";
|
|
@@ -451,12 +453,14 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
451
453
|
}>;
|
|
452
454
|
autoUpdateVersion: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
453
455
|
retrySupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
456
|
+
manualUpdateSupported: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
454
457
|
checkedAt: z$1.ZodNumber;
|
|
455
458
|
handoverHold: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
456
459
|
reason: z$1.ZodString;
|
|
457
460
|
at: z$1.ZodNumber;
|
|
458
461
|
}, z$1.core.$strip>>>;
|
|
459
462
|
autoUpdate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
463
|
+
source: z$1.ZodOptional<z$1.ZodString>;
|
|
460
464
|
state: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
461
465
|
installing: "installing";
|
|
462
466
|
installed: "installed";
|
|
@@ -1386,6 +1390,11 @@ declare class ApiMachineClient {
|
|
|
1386
1390
|
* and the open-terminal snapshot/replay payloads. */
|
|
1387
1391
|
private encTerminalData;
|
|
1388
1392
|
constructor(token: string, machine: Machine);
|
|
1393
|
+
setCliUpdateRequestHandler(handler: (version: unknown) => Promise<{
|
|
1394
|
+
accepted: true;
|
|
1395
|
+
} | {
|
|
1396
|
+
error: string;
|
|
1397
|
+
}>): void;
|
|
1389
1398
|
setCliUpdateRetryHandler(handler: (version: unknown) => Promise<{
|
|
1390
1399
|
accepted: true;
|
|
1391
1400
|
} | {
|
package/dist/lib.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema } from './types-
|
|
2
|
-
export { c as configuration, l as logger } from './limits-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema } from './types-6DrEgHVx.mjs';
|
|
2
|
+
export { c as configuration, l as logger } from './limits-Du7S6jqA.mjs';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import 'node:events';
|
|
5
5
|
import 'socket.io-client';
|
|
@@ -9,7 +9,7 @@ import chalk from 'chalk';
|
|
|
9
9
|
import { inspect } from 'node:util';
|
|
10
10
|
|
|
11
11
|
var name = "very-happy-cli";
|
|
12
|
-
var version = "0.2.
|
|
12
|
+
var version = "0.2.133";
|
|
13
13
|
var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
|
|
14
14
|
var author = "Kirill Dubovitskiy";
|
|
15
15
|
var contributors = [
|
|
@@ -122,12 +122,12 @@ var dependencies = {
|
|
|
122
122
|
zod: "^4.0.0"
|
|
123
123
|
};
|
|
124
124
|
var optionalDependencies = {
|
|
125
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
126
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
127
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
128
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
129
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
130
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
125
|
+
"very-happy-tools-arm64-darwin": "0.2.133",
|
|
126
|
+
"very-happy-tools-x64-darwin": "0.2.133",
|
|
127
|
+
"very-happy-tools-arm64-linux": "0.2.133",
|
|
128
|
+
"very-happy-tools-x64-linux": "0.2.133",
|
|
129
|
+
"very-happy-tools-arm64-win32": "0.2.133",
|
|
130
|
+
"very-happy-tools-x64-win32": "0.2.133"
|
|
131
131
|
};
|
|
132
132
|
var devDependencies = {
|
|
133
133
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -30,7 +30,7 @@ function _interopNamespaceDefault(e) {
|
|
|
30
30
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
31
31
|
|
|
32
32
|
var name = "very-happy-cli";
|
|
33
|
-
var version = "0.2.
|
|
33
|
+
var version = "0.2.133";
|
|
34
34
|
var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
|
|
35
35
|
var author = "Kirill Dubovitskiy";
|
|
36
36
|
var contributors = [
|
|
@@ -143,12 +143,12 @@ var dependencies = {
|
|
|
143
143
|
zod: "^4.0.0"
|
|
144
144
|
};
|
|
145
145
|
var optionalDependencies = {
|
|
146
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
147
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
148
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
149
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
150
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
151
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
146
|
+
"very-happy-tools-arm64-darwin": "0.2.133",
|
|
147
|
+
"very-happy-tools-x64-darwin": "0.2.133",
|
|
148
|
+
"very-happy-tools-arm64-linux": "0.2.133",
|
|
149
|
+
"very-happy-tools-x64-linux": "0.2.133",
|
|
150
|
+
"very-happy-tools-arm64-win32": "0.2.133",
|
|
151
|
+
"very-happy-tools-x64-win32": "0.2.133"
|
|
152
152
|
};
|
|
153
153
|
var devDependencies = {
|
|
154
154
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var agentGuidance = require('./agentGuidance-
|
|
3
|
+
var agentGuidance = require('./agentGuidance-BItqIZTf.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 z = require('zod');
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var persistence = require('./limits-
|
|
7
|
+
var index = require('./index-6Xm0CgN_.cjs');
|
|
8
|
+
var persistence = require('./limits-XRNzIlVm.cjs');
|
|
9
9
|
require('node:fs/promises');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:crypto');
|
|
@@ -13,7 +13,7 @@ require('axios');
|
|
|
13
13
|
require('tweetnacl');
|
|
14
14
|
require('socket.io-client');
|
|
15
15
|
require('node:child_process');
|
|
16
|
-
require('./types-
|
|
16
|
+
require('./types-CcjVmS2i.cjs');
|
|
17
17
|
require('node:fs');
|
|
18
18
|
require('node:path');
|
|
19
19
|
require('chalk');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerTeamsTools } from './agentGuidance-
|
|
1
|
+
import { r as registerTeamsTools } from './agentGuidance-BaplwDcV.mjs';
|
|
2
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
3
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { p as pushClipboardViaDaemon, k as setTerminalTitleViaDaemon, m as registerAssistantSessionTools } from './index-
|
|
6
|
-
import { l as logger, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES } from './limits-
|
|
5
|
+
import { p as pushClipboardViaDaemon, k as setTerminalTitleViaDaemon, m as registerAssistantSessionTools } from './index-EsR8ayIg.mjs';
|
|
6
|
+
import { l as logger, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES } from './limits-Du7S6jqA.mjs';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'node:crypto';
|
|
@@ -11,7 +11,7 @@ import 'axios';
|
|
|
11
11
|
import 'tweetnacl';
|
|
12
12
|
import 'socket.io-client';
|
|
13
13
|
import 'node:child_process';
|
|
14
|
-
import './types-
|
|
14
|
+
import './types-6DrEgHVx.mjs';
|
|
15
15
|
import 'node:fs';
|
|
16
16
|
import 'node:path';
|
|
17
17
|
import 'chalk';
|
|
@@ -4,11 +4,11 @@ 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 api = require('./types-
|
|
8
|
-
var persistence = require('./limits-
|
|
9
|
-
var index = require('./index-
|
|
10
|
-
var AcpBackend = require('./AcpBackend
|
|
11
|
-
var config = require('./config-
|
|
7
|
+
var api = require('./types-CcjVmS2i.cjs');
|
|
8
|
+
var persistence = require('./limits-XRNzIlVm.cjs');
|
|
9
|
+
var index = require('./index-6Xm0CgN_.cjs');
|
|
10
|
+
var AcpBackend = require('./AcpBackend-DgG8o4jd.cjs');
|
|
11
|
+
var config = require('./config-uLywzv5t.cjs');
|
|
12
12
|
require('axios');
|
|
13
13
|
require('node:events');
|
|
14
14
|
require('socket.io-client');
|
|
@@ -34,7 +34,7 @@ require('@anthropic-ai/sandbox-runtime');
|
|
|
34
34
|
require('expo-server-sdk');
|
|
35
35
|
require('chalk');
|
|
36
36
|
require('node:util');
|
|
37
|
-
require('./agentGuidance-
|
|
37
|
+
require('./agentGuidance-BItqIZTf.cjs');
|
|
38
38
|
require('@anthropic-ai/claude-agent-sdk');
|
|
39
39
|
require('ps-list');
|
|
40
40
|
require('tmp');
|
|
@@ -2,11 +2,11 @@ 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 { f as connectionState, A as ApiClient, e as errorLogMetadata, p as projectPath, d as contentLogMetadata } from './types-
|
|
6
|
-
import { l as logger, g as readSettings, i as encodeBase64 } from './limits-
|
|
7
|
-
import { Q as GEMINI_API_KEY_ENV, R as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, K as BasePermissionHandler, U as BaseReasoningProcessor, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, B as hashObject, V as MessageBuffer, W as CHANGE_TITLE_INSTRUCTION, y as registerKillSessionHandler, C as startHappyServer } from './index-
|
|
8
|
-
import { A as AcpBackend } from './AcpBackend-
|
|
9
|
-
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-
|
|
5
|
+
import { f as connectionState, A as ApiClient, e as errorLogMetadata, p as projectPath, d as contentLogMetadata } from './types-6DrEgHVx.mjs';
|
|
6
|
+
import { l as logger, g as readSettings, i as encodeBase64 } from './limits-Du7S6jqA.mjs';
|
|
7
|
+
import { Q as GEMINI_API_KEY_ENV, R as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, K as BasePermissionHandler, U as BaseReasoningProcessor, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, B as hashObject, V as MessageBuffer, W as CHANGE_TITLE_INSTRUCTION, y as registerKillSessionHandler, C as startHappyServer } from './index-EsR8ayIg.mjs';
|
|
8
|
+
import { A as AcpBackend } from './AcpBackend-BQm7dNza.mjs';
|
|
9
|
+
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-BZ8xEnOv.mjs';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import 'node:events';
|
|
12
12
|
import 'socket.io-client';
|
|
@@ -32,7 +32,7 @@ import '@anthropic-ai/sandbox-runtime';
|
|
|
32
32
|
import 'expo-server-sdk';
|
|
33
33
|
import 'chalk';
|
|
34
34
|
import 'node:util';
|
|
35
|
-
import './agentGuidance-
|
|
35
|
+
import './agentGuidance-BaplwDcV.mjs';
|
|
36
36
|
import '@anthropic-ai/claude-agent-sdk';
|
|
37
37
|
import 'ps-list';
|
|
38
38
|
import 'tmp';
|