happy-imou-cloud 2.1.46 → 2.1.48
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-Bsnew7fc.cjs → BaseReasoningProcessor-CKtDfihV.cjs} +2 -2
- package/dist/{BaseReasoningProcessor-Mrdbmfl3.mjs → BaseReasoningProcessor-CM3JbXUC.mjs} +2 -2
- package/dist/{ProviderSelectionHandler-gaUVvyCU.cjs → ProviderSelectionHandler-BHKIBw4t.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-BymmO261.mjs → ProviderSelectionHandler-vgZ2egD_.mjs} +2 -2
- package/dist/{api-DTSpLLTK.mjs → api-CSjP-Z3Y.mjs} +3 -3
- package/dist/{api-Bekjk9d5.cjs → api-eaGKJjMt.cjs} +3 -3
- package/dist/{command-umgXYSY2.mjs → command-BzPI4N1n.mjs} +2 -3
- package/dist/{command-BwhJX0G5.cjs → command-DDoz1Eky.cjs} +2 -3
- package/dist/{index-CUVIZLuf.mjs → index-BzsBo3_Z.mjs} +364 -49
- package/dist/{index-DkaYNlRO.cjs → index-C8X1VlHZ.cjs} +338 -42
- package/dist/index.cjs +2 -3
- package/dist/index.mjs +2 -3
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +2 -0
- package/dist/lib.d.mts +2 -0
- package/dist/lib.mjs +1 -1
- package/dist/{registerKillSessionHandler-hQE08yMO.mjs → registerKillSessionHandler-BHu-3hZQ.mjs} +2 -2
- package/dist/{registerKillSessionHandler-BYWJJDre.cjs → registerKillSessionHandler-CLCYBgZX.cjs} +2 -2
- package/dist/{runClaude-jpo2aFey.cjs → runClaude-BkUbXE2F.cjs} +4 -5
- package/dist/{runClaude-CFeIMCY2.mjs → runClaude-D3CBLW5o.mjs} +4 -5
- package/dist/{runCodex-CrxyWcga.cjs → runCodex-CdgrZK7P.cjs} +29 -9
- package/dist/{runCodex-ByjUfTyr.mjs → runCodex-DqzdgDwZ.mjs} +29 -9
- package/dist/{runGemini-BhIz1N_b.cjs → runGemini-BE05R24D.cjs} +4 -5
- package/dist/{runGemini-CihCRgcR.mjs → runGemini-UZuiKe59.mjs} +4 -5
- 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-C8X1VlHZ.cjs');
|
|
4
|
+
var persistence = require('./api-eaGKJjMt.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-BzsBo3_Z.mjs';
|
|
2
|
+
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-CSjP-Z3Y.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
|
package/dist/{ProviderSelectionHandler-gaUVvyCU.cjs → ProviderSelectionHandler-BHKIBw4t.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-eaGKJjMt.cjs');
|
|
4
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-CLCYBgZX.cjs');
|
|
5
5
|
|
|
6
6
|
async function runModeLoop(opts) {
|
|
7
7
|
let currentMode = opts.startingMode;
|
package/dist/{ProviderSelectionHandler-BymmO261.mjs → ProviderSelectionHandler-vgZ2egD_.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-CSjP-Z3Y.mjs';
|
|
2
|
+
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-BHu-3hZQ.mjs';
|
|
3
3
|
|
|
4
4
|
async function runModeLoop(opts) {
|
|
5
5
|
let currentMode = opts.startingMode;
|
|
@@ -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.48";
|
|
22
22
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
23
23
|
var author = "long.zhu";
|
|
24
24
|
var license = "MIT";
|
|
@@ -6198,12 +6198,12 @@ class ApiMachineClient {
|
|
|
6198
6198
|
requestShutdown
|
|
6199
6199
|
}) {
|
|
6200
6200
|
this.rpcHandlerManager.registerHandler("spawn-happy-session", async (params) => {
|
|
6201
|
-
const { directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, environmentVariables } = params || {};
|
|
6201
|
+
const { directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, launchMode, environmentVariables } = params || {};
|
|
6202
6202
|
logger.debug(`[API MACHINE] Spawning session with params: ${JSON.stringify(params)}`);
|
|
6203
6203
|
if (!directory) {
|
|
6204
6204
|
throw new Error("Directory is required");
|
|
6205
6205
|
}
|
|
6206
|
-
const result = await spawnSession({ directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, environmentVariables });
|
|
6206
|
+
const result = await spawnSession({ directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, launchMode, environmentVariables });
|
|
6207
6207
|
switch (result.type) {
|
|
6208
6208
|
case "success":
|
|
6209
6209
|
logger.debug(`[API MACHINE] Spawned session ${result.sessionId}`);
|
|
@@ -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.48";
|
|
42
42
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
43
43
|
var author = "long.zhu";
|
|
44
44
|
var license = "MIT";
|
|
@@ -6218,12 +6218,12 @@ class ApiMachineClient {
|
|
|
6218
6218
|
requestShutdown
|
|
6219
6219
|
}) {
|
|
6220
6220
|
this.rpcHandlerManager.registerHandler("spawn-happy-session", async (params) => {
|
|
6221
|
-
const { directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, environmentVariables } = params || {};
|
|
6221
|
+
const { directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, launchMode, environmentVariables } = params || {};
|
|
6222
6222
|
logger.debug(`[API MACHINE] Spawning session with params: ${JSON.stringify(params)}`);
|
|
6223
6223
|
if (!directory) {
|
|
6224
6224
|
throw new Error("Directory is required");
|
|
6225
6225
|
}
|
|
6226
|
-
const result = await spawnSession({ directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, environmentVariables });
|
|
6226
|
+
const result = await spawnSession({ directory, sessionId, machineId, managedSessionTag, approvedNewDirectoryCreation, agent, token, resume, launchMode, environmentVariables });
|
|
6227
6227
|
switch (result.type) {
|
|
6228
6228
|
case "success":
|
|
6229
6229
|
logger.debug(`[API MACHINE] Spawned session ${result.sessionId}`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createDefaultRuntimeShell } from './index-
|
|
1
|
+
import { c as createDefaultRuntimeShell } from './index-BzsBo3_Z.mjs';
|
|
2
2
|
import 'chalk';
|
|
3
|
-
import './api-
|
|
3
|
+
import './api-CSjP-Z3Y.mjs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'node:fs';
|
|
@@ -18,7 +18,6 @@ import 'path';
|
|
|
18
18
|
import 'node:child_process';
|
|
19
19
|
import 'expo-server-sdk';
|
|
20
20
|
import 'os';
|
|
21
|
-
import 'tmp';
|
|
22
21
|
import 'qrcode-terminal';
|
|
23
22
|
import 'node:module';
|
|
24
23
|
import 'open';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C8X1VlHZ.cjs');
|
|
4
4
|
require('chalk');
|
|
5
|
-
require('./api-
|
|
5
|
+
require('./api-eaGKJjMt.cjs');
|
|
6
6
|
require('axios');
|
|
7
7
|
require('fs');
|
|
8
8
|
require('node:fs');
|
|
@@ -20,7 +20,6 @@ require('path');
|
|
|
20
20
|
require('node:child_process');
|
|
21
21
|
require('expo-server-sdk');
|
|
22
22
|
require('os');
|
|
23
|
-
require('tmp');
|
|
24
23
|
require('qrcode-terminal');
|
|
25
24
|
require('node:module');
|
|
26
25
|
require('open');
|