happy-imou-cloud 2.0.13 → 2.0.16

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 (30) hide show
  1. package/dist/BaseReasoningProcessor-BqMAZlIw.cjs +323 -0
  2. package/dist/BaseReasoningProcessor-C04_LHjN.mjs +320 -0
  3. package/dist/ProviderSelectionHandler-CO9NkAt6.cjs +265 -0
  4. package/dist/ProviderSelectionHandler-DDWyn9Lo.mjs +261 -0
  5. package/dist/{api-DH5-IqeM.cjs → api-Db1SQcP_.cjs} +2 -2
  6. package/dist/{api-D1meoL-9.mjs → api-sRF6xXi-.mjs} +2 -2
  7. package/dist/{command-CMvWClny.mjs → command-WcgGTRnG.mjs} +4 -3
  8. package/dist/{command-Ch8Dgidj.cjs → command-eRjSBm2C.cjs} +4 -3
  9. package/dist/{index-CryJfCh5.cjs → index-B6ID1zDR.cjs} +1106 -50
  10. package/dist/{index-Cxrx9m5D.mjs → index-DpWeKfvS.mjs} +1102 -50
  11. package/dist/index.cjs +5 -4
  12. package/dist/index.mjs +5 -4
  13. package/dist/lib.cjs +1 -1
  14. package/dist/lib.mjs +1 -1
  15. package/dist/{persistence-9Iu0wGNM.mjs → persistence-B89V4xY5.mjs} +1 -1
  16. package/dist/{persistence-Bl3FYvwd.cjs → persistence-Btu2VPXI.cjs} +1 -1
  17. package/dist/{registerKillSessionHandler-BElGmD1E.mjs → registerKillSessionHandler-CwmYlUfS.mjs} +541 -5
  18. package/dist/{registerKillSessionHandler-BjkY-oUn.cjs → registerKillSessionHandler-eZ2TsHqx.cjs} +549 -4
  19. package/dist/{runClaude-CDZxAF3l.cjs → runClaude-C9-ylbQh.cjs} +599 -747
  20. package/dist/{runClaude-D7dF4RDM.mjs → runClaude-kRPXCaBj.mjs} +591 -738
  21. package/dist/{runCodex-DnGz1XES.mjs → runCodex-B1xN0wAU.mjs} +9 -215
  22. package/dist/{runCodex-Cik8VzFs.cjs → runCodex-CRNBxY5f.cjs} +20 -226
  23. package/dist/{runGemini-BM2BQ4I7.cjs → runGemini-BZ5hqJyl.cjs} +16 -15
  24. package/dist/{runGemini-B8tXMHeL.mjs → runGemini-Xn2VwS88.mjs} +8 -7
  25. package/package.json +1 -1
  26. package/scripts/release-smoke.mjs +6 -5
  27. package/dist/ConversationHistory-V3VLmjJf.cjs +0 -868
  28. package/dist/ConversationHistory-_ciJNIgH.mjs +0 -856
  29. package/dist/createKeepAliveController-C5cQlDRr.mjs +0 -51
  30. package/dist/createKeepAliveController-DO8H6d5E.cjs +0 -54
@@ -0,0 +1,265 @@
1
+ 'use strict';
2
+
3
+ var api = require('./api-Db1SQcP_.cjs');
4
+ var registerKillSessionHandler = require('./registerKillSessionHandler-eZ2TsHqx.cjs');
5
+
6
+ async function runModeLoop(opts) {
7
+ let currentMode = opts.startingMode;
8
+ if (opts.notifyInitialMode) {
9
+ await opts.onModeChange?.(currentMode);
10
+ }
11
+ while (true) {
12
+ opts.onIteration?.(currentMode);
13
+ const result = await opts.launchers[currentMode]();
14
+ if (result.type === "exit") {
15
+ return result.value;
16
+ }
17
+ currentMode = result.mode;
18
+ await opts.onModeChange?.(currentMode);
19
+ }
20
+ }
21
+
22
+ function createKeepAliveController(opts) {
23
+ let thinking = opts.initialThinking ?? false;
24
+ let mode = opts.initialMode;
25
+ let disposed = false;
26
+ const sync = () => {
27
+ if (disposed) {
28
+ return;
29
+ }
30
+ opts.send(thinking, mode);
31
+ };
32
+ sync();
33
+ const intervalId = setInterval(sync, opts.intervalMs ?? 2e3);
34
+ return {
35
+ dispose: () => {
36
+ if (disposed) {
37
+ return;
38
+ }
39
+ disposed = true;
40
+ clearInterval(intervalId);
41
+ },
42
+ getMode: () => mode,
43
+ getThinking: () => thinking,
44
+ setMode: (nextMode) => {
45
+ mode = nextMode;
46
+ sync();
47
+ },
48
+ setThinking: (nextThinking) => {
49
+ thinking = nextThinking;
50
+ sync();
51
+ },
52
+ sync
53
+ };
54
+ }
55
+
56
+ class ProviderSelectionHandler {
57
+ pendingRequests = /* @__PURE__ */ new Map();
58
+ session;
59
+ providerLabel;
60
+ constructor(session, providerLabel) {
61
+ this.session = session;
62
+ this.providerLabel = providerLabel;
63
+ this.setupRpcHandler();
64
+ }
65
+ updateSession(newSession) {
66
+ this.session = newSession;
67
+ this.setupRpcHandler();
68
+ }
69
+ async requestSelection(request) {
70
+ return new Promise((resolve, reject) => {
71
+ const pending = {
72
+ resolve,
73
+ reject,
74
+ request
75
+ };
76
+ pending.timeoutHandle = setTimeout(() => {
77
+ this.handleSelectionTimeout(request.id, pending);
78
+ }, registerKillSessionHandler.getPendingInteractionTimeoutMs());
79
+ this.pendingRequests.set(request.id, pending);
80
+ this.session.updateAgentState((currentState) => ({
81
+ ...currentState,
82
+ requests: {
83
+ ...currentState.requests,
84
+ [request.id]: {
85
+ tool: "AskUserQuestion",
86
+ arguments: {
87
+ requestKind: "selection",
88
+ questions: [
89
+ {
90
+ header: this.providerLabel,
91
+ question: request.message,
92
+ multiSelect: false,
93
+ options: request.options.map((option) => ({
94
+ label: option.label,
95
+ description: option.description || option.optionId,
96
+ optionId: option.optionId
97
+ }))
98
+ }
99
+ ]
100
+ },
101
+ createdAt: Date.now(),
102
+ requestKind: "selection",
103
+ options: request.options,
104
+ defaultOptionId: request.defaultOptionId
105
+ }
106
+ }
107
+ }));
108
+ api.logger.debug(`[${this.providerLabel}] Selection request sent (${request.id}) with ${request.options.length} options`);
109
+ });
110
+ }
111
+ hasPendingRequests() {
112
+ return this.pendingRequests.size > 0;
113
+ }
114
+ supersedePendingRequests(reason = registerKillSessionHandler.INTERACTION_SUPERSEDED_ERROR) {
115
+ const pendingSnapshot = Array.from(this.pendingRequests.entries());
116
+ if (pendingSnapshot.length === 0) {
117
+ return 0;
118
+ }
119
+ this.pendingRequests.clear();
120
+ const completedAt = Date.now();
121
+ for (const [, pending] of pendingSnapshot) {
122
+ this.clearPendingRequestTimeout(pending);
123
+ pending.reject(new Error(reason));
124
+ }
125
+ this.session.updateAgentState((currentState) => {
126
+ const requests = { ...currentState.requests || {} };
127
+ const completedRequests = { ...currentState.completedRequests || {} };
128
+ for (const [id, request] of Object.entries(requests)) {
129
+ if (request.requestKind !== "selection") {
130
+ continue;
131
+ }
132
+ completedRequests[id] = {
133
+ ...request,
134
+ completedAt,
135
+ status: "canceled",
136
+ reason,
137
+ requestKind: "selection"
138
+ };
139
+ delete requests[id];
140
+ }
141
+ return {
142
+ ...currentState,
143
+ requests,
144
+ completedRequests
145
+ };
146
+ });
147
+ api.logger.debug(`[${this.providerLabel}] Superseded ${pendingSnapshot.length} pending selection request(s)`);
148
+ return pendingSnapshot.length;
149
+ }
150
+ reset(reason = "Session reset") {
151
+ const pendingSnapshot = Array.from(this.pendingRequests.entries());
152
+ this.pendingRequests.clear();
153
+ for (const [, pending] of pendingSnapshot) {
154
+ this.clearPendingRequestTimeout(pending);
155
+ pending.reject(new Error(reason));
156
+ }
157
+ this.session.updateAgentState((currentState) => {
158
+ const requests = { ...currentState.requests || {} };
159
+ const completedRequests = { ...currentState.completedRequests || {} };
160
+ for (const [id, request] of Object.entries(requests)) {
161
+ if (request.requestKind !== "selection") {
162
+ continue;
163
+ }
164
+ completedRequests[id] = {
165
+ ...request,
166
+ completedAt: Date.now(),
167
+ status: "canceled",
168
+ reason,
169
+ requestKind: "selection"
170
+ };
171
+ delete requests[id];
172
+ }
173
+ return {
174
+ ...currentState,
175
+ requests,
176
+ completedRequests
177
+ };
178
+ });
179
+ }
180
+ setupRpcHandler() {
181
+ this.session.rpcHandlerManager.registerHandler("selection", async (response) => {
182
+ const pending = this.pendingRequests.get(response.id);
183
+ if (!pending) {
184
+ api.logger.debug(`[${this.providerLabel}] Selection request not found or already resolved`);
185
+ return;
186
+ }
187
+ this.pendingRequests.delete(response.id);
188
+ this.clearPendingRequestTimeout(pending);
189
+ pending.resolve(response);
190
+ this.session.updateAgentState((currentState) => {
191
+ const request = currentState.requests?.[response.id];
192
+ if (!request) {
193
+ return currentState;
194
+ }
195
+ const { [response.id]: _, ...remainingRequests } = currentState.requests || {};
196
+ return {
197
+ ...currentState,
198
+ requests: remainingRequests,
199
+ completedRequests: {
200
+ ...currentState.completedRequests,
201
+ [response.id]: {
202
+ ...request,
203
+ completedAt: Date.now(),
204
+ status: "approved",
205
+ requestKind: "selection",
206
+ selectedOptionId: response.optionId
207
+ }
208
+ }
209
+ };
210
+ });
211
+ });
212
+ }
213
+ clearPendingRequestTimeout(pending) {
214
+ if (pending?.timeoutHandle) {
215
+ clearTimeout(pending.timeoutHandle);
216
+ pending.timeoutHandle = void 0;
217
+ }
218
+ }
219
+ handleSelectionTimeout(requestId, pending) {
220
+ const active = this.pendingRequests.get(requestId);
221
+ if (!active || active !== pending) {
222
+ return;
223
+ }
224
+ this.pendingRequests.delete(requestId);
225
+ this.clearPendingRequestTimeout(active);
226
+ active.reject(new Error(registerKillSessionHandler.INTERACTION_TIMED_OUT_ERROR));
227
+ this.session.updateAgentState((currentState) => {
228
+ const request = currentState.requests?.[requestId] || {
229
+ tool: "AskUserQuestion",
230
+ arguments: {
231
+ requestKind: "selection",
232
+ questions: []
233
+ },
234
+ createdAt: Date.now(),
235
+ requestKind: "selection",
236
+ options: active.request.options,
237
+ defaultOptionId: active.request.defaultOptionId
238
+ };
239
+ const { [requestId]: _, ...remainingRequests } = currentState.requests || {};
240
+ return {
241
+ ...currentState,
242
+ requests: remainingRequests,
243
+ completedRequests: {
244
+ ...currentState.completedRequests,
245
+ [requestId]: {
246
+ ...request,
247
+ completedAt: Date.now(),
248
+ status: "canceled",
249
+ reason: registerKillSessionHandler.INTERACTION_TIMED_OUT_ERROR,
250
+ requestKind: "selection"
251
+ }
252
+ }
253
+ };
254
+ });
255
+ this.session.sendSessionEvent({
256
+ type: "message",
257
+ message: "Pending interaction timed out waiting for a response. Send a new message to continue."
258
+ });
259
+ api.logger.debug(`[${this.providerLabel}] Selection request timed out (${requestId})`);
260
+ }
261
+ }
262
+
263
+ exports.ProviderSelectionHandler = ProviderSelectionHandler;
264
+ exports.createKeepAliveController = createKeepAliveController;
265
+ exports.runModeLoop = runModeLoop;
@@ -0,0 +1,261 @@
1
+ import { l as logger } from './api-sRF6xXi-.mjs';
2
+ import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-CwmYlUfS.mjs';
3
+
4
+ async function runModeLoop(opts) {
5
+ let currentMode = opts.startingMode;
6
+ if (opts.notifyInitialMode) {
7
+ await opts.onModeChange?.(currentMode);
8
+ }
9
+ while (true) {
10
+ opts.onIteration?.(currentMode);
11
+ const result = await opts.launchers[currentMode]();
12
+ if (result.type === "exit") {
13
+ return result.value;
14
+ }
15
+ currentMode = result.mode;
16
+ await opts.onModeChange?.(currentMode);
17
+ }
18
+ }
19
+
20
+ function createKeepAliveController(opts) {
21
+ let thinking = opts.initialThinking ?? false;
22
+ let mode = opts.initialMode;
23
+ let disposed = false;
24
+ const sync = () => {
25
+ if (disposed) {
26
+ return;
27
+ }
28
+ opts.send(thinking, mode);
29
+ };
30
+ sync();
31
+ const intervalId = setInterval(sync, opts.intervalMs ?? 2e3);
32
+ return {
33
+ dispose: () => {
34
+ if (disposed) {
35
+ return;
36
+ }
37
+ disposed = true;
38
+ clearInterval(intervalId);
39
+ },
40
+ getMode: () => mode,
41
+ getThinking: () => thinking,
42
+ setMode: (nextMode) => {
43
+ mode = nextMode;
44
+ sync();
45
+ },
46
+ setThinking: (nextThinking) => {
47
+ thinking = nextThinking;
48
+ sync();
49
+ },
50
+ sync
51
+ };
52
+ }
53
+
54
+ class ProviderSelectionHandler {
55
+ pendingRequests = /* @__PURE__ */ new Map();
56
+ session;
57
+ providerLabel;
58
+ constructor(session, providerLabel) {
59
+ this.session = session;
60
+ this.providerLabel = providerLabel;
61
+ this.setupRpcHandler();
62
+ }
63
+ updateSession(newSession) {
64
+ this.session = newSession;
65
+ this.setupRpcHandler();
66
+ }
67
+ async requestSelection(request) {
68
+ return new Promise((resolve, reject) => {
69
+ const pending = {
70
+ resolve,
71
+ reject,
72
+ request
73
+ };
74
+ pending.timeoutHandle = setTimeout(() => {
75
+ this.handleSelectionTimeout(request.id, pending);
76
+ }, getPendingInteractionTimeoutMs());
77
+ this.pendingRequests.set(request.id, pending);
78
+ this.session.updateAgentState((currentState) => ({
79
+ ...currentState,
80
+ requests: {
81
+ ...currentState.requests,
82
+ [request.id]: {
83
+ tool: "AskUserQuestion",
84
+ arguments: {
85
+ requestKind: "selection",
86
+ questions: [
87
+ {
88
+ header: this.providerLabel,
89
+ question: request.message,
90
+ multiSelect: false,
91
+ options: request.options.map((option) => ({
92
+ label: option.label,
93
+ description: option.description || option.optionId,
94
+ optionId: option.optionId
95
+ }))
96
+ }
97
+ ]
98
+ },
99
+ createdAt: Date.now(),
100
+ requestKind: "selection",
101
+ options: request.options,
102
+ defaultOptionId: request.defaultOptionId
103
+ }
104
+ }
105
+ }));
106
+ logger.debug(`[${this.providerLabel}] Selection request sent (${request.id}) with ${request.options.length} options`);
107
+ });
108
+ }
109
+ hasPendingRequests() {
110
+ return this.pendingRequests.size > 0;
111
+ }
112
+ supersedePendingRequests(reason = INTERACTION_SUPERSEDED_ERROR) {
113
+ const pendingSnapshot = Array.from(this.pendingRequests.entries());
114
+ if (pendingSnapshot.length === 0) {
115
+ return 0;
116
+ }
117
+ this.pendingRequests.clear();
118
+ const completedAt = Date.now();
119
+ for (const [, pending] of pendingSnapshot) {
120
+ this.clearPendingRequestTimeout(pending);
121
+ pending.reject(new Error(reason));
122
+ }
123
+ this.session.updateAgentState((currentState) => {
124
+ const requests = { ...currentState.requests || {} };
125
+ const completedRequests = { ...currentState.completedRequests || {} };
126
+ for (const [id, request] of Object.entries(requests)) {
127
+ if (request.requestKind !== "selection") {
128
+ continue;
129
+ }
130
+ completedRequests[id] = {
131
+ ...request,
132
+ completedAt,
133
+ status: "canceled",
134
+ reason,
135
+ requestKind: "selection"
136
+ };
137
+ delete requests[id];
138
+ }
139
+ return {
140
+ ...currentState,
141
+ requests,
142
+ completedRequests
143
+ };
144
+ });
145
+ logger.debug(`[${this.providerLabel}] Superseded ${pendingSnapshot.length} pending selection request(s)`);
146
+ return pendingSnapshot.length;
147
+ }
148
+ reset(reason = "Session reset") {
149
+ const pendingSnapshot = Array.from(this.pendingRequests.entries());
150
+ this.pendingRequests.clear();
151
+ for (const [, pending] of pendingSnapshot) {
152
+ this.clearPendingRequestTimeout(pending);
153
+ pending.reject(new Error(reason));
154
+ }
155
+ this.session.updateAgentState((currentState) => {
156
+ const requests = { ...currentState.requests || {} };
157
+ const completedRequests = { ...currentState.completedRequests || {} };
158
+ for (const [id, request] of Object.entries(requests)) {
159
+ if (request.requestKind !== "selection") {
160
+ continue;
161
+ }
162
+ completedRequests[id] = {
163
+ ...request,
164
+ completedAt: Date.now(),
165
+ status: "canceled",
166
+ reason,
167
+ requestKind: "selection"
168
+ };
169
+ delete requests[id];
170
+ }
171
+ return {
172
+ ...currentState,
173
+ requests,
174
+ completedRequests
175
+ };
176
+ });
177
+ }
178
+ setupRpcHandler() {
179
+ this.session.rpcHandlerManager.registerHandler("selection", async (response) => {
180
+ const pending = this.pendingRequests.get(response.id);
181
+ if (!pending) {
182
+ logger.debug(`[${this.providerLabel}] Selection request not found or already resolved`);
183
+ return;
184
+ }
185
+ this.pendingRequests.delete(response.id);
186
+ this.clearPendingRequestTimeout(pending);
187
+ pending.resolve(response);
188
+ this.session.updateAgentState((currentState) => {
189
+ const request = currentState.requests?.[response.id];
190
+ if (!request) {
191
+ return currentState;
192
+ }
193
+ const { [response.id]: _, ...remainingRequests } = currentState.requests || {};
194
+ return {
195
+ ...currentState,
196
+ requests: remainingRequests,
197
+ completedRequests: {
198
+ ...currentState.completedRequests,
199
+ [response.id]: {
200
+ ...request,
201
+ completedAt: Date.now(),
202
+ status: "approved",
203
+ requestKind: "selection",
204
+ selectedOptionId: response.optionId
205
+ }
206
+ }
207
+ };
208
+ });
209
+ });
210
+ }
211
+ clearPendingRequestTimeout(pending) {
212
+ if (pending?.timeoutHandle) {
213
+ clearTimeout(pending.timeoutHandle);
214
+ pending.timeoutHandle = void 0;
215
+ }
216
+ }
217
+ handleSelectionTimeout(requestId, pending) {
218
+ const active = this.pendingRequests.get(requestId);
219
+ if (!active || active !== pending) {
220
+ return;
221
+ }
222
+ this.pendingRequests.delete(requestId);
223
+ this.clearPendingRequestTimeout(active);
224
+ active.reject(new Error(INTERACTION_TIMED_OUT_ERROR));
225
+ this.session.updateAgentState((currentState) => {
226
+ const request = currentState.requests?.[requestId] || {
227
+ tool: "AskUserQuestion",
228
+ arguments: {
229
+ requestKind: "selection",
230
+ questions: []
231
+ },
232
+ createdAt: Date.now(),
233
+ requestKind: "selection",
234
+ options: active.request.options,
235
+ defaultOptionId: active.request.defaultOptionId
236
+ };
237
+ const { [requestId]: _, ...remainingRequests } = currentState.requests || {};
238
+ return {
239
+ ...currentState,
240
+ requests: remainingRequests,
241
+ completedRequests: {
242
+ ...currentState.completedRequests,
243
+ [requestId]: {
244
+ ...request,
245
+ completedAt: Date.now(),
246
+ status: "canceled",
247
+ reason: INTERACTION_TIMED_OUT_ERROR,
248
+ requestKind: "selection"
249
+ }
250
+ }
251
+ };
252
+ });
253
+ this.session.sendSessionEvent({
254
+ type: "message",
255
+ message: "Pending interaction timed out waiting for a response. Send a new message to continue."
256
+ });
257
+ logger.debug(`[${this.providerLabel}] Selection request timed out (${requestId})`);
258
+ }
259
+ }
260
+
261
+ export { ProviderSelectionHandler as P, createKeepAliveController as c, runModeLoop as r };
@@ -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.13";
21
+ var version = "2.0.16";
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-Bl3FYvwd.cjs'); });
435
+ const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-Btu2VPXI.cjs'); });
436
436
  const state = await readDaemonState();
437
437
  if (!state) {
438
438
  return logs;
@@ -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.13";
19
+ var version = "2.0.16";
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-9Iu0wGNM.mjs');
433
+ const { readDaemonState } = await import('./persistence-B89V4xY5.mjs');
434
434
  const state = await readDaemonState();
435
435
  if (!state) {
436
436
  return logs;
@@ -1,6 +1,6 @@
1
- import { c as createDefaultRuntimeShell } from './index-Cxrx9m5D.mjs';
1
+ import { c as createDefaultRuntimeShell } from './index-DpWeKfvS.mjs';
2
2
  import 'chalk';
3
- import './api-D1meoL-9.mjs';
3
+ import './api-sRF6xXi-.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-9Iu0wGNM.mjs';
19
+ import './persistence-B89V4xY5.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-CryJfCh5.cjs');
3
+ var index = require('./index-B6ID1zDR.cjs');
4
4
  require('chalk');
5
- require('./api-DH5-IqeM.cjs');
5
+ require('./api-Db1SQcP_.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-Bl3FYvwd.cjs');
21
+ require('./persistence-Btu2VPXI.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();