happy-imou-cloud 2.1.55 → 2.1.57
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/{BaseReasoningProcessor-Dki9homz.cjs → BaseReasoningProcessor-C67V1qL3.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-D1sM3Q7L.mjs → BaseReasoningProcessor-D2Q8Nme5.mjs} +1 -1
- package/dist/{ConversationHistory-0k9JVK1V.mjs → ConversationHistory-BBIe2m4P.mjs} +3 -4
- package/dist/{ConversationHistory-qacGLrlL.cjs → ConversationHistory-atrS3PAx.cjs} +9 -10
- package/dist/{ProviderSelectionHandler-N1pndtnU.mjs → ProviderSelectionHandler-Qi2pFTxL.mjs} +2 -2
- package/dist/{ProviderSelectionHandler-Bc4-nkHI.cjs → ProviderSelectionHandler-h3z4-foa.cjs} +2 -2
- package/dist/{bootstrapManagedProviderSession-D8-8Q3mN.mjs → bootstrapManagedProviderSession-AhAYHLGj.mjs} +2 -2
- package/dist/{bootstrapManagedProviderSession-BSvR42PU.cjs → bootstrapManagedProviderSession-RLtyRq0n.cjs} +2 -2
- package/dist/{command-CNQbqCNo.cjs → command-CyzKMQbs.cjs} +7 -25
- package/dist/{command-kCu_CfoX.mjs → command-DRRTqKEA.mjs} +6 -24
- package/dist/{config-B1xP_Nn4.mjs → config-BXTUTPxJ.mjs} +2 -2
- package/dist/{config-DlNGxB2C.cjs → config-BqFnXbs0.cjs} +1 -1
- package/dist/{index-B3MHJb_p.mjs → index-BCLSXYQP.mjs} +30 -618
- package/dist/{index-D3ybrRvv.cjs → index-BoSqCbVr.cjs} +28 -629
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{installFatalProcessHandlers-BNyeh_kZ.mjs → installFatalProcessHandlers-B99QpyLN.mjs} +1 -1
- package/dist/{installFatalProcessHandlers-BgD0JeUY.cjs → installFatalProcessHandlers-DyyiLNrG.cjs} +1 -1
- package/dist/{launch-D3RkSzmj.mjs → launch-DRd9FuLt.mjs} +6 -24
- package/dist/{launch-Blm8KHa6.cjs → launch-DnWvtpv4.cjs} +7 -25
- package/dist/lib.cjs +9 -1
- package/dist/lib.d.cts +414 -408
- package/dist/lib.d.mts +414 -408
- package/dist/lib.mjs +9 -1
- package/dist/{runClaude-vHxxBRCD.cjs → runClaude-DOlxK2PO.cjs} +22 -25
- package/dist/{runClaude-Bv8y1SS9.mjs → runClaude-Df_7_PkI.mjs} +7 -10
- package/dist/{runCodex-BIlFckCC.cjs → runCodex-ClqZb2wh.cjs} +36 -41
- package/dist/{runCodex-CCMOgVeu.mjs → runCodex-DP-67NuP.mjs} +10 -15
- package/dist/{runCursor-DS30KiFi.cjs → runCursor-ClUxehsP.cjs} +17 -21
- package/dist/{runCursor-31OZtyc5.mjs → runCursor-CqElKVpg.mjs} +15 -19
- package/dist/{runGemini-DYgMC16z.mjs → runGemini-CVyRbdZg.mjs} +10 -12
- package/dist/{runGemini-BVeW9RS6.cjs → runGemini-CmrMnkBU.cjs} +16 -18
- package/dist/{sessionControl-C92KNiqm.mjs → sessionControl-BovRthCu.mjs} +12 -4
- package/dist/{sessionControl-CYwKuJZa.cjs → sessionControl-C1bgV3SZ.cjs} +16 -8
- package/dist/{types-n7tu2s6X.mjs → types-BZeEK90l.mjs} +6458 -7
- package/dist/{types-rroNN6ng.cjs → types-CcsR2bJq.cjs} +6474 -1
- package/package.json +6 -5
- package/dist/AcpBackend-Cn35Zh4a.mjs +0 -2619
- package/dist/AcpBackend-Cnemq0Xi.cjs +0 -2621
- package/dist/RuntimeShell-B7sU6Xzu.cjs +0 -258
- package/dist/RuntimeShell-DXgX6DWL.mjs +0 -252
- package/dist/claude-ZqCIeRvV.mjs +0 -1073
- package/dist/claude-ruqZmLWR.cjs +0 -1080
- package/dist/codex-DNZNx4t8.mjs +0 -577
- package/dist/codex-h3N30twQ.cjs +0 -582
- package/dist/createDefaultRuntimeShell-BPgsP29s.mjs +0 -31
- package/dist/createDefaultRuntimeShell-Bp-CgZeN.cjs +0 -33
- package/dist/cursor-B4IzFkEb.cjs +0 -91
- package/dist/cursor-DgMcEhW1.mjs +0 -88
- package/dist/future-Dq4Ha1Dn.cjs +0 -24
- package/dist/future-xRdLl3vf.mjs +0 -22
- package/dist/resolveCommand-CsPlUeu4.cjs +0 -193
- package/dist/resolveCommand-DF9Hq3Bt.mjs +0 -189
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { j as renderTerminalOutputPreview } from './sessionControl-
|
|
3
|
-
import { l as logger } from './types-n7tu2s6X.mjs';
|
|
1
|
+
import { l as RuntimeShell, K as formatDisplayMessage, ad as truncateDisplayMessage, U as logger } from './types-BZeEK90l.mjs';
|
|
2
|
+
import { j as renderTerminalOutputPreview } from './sessionControl-BovRthCu.mjs';
|
|
4
3
|
|
|
5
4
|
async function launchRuntimeHandleWithFactoryResult(opts) {
|
|
6
5
|
const shell = opts.shell ?? new RuntimeShell();
|
|
@@ -768,4 +767,4 @@ let ConversationHistory$1 = class ConversationHistory {
|
|
|
768
767
|
}
|
|
769
768
|
};
|
|
770
769
|
|
|
771
|
-
export { ConversationHistory$1 as C, MessageBuffer as M, buildReadyPushNotification as a,
|
|
770
|
+
export { ConversationHistory$1 as C, MessageBuffer as M, buildReadyPushNotification as a, buildPermissionPushNotification as b, buildTurnResultPushNotification as c, createSessionTranscriptInkRenderer as d, extractPermissionRequestPushContext as e, launchRuntimeHandleWithFactoryResult as l };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var sessionControl = require('./sessionControl-
|
|
5
|
-
var persistence = require('./types-rroNN6ng.cjs');
|
|
3
|
+
var persistence = require('./types-CcsR2bJq.cjs');
|
|
4
|
+
var sessionControl = require('./sessionControl-C1bgV3SZ.cjs');
|
|
6
5
|
|
|
7
6
|
async function launchRuntimeHandleWithFactoryResult(opts) {
|
|
8
|
-
const shell = opts.shell ?? new
|
|
7
|
+
const shell = opts.shell ?? new persistence.RuntimeShell();
|
|
9
8
|
let factoryResult;
|
|
10
9
|
const session = await shell.launch({
|
|
11
10
|
provider: opts.provider,
|
|
@@ -391,7 +390,7 @@ class MessageBuffer {
|
|
|
391
390
|
};
|
|
392
391
|
}
|
|
393
392
|
normalizeContent(content) {
|
|
394
|
-
return this.truncateContent(
|
|
393
|
+
return this.truncateContent(persistence.formatDisplayMessage(content));
|
|
395
394
|
}
|
|
396
395
|
truncateContent(content) {
|
|
397
396
|
if (content.length <= this.maxMessageCharacters) {
|
|
@@ -505,7 +504,7 @@ function createSessionTranscriptInkRenderer(opts) {
|
|
|
505
504
|
}
|
|
506
505
|
case "tool-call": {
|
|
507
506
|
const name = typeof payload.name === "string" ? payload.name : typeof payload.toolName === "string" ? payload.toolName : "tool";
|
|
508
|
-
const inputPreview =
|
|
507
|
+
const inputPreview = persistence.truncateDisplayMessage(
|
|
509
508
|
isRecord(payload.input) || Array.isArray(payload.input) ? JSON.stringify(payload.input) : payload.input,
|
|
510
509
|
120
|
|
511
510
|
);
|
|
@@ -518,7 +517,7 @@ function createSessionTranscriptInkRenderer(opts) {
|
|
|
518
517
|
case "tool-result":
|
|
519
518
|
case "tool-call-result": {
|
|
520
519
|
const resultValue = Object.prototype.hasOwnProperty.call(payload, "output") ? payload.output : payload.result;
|
|
521
|
-
const resultPreview =
|
|
520
|
+
const resultPreview = persistence.truncateDisplayMessage(resultValue, 200);
|
|
522
521
|
const prefix = payload.isError ? "Error:" : "Result:";
|
|
523
522
|
opts.messageBuffer.addMessage(
|
|
524
523
|
resultPreview ? `${prefix} ${resultPreview}` : "Tool completed",
|
|
@@ -556,7 +555,7 @@ function createSessionTranscriptInkRenderer(opts) {
|
|
|
556
555
|
return;
|
|
557
556
|
}
|
|
558
557
|
case "patch-apply-end": {
|
|
559
|
-
const completionMessage = payload.success === false ?
|
|
558
|
+
const completionMessage = payload.success === false ? persistence.truncateDisplayMessage(payload.stderr, 200) || "Patch failed" : persistence.truncateDisplayMessage(payload.stdout, 200) || "Patch applied";
|
|
560
559
|
opts.messageBuffer.addMessage(completionMessage, payload.success === false ? "status" : "result");
|
|
561
560
|
return;
|
|
562
561
|
}
|
|
@@ -611,7 +610,7 @@ function createSessionTranscriptInkRenderer(opts) {
|
|
|
611
610
|
}
|
|
612
611
|
if (block.type === "tool_use") {
|
|
613
612
|
const toolName = typeof block.name === "string" ? block.name : "tool";
|
|
614
|
-
const inputPreview =
|
|
613
|
+
const inputPreview = persistence.truncateDisplayMessage(
|
|
615
614
|
isRecord(block.input) || Array.isArray(block.input) ? JSON.stringify(block.input) : block.input,
|
|
616
615
|
120
|
|
617
616
|
);
|
|
@@ -670,7 +669,7 @@ function createSessionTranscriptInkRenderer(opts) {
|
|
|
670
669
|
renderSessionEvent(transcriptMessage.message.content.data);
|
|
671
670
|
return;
|
|
672
671
|
default:
|
|
673
|
-
opts.messageBuffer.addMessage(
|
|
672
|
+
opts.messageBuffer.addMessage(persistence.formatDisplayMessage(transcriptMessage.message), "status");
|
|
674
673
|
}
|
|
675
674
|
};
|
|
676
675
|
}
|
package/dist/{ProviderSelectionHandler-N1pndtnU.mjs → ProviderSelectionHandler-Qi2pFTxL.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { U as logger } from './types-BZeEK90l.mjs';
|
|
2
|
+
import { h as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, b as INTERACTION_TIMED_OUT_ERROR } from './sessionControl-BovRthCu.mjs';
|
|
3
3
|
|
|
4
4
|
async function runModeLoop(opts) {
|
|
5
5
|
let currentMode = opts.startingMode;
|
package/dist/{ProviderSelectionHandler-Bc4-nkHI.cjs → ProviderSelectionHandler-h3z4-foa.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./types-
|
|
4
|
-
var sessionControl = require('./sessionControl-
|
|
3
|
+
var persistence = require('./types-CcsR2bJq.cjs');
|
|
4
|
+
var sessionControl = require('./sessionControl-C1bgV3SZ.cjs');
|
|
5
5
|
|
|
6
6
|
async function runModeLoop(opts) {
|
|
7
7
|
let currentMode = opts.startingMode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as createSessionMetadata,
|
|
2
|
-
import {
|
|
1
|
+
import { d as createSessionMetadata, p as publishSessionRegistration } from './index-BCLSXYQP.mjs';
|
|
2
|
+
import { ac as startOfflineReconnection, v as configuration, Q as isAuthenticationRequiredError, U as logger } from './types-BZeEK90l.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
|
|
5
5
|
function createOfflineSessionStub(sessionTag) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var persistence = require('./types-
|
|
3
|
+
var index = require('./index-BoSqCbVr.cjs');
|
|
4
|
+
var persistence = require('./types-CcsR2bJq.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
|
|
7
7
|
function createOfflineSessionStub(sessionTag) {
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('cross-spawn');
|
|
5
|
-
require('@agentclientprotocol/sdk');
|
|
6
|
-
require('node:crypto');
|
|
7
|
-
require('./types-rroNN6ng.cjs');
|
|
3
|
+
var persistence = require('./types-CcsR2bJq.cjs');
|
|
8
4
|
require('axios');
|
|
9
5
|
require('chalk');
|
|
10
6
|
require('fs');
|
|
@@ -15,39 +11,25 @@ require('zod');
|
|
|
15
11
|
require('node:events');
|
|
16
12
|
require('node:fs/promises');
|
|
17
13
|
require('socket.io-client');
|
|
14
|
+
require('node:crypto');
|
|
18
15
|
require('tweetnacl');
|
|
19
16
|
require('fs/promises');
|
|
20
17
|
require('crypto');
|
|
21
18
|
require('path');
|
|
22
19
|
require('sharp');
|
|
23
20
|
require('node:child_process');
|
|
24
|
-
require('
|
|
25
|
-
require('
|
|
21
|
+
require('cross-spawn');
|
|
22
|
+
require('@agentclientprotocol/sdk');
|
|
23
|
+
require('ps-list');
|
|
26
24
|
require('os');
|
|
27
|
-
require('qrcode-terminal');
|
|
28
|
-
require('node:module');
|
|
29
|
-
require('open');
|
|
30
|
-
require('react');
|
|
31
|
-
require('ink');
|
|
32
25
|
require('child_process');
|
|
33
26
|
require('url');
|
|
34
|
-
require('ps-list');
|
|
35
|
-
require('fastify');
|
|
36
|
-
require('fastify-type-provider-zod');
|
|
37
27
|
require('node:readline');
|
|
38
|
-
require('http');
|
|
39
|
-
require('util');
|
|
40
28
|
require('node:url');
|
|
41
|
-
require('
|
|
42
|
-
require('./AcpBackend-Cnemq0Xi.cjs');
|
|
43
|
-
require('./RuntimeShell-B7sU6Xzu.cjs');
|
|
44
|
-
require('./resolveCommand-CsPlUeu4.cjs');
|
|
45
|
-
require('./claude-ruqZmLWR.cjs');
|
|
46
|
-
require('./future-Dq4Ha1Dn.cjs');
|
|
47
|
-
require('./cursor-B4IzFkEb.cjs');
|
|
29
|
+
require('expo-server-sdk');
|
|
48
30
|
|
|
49
31
|
function listRuntimeProviders() {
|
|
50
|
-
const shell =
|
|
32
|
+
const shell = persistence.createDefaultRuntimeShell();
|
|
51
33
|
const providers = ["claude", "codex", "cursor"];
|
|
52
34
|
return providers.map((provider) => ({
|
|
53
35
|
provider,
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import 'cross-spawn';
|
|
3
|
-
import '@agentclientprotocol/sdk';
|
|
4
|
-
import 'node:crypto';
|
|
5
|
-
import './types-n7tu2s6X.mjs';
|
|
1
|
+
import { B as createDefaultRuntimeShell } from './types-BZeEK90l.mjs';
|
|
6
2
|
import 'axios';
|
|
7
3
|
import 'chalk';
|
|
8
4
|
import 'fs';
|
|
@@ -13,36 +9,22 @@ import 'zod';
|
|
|
13
9
|
import 'node:events';
|
|
14
10
|
import 'node:fs/promises';
|
|
15
11
|
import 'socket.io-client';
|
|
12
|
+
import 'node:crypto';
|
|
16
13
|
import 'tweetnacl';
|
|
17
14
|
import 'fs/promises';
|
|
18
15
|
import 'crypto';
|
|
19
16
|
import 'path';
|
|
20
17
|
import 'sharp';
|
|
21
18
|
import 'node:child_process';
|
|
22
|
-
import '
|
|
23
|
-
import '
|
|
19
|
+
import 'cross-spawn';
|
|
20
|
+
import '@agentclientprotocol/sdk';
|
|
21
|
+
import 'ps-list';
|
|
24
22
|
import 'os';
|
|
25
|
-
import 'qrcode-terminal';
|
|
26
|
-
import 'node:module';
|
|
27
|
-
import 'open';
|
|
28
|
-
import 'react';
|
|
29
|
-
import 'ink';
|
|
30
23
|
import 'child_process';
|
|
31
24
|
import 'url';
|
|
32
|
-
import 'ps-list';
|
|
33
|
-
import 'fastify';
|
|
34
|
-
import 'fastify-type-provider-zod';
|
|
35
25
|
import 'node:readline';
|
|
36
|
-
import 'http';
|
|
37
|
-
import 'util';
|
|
38
26
|
import 'node:url';
|
|
39
|
-
import '
|
|
40
|
-
import './AcpBackend-Cn35Zh4a.mjs';
|
|
41
|
-
import './RuntimeShell-DXgX6DWL.mjs';
|
|
42
|
-
import './resolveCommand-DF9Hq3Bt.mjs';
|
|
43
|
-
import './claude-ZqCIeRvV.mjs';
|
|
44
|
-
import './future-xRdLl3vf.mjs';
|
|
45
|
-
import './cursor-DgMcEhW1.mjs';
|
|
27
|
+
import 'expo-server-sdk';
|
|
46
28
|
|
|
47
29
|
function listRuntimeProviders() {
|
|
48
30
|
const shell = createDefaultRuntimeShell();
|
|
@@ -2,7 +2,7 @@ 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 {
|
|
5
|
+
import { U as logger } from './types-BZeEK90l.mjs';
|
|
6
6
|
|
|
7
7
|
const GEMINI_API_KEY_ENV = "GEMINI_API_KEY";
|
|
8
8
|
const GOOGLE_API_KEY_ENV = "GOOGLE_API_KEY";
|
|
@@ -171,4 +171,4 @@ var config = /*#__PURE__*/Object.freeze({
|
|
|
171
171
|
saveGoogleCloudProjectToConfig: saveGoogleCloudProjectToConfig
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
export { GEMINI_API_KEY_ENV as G,
|
|
174
|
+
export { GEMINI_API_KEY_ENV as G, GEMINI_MODEL_ENV as a, GOOGLE_API_KEY_ENV as b, config as c, determineGeminiModel as d, getInitialGeminiModel as e, getGeminiModelSource as g, readGeminiLocalConfig as r, saveGeminiModelToConfig as s };
|
|
@@ -4,7 +4,7 @@ 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('./types-
|
|
7
|
+
var persistence = require('./types-CcsR2bJq.cjs');
|
|
8
8
|
|
|
9
9
|
const GEMINI_API_KEY_ENV = "GEMINI_API_KEY";
|
|
10
10
|
const GOOGLE_API_KEY_ENV = "GOOGLE_API_KEY";
|