happy-imou-cloud 2.0.1 → 2.0.3

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 (27) hide show
  1. package/dist/{BaseReasoningProcessor-DQE2l7Xu.mjs → BaseReasoningProcessor-B37yOHxo.mjs} +2 -2
  2. package/dist/{BaseReasoningProcessor-01KqA3Kz.cjs → BaseReasoningProcessor-_wxlqKB8.cjs} +4 -4
  3. package/dist/{api-B8v4tczT.cjs → api-D9dIR956.cjs} +97 -44
  4. package/dist/{api-B5Ui8Fw0.mjs → api-DpQIC-DJ.mjs} +56 -3
  5. package/dist/{command-D8yNlaDo.cjs → command-CdXv1zNF.cjs} +3 -3
  6. package/dist/{command-BfIuJmeo.mjs → command-DRqrBuHM.mjs} +3 -3
  7. package/dist/{index-BByhFIIq.mjs → index-CriPm_z9.mjs} +15 -17
  8. package/dist/{index-BOqJ9hwi.cjs → index-LYPXVO_L.cjs} +98 -100
  9. package/dist/index.cjs +3 -3
  10. package/dist/index.mjs +3 -3
  11. package/dist/lib.cjs +1 -1
  12. package/dist/lib.d.cts +6 -0
  13. package/dist/lib.d.mts +6 -0
  14. package/dist/lib.mjs +1 -1
  15. package/dist/{persistence-CzpZpiL3.mjs → persistence-CqgPgbzN.mjs} +29 -7
  16. package/dist/{persistence-C33AMdtv.cjs → persistence-PzKU0QCa.cjs} +54 -32
  17. package/dist/{registerKillSessionHandler-BkzQulD9.cjs → registerKillSessionHandler-BDBPoQSA.cjs} +2 -2
  18. package/dist/{registerKillSessionHandler-BtSK7IOa.mjs → registerKillSessionHandler-C3M_-4Zg.mjs} +2 -2
  19. package/dist/{runClaude-C_WLfM6c.mjs → runClaude-D6Pdkevn.mjs} +250 -46
  20. package/dist/{runClaude-CNVufgZb.cjs → runClaude-IeRSC5qX.cjs} +270 -66
  21. package/dist/{runCodex-8eWjTPJr.mjs → runCodex-CsfUU1Wb.mjs} +216 -401
  22. package/dist/{runCodex-Dzy8anlX.cjs → runCodex-WRmgSK6L.cjs} +216 -401
  23. package/dist/{runGemini-nbr0mm-S.mjs → runGemini-CrH3dQ0Y.mjs} +5 -5
  24. package/dist/{runGemini-CgsVKP7m.cjs → runGemini-qBh6zs5G.cjs} +5 -5
  25. package/package.json +1 -2
  26. package/dist/future-Dq4Ha1Dn.cjs +0 -24
  27. package/dist/future-xRdLl3vf.mjs +0 -22
@@ -1,11 +1,11 @@
1
1
  import { useStdout, useInput, Box, Text, render } from 'ink';
2
2
  import React, { useState, useRef, useEffect, useCallback } from 'react';
3
3
  import { randomUUID } from 'node:crypto';
4
- import { l as logger, b as connectionState, A as ApiClient, i as isAuthenticationRequiredError } from './api-B5Ui8Fw0.mjs';
5
- import { readSettings } from './persistence-CzpZpiL3.mjs';
6
- import { B as BasePermissionHandler, a as BaseReasoningProcessor, c as createSessionMetadata, s as setupOfflineReconnection } from './BaseReasoningProcessor-DQE2l7Xu.mjs';
7
- import { i as initialMachineMetadata, n as notifyDaemonSessionStarted, g as getInitialGeminiModel, r as readGeminiLocalConfig, G as GEMINI_MODEL_ENV, s as saveGeminiModelToConfig, a as createGeminiBackend, b as stopCaffeinate } from './index-BByhFIIq.mjs';
8
- import { M as MessageQueue2, h as hashObject, a as MessageBuffer, r as registerKillSessionHandler } from './registerKillSessionHandler-BtSK7IOa.mjs';
4
+ import { l as logger, b as connectionState, A as ApiClient, i as isAuthenticationRequiredError } from './api-DpQIC-DJ.mjs';
5
+ import { readSettings } from './persistence-CqgPgbzN.mjs';
6
+ import { B as BasePermissionHandler, a as BaseReasoningProcessor, c as createSessionMetadata, s as setupOfflineReconnection } from './BaseReasoningProcessor-B37yOHxo.mjs';
7
+ import { i as initialMachineMetadata, n as notifyDaemonSessionStarted, g as getInitialGeminiModel, r as readGeminiLocalConfig, G as GEMINI_MODEL_ENV, s as saveGeminiModelToConfig, a as createGeminiBackend, b as stopCaffeinate } from './index-CriPm_z9.mjs';
8
+ import { M as MessageQueue2, h as hashObject, a as MessageBuffer, r as registerKillSessionHandler } from './registerKillSessionHandler-C3M_-4Zg.mjs';
9
9
  import 'axios';
10
10
  import 'chalk';
11
11
  import 'fs';
@@ -3,11 +3,11 @@
3
3
  var ink = require('ink');
4
4
  var React = require('react');
5
5
  var node_crypto = require('node:crypto');
6
- var api = require('./api-B8v4tczT.cjs');
7
- var persistence = require('./persistence-C33AMdtv.cjs');
8
- var BaseReasoningProcessor = require('./BaseReasoningProcessor-01KqA3Kz.cjs');
9
- var index = require('./index-BOqJ9hwi.cjs');
10
- var registerKillSessionHandler = require('./registerKillSessionHandler-BkzQulD9.cjs');
6
+ var api = require('./api-D9dIR956.cjs');
7
+ var persistence = require('./persistence-PzKU0QCa.cjs');
8
+ var BaseReasoningProcessor = require('./BaseReasoningProcessor-_wxlqKB8.cjs');
9
+ var index = require('./index-LYPXVO_L.cjs');
10
+ var registerKillSessionHandler = require('./registerKillSessionHandler-BDBPoQSA.cjs');
11
11
  require('axios');
12
12
  require('chalk');
13
13
  require('fs');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "happy-imou-cloud",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI",
5
5
  "author": "long.zhu",
6
6
  "license": "MIT",
@@ -84,7 +84,6 @@
84
84
  },
85
85
  "dependencies": {
86
86
  "@agentclientprotocol/sdk": "^0.14.1",
87
- "@modelcontextprotocol/sdk": "^1.25.3",
88
87
  "@stablelib/base64": "^2.0.1",
89
88
  "@stablelib/hex": "^2.0.1",
90
89
  "@types/cross-spawn": "^6.0.6",
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- class Future {
4
- _resolve;
5
- _reject;
6
- _promise;
7
- constructor() {
8
- this._promise = new Promise((resolve, reject) => {
9
- this._resolve = resolve;
10
- this._reject = reject;
11
- });
12
- }
13
- resolve(value) {
14
- this._resolve(value);
15
- }
16
- reject(reason) {
17
- this._reject(reason);
18
- }
19
- get promise() {
20
- return this._promise;
21
- }
22
- }
23
-
24
- exports.Future = Future;
@@ -1,22 +0,0 @@
1
- class Future {
2
- _resolve;
3
- _reject;
4
- _promise;
5
- constructor() {
6
- this._promise = new Promise((resolve, reject) => {
7
- this._resolve = resolve;
8
- this._reject = reject;
9
- });
10
- }
11
- resolve(value) {
12
- this._resolve(value);
13
- }
14
- reject(reason) {
15
- this._reject(reason);
16
- }
17
- get promise() {
18
- return this._promise;
19
- }
20
- }
21
-
22
- export { Future as F };