happy-imou-cloud 2.0.12 → 2.0.14

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.
Files changed (31) hide show
  1. package/bin/happy-cloud.mjs +1 -1
  2. package/dist/{BaseReasoningProcessor-DrHf5B98.mjs → BaseReasoningProcessor-CB7luAdI.mjs} +3 -3
  3. package/dist/{BaseReasoningProcessor-BrKUKAOr.cjs → BaseReasoningProcessor-Cwhs4PwS.cjs} +3 -3
  4. package/dist/{ProviderSelectionHandler-BCDvmifJ.cjs → ProviderSelectionHandler-CmDe9yDh.cjs} +2 -2
  5. package/dist/{ProviderSelectionHandler-BuZarTDc.mjs → ProviderSelectionHandler-DnnCwXqU.mjs} +2 -2
  6. package/dist/{api-BxXBKBUy.mjs → api-Bad69WzY.mjs} +2 -2
  7. package/dist/{api-B4g8VLUn.cjs → api-CaqY_2x_.cjs} +2 -2
  8. package/dist/{command-CHiLfBa4.mjs → command-D9ZaQZQN.mjs} +4 -3
  9. package/dist/{command-DVt_YmE6.cjs → command-DkVbAV9p.cjs} +4 -3
  10. package/dist/{index-DaAkW0VN.mjs → index-naa51zV7.mjs} +1102 -50
  11. package/dist/{index-CWom7mSf.cjs → index-oxTpdQx2.cjs} +1105 -50
  12. package/dist/index.cjs +5 -4
  13. package/dist/index.mjs +5 -4
  14. package/dist/lib.cjs +1 -1
  15. package/dist/lib.mjs +1 -1
  16. package/dist/{persistence-8pNEvzaq.mjs → persistence-4BmGePWc.mjs} +1 -1
  17. package/dist/{persistence-DScOANDE.cjs → persistence-Byr0hWCR.cjs} +1 -1
  18. package/dist/{registerKillSessionHandler-Dr1inhTc.cjs → registerKillSessionHandler-CodtiIoq.cjs} +3 -3
  19. package/dist/{registerKillSessionHandler-CNNguWyD.mjs → registerKillSessionHandler-HO4ql8g-.mjs} +3 -3
  20. package/dist/{runClaude-h-8llTrI.cjs → runClaude-C3UNcGqk.cjs} +26 -691
  21. package/dist/{runClaude-BcvOkIwh.mjs → runClaude-Ev-A-kLN.mjs} +20 -684
  22. package/dist/{runCodex-ClJUgipy.mjs → runCodex-BwFOTxMW.mjs} +9 -8
  23. package/dist/{runCodex-CA58KUHf.cjs → runCodex-CNM6wz69.cjs} +9 -8
  24. package/dist/{runGemini-dAr7Gcn8.mjs → runGemini-CXctVflO.mjs} +8 -7
  25. package/dist/{runGemini-IFHhFMSU.cjs → runGemini-DqfqSBsP.cjs} +8 -7
  26. package/package.json +9 -9
  27. package/scripts/build.mjs +66 -66
  28. package/scripts/devtools/README.md +9 -9
  29. package/scripts/e2e/fake-codex-acp-agent.mjs +139 -139
  30. package/scripts/e2e/local-server-session-roundtrip.mjs +1063 -1063
  31. package/scripts/release-smoke.mjs +198 -197
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  import { execFileSync } from 'child_process';
4
4
  import { fileURLToPath } from 'url';
@@ -1,6 +1,6 @@
1
- import { p as publishSessionRegistration } from './index-DaAkW0VN.mjs';
2
- import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-BxXBKBUy.mjs';
3
- import { c as createSessionMetadata } from './registerKillSessionHandler-CNNguWyD.mjs';
1
+ import { p as publishSessionRegistration } from './index-naa51zV7.mjs';
2
+ import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-Bad69WzY.mjs';
3
+ import { c as createSessionMetadata } from './registerKillSessionHandler-HO4ql8g-.mjs';
4
4
  import { EventEmitter } from 'node:events';
5
5
  import { randomUUID } from 'node:crypto';
6
6
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CWom7mSf.cjs');
4
- var api = require('./api-B4g8VLUn.cjs');
5
- var registerKillSessionHandler = require('./registerKillSessionHandler-Dr1inhTc.cjs');
3
+ var index = require('./index-oxTpdQx2.cjs');
4
+ var api = require('./api-CaqY_2x_.cjs');
5
+ var registerKillSessionHandler = require('./registerKillSessionHandler-CodtiIoq.cjs');
6
6
  var node_events = require('node:events');
7
7
  var node_crypto = require('node:crypto');
8
8
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var api = require('./api-B4g8VLUn.cjs');
4
- var registerKillSessionHandler = require('./registerKillSessionHandler-Dr1inhTc.cjs');
3
+ var api = require('./api-CaqY_2x_.cjs');
4
+ var registerKillSessionHandler = require('./registerKillSessionHandler-CodtiIoq.cjs');
5
5
 
6
6
  async function runModeLoop(opts) {
7
7
  let currentMode = opts.startingMode;
@@ -1,5 +1,5 @@
1
- import { l as logger } from './api-BxXBKBUy.mjs';
2
- import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-CNNguWyD.mjs';
1
+ import { l as logger } from './api-Bad69WzY.mjs';
2
+ import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-HO4ql8g-.mjs';
3
3
 
4
4
  async function runModeLoop(opts) {
5
5
  let currentMode = opts.startingMode;
@@ -16,7 +16,7 @@ import { spawn } from 'node:child_process';
16
16
  import { Expo } from 'expo-server-sdk';
17
17
 
18
18
  var name = "happy-imou-cloud";
19
- var version = "2.0.12";
19
+ var version = "2.0.14";
20
20
  var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
21
21
  var author = "long.zhu";
22
22
  var license = "MIT";
@@ -430,7 +430,7 @@ async function listDaemonLogFiles(limit = 50) {
430
430
  return { file, path: fullPath, modified: stats.mtime };
431
431
  }).sort((a, b) => b.modified.getTime() - a.modified.getTime());
432
432
  try {
433
- const { readDaemonState } = await import('./persistence-8pNEvzaq.mjs');
433
+ const { readDaemonState } = await import('./persistence-4BmGePWc.mjs');
434
434
  const state = await readDaemonState();
435
435
  if (!state) {
436
436
  return logs;
@@ -18,7 +18,7 @@ var node_child_process = require('node:child_process');
18
18
  var expoServerSdk = require('expo-server-sdk');
19
19
 
20
20
  var name = "happy-imou-cloud";
21
- var version = "2.0.12";
21
+ var version = "2.0.14";
22
22
  var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
23
23
  var author = "long.zhu";
24
24
  var license = "MIT";
@@ -432,7 +432,7 @@ async function listDaemonLogFiles(limit = 50) {
432
432
  return { file, path: fullPath, modified: stats.mtime };
433
433
  }).sort((a, b) => b.modified.getTime() - a.modified.getTime());
434
434
  try {
435
- const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-DScOANDE.cjs'); });
435
+ const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-Byr0hWCR.cjs'); });
436
436
  const state = await readDaemonState();
437
437
  if (!state) {
438
438
  return logs;
@@ -1,6 +1,6 @@
1
- import { c as createDefaultRuntimeShell } from './index-DaAkW0VN.mjs';
1
+ import { c as createDefaultRuntimeShell } from './index-naa51zV7.mjs';
2
2
  import 'chalk';
3
- import './api-BxXBKBUy.mjs';
3
+ import './api-Bad69WzY.mjs';
4
4
  import 'axios';
5
5
  import 'fs';
6
6
  import 'node:fs';
@@ -16,7 +16,7 @@ import 'crypto';
16
16
  import 'path';
17
17
  import 'node:child_process';
18
18
  import 'expo-server-sdk';
19
- import './persistence-8pNEvzaq.mjs';
19
+ import './persistence-4BmGePWc.mjs';
20
20
  import 'node:fs/promises';
21
21
  import 'os';
22
22
  import 'tmp';
@@ -35,6 +35,7 @@ import 'node:readline';
35
35
  import 'http';
36
36
  import 'util';
37
37
  import '@agentclientprotocol/sdk';
38
+ import 'node:url';
38
39
 
39
40
  function listRuntimeProviders() {
40
41
  const shell = createDefaultRuntimeShell();
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CWom7mSf.cjs');
3
+ var index = require('./index-oxTpdQx2.cjs');
4
4
  require('chalk');
5
- require('./api-B4g8VLUn.cjs');
5
+ require('./api-CaqY_2x_.cjs');
6
6
  require('axios');
7
7
  require('fs');
8
8
  require('node:fs');
@@ -18,7 +18,7 @@ require('crypto');
18
18
  require('path');
19
19
  require('node:child_process');
20
20
  require('expo-server-sdk');
21
- require('./persistence-DScOANDE.cjs');
21
+ require('./persistence-Byr0hWCR.cjs');
22
22
  require('node:fs/promises');
23
23
  require('os');
24
24
  require('tmp');
@@ -37,6 +37,7 @@ require('node:readline');
37
37
  require('http');
38
38
  require('util');
39
39
  require('@agentclientprotocol/sdk');
40
+ require('node:url');
40
41
 
41
42
  function listRuntimeProviders() {
42
43
  const shell = index.createDefaultRuntimeShell();