very-happy-cli 0.2.131 → 0.2.132
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-Dv_EKDIQ.cjs → AcpBackend--EnHZRC4.cjs} +2 -2
- package/dist/{AcpBackend-DSRZM4lo.mjs → AcpBackend-BNMLGtST.mjs} +2 -2
- package/dist/{AcpSessionManager-DtXOAeQ0.mjs → AcpSessionManager-BF5JZYCC.mjs} +1 -1
- package/dist/{AcpSessionManager-r8SLweP4.cjs → AcpSessionManager-RoOyx5KI.cjs} +1 -1
- package/dist/{agentGuidance-CeuhVA2K.mjs → agentGuidance-DeOIgOhh.mjs} +1 -1
- package/dist/{agentGuidance-B4bH8Nuz.cjs → agentGuidance-R9MH5Cd5.cjs} +1 -1
- package/dist/codex/happyMcpStdioBridge.cjs +2 -2
- package/dist/codex/happyMcpStdioBridge.mjs +2 -2
- package/dist/{config-onxMcdX3.cjs → config-CkmssSRu.cjs} +4 -4
- package/dist/{config-Ur8QEJ0U.mjs → config-ClCkJ1a_.mjs} +4 -4
- package/dist/{index-BjctcFpG.cjs → index-Bqg6yo5s.cjs} +4 -4
- package/dist/{index-B1hbB5R7.cjs → index-CjopZZg3.cjs} +6 -6
- package/dist/{index-BPYVCjjs.mjs → index-D1gHXtkw.mjs} +21 -19
- package/dist/{index-BXB-84P_.mjs → index-DK0qz1y7.mjs} +4 -4
- package/dist/{index-CsfUI8Bw.mjs → index-DdbU8FmA.mjs} +7 -7
- package/dist/{index-B5Vv72dN.cjs → index-Dn7s2iaT.cjs} +25 -23
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{installTerminalHooks-IaEGKZDR.cjs → installTerminalHooks-CPZ3vVn8.cjs} +4 -4
- package/dist/{installTerminalHooks-DLwx6m7I.mjs → installTerminalHooks-CRWWmonO.mjs} +4 -4
- package/dist/lib.cjs +2 -2
- package/dist/lib.mjs +2 -2
- package/dist/{limits-BusZ5sPV.mjs → limits-C9aXkP7U.mjs} +7 -7
- package/dist/{limits-C9bJJEyR.cjs → limits-DLlsV71c.cjs} +7 -7
- package/dist/{mcp-D4_4kl0R.cjs → mcp-DHkYfENQ.cjs} +4 -4
- package/dist/{mcp-CZJM3obK.mjs → mcp-DkoXvc07.mjs} +4 -4
- package/dist/{runGemini-DGHhBbmk.mjs → runGemini-BjEl7syj.mjs} +6 -6
- package/dist/{runGemini-CRoqO5Mf.cjs → runGemini-Cx1YcK2o.cjs} +6 -6
- package/dist/{runOpenClaw-Ca9ygi8M.mjs → runOpenClaw-ByHu69K5.mjs} +5 -5
- package/dist/{runOpenClaw-BzY__v8T.cjs → runOpenClaw-I4sGAQf1.cjs} +5 -5
- package/dist/{send-B1lln_bW.mjs → send-CSOeUlQC.mjs} +4 -4
- package/dist/{send-CkfdImmJ.cjs → send-gH1vJ0iv.cjs} +4 -4
- package/dist/{sessions-D4cvTe7G.cjs → sessions-BBc8L8qf.cjs} +4 -4
- package/dist/{sessions-Cyzh822v.mjs → sessions-CP9FlcJ6.mjs} +4 -4
- package/dist/{spawn-ID9-RfTN.cjs → spawn-Dmfbot5k.cjs} +4 -4
- package/dist/{spawn-CdOt7Cv_.mjs → spawn-DrQo81MW.mjs} +4 -4
- package/dist/{teams-Bf2D8dwL.mjs → teams-Bbvo1G6y.mjs} +4 -4
- package/dist/{teams-CZ9xg-Rv.cjs → teams-DtXQYmEK.cjs} +4 -4
- package/dist/{todo-9iv7_n7i.mjs → todo-BAwevRyb.mjs} +3 -3
- package/dist/{todo-DK3L93BC.cjs → todo-DOi6svw9.cjs} +3 -3
- package/dist/{types-B20MYc5R.cjs → types-B15E2OVy.cjs} +2 -2
- package/dist/{types-lFZhC_6M.mjs → types-CA-c2NH7.mjs} +1 -1
- 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 api = require('./types-
|
|
6
|
+
var persistence = require('./limits-DLlsV71c.cjs');
|
|
7
|
+
var api = require('./types-B15E2OVy.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 { d as contentLogMetadata, e as errorLogMetadata, h as delay } from './types-
|
|
4
|
+
import { l as logger, p as packageJson } from './limits-C9aXkP7U.mjs';
|
|
5
|
+
import { d as contentLogMetadata, e as errorLogMetadata, h as delay } from './types-CA-c2NH7.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 { s as streamKeyOf, c as createEnvelope } from './types-
|
|
2
|
+
import { s as streamKeyOf, c as createEnvelope } from './types-CA-c2NH7.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, g as readSettings, r as readPersistedSessions, d as readCredentialsForConfiguredRelay } from './limits-
|
|
3
|
+
import { n as normalizeHttpEndpoint, c as configuration, g as readSettings, r as readPersistedSessions, d as readCredentialsForConfiguredRelay } from './limits-C9aXkP7U.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-DLlsV71c.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,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var agentGuidance = require('../agentGuidance-
|
|
3
|
+
var agentGuidance = require('../agentGuidance-R9MH5Cd5.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-DLlsV71c.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-DeOIgOhh.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-C9aXkP7U.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-DLlsV71c.cjs');
|
|
8
|
+
var index = require('./index-Dn7s2iaT.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-B15E2OVy.cjs');
|
|
19
19
|
require('axios');
|
|
20
20
|
require('node:events');
|
|
21
21
|
require('socket.io-client');
|
|
@@ -30,7 +30,7 @@ require('node-pty');
|
|
|
30
30
|
require('node:readline');
|
|
31
31
|
require('@anthropic-ai/sandbox-runtime');
|
|
32
32
|
require('expo-server-sdk');
|
|
33
|
-
require('./agentGuidance-
|
|
33
|
+
require('./agentGuidance-R9MH5Cd5.cjs');
|
|
34
34
|
require('ink');
|
|
35
35
|
require('react');
|
|
36
36
|
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 { j as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-
|
|
5
|
+
import { l as logger } from './limits-C9aXkP7U.mjs';
|
|
6
|
+
import { j as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-D1gHXtkw.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-CA-c2NH7.mjs';
|
|
17
17
|
import 'axios';
|
|
18
18
|
import 'node:events';
|
|
19
19
|
import 'socket.io-client';
|
|
@@ -28,7 +28,7 @@ import 'node-pty';
|
|
|
28
28
|
import 'node:readline';
|
|
29
29
|
import '@anthropic-ai/sandbox-runtime';
|
|
30
30
|
import 'expo-server-sdk';
|
|
31
|
-
import './agentGuidance-
|
|
31
|
+
import './agentGuidance-DeOIgOhh.mjs';
|
|
32
32
|
import 'ink';
|
|
33
33
|
import 'react';
|
|
34
34
|
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-Dn7s2iaT.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-B15E2OVy.cjs');
|
|
9
9
|
require('axios');
|
|
10
|
-
require('./limits-
|
|
10
|
+
require('./limits-DLlsV71c.cjs');
|
|
11
11
|
require('node:fs/promises');
|
|
12
12
|
require('node:fs');
|
|
13
13
|
require('node:path');
|
|
@@ -31,7 +31,7 @@ require('fs');
|
|
|
31
31
|
require('node:readline');
|
|
32
32
|
require('@anthropic-ai/sandbox-runtime');
|
|
33
33
|
require('expo-server-sdk');
|
|
34
|
-
require('./agentGuidance-
|
|
34
|
+
require('./agentGuidance-R9MH5Cd5.cjs');
|
|
35
35
|
require('ink');
|
|
36
36
|
require('react');
|
|
37
37
|
require('ps-list');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AcpBackend = require('./AcpBackend
|
|
4
|
-
var persistence = require('./limits-
|
|
5
|
-
var AcpSessionManager = require('./AcpSessionManager-
|
|
6
|
-
var api = require('./types-
|
|
7
|
-
var index = require('./index-
|
|
3
|
+
var AcpBackend = require('./AcpBackend--EnHZRC4.cjs');
|
|
4
|
+
var persistence = require('./limits-DLlsV71c.cjs');
|
|
5
|
+
var AcpSessionManager = require('./AcpSessionManager-RoOyx5KI.cjs');
|
|
6
|
+
var api = require('./types-B15E2OVy.cjs');
|
|
7
|
+
var index = require('./index-Dn7s2iaT.cjs');
|
|
8
8
|
var promises = require('node:fs/promises');
|
|
9
9
|
var node_crypto = require('node:crypto');
|
|
10
10
|
var path = require('node:path');
|
|
@@ -33,7 +33,7 @@ require('fs');
|
|
|
33
33
|
require('node:readline');
|
|
34
34
|
require('@anthropic-ai/sandbox-runtime');
|
|
35
35
|
require('expo-server-sdk');
|
|
36
|
-
require('./agentGuidance-
|
|
36
|
+
require('./agentGuidance-R9MH5Cd5.cjs');
|
|
37
37
|
require('ink');
|
|
38
38
|
require('react');
|
|
39
39
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -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-CA-c2NH7.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-C9aXkP7U.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-DeOIgOhh.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';
|
|
@@ -9483,6 +9483,8 @@ function writeReceipt(home, receipt) {
|
|
|
9483
9483
|
const exec = promisify(execFile);
|
|
9484
9484
|
const git = async (directory, args) => (await exec("git", ["-C", directory, ...args], { timeout: 3e4, maxBuffer: 2 * 1024 * 1024 })).stdout.trim();
|
|
9485
9485
|
async function prepareTeamWorktree(home, repository, id) {
|
|
9486
|
+
if (repository === "~") repository = homedir();
|
|
9487
|
+
else if (repository.startsWith("~/") || process.platform === "win32" && repository.startsWith("~\\")) repository = join(homedir(), repository.slice(2));
|
|
9486
9488
|
if (!isAbsolute(repository) || !/^[a-zA-Z0-9_-]{1,128}$/.test(id)) throw new Error("A team task requires an absolute repository path and valid operation id");
|
|
9487
9489
|
await git(repository, ["rev-parse", "--show-toplevel"]);
|
|
9488
9490
|
const root = join(home, "teams", "worktrees");
|
|
@@ -12109,7 +12111,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
12109
12111
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
12110
12112
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
12111
12113
|
const run = deps.run ?? (async (input) => {
|
|
12112
|
-
const { query } = await import('./index-
|
|
12114
|
+
const { query } = await import('./index-DK0qz1y7.mjs');
|
|
12113
12115
|
return runSideQuestion(query, input);
|
|
12114
12116
|
});
|
|
12115
12117
|
const slots = /* @__PURE__ */ new Map();
|
|
@@ -17126,7 +17128,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17126
17128
|
process.exit(0);
|
|
17127
17129
|
} else if (subcommand === "install-terminal-hooks") {
|
|
17128
17130
|
try {
|
|
17129
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-
|
|
17131
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-CRWWmonO.mjs');
|
|
17130
17132
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
17131
17133
|
if (command.action === "help") {
|
|
17132
17134
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -17143,7 +17145,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17143
17145
|
}
|
|
17144
17146
|
} else if (subcommand === "spawn") {
|
|
17145
17147
|
try {
|
|
17146
|
-
const { handleSpawnCommand } = await import('./spawn-
|
|
17148
|
+
const { handleSpawnCommand } = await import('./spawn-DrQo81MW.mjs');
|
|
17147
17149
|
await handleSpawnCommand(args.slice(1));
|
|
17148
17150
|
} catch (error) {
|
|
17149
17151
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17155,7 +17157,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17155
17157
|
return;
|
|
17156
17158
|
} else if (subcommand === "sessions") {
|
|
17157
17159
|
try {
|
|
17158
|
-
const { handleSessionsCommand } = await import('./sessions-
|
|
17160
|
+
const { handleSessionsCommand } = await import('./sessions-CP9FlcJ6.mjs');
|
|
17159
17161
|
await handleSessionsCommand(args.slice(1));
|
|
17160
17162
|
} catch (error) {
|
|
17161
17163
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17167,7 +17169,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17167
17169
|
return;
|
|
17168
17170
|
} else if (subcommand === "send") {
|
|
17169
17171
|
try {
|
|
17170
|
-
const { handleSendCommand } = await import('./send-
|
|
17172
|
+
const { handleSendCommand } = await import('./send-CSOeUlQC.mjs');
|
|
17171
17173
|
await handleSendCommand(args.slice(1));
|
|
17172
17174
|
} catch (error) {
|
|
17173
17175
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17273,9 +17275,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17273
17275
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
17274
17276
|
const projectId = args[3];
|
|
17275
17277
|
try {
|
|
17276
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
17277
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-
|
|
17278
|
-
const { ApiClient: ApiClient2 } = await import('./types-
|
|
17278
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-ClCkJ1a_.mjs');
|
|
17279
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-C9aXkP7U.mjs').then(function (n) { return n.W; });
|
|
17280
|
+
const { ApiClient: ApiClient2 } = await import('./types-CA-c2NH7.mjs').then(function (n) { return n.$; });
|
|
17279
17281
|
let userEmail = void 0;
|
|
17280
17282
|
try {
|
|
17281
17283
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -17306,7 +17308,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17306
17308
|
}
|
|
17307
17309
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
17308
17310
|
try {
|
|
17309
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
17311
|
+
const { readGeminiLocalConfig } = await import('./config-ClCkJ1a_.mjs');
|
|
17310
17312
|
const config = readGeminiLocalConfig();
|
|
17311
17313
|
if (config.googleCloudProject) {
|
|
17312
17314
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -17346,7 +17348,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17346
17348
|
process.exit(0);
|
|
17347
17349
|
}
|
|
17348
17350
|
try {
|
|
17349
|
-
const { runGemini } = await import('./runGemini-
|
|
17351
|
+
const { runGemini } = await import('./runGemini-BjEl7syj.mjs');
|
|
17350
17352
|
let startedBy = void 0;
|
|
17351
17353
|
for (let i = 1; i < args.length; i++) {
|
|
17352
17354
|
if (args[i] === "--started-by") {
|
|
@@ -17376,7 +17378,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17376
17378
|
}
|
|
17377
17379
|
};
|
|
17378
17380
|
try {
|
|
17379
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
17381
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-DdbU8FmA.mjs');
|
|
17380
17382
|
const parsed = parsePiRunnerArgs(args.slice(1));
|
|
17381
17383
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
17382
17384
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
@@ -17404,7 +17406,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17404
17406
|
return;
|
|
17405
17407
|
} else if (subcommand === "acp") {
|
|
17406
17408
|
try {
|
|
17407
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
17409
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-DdbU8FmA.mjs');
|
|
17408
17410
|
let startedBy = void 0;
|
|
17409
17411
|
let verbose = false;
|
|
17410
17412
|
const acpArgs = [];
|
|
@@ -17444,7 +17446,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17444
17446
|
return;
|
|
17445
17447
|
} else if (subcommand === "openclaw") {
|
|
17446
17448
|
try {
|
|
17447
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
17449
|
+
const { runOpenClaw } = await import('./runOpenClaw-ByHu69K5.mjs');
|
|
17448
17450
|
let startedBy = void 0;
|
|
17449
17451
|
let verbose = false;
|
|
17450
17452
|
let gatewayUrl;
|
|
@@ -17495,7 +17497,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17495
17497
|
return;
|
|
17496
17498
|
} else if (subcommand === "todo") {
|
|
17497
17499
|
try {
|
|
17498
|
-
const { handleTodoCommand } = await import('./todo-
|
|
17500
|
+
const { handleTodoCommand } = await import('./todo-BAwevRyb.mjs');
|
|
17499
17501
|
await handleTodoCommand(args.slice(1));
|
|
17500
17502
|
} catch (error) {
|
|
17501
17503
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -17504,7 +17506,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17504
17506
|
return;
|
|
17505
17507
|
} else if (subcommand === "teams") {
|
|
17506
17508
|
try {
|
|
17507
|
-
const { handleTeamsCommand } = await import('./teams-
|
|
17509
|
+
const { handleTeamsCommand } = await import('./teams-Bbvo1G6y.mjs');
|
|
17508
17510
|
await handleTeamsCommand(args.slice(1));
|
|
17509
17511
|
} catch (error) {
|
|
17510
17512
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -17513,7 +17515,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17513
17515
|
return;
|
|
17514
17516
|
} else if (subcommand === "mcp" && args.length === 1) {
|
|
17515
17517
|
try {
|
|
17516
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
17518
|
+
const { handleMcpCommand } = await import('./mcp-DkoXvc07.mjs');
|
|
17517
17519
|
await handleMcpCommand();
|
|
17518
17520
|
} catch (error) {
|
|
17519
17521
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { q as query } from './index-
|
|
1
|
+
import { q as query } from './index-D1gHXtkw.mjs';
|
|
2
2
|
export { AbortError } from '@anthropic-ai/claude-agent-sdk';
|
|
3
3
|
import 'chalk';
|
|
4
4
|
import 'node:os';
|
|
5
5
|
import 'node:crypto';
|
|
6
|
-
import './types-
|
|
6
|
+
import './types-CA-c2NH7.mjs';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import './limits-
|
|
8
|
+
import './limits-C9aXkP7U.mjs';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:path';
|
|
@@ -29,7 +29,7 @@ import 'fs';
|
|
|
29
29
|
import 'node:readline';
|
|
30
30
|
import '@anthropic-ai/sandbox-runtime';
|
|
31
31
|
import 'expo-server-sdk';
|
|
32
|
-
import './agentGuidance-
|
|
32
|
+
import './agentGuidance-DeOIgOhh.mjs';
|
|
33
33
|
import 'ink';
|
|
34
34
|
import 'react';
|
|
35
35
|
import 'ps-list';
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { c as configuration, g as readSettings, i as encodeBase64, l as logger } from './limits-
|
|
4
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
5
|
-
import { f as connectionState, A as ApiClient, p as projectPath, g as BUILTIN_TODO_DISCOVERY } from './types-
|
|
6
|
-
import { P as PI_TEAMS_EXTENSION, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, z as StreamRelay, x as MessageQueue2, B as hashObject, C as startHappyServer, E as registerAgentAttachmentDownloads, F as TitleGenerator, y as registerKillSessionHandler, H as CLAUDE_ATTACHMENT_KINDS, I as stageClaudeAttachments, J as appendStagedAttachmentsToPrompt, K as BasePermissionHandler, L as writeSessionModeFile, N as normalizeAcpPermissionMode, O as removeSessionModeFile } from './index-
|
|
1
|
+
import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-BNMLGtST.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-BNMLGtST.mjs';
|
|
3
|
+
import { c as configuration, g as readSettings, i as encodeBase64, l as logger } from './limits-C9aXkP7U.mjs';
|
|
4
|
+
import { A as AcpSessionManager } from './AcpSessionManager-BF5JZYCC.mjs';
|
|
5
|
+
import { f as connectionState, A as ApiClient, p as projectPath, g as BUILTIN_TODO_DISCOVERY } from './types-CA-c2NH7.mjs';
|
|
6
|
+
import { P as PI_TEAMS_EXTENSION, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, z as StreamRelay, x as MessageQueue2, B as hashObject, C as startHappyServer, E as registerAgentAttachmentDownloads, F as TitleGenerator, y as registerKillSessionHandler, H as CLAUDE_ATTACHMENT_KINDS, I as stageClaudeAttachments, J as appendStagedAttachmentsToPrompt, K as BasePermissionHandler, L as writeSessionModeFile, N as normalizeAcpPermissionMode, O as removeSessionModeFile } from './index-D1gHXtkw.mjs';
|
|
7
7
|
import { mkdir, chmod, writeFile, rename } from 'node:fs/promises';
|
|
8
8
|
import { randomUUID } from 'node:crypto';
|
|
9
9
|
import { join } from 'node:path';
|
|
@@ -32,7 +32,7 @@ import 'fs';
|
|
|
32
32
|
import 'node:readline';
|
|
33
33
|
import '@anthropic-ai/sandbox-runtime';
|
|
34
34
|
import 'expo-server-sdk';
|
|
35
|
-
import './agentGuidance-
|
|
35
|
+
import './agentGuidance-DeOIgOhh.mjs';
|
|
36
36
|
import 'ink';
|
|
37
37
|
import 'react';
|
|
38
38
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var api = require('./types-
|
|
7
|
-
var persistence = require('./limits-
|
|
6
|
+
var api = require('./types-B15E2OVy.cjs');
|
|
7
|
+
var persistence = require('./limits-DLlsV71c.cjs');
|
|
8
8
|
var spawn = require('cross-spawn');
|
|
9
9
|
var path = require('node:path');
|
|
10
10
|
var node_readline = require('node:readline');
|
|
11
11
|
var node_fs = require('node:fs');
|
|
12
|
-
var agentGuidance = require('./agentGuidance-
|
|
12
|
+
var agentGuidance = require('./agentGuidance-R9MH5Cd5.cjs');
|
|
13
13
|
var promises = require('node:fs/promises');
|
|
14
14
|
var fs = require('fs/promises');
|
|
15
15
|
var ink = require('ink');
|
|
@@ -7714,7 +7714,7 @@ function parseJsonObject(text) {
|
|
|
7714
7714
|
return null;
|
|
7715
7715
|
}
|
|
7716
7716
|
}
|
|
7717
|
-
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-
|
|
7717
|
+
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-Dn7s2iaT.cjs', document.baseURI).href))).resolve(s)) {
|
|
7718
7718
|
const platformArch = `${platform}-${arch}`;
|
|
7719
7719
|
const candidates = [
|
|
7720
7720
|
`@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
|
|
@@ -9505,6 +9505,8 @@ function writeReceipt(home, receipt) {
|
|
|
9505
9505
|
const exec = node_util.promisify(node_child_process.execFile);
|
|
9506
9506
|
const git = async (directory, args) => (await exec("git", ["-C", directory, ...args], { timeout: 3e4, maxBuffer: 2 * 1024 * 1024 })).stdout.trim();
|
|
9507
9507
|
async function prepareTeamWorktree(home, repository, id) {
|
|
9508
|
+
if (repository === "~") repository = os.homedir();
|
|
9509
|
+
else if (repository.startsWith("~/") || process.platform === "win32" && repository.startsWith("~\\")) repository = path.join(os.homedir(), repository.slice(2));
|
|
9508
9510
|
if (!path.isAbsolute(repository) || !/^[a-zA-Z0-9_-]{1,128}$/.test(id)) throw new Error("A team task requires an absolute repository path and valid operation id");
|
|
9509
9511
|
await git(repository, ["rev-parse", "--show-toplevel"]);
|
|
9510
9512
|
const root = path.join(home, "teams", "worktrees");
|
|
@@ -12131,7 +12133,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
12131
12133
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
12132
12134
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
12133
12135
|
const run = deps.run ?? (async (input) => {
|
|
12134
|
-
const { query } = await Promise.resolve().then(function () { return require('./index-
|
|
12136
|
+
const { query } = await Promise.resolve().then(function () { return require('./index-Bqg6yo5s.cjs'); });
|
|
12135
12137
|
return runSideQuestion(query, input);
|
|
12136
12138
|
});
|
|
12137
12139
|
const slots = /* @__PURE__ */ new Map();
|
|
@@ -12233,7 +12235,7 @@ const MAX_TITLE_CHARS = 60;
|
|
|
12233
12235
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
12234
12236
|
function resolveClaudeBinary() {
|
|
12235
12237
|
try {
|
|
12236
|
-
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-
|
|
12238
|
+
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-Dn7s2iaT.cjs', document.baseURI).href)));
|
|
12237
12239
|
const utilsPath = path.resolve(path.join(api.projectPath(), "scripts", "claude_version_utils.cjs"));
|
|
12238
12240
|
const { getClaudeCliPath } = require$1(utilsPath);
|
|
12239
12241
|
const path$1 = getClaudeCliPath();
|
|
@@ -14451,9 +14453,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
|
|
|
14451
14453
|
};
|
|
14452
14454
|
}
|
|
14453
14455
|
|
|
14454
|
-
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-
|
|
14456
|
+
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-Dn7s2iaT.cjs', document.baseURI).href)));
|
|
14455
14457
|
const __dirname$1 = path.dirname(__filename$1);
|
|
14456
|
-
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
14458
|
+
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-Dn7s2iaT.cjs', document.baseURI).href)));
|
|
14457
14459
|
const PRISMA_QUERY_ENGINE_FILES = {
|
|
14458
14460
|
"arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
|
|
14459
14461
|
"x64-darwin": "libquery_engine-darwin.dylib.node",
|
|
@@ -17148,7 +17150,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17148
17150
|
process.exit(0);
|
|
17149
17151
|
} else if (subcommand === "install-terminal-hooks") {
|
|
17150
17152
|
try {
|
|
17151
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-
|
|
17153
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-CPZ3vVn8.cjs'); });
|
|
17152
17154
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
17153
17155
|
if (command.action === "help") {
|
|
17154
17156
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -17165,7 +17167,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17165
17167
|
}
|
|
17166
17168
|
} else if (subcommand === "spawn") {
|
|
17167
17169
|
try {
|
|
17168
|
-
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-
|
|
17170
|
+
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-Dmfbot5k.cjs'); });
|
|
17169
17171
|
await handleSpawnCommand(args.slice(1));
|
|
17170
17172
|
} catch (error) {
|
|
17171
17173
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17177,7 +17179,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17177
17179
|
return;
|
|
17178
17180
|
} else if (subcommand === "sessions") {
|
|
17179
17181
|
try {
|
|
17180
|
-
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-
|
|
17182
|
+
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-BBc8L8qf.cjs'); });
|
|
17181
17183
|
await handleSessionsCommand(args.slice(1));
|
|
17182
17184
|
} catch (error) {
|
|
17183
17185
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17189,7 +17191,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17189
17191
|
return;
|
|
17190
17192
|
} else if (subcommand === "send") {
|
|
17191
17193
|
try {
|
|
17192
|
-
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-
|
|
17194
|
+
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-gH1vJ0iv.cjs'); });
|
|
17193
17195
|
await handleSendCommand(args.slice(1));
|
|
17194
17196
|
} catch (error) {
|
|
17195
17197
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -17295,9 +17297,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17295
17297
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
17296
17298
|
const projectId = args[3];
|
|
17297
17299
|
try {
|
|
17298
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
17299
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-
|
|
17300
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-
|
|
17300
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-CkmssSRu.cjs'); });
|
|
17301
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-DLlsV71c.cjs'); }).then(function (n) { return n.persistence; });
|
|
17302
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-B15E2OVy.cjs'); }).then(function (n) { return n.api; });
|
|
17301
17303
|
let userEmail = void 0;
|
|
17302
17304
|
try {
|
|
17303
17305
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -17328,7 +17330,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17328
17330
|
}
|
|
17329
17331
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
17330
17332
|
try {
|
|
17331
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
17333
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-CkmssSRu.cjs'); });
|
|
17332
17334
|
const config = readGeminiLocalConfig();
|
|
17333
17335
|
if (config.googleCloudProject) {
|
|
17334
17336
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -17368,7 +17370,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17368
17370
|
process.exit(0);
|
|
17369
17371
|
}
|
|
17370
17372
|
try {
|
|
17371
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
17373
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-Cx1YcK2o.cjs'); });
|
|
17372
17374
|
let startedBy = void 0;
|
|
17373
17375
|
for (let i = 1; i < args.length; i++) {
|
|
17374
17376
|
if (args[i] === "--started-by") {
|
|
@@ -17398,7 +17400,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17398
17400
|
}
|
|
17399
17401
|
};
|
|
17400
17402
|
try {
|
|
17401
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
17403
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-CjopZZg3.cjs'); });
|
|
17402
17404
|
const parsed = parsePiRunnerArgs(args.slice(1));
|
|
17403
17405
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
17404
17406
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
@@ -17426,7 +17428,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17426
17428
|
return;
|
|
17427
17429
|
} else if (subcommand === "acp") {
|
|
17428
17430
|
try {
|
|
17429
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
17431
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-CjopZZg3.cjs'); });
|
|
17430
17432
|
let startedBy = void 0;
|
|
17431
17433
|
let verbose = false;
|
|
17432
17434
|
const acpArgs = [];
|
|
@@ -17466,7 +17468,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17466
17468
|
return;
|
|
17467
17469
|
} else if (subcommand === "openclaw") {
|
|
17468
17470
|
try {
|
|
17469
|
-
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-
|
|
17471
|
+
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-I4sGAQf1.cjs'); });
|
|
17470
17472
|
let startedBy = void 0;
|
|
17471
17473
|
let verbose = false;
|
|
17472
17474
|
let gatewayUrl;
|
|
@@ -17517,7 +17519,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17517
17519
|
return;
|
|
17518
17520
|
} else if (subcommand === "todo") {
|
|
17519
17521
|
try {
|
|
17520
|
-
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-
|
|
17522
|
+
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-DOi6svw9.cjs'); });
|
|
17521
17523
|
await handleTodoCommand(args.slice(1));
|
|
17522
17524
|
} catch (error) {
|
|
17523
17525
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -17526,7 +17528,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17526
17528
|
return;
|
|
17527
17529
|
} else if (subcommand === "teams") {
|
|
17528
17530
|
try {
|
|
17529
|
-
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-
|
|
17531
|
+
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-DtXQYmEK.cjs'); });
|
|
17530
17532
|
await handleTeamsCommand(args.slice(1));
|
|
17531
17533
|
} catch (error) {
|
|
17532
17534
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -17535,7 +17537,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17535
17537
|
return;
|
|
17536
17538
|
} else if (subcommand === "mcp" && args.length === 1) {
|
|
17537
17539
|
try {
|
|
17538
|
-
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-
|
|
17540
|
+
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-DHkYfENQ.cjs'); });
|
|
17539
17541
|
await handleMcpCommand();
|
|
17540
17542
|
} catch (error) {
|
|
17541
17543
|
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-Dn7s2iaT.cjs');
|
|
5
|
+
require('./limits-DLlsV71c.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('./types-
|
|
7
|
+
require('./types-B15E2OVy.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-R9MH5Cd5.cjs');
|
|
16
16
|
require('node:fs/promises');
|
|
17
17
|
require('fs/promises');
|
|
18
18
|
require('ink');
|