happy-imou-cloud 2.1.60 → 2.1.61
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/{BaseReasoningProcessor-CXEOFE3A.cjs → BaseReasoningProcessor-ClKyULqw.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-Dbgjm3Es.mjs → BaseReasoningProcessor-dDQ0HBLR.mjs} +1 -1
- package/dist/{ConversationHistory-CnfOOR3W.mjs → ConversationHistory-BEFQZEC0.mjs} +2 -2
- package/dist/{ConversationHistory-CizWPMy6.cjs → ConversationHistory-CzD1u1Wq.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-DiMrHc8e.mjs → ProviderSelectionHandler-D9nbAKUT.mjs} +1 -1
- package/dist/{ProviderSelectionHandler-B-ViUcTK.cjs → ProviderSelectionHandler-zOI_dsgi.cjs} +1 -1
- package/dist/{bootstrapManagedProviderSession-DuZtrCxd.cjs → bootstrapManagedProviderSession-CLX0SkFr.cjs} +1 -1
- package/dist/{bootstrapManagedProviderSession-B-x8RB0J.mjs → bootstrapManagedProviderSession-CW2bZO0r.mjs} +1 -1
- package/dist/{command-Br_25BsR.cjs → command-2gVY5B4R.cjs} +1 -1
- package/dist/{command-CJrn-O2G.mjs → command-CfEzcmE7.mjs} +1 -1
- package/dist/{index-Dz1PCf7K.mjs → index-BlU0IkKg.mjs} +11 -11
- package/dist/{index-DH_k1Vzj.cjs → index-DTXoc9l3.cjs} +12 -12
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{installFatalProcessHandlers-CD9MPyJe.cjs → installFatalProcessHandlers-DKPQZZmR.cjs} +1 -1
- package/dist/{installFatalProcessHandlers-3-IEuhBy.mjs → installFatalProcessHandlers-Di-PXB02.mjs} +1 -1
- package/dist/{launch-DUPvwjSK.cjs → launch--N05yJlk.cjs} +1 -1
- package/dist/{launch-2ZYPXLkE.mjs → launch-DBBSPd2F.mjs} +1 -1
- package/dist/lib.cjs +1 -1
- package/dist/lib.mjs +1 -1
- package/dist/{runClaude-vdG4OCpH.mjs → runClaude-CfW2gWVH.mjs} +5 -5
- package/dist/{runClaude-C4l9IrXK.cjs → runClaude-D7BEaIox.cjs} +5 -5
- package/dist/{runCodex-DlJiKfCZ.mjs → runCodex-DVL5Cxkk.mjs} +12 -9
- package/dist/{runCodex-TZ4JIDVk.cjs → runCodex-P4VbVAQF.cjs} +12 -9
- package/dist/{runCursor-dpSZVa02.mjs → runCursor-7va_SgSn.mjs} +5 -5
- package/dist/{runCursor-CjDy1T7f.cjs → runCursor-CUVz3G9Z.cjs} +5 -5
- package/dist/{runGemini-CpNEu2mV.cjs → runGemini-D72Ubvnp.cjs} +6 -6
- package/dist/{runGemini-ChvTxEZO.mjs → runGemini-DkUZucKy.mjs} +6 -6
- package/dist/{sessionControl-nGKdDRPx.mjs → sessionControl-_C1DLVWq.mjs} +2 -2
- package/dist/{sessionControl-BiGAXTEe.cjs → sessionControl-f5uyjKLU.cjs} +2 -2
- package/dist/{types-C9VTxw9c.cjs → types-B43LoIH9.cjs} +4 -4
- package/dist/{types-BAwcK4Bv.mjs → types-DnqTUpwY.mjs} +1 -1
- package/package.json +16 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as RuntimeShell, ac as formatDisplayMessage, bp as truncateDisplayMessage, aE as logger } from './types-
|
|
2
|
-
import { d as renderTerminalOutputPreview } from './sessionControl-
|
|
1
|
+
import { q as RuntimeShell, ac as formatDisplayMessage, bp as truncateDisplayMessage, aE as logger } from './types-DnqTUpwY.mjs';
|
|
2
|
+
import { d as renderTerminalOutputPreview } from './sessionControl-_C1DLVWq.mjs';
|
|
3
3
|
|
|
4
4
|
async function launchRuntimeHandleWithFactoryResult(opts) {
|
|
5
5
|
const shell = opts.shell ?? new RuntimeShell();
|
|
@@ -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-B43LoIH9.cjs');
|
|
4
|
+
var sessionControl = require('./sessionControl-f5uyjKLU.cjs');
|
|
5
5
|
|
|
6
6
|
async function launchRuntimeHandleWithFactoryResult(opts) {
|
|
7
7
|
const shell = opts.shell ?? new persistence.RuntimeShell();
|
package/dist/{ProviderSelectionHandler-DiMrHc8e.mjs → ProviderSelectionHandler-D9nbAKUT.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aE as logger, a3 as delay, ai as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, o as INTERACTION_TIMED_OUT_ERROR } from './types-
|
|
1
|
+
import { aE as logger, a3 as delay, ai as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, o as INTERACTION_TIMED_OUT_ERROR } from './types-DnqTUpwY.mjs';
|
|
2
2
|
import { stat, watch } from 'fs/promises';
|
|
3
3
|
import { dirname, basename } from 'node:path';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bl as startOfflineReconnection, Q as configuration, a0 as createSessionMetadata, aq as isAuthenticationRequiredError, aE as logger, aU as publishSessionRegistration } from './types-
|
|
1
|
+
import { bl as startOfflineReconnection, Q as configuration, a0 as createSessionMetadata, aq as isAuthenticationRequiredError, aE as logger, aU as publishSessionRegistration } from './types-DnqTUpwY.mjs';
|
|
2
2
|
import { EventEmitter } from 'node:events';
|
|
3
3
|
|
|
4
4
|
function createOfflineSessionStub(sessionTag) {
|
|
@@ -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 { ad as getActionSpec, ap as isActionSpecSurfacedOn, aC as listActionSpecs, $ as createProtocolSchema, aM as objectValue, am as intValue, aN as optionalStringValue, bo as stringValue, a8 as enumValue, aK as normalizeLegacyActionId, ao as isActionId, w as applyVoiceAgentExecutionRunStartDefaults, an as isActionEnabledByActionsSettings, aE as logger, a4 as encodeBase64, Q as configuration, aW as readCredentials, a7 as ensureSigningCredentials, b2 as readSettings, bq as updateSettings, a5 as encodeBase64Url, a3 as delay, y as buildClientHeaders, a2 as decodeBase64, bu as writeCredentialsLegacy, bt as writeCredentialsDataKey, aT as projectPath, aO as packageJson, ae as getDaemonRuntimeStatus, aX as readDaemonState, aa as findAllHappyProcesses, ar as isBun, a0 as createSessionMetadata, aq as isAuthenticationRequiredError, ab as findHappyProcessByPid, g as ConnectedServiceIdSchema, aG as materializeCodexConnectedServiceAuthForRuntime, C as ConnectedServiceCredentialRecordV1Schema, ay as isSessionContinuationRecoveryBlockingPendingDrain, V as createCodexAppServerContinuationRecoveryController, S as SESSION_CONTINUATION_RECOVERY_METADATA_KEY, br as validateCodexAcpSpawn, t as SessionInitialGoalRequestV1Schema, ax as isDaemonRunningCurrentlyInstalledHappyVersion, bm as stopDaemon, u as acquireDaemonLock, z as buildSessionRuntimeIndex, a1 as createSubprocessStderrAppender, H as HAPPY_CLOUD_DAEMON_PORT, b4 as recoverTrackedSessionsFromLocalRegistry, bv as writeDaemonState, c as ApiClient, b7 as removeLocalSessionRegistration, J as cleanupDaemonState, b5 as releaseDaemonLock, bs as validateProfileForAgent, aj as getProfileEnvironmentVariables, K as clearCredentials, L as clearMachineId, a_ as readHappyOrgDispatchTruthSnapshot, aS as processHappyOrgRepoRequests, a$ as readHappyOrgRepoTaskBoard, m as HappyOrgTurnReportSchema, b3 as recordHappyOrgTurnReport, M as MessageContentSchema, E as buildSocketAuth, a6 as encrypt, r as SESSION_RPC_METHODS, R as RPC_METHODS, bn as stopDaemonSession, aD as listDaemonSessions, F as FeaturesResponseSchema, b as ActionsSettingsV1Schema, aB as killRunawayHappyProcesses, ag as getLatestDaemonLog } from './types-
|
|
2
|
+
import { ad as getActionSpec, ap as isActionSpecSurfacedOn, aC as listActionSpecs, $ as createProtocolSchema, aM as objectValue, am as intValue, aN as optionalStringValue, bo as stringValue, a8 as enumValue, aK as normalizeLegacyActionId, ao as isActionId, w as applyVoiceAgentExecutionRunStartDefaults, an as isActionEnabledByActionsSettings, aE as logger, a4 as encodeBase64, Q as configuration, aW as readCredentials, a7 as ensureSigningCredentials, b2 as readSettings, bq as updateSettings, a5 as encodeBase64Url, a3 as delay, y as buildClientHeaders, a2 as decodeBase64, bu as writeCredentialsLegacy, bt as writeCredentialsDataKey, aT as projectPath, aO as packageJson, ae as getDaemonRuntimeStatus, aX as readDaemonState, aa as findAllHappyProcesses, ar as isBun, a0 as createSessionMetadata, aq as isAuthenticationRequiredError, ab as findHappyProcessByPid, g as ConnectedServiceIdSchema, aG as materializeCodexConnectedServiceAuthForRuntime, C as ConnectedServiceCredentialRecordV1Schema, ay as isSessionContinuationRecoveryBlockingPendingDrain, V as createCodexAppServerContinuationRecoveryController, S as SESSION_CONTINUATION_RECOVERY_METADATA_KEY, br as validateCodexAcpSpawn, t as SessionInitialGoalRequestV1Schema, ax as isDaemonRunningCurrentlyInstalledHappyVersion, bm as stopDaemon, u as acquireDaemonLock, z as buildSessionRuntimeIndex, a1 as createSubprocessStderrAppender, H as HAPPY_CLOUD_DAEMON_PORT, b4 as recoverTrackedSessionsFromLocalRegistry, bv as writeDaemonState, c as ApiClient, b7 as removeLocalSessionRegistration, J as cleanupDaemonState, b5 as releaseDaemonLock, bs as validateProfileForAgent, aj as getProfileEnvironmentVariables, K as clearCredentials, L as clearMachineId, a_ as readHappyOrgDispatchTruthSnapshot, aS as processHappyOrgRepoRequests, a$ as readHappyOrgRepoTaskBoard, m as HappyOrgTurnReportSchema, b3 as recordHappyOrgTurnReport, M as MessageContentSchema, E as buildSocketAuth, a6 as encrypt, r as SESSION_RPC_METHODS, R as RPC_METHODS, bn as stopDaemonSession, aD as listDaemonSessions, F as FeaturesResponseSchema, b as ActionsSettingsV1Schema, aB as killRunawayHappyProcesses, ag as getLatestDaemonLog } from './types-DnqTUpwY.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import fs from 'fs/promises';
|
|
5
5
|
import os, { homedir as homedir$1 } from 'os';
|
|
@@ -12323,14 +12323,14 @@ async function waitForDaemonReady(timeoutMs = DAEMON_STARTUP_TIMEOUT_MS, pollInt
|
|
|
12323
12323
|
const unifiedProviderExecutors = {
|
|
12324
12324
|
claude: async (opts) => {
|
|
12325
12325
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
12326
|
-
const { runClaude } = await import('./runClaude-
|
|
12326
|
+
const { runClaude } = await import('./runClaude-CfW2gWVH.mjs');
|
|
12327
12327
|
await runClaude(opts.credentials, {
|
|
12328
12328
|
...claudeOptions,
|
|
12329
12329
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
12330
12330
|
});
|
|
12331
12331
|
},
|
|
12332
12332
|
codex: async (opts) => {
|
|
12333
|
-
const { runCodex } = await import('./runCodex-
|
|
12333
|
+
const { runCodex } = await import('./runCodex-DVL5Cxkk.mjs');
|
|
12334
12334
|
await runCodex({
|
|
12335
12335
|
credentials: opts.credentials,
|
|
12336
12336
|
startedBy: opts.startedBy,
|
|
@@ -12342,14 +12342,14 @@ const unifiedProviderExecutors = {
|
|
|
12342
12342
|
});
|
|
12343
12343
|
},
|
|
12344
12344
|
gemini: async (opts) => {
|
|
12345
|
-
const { runGemini } = await import('./runGemini-
|
|
12345
|
+
const { runGemini } = await import('./runGemini-DkUZucKy.mjs');
|
|
12346
12346
|
await runGemini({
|
|
12347
12347
|
credentials: opts.credentials,
|
|
12348
12348
|
startedBy: opts.startedBy
|
|
12349
12349
|
});
|
|
12350
12350
|
},
|
|
12351
12351
|
cursor: async (opts) => {
|
|
12352
|
-
const { runCursor } = await import('./runCursor-
|
|
12352
|
+
const { runCursor } = await import('./runCursor-7va_SgSn.mjs');
|
|
12353
12353
|
await runCursor({
|
|
12354
12354
|
credentials: opts.credentials,
|
|
12355
12355
|
startedBy: opts.startedBy,
|
|
@@ -12428,12 +12428,12 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12428
12428
|
return;
|
|
12429
12429
|
} else if (subcommand === "runtime") {
|
|
12430
12430
|
if (args[1] === "providers") {
|
|
12431
|
-
const { renderRuntimeProviders } = await import('./command-
|
|
12431
|
+
const { renderRuntimeProviders } = await import('./command-CfEzcmE7.mjs');
|
|
12432
12432
|
console.log(renderRuntimeProviders());
|
|
12433
12433
|
return;
|
|
12434
12434
|
}
|
|
12435
12435
|
if (args[1] === "launch" && args[2]) {
|
|
12436
|
-
const { isRuntimeProvider, launchRuntimeProvider } = await import('./launch-
|
|
12436
|
+
const { isRuntimeProvider, launchRuntimeProvider } = await import('./launch-DBBSPd2F.mjs');
|
|
12437
12437
|
const provider = args[2];
|
|
12438
12438
|
if (!isRuntimeProvider(provider)) {
|
|
12439
12439
|
console.error(`Unknown runtime provider: ${provider}`);
|
|
@@ -12662,9 +12662,9 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12662
12662
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
12663
12663
|
const projectId = args[3];
|
|
12664
12664
|
try {
|
|
12665
|
-
const { saveGoogleCloudProjectToConfig } = await import('./types-
|
|
12666
|
-
const { readCredentials: readCredentials2 } = await import('./types-
|
|
12667
|
-
const { ApiClient: ApiClient2 } = await import('./types-
|
|
12665
|
+
const { saveGoogleCloudProjectToConfig } = await import('./types-DnqTUpwY.mjs').then(function (n) { return n.O; });
|
|
12666
|
+
const { readCredentials: readCredentials2 } = await import('./types-DnqTUpwY.mjs').then(function (n) { return n.aQ; });
|
|
12667
|
+
const { ApiClient: ApiClient2 } = await import('./types-DnqTUpwY.mjs').then(function (n) { return n.v; });
|
|
12668
12668
|
let userEmail = void 0;
|
|
12669
12669
|
try {
|
|
12670
12670
|
const credentials = await readCredentials2();
|
|
@@ -12695,7 +12695,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12695
12695
|
}
|
|
12696
12696
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
12697
12697
|
try {
|
|
12698
|
-
const { readGeminiLocalConfig } = await import('./types-
|
|
12698
|
+
const { readGeminiLocalConfig } = await import('./types-DnqTUpwY.mjs').then(function (n) { return n.O; });
|
|
12699
12699
|
const config = readGeminiLocalConfig();
|
|
12700
12700
|
if (config.googleCloudProject) {
|
|
12701
12701
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var persistence = require('./types-
|
|
4
|
+
var persistence = require('./types-B43LoIH9.cjs');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var fs$1 = require('fs/promises');
|
|
7
7
|
var os$1 = require('os');
|
|
@@ -2020,7 +2020,7 @@ async function openBrowser(url) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
2022
2022
|
|
|
2023
|
-
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
2023
|
+
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-DTXoc9l3.cjs', document.baseURI).href)));
|
|
2024
2024
|
const QRCode = require$1("qrcode-terminal/vendor/QRCode");
|
|
2025
2025
|
const QRErrorCorrectLevel = require$1("qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel");
|
|
2026
2026
|
const pendingTempFiles = /* @__PURE__ */ new Set();
|
|
@@ -12326,14 +12326,14 @@ async function waitForDaemonReady(timeoutMs = DAEMON_STARTUP_TIMEOUT_MS, pollInt
|
|
|
12326
12326
|
const unifiedProviderExecutors = {
|
|
12327
12327
|
claude: async (opts) => {
|
|
12328
12328
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
12329
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
12329
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-D7BEaIox.cjs'); });
|
|
12330
12330
|
await runClaude(opts.credentials, {
|
|
12331
12331
|
...claudeOptions,
|
|
12332
12332
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
12333
12333
|
});
|
|
12334
12334
|
},
|
|
12335
12335
|
codex: async (opts) => {
|
|
12336
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
12336
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-P4VbVAQF.cjs'); });
|
|
12337
12337
|
await runCodex({
|
|
12338
12338
|
credentials: opts.credentials,
|
|
12339
12339
|
startedBy: opts.startedBy,
|
|
@@ -12345,14 +12345,14 @@ const unifiedProviderExecutors = {
|
|
|
12345
12345
|
});
|
|
12346
12346
|
},
|
|
12347
12347
|
gemini: async (opts) => {
|
|
12348
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
12348
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-D72Ubvnp.cjs'); });
|
|
12349
12349
|
await runGemini({
|
|
12350
12350
|
credentials: opts.credentials,
|
|
12351
12351
|
startedBy: opts.startedBy
|
|
12352
12352
|
});
|
|
12353
12353
|
},
|
|
12354
12354
|
cursor: async (opts) => {
|
|
12355
|
-
const { runCursor } = await Promise.resolve().then(function () { return require('./runCursor-
|
|
12355
|
+
const { runCursor } = await Promise.resolve().then(function () { return require('./runCursor-CUVz3G9Z.cjs'); });
|
|
12356
12356
|
await runCursor({
|
|
12357
12357
|
credentials: opts.credentials,
|
|
12358
12358
|
startedBy: opts.startedBy,
|
|
@@ -12431,12 +12431,12 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12431
12431
|
return;
|
|
12432
12432
|
} else if (subcommand === "runtime") {
|
|
12433
12433
|
if (args[1] === "providers") {
|
|
12434
|
-
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-
|
|
12434
|
+
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-2gVY5B4R.cjs'); });
|
|
12435
12435
|
console.log(renderRuntimeProviders());
|
|
12436
12436
|
return;
|
|
12437
12437
|
}
|
|
12438
12438
|
if (args[1] === "launch" && args[2]) {
|
|
12439
|
-
const { isRuntimeProvider, launchRuntimeProvider } = await Promise.resolve().then(function () { return require('./launch
|
|
12439
|
+
const { isRuntimeProvider, launchRuntimeProvider } = await Promise.resolve().then(function () { return require('./launch--N05yJlk.cjs'); });
|
|
12440
12440
|
const provider = args[2];
|
|
12441
12441
|
if (!isRuntimeProvider(provider)) {
|
|
12442
12442
|
console.error(`Unknown runtime provider: ${provider}`);
|
|
@@ -12665,9 +12665,9 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12665
12665
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
12666
12666
|
const projectId = args[3];
|
|
12667
12667
|
try {
|
|
12668
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./types-
|
|
12669
|
-
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./types-
|
|
12670
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-
|
|
12668
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./types-B43LoIH9.cjs'); }).then(function (n) { return n.config; });
|
|
12669
|
+
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./types-B43LoIH9.cjs'); }).then(function (n) { return n.persistence; });
|
|
12670
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./types-B43LoIH9.cjs'); }).then(function (n) { return n.api; });
|
|
12671
12671
|
let userEmail = void 0;
|
|
12672
12672
|
try {
|
|
12673
12673
|
const credentials = await readCredentials2();
|
|
@@ -12698,7 +12698,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12698
12698
|
}
|
|
12699
12699
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
12700
12700
|
try {
|
|
12701
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./types-
|
|
12701
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./types-B43LoIH9.cjs'); }).then(function (n) { return n.config; });
|
|
12702
12702
|
const config = readGeminiLocalConfig();
|
|
12703
12703
|
if (config.googleCloudProject) {
|
|
12704
12704
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('chalk');
|
|
4
|
-
require('./types-
|
|
4
|
+
require('./types-B43LoIH9.cjs');
|
|
5
5
|
require('zod');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-DTXoc9l3.cjs');
|
|
7
7
|
require('node:child_process');
|
|
8
8
|
require('node:fs');
|
|
9
9
|
require('cross-spawn');
|
package/dist/index.mjs
CHANGED
package/dist/lib.cjs
CHANGED
package/dist/lib.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as ApiClient, d as ApiSessionClient, p as RawJSONLinesSchema, Q as configuration, aE as logger } from './types-
|
|
1
|
+
export { c as ApiClient, d as ApiSessionClient, p as RawJSONLinesSchema, Q as configuration, aE as logger } from './types-DnqTUpwY.mjs';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'chalk';
|
|
4
4
|
import 'fs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from 'node:crypto';
|
|
2
|
-
import { aE as logger, x as backoff, p as RawJSONLinesSchema, h as Future, B as BasePermissionHandler, aP as parseSpecialCommand, U as createClaudeBackend, ac as formatDisplayMessage, bp as truncateDisplayMessage, a3 as delay, aT as projectPath, aF as mapToClaudeMode, P as PushableAsyncIterable, aV as query, A as AbortError, f as AsyncLock, Q as configuration, bl as startOfflineReconnection, aU as publishSessionRegistration, T as connectionState, c as ApiClient, a0 as createSessionMetadata, aq as isAuthenticationRequiredError, ak as hashObject } from './types-
|
|
2
|
+
import { aE as logger, x as backoff, p as RawJSONLinesSchema, h as Future, B as BasePermissionHandler, aP as parseSpecialCommand, U as createClaudeBackend, ac as formatDisplayMessage, bp as truncateDisplayMessage, a3 as delay, aT as projectPath, aF as mapToClaudeMode, P as PushableAsyncIterable, aV as query, A as AbortError, f as AsyncLock, Q as configuration, bl as startOfflineReconnection, aU as publishSessionRegistration, T as connectionState, c as ApiClient, a0 as createSessionMetadata, aq as isAuthenticationRequiredError, ak as hashObject } from './types-DnqTUpwY.mjs';
|
|
3
3
|
import 'cross-spawn';
|
|
4
4
|
import '@agentclientprotocol/sdk';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, unlinkSync } from 'node:fs';
|
|
@@ -19,14 +19,14 @@ import { access } from 'fs/promises';
|
|
|
19
19
|
import 'crypto';
|
|
20
20
|
import { execSync } from 'node:child_process';
|
|
21
21
|
import 'node:readline';
|
|
22
|
-
import { f as getProjectPath, d as claudeLocal, E as ExitCodeError, t as trimIdent, b as claudeCheckSession, l as stopCaffeinate, g as getEnvironmentInfo, s as startCaffeinate, e as closeProviderSession } from './index-
|
|
22
|
+
import { f as getProjectPath, d as claudeLocal, E as ExitCodeError, t as trimIdent, b as claudeCheckSession, l as stopCaffeinate, g as getEnvironmentInfo, s as startCaffeinate, e as closeProviderSession } from './index-BlU0IkKg.mjs';
|
|
23
23
|
import 'chalk';
|
|
24
24
|
import 'node:events';
|
|
25
25
|
import 'axios';
|
|
26
26
|
import 'open';
|
|
27
27
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
28
28
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
29
|
-
import { c as createKeepAliveController, s as startFileWatcher, P as ProviderSelectionHandler, r as runModeLoop } from './ProviderSelectionHandler-
|
|
29
|
+
import { c as createKeepAliveController, s as startFileWatcher, P as ProviderSelectionHandler, r as runModeLoop } from './ProviderSelectionHandler-D9nbAKUT.mjs';
|
|
30
30
|
import 'socket.io-client';
|
|
31
31
|
import 'sharp';
|
|
32
32
|
import 'node:stream';
|
|
@@ -34,8 +34,8 @@ import 'node:stream/promises';
|
|
|
34
34
|
import 'node:url';
|
|
35
35
|
import 'node:module';
|
|
36
36
|
import 'expo-server-sdk';
|
|
37
|
-
import { M as MessageBuffer, C as ConversationHistory$1, c as buildTurnResultPushNotification, d as createSessionTranscriptInkRenderer, a as buildReadyPushNotification, l as launchRuntimeHandleWithFactoryResult, b as buildPermissionPushNotification } from './ConversationHistory-
|
|
38
|
-
import { B as BufferedAssistantStreamEmitter, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, d as renderTerminalOutputPreview, p as prepareTerminalOutputForForwarding, c as forwardAgentMessageToProviderSession, s as syncControlledByUserState, g as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, a as MissingMachineIdError, M as MessageQueue2, r as registerKillSessionHandler } from './sessionControl-
|
|
37
|
+
import { M as MessageBuffer, C as ConversationHistory$1, c as buildTurnResultPushNotification, d as createSessionTranscriptInkRenderer, a as buildReadyPushNotification, l as launchRuntimeHandleWithFactoryResult, b as buildPermissionPushNotification } from './ConversationHistory-BEFQZEC0.mjs';
|
|
38
|
+
import { B as BufferedAssistantStreamEmitter, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, d as renderTerminalOutputPreview, p as prepareTerminalOutputForForwarding, c as forwardAgentMessageToProviderSession, s as syncControlledByUserState, g as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, a as MissingMachineIdError, M as MessageQueue2, r as registerKillSessionHandler } from './sessionControl-_C1DLVWq.mjs';
|
|
39
39
|
import { isDeepStrictEqual } from 'node:util';
|
|
40
40
|
import { createServer } from 'node:http';
|
|
41
41
|
import 'zod';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_crypto = require('node:crypto');
|
|
4
|
-
var persistence = require('./types-
|
|
4
|
+
var persistence = require('./types-B43LoIH9.cjs');
|
|
5
5
|
require('cross-spawn');
|
|
6
6
|
require('@agentclientprotocol/sdk');
|
|
7
7
|
var fs = require('node:fs');
|
|
@@ -21,14 +21,14 @@ var fs$1 = require('fs/promises');
|
|
|
21
21
|
require('crypto');
|
|
22
22
|
var node_child_process = require('node:child_process');
|
|
23
23
|
require('node:readline');
|
|
24
|
-
var index = require('./index-
|
|
24
|
+
var index = require('./index-DTXoc9l3.cjs');
|
|
25
25
|
require('chalk');
|
|
26
26
|
require('node:events');
|
|
27
27
|
require('axios');
|
|
28
28
|
require('open');
|
|
29
29
|
var React = require('react');
|
|
30
30
|
var ink = require('ink');
|
|
31
|
-
var ProviderSelectionHandler = require('./ProviderSelectionHandler-
|
|
31
|
+
var ProviderSelectionHandler = require('./ProviderSelectionHandler-zOI_dsgi.cjs');
|
|
32
32
|
require('socket.io-client');
|
|
33
33
|
require('sharp');
|
|
34
34
|
require('node:stream');
|
|
@@ -36,8 +36,8 @@ require('node:stream/promises');
|
|
|
36
36
|
require('node:url');
|
|
37
37
|
require('node:module');
|
|
38
38
|
require('expo-server-sdk');
|
|
39
|
-
var ConversationHistory = require('./ConversationHistory-
|
|
40
|
-
var sessionControl = require('./sessionControl-
|
|
39
|
+
var ConversationHistory = require('./ConversationHistory-CzD1u1Wq.cjs');
|
|
40
|
+
var sessionControl = require('./sessionControl-f5uyjKLU.cjs');
|
|
41
41
|
var node_util = require('node:util');
|
|
42
42
|
var node_http = require('node:http');
|
|
43
43
|
require('zod');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aR as preserveSessionRuntimeMetadata, aE as logger, ac as formatDisplayMessage, ah as getNotificationsSettingsV1FromAccountSettings, D as DEFAULT_NOTIFICATIONS_SETTINGS_V1, bj as serializeAxiosErrorForLog, Q as configuration, b8 as resolveAgentRequestKind, aT as projectPath, aJ as mergeCodexGoalIntoSessionWorkStateMetadata, b6 as removeCodexGoalFromSessionWorkStateMetadata, aY as readDisplayableSessionWorkStateV1, B as BasePermissionHandler, ak as hashObject, bf as resolveManagedSessionMcpSelectionV1, al as indexSavedSecretsByIdFromAccountSettings, bg as resolveMcpValueRefPlaintext, bb as resolveCodexConnectedServiceCredential, r as SESSION_RPC_METHODS, aw as isCodexAppServerSessionOptionControls, N as codexAppServerUsageLimitRecoveryControlAdapter, s as SESSION_USAGE_LIMIT_RECOVERY_METADATA_KEY, ba as resolveCodexBackendMode, br as validateCodexAcpSpawn, bc as resolveCodexConnectedServiceCredentialFetchCandidates, aG as materializeCodexConnectedServiceAuthForRuntime, b0 as readMcpServersSettingsFromAccountSettings, b1 as readSessionMcpSelectionV1FromMetadata, W as createCodexBackend, a as AcpBackend, as as isCodexAppServerBackendControls, b9 as resolveCodexAppServerNativeReviewRequest, a9 as exportCodexSessionBundle, aI as mergeCodexAppServerSessionControlsMetadata, aH as mergeCodexAppServerRuntimeModelContextWindowMetadata, bp as truncateDisplayMessage, av as isCodexAppServerNativeControls, at as isCodexAppServerCatalogControls, au as isCodexAppServerConnectedServiceAuthControls, bd as resolveCodexExecutable, bh as resolveWindowsCommandInvocation, bk as shouldUseShellForCodex, aA as killProcessTree, be as resolveCodexMcpPolicyForPermissionMode, _ as createKeyedStreamedTranscriptBridge, h as Future, T as connectionState, c as ApiClient } from './types-
|
|
2
|
-
import { B as BufferedAssistantStreamEmitter, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, r as registerKillSessionHandler, d as renderTerminalOutputPreview, p as prepareTerminalOutputForForwarding, i as inferToolResultError, c as forwardAgentMessageToProviderSession, e as ensureManagedProviderMachine, a as MissingMachineIdError, M as MessageQueue2, s as syncControlledByUserState, g as resolveHappyOrgQueuedTurn } from './sessionControl-
|
|
3
|
-
import { e as closeProviderSession, l as stopCaffeinate, c as classifyChildExit, a as classifySpawnError, h as readManagedSessionTag, r as readDaemonInitialGoalFromEnv, k as resolveManagedSessionTag } from './index-
|
|
1
|
+
import { aR as preserveSessionRuntimeMetadata, aE as logger, ac as formatDisplayMessage, ah as getNotificationsSettingsV1FromAccountSettings, D as DEFAULT_NOTIFICATIONS_SETTINGS_V1, bj as serializeAxiosErrorForLog, Q as configuration, b8 as resolveAgentRequestKind, aT as projectPath, aJ as mergeCodexGoalIntoSessionWorkStateMetadata, b6 as removeCodexGoalFromSessionWorkStateMetadata, aY as readDisplayableSessionWorkStateV1, B as BasePermissionHandler, ak as hashObject, bf as resolveManagedSessionMcpSelectionV1, al as indexSavedSecretsByIdFromAccountSettings, bg as resolveMcpValueRefPlaintext, bb as resolveCodexConnectedServiceCredential, r as SESSION_RPC_METHODS, aw as isCodexAppServerSessionOptionControls, N as codexAppServerUsageLimitRecoveryControlAdapter, s as SESSION_USAGE_LIMIT_RECOVERY_METADATA_KEY, ba as resolveCodexBackendMode, br as validateCodexAcpSpawn, bc as resolveCodexConnectedServiceCredentialFetchCandidates, aG as materializeCodexConnectedServiceAuthForRuntime, b0 as readMcpServersSettingsFromAccountSettings, b1 as readSessionMcpSelectionV1FromMetadata, W as createCodexBackend, a as AcpBackend, as as isCodexAppServerBackendControls, b9 as resolveCodexAppServerNativeReviewRequest, a9 as exportCodexSessionBundle, aI as mergeCodexAppServerSessionControlsMetadata, aH as mergeCodexAppServerRuntimeModelContextWindowMetadata, bp as truncateDisplayMessage, av as isCodexAppServerNativeControls, at as isCodexAppServerCatalogControls, au as isCodexAppServerConnectedServiceAuthControls, bd as resolveCodexExecutable, bh as resolveWindowsCommandInvocation, bk as shouldUseShellForCodex, aA as killProcessTree, be as resolveCodexMcpPolicyForPermissionMode, _ as createKeyedStreamedTranscriptBridge, h as Future, T as connectionState, c as ApiClient } from './types-DnqTUpwY.mjs';
|
|
2
|
+
import { B as BufferedAssistantStreamEmitter, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, r as registerKillSessionHandler, d as renderTerminalOutputPreview, p as prepareTerminalOutputForForwarding, i as inferToolResultError, c as forwardAgentMessageToProviderSession, e as ensureManagedProviderMachine, a as MissingMachineIdError, M as MessageQueue2, s as syncControlledByUserState, g as resolveHappyOrgQueuedTurn } from './sessionControl-_C1DLVWq.mjs';
|
|
3
|
+
import { e as closeProviderSession, l as stopCaffeinate, c as classifyChildExit, a as classifySpawnError, h as readManagedSessionTag, r as readDaemonInitialGoalFromEnv, k as resolveManagedSessionTag } from './index-BlU0IkKg.mjs';
|
|
4
4
|
import 'cross-spawn';
|
|
5
5
|
import '@agentclientprotocol/sdk';
|
|
6
6
|
import { randomUUID, createHash } from 'node:crypto';
|
|
@@ -27,7 +27,7 @@ import axios from 'axios';
|
|
|
27
27
|
import 'open';
|
|
28
28
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
29
29
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
30
|
-
import { c as createKeepAliveController, P as ProviderSelectionHandler, s as startFileWatcher, r as runModeLoop } from './ProviderSelectionHandler-
|
|
30
|
+
import { c as createKeepAliveController, P as ProviderSelectionHandler, s as startFileWatcher, r as runModeLoop } from './ProviderSelectionHandler-D9nbAKUT.mjs';
|
|
31
31
|
import 'socket.io-client';
|
|
32
32
|
import 'sharp';
|
|
33
33
|
import 'node:stream';
|
|
@@ -35,11 +35,11 @@ import 'node:stream/promises';
|
|
|
35
35
|
import 'node:url';
|
|
36
36
|
import 'node:module';
|
|
37
37
|
import 'expo-server-sdk';
|
|
38
|
-
import { a as buildReadyPushNotification, M as MessageBuffer, C as ConversationHistory$1, c as buildTurnResultPushNotification, l as launchRuntimeHandleWithFactoryResult, d as createSessionTranscriptInkRenderer, e as extractPermissionRequestPushContext } from './ConversationHistory-
|
|
39
|
-
import { B as BaseReasoningProcessor } from './BaseReasoningProcessor-
|
|
38
|
+
import { a as buildReadyPushNotification, M as MessageBuffer, C as ConversationHistory$1, c as buildTurnResultPushNotification, l as launchRuntimeHandleWithFactoryResult, d as createSessionTranscriptInkRenderer, e as extractPermissionRequestPushContext } from './ConversationHistory-BEFQZEC0.mjs';
|
|
39
|
+
import { B as BaseReasoningProcessor } from './BaseReasoningProcessor-dDQ0HBLR.mjs';
|
|
40
40
|
import { StringDecoder } from 'node:string_decoder';
|
|
41
|
-
import { b as bootstrapManagedProviderSession } from './bootstrapManagedProviderSession-
|
|
42
|
-
import { i as installFatalProcessHandlers } from './installFatalProcessHandlers-
|
|
41
|
+
import { b as bootstrapManagedProviderSession } from './bootstrapManagedProviderSession-CW2bZO0r.mjs';
|
|
42
|
+
import { i as installFatalProcessHandlers } from './installFatalProcessHandlers-Di-PXB02.mjs';
|
|
43
43
|
import 'zod';
|
|
44
44
|
import 'util';
|
|
45
45
|
import 'url';
|
|
@@ -1616,6 +1616,9 @@ function normalizeCodexArgsForHappy(options) {
|
|
|
1616
1616
|
let resumeSessionId = normalizeResumeSessionId(options.resumeSessionId);
|
|
1617
1617
|
for (let index = 0; index < sourceArgs.length; index += 1) {
|
|
1618
1618
|
const arg = sourceArgs[index];
|
|
1619
|
+
if (arg === "--dangerously-bypass-approvals-and-sandbox" || arg === "--yolo") {
|
|
1620
|
+
continue;
|
|
1621
|
+
}
|
|
1619
1622
|
if (arg === "--resume") {
|
|
1620
1623
|
const nextArg = sourceArgs[index + 1];
|
|
1621
1624
|
const normalizedNextArg = normalizeResumeSessionId(nextArg);
|
|
@@ -8740,7 +8743,7 @@ async function runCodex(opts) {
|
|
|
8740
8743
|
permissionMode: opts.permissionMode,
|
|
8741
8744
|
startedBy: opts.startedBy,
|
|
8742
8745
|
startingMode: resolvedStartingMode,
|
|
8743
|
-
codexArgs:
|
|
8746
|
+
codexArgs: opts.codexArgs
|
|
8744
8747
|
});
|
|
8745
8748
|
const preserveCurrentPermissionModeForRemoteDefault = opts.startedBy === "daemon" && resolvedStartingMode === "remote";
|
|
8746
8749
|
const api = await ApiClient.create(opts.credentials);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./types-
|
|
4
|
-
var sessionControl = require('./sessionControl-
|
|
5
|
-
var index = require('./index-
|
|
3
|
+
var persistence = require('./types-B43LoIH9.cjs');
|
|
4
|
+
var sessionControl = require('./sessionControl-f5uyjKLU.cjs');
|
|
5
|
+
var index = require('./index-DTXoc9l3.cjs');
|
|
6
6
|
require('cross-spawn');
|
|
7
7
|
require('@agentclientprotocol/sdk');
|
|
8
8
|
var node_crypto = require('node:crypto');
|
|
@@ -29,7 +29,7 @@ var axios = require('axios');
|
|
|
29
29
|
require('open');
|
|
30
30
|
var React = require('react');
|
|
31
31
|
var ink = require('ink');
|
|
32
|
-
var ProviderSelectionHandler = require('./ProviderSelectionHandler-
|
|
32
|
+
var ProviderSelectionHandler = require('./ProviderSelectionHandler-zOI_dsgi.cjs');
|
|
33
33
|
require('socket.io-client');
|
|
34
34
|
require('sharp');
|
|
35
35
|
require('node:stream');
|
|
@@ -37,11 +37,11 @@ require('node:stream/promises');
|
|
|
37
37
|
require('node:url');
|
|
38
38
|
require('node:module');
|
|
39
39
|
require('expo-server-sdk');
|
|
40
|
-
var ConversationHistory = require('./ConversationHistory-
|
|
41
|
-
var BaseReasoningProcessor = require('./BaseReasoningProcessor-
|
|
40
|
+
var ConversationHistory = require('./ConversationHistory-CzD1u1Wq.cjs');
|
|
41
|
+
var BaseReasoningProcessor = require('./BaseReasoningProcessor-ClKyULqw.cjs');
|
|
42
42
|
var node_string_decoder = require('node:string_decoder');
|
|
43
|
-
var bootstrapManagedProviderSession = require('./bootstrapManagedProviderSession-
|
|
44
|
-
var installFatalProcessHandlers = require('./installFatalProcessHandlers-
|
|
43
|
+
var bootstrapManagedProviderSession = require('./bootstrapManagedProviderSession-CLX0SkFr.cjs');
|
|
44
|
+
var installFatalProcessHandlers = require('./installFatalProcessHandlers-DKPQZZmR.cjs');
|
|
45
45
|
require('zod');
|
|
46
46
|
require('util');
|
|
47
47
|
require('url');
|
|
@@ -1618,6 +1618,9 @@ function normalizeCodexArgsForHappy(options) {
|
|
|
1618
1618
|
let resumeSessionId = normalizeResumeSessionId(options.resumeSessionId);
|
|
1619
1619
|
for (let index = 0; index < sourceArgs.length; index += 1) {
|
|
1620
1620
|
const arg = sourceArgs[index];
|
|
1621
|
+
if (arg === "--dangerously-bypass-approvals-and-sandbox" || arg === "--yolo") {
|
|
1622
|
+
continue;
|
|
1623
|
+
}
|
|
1621
1624
|
if (arg === "--resume") {
|
|
1622
1625
|
const nextArg = sourceArgs[index + 1];
|
|
1623
1626
|
const normalizedNextArg = normalizeResumeSessionId(nextArg);
|
|
@@ -8742,7 +8745,7 @@ async function runCodex(opts) {
|
|
|
8742
8745
|
permissionMode: opts.permissionMode,
|
|
8743
8746
|
startedBy: opts.startedBy,
|
|
8744
8747
|
startingMode: resolvedStartingMode,
|
|
8745
|
-
codexArgs:
|
|
8748
|
+
codexArgs: opts.codexArgs
|
|
8746
8749
|
});
|
|
8747
8750
|
const preserveCurrentPermissionModeForRemoteDefault = opts.startedBy === "daemon" && resolvedStartingMode === "remote";
|
|
8748
8751
|
const api = await persistence.ApiClient.create(opts.credentials);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BasePermissionHandler, aE as logger, b8 as resolveAgentRequestKind, T as connectionState, c as ApiClient, ak as hashObject, q as RuntimeShell, X as createCursorBackend } from './types-
|
|
1
|
+
import { B as BasePermissionHandler, aE as logger, b8 as resolveAgentRequestKind, T as connectionState, c as ApiClient, ak as hashObject, q as RuntimeShell, X as createCursorBackend } from './types-DnqTUpwY.mjs';
|
|
2
2
|
import { randomUUID } from 'node:crypto';
|
|
3
|
-
import { e as ensureManagedProviderMachine, a as MissingMachineIdError, M as MessageQueue2, B as BufferedAssistantStreamEmitter, r as registerKillSessionHandler, g as resolveHappyOrgQueuedTurn, s as syncControlledByUserState, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, c as forwardAgentMessageToProviderSession } from './sessionControl-
|
|
4
|
-
import { h as readManagedSessionTag, k as resolveManagedSessionTag, l as stopCaffeinate, e as closeProviderSession } from './index-
|
|
5
|
-
import { b as bootstrapManagedProviderSession } from './bootstrapManagedProviderSession-
|
|
6
|
-
import { i as installFatalProcessHandlers } from './installFatalProcessHandlers-
|
|
3
|
+
import { e as ensureManagedProviderMachine, a as MissingMachineIdError, M as MessageQueue2, B as BufferedAssistantStreamEmitter, r as registerKillSessionHandler, g as resolveHappyOrgQueuedTurn, s as syncControlledByUserState, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, c as forwardAgentMessageToProviderSession } from './sessionControl-_C1DLVWq.mjs';
|
|
4
|
+
import { h as readManagedSessionTag, k as resolveManagedSessionTag, l as stopCaffeinate, e as closeProviderSession } from './index-BlU0IkKg.mjs';
|
|
5
|
+
import { b as bootstrapManagedProviderSession } from './bootstrapManagedProviderSession-CW2bZO0r.mjs';
|
|
6
|
+
import { i as installFatalProcessHandlers } from './installFatalProcessHandlers-Di-PXB02.mjs';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'chalk';
|
|
9
9
|
import 'fs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./types-
|
|
3
|
+
var persistence = require('./types-B43LoIH9.cjs');
|
|
4
4
|
var node_crypto = require('node:crypto');
|
|
5
|
-
var sessionControl = require('./sessionControl-
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var bootstrapManagedProviderSession = require('./bootstrapManagedProviderSession-
|
|
8
|
-
var installFatalProcessHandlers = require('./installFatalProcessHandlers-
|
|
5
|
+
var sessionControl = require('./sessionControl-f5uyjKLU.cjs');
|
|
6
|
+
var index = require('./index-DTXoc9l3.cjs');
|
|
7
|
+
var bootstrapManagedProviderSession = require('./bootstrapManagedProviderSession-CLX0SkFr.cjs');
|
|
8
|
+
var installFatalProcessHandlers = require('./installFatalProcessHandlers-DKPQZZmR.cjs');
|
|
9
9
|
require('axios');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('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 persistence = require('./types-
|
|
7
|
-
var ConversationHistory$1 = require('./ConversationHistory-
|
|
8
|
-
var sessionControl = require('./sessionControl-
|
|
9
|
-
var index = require('./index-
|
|
10
|
-
var BaseReasoningProcessor = require('./BaseReasoningProcessor-
|
|
6
|
+
var persistence = require('./types-B43LoIH9.cjs');
|
|
7
|
+
var ConversationHistory$1 = require('./ConversationHistory-CzD1u1Wq.cjs');
|
|
8
|
+
var sessionControl = require('./sessionControl-f5uyjKLU.cjs');
|
|
9
|
+
var index = require('./index-DTXoc9l3.cjs');
|
|
10
|
+
var BaseReasoningProcessor = require('./BaseReasoningProcessor-ClKyULqw.cjs');
|
|
11
11
|
require('cross-spawn');
|
|
12
12
|
require('@agentclientprotocol/sdk');
|
|
13
13
|
require('node:fs');
|
|
@@ -23,7 +23,7 @@ require('fs/promises');
|
|
|
23
23
|
require('crypto');
|
|
24
24
|
require('node:child_process');
|
|
25
25
|
require('node:readline');
|
|
26
|
-
var bootstrapManagedProviderSession = require('./bootstrapManagedProviderSession-
|
|
26
|
+
var bootstrapManagedProviderSession = require('./bootstrapManagedProviderSession-CLX0SkFr.cjs');
|
|
27
27
|
require('axios');
|
|
28
28
|
require('open');
|
|
29
29
|
require('chalk');
|
|
@@ -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 { B as BasePermissionHandler, aE as logger, T as connectionState, c as ApiClient, ak as hashObject, af as getInitialGeminiModel, aZ as readGeminiLocalConfig, G as GEMINI_MODEL_ENV, bi as saveGeminiModelToConfig, Z as createGeminiBackend } from './types-
|
|
5
|
-
import { C as ConversationHistory$1, M as MessageBuffer, c as buildTurnResultPushNotification, a as buildReadyPushNotification, l as launchRuntimeHandleWithFactoryResult, e as extractPermissionRequestPushContext, b as buildPermissionPushNotification, d as createSessionTranscriptInkRenderer } from './ConversationHistory-
|
|
6
|
-
import { g as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, a as MissingMachineIdError, s as syncControlledByUserState, M as MessageQueue2, B as BufferedAssistantStreamEmitter, r as registerKillSessionHandler, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, d as renderTerminalOutputPreview, p as prepareTerminalOutputForForwarding, i as inferToolResultError, c as forwardAgentMessageToProviderSession } from './sessionControl-
|
|
7
|
-
import { e as closeProviderSession, l as stopCaffeinate } from './index-
|
|
8
|
-
import { B as BaseReasoningProcessor } from './BaseReasoningProcessor-
|
|
4
|
+
import { B as BasePermissionHandler, aE as logger, T as connectionState, c as ApiClient, ak as hashObject, af as getInitialGeminiModel, aZ as readGeminiLocalConfig, G as GEMINI_MODEL_ENV, bi as saveGeminiModelToConfig, Z as createGeminiBackend } from './types-DnqTUpwY.mjs';
|
|
5
|
+
import { C as ConversationHistory$1, M as MessageBuffer, c as buildTurnResultPushNotification, a as buildReadyPushNotification, l as launchRuntimeHandleWithFactoryResult, e as extractPermissionRequestPushContext, b as buildPermissionPushNotification, d as createSessionTranscriptInkRenderer } from './ConversationHistory-BEFQZEC0.mjs';
|
|
6
|
+
import { g as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, a as MissingMachineIdError, s as syncControlledByUserState, M as MessageQueue2, B as BufferedAssistantStreamEmitter, r as registerKillSessionHandler, b as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, f as finalizeHappyOrgTurnWithBusinessAck, d as renderTerminalOutputPreview, p as prepareTerminalOutputForForwarding, i as inferToolResultError, c as forwardAgentMessageToProviderSession } from './sessionControl-_C1DLVWq.mjs';
|
|
7
|
+
import { e as closeProviderSession, l as stopCaffeinate } from './index-BlU0IkKg.mjs';
|
|
8
|
+
import { B as BaseReasoningProcessor } from './BaseReasoningProcessor-dDQ0HBLR.mjs';
|
|
9
9
|
import 'cross-spawn';
|
|
10
10
|
import '@agentclientprotocol/sdk';
|
|
11
11
|
import 'node:fs';
|
|
@@ -21,7 +21,7 @@ import 'fs/promises';
|
|
|
21
21
|
import 'crypto';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:readline';
|
|
24
|
-
import { b as bootstrapManagedProviderSession } from './bootstrapManagedProviderSession-
|
|
24
|
+
import { b as bootstrapManagedProviderSession } from './bootstrapManagedProviderSession-CW2bZO0r.mjs';
|
|
25
25
|
import 'axios';
|
|
26
26
|
import 'open';
|
|
27
27
|
import 'chalk';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as initialMachineMetadata, j as resolveCanonicalToolNameV2 } from './index-
|
|
2
|
-
import { b2 as readSettings, ac as formatDisplayMessage, n as HeadTailPreviewBuffer, az as isTerminalReferenceOnlyPayload, aE as logger, j as HAPPY_ORG_REPLY_ACK_VERSION, l as HAPPY_ORG_TURN_REPORT_TAG, k as HAPPY_ORG_SUMMARY_MAX_LENGTH, i as HAPPY_ORG_REPEAT_THRESHOLD, aL as normalizePreviewableArtifactTarget, e as AssistantMessageStream } from './types-
|
|
1
|
+
import { i as initialMachineMetadata, j as resolveCanonicalToolNameV2 } from './index-BlU0IkKg.mjs';
|
|
2
|
+
import { b2 as readSettings, ac as formatDisplayMessage, n as HeadTailPreviewBuffer, az as isTerminalReferenceOnlyPayload, aE as logger, j as HAPPY_ORG_REPLY_ACK_VERSION, l as HAPPY_ORG_TURN_REPORT_TAG, k as HAPPY_ORG_SUMMARY_MAX_LENGTH, i as HAPPY_ORG_REPEAT_THRESHOLD, aL as normalizePreviewableArtifactTarget, e as AssistantMessageStream } from './types-DnqTUpwY.mjs';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'node:events';
|
|
@@ -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-DTXoc9l3.cjs');
|
|
4
|
+
var persistence = require('./types-B43LoIH9.cjs');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
6
|
require('axios');
|
|
7
7
|
require('node:events');
|
|
@@ -59,7 +59,7 @@ var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
|
59
59
|
var fsPromises__namespace = /*#__PURE__*/_interopNamespaceDefault(fsPromises);
|
|
60
60
|
|
|
61
61
|
var name = "happy-imou-cloud";
|
|
62
|
-
var version = "2.1.
|
|
62
|
+
var version = "2.1.61";
|
|
63
63
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Cursor CLI";
|
|
64
64
|
var author = "long.zhu";
|
|
65
65
|
var license = "MIT";
|
|
@@ -17139,7 +17139,7 @@ function shouldUseShellForCodex(executable) {
|
|
|
17139
17139
|
return process.platform === "win32" && /\.(cmd|bat|ps1)$/i.test(executable);
|
|
17140
17140
|
}
|
|
17141
17141
|
|
|
17142
|
-
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-
|
|
17142
|
+
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-B43LoIH9.cjs', document.baseURI).href))));
|
|
17143
17143
|
function projectPath() {
|
|
17144
17144
|
const path = path$1.resolve(__dirname$2, "..");
|
|
17145
17145
|
return path;
|
|
@@ -37562,7 +37562,7 @@ function getRuntime() {
|
|
|
37562
37562
|
}
|
|
37563
37563
|
const isBun = () => getRuntime() === "bun";
|
|
37564
37564
|
|
|
37565
|
-
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-
|
|
37565
|
+
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-B43LoIH9.cjs', document.baseURI).href)));
|
|
37566
37566
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
37567
37567
|
function getGlobalClaudeVersion() {
|
|
37568
37568
|
try {
|
|
@@ -57785,7 +57785,7 @@ function isBunRuntime() {
|
|
|
57785
57785
|
return typeof globalThis.Bun !== "undefined";
|
|
57786
57786
|
}
|
|
57787
57787
|
function openSqliteDatabaseSync(filePath) {
|
|
57788
|
-
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-
|
|
57788
|
+
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-B43LoIH9.cjs', document.baseURI).href)));
|
|
57789
57789
|
const moduleName = isBunRuntime() ? "bun:sqlite" : "node:sqlite";
|
|
57790
57790
|
const mod = require$1(moduleName);
|
|
57791
57791
|
if (!mod || typeof mod !== "object") {
|
|
@@ -38,7 +38,7 @@ import { Expo } from 'expo-server-sdk';
|
|
|
38
38
|
import { createRequire } from 'node:module';
|
|
39
39
|
|
|
40
40
|
var name = "happy-imou-cloud";
|
|
41
|
-
var version = "2.1.
|
|
41
|
+
var version = "2.1.61";
|
|
42
42
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Cursor CLI";
|
|
43
43
|
var author = "long.zhu";
|
|
44
44
|
var license = "MIT";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "happy-imou-cloud",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.61",
|
|
4
4
|
"description": "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Cursor CLI",
|
|
5
5
|
"author": "long.zhu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"bench:report": "node scripts/generate-benchmark-report.js",
|
|
58
58
|
"// ==== Start & Dev ====": "",
|
|
59
59
|
"start": "yarn build && node ./bin/happy-cloud.mjs",
|
|
60
|
-
"dev": "tsx src/index.ts",
|
|
61
|
-
"dev:local-server": "yarn build && tsx --env-file .env.dev-local-server src/index.ts",
|
|
62
|
-
"dev:integration-test-env": "yarn build && tsx --env-file .env.integration-test src/index.ts",
|
|
63
|
-
"e2e:local-server": "yarn build && node ./scripts/e2e/local-server-session-roundtrip.mjs",
|
|
64
|
-
"e2e:codex-app-server-goal": "node ./scripts/e2e/codex-app-server-goal-smoke.mjs",
|
|
65
|
-
"e2e:mcp-stdio-real-probe": "node ./scripts/e2e/mcp-stdio-real-server-probe.mjs",
|
|
66
|
-
"// ==== Release ====": "",
|
|
60
|
+
"dev": "tsx src/index.ts",
|
|
61
|
+
"dev:local-server": "yarn build && tsx --env-file .env.dev-local-server src/index.ts",
|
|
62
|
+
"dev:integration-test-env": "yarn build && tsx --env-file .env.integration-test src/index.ts",
|
|
63
|
+
"e2e:local-server": "yarn build && node ./scripts/e2e/local-server-session-roundtrip.mjs",
|
|
64
|
+
"e2e:codex-app-server-goal": "node ./scripts/e2e/codex-app-server-goal-smoke.mjs",
|
|
65
|
+
"e2e:mcp-stdio-real-probe": "node ./scripts/e2e/mcp-stdio-real-server-probe.mjs",
|
|
66
|
+
"// ==== Release ====": "",
|
|
67
67
|
"prepublishOnly": "yarn release:smoke",
|
|
68
68
|
"release": "yarn install && release-it",
|
|
69
69
|
"release:smoke": "node ./scripts/release-smoke.mjs",
|
|
@@ -89,20 +89,20 @@
|
|
|
89
89
|
"test:happy-org-1.2-quality": "node ../../node_modules/vitest/vitest.mjs run --config vitest.happy-org-1.2.config.mjs"
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@agentclientprotocol/sdk": "0.21.0",
|
|
93
|
-
"@noble/hashes": "^1.8.0",
|
|
94
|
-
"@stablelib/base64": "^2.0.1",
|
|
95
|
-
"@stablelib/hex": "^2.0.1",
|
|
92
|
+
"@agentclientprotocol/sdk": "0.21.0",
|
|
93
|
+
"@noble/hashes": "^1.8.0",
|
|
94
|
+
"@stablelib/base64": "^2.0.1",
|
|
95
|
+
"@stablelib/hex": "^2.0.1",
|
|
96
96
|
"@types/cross-spawn": "^6.0.6",
|
|
97
97
|
"@types/http-proxy": "^1.17.17",
|
|
98
98
|
"@types/ps-list": "^6.2.1",
|
|
99
99
|
"@types/qrcode-terminal": "^0.12.2",
|
|
100
100
|
"@types/react": "^19.2.7",
|
|
101
101
|
"@types/tmp": "^0.2.6",
|
|
102
|
-
"ai": "^5.0.107",
|
|
103
|
-
"axios": "^1.13.2",
|
|
104
|
-
"base64-js": "^1.5.1",
|
|
105
|
-
"chalk": "^5.6.2",
|
|
102
|
+
"ai": "^5.0.107",
|
|
103
|
+
"axios": "^1.13.2",
|
|
104
|
+
"base64-js": "^1.5.1",
|
|
105
|
+
"chalk": "^5.6.2",
|
|
106
106
|
"cross-spawn": "^7.0.6",
|
|
107
107
|
"expo-server-sdk": "^3.15.0",
|
|
108
108
|
"fastify": "^5.6.2",
|