very-happy-cli 0.2.147 → 0.2.148
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-DYAbnvv0.cjs → AcpBackend-BrM-mcjR.cjs} +2 -2
- package/dist/{AcpBackend-CtoDlI4b.mjs → AcpBackend-CrcdMnL6.mjs} +2 -2
- package/dist/{AcpSessionManager-Cn2214Af.cjs → AcpSessionManager-CKhv-rBo.cjs} +1 -1
- package/dist/{AcpSessionManager-BHnqkhBf.mjs → AcpSessionManager-DIafxIVU.mjs} +1 -1
- package/dist/{agentGuidance-CK792QWi.mjs → agentGuidance-CR7rOQUF.mjs} +1 -1
- package/dist/{agentGuidance-FDBKJgGC.cjs → agentGuidance-gzl2qRkG.cjs} +1 -1
- package/dist/{agentHome-Cj4LYQV-.mjs → agentHome-CQrd95jc.mjs} +2 -2
- package/dist/{agentHome-z_h7cVnq.cjs → agentHome-Qh6SWyHx.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +2 -2
- package/dist/codex/happyMcpStdioBridge.mjs +2 -2
- package/dist/{config-C1ysAgX3.cjs → config-CFSD65_X.cjs} +4 -4
- package/dist/{config-CVvEoSGv.mjs → config-DkCS4663.mjs} +4 -4
- package/dist/{index-CXc3BQNG.cjs → index-C1OeYxxj.cjs} +27 -27
- package/dist/{index-EH6Pjsic.mjs → index-C4JoaSCO.mjs} +8 -8
- package/dist/{index-C1QWpPoB.cjs → index-C_hZVtR-.cjs} +4 -4
- package/dist/{index-B7UauKjp.mjs → index-Cobfu9V_.mjs} +23 -23
- package/dist/{index-DUw34UHh.mjs → index-eLVXOce3.mjs} +4 -4
- package/dist/{index-DhcgPLDK.cjs → index-x5-N7ElS.cjs} +7 -7
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{installTerminalHooks-BMpt_X5L.cjs → installTerminalHooks-CuqhiAo9.cjs} +4 -4
- package/dist/{installTerminalHooks-AUERBJd4.mjs → installTerminalHooks-D9pIHXxU.mjs} +4 -4
- package/dist/lib.cjs +2 -2
- package/dist/lib.d.cts +10 -0
- package/dist/lib.d.mts +10 -0
- package/dist/lib.mjs +2 -2
- package/dist/{limits-Dh0u29C4.mjs → limits-BfYfA7tt.mjs} +7 -7
- package/dist/{limits-WZLbGgEg.cjs → limits-D364Cpe3.cjs} +7 -7
- package/dist/{mcp-D-Crar0K.cjs → mcp-B5ojE8_m.cjs} +4 -4
- package/dist/{mcp-3lcIERfY.mjs → mcp-DTXsdDwc.mjs} +4 -4
- package/dist/{piRuntime-dQ6fN-W9.mjs → piRuntime-BWEgqBHm.mjs} +2 -2
- package/dist/{piRuntime-Dkk0SGGN.cjs → piRuntime-CbSaG74b.cjs} +2 -2
- package/dist/{piTerminal-C1gXyJA1.cjs → piTerminal-Bzremid-.cjs} +6 -6
- package/dist/{piTerminal-YoY7Z7sP.mjs → piTerminal-CnS3TF7M.mjs} +6 -6
- package/dist/{runGemini-D2Hr4-Xz.mjs → runGemini-C13-aRss.mjs} +6 -6
- package/dist/{runGemini-Cj284Qhk.cjs → runGemini-Ci6ULPA7.cjs} +6 -6
- package/dist/{runOpenClaw-USGbHPm-.cjs → runOpenClaw-D2DW9Umc.cjs} +5 -5
- package/dist/{runOpenClaw-0tleKtRj.mjs → runOpenClaw-D4ABejEy.mjs} +5 -5
- package/dist/{send-Bt9iWhWx.cjs → send-1hJXKzeP.cjs} +4 -4
- package/dist/{send-vmjOSMYO.mjs → send-D-9_jOIS.mjs} +4 -4
- package/dist/{sessions-BeqWzIdm.mjs → sessions-C9VwpMKY.mjs} +4 -4
- package/dist/{sessions-lzuQguqk.cjs → sessions-DOrymTYB.cjs} +4 -4
- package/dist/{spawn-B9kfeZZL.cjs → spawn-B1IlltVe.cjs} +4 -4
- package/dist/{spawn-13v957Zv.mjs → spawn-C4uID9JX.mjs} +4 -4
- package/dist/{teams-BkFamplo.mjs → teams-CCv46ebr.mjs} +4 -4
- package/dist/{teams-DQ1pAIhZ.cjs → teams-xIRGgxwJ.cjs} +4 -4
- package/dist/{todo-CxQEUY9J.mjs → todo-5QemH15n.mjs} +3 -3
- package/dist/{todo-Ba0Wpu2G.cjs → todo-DrsOEfYU.cjs} +3 -3
- package/dist/{types-DFYgWw3-.mjs → types-CXF6tULJ.mjs} +113 -7
- package/dist/{types-CGACQD3M.cjs → types-IU5nGuaQ.cjs} +113 -7
- package/package.json +7 -7
|
@@ -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-
|
|
7
|
-
var index = require('./types-
|
|
6
|
+
var persistence = require('./limits-D364Cpe3.cjs');
|
|
7
|
+
var index = require('./types-IU5nGuaQ.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,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-
|
|
5
|
-
import { t as contentLogMetadata, q as errorLogMetadata, u as delay } from './types-
|
|
4
|
+
import { l as logger, p as packageJson } from './limits-BfYfA7tt.mjs';
|
|
5
|
+
import { t as contentLogMetadata, q as errorLogMetadata, u as delay } from './types-CXF6tULJ.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) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createId } from '@paralleldrive/cuid2';
|
|
2
|
-
import { f as streamKeyOf, g as createEnvelope } from './types-
|
|
2
|
+
import { f as streamKeyOf, g as createEnvelope } from './types-CXF6tULJ.mjs';
|
|
3
3
|
|
|
4
4
|
function turnOptions(turnId, time) {
|
|
5
5
|
return turnId ? { turn: turnId, time } : { time };
|
|
@@ -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, r as readSettings, d as readPersistedSessions, e as readCredentialsForConfiguredRelay } from './limits-
|
|
3
|
+
import { n as normalizeHttpEndpoint, c as configuration, r as readSettings, d as readPersistedSessions, e as readCredentialsForConfiguredRelay } from './limits-BfYfA7tt.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';
|
|
@@ -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-
|
|
5
|
+
var persistence = require('./limits-D364Cpe3.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,8 +1,8 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
|
-
import { r as readSettings, u as updateSettings } from './limits-
|
|
3
|
+
import { r as readSettings, u as updateSettings } from './limits-BfYfA7tt.mjs';
|
|
4
4
|
import 'node:fs';
|
|
5
|
-
import { d as describeAgentHome, p as probeLoginShellEnv, r as resolveAgentHomes, e as expandHomePath, b as AGENT_HOME_ENV_NAMES } from './types-
|
|
5
|
+
import { d as describeAgentHome, p as probeLoginShellEnv, r as resolveAgentHomes, e as expandHomePath, b as AGENT_HOME_ENV_NAMES } from './types-CXF6tULJ.mjs';
|
|
6
6
|
import 'node:fs/promises';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'zod';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('node:os');
|
|
5
|
-
var persistence = require('./limits-
|
|
5
|
+
var persistence = require('./limits-D364Cpe3.cjs');
|
|
6
6
|
require('node:fs');
|
|
7
|
-
var index = require('./types-
|
|
7
|
+
var index = require('./types-IU5nGuaQ.cjs');
|
|
8
8
|
require('node:fs/promises');
|
|
9
9
|
require('node:path');
|
|
10
10
|
require('zod');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var agentGuidance = require('../agentGuidance-
|
|
3
|
+
var agentGuidance = require('../agentGuidance-gzl2qRkG.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-
|
|
9
|
+
var persistence = require('../limits-D364Cpe3.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-
|
|
1
|
+
import { P as PREVIEW_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, r as registerTeamsTools } from '../agentGuidance-CR7rOQUF.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-
|
|
7
|
+
import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION } from '../limits-BfYfA7tt.mjs';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'node:fs';
|
|
@@ -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-
|
|
8
|
-
var index = require('./index-
|
|
7
|
+
var persistence = require('./limits-D364Cpe3.cjs');
|
|
8
|
+
var index = require('./index-C1OeYxxj.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-
|
|
18
|
+
require('./types-IU5nGuaQ.cjs');
|
|
19
19
|
require('axios');
|
|
20
20
|
require('node:events');
|
|
21
21
|
require('socket.io-client');
|
|
@@ -31,7 +31,7 @@ require('node-pty');
|
|
|
31
31
|
require('node:readline');
|
|
32
32
|
require('@anthropic-ai/sandbox-runtime');
|
|
33
33
|
require('expo-server-sdk');
|
|
34
|
-
require('./agentGuidance-
|
|
34
|
+
require('./agentGuidance-gzl2qRkG.cjs');
|
|
35
35
|
require('ink');
|
|
36
36
|
require('react');
|
|
37
37
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -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-
|
|
6
|
-
import { g as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-
|
|
5
|
+
import { l as logger } from './limits-BfYfA7tt.mjs';
|
|
6
|
+
import { g as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-Cobfu9V_.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-
|
|
16
|
+
import './types-CXF6tULJ.mjs';
|
|
17
17
|
import 'axios';
|
|
18
18
|
import 'node:events';
|
|
19
19
|
import 'socket.io-client';
|
|
@@ -29,7 +29,7 @@ import 'node-pty';
|
|
|
29
29
|
import 'node:readline';
|
|
30
30
|
import '@anthropic-ai/sandbox-runtime';
|
|
31
31
|
import 'expo-server-sdk';
|
|
32
|
-
import './agentGuidance-
|
|
32
|
+
import './agentGuidance-CR7rOQUF.mjs';
|
|
33
33
|
import 'ink';
|
|
34
34
|
import 'react';
|
|
35
35
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var index = require('./types-
|
|
7
|
-
var persistence = require('./limits-
|
|
6
|
+
var index = require('./types-IU5nGuaQ.cjs');
|
|
7
|
+
var persistence = require('./limits-D364Cpe3.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
12
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
13
|
-
var agentGuidance = require('./agentGuidance-
|
|
13
|
+
var agentGuidance = require('./agentGuidance-gzl2qRkG.cjs');
|
|
14
14
|
var promises = require('node:fs/promises');
|
|
15
15
|
var fs = require('fs/promises');
|
|
16
16
|
var ink = require('ink');
|
|
@@ -5335,8 +5335,8 @@ ${typeLabels[type] || type}:`));
|
|
|
5335
5335
|
}
|
|
5336
5336
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
5337
5337
|
try {
|
|
5338
|
-
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
5339
|
-
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./types-
|
|
5338
|
+
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-Qh6SWyHx.cjs'); });
|
|
5339
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./types-IU5nGuaQ.cjs'); }).then(function (n) { return n.index; });
|
|
5340
5340
|
const homes = await resolveAgentHomesForCli();
|
|
5341
5341
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
5342
5342
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -8016,7 +8016,7 @@ function parseJsonObject(text) {
|
|
|
8016
8016
|
return null;
|
|
8017
8017
|
}
|
|
8018
8018
|
}
|
|
8019
|
-
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-
|
|
8019
|
+
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-C1OeYxxj.cjs', document.baseURI).href))).resolve(s)) {
|
|
8020
8020
|
const platformArch = `${platform}-${arch}`;
|
|
8021
8021
|
const candidates = [
|
|
8022
8022
|
`@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
|
|
@@ -12492,7 +12492,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
12492
12492
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
12493
12493
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
12494
12494
|
const fork = deps.run ?? (async (input) => {
|
|
12495
|
-
const { query } = await Promise.resolve().then(function () { return require('./index-
|
|
12495
|
+
const { query } = await Promise.resolve().then(function () { return require('./index-C_hZVtR-.cjs'); });
|
|
12496
12496
|
return runSideQuestion(query, input);
|
|
12497
12497
|
});
|
|
12498
12498
|
const run = async (input, live) => {
|
|
@@ -12611,7 +12611,7 @@ const MAX_TITLE_CHARS = 60;
|
|
|
12611
12611
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
12612
12612
|
function resolveClaudeBinary() {
|
|
12613
12613
|
try {
|
|
12614
|
-
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-
|
|
12614
|
+
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-C1OeYxxj.cjs', document.baseURI).href)));
|
|
12615
12615
|
const utilsPath = path.resolve(path.join(projectPath.projectPath(), "scripts", "claude_version_utils.cjs"));
|
|
12616
12616
|
const { getClaudeCliPath } = require$1(utilsPath);
|
|
12617
12617
|
const path$1 = getClaudeCliPath();
|
|
@@ -14840,9 +14840,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
|
|
|
14840
14840
|
};
|
|
14841
14841
|
}
|
|
14842
14842
|
|
|
14843
|
-
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-
|
|
14843
|
+
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-C1OeYxxj.cjs', document.baseURI).href)));
|
|
14844
14844
|
const __dirname$1 = path.dirname(__filename$1);
|
|
14845
|
-
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
14845
|
+
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-C1OeYxxj.cjs', document.baseURI).href)));
|
|
14846
14846
|
const PRISMA_QUERY_ENGINE_FILES = {
|
|
14847
14847
|
"arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
|
|
14848
14848
|
"x64-darwin": "libquery_engine-darwin.dylib.node",
|
|
@@ -17757,7 +17757,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17757
17757
|
return;
|
|
17758
17758
|
} else if (subcommand === "install-terminal-hooks") {
|
|
17759
17759
|
try {
|
|
17760
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-
|
|
17760
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-CuqhiAo9.cjs'); });
|
|
17761
17761
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
17762
17762
|
if (command.action === "help") {
|
|
17763
17763
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -17774,7 +17774,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17774
17774
|
}
|
|
17775
17775
|
} else if (subcommand === "agent-home") {
|
|
17776
17776
|
try {
|
|
17777
|
-
const { parseAgentHomeArgs, runAgentHomeCommand } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
17777
|
+
const { parseAgentHomeArgs, runAgentHomeCommand } = await Promise.resolve().then(function () { return require('./agentHome-Qh6SWyHx.cjs'); });
|
|
17778
17778
|
await runAgentHomeCommand(parseAgentHomeArgs(args.slice(1)));
|
|
17779
17779
|
process.exit(0);
|
|
17780
17780
|
} catch (error) {
|
|
@@ -17783,7 +17783,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17783
17783
|
}
|
|
17784
17784
|
} else if (subcommand === "spawn") {
|
|
17785
17785
|
try {
|
|
17786
|
-
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-
|
|
17786
|
+
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-B1IlltVe.cjs'); });
|
|
17787
17787
|
await handleSpawnCommand(args.slice(1));
|
|
17788
17788
|
} catch (error) {
|
|
17789
17789
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17795,7 +17795,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17795
17795
|
return;
|
|
17796
17796
|
} else if (subcommand === "sessions") {
|
|
17797
17797
|
try {
|
|
17798
|
-
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-
|
|
17798
|
+
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-DOrymTYB.cjs'); });
|
|
17799
17799
|
await handleSessionsCommand(args.slice(1));
|
|
17800
17800
|
} catch (error) {
|
|
17801
17801
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17807,7 +17807,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17807
17807
|
return;
|
|
17808
17808
|
} else if (subcommand === "send") {
|
|
17809
17809
|
try {
|
|
17810
|
-
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-
|
|
17810
|
+
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-1hJXKzeP.cjs'); });
|
|
17811
17811
|
await handleSendCommand(args.slice(1));
|
|
17812
17812
|
} catch (error) {
|
|
17813
17813
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17913,9 +17913,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17913
17913
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
17914
17914
|
const projectId = args[3];
|
|
17915
17915
|
try {
|
|
17916
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
17917
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-
|
|
17918
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-
|
|
17916
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-CFSD65_X.cjs'); });
|
|
17917
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-D364Cpe3.cjs'); }).then(function (n) { return n.persistence; });
|
|
17918
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-IU5nGuaQ.cjs'); }).then(function (n) { return n.api; });
|
|
17919
17919
|
let userEmail = void 0;
|
|
17920
17920
|
try {
|
|
17921
17921
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -17946,7 +17946,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17946
17946
|
}
|
|
17947
17947
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
17948
17948
|
try {
|
|
17949
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
17949
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-CFSD65_X.cjs'); });
|
|
17950
17950
|
const config = readGeminiLocalConfig();
|
|
17951
17951
|
if (config.googleCloudProject) {
|
|
17952
17952
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -17986,7 +17986,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17986
17986
|
process.exit(0);
|
|
17987
17987
|
}
|
|
17988
17988
|
try {
|
|
17989
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
17989
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-Ci6ULPA7.cjs'); });
|
|
17990
17990
|
let startedBy = void 0;
|
|
17991
17991
|
for (let i = 1; i < args.length; i++) {
|
|
17992
17992
|
if (args[i] === "--started-by") {
|
|
@@ -18009,7 +18009,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18009
18009
|
} else if (subcommand === "pi") {
|
|
18010
18010
|
if (args[1] === "--terminal") {
|
|
18011
18011
|
try {
|
|
18012
|
-
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-
|
|
18012
|
+
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-Bzremid-.cjs'); });
|
|
18013
18013
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
18014
18014
|
} catch (error) {
|
|
18015
18015
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -18026,7 +18026,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18026
18026
|
}
|
|
18027
18027
|
};
|
|
18028
18028
|
try {
|
|
18029
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
18029
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-x5-N7ElS.cjs'); });
|
|
18030
18030
|
const parsed = parsePiRunnerArgs(args.slice(1));
|
|
18031
18031
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
18032
18032
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
@@ -18054,7 +18054,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18054
18054
|
return;
|
|
18055
18055
|
} else if (subcommand === "acp") {
|
|
18056
18056
|
try {
|
|
18057
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
18057
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-x5-N7ElS.cjs'); });
|
|
18058
18058
|
let startedBy = void 0;
|
|
18059
18059
|
let verbose = false;
|
|
18060
18060
|
const acpArgs = [];
|
|
@@ -18094,7 +18094,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18094
18094
|
return;
|
|
18095
18095
|
} else if (subcommand === "openclaw") {
|
|
18096
18096
|
try {
|
|
18097
|
-
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-
|
|
18097
|
+
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-D2DW9Umc.cjs'); });
|
|
18098
18098
|
let startedBy = void 0;
|
|
18099
18099
|
let verbose = false;
|
|
18100
18100
|
let gatewayUrl;
|
|
@@ -18145,7 +18145,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18145
18145
|
return;
|
|
18146
18146
|
} else if (subcommand === "todo") {
|
|
18147
18147
|
try {
|
|
18148
|
-
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-
|
|
18148
|
+
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-DrsOEfYU.cjs'); });
|
|
18149
18149
|
await handleTodoCommand(args.slice(1));
|
|
18150
18150
|
} catch (error) {
|
|
18151
18151
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -18154,7 +18154,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18154
18154
|
return;
|
|
18155
18155
|
} else if (subcommand === "teams") {
|
|
18156
18156
|
try {
|
|
18157
|
-
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-
|
|
18157
|
+
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-xIRGgxwJ.cjs'); });
|
|
18158
18158
|
await handleTeamsCommand(args.slice(1));
|
|
18159
18159
|
} catch (error) {
|
|
18160
18160
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -18163,7 +18163,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18163
18163
|
return;
|
|
18164
18164
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
18165
18165
|
try {
|
|
18166
|
-
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-
|
|
18166
|
+
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-B5ojE8_m.cjs'); });
|
|
18167
18167
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
18168
18168
|
} catch (error) {
|
|
18169
18169
|
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 { r as readSettings, g as encodeBase64, l as logger, c as configuration } from './limits-
|
|
4
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
5
|
-
import { m as connectionState, A as ApiClient, n as notifyDaemonSessionStarted, o as BUILTIN_TODO_DISCOVERY } from './types-
|
|
6
|
-
import { k as initialMachineMetadata, m as createSessionMetadata, n as setupOfflineReconnection, o as StreamRelay, p as MessageQueue2, u as hashObject, v as startHappyServer, x as registerAgentAttachmentDownloads, T as TitleGenerator, y as registerKillSessionHandler, C as CLAUDE_ATTACHMENT_KINDS, z as stageClaudeAttachments, B as appendStagedAttachmentsToPrompt, E as BasePermissionHandler, F as writeSessionModeFile, H as normalizeAcpPermissionMode, I as removeSessionModeFile } from './index-
|
|
7
|
-
import { p as preparePiTeamsRuntime } from './piRuntime-
|
|
1
|
+
import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-CrcdMnL6.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-CrcdMnL6.mjs';
|
|
3
|
+
import { r as readSettings, g as encodeBase64, l as logger, c as configuration } from './limits-BfYfA7tt.mjs';
|
|
4
|
+
import { A as AcpSessionManager } from './AcpSessionManager-DIafxIVU.mjs';
|
|
5
|
+
import { m as connectionState, A as ApiClient, n as notifyDaemonSessionStarted, o as BUILTIN_TODO_DISCOVERY } from './types-CXF6tULJ.mjs';
|
|
6
|
+
import { k as initialMachineMetadata, m as createSessionMetadata, n as setupOfflineReconnection, o as StreamRelay, p as MessageQueue2, u as hashObject, v as startHappyServer, x as registerAgentAttachmentDownloads, T as TitleGenerator, y as registerKillSessionHandler, C as CLAUDE_ATTACHMENT_KINDS, z as stageClaudeAttachments, B as appendStagedAttachmentsToPrompt, E as BasePermissionHandler, F as writeSessionModeFile, H as normalizeAcpPermissionMode, I as removeSessionModeFile } from './index-Cobfu9V_.mjs';
|
|
7
|
+
import { p as preparePiTeamsRuntime } from './piRuntime-BWEgqBHm.mjs';
|
|
8
8
|
import { randomUUID } from 'node:crypto';
|
|
9
9
|
import { join } from 'node:path';
|
|
10
10
|
import { p as projectPath } from './projectPath-CSpqWdxp.mjs';
|
|
@@ -33,7 +33,7 @@ import 'fs';
|
|
|
33
33
|
import 'node:readline';
|
|
34
34
|
import '@anthropic-ai/sandbox-runtime';
|
|
35
35
|
import 'expo-server-sdk';
|
|
36
|
-
import './agentGuidance-
|
|
36
|
+
import './agentGuidance-CR7rOQUF.mjs';
|
|
37
37
|
import 'ink';
|
|
38
38
|
import 'react';
|
|
39
39
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C1OeYxxj.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-
|
|
8
|
+
require('./types-IU5nGuaQ.cjs');
|
|
9
9
|
require('axios');
|
|
10
|
-
require('./limits-
|
|
10
|
+
require('./limits-D364Cpe3.cjs');
|
|
11
11
|
require('node:fs/promises');
|
|
12
12
|
require('node:fs');
|
|
13
13
|
require('node:path');
|
|
@@ -32,7 +32,7 @@ require('fs');
|
|
|
32
32
|
require('node:readline');
|
|
33
33
|
require('@anthropic-ai/sandbox-runtime');
|
|
34
34
|
require('expo-server-sdk');
|
|
35
|
-
require('./agentGuidance-
|
|
35
|
+
require('./agentGuidance-gzl2qRkG.cjs');
|
|
36
36
|
require('ink');
|
|
37
37
|
require('react');
|
|
38
38
|
require('ps-list');
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { v as notifyDaemonSessionEvent, w as getProjectPath, o as BUILTIN_TODO_DISCOVERY, x as initializeSandbox, y as wrapCommand, t as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, u as delay, z as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, C as notifyDaemonClaudeAuthFailed, D as commandOnPath, c as checkIfDaemonRunningAndCleanupStaleState, E as deriveLocalCliUpdateSummary, F as AGENT_VERSION_SOURCES, G as isClaudeSessionId, H as getLocalHappyAgentCredentialPath, J as readLocalHappyAgentCredentials, K as parseExactVersion, L as compareExactVersions, N as extractCompleteLines, O as decideBackfill, P as parseTerminalHookPayload, Q as tmuxArgs, T as scrubTmuxClientEnv, U as decideMirrorBinding, V as MIRROR_BACKFILL_LINES_DEFAULT, W as mirrorLineKey, X as mirrorLocalId, Y as listDaemonSessions, Z as stopDaemonSession, _ as detectCLIAvailability, $ as detectResumeSupport, a0 as refreshAgentHomes, d as describeAgentHome, a1 as isDaemonRunningCurrentlyInstalledHappyVersion, a2 as stopDaemon, a3 as TurnActivityTracker, a4 as summarizeSpawnSessionForLog, a5 as locateClaudeConversation, a6 as agentHomeSpawnEnv, a7 as shellescape, A as ApiClient, a8 as fetchCliUpdateState, a9 as resolveCliUpdateCheckInterval, aa as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, ab as cleanupDaemonState, i as isValidSessionId, s as spawnDaemonSession, ac as listVhTerminals, ad as isValidTerminalId, ae as readVhTerminal, af as sendToVhTerminal, ag as ContextUsageSchema, ah as TITLE_PROMPT_PREFIX, ai as BOARD_ANALYZER_PROMPT_PREFIX, m as connectionState, aj as startOfflineReconnection, n as notifyDaemonSessionStarted, g as createEnvelope, ak as CodexAppServerClient } from './types-
|
|
5
|
-
import { l as logger, F as ensurePrivateDirectory, G as hardenPrivateFile, c as configuration, p as packageJson, r as readSettings, H as readCredentials, x as credentialRelayProblem, o as readDaemonState, g as encodeBase64, I as readSettingsOutcome, u as updateSettings, J as encodeBase64Url, m as decodeBase64, K as writeCredentialsLegacy, L as writeCredentialsDataKey, e as readCredentialsForConfiguredRelay, j as encrypt, d as readPersistedSessions, w as writePrivateFileSync, M as decryptWithDataKey, N as decryptLegacy, O as persistSession, k as decrypt, h as ensurePrivateDirectorySync, P as acquireDaemonLock, Q as deletePersistedSessions, R as writeDaemonState, S as writeSettings, T as releaseDaemonLock, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, f as CLIPBOARD_MAX_BYTES, U as clearCredentials, V as clearMachineId, W as SandboxConfigSchema, X as getLatestDaemonLog } from './limits-
|
|
4
|
+
import { v as notifyDaemonSessionEvent, w as getProjectPath, o as BUILTIN_TODO_DISCOVERY, x as initializeSandbox, y as wrapCommand, t as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, u as delay, z as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, C as notifyDaemonClaudeAuthFailed, D as commandOnPath, c as checkIfDaemonRunningAndCleanupStaleState, E as deriveLocalCliUpdateSummary, F as AGENT_VERSION_SOURCES, G as isClaudeSessionId, H as getLocalHappyAgentCredentialPath, J as readLocalHappyAgentCredentials, K as parseExactVersion, L as compareExactVersions, N as extractCompleteLines, O as decideBackfill, P as parseTerminalHookPayload, Q as tmuxArgs, T as scrubTmuxClientEnv, U as decideMirrorBinding, V as MIRROR_BACKFILL_LINES_DEFAULT, W as mirrorLineKey, X as mirrorLocalId, Y as listDaemonSessions, Z as stopDaemonSession, _ as detectCLIAvailability, $ as detectResumeSupport, a0 as refreshAgentHomes, d as describeAgentHome, a1 as isDaemonRunningCurrentlyInstalledHappyVersion, a2 as stopDaemon, a3 as TurnActivityTracker, a4 as summarizeSpawnSessionForLog, a5 as locateClaudeConversation, a6 as agentHomeSpawnEnv, a7 as shellescape, A as ApiClient, a8 as fetchCliUpdateState, a9 as resolveCliUpdateCheckInterval, aa as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, ab as cleanupDaemonState, i as isValidSessionId, s as spawnDaemonSession, ac as listVhTerminals, ad as isValidTerminalId, ae as readVhTerminal, af as sendToVhTerminal, ag as ContextUsageSchema, ah as TITLE_PROMPT_PREFIX, ai as BOARD_ANALYZER_PROMPT_PREFIX, m as connectionState, aj as startOfflineReconnection, n as notifyDaemonSessionStarted, g as createEnvelope, ak as CodexAppServerClient } from './types-CXF6tULJ.mjs';
|
|
5
|
+
import { l as logger, F as ensurePrivateDirectory, G as hardenPrivateFile, c as configuration, p as packageJson, r as readSettings, H as readCredentials, x as credentialRelayProblem, o as readDaemonState, g as encodeBase64, I as readSettingsOutcome, u as updateSettings, J as encodeBase64Url, m as decodeBase64, K as writeCredentialsLegacy, L as writeCredentialsDataKey, e as readCredentialsForConfiguredRelay, j as encrypt, d as readPersistedSessions, w as writePrivateFileSync, M as decryptWithDataKey, N as decryptLegacy, O as persistSession, k as decrypt, h as ensurePrivateDirectorySync, P as acquireDaemonLock, Q as deletePersistedSessions, R as writeDaemonState, S as writeSettings, T as releaseDaemonLock, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, f as CLIPBOARD_MAX_BYTES, U as clearCredentials, V as clearMachineId, W as SandboxConfigSchema, X as getLatestDaemonLog } from './limits-BfYfA7tt.mjs';
|
|
6
6
|
import spawn$1, { spawn } from 'cross-spawn';
|
|
7
7
|
import path, { join, resolve, basename, isAbsolute, sep, dirname, 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
10
|
import { p as projectPath } from './projectPath-CSpqWdxp.mjs';
|
|
11
|
-
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-
|
|
11
|
+
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-CR7rOQUF.mjs';
|
|
12
12
|
import { readFile, writeFile, rename, unlink, mkdir, symlink, rm, readlink, lstat, stat, open as open$1, appendFile } from 'node:fs/promises';
|
|
13
13
|
import fs, { watch, access } from 'fs/promises';
|
|
14
14
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
@@ -5313,8 +5313,8 @@ ${typeLabels[type] || type}:`));
|
|
|
5313
5313
|
}
|
|
5314
5314
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
5315
5315
|
try {
|
|
5316
|
-
const { resolveAgentHomesForCli } = await import('./agentHome-
|
|
5317
|
-
const { describeAgentHome } = await import('./types-
|
|
5316
|
+
const { resolveAgentHomesForCli } = await import('./agentHome-CQrd95jc.mjs');
|
|
5317
|
+
const { describeAgentHome } = await import('./types-CXF6tULJ.mjs').then(function (n) { return n.al; });
|
|
5318
5318
|
const homes = await resolveAgentHomesForCli();
|
|
5319
5319
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
5320
5320
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -12470,7 +12470,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
12470
12470
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
12471
12471
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
12472
12472
|
const fork = deps.run ?? (async (input) => {
|
|
12473
|
-
const { query } = await import('./index-
|
|
12473
|
+
const { query } = await import('./index-eLVXOce3.mjs');
|
|
12474
12474
|
return runSideQuestion(query, input);
|
|
12475
12475
|
});
|
|
12476
12476
|
const run = async (input, live) => {
|
|
@@ -17735,7 +17735,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17735
17735
|
return;
|
|
17736
17736
|
} else if (subcommand === "install-terminal-hooks") {
|
|
17737
17737
|
try {
|
|
17738
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-
|
|
17738
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-D9pIHXxU.mjs');
|
|
17739
17739
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
17740
17740
|
if (command.action === "help") {
|
|
17741
17741
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -17752,7 +17752,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17752
17752
|
}
|
|
17753
17753
|
} else if (subcommand === "agent-home") {
|
|
17754
17754
|
try {
|
|
17755
|
-
const { parseAgentHomeArgs, runAgentHomeCommand } = await import('./agentHome-
|
|
17755
|
+
const { parseAgentHomeArgs, runAgentHomeCommand } = await import('./agentHome-CQrd95jc.mjs');
|
|
17756
17756
|
await runAgentHomeCommand(parseAgentHomeArgs(args.slice(1)));
|
|
17757
17757
|
process.exit(0);
|
|
17758
17758
|
} catch (error) {
|
|
@@ -17761,7 +17761,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17761
17761
|
}
|
|
17762
17762
|
} else if (subcommand === "spawn") {
|
|
17763
17763
|
try {
|
|
17764
|
-
const { handleSpawnCommand } = await import('./spawn-
|
|
17764
|
+
const { handleSpawnCommand } = await import('./spawn-C4uID9JX.mjs');
|
|
17765
17765
|
await handleSpawnCommand(args.slice(1));
|
|
17766
17766
|
} catch (error) {
|
|
17767
17767
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17773,7 +17773,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17773
17773
|
return;
|
|
17774
17774
|
} else if (subcommand === "sessions") {
|
|
17775
17775
|
try {
|
|
17776
|
-
const { handleSessionsCommand } = await import('./sessions-
|
|
17776
|
+
const { handleSessionsCommand } = await import('./sessions-C9VwpMKY.mjs');
|
|
17777
17777
|
await handleSessionsCommand(args.slice(1));
|
|
17778
17778
|
} catch (error) {
|
|
17779
17779
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17785,7 +17785,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17785
17785
|
return;
|
|
17786
17786
|
} else if (subcommand === "send") {
|
|
17787
17787
|
try {
|
|
17788
|
-
const { handleSendCommand } = await import('./send-
|
|
17788
|
+
const { handleSendCommand } = await import('./send-D-9_jOIS.mjs');
|
|
17789
17789
|
await handleSendCommand(args.slice(1));
|
|
17790
17790
|
} catch (error) {
|
|
17791
17791
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17891,9 +17891,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17891
17891
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
17892
17892
|
const projectId = args[3];
|
|
17893
17893
|
try {
|
|
17894
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
17895
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-
|
|
17896
|
-
const { ApiClient: ApiClient2 } = await import('./types-
|
|
17894
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-DkCS4663.mjs');
|
|
17895
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-BfYfA7tt.mjs').then(function (n) { return n.Y; });
|
|
17896
|
+
const { ApiClient: ApiClient2 } = await import('./types-CXF6tULJ.mjs').then(function (n) { return n.am; });
|
|
17897
17897
|
let userEmail = void 0;
|
|
17898
17898
|
try {
|
|
17899
17899
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -17924,7 +17924,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17924
17924
|
}
|
|
17925
17925
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
17926
17926
|
try {
|
|
17927
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
17927
|
+
const { readGeminiLocalConfig } = await import('./config-DkCS4663.mjs');
|
|
17928
17928
|
const config = readGeminiLocalConfig();
|
|
17929
17929
|
if (config.googleCloudProject) {
|
|
17930
17930
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -17964,7 +17964,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17964
17964
|
process.exit(0);
|
|
17965
17965
|
}
|
|
17966
17966
|
try {
|
|
17967
|
-
const { runGemini } = await import('./runGemini-
|
|
17967
|
+
const { runGemini } = await import('./runGemini-C13-aRss.mjs');
|
|
17968
17968
|
let startedBy = void 0;
|
|
17969
17969
|
for (let i = 1; i < args.length; i++) {
|
|
17970
17970
|
if (args[i] === "--started-by") {
|
|
@@ -17987,7 +17987,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17987
17987
|
} else if (subcommand === "pi") {
|
|
17988
17988
|
if (args[1] === "--terminal") {
|
|
17989
17989
|
try {
|
|
17990
|
-
const { runPiTerminal } = await import('./piTerminal-
|
|
17990
|
+
const { runPiTerminal } = await import('./piTerminal-CnS3TF7M.mjs');
|
|
17991
17991
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
17992
17992
|
} catch (error) {
|
|
17993
17993
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -18004,7 +18004,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18004
18004
|
}
|
|
18005
18005
|
};
|
|
18006
18006
|
try {
|
|
18007
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
18007
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-C4JoaSCO.mjs');
|
|
18008
18008
|
const parsed = parsePiRunnerArgs(args.slice(1));
|
|
18009
18009
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
18010
18010
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
@@ -18032,7 +18032,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18032
18032
|
return;
|
|
18033
18033
|
} else if (subcommand === "acp") {
|
|
18034
18034
|
try {
|
|
18035
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
18035
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-C4JoaSCO.mjs');
|
|
18036
18036
|
let startedBy = void 0;
|
|
18037
18037
|
let verbose = false;
|
|
18038
18038
|
const acpArgs = [];
|
|
@@ -18072,7 +18072,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18072
18072
|
return;
|
|
18073
18073
|
} else if (subcommand === "openclaw") {
|
|
18074
18074
|
try {
|
|
18075
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
18075
|
+
const { runOpenClaw } = await import('./runOpenClaw-D4ABejEy.mjs');
|
|
18076
18076
|
let startedBy = void 0;
|
|
18077
18077
|
let verbose = false;
|
|
18078
18078
|
let gatewayUrl;
|
|
@@ -18123,7 +18123,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18123
18123
|
return;
|
|
18124
18124
|
} else if (subcommand === "todo") {
|
|
18125
18125
|
try {
|
|
18126
|
-
const { handleTodoCommand } = await import('./todo-
|
|
18126
|
+
const { handleTodoCommand } = await import('./todo-5QemH15n.mjs');
|
|
18127
18127
|
await handleTodoCommand(args.slice(1));
|
|
18128
18128
|
} catch (error) {
|
|
18129
18129
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -18132,7 +18132,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18132
18132
|
return;
|
|
18133
18133
|
} else if (subcommand === "teams") {
|
|
18134
18134
|
try {
|
|
18135
|
-
const { handleTeamsCommand } = await import('./teams-
|
|
18135
|
+
const { handleTeamsCommand } = await import('./teams-CCv46ebr.mjs');
|
|
18136
18136
|
await handleTeamsCommand(args.slice(1));
|
|
18137
18137
|
} catch (error) {
|
|
18138
18138
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -18141,7 +18141,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
18141
18141
|
return;
|
|
18142
18142
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
18143
18143
|
try {
|
|
18144
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
18144
|
+
const { handleMcpCommand } = await import('./mcp-DTXsdDwc.mjs');
|
|
18145
18145
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
18146
18146
|
} catch (error) {
|
|
18147
18147
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|