happy-imou-cloud 2.1.51 → 2.1.53
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/{AcpBackend-XPiTd6ph.cjs → AcpBackend-B3s99ivd.cjs} +3 -3
- package/dist/{AcpBackend-CqO3D07V.mjs → AcpBackend-Dephumdg.mjs} +3 -3
- package/dist/{BaseReasoningProcessor-CjlayL2f.mjs → BaseReasoningProcessor-D0lBynU3.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-BD9tiwep.cjs → BaseReasoningProcessor-DgyEX2ex.cjs} +1 -1
- package/dist/{ConversationHistory-Bl2doTA-.cjs → ConversationHistory-DYF60lvE.cjs} +3 -3
- package/dist/{ConversationHistory-CI5bBfuA.mjs → ConversationHistory-Dr1H-t58.mjs} +3 -3
- package/dist/{ProviderSelectionHandler-C7GE5QjX.cjs → ProviderSelectionHandler-BsIj6tUM.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-uQ8jzdzr.mjs → ProviderSelectionHandler-oIejggTi.mjs} +2 -2
- package/dist/{RuntimeShell-D_Te12wq.cjs → RuntimeShell-CoXntnel.cjs} +2 -2
- package/dist/{RuntimeShell-BDt42io_.mjs → RuntimeShell-DZhi4Zhd.mjs} +2 -2
- package/dist/{bootstrapManagedProviderSession-Bln-TwyB.cjs → bootstrapManagedProviderSession-DuPoeGsz.cjs} +2 -2
- package/dist/{bootstrapManagedProviderSession-D2Z6YU3n.mjs → bootstrapManagedProviderSession-HezKZOHo.mjs} +2 -2
- package/dist/{claude-BKNT-2fG.cjs → claude-DJ98mF1g.cjs} +3 -3
- package/dist/{claude-CnN5WCWj.mjs → claude-Dm0RQqLD.mjs} +3 -3
- package/dist/{codex-Fv2eali8.cjs → codex-CGoezd1l.cjs} +4 -4
- package/dist/{codex-DLGP8WF6.mjs → codex-CjtUx7la.mjs} +4 -4
- package/dist/{command-CELwsYoG.mjs → command-CX3Ijure.mjs} +8 -8
- package/dist/{command-BWPlJyCN.cjs → command-DAb1FNFD.cjs} +8 -8
- package/dist/{config-CFL0Gkqt.cjs → config-D9ppiOqF.cjs} +1 -1
- package/dist/{config-ChSPe7p9.mjs → config-DsOkKwwg.mjs} +1 -1
- package/dist/{createDefaultRuntimeShell-DOg6g3-G.mjs → createDefaultRuntimeShell-BJdgPwWt.mjs} +6 -6
- package/dist/{createDefaultRuntimeShell-BXu3vCvT.cjs → createDefaultRuntimeShell-Dt2klFXx.cjs} +6 -6
- package/dist/{cursor-CwPNSy_A.mjs → cursor-BxWThmbf.mjs} +4 -4
- package/dist/{cursor-Blq1cHdr.cjs → cursor-DOu6sau_.cjs} +4 -4
- package/dist/{index-CX-F_fuk.mjs → index-B_Cm6MhB.mjs} +24 -11
- package/dist/{index-B_JYgMUS.cjs → index-Cd7d2BMe.cjs} +27 -14
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{installFatalProcessHandlers-CyURn5Bp.cjs → installFatalProcessHandlers-CNnOiioM.cjs} +1 -1
- package/dist/{installFatalProcessHandlers-0vaw9MAz.mjs → installFatalProcessHandlers-DeJFoOCl.mjs} +1 -1
- package/dist/{launch-BoCCEd5p.mjs → launch-CTC8E1YI.mjs} +8 -8
- package/dist/{launch-wZA5BcvS.cjs → launch-CVYm-vTg.cjs} +8 -8
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +92 -85
- package/dist/lib.d.mts +92 -85
- package/dist/lib.mjs +1 -1
- package/dist/{runClaude-Be0myF9k.mjs → runClaude-BB-5Su2y.mjs} +29 -37
- package/dist/{runClaude-DZJt5er7.cjs → runClaude-DbiPMUS4.cjs} +29 -37
- package/dist/{runCodex-BSnyN4m7.mjs → runCodex-BAWWDwBE.mjs} +49 -34
- package/dist/{runCodex-DTCcGRue.cjs → runCodex-CIZFYkTI.cjs} +49 -34
- package/dist/{runCursor-M6dQ6bGF.mjs → runCursor-DJgPZ-11.mjs} +17 -28
- package/dist/{runCursor-Bn1PuwJy.cjs → runCursor-GR8a5T-H.cjs} +17 -28
- package/dist/{runGemini-BNm4vYKA.mjs → runGemini-CwKyhP0O.mjs} +23 -34
- package/dist/{runGemini-Bn3lFhz6.cjs → runGemini-yWXF4JBe.cjs} +23 -34
- package/dist/{sessionControl-flKnQrx0.cjs → sessionControl-BM3380c0.cjs} +122 -3
- package/dist/{sessionControl-1bT_7OI6.mjs → sessionControl-D8sHsOfs.mjs} +122 -4
- package/dist/{types-CttABk32.cjs → types-Be833t7e.cjs} +82 -11
- package/dist/{types-B5vtxa38.mjs → types-CDuesyX_.mjs} +83 -12
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var spawn = require('cross-spawn');
|
|
4
4
|
var sdk = require('@agentclientprotocol/sdk');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var persistence = require('./types-
|
|
7
|
-
var RuntimeShell = require('./RuntimeShell-
|
|
8
|
-
var index = require('./index-
|
|
6
|
+
var persistence = require('./types-Be833t7e.cjs');
|
|
7
|
+
var RuntimeShell = require('./RuntimeShell-CoXntnel.cjs');
|
|
8
|
+
var index = require('./index-Cd7d2BMe.cjs');
|
|
9
9
|
var psList = require('ps-list');
|
|
10
10
|
|
|
11
11
|
const DEFAULT_IDLE_TIMEOUT_MS = 500;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import spawn from 'cross-spawn';
|
|
2
2
|
import { ndJsonStream, ClientSideConnection } from '@agentclientprotocol/sdk';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import { l as logger, H as HeadTailPreviewBuffer, p as packageJson,
|
|
5
|
-
import { i as isTerminalReferenceOnlyPayload, f as formatDisplayMessage } from './RuntimeShell-
|
|
6
|
-
import { D as DefaultTransport, f as resolveAcpSessionPreferences, g as buildAcpSessionConfigPresetPlan, h as resolveAcpPostPromptNoUpdatesTimeoutMs, i as resolveAcpResponseWaitTimeoutMs } from './index-
|
|
4
|
+
import { l as logger, H as HeadTailPreviewBuffer, p as packageJson, d as delay } from './types-CDuesyX_.mjs';
|
|
5
|
+
import { i as isTerminalReferenceOnlyPayload, f as formatDisplayMessage } from './RuntimeShell-DZhi4Zhd.mjs';
|
|
6
|
+
import { D as DefaultTransport, f as resolveAcpSessionPreferences, g as buildAcpSessionConfigPresetPlan, h as resolveAcpPostPromptNoUpdatesTimeoutMs, i as resolveAcpResponseWaitTimeoutMs } from './index-B_Cm6MhB.mjs';
|
|
7
7
|
import psList from 'ps-list';
|
|
8
8
|
|
|
9
9
|
const DEFAULT_IDLE_TIMEOUT_MS = 500;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var RuntimeShell = require('./RuntimeShell-
|
|
4
|
-
var sessionControl = require('./sessionControl-
|
|
5
|
-
var persistence = require('./types-
|
|
3
|
+
var RuntimeShell = require('./RuntimeShell-CoXntnel.cjs');
|
|
4
|
+
var sessionControl = require('./sessionControl-BM3380c0.cjs');
|
|
5
|
+
var persistence = require('./types-Be833t7e.cjs');
|
|
6
6
|
|
|
7
7
|
async function launchRuntimeHandleWithFactoryResult(opts) {
|
|
8
8
|
const shell = opts.shell ?? new RuntimeShell.RuntimeShell();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { R as RuntimeShell, f as formatDisplayMessage, t as truncateDisplayMessage } from './RuntimeShell-
|
|
2
|
-
import {
|
|
3
|
-
import { l as logger } from './types-
|
|
1
|
+
import { R as RuntimeShell, f as formatDisplayMessage, t as truncateDisplayMessage } from './RuntimeShell-DZhi4Zhd.mjs';
|
|
2
|
+
import { j as renderTerminalOutputPreview } from './sessionControl-D8sHsOfs.mjs';
|
|
3
|
+
import { l as logger } from './types-CDuesyX_.mjs';
|
|
4
4
|
|
|
5
5
|
async function launchRuntimeHandleWithFactoryResult(opts) {
|
|
6
6
|
const shell = opts.shell ?? new RuntimeShell();
|
package/dist/{ProviderSelectionHandler-C7GE5QjX.cjs → ProviderSelectionHandler-BsIj6tUM.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./types-
|
|
4
|
-
var sessionControl = require('./sessionControl-
|
|
3
|
+
var persistence = require('./types-Be833t7e.cjs');
|
|
4
|
+
var sessionControl = require('./sessionControl-BM3380c0.cjs');
|
|
5
5
|
|
|
6
6
|
async function runModeLoop(opts) {
|
|
7
7
|
let currentMode = opts.startingMode;
|
package/dist/{ProviderSelectionHandler-uQ8jzdzr.mjs → ProviderSelectionHandler-oIejggTi.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './types-
|
|
2
|
-
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './sessionControl-
|
|
1
|
+
import { l as logger } from './types-CDuesyX_.mjs';
|
|
2
|
+
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './sessionControl-D8sHsOfs.mjs';
|
|
3
3
|
|
|
4
4
|
async function runModeLoop(opts) {
|
|
5
5
|
let currentMode = opts.startingMode;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
require('cross-spawn');
|
|
4
4
|
require('@agentclientprotocol/sdk');
|
|
5
5
|
require('node:crypto');
|
|
6
|
-
require('./types-
|
|
7
|
-
require('./index-
|
|
6
|
+
require('./types-Be833t7e.cjs');
|
|
7
|
+
require('./index-Cd7d2BMe.cjs');
|
|
8
8
|
require('ps-list');
|
|
9
9
|
require('fs');
|
|
10
10
|
require('path');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'cross-spawn';
|
|
2
2
|
import '@agentclientprotocol/sdk';
|
|
3
3
|
import 'node:crypto';
|
|
4
|
-
import './types-
|
|
5
|
-
import './index-
|
|
4
|
+
import './types-CDuesyX_.mjs';
|
|
5
|
+
import './index-B_Cm6MhB.mjs';
|
|
6
6
|
import 'ps-list';
|
|
7
7
|
import 'fs';
|
|
8
8
|
import 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var persistence = require('./types-
|
|
3
|
+
var index = require('./index-Cd7d2BMe.cjs');
|
|
4
|
+
var persistence = require('./types-Be833t7e.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
|
|
7
7
|
function createOfflineSessionStub(sessionTag) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as createSessionMetadata, e as publishSessionRegistration } from './index-
|
|
2
|
-
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './types-
|
|
1
|
+
import { d as createSessionMetadata, e as publishSessionRegistration } from './index-B_Cm6MhB.mjs';
|
|
2
|
+
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './types-CDuesyX_.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
|
|
5
5
|
function createOfflineSessionStub(sessionTag) {
|
|
@@ -5,10 +5,10 @@ var path = require('node:path');
|
|
|
5
5
|
var node_child_process = require('node:child_process');
|
|
6
6
|
var node_readline = require('node:readline');
|
|
7
7
|
var fs = require('node:fs');
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var persistence = require('./types-
|
|
8
|
+
var index = require('./index-Cd7d2BMe.cjs');
|
|
9
|
+
var persistence = require('./types-Be833t7e.cjs');
|
|
10
10
|
var future = require('./future-Dq4Ha1Dn.cjs');
|
|
11
|
-
var RuntimeShell = require('./RuntimeShell-
|
|
11
|
+
var RuntimeShell = require('./RuntimeShell-CoXntnel.cjs');
|
|
12
12
|
|
|
13
13
|
class Stream {
|
|
14
14
|
constructor(returned) {
|
|
@@ -3,10 +3,10 @@ import { resolve, join } from 'node:path';
|
|
|
3
3
|
import { spawn } from 'node:child_process';
|
|
4
4
|
import { createInterface } from 'node:readline';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
|
-
import { j as getDefaultClaudeCodePath, k as getCleanEnv, l as logDebug, m as streamToStdin, p as projectPath } from './index-
|
|
7
|
-
import { l as logger } from './types-
|
|
6
|
+
import { j as getDefaultClaudeCodePath, k as getCleanEnv, l as logDebug, m as streamToStdin, p as projectPath } from './index-B_Cm6MhB.mjs';
|
|
7
|
+
import { l as logger } from './types-CDuesyX_.mjs';
|
|
8
8
|
import { F as Future } from './future-xRdLl3vf.mjs';
|
|
9
|
-
import { f as formatDisplayMessage, a as agentRegistry } from './RuntimeShell-
|
|
9
|
+
import { f as formatDisplayMessage, a as agentRegistry } from './RuntimeShell-DZhi4Zhd.mjs';
|
|
10
10
|
|
|
11
11
|
class Stream {
|
|
12
12
|
constructor(returned) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AcpBackend = require('./AcpBackend-
|
|
4
|
-
var RuntimeShell = require('./RuntimeShell-
|
|
5
|
-
var persistence = require('./types-
|
|
6
|
-
var index = require('./index-
|
|
3
|
+
var AcpBackend = require('./AcpBackend-B3s99ivd.cjs');
|
|
4
|
+
var RuntimeShell = require('./RuntimeShell-CoXntnel.cjs');
|
|
5
|
+
var persistence = require('./types-Be833t7e.cjs');
|
|
6
|
+
var index = require('./index-Cd7d2BMe.cjs');
|
|
7
7
|
var resolveCommand = require('./resolveCommand-DYMd9PNC.cjs');
|
|
8
8
|
var fs = require('node:fs');
|
|
9
9
|
var os = require('node:os');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AcpBackend } from './AcpBackend-
|
|
2
|
-
import { a as agentRegistry } from './RuntimeShell-
|
|
3
|
-
import { l as logger } from './types-
|
|
4
|
-
import { p as projectPath, C as CodexTransport } from './index-
|
|
1
|
+
import { A as AcpBackend } from './AcpBackend-Dephumdg.mjs';
|
|
2
|
+
import { a as agentRegistry } from './RuntimeShell-DZhi4Zhd.mjs';
|
|
3
|
+
import { l as logger } from './types-CDuesyX_.mjs';
|
|
4
|
+
import { p as projectPath, C as CodexTransport } from './index-B_Cm6MhB.mjs';
|
|
5
5
|
import { r as resolveCommandOnPath, a as resolveCodexAcpSpawn } from './resolveCommand-B3BGyBE2.mjs';
|
|
6
6
|
import fs, { mkdtempSync, mkdirSync, rmSync, readFileSync, existsSync, readdirSync, cpSync, statSync, realpathSync } from 'node:fs';
|
|
7
7
|
import os, { homedir, tmpdir } from 'node:os';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as createDefaultRuntimeShell } from './createDefaultRuntimeShell-
|
|
1
|
+
import { c as createDefaultRuntimeShell } from './createDefaultRuntimeShell-BJdgPwWt.mjs';
|
|
2
2
|
import 'cross-spawn';
|
|
3
3
|
import '@agentclientprotocol/sdk';
|
|
4
4
|
import 'node:crypto';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-CDuesyX_.mjs';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'fs';
|
|
@@ -19,7 +19,7 @@ import 'crypto';
|
|
|
19
19
|
import 'path';
|
|
20
20
|
import 'node:child_process';
|
|
21
21
|
import 'expo-server-sdk';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-B_Cm6MhB.mjs';
|
|
23
23
|
import 'os';
|
|
24
24
|
import 'qrcode-terminal';
|
|
25
25
|
import 'node:module';
|
|
@@ -35,13 +35,13 @@ import 'node:readline';
|
|
|
35
35
|
import 'http';
|
|
36
36
|
import 'util';
|
|
37
37
|
import 'node:url';
|
|
38
|
-
import './codex-
|
|
39
|
-
import './AcpBackend-
|
|
40
|
-
import './RuntimeShell-
|
|
38
|
+
import './codex-CjtUx7la.mjs';
|
|
39
|
+
import './AcpBackend-Dephumdg.mjs';
|
|
40
|
+
import './RuntimeShell-DZhi4Zhd.mjs';
|
|
41
41
|
import './resolveCommand-B3BGyBE2.mjs';
|
|
42
|
-
import './claude-
|
|
42
|
+
import './claude-Dm0RQqLD.mjs';
|
|
43
43
|
import './future-xRdLl3vf.mjs';
|
|
44
|
-
import './cursor-
|
|
44
|
+
import './cursor-BxWThmbf.mjs';
|
|
45
45
|
|
|
46
46
|
function listRuntimeProviders() {
|
|
47
47
|
const shell = createDefaultRuntimeShell();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDefaultRuntimeShell = require('./createDefaultRuntimeShell-
|
|
3
|
+
var createDefaultRuntimeShell = require('./createDefaultRuntimeShell-Dt2klFXx.cjs');
|
|
4
4
|
require('cross-spawn');
|
|
5
5
|
require('@agentclientprotocol/sdk');
|
|
6
6
|
require('node:crypto');
|
|
7
|
-
require('./types-
|
|
7
|
+
require('./types-Be833t7e.cjs');
|
|
8
8
|
require('axios');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs');
|
|
@@ -21,7 +21,7 @@ require('crypto');
|
|
|
21
21
|
require('path');
|
|
22
22
|
require('node:child_process');
|
|
23
23
|
require('expo-server-sdk');
|
|
24
|
-
require('./index-
|
|
24
|
+
require('./index-Cd7d2BMe.cjs');
|
|
25
25
|
require('os');
|
|
26
26
|
require('qrcode-terminal');
|
|
27
27
|
require('node:module');
|
|
@@ -37,13 +37,13 @@ require('node:readline');
|
|
|
37
37
|
require('http');
|
|
38
38
|
require('util');
|
|
39
39
|
require('node:url');
|
|
40
|
-
require('./codex-
|
|
41
|
-
require('./AcpBackend-
|
|
42
|
-
require('./RuntimeShell-
|
|
40
|
+
require('./codex-CGoezd1l.cjs');
|
|
41
|
+
require('./AcpBackend-B3s99ivd.cjs');
|
|
42
|
+
require('./RuntimeShell-CoXntnel.cjs');
|
|
43
43
|
require('./resolveCommand-DYMd9PNC.cjs');
|
|
44
|
-
require('./claude-
|
|
44
|
+
require('./claude-DJ98mF1g.cjs');
|
|
45
45
|
require('./future-Dq4Ha1Dn.cjs');
|
|
46
|
-
require('./cursor-
|
|
46
|
+
require('./cursor-DOu6sau_.cjs');
|
|
47
47
|
|
|
48
48
|
function listRuntimeProviders() {
|
|
49
49
|
const shell = createDefaultRuntimeShell.createDefaultRuntimeShell();
|
|
@@ -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-
|
|
7
|
+
var persistence = require('./types-Be833t7e.cjs');
|
|
8
8
|
|
|
9
9
|
const GEMINI_API_KEY_ENV = "GEMINI_API_KEY";
|
|
10
10
|
const GOOGLE_API_KEY_ENV = "GOOGLE_API_KEY";
|
|
@@ -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 { l as logger } from './types-
|
|
5
|
+
import { l as logger } from './types-CDuesyX_.mjs';
|
|
6
6
|
|
|
7
7
|
const GEMINI_API_KEY_ENV = "GEMINI_API_KEY";
|
|
8
8
|
const GOOGLE_API_KEY_ENV = "GOOGLE_API_KEY";
|
package/dist/{createDefaultRuntimeShell-DOg6g3-G.mjs → createDefaultRuntimeShell-BJdgPwWt.mjs}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import 'cross-spawn';
|
|
2
2
|
import '@agentclientprotocol/sdk';
|
|
3
3
|
import 'node:crypto';
|
|
4
|
-
import './types-
|
|
5
|
-
import './index-
|
|
4
|
+
import './types-CDuesyX_.mjs';
|
|
5
|
+
import './index-B_Cm6MhB.mjs';
|
|
6
6
|
import 'ps-list';
|
|
7
7
|
import 'fs';
|
|
8
8
|
import 'path';
|
|
9
9
|
import 'os';
|
|
10
10
|
import 'child_process';
|
|
11
|
-
import { r as registerCodexAgent } from './codex-
|
|
12
|
-
import { r as registerClaudeAgent } from './claude-
|
|
13
|
-
import { r as registerCursorAgent } from './cursor-
|
|
14
|
-
import { R as RuntimeShell } from './RuntimeShell-
|
|
11
|
+
import { r as registerCodexAgent } from './codex-CjtUx7la.mjs';
|
|
12
|
+
import { r as registerClaudeAgent } from './claude-Dm0RQqLD.mjs';
|
|
13
|
+
import { r as registerCursorAgent } from './cursor-BxWThmbf.mjs';
|
|
14
|
+
import { R as RuntimeShell } from './RuntimeShell-DZhi4Zhd.mjs';
|
|
15
15
|
|
|
16
16
|
function initializeAgents() {
|
|
17
17
|
registerClaudeAgent();
|
package/dist/{createDefaultRuntimeShell-BXu3vCvT.cjs → createDefaultRuntimeShell-Dt2klFXx.cjs}
RENAMED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
require('cross-spawn');
|
|
4
4
|
require('@agentclientprotocol/sdk');
|
|
5
5
|
require('node:crypto');
|
|
6
|
-
require('./types-
|
|
7
|
-
require('./index-
|
|
6
|
+
require('./types-Be833t7e.cjs');
|
|
7
|
+
require('./index-Cd7d2BMe.cjs');
|
|
8
8
|
require('ps-list');
|
|
9
9
|
require('fs');
|
|
10
10
|
require('path');
|
|
11
11
|
require('os');
|
|
12
12
|
require('child_process');
|
|
13
|
-
var codex = require('./codex-
|
|
14
|
-
var claude = require('./claude-
|
|
15
|
-
var cursor = require('./cursor-
|
|
16
|
-
var RuntimeShell = require('./RuntimeShell-
|
|
13
|
+
var codex = require('./codex-CGoezd1l.cjs');
|
|
14
|
+
var claude = require('./claude-DJ98mF1g.cjs');
|
|
15
|
+
var cursor = require('./cursor-DOu6sau_.cjs');
|
|
16
|
+
var RuntimeShell = require('./RuntimeShell-CoXntnel.cjs');
|
|
17
17
|
|
|
18
18
|
function initializeAgents() {
|
|
19
19
|
claude.registerClaudeAgent();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AcpBackend } from './AcpBackend-
|
|
2
|
-
import { a as agentRegistry } from './RuntimeShell-
|
|
3
|
-
import './types-
|
|
4
|
-
import { c as cursorTransport } from './index-
|
|
1
|
+
import { A as AcpBackend } from './AcpBackend-Dephumdg.mjs';
|
|
2
|
+
import { a as agentRegistry } from './RuntimeShell-DZhi4Zhd.mjs';
|
|
3
|
+
import './types-CDuesyX_.mjs';
|
|
4
|
+
import { c as cursorTransport } from './index-B_Cm6MhB.mjs';
|
|
5
5
|
import { r as resolveCommandOnPath } from './resolveCommand-B3BGyBE2.mjs';
|
|
6
6
|
|
|
7
7
|
const DEFAULT_CURSOR_ACP_ARGS = ["acp"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AcpBackend = require('./AcpBackend-
|
|
4
|
-
var RuntimeShell = require('./RuntimeShell-
|
|
5
|
-
require('./types-
|
|
6
|
-
var index = require('./index-
|
|
3
|
+
var AcpBackend = require('./AcpBackend-B3s99ivd.cjs');
|
|
4
|
+
var RuntimeShell = require('./RuntimeShell-CoXntnel.cjs');
|
|
5
|
+
require('./types-Be833t7e.cjs');
|
|
6
|
+
var index = require('./index-Cd7d2BMe.cjs');
|
|
7
7
|
var resolveCommand = require('./resolveCommand-DYMd9PNC.cjs');
|
|
8
8
|
|
|
9
9
|
const DEFAULT_CURSOR_ACP_ARGS = ["acp"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import chalk from 'chalk';
|
|
2
|
-
import { l as logger, t as encodeBase64, c as configuration, u as readCredentials, v as ensureSigningCredentials, r as readSettings, w as updateSettings, x as encodeBase64Url,
|
|
2
|
+
import { l as logger, t as encodeBase64, c as configuration, u as readCredentials, v as ensureSigningCredentials, r as readSettings, w as updateSettings, x as encodeBase64Url, d as delay, y as buildClientHeaders, z as decodeBase64, B as writeCredentialsLegacy, C as writeCredentialsDataKey, D as readDaemonState, E as HAPPY_CLOUD_DAEMON_PORT, F as clearDaemonState, p as packageJson, i as isAuthenticationRequiredError, G as buildSessionRuntimeIndex, I as acquireDaemonLock, J as writeDaemonState, A as ApiClient, K as releaseDaemonLock, L as validateProfileForAgent, M as getProfileEnvironmentVariables, N as clearCredentials, O as clearMachineId, P as readHappyOrgDispatchTruthSnapshot, Q as processHappyOrgRepoRequests, S as readHappyOrgRepoTaskBoard, T as HappyOrgTurnReportSchema, U as recordHappyOrgTurnReport, V as MessageContentSchema, W as buildSocketAuth, X as encrypt, Y as getLatestDaemonLog } from './types-CDuesyX_.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import fs, { writeFile as writeFile$1, rename, unlink as unlink$1 } from 'fs/promises';
|
|
5
5
|
import os$1, { homedir as homedir$1 } from 'os';
|
|
@@ -3176,6 +3176,7 @@ async function recoverTrackedSessionsFromRemoteIndex({
|
|
|
3176
3176
|
trackedSessionPids,
|
|
3177
3177
|
trackSession,
|
|
3178
3178
|
removeTrackedSession,
|
|
3179
|
+
removeLocalSessionRegistration,
|
|
3179
3180
|
userScopedObserver,
|
|
3180
3181
|
lookupHappyProcessByPid = findHappyProcessByPid,
|
|
3181
3182
|
archiveStaleSessions = true,
|
|
@@ -3197,6 +3198,14 @@ async function recoverTrackedSessionsFromRemoteIndex({
|
|
|
3197
3198
|
if (alreadyTracked.has(pid)) {
|
|
3198
3199
|
removeTrackedSession?.(pid, session.id);
|
|
3199
3200
|
}
|
|
3201
|
+
try {
|
|
3202
|
+
await removeLocalSessionRegistration?.(pid, session.id);
|
|
3203
|
+
} catch (error) {
|
|
3204
|
+
logger.debug(
|
|
3205
|
+
`[REMOTE SESSION INDEX] Failed to remove local registry entry for archived session ${session.id}`,
|
|
3206
|
+
error
|
|
3207
|
+
);
|
|
3208
|
+
}
|
|
3200
3209
|
continue;
|
|
3201
3210
|
}
|
|
3202
3211
|
if (alreadyTracked.has(pid)) {
|
|
@@ -3428,6 +3437,9 @@ async function persistLocalSessionRegistration(sessionId, metadata) {
|
|
|
3428
3437
|
}, null, 2)
|
|
3429
3438
|
);
|
|
3430
3439
|
}
|
|
3440
|
+
async function removeLocalSessionRegistration(pid = process.pid) {
|
|
3441
|
+
await removeRegistryEntryPath(getSessionRegistryEntryPath(pid));
|
|
3442
|
+
}
|
|
3431
3443
|
async function publishSessionRegistration(sessionId, metadata) {
|
|
3432
3444
|
const pid = metadata.hostPid ?? process.pid;
|
|
3433
3445
|
try {
|
|
@@ -4423,6 +4435,7 @@ ${stderrSnapshot}`);
|
|
|
4423
4435
|
logger.debug(`[DAEMON RUN] Removed archived remote session ${sessionId} from tracking`);
|
|
4424
4436
|
}
|
|
4425
4437
|
},
|
|
4438
|
+
removeLocalSessionRegistration,
|
|
4426
4439
|
userScopedObserver,
|
|
4427
4440
|
archiveStaleSessions: opts.archiveStaleSessions,
|
|
4428
4441
|
skipArchivalSessionIds: pendingManagedRespawnSessionIds
|
|
@@ -7399,14 +7412,14 @@ async function waitForDaemonReady(timeoutMs = DAEMON_STARTUP_TIMEOUT_MS, pollInt
|
|
|
7399
7412
|
const unifiedProviderExecutors = {
|
|
7400
7413
|
claude: async (opts) => {
|
|
7401
7414
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
7402
|
-
const { runClaude } = await import('./runClaude-
|
|
7415
|
+
const { runClaude } = await import('./runClaude-BB-5Su2y.mjs');
|
|
7403
7416
|
await runClaude(opts.credentials, {
|
|
7404
7417
|
...claudeOptions,
|
|
7405
7418
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
7406
7419
|
});
|
|
7407
7420
|
},
|
|
7408
7421
|
codex: async (opts) => {
|
|
7409
|
-
const { runCodex } = await import('./runCodex-
|
|
7422
|
+
const { runCodex } = await import('./runCodex-BAWWDwBE.mjs');
|
|
7410
7423
|
await runCodex({
|
|
7411
7424
|
credentials: opts.credentials,
|
|
7412
7425
|
startedBy: opts.startedBy,
|
|
@@ -7416,14 +7429,14 @@ const unifiedProviderExecutors = {
|
|
|
7416
7429
|
});
|
|
7417
7430
|
},
|
|
7418
7431
|
gemini: async (opts) => {
|
|
7419
|
-
const { runGemini } = await import('./runGemini-
|
|
7432
|
+
const { runGemini } = await import('./runGemini-CwKyhP0O.mjs');
|
|
7420
7433
|
await runGemini({
|
|
7421
7434
|
credentials: opts.credentials,
|
|
7422
7435
|
startedBy: opts.startedBy
|
|
7423
7436
|
});
|
|
7424
7437
|
},
|
|
7425
7438
|
cursor: async (opts) => {
|
|
7426
|
-
const { runCursor } = await import('./runCursor-
|
|
7439
|
+
const { runCursor } = await import('./runCursor-DJgPZ-11.mjs');
|
|
7427
7440
|
await runCursor({
|
|
7428
7441
|
credentials: opts.credentials,
|
|
7429
7442
|
startedBy: opts.startedBy,
|
|
@@ -7502,12 +7515,12 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
7502
7515
|
return;
|
|
7503
7516
|
} else if (subcommand === "runtime") {
|
|
7504
7517
|
if (args[1] === "providers") {
|
|
7505
|
-
const { renderRuntimeProviders } = await import('./command-
|
|
7518
|
+
const { renderRuntimeProviders } = await import('./command-CX3Ijure.mjs');
|
|
7506
7519
|
console.log(renderRuntimeProviders());
|
|
7507
7520
|
return;
|
|
7508
7521
|
}
|
|
7509
7522
|
if (args[1] === "launch" && args[2]) {
|
|
7510
|
-
const { isRuntimeProvider, launchRuntimeProvider } = await import('./launch-
|
|
7523
|
+
const { isRuntimeProvider, launchRuntimeProvider } = await import('./launch-CTC8E1YI.mjs');
|
|
7511
7524
|
const provider = args[2];
|
|
7512
7525
|
if (!isRuntimeProvider(provider)) {
|
|
7513
7526
|
console.error(`Unknown runtime provider: ${provider}`);
|
|
@@ -7716,9 +7729,9 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
7716
7729
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
7717
7730
|
const projectId = args[3];
|
|
7718
7731
|
try {
|
|
7719
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
7720
|
-
const { readCredentials: readCredentials2 } = await import('./types-
|
|
7721
|
-
const { ApiClient: ApiClient2 } = await import('./types-
|
|
7732
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-DsOkKwwg.mjs').then(function (n) { return n.e; });
|
|
7733
|
+
const { readCredentials: readCredentials2 } = await import('./types-CDuesyX_.mjs').then(function (n) { return n.Z; });
|
|
7734
|
+
const { ApiClient: ApiClient2 } = await import('./types-CDuesyX_.mjs').then(function (n) { return n._; });
|
|
7722
7735
|
let userEmail = void 0;
|
|
7723
7736
|
try {
|
|
7724
7737
|
const credentials = await readCredentials2();
|
|
@@ -7749,7 +7762,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
7749
7762
|
}
|
|
7750
7763
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
7751
7764
|
try {
|
|
7752
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
7765
|
+
const { readGeminiLocalConfig } = await import('./config-DsOkKwwg.mjs').then(function (n) { return n.e; });
|
|
7753
7766
|
const config = readGeminiLocalConfig();
|
|
7754
7767
|
if (config.googleCloudProject) {
|
|
7755
7768
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|