very-happy-cli 0.2.125 → 0.2.126
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-DOQGItcS.mjs → AcpBackend-BzGpBAZ0.mjs} +2 -2
- package/dist/{AcpBackend-ssQpTLks.cjs → AcpBackend-C9eu6CDu.cjs} +2 -2
- package/dist/{AcpSessionManager-D4WkNsRs.mjs → AcpSessionManager-B223yT78.mjs} +1 -1
- package/dist/{AcpSessionManager-DHLc-D50.cjs → AcpSessionManager-DQ1e_0gc.cjs} +1 -1
- package/dist/{agentGuidance-QpYwykb9.mjs → agentGuidance-BR0OFumQ.mjs} +2 -2
- package/dist/{agentGuidance-Cg9ZG1pP.cjs → agentGuidance-Tm8Z5HYp.cjs} +2 -1
- package/dist/codex/happyMcpStdioBridge.cjs +2 -2
- package/dist/codex/happyMcpStdioBridge.mjs +2 -2
- package/dist/{config-CZNIz3W0.mjs → config-Bjd1nG0P.mjs} +4 -4
- package/dist/{config-BxHOGtEK.cjs → config-C0mofvCH.cjs} +4 -4
- package/dist/{index-D-BgvQi5.mjs → index-BP56asuS.mjs} +4 -4
- package/dist/{index-CBj99SO6.cjs → index-CMbKpntk.cjs} +6 -6
- package/dist/{index-Jrk6ud3g.mjs → index-CV6sAa4a.mjs} +7 -7
- package/dist/{index-Do-kjc30.cjs → index-Cw9Zj1Zr.cjs} +23 -23
- package/dist/{index-CrSifgJM.mjs → index-D4eCRu9x.mjs} +19 -19
- package/dist/{index-D_Rm9dw9.cjs → index-HW-KdG6W.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{installTerminalHooks-CPsdeOM4.cjs → installTerminalHooks-CNp1LExn.cjs} +4 -4
- package/dist/{installTerminalHooks-Z1Jb6yjb.mjs → installTerminalHooks-D-CNSalI.mjs} +4 -4
- package/dist/lib.cjs +2 -2
- package/dist/lib.mjs +2 -2
- package/dist/{limits-DViGHwSj.cjs → limits-DG1OQnCb.cjs} +7 -7
- package/dist/{limits-FjbPJPsF.mjs → limits-DlbYYtOw.mjs} +7 -7
- package/dist/{mcp-BbQ5FWcQ.cjs → mcp-BtZoIIIM.cjs} +4 -4
- package/dist/{mcp-zqPJ94Bk.mjs → mcp-D3oV_dH-.mjs} +4 -4
- package/dist/{runGemini-Bu49s_bN.mjs → runGemini-BJ8bU1pP.mjs} +6 -6
- package/dist/{runGemini-BnHGYX-H.cjs → runGemini-BfCSOPL1.cjs} +6 -6
- package/dist/{runOpenClaw-3Ld1eoWV.cjs → runOpenClaw-CBlHXEAT.cjs} +5 -5
- package/dist/{runOpenClaw-CznAYPCh.mjs → runOpenClaw-DTgOpJnO.mjs} +5 -5
- package/dist/{send-BevgS1mf.mjs → send-9duZlpGX.mjs} +4 -4
- package/dist/{send-DCzyBxLl.cjs → send-CDK1bZFj.cjs} +4 -4
- package/dist/{sessions-DSoaBHwA.cjs → sessions-CNkLCorF.cjs} +4 -4
- package/dist/{sessions-Ba2oRTmw.mjs → sessions-jAFOkKvW.mjs} +4 -4
- package/dist/{spawn-j9KBfj4e.mjs → spawn-BG5oHi_f.mjs} +4 -4
- package/dist/{spawn-CqMLY6dE.cjs → spawn-J-A5WGZ7.cjs} +4 -4
- package/dist/{teams-C0ggJTJ-.mjs → teams-Cuqsk7Ty.mjs} +28 -3
- package/dist/{teams-CmU3K9vB.cjs → teams-MgWeyutG.cjs} +28 -3
- package/dist/{types-BGHnQXl5.cjs → types-P5deH8Ls.cjs} +4 -2
- package/dist/{types-DLDkfrTC.mjs → types-n_VWu9qe.mjs} +3 -1
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { spawn } from 'node:child_process';
|
|
2
2
|
import { ndJsonStream, ClientSideConnection } from '@agentclientprotocol/sdk';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import { l as logger, p as packageJson } from './limits-
|
|
5
|
-
import { b as contentLogMetadata, e as errorLogMetadata, d as delay } from './types-
|
|
4
|
+
import { l as logger, p as packageJson } from './limits-DlbYYtOw.mjs';
|
|
5
|
+
import { b as contentLogMetadata, e as errorLogMetadata, d as delay } from './types-n_VWu9qe.mjs';
|
|
6
6
|
|
|
7
7
|
const DEFAULT_TIMEOUTS = {
|
|
8
8
|
/** Default initialization timeout: 60 seconds */
|
|
@@ -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-DG1OQnCb.cjs');
|
|
7
|
+
var api = require('./types-P5deH8Ls.cjs');
|
|
8
8
|
|
|
9
9
|
const DEFAULT_TIMEOUTS = {
|
|
10
10
|
/** Default initialization timeout: 60 seconds */
|
|
@@ -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-n_VWu9qe.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, f as readSettings, r as readPersistedSessions, i as readCredentialsForConfiguredRelay } from './limits-
|
|
3
|
+
import { n as normalizeHttpEndpoint, c as configuration, f as readSettings, r as readPersistedSessions, i as readCredentialsForConfiguredRelay } from './limits-DlbYYtOw.mjs';
|
|
4
4
|
import { open, mkdir, rename, unlink } from 'node:fs/promises';
|
|
5
5
|
import { constants } from 'node:fs';
|
|
6
6
|
import { dirname, isAbsolute, join } from 'node:path';
|
|
@@ -221,4 +221,4 @@ const REPORT_PROGRESS_TOOL_NAME = "report_progress";
|
|
|
221
221
|
const REPORT_PROGRESS_TOOL_TITLE = "Report Progress to the Task Board";
|
|
222
222
|
const REPORT_PROGRESS_TOOL_DESCRIPTION = `Report what you are doing to the user's task board, so they can see the state of this session at a glance without reading the transcript. Call it at meaningful milestones only: when you start substantive work, when you get blocked and need the user, when something is ready for their review, and when you are done. Do NOT call it after every tool call or every file edit \u2014 it is a status line, not a log. Set attention to "blocked" when you cannot proceed without the user, "review" when you want them to look at something, and "none" for ordinary progress. Keep progress to one short line describing the current state (the user reads it on a card).`;
|
|
223
223
|
|
|
224
|
-
export { AGENT_GUIDANCE as A, PREVIEW_TOOL_NAME as P, REPORT_PROGRESS_TOOL_NAME as R, TEAM_TOOL_NAMES as T, PREVIEW_TOOL_TITLE as a, PREVIEW_TOOL_DESCRIPTION as b, createTeamsClient as c,
|
|
224
|
+
export { AGENT_GUIDANCE as A, PREVIEW_TOOL_NAME as P, REPORT_PROGRESS_TOOL_NAME as R, TEAM_TOOL_NAMES as T, PREVIEW_TOOL_TITLE as a, PREVIEW_TOOL_DESCRIPTION as b, createTeamsClient as c, trimIdent as d, REPORT_PROGRESS_TOOL_TITLE as e, REPORT_PROGRESS_TOOL_DESCRIPTION as f, registerTeamsTools as r, teamRequest as t };
|
|
@@ -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-DG1OQnCb.cjs');
|
|
6
6
|
var promises = require('node:fs/promises');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
var path = require('node:path');
|
|
@@ -233,4 +233,5 @@ exports.REPORT_PROGRESS_TOOL_TITLE = REPORT_PROGRESS_TOOL_TITLE;
|
|
|
233
233
|
exports.TEAM_TOOL_NAMES = TEAM_TOOL_NAMES;
|
|
234
234
|
exports.createTeamsClient = createTeamsClient;
|
|
235
235
|
exports.registerTeamsTools = registerTeamsTools;
|
|
236
|
+
exports.teamRequest = teamRequest;
|
|
236
237
|
exports.trimIdent = trimIdent;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var agentGuidance = require('../agentGuidance-
|
|
3
|
+
var agentGuidance = require('../agentGuidance-Tm8Z5HYp.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-DG1OQnCb.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-BR0OFumQ.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-DlbYYtOw.mjs';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'node:fs';
|
|
@@ -2,8 +2,8 @@ import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
|
2
2
|
import { join } from 'path';
|
|
3
3
|
import { homedir } from 'os';
|
|
4
4
|
import { execSync } from 'child_process';
|
|
5
|
-
import { l as logger } from './limits-
|
|
6
|
-
import { j as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-
|
|
5
|
+
import { l as logger } from './limits-DlbYYtOw.mjs';
|
|
6
|
+
import { j as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './index-D4eCRu9x.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-n_VWu9qe.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-BR0OFumQ.mjs';
|
|
32
32
|
import 'ink';
|
|
33
33
|
import 'react';
|
|
34
34
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -4,8 +4,8 @@ var fs = require('fs');
|
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var os = require('os');
|
|
6
6
|
var child_process = require('child_process');
|
|
7
|
-
var persistence = require('./limits-
|
|
8
|
-
var index = require('./index-
|
|
7
|
+
var persistence = require('./limits-DG1OQnCb.cjs');
|
|
8
|
+
var index = require('./index-Cw9Zj1Zr.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-P5deH8Ls.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-Tm8Z5HYp.cjs');
|
|
34
34
|
require('ink');
|
|
35
35
|
require('react');
|
|
36
36
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { q as query } from './index-
|
|
1
|
+
import { q as query } from './index-D4eCRu9x.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-n_VWu9qe.mjs';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import './limits-
|
|
8
|
+
import './limits-DlbYYtOw.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-BR0OFumQ.mjs';
|
|
33
33
|
import 'ink';
|
|
34
34
|
import 'react';
|
|
35
35
|
import 'ps-list';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AcpBackend = require('./AcpBackend-
|
|
4
|
-
var persistence = require('./limits-
|
|
5
|
-
var AcpSessionManager = require('./AcpSessionManager-
|
|
3
|
+
var AcpBackend = require('./AcpBackend-C9eu6CDu.cjs');
|
|
4
|
+
var persistence = require('./limits-DG1OQnCb.cjs');
|
|
5
|
+
var AcpSessionManager = require('./AcpSessionManager-DQ1e_0gc.cjs');
|
|
6
6
|
var promises = require('node:fs/promises');
|
|
7
7
|
var node_crypto = require('node:crypto');
|
|
8
8
|
var path = require('node:path');
|
|
9
9
|
var resources = require('./resources-CVl7NdOB.cjs');
|
|
10
|
-
var api = require('./types-
|
|
11
|
-
var index = require('./index-
|
|
10
|
+
var api = require('./types-P5deH8Ls.cjs');
|
|
11
|
+
var index = require('./index-Cw9Zj1Zr.cjs');
|
|
12
12
|
require('node:child_process');
|
|
13
13
|
require('@agentclientprotocol/sdk');
|
|
14
14
|
require('node:fs');
|
|
@@ -34,7 +34,7 @@ require('fs');
|
|
|
34
34
|
require('node:readline');
|
|
35
35
|
require('@anthropic-ai/sandbox-runtime');
|
|
36
36
|
require('expo-server-sdk');
|
|
37
|
-
require('./agentGuidance-
|
|
37
|
+
require('./agentGuidance-Tm8Z5HYp.cjs');
|
|
38
38
|
require('ink');
|
|
39
39
|
require('react');
|
|
40
40
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -1,13 +1,13 @@
|
|
|
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, f as readSettings, g as encodeBase64, l as logger } from './limits-
|
|
4
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
1
|
+
import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-BzGpBAZ0.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-BzGpBAZ0.mjs';
|
|
3
|
+
import { c as configuration, f as readSettings, g as encodeBase64, l as logger } from './limits-DlbYYtOw.mjs';
|
|
4
|
+
import { A as AcpSessionManager } from './AcpSessionManager-B223yT78.mjs';
|
|
5
5
|
import { mkdir, chmod, writeFile, rename } from 'node:fs/promises';
|
|
6
6
|
import { randomUUID } from 'node:crypto';
|
|
7
7
|
import { join } from 'node:path';
|
|
8
8
|
import { P as PI_TEAMS_EXTENSION } from './resources-D-mn7ptO.mjs';
|
|
9
|
-
import { f as connectionState, A as ApiClient, p as projectPath } from './types-
|
|
10
|
-
import { n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, z as StreamRelay, x as MessageQueue2, B as hashObject, C as startHappyServer, T as TitleGenerator, y as registerKillSessionHandler, E as BasePermissionHandler, F as writeSessionModeFile, H as normalizeAcpPermissionMode, I as removeSessionModeFile } from './index-
|
|
9
|
+
import { f as connectionState, A as ApiClient, p as projectPath } from './types-n_VWu9qe.mjs';
|
|
10
|
+
import { n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, z as StreamRelay, x as MessageQueue2, B as hashObject, C as startHappyServer, T as TitleGenerator, y as registerKillSessionHandler, E as BasePermissionHandler, F as writeSessionModeFile, H as normalizeAcpPermissionMode, I as removeSessionModeFile } from './index-D4eCRu9x.mjs';
|
|
11
11
|
import 'node:child_process';
|
|
12
12
|
import '@agentclientprotocol/sdk';
|
|
13
13
|
import 'node:fs';
|
|
@@ -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-BR0OFumQ.mjs';
|
|
37
37
|
import 'ink';
|
|
38
38
|
import 'react';
|
|
39
39
|
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-P5deH8Ls.cjs');
|
|
7
|
+
var persistence = require('./limits-DG1OQnCb.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-Tm8Z5HYp.cjs');
|
|
13
13
|
var promises = require('node:fs/promises');
|
|
14
14
|
var fs = require('fs/promises');
|
|
15
15
|
var ink = require('ink');
|
|
@@ -7675,7 +7675,7 @@ function parseJsonObject(text) {
|
|
|
7675
7675
|
return null;
|
|
7676
7676
|
}
|
|
7677
7677
|
}
|
|
7678
|
-
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-
|
|
7678
|
+
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-Cw9Zj1Zr.cjs', document.baseURI).href))).resolve(s)) {
|
|
7679
7679
|
const platformArch = `${platform}-${arch}`;
|
|
7680
7680
|
const candidates = [
|
|
7681
7681
|
`@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
|
|
@@ -9445,7 +9445,7 @@ function createTeamWorker(deps) {
|
|
|
9445
9445
|
persistence.writePrivateFileSync(scopeFile, JSON.stringify({ serverUrl: server, scopeToken: credential.token, teamId: op.teamId, botId: op.botId, taskId: op.taskId, attemptId: op.attemptId }));
|
|
9446
9446
|
receipt = { ...receipt, ...resource, scopeFile, phase: "spawning" };
|
|
9447
9447
|
writeReceipt(home, receipt);
|
|
9448
|
-
const spawned = await deps.spawn({ directory: resource.directory, agent: op.assistant === "pi-acp" ? "pi" : op.assistant, permissionMode: "default", spawnedBy: "teams", environmentVariables: { VH_TEAM_SCOPE_FILE: scopeFile, VH_TEAM_OPERATION_ID: op.id } });
|
|
9448
|
+
const spawned = await deps.spawn({ directory: resource.directory, agent: op.assistant === "pi-acp" ? "pi" : op.assistant, permissionMode: op.permissionMode === "bypassPermissions" ? "bypassPermissions" : "default", spawnedBy: "teams", environmentVariables: { VH_TEAM_SCOPE_FILE: scopeFile, VH_TEAM_OPERATION_ID: op.id } });
|
|
9449
9449
|
if (spawned.type !== "success") throw new Error(spawned.type === "error" ? spawned.errorMessage : "Directory approval required");
|
|
9450
9450
|
receipt = { ...receipt, sessionId: spawned.sessionId, phase: "spawned" };
|
|
9451
9451
|
writeReceipt(home, receipt);
|
|
@@ -11834,7 +11834,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
11834
11834
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
11835
11835
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
11836
11836
|
const run = deps.run ?? (async (input) => {
|
|
11837
|
-
const { query } = await Promise.resolve().then(function () { return require('./index-
|
|
11837
|
+
const { query } = await Promise.resolve().then(function () { return require('./index-HW-KdG6W.cjs'); });
|
|
11838
11838
|
return runSideQuestion(query, input);
|
|
11839
11839
|
});
|
|
11840
11840
|
const slots = /* @__PURE__ */ new Map();
|
|
@@ -11936,7 +11936,7 @@ const MAX_TITLE_CHARS = 60;
|
|
|
11936
11936
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
11937
11937
|
function resolveClaudeBinary() {
|
|
11938
11938
|
try {
|
|
11939
|
-
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-
|
|
11939
|
+
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-Cw9Zj1Zr.cjs', document.baseURI).href)));
|
|
11940
11940
|
const utilsPath = path.resolve(path.join(api.projectPath(), "scripts", "claude_version_utils.cjs"));
|
|
11941
11941
|
const { getClaudeCliPath } = require$1(utilsPath);
|
|
11942
11942
|
const path$1 = getClaudeCliPath();
|
|
@@ -14154,9 +14154,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
|
|
|
14154
14154
|
};
|
|
14155
14155
|
}
|
|
14156
14156
|
|
|
14157
|
-
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-
|
|
14157
|
+
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-Cw9Zj1Zr.cjs', document.baseURI).href)));
|
|
14158
14158
|
const __dirname$1 = path.dirname(__filename$1);
|
|
14159
|
-
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
14159
|
+
const require_ = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-Cw9Zj1Zr.cjs', document.baseURI).href)));
|
|
14160
14160
|
const PRISMA_QUERY_ENGINE_FILES = {
|
|
14161
14161
|
"arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
|
|
14162
14162
|
"x64-darwin": "libquery_engine-darwin.dylib.node",
|
|
@@ -16787,7 +16787,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16787
16787
|
process.exit(0);
|
|
16788
16788
|
} else if (subcommand === "install-terminal-hooks") {
|
|
16789
16789
|
try {
|
|
16790
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-
|
|
16790
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await Promise.resolve().then(function () { return require('./installTerminalHooks-CNp1LExn.cjs'); });
|
|
16791
16791
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
16792
16792
|
if (command.action === "help") {
|
|
16793
16793
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -16804,7 +16804,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16804
16804
|
}
|
|
16805
16805
|
} else if (subcommand === "spawn") {
|
|
16806
16806
|
try {
|
|
16807
|
-
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-
|
|
16807
|
+
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-J-A5WGZ7.cjs'); });
|
|
16808
16808
|
await handleSpawnCommand(args.slice(1));
|
|
16809
16809
|
} catch (error) {
|
|
16810
16810
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -16816,7 +16816,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16816
16816
|
return;
|
|
16817
16817
|
} else if (subcommand === "sessions") {
|
|
16818
16818
|
try {
|
|
16819
|
-
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-
|
|
16819
|
+
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-CNkLCorF.cjs'); });
|
|
16820
16820
|
await handleSessionsCommand(args.slice(1));
|
|
16821
16821
|
} catch (error) {
|
|
16822
16822
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -16828,7 +16828,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16828
16828
|
return;
|
|
16829
16829
|
} else if (subcommand === "send") {
|
|
16830
16830
|
try {
|
|
16831
|
-
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-
|
|
16831
|
+
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-CDK1bZFj.cjs'); });
|
|
16832
16832
|
await handleSendCommand(args.slice(1));
|
|
16833
16833
|
} catch (error) {
|
|
16834
16834
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -16934,9 +16934,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16934
16934
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
16935
16935
|
const projectId = args[3];
|
|
16936
16936
|
try {
|
|
16937
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
16938
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-
|
|
16939
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-
|
|
16937
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-C0mofvCH.cjs'); });
|
|
16938
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./limits-DG1OQnCb.cjs'); }).then(function (n) { return n.persistence; });
|
|
16939
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-P5deH8Ls.cjs'); }).then(function (n) { return n.api; });
|
|
16940
16940
|
let userEmail = void 0;
|
|
16941
16941
|
try {
|
|
16942
16942
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -16967,7 +16967,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16967
16967
|
}
|
|
16968
16968
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
16969
16969
|
try {
|
|
16970
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
16970
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-C0mofvCH.cjs'); });
|
|
16971
16971
|
const config = readGeminiLocalConfig();
|
|
16972
16972
|
if (config.googleCloudProject) {
|
|
16973
16973
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -17007,7 +17007,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17007
17007
|
process.exit(0);
|
|
17008
17008
|
}
|
|
17009
17009
|
try {
|
|
17010
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
17010
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-BfCSOPL1.cjs'); });
|
|
17011
17011
|
let startedBy = void 0;
|
|
17012
17012
|
for (let i = 1; i < args.length; i++) {
|
|
17013
17013
|
if (args[i] === "--started-by") {
|
|
@@ -17037,7 +17037,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17037
17037
|
}
|
|
17038
17038
|
};
|
|
17039
17039
|
try {
|
|
17040
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
17040
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-CMbKpntk.cjs'); });
|
|
17041
17041
|
const parsed = parsePiRunnerArgs(args.slice(1));
|
|
17042
17042
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
17043
17043
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
@@ -17064,7 +17064,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17064
17064
|
return;
|
|
17065
17065
|
} else if (subcommand === "acp") {
|
|
17066
17066
|
try {
|
|
17067
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
17067
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-CMbKpntk.cjs'); });
|
|
17068
17068
|
let startedBy = void 0;
|
|
17069
17069
|
let verbose = false;
|
|
17070
17070
|
const acpArgs = [];
|
|
@@ -17104,7 +17104,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17104
17104
|
return;
|
|
17105
17105
|
} else if (subcommand === "openclaw") {
|
|
17106
17106
|
try {
|
|
17107
|
-
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-
|
|
17107
|
+
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-CBlHXEAT.cjs'); });
|
|
17108
17108
|
let startedBy = void 0;
|
|
17109
17109
|
let verbose = false;
|
|
17110
17110
|
let gatewayUrl;
|
|
@@ -17155,7 +17155,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17155
17155
|
return;
|
|
17156
17156
|
} else if (subcommand === "teams") {
|
|
17157
17157
|
try {
|
|
17158
|
-
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-
|
|
17158
|
+
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-MgWeyutG.cjs'); });
|
|
17159
17159
|
await handleTeamsCommand(args.slice(1));
|
|
17160
17160
|
} catch (error) {
|
|
17161
17161
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -17164,7 +17164,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17164
17164
|
return;
|
|
17165
17165
|
} else if (subcommand === "mcp" && args.length === 1) {
|
|
17166
17166
|
try {
|
|
17167
|
-
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-
|
|
17167
|
+
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-BtZoIIIM.cjs'); });
|
|
17168
17168
|
await handleMcpCommand();
|
|
17169
17169
|
} catch (error) {
|
|
17170
17170
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -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 { g as getProjectPath, p as projectPath, h as initializeSandbox, w as wrapCommand, b as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, d as delay, j as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, k as commandOnPath, l as deriveLocalCliUpdateSummary, m as isClaudeSessionId, n as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials, o as parseExactVersion, q as compareExactVersions, t as extractCompleteLines, u as decideBackfill, v as parseTerminalHookPayload, x as tmuxArgs, y as scrubTmuxClientEnv, z as decideMirrorBinding, B as MIRROR_BACKFILL_LINES_DEFAULT, C as mirrorLineKey, D as mirrorLocalId, E as detectCLIAvailability, F as detectResumeSupport, G as summarizeSpawnSessionForLog, H as shellescape, A as ApiClient, J as fetchCliUpdateState, K as resolveCliUpdateCheckInterval, L as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, i as isValidSessionId, N as listVhTerminals, O as isValidTerminalId, P as readVhTerminal, Q as sendToVhTerminal, T as TITLE_PROMPT_PREFIX, U as BOARD_ANALYZER_PROMPT_PREFIX, f as connectionState, V as startOfflineReconnection, c as createEnvelope, W 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, f as readSettings, E as readCredentials, s as credentialRelayProblem, g as encodeBase64, F as readSettingsOutcome, G as updateSettings, H as encodeBase64Url, m as decodeBase64, I as writeCredentialsLegacy, J as writeCredentialsDataKey, i as readCredentialsForConfiguredRelay, j as encrypt, r as readPersistedSessions, w as writePrivateFileSync, K as decryptWithDataKey, L as decryptLegacy, M as persistSession, k as decrypt, e 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, d as CLIPBOARD_MAX_BYTES, S as clearCredentials, T as clearMachineId, U as SandboxConfigSchema, V as getLatestDaemonLog } from './limits-
|
|
4
|
+
import { g as getProjectPath, p as projectPath, h as initializeSandbox, w as wrapCommand, b as contentLogMetadata, I as InvalidateSync, R as RawJSONLinesSchema, d as delay, j as AsyncLock, S as STREAM_DELTA_MAX_CHARS, M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES, k as commandOnPath, l as deriveLocalCliUpdateSummary, m as isClaudeSessionId, n as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials, o as parseExactVersion, q as compareExactVersions, t as extractCompleteLines, u as decideBackfill, v as parseTerminalHookPayload, x as tmuxArgs, y as scrubTmuxClientEnv, z as decideMirrorBinding, B as MIRROR_BACKFILL_LINES_DEFAULT, C as mirrorLineKey, D as mirrorLocalId, E as detectCLIAvailability, F as detectResumeSupport, G as summarizeSpawnSessionForLog, H as shellescape, A as ApiClient, J as fetchCliUpdateState, K as resolveCliUpdateCheckInterval, L as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS, i as isValidSessionId, N as listVhTerminals, O as isValidTerminalId, P as readVhTerminal, Q as sendToVhTerminal, T as TITLE_PROMPT_PREFIX, U as BOARD_ANALYZER_PROMPT_PREFIX, f as connectionState, V as startOfflineReconnection, c as createEnvelope, W as CodexAppServerClient } from './types-n_VWu9qe.mjs';
|
|
5
|
+
import { z as readDaemonState, l as logger, c as configuration, A as clearDaemonState, B as ensurePrivateDirectory, D as hardenPrivateFile, p as packageJson, f as readSettings, E as readCredentials, s as credentialRelayProblem, g as encodeBase64, F as readSettingsOutcome, G as updateSettings, H as encodeBase64Url, m as decodeBase64, I as writeCredentialsLegacy, J as writeCredentialsDataKey, i as readCredentialsForConfiguredRelay, j as encrypt, r as readPersistedSessions, w as writePrivateFileSync, K as decryptWithDataKey, L as decryptLegacy, M as persistSession, k as decrypt, e 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, d as CLIPBOARD_MAX_BYTES, S as clearCredentials, T as clearMachineId, U as SandboxConfigSchema, V as getLatestDaemonLog } from './limits-DlbYYtOw.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 {
|
|
10
|
+
import { d as trimIdent, A as AGENT_GUIDANCE, P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, T as TEAM_TOOL_NAMES, r as registerTeamsTools, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, e as REPORT_PROGRESS_TOOL_TITLE, f as REPORT_PROGRESS_TOOL_DESCRIPTION } from './agentGuidance-BR0OFumQ.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';
|
|
@@ -9423,7 +9423,7 @@ function createTeamWorker(deps) {
|
|
|
9423
9423
|
writePrivateFileSync(scopeFile, JSON.stringify({ serverUrl: server, scopeToken: credential.token, teamId: op.teamId, botId: op.botId, taskId: op.taskId, attemptId: op.attemptId }));
|
|
9424
9424
|
receipt = { ...receipt, ...resource, scopeFile, phase: "spawning" };
|
|
9425
9425
|
writeReceipt(home, receipt);
|
|
9426
|
-
const spawned = await deps.spawn({ directory: resource.directory, agent: op.assistant === "pi-acp" ? "pi" : op.assistant, permissionMode: "default", spawnedBy: "teams", environmentVariables: { VH_TEAM_SCOPE_FILE: scopeFile, VH_TEAM_OPERATION_ID: op.id } });
|
|
9426
|
+
const spawned = await deps.spawn({ directory: resource.directory, agent: op.assistant === "pi-acp" ? "pi" : op.assistant, permissionMode: op.permissionMode === "bypassPermissions" ? "bypassPermissions" : "default", spawnedBy: "teams", environmentVariables: { VH_TEAM_SCOPE_FILE: scopeFile, VH_TEAM_OPERATION_ID: op.id } });
|
|
9427
9427
|
if (spawned.type !== "success") throw new Error(spawned.type === "error" ? spawned.errorMessage : "Directory approval required");
|
|
9428
9428
|
receipt = { ...receipt, sessionId: spawned.sessionId, phase: "spawned" };
|
|
9429
9429
|
writeReceipt(home, receipt);
|
|
@@ -11812,7 +11812,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
11812
11812
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
11813
11813
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
11814
11814
|
const run = deps.run ?? (async (input) => {
|
|
11815
|
-
const { query } = await import('./index-
|
|
11815
|
+
const { query } = await import('./index-BP56asuS.mjs');
|
|
11816
11816
|
return runSideQuestion(query, input);
|
|
11817
11817
|
});
|
|
11818
11818
|
const slots = /* @__PURE__ */ new Map();
|
|
@@ -16765,7 +16765,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16765
16765
|
process.exit(0);
|
|
16766
16766
|
} else if (subcommand === "install-terminal-hooks") {
|
|
16767
16767
|
try {
|
|
16768
|
-
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-
|
|
16768
|
+
const { installTerminalHooks, parseTerminalHooksArgs, TERMINAL_HOOKS_HELP } = await import('./installTerminalHooks-D-CNSalI.mjs');
|
|
16769
16769
|
const command = parseTerminalHooksArgs(args.slice(1));
|
|
16770
16770
|
if (command.action === "help") {
|
|
16771
16771
|
console.log(TERMINAL_HOOKS_HELP);
|
|
@@ -16782,7 +16782,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16782
16782
|
}
|
|
16783
16783
|
} else if (subcommand === "spawn") {
|
|
16784
16784
|
try {
|
|
16785
|
-
const { handleSpawnCommand } = await import('./spawn-
|
|
16785
|
+
const { handleSpawnCommand } = await import('./spawn-BG5oHi_f.mjs');
|
|
16786
16786
|
await handleSpawnCommand(args.slice(1));
|
|
16787
16787
|
} catch (error) {
|
|
16788
16788
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -16794,7 +16794,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16794
16794
|
return;
|
|
16795
16795
|
} else if (subcommand === "sessions") {
|
|
16796
16796
|
try {
|
|
16797
|
-
const { handleSessionsCommand } = await import('./sessions-
|
|
16797
|
+
const { handleSessionsCommand } = await import('./sessions-jAFOkKvW.mjs');
|
|
16798
16798
|
await handleSessionsCommand(args.slice(1));
|
|
16799
16799
|
} catch (error) {
|
|
16800
16800
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -16806,7 +16806,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16806
16806
|
return;
|
|
16807
16807
|
} else if (subcommand === "send") {
|
|
16808
16808
|
try {
|
|
16809
|
-
const { handleSendCommand } = await import('./send-
|
|
16809
|
+
const { handleSendCommand } = await import('./send-9duZlpGX.mjs');
|
|
16810
16810
|
await handleSendCommand(args.slice(1));
|
|
16811
16811
|
} catch (error) {
|
|
16812
16812
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -16912,9 +16912,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16912
16912
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
16913
16913
|
const projectId = args[3];
|
|
16914
16914
|
try {
|
|
16915
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
16916
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-
|
|
16917
|
-
const { ApiClient: ApiClient2 } = await import('./types-
|
|
16915
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-Bjd1nG0P.mjs');
|
|
16916
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./limits-DlbYYtOw.mjs').then(function (n) { return n.W; });
|
|
16917
|
+
const { ApiClient: ApiClient2 } = await import('./types-n_VWu9qe.mjs').then(function (n) { return n.X; });
|
|
16918
16918
|
let userEmail = void 0;
|
|
16919
16919
|
try {
|
|
16920
16920
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -16945,7 +16945,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16945
16945
|
}
|
|
16946
16946
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
16947
16947
|
try {
|
|
16948
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
16948
|
+
const { readGeminiLocalConfig } = await import('./config-Bjd1nG0P.mjs');
|
|
16949
16949
|
const config = readGeminiLocalConfig();
|
|
16950
16950
|
if (config.googleCloudProject) {
|
|
16951
16951
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -16985,7 +16985,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
16985
16985
|
process.exit(0);
|
|
16986
16986
|
}
|
|
16987
16987
|
try {
|
|
16988
|
-
const { runGemini } = await import('./runGemini-
|
|
16988
|
+
const { runGemini } = await import('./runGemini-BJ8bU1pP.mjs');
|
|
16989
16989
|
let startedBy = void 0;
|
|
16990
16990
|
for (let i = 1; i < args.length; i++) {
|
|
16991
16991
|
if (args[i] === "--started-by") {
|
|
@@ -17015,7 +17015,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17015
17015
|
}
|
|
17016
17016
|
};
|
|
17017
17017
|
try {
|
|
17018
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
17018
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-CV6sAa4a.mjs');
|
|
17019
17019
|
const parsed = parsePiRunnerArgs(args.slice(1));
|
|
17020
17020
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
17021
17021
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
@@ -17042,7 +17042,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17042
17042
|
return;
|
|
17043
17043
|
} else if (subcommand === "acp") {
|
|
17044
17044
|
try {
|
|
17045
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
17045
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-CV6sAa4a.mjs');
|
|
17046
17046
|
let startedBy = void 0;
|
|
17047
17047
|
let verbose = false;
|
|
17048
17048
|
const acpArgs = [];
|
|
@@ -17082,7 +17082,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17082
17082
|
return;
|
|
17083
17083
|
} else if (subcommand === "openclaw") {
|
|
17084
17084
|
try {
|
|
17085
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
17085
|
+
const { runOpenClaw } = await import('./runOpenClaw-DTgOpJnO.mjs');
|
|
17086
17086
|
let startedBy = void 0;
|
|
17087
17087
|
let verbose = false;
|
|
17088
17088
|
let gatewayUrl;
|
|
@@ -17133,7 +17133,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17133
17133
|
return;
|
|
17134
17134
|
} else if (subcommand === "teams") {
|
|
17135
17135
|
try {
|
|
17136
|
-
const { handleTeamsCommand } = await import('./teams-
|
|
17136
|
+
const { handleTeamsCommand } = await import('./teams-Cuqsk7Ty.mjs');
|
|
17137
17137
|
await handleTeamsCommand(args.slice(1));
|
|
17138
17138
|
} catch (error) {
|
|
17139
17139
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -17142,7 +17142,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
17142
17142
|
return;
|
|
17143
17143
|
} else if (subcommand === "mcp" && args.length === 1) {
|
|
17144
17144
|
try {
|
|
17145
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
17145
|
+
const { handleMcpCommand } = await import('./mcp-D3oV_dH-.mjs');
|
|
17146
17146
|
await handleMcpCommand();
|
|
17147
17147
|
} catch (error) {
|
|
17148
17148
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cw9Zj1Zr.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-P5deH8Ls.cjs');
|
|
9
9
|
require('axios');
|
|
10
|
-
require('./limits-
|
|
10
|
+
require('./limits-DG1OQnCb.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-Tm8Z5HYp.cjs');
|
|
35
35
|
require('ink');
|
|
36
36
|
require('react');
|
|
37
37
|
require('ps-list');
|