very-happy-cli 0.2.136 → 0.2.137
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-CRzu0_1Z.cjs → AcpBackend-Bcmm51Ya.cjs} +2 -2
- package/dist/{AcpBackend-C142vP3p.mjs → AcpBackend-POcimRNQ.mjs} +2 -2
- package/dist/{AcpSessionManager-Ba6WMLXc.cjs → AcpSessionManager-CjrwSZbh.cjs} +1 -1
- package/dist/{AcpSessionManager-CosTbAlR.mjs → AcpSessionManager-D54Juu2-.mjs} +1 -1
- package/dist/{agentGuidance-6yh_wPwD.cjs → agentGuidance-D1tKg2UW.cjs} +1 -1
- package/dist/{agentGuidance-ASxKHxBP.mjs → agentGuidance-DulugsMk.mjs} +1 -1
- package/dist/codex/happyMcpStdioBridge.cjs +2 -2
- package/dist/codex/happyMcpStdioBridge.mjs +2 -2
- package/dist/{config-VqHQ67d8.mjs → config-C1gQprK_.mjs} +4 -4
- package/dist/{config--cxxmkOd.cjs → config-Dr3A4IGp.cjs} +4 -4
- package/dist/{index-8bwU9d-4.cjs → index-B0KIJdSt.cjs} +23 -23
- package/dist/{index-D3vlFjXy.mjs → index-B11rFE7f.mjs} +7 -7
- package/dist/{index-BPVQFcKW.cjs → index-C3JqT3Ql.cjs} +6 -6
- package/dist/{index-vN4Xf0zB.mjs → index-C3agc8KT.mjs} +4 -4
- package/dist/{index-CHI7iTa0.mjs → index-D5MRxCHs.mjs} +19 -19
- package/dist/{index-BqbtKX0T.cjs → index-hGg5G5uO.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{installTerminalHooks-2POBqVlu.cjs → installTerminalHooks-Culr259-.cjs} +4 -4
- package/dist/{installTerminalHooks-D0YRu_p-.mjs → installTerminalHooks-DfZTXVWO.mjs} +4 -4
- package/dist/lib.cjs +2 -2
- package/dist/lib.mjs +2 -2
- package/dist/{limits-kjHZUlSp.mjs → limits-CAD4UF8w.mjs} +7 -7
- package/dist/{limits-DRrdJ7gr.cjs → limits-CJrrAhB4.cjs} +7 -7
- package/dist/{mcp-C1JQsM1s.cjs → mcp-5Jf6V4eb.cjs} +4 -4
- package/dist/{mcp-CgjEHlky.mjs → mcp-CdnZbYKV.mjs} +4 -4
- package/dist/{runGemini-DufGnnl2.mjs → runGemini-CwWEorS7.mjs} +6 -6
- package/dist/{runGemini-B9Rc-H0G.cjs → runGemini-GjBPzXEt.cjs} +6 -6
- package/dist/{runOpenClaw-DAl2nnjB.mjs → runOpenClaw-BZHHy9T7.mjs} +5 -5
- package/dist/{runOpenClaw-BsRRKDvF.cjs → runOpenClaw-DGe5c571.cjs} +5 -5
- package/dist/{send-BHquPaeG.mjs → send-BN2PncAH.mjs} +4 -4
- package/dist/{send-DP6n2J9x.cjs → send-teYpfTtw.cjs} +4 -4
- package/dist/{sessions-BtrLzv5U.mjs → sessions-TLUfYdLX.mjs} +4 -4
- package/dist/{sessions-Q4BR02dG.cjs → sessions-qP1YUf5E.cjs} +4 -4
- package/dist/{spawn-DuQXydqI.mjs → spawn-D3P8wJ_r.mjs} +4 -4
- package/dist/{spawn-CMjhlwlD.cjs → spawn-GekaZ7h2.cjs} +4 -4
- package/dist/{teams-CkdUH10-.cjs → teams-BSqAW2S5.cjs} +4 -4
- package/dist/{teams-D5HxnyaW.mjs → teams-WSjEXh4d.mjs} +4 -4
- package/dist/{todo-BiLIZH4t.mjs → todo-BblDgT77.mjs} +3 -3
- package/dist/{todo-CaYedmtq.cjs → todo-DsnXWl77.cjs} +3 -3
- package/dist/{types-BKrZubg8.mjs → types-B8g_V-LQ.mjs} +19 -5
- package/dist/{types-DbBPNIwf.cjs → types-BAhQF6Xp.cjs} +20 -6
- package/package.json +7 -7
|
@@ -5,10 +5,10 @@ var path = require('node:path');
|
|
|
5
5
|
var os = require('node:os');
|
|
6
6
|
var node_child_process = require('node:child_process');
|
|
7
7
|
var chalk = require('chalk');
|
|
8
|
-
var api = require('./types-
|
|
9
|
-
var index = require('./index-
|
|
8
|
+
var api = require('./types-BAhQF6Xp.cjs');
|
|
9
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
10
10
|
require('axios');
|
|
11
|
-
require('./limits-
|
|
11
|
+
require('./limits-CJrrAhB4.cjs');
|
|
12
12
|
require('node:fs/promises');
|
|
13
13
|
require('zod');
|
|
14
14
|
require('node:crypto');
|
|
@@ -30,7 +30,7 @@ require('fs');
|
|
|
30
30
|
require('node:readline');
|
|
31
31
|
require('@anthropic-ai/sandbox-runtime');
|
|
32
32
|
require('expo-server-sdk');
|
|
33
|
-
require('./agentGuidance-
|
|
33
|
+
require('./agentGuidance-D1tKg2UW.cjs');
|
|
34
34
|
require('ink');
|
|
35
35
|
require('react');
|
|
36
36
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -3,10 +3,10 @@ import { join, resolve } from 'node:path';
|
|
|
3
3
|
import { homedir } from 'node:os';
|
|
4
4
|
import { spawnSync } from 'node:child_process';
|
|
5
5
|
import chalk from 'chalk';
|
|
6
|
-
import { p as projectPath } from './types-
|
|
7
|
-
import { t as tmuxSupportsSessionEnv } from './index-
|
|
6
|
+
import { p as projectPath } from './types-B8g_V-LQ.mjs';
|
|
7
|
+
import { t as tmuxSupportsSessionEnv } from './index-D5MRxCHs.mjs';
|
|
8
8
|
import 'axios';
|
|
9
|
-
import './limits-
|
|
9
|
+
import './limits-CAD4UF8w.mjs';
|
|
10
10
|
import 'node:fs/promises';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'node:crypto';
|
|
@@ -28,7 +28,7 @@ import 'fs';
|
|
|
28
28
|
import 'node:readline';
|
|
29
29
|
import '@anthropic-ai/sandbox-runtime';
|
|
30
30
|
import 'expo-server-sdk';
|
|
31
|
-
import './agentGuidance-
|
|
31
|
+
import './agentGuidance-DulugsMk.mjs';
|
|
32
32
|
import 'ink';
|
|
33
33
|
import 'react';
|
|
34
34
|
import '@anthropic-ai/claude-agent-sdk';
|
package/dist/lib.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var api = require('./types-
|
|
4
|
-
var persistence = require('./limits-
|
|
3
|
+
var api = require('./types-BAhQF6Xp.cjs');
|
|
4
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
5
5
|
require('axios');
|
|
6
6
|
require('node:events');
|
|
7
7
|
require('socket.io-client');
|
package/dist/lib.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema } from './types-
|
|
2
|
-
export { c as configuration, l as logger } from './limits-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema } from './types-B8g_V-LQ.mjs';
|
|
2
|
+
export { c as configuration, l as logger } from './limits-CAD4UF8w.mjs';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import 'node:events';
|
|
5
5
|
import 'socket.io-client';
|
|
@@ -9,7 +9,7 @@ import chalk from 'chalk';
|
|
|
9
9
|
import { inspect } from 'node:util';
|
|
10
10
|
|
|
11
11
|
var name = "very-happy-cli";
|
|
12
|
-
var version = "0.2.
|
|
12
|
+
var version = "0.2.137";
|
|
13
13
|
var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
|
|
14
14
|
var author = "Kirill Dubovitskiy";
|
|
15
15
|
var contributors = [
|
|
@@ -122,12 +122,12 @@ var dependencies = {
|
|
|
122
122
|
zod: "^4.0.0"
|
|
123
123
|
};
|
|
124
124
|
var optionalDependencies = {
|
|
125
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
126
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
127
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
128
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
129
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
130
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
125
|
+
"very-happy-tools-arm64-darwin": "0.2.137",
|
|
126
|
+
"very-happy-tools-x64-darwin": "0.2.137",
|
|
127
|
+
"very-happy-tools-arm64-linux": "0.2.137",
|
|
128
|
+
"very-happy-tools-x64-linux": "0.2.137",
|
|
129
|
+
"very-happy-tools-arm64-win32": "0.2.137",
|
|
130
|
+
"very-happy-tools-x64-win32": "0.2.137"
|
|
131
131
|
};
|
|
132
132
|
var devDependencies = {
|
|
133
133
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -30,7 +30,7 @@ function _interopNamespaceDefault(e) {
|
|
|
30
30
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
31
31
|
|
|
32
32
|
var name = "very-happy-cli";
|
|
33
|
-
var version = "0.2.
|
|
33
|
+
var version = "0.2.137";
|
|
34
34
|
var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
|
|
35
35
|
var author = "Kirill Dubovitskiy";
|
|
36
36
|
var contributors = [
|
|
@@ -143,12 +143,12 @@ var dependencies = {
|
|
|
143
143
|
zod: "^4.0.0"
|
|
144
144
|
};
|
|
145
145
|
var optionalDependencies = {
|
|
146
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
147
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
148
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
149
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
150
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
151
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
146
|
+
"very-happy-tools-arm64-darwin": "0.2.137",
|
|
147
|
+
"very-happy-tools-x64-darwin": "0.2.137",
|
|
148
|
+
"very-happy-tools-arm64-linux": "0.2.137",
|
|
149
|
+
"very-happy-tools-x64-linux": "0.2.137",
|
|
150
|
+
"very-happy-tools-arm64-win32": "0.2.137",
|
|
151
|
+
"very-happy-tools-x64-win32": "0.2.137"
|
|
152
152
|
};
|
|
153
153
|
var devDependencies = {
|
|
154
154
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var agentGuidance = require('./agentGuidance-
|
|
3
|
+
var agentGuidance = require('./agentGuidance-D1tKg2UW.cjs');
|
|
4
4
|
var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
5
5
|
var stdio_js = require('@modelcontextprotocol/sdk/server/stdio.js');
|
|
6
6
|
var z = require('zod');
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var persistence = require('./limits-
|
|
7
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
8
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
9
9
|
require('node:fs/promises');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:crypto');
|
|
@@ -13,7 +13,7 @@ require('axios');
|
|
|
13
13
|
require('tweetnacl');
|
|
14
14
|
require('socket.io-client');
|
|
15
15
|
require('node:child_process');
|
|
16
|
-
require('./types-
|
|
16
|
+
require('./types-BAhQF6Xp.cjs');
|
|
17
17
|
require('node:fs');
|
|
18
18
|
require('node:path');
|
|
19
19
|
require('chalk');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerTeamsTools } from './agentGuidance-
|
|
1
|
+
import { r as registerTeamsTools } from './agentGuidance-DulugsMk.mjs';
|
|
2
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
3
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { p as pushClipboardViaDaemon, k as setTerminalTitleViaDaemon, m as registerAssistantSessionTools } from './index-
|
|
6
|
-
import { l as logger, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES } from './limits-
|
|
5
|
+
import { p as pushClipboardViaDaemon, k as setTerminalTitleViaDaemon, m as registerAssistantSessionTools } from './index-D5MRxCHs.mjs';
|
|
6
|
+
import { l as logger, C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, e as CLIPBOARD_MAX_BYTES } from './limits-CAD4UF8w.mjs';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'node:crypto';
|
|
@@ -11,7 +11,7 @@ import 'axios';
|
|
|
11
11
|
import 'tweetnacl';
|
|
12
12
|
import 'socket.io-client';
|
|
13
13
|
import 'node:child_process';
|
|
14
|
-
import './types-
|
|
14
|
+
import './types-B8g_V-LQ.mjs';
|
|
15
15
|
import 'node:fs';
|
|
16
16
|
import 'node:path';
|
|
17
17
|
import 'chalk';
|
|
@@ -2,11 +2,11 @@ import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
|
2
2
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
|
-
import { f as connectionState, A as ApiClient, e as errorLogMetadata, p as projectPath, d as contentLogMetadata } from './types-
|
|
6
|
-
import { l as logger, g as readSettings, i as encodeBase64 } from './limits-
|
|
7
|
-
import { Q as GEMINI_API_KEY_ENV, R as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, K as BasePermissionHandler, U as BaseReasoningProcessor, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, B as hashObject, V as MessageBuffer, W as CHANGE_TITLE_INSTRUCTION, y as registerKillSessionHandler, C as startHappyServer } from './index-
|
|
8
|
-
import { A as AcpBackend } from './AcpBackend-
|
|
9
|
-
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-
|
|
5
|
+
import { f as connectionState, A as ApiClient, e as errorLogMetadata, p as projectPath, d as contentLogMetadata } from './types-B8g_V-LQ.mjs';
|
|
6
|
+
import { l as logger, g as readSettings, i as encodeBase64 } from './limits-CAD4UF8w.mjs';
|
|
7
|
+
import { Q as GEMINI_API_KEY_ENV, R as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, K as BasePermissionHandler, U as BaseReasoningProcessor, n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, B as hashObject, V as MessageBuffer, W as CHANGE_TITLE_INSTRUCTION, y as registerKillSessionHandler, C as startHappyServer } from './index-D5MRxCHs.mjs';
|
|
8
|
+
import { A as AcpBackend } from './AcpBackend-POcimRNQ.mjs';
|
|
9
|
+
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-C1gQprK_.mjs';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import 'node:events';
|
|
12
12
|
import 'socket.io-client';
|
|
@@ -32,7 +32,7 @@ import '@anthropic-ai/sandbox-runtime';
|
|
|
32
32
|
import 'expo-server-sdk';
|
|
33
33
|
import 'chalk';
|
|
34
34
|
import 'node:util';
|
|
35
|
-
import './agentGuidance-
|
|
35
|
+
import './agentGuidance-DulugsMk.mjs';
|
|
36
36
|
import '@anthropic-ai/claude-agent-sdk';
|
|
37
37
|
import 'ps-list';
|
|
38
38
|
import 'tmp';
|
|
@@ -4,11 +4,11 @@ var ink = require('ink');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
6
|
var path = require('node:path');
|
|
7
|
-
var api = require('./types-
|
|
8
|
-
var persistence = require('./limits-
|
|
9
|
-
var index = require('./index-
|
|
10
|
-
var AcpBackend = require('./AcpBackend-
|
|
11
|
-
var config = require('./config
|
|
7
|
+
var api = require('./types-BAhQF6Xp.cjs');
|
|
8
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
9
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
10
|
+
var AcpBackend = require('./AcpBackend-Bcmm51Ya.cjs');
|
|
11
|
+
var config = require('./config-Dr3A4IGp.cjs');
|
|
12
12
|
require('axios');
|
|
13
13
|
require('node:events');
|
|
14
14
|
require('socket.io-client');
|
|
@@ -34,7 +34,7 @@ require('@anthropic-ai/sandbox-runtime');
|
|
|
34
34
|
require('expo-server-sdk');
|
|
35
35
|
require('chalk');
|
|
36
36
|
require('node:util');
|
|
37
|
-
require('./agentGuidance-
|
|
37
|
+
require('./agentGuidance-D1tKg2UW.cjs');
|
|
38
38
|
require('@anthropic-ai/claude-agent-sdk');
|
|
39
39
|
require('ps-list');
|
|
40
40
|
require('tmp');
|
|
@@ -3,10 +3,10 @@ import { execFileSync } from 'node:child_process';
|
|
|
3
3
|
import os from 'node:os';
|
|
4
4
|
import { existsSync, readFileSync } from 'node:fs';
|
|
5
5
|
import { join } from 'node:path';
|
|
6
|
-
import { e as errorLogMetadata, d as contentLogMetadata, f as connectionState, A as ApiClient } from './types-
|
|
7
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
8
|
-
import { f as ensurePrivateDirectorySync, h as hardenPrivateFileSync, w as writePrivateFileSync, g as readSettings, i as encodeBase64, l as logger, c as configuration } from './limits-
|
|
9
|
-
import { n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, y as registerKillSessionHandler } from './index-
|
|
6
|
+
import { e as errorLogMetadata, d as contentLogMetadata, f as connectionState, A as ApiClient } from './types-B8g_V-LQ.mjs';
|
|
7
|
+
import { A as AcpSessionManager } from './AcpSessionManager-D54Juu2-.mjs';
|
|
8
|
+
import { f as ensurePrivateDirectorySync, h as hardenPrivateFileSync, w as writePrivateFileSync, g as readSettings, i as encodeBase64, l as logger, c as configuration } from './limits-CAD4UF8w.mjs';
|
|
9
|
+
import { n as initialMachineMetadata, o as createSessionMetadata, u as setupOfflineReconnection, v as notifyDaemonSessionStarted, x as MessageQueue2, y as registerKillSessionHandler } from './index-D5MRxCHs.mjs';
|
|
10
10
|
import WebSocket from 'ws';
|
|
11
11
|
import * as ed from '@noble/ed25519';
|
|
12
12
|
import { sha512 } from '@noble/hashes/sha2.js';
|
|
@@ -32,7 +32,7 @@ import '@anthropic-ai/sandbox-runtime';
|
|
|
32
32
|
import 'expo-server-sdk';
|
|
33
33
|
import 'chalk';
|
|
34
34
|
import 'node:util';
|
|
35
|
-
import './agentGuidance-
|
|
35
|
+
import './agentGuidance-DulugsMk.mjs';
|
|
36
36
|
import 'ink';
|
|
37
37
|
import 'react';
|
|
38
38
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -5,10 +5,10 @@ var node_child_process = require('node:child_process');
|
|
|
5
5
|
var os = require('node:os');
|
|
6
6
|
var node_fs = require('node:fs');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var api = require('./types-
|
|
9
|
-
var AcpSessionManager = require('./AcpSessionManager-
|
|
10
|
-
var persistence = require('./limits-
|
|
11
|
-
var index = require('./index-
|
|
8
|
+
var api = require('./types-BAhQF6Xp.cjs');
|
|
9
|
+
var AcpSessionManager = require('./AcpSessionManager-CjrwSZbh.cjs');
|
|
10
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
11
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
12
12
|
var WebSocket = require('ws');
|
|
13
13
|
var ed = require('@noble/ed25519');
|
|
14
14
|
var sha2_js = require('@noble/hashes/sha2.js');
|
|
@@ -34,7 +34,7 @@ require('@anthropic-ai/sandbox-runtime');
|
|
|
34
34
|
require('expo-server-sdk');
|
|
35
35
|
require('chalk');
|
|
36
36
|
require('node:util');
|
|
37
|
-
require('./agentGuidance-
|
|
37
|
+
require('./agentGuidance-D1tKg2UW.cjs');
|
|
38
38
|
require('ink');
|
|
39
39
|
require('react');
|
|
40
40
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { readFileSync } from 'node:fs';
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
|
-
import { r as readPersistedSessions, c as configuration } from './limits-
|
|
5
|
-
import { d as sendUserMessage, a as sessionWebUrl } from './index-
|
|
4
|
+
import { r as readPersistedSessions, c as configuration } from './limits-CAD4UF8w.mjs';
|
|
5
|
+
import { d as sendUserMessage, a as sessionWebUrl } from './index-D5MRxCHs.mjs';
|
|
6
6
|
import 'node:fs/promises';
|
|
7
7
|
import 'node:os';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'node:crypto';
|
|
10
10
|
import 'tweetnacl';
|
|
11
11
|
import 'node:util';
|
|
12
|
-
import './types-
|
|
12
|
+
import './types-B8g_V-LQ.mjs';
|
|
13
13
|
import 'axios';
|
|
14
14
|
import 'node:events';
|
|
15
15
|
import 'socket.io-client';
|
|
@@ -28,7 +28,7 @@ import 'fs';
|
|
|
28
28
|
import 'node:readline';
|
|
29
29
|
import '@anthropic-ai/sandbox-runtime';
|
|
30
30
|
import 'expo-server-sdk';
|
|
31
|
-
import './agentGuidance-
|
|
31
|
+
import './agentGuidance-DulugsMk.mjs';
|
|
32
32
|
import 'ink';
|
|
33
33
|
import 'react';
|
|
34
34
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var persistence = require('./limits-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
7
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
8
8
|
require('node:fs/promises');
|
|
9
9
|
require('node:os');
|
|
10
10
|
require('zod');
|
|
11
11
|
require('node:crypto');
|
|
12
12
|
require('tweetnacl');
|
|
13
13
|
require('node:util');
|
|
14
|
-
require('./types-
|
|
14
|
+
require('./types-BAhQF6Xp.cjs');
|
|
15
15
|
require('axios');
|
|
16
16
|
require('node:events');
|
|
17
17
|
require('socket.io-client');
|
|
@@ -30,7 +30,7 @@ require('fs');
|
|
|
30
30
|
require('node:readline');
|
|
31
31
|
require('@anthropic-ai/sandbox-runtime');
|
|
32
32
|
require('expo-server-sdk');
|
|
33
|
-
require('./agentGuidance-
|
|
33
|
+
require('./agentGuidance-D1tKg2UW.cjs');
|
|
34
34
|
require('ink');
|
|
35
35
|
require('react');
|
|
36
36
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, e as listSessions, r as readSessionTranscript, f as stopSession, g as resolvePermissionRequest, h as archiveSession } from './index-
|
|
3
|
-
import { i as isValidSessionId } from './types-
|
|
2
|
+
import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, e as listSessions, r as readSessionTranscript, f as stopSession, g as resolvePermissionRequest, h as archiveSession } from './index-D5MRxCHs.mjs';
|
|
3
|
+
import { i as isValidSessionId } from './types-B8g_V-LQ.mjs';
|
|
4
4
|
import 'node:os';
|
|
5
5
|
import 'node:crypto';
|
|
6
|
-
import './limits-
|
|
6
|
+
import './limits-CAD4UF8w.mjs';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
8
|
import 'node:fs';
|
|
9
9
|
import 'node:path';
|
|
@@ -12,7 +12,7 @@ import 'tweetnacl';
|
|
|
12
12
|
import 'node:util';
|
|
13
13
|
import 'cross-spawn';
|
|
14
14
|
import 'node:readline';
|
|
15
|
-
import './agentGuidance-
|
|
15
|
+
import './agentGuidance-DulugsMk.mjs';
|
|
16
16
|
import 'fs/promises';
|
|
17
17
|
import 'ink';
|
|
18
18
|
import 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var api = require('./types-
|
|
4
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
5
|
+
var api = require('./types-BAhQF6Xp.cjs');
|
|
6
6
|
require('node:os');
|
|
7
7
|
require('node:crypto');
|
|
8
|
-
require('./limits-
|
|
8
|
+
require('./limits-CJrrAhB4.cjs');
|
|
9
9
|
require('node:fs/promises');
|
|
10
10
|
require('node:fs');
|
|
11
11
|
require('node:path');
|
|
@@ -14,7 +14,7 @@ require('tweetnacl');
|
|
|
14
14
|
require('node:util');
|
|
15
15
|
require('cross-spawn');
|
|
16
16
|
require('node:readline');
|
|
17
|
-
require('./agentGuidance-
|
|
17
|
+
require('./agentGuidance-D1tKg2UW.cjs');
|
|
18
18
|
require('fs/promises');
|
|
19
19
|
require('ink');
|
|
20
20
|
require('react');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { readFileSync, statSync } from 'node:fs';
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
|
-
import { c as checkIfDaemonRunningAndCleanupStaleState, s as spawnDaemonSession, a as sessionWebUrl, i as isValidSpawnOrigin, b as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS, w as waitForSessionKey, d as sendUserMessage } from './index-
|
|
5
|
-
import { l as logger } from './limits-
|
|
4
|
+
import { c as checkIfDaemonRunningAndCleanupStaleState, s as spawnDaemonSession, a as sessionWebUrl, i as isValidSpawnOrigin, b as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS, w as waitForSessionKey, d as sendUserMessage } from './index-D5MRxCHs.mjs';
|
|
5
|
+
import { l as logger } from './limits-CAD4UF8w.mjs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:crypto';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-B8g_V-LQ.mjs';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import 'node:events';
|
|
11
11
|
import 'socket.io-client';
|
|
@@ -27,7 +27,7 @@ import 'tweetnacl';
|
|
|
27
27
|
import 'node:readline';
|
|
28
28
|
import '@anthropic-ai/sandbox-runtime';
|
|
29
29
|
import 'expo-server-sdk';
|
|
30
|
-
import './agentGuidance-
|
|
30
|
+
import './agentGuidance-DulugsMk.mjs';
|
|
31
31
|
import 'ink';
|
|
32
32
|
import 'react';
|
|
33
33
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var persistence = require('./limits-
|
|
6
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
7
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
8
8
|
require('node:os');
|
|
9
9
|
require('node:crypto');
|
|
10
|
-
require('./types-
|
|
10
|
+
require('./types-BAhQF6Xp.cjs');
|
|
11
11
|
require('axios');
|
|
12
12
|
require('node:events');
|
|
13
13
|
require('socket.io-client');
|
|
@@ -29,7 +29,7 @@ require('tweetnacl');
|
|
|
29
29
|
require('node:readline');
|
|
30
30
|
require('@anthropic-ai/sandbox-runtime');
|
|
31
31
|
require('expo-server-sdk');
|
|
32
|
-
require('./agentGuidance-
|
|
32
|
+
require('./agentGuidance-D1tKg2UW.cjs');
|
|
33
33
|
require('ink');
|
|
34
34
|
require('react');
|
|
35
35
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -4,15 +4,15 @@ var os = require('node:os');
|
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
|
-
var agentGuidance = require('./agentGuidance-
|
|
8
|
-
var persistence = require('./limits-
|
|
7
|
+
var agentGuidance = require('./agentGuidance-D1tKg2UW.cjs');
|
|
8
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
9
9
|
var path = require('node:path');
|
|
10
|
-
var index = require('./index-
|
|
10
|
+
var index = require('./index-B0KIJdSt.cjs');
|
|
11
11
|
require('node:fs');
|
|
12
12
|
require('tweetnacl');
|
|
13
13
|
require('chalk');
|
|
14
14
|
require('node:util');
|
|
15
|
-
require('./types-
|
|
15
|
+
require('./types-BAhQF6Xp.cjs');
|
|
16
16
|
require('axios');
|
|
17
17
|
require('node:events');
|
|
18
18
|
require('socket.io-client');
|
|
@@ -2,15 +2,15 @@ import { homedir } from 'node:os';
|
|
|
2
2
|
import { unlink, rmdir, mkdir, lstat, readFile, writeFile, rename } from 'node:fs/promises';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { createHash, randomUUID } from 'node:crypto';
|
|
5
|
-
import { d as teamRequest, e as createTeamsClient } from './agentGuidance-
|
|
6
|
-
import { d as readCredentialsForConfiguredRelay } from './limits-
|
|
5
|
+
import { d as teamRequest, e as createTeamsClient } from './agentGuidance-DulugsMk.mjs';
|
|
6
|
+
import { d as readCredentialsForConfiguredRelay } from './limits-CAD4UF8w.mjs';
|
|
7
7
|
import { join, resolve, dirname } from 'node:path';
|
|
8
|
-
import { T as TEAM_SKILL } from './index-
|
|
8
|
+
import { T as TEAM_SKILL } from './index-D5MRxCHs.mjs';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import 'tweetnacl';
|
|
11
11
|
import 'chalk';
|
|
12
12
|
import 'node:util';
|
|
13
|
-
import './types-
|
|
13
|
+
import './types-B8g_V-LQ.mjs';
|
|
14
14
|
import 'axios';
|
|
15
15
|
import 'node:events';
|
|
16
16
|
import 'socket.io-client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as readCredentialsForConfiguredRelay, c as configuration } from './limits-
|
|
2
|
-
import { b as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './types-
|
|
3
|
-
import { c as readTeamScope, t as teamScopePath } from './agentGuidance-
|
|
1
|
+
import { d as readCredentialsForConfiguredRelay, c as configuration } from './limits-CAD4UF8w.mjs';
|
|
2
|
+
import { b as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './types-B8g_V-LQ.mjs';
|
|
3
|
+
import { c as readTeamScope, t as teamScopePath } from './agentGuidance-DulugsMk.mjs';
|
|
4
4
|
import 'node:fs/promises';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:os';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./limits-
|
|
4
|
-
var api = require('./types-
|
|
5
|
-
var agentGuidance = require('./agentGuidance-
|
|
3
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
4
|
+
var api = require('./types-BAhQF6Xp.cjs');
|
|
5
|
+
var agentGuidance = require('./agentGuidance-D1tKg2UW.cjs');
|
|
6
6
|
require('node:fs/promises');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:os');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { l as logger, i as encodeBase64, j as encrypt, k as decrypt, m as decodeBase64, c as configuration, o as decryptBlob, q as prepareClipboardText, g as readSettings, r as readPersistedSessions, s as credentialRelayProblem, p as packageJson, t as readTrackedClaudeSessionIds, u as libsodiumEncryptForPublicKey, v as libsodiumPublicKeyFromSecretKey, x as getRandomBytes, y as redactLogValue } from './limits-
|
|
2
|
+
import { l as logger, i as encodeBase64, j as encrypt, k as decrypt, m as decodeBase64, c as configuration, o as decryptBlob, q as prepareClipboardText, g as readSettings, r as readPersistedSessions, s as credentialRelayProblem, p as packageJson, t as readTrackedClaudeSessionIds, u as libsodiumEncryptForPublicKey, v as libsodiumPublicKeyFromSecretKey, x as getRandomBytes, y as redactLogValue } from './limits-CAD4UF8w.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { io } from 'socket.io-client';
|
|
5
5
|
import * as z from 'zod';
|
|
@@ -3028,10 +3028,14 @@ class ApiSessionClient extends EventEmitter {
|
|
|
3028
3028
|
return;
|
|
3029
3029
|
}
|
|
3030
3030
|
const localId = data.body.message.localId;
|
|
3031
|
-
|
|
3031
|
+
const relayAccepted = !!localId && this.directInboundLocalIds.delete(localId);
|
|
3032
|
+
if (localId && this.routedInboundLocalIds.has(localId)) {
|
|
3032
3033
|
this.lastSeq = messageSeq;
|
|
3033
3034
|
return;
|
|
3034
3035
|
}
|
|
3036
|
+
if (relayAccepted) {
|
|
3037
|
+
logger.debug(`[API] Routing relay-accepted message ${localId} from the central echo (own persist still pending or failed)`);
|
|
3038
|
+
}
|
|
3035
3039
|
const body = decrypt(this.encryptionKey, this.encryptionVariant, decodeBase64(data.body.message.content.c));
|
|
3036
3040
|
logger.debugLargeJson("[SOCKET] [UPDATE] Received update:", body);
|
|
3037
3041
|
this.routeIncomingMessage(body, localId);
|
|
@@ -3284,6 +3288,13 @@ class ApiSessionClient extends EventEmitter {
|
|
|
3284
3288
|
}
|
|
3285
3289
|
return;
|
|
3286
3290
|
}
|
|
3291
|
+
const role = typeof message === "object" && message !== null ? message.role : void 0;
|
|
3292
|
+
if (role === "user") {
|
|
3293
|
+
logger.debug("[API] Inbound user-role message did not match UserMessageSchema; forwarding as generic message", {
|
|
3294
|
+
sourceLocalId: sourceLocalId ?? null,
|
|
3295
|
+
issues: userResult.error.issues.slice(0, 5).map((issue) => `${issue.path.join(".")}: ${issue.message}`)
|
|
3296
|
+
});
|
|
3297
|
+
}
|
|
3287
3298
|
this.emit("message", message);
|
|
3288
3299
|
}
|
|
3289
3300
|
async fetchMessages() {
|
|
@@ -3312,12 +3323,13 @@ class ApiSessionClient extends EventEmitter {
|
|
|
3312
3323
|
maxSeq = message.seq;
|
|
3313
3324
|
}
|
|
3314
3325
|
if (skipRouting) continue;
|
|
3315
|
-
|
|
3316
|
-
continue;
|
|
3317
|
-
}
|
|
3326
|
+
const relayAccepted = !!message.localId && this.directInboundLocalIds.delete(message.localId);
|
|
3318
3327
|
if (message.localId && this.routedInboundLocalIds.has(message.localId)) {
|
|
3319
3328
|
continue;
|
|
3320
3329
|
}
|
|
3330
|
+
if (relayAccepted) {
|
|
3331
|
+
logger.debug(`[API] Routing relay-accepted message ${message.localId} from catch-up fetch (own persist still pending or failed)`);
|
|
3332
|
+
}
|
|
3321
3333
|
if (message.content?.t !== "encrypted") {
|
|
3322
3334
|
continue;
|
|
3323
3335
|
}
|
|
@@ -3449,6 +3461,8 @@ class ApiSessionClient extends EventEmitter {
|
|
|
3449
3461
|
}
|
|
3450
3462
|
callback({ ok: true, messages: stored });
|
|
3451
3463
|
} catch (error) {
|
|
3464
|
+
const routed = batch.filter((item) => this.routedInboundLocalIds.has(item.localId)).length;
|
|
3465
|
+
logger.debug(`[API] Relay-delivered persist failed for ${batch.length} message(s) (${routed} already routed via central echo): ${error instanceof Error ? error.message : error}`);
|
|
3452
3466
|
for (const item of batch) this.directInboundLocalIds.delete(item.localId);
|
|
3453
3467
|
callback({ ok: false, error: error instanceof Error ? error.message : "Failed to persist session messages" });
|
|
3454
3468
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var axios = require('axios');
|
|
4
|
-
var persistence = require('./limits-
|
|
4
|
+
var persistence = require('./limits-CJrrAhB4.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
var socket_ioClient = require('socket.io-client');
|
|
7
7
|
var z = require('zod');
|
|
@@ -1369,7 +1369,7 @@ class RpcHandlerManager {
|
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
|
-
const __dirname$1 = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-
|
|
1372
|
+
const __dirname$1 = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-BAhQF6Xp.cjs', document.baseURI).href))));
|
|
1373
1373
|
function projectPath() {
|
|
1374
1374
|
const path$1 = path.resolve(__dirname$1, "..");
|
|
1375
1375
|
return path$1;
|
|
@@ -3050,10 +3050,14 @@ class ApiSessionClient extends node_events.EventEmitter {
|
|
|
3050
3050
|
return;
|
|
3051
3051
|
}
|
|
3052
3052
|
const localId = data.body.message.localId;
|
|
3053
|
-
|
|
3053
|
+
const relayAccepted = !!localId && this.directInboundLocalIds.delete(localId);
|
|
3054
|
+
if (localId && this.routedInboundLocalIds.has(localId)) {
|
|
3054
3055
|
this.lastSeq = messageSeq;
|
|
3055
3056
|
return;
|
|
3056
3057
|
}
|
|
3058
|
+
if (relayAccepted) {
|
|
3059
|
+
persistence.logger.debug(`[API] Routing relay-accepted message ${localId} from the central echo (own persist still pending or failed)`);
|
|
3060
|
+
}
|
|
3057
3061
|
const body = persistence.decrypt(this.encryptionKey, this.encryptionVariant, persistence.decodeBase64(data.body.message.content.c));
|
|
3058
3062
|
persistence.logger.debugLargeJson("[SOCKET] [UPDATE] Received update:", body);
|
|
3059
3063
|
this.routeIncomingMessage(body, localId);
|
|
@@ -3306,6 +3310,13 @@ class ApiSessionClient extends node_events.EventEmitter {
|
|
|
3306
3310
|
}
|
|
3307
3311
|
return;
|
|
3308
3312
|
}
|
|
3313
|
+
const role = typeof message === "object" && message !== null ? message.role : void 0;
|
|
3314
|
+
if (role === "user") {
|
|
3315
|
+
persistence.logger.debug("[API] Inbound user-role message did not match UserMessageSchema; forwarding as generic message", {
|
|
3316
|
+
sourceLocalId: sourceLocalId ?? null,
|
|
3317
|
+
issues: userResult.error.issues.slice(0, 5).map((issue) => `${issue.path.join(".")}: ${issue.message}`)
|
|
3318
|
+
});
|
|
3319
|
+
}
|
|
3309
3320
|
this.emit("message", message);
|
|
3310
3321
|
}
|
|
3311
3322
|
async fetchMessages() {
|
|
@@ -3334,12 +3345,13 @@ class ApiSessionClient extends node_events.EventEmitter {
|
|
|
3334
3345
|
maxSeq = message.seq;
|
|
3335
3346
|
}
|
|
3336
3347
|
if (skipRouting) continue;
|
|
3337
|
-
|
|
3338
|
-
continue;
|
|
3339
|
-
}
|
|
3348
|
+
const relayAccepted = !!message.localId && this.directInboundLocalIds.delete(message.localId);
|
|
3340
3349
|
if (message.localId && this.routedInboundLocalIds.has(message.localId)) {
|
|
3341
3350
|
continue;
|
|
3342
3351
|
}
|
|
3352
|
+
if (relayAccepted) {
|
|
3353
|
+
persistence.logger.debug(`[API] Routing relay-accepted message ${message.localId} from catch-up fetch (own persist still pending or failed)`);
|
|
3354
|
+
}
|
|
3343
3355
|
if (message.content?.t !== "encrypted") {
|
|
3344
3356
|
continue;
|
|
3345
3357
|
}
|
|
@@ -3471,6 +3483,8 @@ class ApiSessionClient extends node_events.EventEmitter {
|
|
|
3471
3483
|
}
|
|
3472
3484
|
callback({ ok: true, messages: stored });
|
|
3473
3485
|
} catch (error) {
|
|
3486
|
+
const routed = batch.filter((item) => this.routedInboundLocalIds.has(item.localId)).length;
|
|
3487
|
+
persistence.logger.debug(`[API] Relay-delivered persist failed for ${batch.length} message(s) (${routed} already routed via central echo): ${error instanceof Error ? error.message : error}`);
|
|
3474
3488
|
for (const item of batch) this.directInboundLocalIds.delete(item.localId);
|
|
3475
3489
|
callback({ ok: false, error: error instanceof Error ? error.message : "Failed to persist session messages" });
|
|
3476
3490
|
}
|