happy-imou-cloud 2.1.56 → 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.
Files changed (53) hide show
  1. package/dist/{BaseReasoningProcessor-aDwfLWFR.cjs → BaseReasoningProcessor-C67V1qL3.cjs} +1 -1
  2. package/dist/{BaseReasoningProcessor-Cu129Kvz.mjs → BaseReasoningProcessor-D2Q8Nme5.mjs} +1 -1
  3. package/dist/{ConversationHistory-DghAI90W.mjs → ConversationHistory-BBIe2m4P.mjs} +2 -3
  4. package/dist/{ConversationHistory-ChzJu7b_.cjs → ConversationHistory-atrS3PAx.cjs} +9 -10
  5. package/dist/{ProviderSelectionHandler-KBda4cGb.mjs → ProviderSelectionHandler-Qi2pFTxL.mjs} +2 -2
  6. package/dist/{ProviderSelectionHandler-DzIOnFlp.cjs → ProviderSelectionHandler-h3z4-foa.cjs} +2 -2
  7. package/dist/{bootstrapManagedProviderSession-qmnyxNrj.mjs → bootstrapManagedProviderSession-AhAYHLGj.mjs} +2 -2
  8. package/dist/{bootstrapManagedProviderSession-BI1uwf00.cjs → bootstrapManagedProviderSession-RLtyRq0n.cjs} +2 -2
  9. package/dist/{command-NdLWSLXz.cjs → command-CyzKMQbs.cjs} +7 -25
  10. package/dist/{command-CYTjKTpW.mjs → command-DRRTqKEA.mjs} +6 -24
  11. package/dist/{config-B_c2F2bF.mjs → config-BXTUTPxJ.mjs} +1 -1
  12. package/dist/{config-NsagnVOI.cjs → config-BqFnXbs0.cjs} +1 -1
  13. package/dist/{index-BkggJHjM.mjs → index-BCLSXYQP.mjs} +30 -618
  14. package/dist/{index-D5WM-gNy.cjs → index-BoSqCbVr.cjs} +28 -629
  15. package/dist/index.cjs +4 -4
  16. package/dist/index.mjs +4 -4
  17. package/dist/{installFatalProcessHandlers-Cklewa02.mjs → installFatalProcessHandlers-B99QpyLN.mjs} +1 -1
  18. package/dist/{installFatalProcessHandlers-CAogSuf7.cjs → installFatalProcessHandlers-DyyiLNrG.cjs} +1 -1
  19. package/dist/{launch-B0J0joT-.mjs → launch-DRd9FuLt.mjs} +6 -24
  20. package/dist/{launch-C_d8tUSD.cjs → launch-DnWvtpv4.cjs} +7 -25
  21. package/dist/lib.cjs +9 -1
  22. package/dist/lib.d.cts +5 -0
  23. package/dist/lib.d.mts +5 -0
  24. package/dist/lib.mjs +9 -1
  25. package/dist/{runClaude-C3bk2AkK.cjs → runClaude-DOlxK2PO.cjs} +22 -25
  26. package/dist/{runClaude-h5PduXL7.mjs → runClaude-Df_7_PkI.mjs} +7 -10
  27. package/dist/{runCodex-bLGp0SYz.cjs → runCodex-ClqZb2wh.cjs} +36 -41
  28. package/dist/{runCodex-BNVkKJhH.mjs → runCodex-DP-67NuP.mjs} +10 -15
  29. package/dist/{runCursor-D4DksmwR.cjs → runCursor-ClUxehsP.cjs} +17 -21
  30. package/dist/{runCursor-BcS5NRyz.mjs → runCursor-CqElKVpg.mjs} +15 -19
  31. package/dist/{runGemini-DRyHlB7h.mjs → runGemini-CVyRbdZg.mjs} +10 -12
  32. package/dist/{runGemini-DdDwVysh.cjs → runGemini-CmrMnkBU.cjs} +16 -18
  33. package/dist/{sessionControl-CQC1ffi5.mjs → sessionControl-BovRthCu.mjs} +11 -3
  34. package/dist/{sessionControl-BTPsASVE.cjs → sessionControl-C1bgV3SZ.cjs} +16 -8
  35. package/dist/{types-DkfOkkim.mjs → types-BZeEK90l.mjs} +6458 -7
  36. package/dist/{types-B6Hka3jh.cjs → types-CcsR2bJq.cjs} +6474 -1
  37. package/package.json +6 -5
  38. package/dist/AcpBackend-4InE9FwE.mjs +0 -2665
  39. package/dist/AcpBackend-B3ro_tdV.cjs +0 -2667
  40. package/dist/RuntimeShell--T97e4f5.cjs +0 -258
  41. package/dist/RuntimeShell-DV7j_wJL.mjs +0 -252
  42. package/dist/claude-BuBeJMOX.mjs +0 -1073
  43. package/dist/claude-s2HCITr6.cjs +0 -1080
  44. package/dist/codex-AnifHbja.mjs +0 -581
  45. package/dist/codex-DPhkIcfb.cjs +0 -586
  46. package/dist/createDefaultRuntimeShell-Bt79Le83.mjs +0 -31
  47. package/dist/createDefaultRuntimeShell-_a3R9SbY.cjs +0 -33
  48. package/dist/cursor-Csc_nwUR.cjs +0 -91
  49. package/dist/cursor-ps28W3Y6.mjs +0 -88
  50. package/dist/future-Dq4Ha1Dn.cjs +0 -24
  51. package/dist/future-xRdLl3vf.mjs +0 -22
  52. package/dist/resolveCommand-CdF591A1.mjs +0 -190
  53. package/dist/resolveCommand-H8HwprW3.cjs +0 -195
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var node_crypto = require('node:crypto');
4
- var persistence = require('./types-B6Hka3jh.cjs');
4
+ var persistence = require('./types-CcsR2bJq.cjs');
5
5
 
6
6
  class BaseReasoningProcessor {
7
7
  accumulator = "";
@@ -1,5 +1,5 @@
1
1
  import { randomUUID } from 'node:crypto';
2
- import { F as logger } from './types-DkfOkkim.mjs';
2
+ import { U as logger } from './types-BZeEK90l.mjs';
3
3
 
4
4
  class BaseReasoningProcessor {
5
5
  accumulator = "";
@@ -1,6 +1,5 @@
1
- import { R as RuntimeShell, f as formatDisplayMessage, t as truncateDisplayMessage } from './RuntimeShell-DV7j_wJL.mjs';
2
- import { j as renderTerminalOutputPreview } from './sessionControl-CQC1ffi5.mjs';
3
- import { F as logger } from './types-DkfOkkim.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();
@@ -1,11 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var RuntimeShell = require('./RuntimeShell--T97e4f5.cjs');
4
- var sessionControl = require('./sessionControl-BTPsASVE.cjs');
5
- var persistence = require('./types-B6Hka3jh.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 RuntimeShell.RuntimeShell();
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(RuntimeShell.formatDisplayMessage(content));
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 = RuntimeShell.truncateDisplayMessage(
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 = RuntimeShell.truncateDisplayMessage(resultValue, 200);
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 ? RuntimeShell.truncateDisplayMessage(payload.stderr, 200) || "Patch failed" : RuntimeShell.truncateDisplayMessage(payload.stdout, 200) || "Patch applied";
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 = RuntimeShell.truncateDisplayMessage(
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(RuntimeShell.formatDisplayMessage(transcriptMessage.message), "status");
672
+ opts.messageBuffer.addMessage(persistence.formatDisplayMessage(transcriptMessage.message), "status");
674
673
  }
675
674
  };
676
675
  }
@@ -1,5 +1,5 @@
1
- import { F as logger } from './types-DkfOkkim.mjs';
2
- import { h as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, b as INTERACTION_TIMED_OUT_ERROR } from './sessionControl-CQC1ffi5.mjs';
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;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var persistence = require('./types-B6Hka3jh.cjs');
4
- var sessionControl = require('./sessionControl-BTPsASVE.cjs');
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 { e as createSessionMetadata, m as publishSessionRegistration } from './index-BkggJHjM.mjs';
2
- import { V as startOfflineReconnection, s as configuration, E as isAuthenticationRequiredError, F as logger } from './types-DkfOkkim.mjs';
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-D5WM-gNy.cjs');
4
- var persistence = require('./types-B6Hka3jh.cjs');
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 createDefaultRuntimeShell = require('./createDefaultRuntimeShell-_a3R9SbY.cjs');
4
- require('cross-spawn');
5
- require('@agentclientprotocol/sdk');
6
- require('node:crypto');
7
- require('./types-B6Hka3jh.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('expo-server-sdk');
25
- require('./index-D5WM-gNy.cjs');
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('./codex-DPhkIcfb.cjs');
42
- require('./AcpBackend-B3ro_tdV.cjs');
43
- require('./RuntimeShell--T97e4f5.cjs');
44
- require('./resolveCommand-H8HwprW3.cjs');
45
- require('./claude-s2HCITr6.cjs');
46
- require('./future-Dq4Ha1Dn.cjs');
47
- require('./cursor-Csc_nwUR.cjs');
29
+ require('expo-server-sdk');
48
30
 
49
31
  function listRuntimeProviders() {
50
- const shell = createDefaultRuntimeShell.createDefaultRuntimeShell();
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 { c as createDefaultRuntimeShell } from './createDefaultRuntimeShell-Bt79Le83.mjs';
2
- import 'cross-spawn';
3
- import '@agentclientprotocol/sdk';
4
- import 'node:crypto';
5
- import './types-DkfOkkim.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 'expo-server-sdk';
23
- import './index-BkggJHjM.mjs';
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 './codex-AnifHbja.mjs';
40
- import './AcpBackend-4InE9FwE.mjs';
41
- import './RuntimeShell-DV7j_wJL.mjs';
42
- import './resolveCommand-CdF591A1.mjs';
43
- import './claude-BuBeJMOX.mjs';
44
- import './future-xRdLl3vf.mjs';
45
- import './cursor-ps28W3Y6.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 { F as logger } from './types-DkfOkkim.mjs';
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";
@@ -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-B6Hka3jh.cjs');
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";