happy-imou-cloud 2.1.35 → 2.1.36
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-vn-Cvazk.cjs → BaseReasoningProcessor-CwT7JhxJ.cjs} +2 -2
- package/dist/{BaseReasoningProcessor-DbYQw-IT.mjs → BaseReasoningProcessor-fYtbWsiE.mjs} +2 -2
- package/dist/{ProviderSelectionHandler-Dk4HaiPR.mjs → ProviderSelectionHandler-B9vjBTyM.mjs} +2 -2
- package/dist/{ProviderSelectionHandler-CHXCKI8q.cjs → ProviderSelectionHandler-CBX_NP1Q.cjs} +2 -2
- package/dist/{api-CeZTggZF.cjs → api-CcZmsHiN.cjs} +1 -1
- package/dist/{api-C_wLDBlG.mjs → api-CwMg_lJj.mjs} +1 -1
- package/dist/{command-djmqu0my.cjs → command-Ck_6hawr.cjs} +2 -2
- package/dist/{command-Dth-tCSc.mjs → command-DcqLvk6w.mjs} +2 -2
- package/dist/{index-CckDTAoL.cjs → index-C2Iik0Ll.cjs} +12 -10
- package/dist/{index-l0zi9G9M.mjs → index-DGHeJuUL.mjs} +9 -7
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +116 -116
- package/dist/lib.d.mts +116 -116
- package/dist/lib.mjs +1 -1
- package/dist/{registerKillSessionHandler-BxbrcRl3.mjs → registerKillSessionHandler-CjK9IoDq.mjs} +63 -13
- package/dist/{registerKillSessionHandler-CMyw8PFY.cjs → registerKillSessionHandler-DMxV6Ke6.cjs} +63 -13
- package/dist/{runClaude-CniBKZZh.cjs → runClaude-B8f7Ubkz.cjs} +4 -4
- package/dist/{runClaude-BK-xZzSe.mjs → runClaude-C0QTsf0B.mjs} +4 -4
- package/dist/{runCodex-Dl1BeoP7.cjs → runCodex-BJ4dyXhc.cjs} +5 -5
- package/dist/{runCodex-C4X1beyB.mjs → runCodex-BOfihUE0.mjs} +5 -5
- package/dist/{runGemini-Bigzf0Vw.mjs → runGemini-CBMJT1Fe.mjs} +4 -4
- package/dist/{runGemini-Bw9Z5tD5.cjs → runGemini-CUL3MiIx.cjs} +4 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var persistence = require('./api-
|
|
3
|
+
var index = require('./index-C2Iik0Ll.cjs');
|
|
4
|
+
var persistence = require('./api-CcZmsHiN.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-
|
|
2
|
-
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-
|
|
1
|
+
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-DGHeJuUL.mjs';
|
|
2
|
+
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-CwMg_lJj.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
|
package/dist/{ProviderSelectionHandler-Dk4HaiPR.mjs → ProviderSelectionHandler-B9vjBTyM.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './api-
|
|
2
|
-
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-
|
|
1
|
+
import { l as logger } from './api-CwMg_lJj.mjs';
|
|
2
|
+
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-CjK9IoDq.mjs';
|
|
3
3
|
|
|
4
4
|
async function runModeLoop(opts) {
|
|
5
5
|
let currentMode = opts.startingMode;
|
package/dist/{ProviderSelectionHandler-CHXCKI8q.cjs → ProviderSelectionHandler-CBX_NP1Q.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./api-
|
|
4
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
3
|
+
var persistence = require('./api-CcZmsHiN.cjs');
|
|
4
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-DMxV6Ke6.cjs');
|
|
5
5
|
|
|
6
6
|
async function runModeLoop(opts) {
|
|
7
7
|
let currentMode = opts.startingMode;
|
|
@@ -38,7 +38,7 @@ function _interopNamespaceDefault(e) {
|
|
|
38
38
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
39
39
|
|
|
40
40
|
var name = "happy-imou-cloud";
|
|
41
|
-
var version = "2.1.
|
|
41
|
+
var version = "2.1.36";
|
|
42
42
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
43
43
|
var author = "long.zhu";
|
|
44
44
|
var license = "MIT";
|
|
@@ -18,7 +18,7 @@ import { spawn } from 'node:child_process';
|
|
|
18
18
|
import { Expo } from 'expo-server-sdk';
|
|
19
19
|
|
|
20
20
|
var name = "happy-imou-cloud";
|
|
21
|
-
var version = "2.1.
|
|
21
|
+
var version = "2.1.36";
|
|
22
22
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
23
23
|
var author = "long.zhu";
|
|
24
24
|
var license = "MIT";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createDefaultRuntimeShell } from './index-
|
|
1
|
+
import { c as createDefaultRuntimeShell } from './index-DGHeJuUL.mjs';
|
|
2
2
|
import 'chalk';
|
|
3
|
-
import './api-
|
|
3
|
+
import './api-CwMg_lJj.mjs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'node:fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var persistence = require('./api-
|
|
4
|
+
var persistence = require('./api-CcZmsHiN.cjs');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var fs$2 = require('fs/promises');
|
|
7
7
|
var os$1 = require('os');
|
|
@@ -72,7 +72,7 @@ async function openBrowser(url) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
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-
|
|
75
|
+
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-C2Iik0Ll.cjs', document.baseURI).href)));
|
|
76
76
|
const QRCode = require$1("qrcode-terminal/vendor/QRCode");
|
|
77
77
|
const QRErrorCorrectLevel = require$1("qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel");
|
|
78
78
|
const pendingTempFiles = /* @__PURE__ */ new Set();
|
|
@@ -637,7 +637,7 @@ function setupCleanupHandlers() {
|
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
640
|
+
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-C2Iik0Ll.cjs', document.baseURI).href))));
|
|
641
641
|
function projectPath() {
|
|
642
642
|
const path = path$1.resolve(__dirname$2, "..");
|
|
643
643
|
return path;
|
|
@@ -10369,7 +10369,7 @@ class AbortError extends Error {
|
|
|
10369
10369
|
}
|
|
10370
10370
|
}
|
|
10371
10371
|
|
|
10372
|
-
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-
|
|
10372
|
+
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-C2Iik0Ll.cjs', document.baseURI).href)));
|
|
10373
10373
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
10374
10374
|
function getGlobalClaudeVersion() {
|
|
10375
10375
|
try {
|
|
@@ -11621,6 +11621,8 @@ const RAW_TO_CANONICAL_TOOL_NAME_LOOKUP = {
|
|
|
11621
11621
|
bash: "Bash",
|
|
11622
11622
|
shell: "Bash",
|
|
11623
11623
|
execute: "Bash",
|
|
11624
|
+
fetch: "WebFetch",
|
|
11625
|
+
search: "WebSearch",
|
|
11624
11626
|
claudebash: "Bash",
|
|
11625
11627
|
codexbash: "Bash",
|
|
11626
11628
|
geminibash: "Bash",
|
|
@@ -11692,14 +11694,14 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
11692
11694
|
const unifiedProviderExecutors = {
|
|
11693
11695
|
claude: async (opts) => {
|
|
11694
11696
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
11695
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
11697
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-B8f7Ubkz.cjs'); });
|
|
11696
11698
|
await runClaude(opts.credentials, {
|
|
11697
11699
|
...claudeOptions,
|
|
11698
11700
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
11699
11701
|
});
|
|
11700
11702
|
},
|
|
11701
11703
|
codex: async (opts) => {
|
|
11702
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
11704
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-BJ4dyXhc.cjs'); });
|
|
11703
11705
|
await runCodex({
|
|
11704
11706
|
credentials: opts.credentials,
|
|
11705
11707
|
startedBy: opts.startedBy,
|
|
@@ -11708,7 +11710,7 @@ const unifiedProviderExecutors = {
|
|
|
11708
11710
|
});
|
|
11709
11711
|
},
|
|
11710
11712
|
gemini: async (opts) => {
|
|
11711
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
11713
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CUL3MiIx.cjs'); });
|
|
11712
11714
|
await runGemini({
|
|
11713
11715
|
credentials: opts.credentials,
|
|
11714
11716
|
startedBy: opts.startedBy
|
|
@@ -11791,7 +11793,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11791
11793
|
return;
|
|
11792
11794
|
} else if (subcommand === "runtime") {
|
|
11793
11795
|
if (args[1] === "providers") {
|
|
11794
|
-
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-
|
|
11796
|
+
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-Ck_6hawr.cjs'); });
|
|
11795
11797
|
console.log(renderRuntimeProviders());
|
|
11796
11798
|
return;
|
|
11797
11799
|
}
|
|
@@ -11997,8 +11999,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11997
11999
|
const projectId = args[3];
|
|
11998
12000
|
try {
|
|
11999
12001
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
12000
|
-
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-
|
|
12001
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-
|
|
12002
|
+
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-CcZmsHiN.cjs'); }).then(function (n) { return n.persistence; });
|
|
12003
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-CcZmsHiN.cjs'); }).then(function (n) { return n.api; });
|
|
12002
12004
|
let userEmail = void 0;
|
|
12003
12005
|
try {
|
|
12004
12006
|
const credentials = await readCredentials2();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import chalk from 'chalk';
|
|
2
|
-
import { l as logger, m as encodeBase64, c as configuration, n as readCredentials, o as ensureSigningCredentials, r as readSettings, u as updateSettings, q as encodeBase64Url, j as delay, t as buildClientHeaders, v as decodeBase64, w as writeCredentialsLegacy, x as writeCredentialsDataKey, y as readDaemonState, z as HAPPY_CLOUD_DAEMON_PORT, B as clearDaemonState, C as packageJson, i as isAuthenticationRequiredError, D as acquireDaemonLock, E as writeDaemonState, A as ApiClient, F as releaseDaemonLock, G as validateProfileForAgent, I as getProfileEnvironmentVariables, J as clearCredentials, K as clearMachineId, L as readHappyOrgDispatchTruthSnapshot, M as processHappyOrgRepoRequests, N as HappyOrgTurnReportSchema, O as recordHappyOrgTurnReport, P as MessageContentSchema, Q as buildSocketAuth, R as encrypt, H as HeadTailPreviewBuffer, S as getLatestDaemonLog } from './api-
|
|
2
|
+
import { l as logger, m as encodeBase64, c as configuration, n as readCredentials, o as ensureSigningCredentials, r as readSettings, u as updateSettings, q as encodeBase64Url, j as delay, t as buildClientHeaders, v as decodeBase64, w as writeCredentialsLegacy, x as writeCredentialsDataKey, y as readDaemonState, z as HAPPY_CLOUD_DAEMON_PORT, B as clearDaemonState, C as packageJson, i as isAuthenticationRequiredError, D as acquireDaemonLock, E as writeDaemonState, A as ApiClient, F as releaseDaemonLock, G as validateProfileForAgent, I as getProfileEnvironmentVariables, J as clearCredentials, K as clearMachineId, L as readHappyOrgDispatchTruthSnapshot, M as processHappyOrgRepoRequests, N as HappyOrgTurnReportSchema, O as recordHappyOrgTurnReport, P as MessageContentSchema, Q as buildSocketAuth, R as encrypt, H as HeadTailPreviewBuffer, S as getLatestDaemonLog } from './api-CwMg_lJj.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import fs, { writeFile as writeFile$1, rename, unlink as unlink$1 } from 'fs/promises';
|
|
5
5
|
import os$1, { homedir } from 'os';
|
|
@@ -11599,6 +11599,8 @@ const RAW_TO_CANONICAL_TOOL_NAME_LOOKUP = {
|
|
|
11599
11599
|
bash: "Bash",
|
|
11600
11600
|
shell: "Bash",
|
|
11601
11601
|
execute: "Bash",
|
|
11602
|
+
fetch: "WebFetch",
|
|
11603
|
+
search: "WebSearch",
|
|
11602
11604
|
claudebash: "Bash",
|
|
11603
11605
|
codexbash: "Bash",
|
|
11604
11606
|
geminibash: "Bash",
|
|
@@ -11670,14 +11672,14 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
11670
11672
|
const unifiedProviderExecutors = {
|
|
11671
11673
|
claude: async (opts) => {
|
|
11672
11674
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
11673
|
-
const { runClaude } = await import('./runClaude-
|
|
11675
|
+
const { runClaude } = await import('./runClaude-C0QTsf0B.mjs');
|
|
11674
11676
|
await runClaude(opts.credentials, {
|
|
11675
11677
|
...claudeOptions,
|
|
11676
11678
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
11677
11679
|
});
|
|
11678
11680
|
},
|
|
11679
11681
|
codex: async (opts) => {
|
|
11680
|
-
const { runCodex } = await import('./runCodex-
|
|
11682
|
+
const { runCodex } = await import('./runCodex-BOfihUE0.mjs');
|
|
11681
11683
|
await runCodex({
|
|
11682
11684
|
credentials: opts.credentials,
|
|
11683
11685
|
startedBy: opts.startedBy,
|
|
@@ -11686,7 +11688,7 @@ const unifiedProviderExecutors = {
|
|
|
11686
11688
|
});
|
|
11687
11689
|
},
|
|
11688
11690
|
gemini: async (opts) => {
|
|
11689
|
-
const { runGemini } = await import('./runGemini-
|
|
11691
|
+
const { runGemini } = await import('./runGemini-CBMJT1Fe.mjs');
|
|
11690
11692
|
await runGemini({
|
|
11691
11693
|
credentials: opts.credentials,
|
|
11692
11694
|
startedBy: opts.startedBy
|
|
@@ -11769,7 +11771,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11769
11771
|
return;
|
|
11770
11772
|
} else if (subcommand === "runtime") {
|
|
11771
11773
|
if (args[1] === "providers") {
|
|
11772
|
-
const { renderRuntimeProviders } = await import('./command-
|
|
11774
|
+
const { renderRuntimeProviders } = await import('./command-DcqLvk6w.mjs');
|
|
11773
11775
|
console.log(renderRuntimeProviders());
|
|
11774
11776
|
return;
|
|
11775
11777
|
}
|
|
@@ -11975,8 +11977,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11975
11977
|
const projectId = args[3];
|
|
11976
11978
|
try {
|
|
11977
11979
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
11978
|
-
const { readCredentials: readCredentials2 } = await import('./api-
|
|
11979
|
-
const { ApiClient: ApiClient2 } = await import('./api-
|
|
11980
|
+
const { readCredentials: readCredentials2 } = await import('./api-CwMg_lJj.mjs').then(function (n) { return n.T; });
|
|
11981
|
+
const { ApiClient: ApiClient2 } = await import('./api-CwMg_lJj.mjs').then(function (n) { return n.U; });
|
|
11980
11982
|
let userEmail = void 0;
|
|
11981
11983
|
try {
|
|
11982
11984
|
const credentials = await readCredentials2();
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('chalk');
|
|
4
|
-
require('./api-
|
|
4
|
+
require('./api-CcZmsHiN.cjs');
|
|
5
5
|
require('zod');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-C2Iik0Ll.cjs');
|
|
7
7
|
require('node:child_process');
|
|
8
8
|
require('node:fs');
|
|
9
9
|
require('cross-spawn');
|
package/dist/index.mjs
CHANGED