happy-imou-cloud 2.1.22 → 2.1.23
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-BYNLDM-T.mjs → BaseReasoningProcessor-By0QiYEu.mjs} +2 -2
- package/dist/{BaseReasoningProcessor-BVdXoFXc.cjs → BaseReasoningProcessor-_EHQVXKN.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-DDzNcWPJ.cjs → ProviderSelectionHandler-BSzm8oJH.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-DgINCAMh.mjs → ProviderSelectionHandler-XwkBLKvY.mjs} +2 -2
- package/dist/{api-bhF1J82q.mjs → api-CDC4ZRT7.mjs} +1 -1
- package/dist/{api-BXGRJ5Kn.cjs → api-CusZs0lm.cjs} +1 -1
- package/dist/{command-CyUpFVkQ.mjs → command-B7O2Hn-D.mjs} +2 -2
- package/dist/{command-Byj1OLb9.cjs → command-Cp_bgCOD.cjs} +2 -2
- package/dist/{index-CEhnCQim.mjs → index-CFLvb1x1.mjs} +7 -7
- package/dist/{index-BNTRi6Uv.cjs → index-yX0QThPc.cjs} +10 -10
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +50 -50
- package/dist/lib.d.mts +50 -50
- package/dist/lib.mjs +1 -1
- package/dist/{registerKillSessionHandler-CuP57vY0.cjs → registerKillSessionHandler-3f8MBSd6.cjs} +2 -2
- package/dist/{registerKillSessionHandler-BtPo6LkG.mjs → registerKillSessionHandler-aB2llDD3.mjs} +2 -2
- package/dist/{runClaude-CqJgxqjW.cjs → runClaude-5moKE082.cjs} +4 -4
- package/dist/{runClaude-CMKm1bBe.mjs → runClaude-BXO5ycyI.mjs} +4 -4
- package/dist/{runCodex-DIaZ1wGI.cjs → runCodex-BJn5KMLg.cjs} +5 -5
- package/dist/{runCodex-BkfujuLR.mjs → runCodex-DYEMgHdw.mjs} +5 -5
- package/dist/{runGemini-DcN0Nb3f.mjs → runGemini-CHWnR9gf.mjs} +4 -4
- package/dist/{runGemini-U4GRLlSn.cjs → runGemini-CWG0QweX.cjs} +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-
|
|
2
|
-
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-
|
|
1
|
+
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-CFLvb1x1.mjs';
|
|
2
|
+
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-CDC4ZRT7.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var persistence = require('./api-
|
|
3
|
+
var index = require('./index-yX0QThPc.cjs');
|
|
4
|
+
var persistence = require('./api-CusZs0lm.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
|
package/dist/{ProviderSelectionHandler-DDzNcWPJ.cjs → ProviderSelectionHandler-BSzm8oJH.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./api-
|
|
4
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
3
|
+
var persistence = require('./api-CusZs0lm.cjs');
|
|
4
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-3f8MBSd6.cjs');
|
|
5
5
|
|
|
6
6
|
async function runModeLoop(opts) {
|
|
7
7
|
let currentMode = opts.startingMode;
|
package/dist/{ProviderSelectionHandler-DgINCAMh.mjs → ProviderSelectionHandler-XwkBLKvY.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './api-
|
|
2
|
-
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-
|
|
1
|
+
import { l as logger } from './api-CDC4ZRT7.mjs';
|
|
2
|
+
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-aB2llDD3.mjs';
|
|
3
3
|
|
|
4
4
|
async function runModeLoop(opts) {
|
|
5
5
|
let currentMode = opts.startingMode;
|
|
@@ -18,7 +18,7 @@ import { unlink, readFile, mkdir, open, stat, writeFile, rename } from 'node:fs/
|
|
|
18
18
|
import { Expo } from 'expo-server-sdk';
|
|
19
19
|
|
|
20
20
|
var name = "happy-imou-cloud";
|
|
21
|
-
var version = "2.1.
|
|
21
|
+
var version = "2.1.23";
|
|
22
22
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
23
23
|
var author = "long.zhu";
|
|
24
24
|
var license = "MIT";
|
|
@@ -38,7 +38,7 @@ function _interopNamespaceDefault(e) {
|
|
|
38
38
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
39
39
|
|
|
40
40
|
var name = "happy-imou-cloud";
|
|
41
|
-
var version = "2.1.
|
|
41
|
+
var version = "2.1.23";
|
|
42
42
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
43
43
|
var author = "long.zhu";
|
|
44
44
|
var license = "MIT";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createDefaultRuntimeShell } from './index-
|
|
1
|
+
import { c as createDefaultRuntimeShell } from './index-CFLvb1x1.mjs';
|
|
2
2
|
import 'chalk';
|
|
3
|
-
import './api-
|
|
3
|
+
import './api-CDC4ZRT7.mjs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'node:fs';
|
|
@@ -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, j as encodeBase64, c as configuration, k as readCredentials, m as ensureSigningCredentials, r as readSettings, u as updateSettings, n as encodeBase64Url, g as delay, o as buildClientHeaders, q as decodeBase64, w as writeCredentialsLegacy, t as writeCredentialsDataKey, v as readDaemonState, x as HAPPY_CLOUD_DAEMON_PORT, y as clearDaemonState, z as packageJson, i as isAuthenticationRequiredError, B as acquireDaemonLock, C as writeDaemonState, A as ApiClient, D as releaseDaemonLock, E as validateProfileForAgent, F as getProfileEnvironmentVariables, G as clearCredentials, I as clearMachineId, M as MessageContentSchema, J as buildSocketAuth, K as encrypt, L as HeadTailPreviewBuffer, N as getLatestDaemonLog } from './api-
|
|
2
|
+
import { l as logger, j as encodeBase64, c as configuration, k as readCredentials, m as ensureSigningCredentials, r as readSettings, u as updateSettings, n as encodeBase64Url, g as delay, o as buildClientHeaders, q as decodeBase64, w as writeCredentialsLegacy, t as writeCredentialsDataKey, v as readDaemonState, x as HAPPY_CLOUD_DAEMON_PORT, y as clearDaemonState, z as packageJson, i as isAuthenticationRequiredError, B as acquireDaemonLock, C as writeDaemonState, A as ApiClient, D as releaseDaemonLock, E as validateProfileForAgent, F as getProfileEnvironmentVariables, G as clearCredentials, I as clearMachineId, M as MessageContentSchema, J as buildSocketAuth, K as encrypt, L as HeadTailPreviewBuffer, N as getLatestDaemonLog } from './api-CDC4ZRT7.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 } from 'os';
|
|
@@ -10746,14 +10746,14 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
10746
10746
|
const unifiedProviderExecutors = {
|
|
10747
10747
|
claude: async (opts) => {
|
|
10748
10748
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
10749
|
-
const { runClaude } = await import('./runClaude-
|
|
10749
|
+
const { runClaude } = await import('./runClaude-BXO5ycyI.mjs');
|
|
10750
10750
|
await runClaude(opts.credentials, {
|
|
10751
10751
|
...claudeOptions,
|
|
10752
10752
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
10753
10753
|
});
|
|
10754
10754
|
},
|
|
10755
10755
|
codex: async (opts) => {
|
|
10756
|
-
const { runCodex } = await import('./runCodex-
|
|
10756
|
+
const { runCodex } = await import('./runCodex-DYEMgHdw.mjs');
|
|
10757
10757
|
await runCodex({
|
|
10758
10758
|
credentials: opts.credentials,
|
|
10759
10759
|
startedBy: opts.startedBy,
|
|
@@ -10762,7 +10762,7 @@ const unifiedProviderExecutors = {
|
|
|
10762
10762
|
});
|
|
10763
10763
|
},
|
|
10764
10764
|
gemini: async (opts) => {
|
|
10765
|
-
const { runGemini } = await import('./runGemini-
|
|
10765
|
+
const { runGemini } = await import('./runGemini-CHWnR9gf.mjs');
|
|
10766
10766
|
await runGemini({
|
|
10767
10767
|
credentials: opts.credentials,
|
|
10768
10768
|
startedBy: opts.startedBy
|
|
@@ -10845,7 +10845,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
10845
10845
|
return;
|
|
10846
10846
|
} else if (subcommand === "runtime") {
|
|
10847
10847
|
if (args[1] === "providers") {
|
|
10848
|
-
const { renderRuntimeProviders } = await import('./command-
|
|
10848
|
+
const { renderRuntimeProviders } = await import('./command-B7O2Hn-D.mjs');
|
|
10849
10849
|
console.log(renderRuntimeProviders());
|
|
10850
10850
|
return;
|
|
10851
10851
|
}
|
|
@@ -11045,8 +11045,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11045
11045
|
const projectId = args[3];
|
|
11046
11046
|
try {
|
|
11047
11047
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
11048
|
-
const { readCredentials: readCredentials2 } = await import('./api-
|
|
11049
|
-
const { ApiClient: ApiClient2 } = await import('./api-
|
|
11048
|
+
const { readCredentials: readCredentials2 } = await import('./api-CDC4ZRT7.mjs').then(function (n) { return n.O; });
|
|
11049
|
+
const { ApiClient: ApiClient2 } = await import('./api-CDC4ZRT7.mjs').then(function (n) { return n.P; });
|
|
11050
11050
|
let userEmail = void 0;
|
|
11051
11051
|
try {
|
|
11052
11052
|
const credentials = await readCredentials2();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var persistence = require('./api-
|
|
4
|
+
var persistence = require('./api-CusZs0lm.cjs');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var fs$2 = require('fs/promises');
|
|
7
7
|
var os$1 = require('os');
|
|
@@ -72,7 +72,7 @@ async function openBrowser(url) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
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-
|
|
75
|
+
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-yX0QThPc.cjs', document.baseURI).href)));
|
|
76
76
|
const QRCode = require$1("qrcode-terminal/vendor/QRCode");
|
|
77
77
|
const QRErrorCorrectLevel = require$1("qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel");
|
|
78
78
|
const pendingTempFiles = /* @__PURE__ */ new Set();
|
|
@@ -637,7 +637,7 @@ function setupCleanupHandlers() {
|
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
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('index-
|
|
640
|
+
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('index-yX0QThPc.cjs', document.baseURI).href))));
|
|
641
641
|
function projectPath() {
|
|
642
642
|
const path = path$1.resolve(__dirname$2, "..");
|
|
643
643
|
return path;
|
|
@@ -9449,7 +9449,7 @@ class AbortError extends Error {
|
|
|
9449
9449
|
}
|
|
9450
9450
|
}
|
|
9451
9451
|
|
|
9452
|
-
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
9452
|
+
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-yX0QThPc.cjs', document.baseURI).href)));
|
|
9453
9453
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
9454
9454
|
function getGlobalClaudeVersion() {
|
|
9455
9455
|
try {
|
|
@@ -10768,14 +10768,14 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
10768
10768
|
const unifiedProviderExecutors = {
|
|
10769
10769
|
claude: async (opts) => {
|
|
10770
10770
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
10771
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
10771
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-5moKE082.cjs'); });
|
|
10772
10772
|
await runClaude(opts.credentials, {
|
|
10773
10773
|
...claudeOptions,
|
|
10774
10774
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
10775
10775
|
});
|
|
10776
10776
|
},
|
|
10777
10777
|
codex: async (opts) => {
|
|
10778
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
10778
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-BJn5KMLg.cjs'); });
|
|
10779
10779
|
await runCodex({
|
|
10780
10780
|
credentials: opts.credentials,
|
|
10781
10781
|
startedBy: opts.startedBy,
|
|
@@ -10784,7 +10784,7 @@ const unifiedProviderExecutors = {
|
|
|
10784
10784
|
});
|
|
10785
10785
|
},
|
|
10786
10786
|
gemini: async (opts) => {
|
|
10787
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
10787
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CWG0QweX.cjs'); });
|
|
10788
10788
|
await runGemini({
|
|
10789
10789
|
credentials: opts.credentials,
|
|
10790
10790
|
startedBy: opts.startedBy
|
|
@@ -10867,7 +10867,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
10867
10867
|
return;
|
|
10868
10868
|
} else if (subcommand === "runtime") {
|
|
10869
10869
|
if (args[1] === "providers") {
|
|
10870
|
-
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-
|
|
10870
|
+
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-Cp_bgCOD.cjs'); });
|
|
10871
10871
|
console.log(renderRuntimeProviders());
|
|
10872
10872
|
return;
|
|
10873
10873
|
}
|
|
@@ -11067,8 +11067,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11067
11067
|
const projectId = args[3];
|
|
11068
11068
|
try {
|
|
11069
11069
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
11070
|
-
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-
|
|
11071
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-
|
|
11070
|
+
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-CusZs0lm.cjs'); }).then(function (n) { return n.persistence; });
|
|
11071
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-CusZs0lm.cjs'); }).then(function (n) { return n.api; });
|
|
11072
11072
|
let userEmail = void 0;
|
|
11073
11073
|
try {
|
|
11074
11074
|
const credentials = await readCredentials2();
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('chalk');
|
|
4
|
-
require('./api-
|
|
4
|
+
require('./api-CusZs0lm.cjs');
|
|
5
5
|
require('zod');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-yX0QThPc.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.d.cts
CHANGED
|
@@ -323,17 +323,17 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
|
|
|
323
323
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
325
|
homeSlug: string;
|
|
326
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
326
327
|
path?: string | null | undefined;
|
|
327
328
|
machineId?: string | null | undefined;
|
|
328
329
|
happySessionId?: string | null | undefined;
|
|
329
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
330
330
|
flavor?: string | null | undefined;
|
|
331
331
|
}, {
|
|
332
332
|
homeSlug: string;
|
|
333
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
333
334
|
path?: string | null | undefined;
|
|
334
335
|
machineId?: string | null | undefined;
|
|
335
336
|
happySessionId?: string | null | undefined;
|
|
336
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
337
337
|
flavor?: string | null | undefined;
|
|
338
338
|
}>>>;
|
|
339
339
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -355,10 +355,10 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
|
|
|
355
355
|
} | null | undefined;
|
|
356
356
|
specialistHome?: {
|
|
357
357
|
homeSlug: string;
|
|
358
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
358
359
|
path?: string | null | undefined;
|
|
359
360
|
machineId?: string | null | undefined;
|
|
360
361
|
happySessionId?: string | null | undefined;
|
|
361
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
362
362
|
flavor?: string | null | undefined;
|
|
363
363
|
} | null | undefined;
|
|
364
364
|
}, {
|
|
@@ -380,10 +380,10 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
|
|
|
380
380
|
} | null | undefined;
|
|
381
381
|
specialistHome?: {
|
|
382
382
|
homeSlug: string;
|
|
383
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
383
384
|
path?: string | null | undefined;
|
|
384
385
|
machineId?: string | null | undefined;
|
|
385
386
|
happySessionId?: string | null | undefined;
|
|
386
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
387
387
|
flavor?: string | null | undefined;
|
|
388
388
|
} | null | undefined;
|
|
389
389
|
}>;
|
|
@@ -481,17 +481,17 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
481
481
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
483
|
homeSlug: string;
|
|
484
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
484
485
|
path?: string | null | undefined;
|
|
485
486
|
machineId?: string | null | undefined;
|
|
486
487
|
happySessionId?: string | null | undefined;
|
|
487
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
488
488
|
flavor?: string | null | undefined;
|
|
489
489
|
}, {
|
|
490
490
|
homeSlug: string;
|
|
491
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
491
492
|
path?: string | null | undefined;
|
|
492
493
|
machineId?: string | null | undefined;
|
|
493
494
|
happySessionId?: string | null | undefined;
|
|
494
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
495
495
|
flavor?: string | null | undefined;
|
|
496
496
|
}>>>;
|
|
497
497
|
repeat: z.ZodOptional<z.ZodObject<{
|
|
@@ -554,17 +554,17 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
554
554
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
556
|
homeSlug: string;
|
|
557
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
557
558
|
path?: string | null | undefined;
|
|
558
559
|
machineId?: string | null | undefined;
|
|
559
560
|
happySessionId?: string | null | undefined;
|
|
560
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
561
561
|
flavor?: string | null | undefined;
|
|
562
562
|
}, {
|
|
563
563
|
homeSlug: string;
|
|
564
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
564
565
|
path?: string | null | undefined;
|
|
565
566
|
machineId?: string | null | undefined;
|
|
566
567
|
happySessionId?: string | null | undefined;
|
|
567
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
568
568
|
flavor?: string | null | undefined;
|
|
569
569
|
}>>>;
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -586,10 +586,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
586
586
|
} | null | undefined;
|
|
587
587
|
specialistHome?: {
|
|
588
588
|
homeSlug: string;
|
|
589
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
589
590
|
path?: string | null | undefined;
|
|
590
591
|
machineId?: string | null | undefined;
|
|
591
592
|
happySessionId?: string | null | undefined;
|
|
592
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
593
593
|
flavor?: string | null | undefined;
|
|
594
594
|
} | null | undefined;
|
|
595
595
|
}, {
|
|
@@ -611,14 +611,20 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
611
611
|
} | null | undefined;
|
|
612
612
|
specialistHome?: {
|
|
613
613
|
homeSlug: string;
|
|
614
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
614
615
|
path?: string | null | undefined;
|
|
615
616
|
machineId?: string | null | undefined;
|
|
616
617
|
happySessionId?: string | null | undefined;
|
|
617
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
618
618
|
flavor?: string | null | undefined;
|
|
619
619
|
} | null | undefined;
|
|
620
620
|
}>>;
|
|
621
621
|
}, "strip", z.ZodTypeAny, {
|
|
622
|
+
runtime?: {
|
|
623
|
+
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
624
|
+
reason?: string | null | undefined;
|
|
625
|
+
terminatedAt?: number | undefined;
|
|
626
|
+
reopenedAt?: number | undefined;
|
|
627
|
+
} | undefined;
|
|
622
628
|
repeat?: {
|
|
623
629
|
threshold: number;
|
|
624
630
|
fingerprints: Record<string, {
|
|
@@ -639,18 +645,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
639
645
|
} | null | undefined;
|
|
640
646
|
specialistHome?: {
|
|
641
647
|
homeSlug: string;
|
|
648
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
642
649
|
path?: string | null | undefined;
|
|
643
650
|
machineId?: string | null | undefined;
|
|
644
651
|
happySessionId?: string | null | undefined;
|
|
645
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
646
652
|
flavor?: string | null | undefined;
|
|
647
653
|
} | null | undefined;
|
|
648
|
-
runtime?: {
|
|
649
|
-
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
650
|
-
reason?: string | null | undefined;
|
|
651
|
-
terminatedAt?: number | undefined;
|
|
652
|
-
reopenedAt?: number | undefined;
|
|
653
|
-
} | undefined;
|
|
654
654
|
activeOwner?: {
|
|
655
655
|
ownerAgentId: string;
|
|
656
656
|
ownerRunId: string;
|
|
@@ -684,14 +684,20 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
684
684
|
} | null | undefined;
|
|
685
685
|
specialistHome?: {
|
|
686
686
|
homeSlug: string;
|
|
687
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
687
688
|
path?: string | null | undefined;
|
|
688
689
|
machineId?: string | null | undefined;
|
|
689
690
|
happySessionId?: string | null | undefined;
|
|
690
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
691
691
|
flavor?: string | null | undefined;
|
|
692
692
|
} | null | undefined;
|
|
693
693
|
} | undefined;
|
|
694
694
|
}, {
|
|
695
|
+
runtime?: {
|
|
696
|
+
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
697
|
+
reason?: string | null | undefined;
|
|
698
|
+
terminatedAt?: number | undefined;
|
|
699
|
+
reopenedAt?: number | undefined;
|
|
700
|
+
} | undefined;
|
|
695
701
|
repeat?: {
|
|
696
702
|
threshold: number;
|
|
697
703
|
fingerprints: Record<string, {
|
|
@@ -712,18 +718,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
712
718
|
} | null | undefined;
|
|
713
719
|
specialistHome?: {
|
|
714
720
|
homeSlug: string;
|
|
721
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
715
722
|
path?: string | null | undefined;
|
|
716
723
|
machineId?: string | null | undefined;
|
|
717
724
|
happySessionId?: string | null | undefined;
|
|
718
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
719
725
|
flavor?: string | null | undefined;
|
|
720
726
|
} | null | undefined;
|
|
721
|
-
runtime?: {
|
|
722
|
-
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
723
|
-
reason?: string | null | undefined;
|
|
724
|
-
terminatedAt?: number | undefined;
|
|
725
|
-
reopenedAt?: number | undefined;
|
|
726
|
-
} | undefined;
|
|
727
727
|
activeOwner?: {
|
|
728
728
|
ownerAgentId: string;
|
|
729
729
|
ownerRunId: string;
|
|
@@ -757,10 +757,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
757
757
|
} | null | undefined;
|
|
758
758
|
specialistHome?: {
|
|
759
759
|
homeSlug: string;
|
|
760
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
760
761
|
path?: string | null | undefined;
|
|
761
762
|
machineId?: string | null | undefined;
|
|
762
763
|
happySessionId?: string | null | undefined;
|
|
763
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
764
764
|
flavor?: string | null | undefined;
|
|
765
765
|
} | null | undefined;
|
|
766
766
|
} | undefined;
|
|
@@ -795,14 +795,14 @@ declare const SessionRuntimeIndexSchema: z.ZodObject<{
|
|
|
795
795
|
lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
796
796
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
797
797
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
-
machineId?: string | null | undefined;
|
|
799
798
|
startedBy?: string | null | undefined;
|
|
799
|
+
machineId?: string | null | undefined;
|
|
800
800
|
flavor?: string | null | undefined;
|
|
801
801
|
hostPid?: number | null | undefined;
|
|
802
802
|
lifecycleState?: string | null | undefined;
|
|
803
803
|
}, {
|
|
804
|
-
machineId?: string | null | undefined;
|
|
805
804
|
startedBy?: string | null | undefined;
|
|
805
|
+
machineId?: string | null | undefined;
|
|
806
806
|
flavor?: string | null | undefined;
|
|
807
807
|
hostPid?: number | null | undefined;
|
|
808
808
|
lifecycleState?: string | null | undefined;
|
|
@@ -865,14 +865,14 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
865
865
|
lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
866
866
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
machineId?: string | null | undefined;
|
|
869
868
|
startedBy?: string | null | undefined;
|
|
869
|
+
machineId?: string | null | undefined;
|
|
870
870
|
flavor?: string | null | undefined;
|
|
871
871
|
hostPid?: number | null | undefined;
|
|
872
872
|
lifecycleState?: string | null | undefined;
|
|
873
873
|
}, {
|
|
874
|
-
machineId?: string | null | undefined;
|
|
875
874
|
startedBy?: string | null | undefined;
|
|
875
|
+
machineId?: string | null | undefined;
|
|
876
876
|
flavor?: string | null | undefined;
|
|
877
877
|
hostPid?: number | null | undefined;
|
|
878
878
|
lifecycleState?: string | null | undefined;
|
|
@@ -892,8 +892,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
892
892
|
dataEncryptionKey?: string | null | undefined;
|
|
893
893
|
activeAt?: number | undefined;
|
|
894
894
|
sessionIndex?: {
|
|
895
|
-
machineId?: string | null | undefined;
|
|
896
895
|
startedBy?: string | null | undefined;
|
|
896
|
+
machineId?: string | null | undefined;
|
|
897
897
|
flavor?: string | null | undefined;
|
|
898
898
|
hostPid?: number | null | undefined;
|
|
899
899
|
lifecycleState?: string | null | undefined;
|
|
@@ -913,8 +913,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
913
913
|
dataEncryptionKey?: string | null | undefined;
|
|
914
914
|
activeAt?: number | undefined;
|
|
915
915
|
sessionIndex?: {
|
|
916
|
-
machineId?: string | null | undefined;
|
|
917
916
|
startedBy?: string | null | undefined;
|
|
917
|
+
machineId?: string | null | undefined;
|
|
918
918
|
flavor?: string | null | undefined;
|
|
919
919
|
hostPid?: number | null | undefined;
|
|
920
920
|
lifecycleState?: string | null | undefined;
|
|
@@ -1031,14 +1031,14 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1031
1031
|
lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1032
1032
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1033
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1034
|
-
machineId?: string | null | undefined;
|
|
1035
1034
|
startedBy?: string | null | undefined;
|
|
1035
|
+
machineId?: string | null | undefined;
|
|
1036
1036
|
flavor?: string | null | undefined;
|
|
1037
1037
|
hostPid?: number | null | undefined;
|
|
1038
1038
|
lifecycleState?: string | null | undefined;
|
|
1039
1039
|
}, {
|
|
1040
|
-
machineId?: string | null | undefined;
|
|
1041
1040
|
startedBy?: string | null | undefined;
|
|
1041
|
+
machineId?: string | null | undefined;
|
|
1042
1042
|
flavor?: string | null | undefined;
|
|
1043
1043
|
hostPid?: number | null | undefined;
|
|
1044
1044
|
lifecycleState?: string | null | undefined;
|
|
@@ -1066,8 +1066,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1066
1066
|
version: number;
|
|
1067
1067
|
} | null | undefined;
|
|
1068
1068
|
sessionIndex?: {
|
|
1069
|
-
machineId?: string | null | undefined;
|
|
1070
1069
|
startedBy?: string | null | undefined;
|
|
1070
|
+
machineId?: string | null | undefined;
|
|
1071
1071
|
flavor?: string | null | undefined;
|
|
1072
1072
|
hostPid?: number | null | undefined;
|
|
1073
1073
|
lifecycleState?: string | null | undefined;
|
|
@@ -1087,8 +1087,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1087
1087
|
version: number;
|
|
1088
1088
|
} | null | undefined;
|
|
1089
1089
|
sessionIndex?: {
|
|
1090
|
-
machineId?: string | null | undefined;
|
|
1091
1090
|
startedBy?: string | null | undefined;
|
|
1091
|
+
machineId?: string | null | undefined;
|
|
1092
1092
|
flavor?: string | null | undefined;
|
|
1093
1093
|
hostPid?: number | null | undefined;
|
|
1094
1094
|
lifecycleState?: string | null | undefined;
|
|
@@ -1173,8 +1173,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1173
1173
|
dataEncryptionKey?: string | null | undefined;
|
|
1174
1174
|
activeAt?: number | undefined;
|
|
1175
1175
|
sessionIndex?: {
|
|
1176
|
-
machineId?: string | null | undefined;
|
|
1177
1176
|
startedBy?: string | null | undefined;
|
|
1177
|
+
machineId?: string | null | undefined;
|
|
1178
1178
|
flavor?: string | null | undefined;
|
|
1179
1179
|
hostPid?: number | null | undefined;
|
|
1180
1180
|
lifecycleState?: string | null | undefined;
|
|
@@ -1209,8 +1209,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1209
1209
|
version: number;
|
|
1210
1210
|
} | null | undefined;
|
|
1211
1211
|
sessionIndex?: {
|
|
1212
|
-
machineId?: string | null | undefined;
|
|
1213
1212
|
startedBy?: string | null | undefined;
|
|
1213
|
+
machineId?: string | null | undefined;
|
|
1214
1214
|
flavor?: string | null | undefined;
|
|
1215
1215
|
hostPid?: number | null | undefined;
|
|
1216
1216
|
lifecycleState?: string | null | undefined;
|
|
@@ -1252,8 +1252,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1252
1252
|
dataEncryptionKey?: string | null | undefined;
|
|
1253
1253
|
activeAt?: number | undefined;
|
|
1254
1254
|
sessionIndex?: {
|
|
1255
|
-
machineId?: string | null | undefined;
|
|
1256
1255
|
startedBy?: string | null | undefined;
|
|
1256
|
+
machineId?: string | null | undefined;
|
|
1257
1257
|
flavor?: string | null | undefined;
|
|
1258
1258
|
hostPid?: number | null | undefined;
|
|
1259
1259
|
lifecycleState?: string | null | undefined;
|
|
@@ -1288,8 +1288,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1288
1288
|
version: number;
|
|
1289
1289
|
} | null | undefined;
|
|
1290
1290
|
sessionIndex?: {
|
|
1291
|
-
machineId?: string | null | undefined;
|
|
1292
1291
|
startedBy?: string | null | undefined;
|
|
1292
|
+
machineId?: string | null | undefined;
|
|
1293
1293
|
flavor?: string | null | undefined;
|
|
1294
1294
|
hostPid?: number | null | undefined;
|
|
1295
1295
|
lifecycleState?: string | null | undefined;
|
|
@@ -1819,6 +1819,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1819
1819
|
payload: Record<string, unknown>;
|
|
1820
1820
|
}>, "many">;
|
|
1821
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1822
|
+
cursor: {
|
|
1823
|
+
lastChangeSeq: number;
|
|
1824
|
+
afterSeq: number;
|
|
1825
|
+
hasMore: boolean;
|
|
1826
|
+
};
|
|
1822
1827
|
protocol: {
|
|
1823
1828
|
protocolVersion: string;
|
|
1824
1829
|
capabilities: string[];
|
|
@@ -1845,11 +1850,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1845
1850
|
pendingVersion?: number | undefined;
|
|
1846
1851
|
deleted?: boolean | undefined;
|
|
1847
1852
|
};
|
|
1848
|
-
cursor: {
|
|
1849
|
-
lastChangeSeq: number;
|
|
1850
|
-
afterSeq: number;
|
|
1851
|
-
hasMore: boolean;
|
|
1852
|
-
};
|
|
1853
1853
|
changes: {
|
|
1854
1854
|
createdAt: number;
|
|
1855
1855
|
changeSeq: number;
|
|
@@ -1857,6 +1857,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1857
1857
|
payload: Record<string, unknown>;
|
|
1858
1858
|
}[];
|
|
1859
1859
|
}, {
|
|
1860
|
+
cursor: {
|
|
1861
|
+
lastChangeSeq: number;
|
|
1862
|
+
afterSeq: number;
|
|
1863
|
+
hasMore: boolean;
|
|
1864
|
+
};
|
|
1860
1865
|
protocol: {
|
|
1861
1866
|
protocolVersion: string;
|
|
1862
1867
|
capabilities: string[];
|
|
@@ -1883,11 +1888,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1883
1888
|
pendingVersion?: number | undefined;
|
|
1884
1889
|
deleted?: boolean | undefined;
|
|
1885
1890
|
};
|
|
1886
|
-
cursor: {
|
|
1887
|
-
lastChangeSeq: number;
|
|
1888
|
-
afterSeq: number;
|
|
1889
|
-
hasMore: boolean;
|
|
1890
|
-
};
|
|
1891
1891
|
changes: {
|
|
1892
1892
|
createdAt: number;
|
|
1893
1893
|
changeSeq: number;
|
package/dist/lib.d.mts
CHANGED
|
@@ -323,17 +323,17 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
|
|
|
323
323
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
325
|
homeSlug: string;
|
|
326
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
326
327
|
path?: string | null | undefined;
|
|
327
328
|
machineId?: string | null | undefined;
|
|
328
329
|
happySessionId?: string | null | undefined;
|
|
329
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
330
330
|
flavor?: string | null | undefined;
|
|
331
331
|
}, {
|
|
332
332
|
homeSlug: string;
|
|
333
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
333
334
|
path?: string | null | undefined;
|
|
334
335
|
machineId?: string | null | undefined;
|
|
335
336
|
happySessionId?: string | null | undefined;
|
|
336
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
337
337
|
flavor?: string | null | undefined;
|
|
338
338
|
}>>>;
|
|
339
339
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -355,10 +355,10 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
|
|
|
355
355
|
} | null | undefined;
|
|
356
356
|
specialistHome?: {
|
|
357
357
|
homeSlug: string;
|
|
358
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
358
359
|
path?: string | null | undefined;
|
|
359
360
|
machineId?: string | null | undefined;
|
|
360
361
|
happySessionId?: string | null | undefined;
|
|
361
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
362
362
|
flavor?: string | null | undefined;
|
|
363
363
|
} | null | undefined;
|
|
364
364
|
}, {
|
|
@@ -380,10 +380,10 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
|
|
|
380
380
|
} | null | undefined;
|
|
381
381
|
specialistHome?: {
|
|
382
382
|
homeSlug: string;
|
|
383
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
383
384
|
path?: string | null | undefined;
|
|
384
385
|
machineId?: string | null | undefined;
|
|
385
386
|
happySessionId?: string | null | undefined;
|
|
386
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
387
387
|
flavor?: string | null | undefined;
|
|
388
388
|
} | null | undefined;
|
|
389
389
|
}>;
|
|
@@ -481,17 +481,17 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
481
481
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
483
|
homeSlug: string;
|
|
484
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
484
485
|
path?: string | null | undefined;
|
|
485
486
|
machineId?: string | null | undefined;
|
|
486
487
|
happySessionId?: string | null | undefined;
|
|
487
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
488
488
|
flavor?: string | null | undefined;
|
|
489
489
|
}, {
|
|
490
490
|
homeSlug: string;
|
|
491
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
491
492
|
path?: string | null | undefined;
|
|
492
493
|
machineId?: string | null | undefined;
|
|
493
494
|
happySessionId?: string | null | undefined;
|
|
494
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
495
495
|
flavor?: string | null | undefined;
|
|
496
496
|
}>>>;
|
|
497
497
|
repeat: z.ZodOptional<z.ZodObject<{
|
|
@@ -554,17 +554,17 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
554
554
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
556
|
homeSlug: string;
|
|
557
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
557
558
|
path?: string | null | undefined;
|
|
558
559
|
machineId?: string | null | undefined;
|
|
559
560
|
happySessionId?: string | null | undefined;
|
|
560
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
561
561
|
flavor?: string | null | undefined;
|
|
562
562
|
}, {
|
|
563
563
|
homeSlug: string;
|
|
564
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
564
565
|
path?: string | null | undefined;
|
|
565
566
|
machineId?: string | null | undefined;
|
|
566
567
|
happySessionId?: string | null | undefined;
|
|
567
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
568
568
|
flavor?: string | null | undefined;
|
|
569
569
|
}>>>;
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -586,10 +586,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
586
586
|
} | null | undefined;
|
|
587
587
|
specialistHome?: {
|
|
588
588
|
homeSlug: string;
|
|
589
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
589
590
|
path?: string | null | undefined;
|
|
590
591
|
machineId?: string | null | undefined;
|
|
591
592
|
happySessionId?: string | null | undefined;
|
|
592
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
593
593
|
flavor?: string | null | undefined;
|
|
594
594
|
} | null | undefined;
|
|
595
595
|
}, {
|
|
@@ -611,14 +611,20 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
611
611
|
} | null | undefined;
|
|
612
612
|
specialistHome?: {
|
|
613
613
|
homeSlug: string;
|
|
614
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
614
615
|
path?: string | null | undefined;
|
|
615
616
|
machineId?: string | null | undefined;
|
|
616
617
|
happySessionId?: string | null | undefined;
|
|
617
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
618
618
|
flavor?: string | null | undefined;
|
|
619
619
|
} | null | undefined;
|
|
620
620
|
}>>;
|
|
621
621
|
}, "strip", z.ZodTypeAny, {
|
|
622
|
+
runtime?: {
|
|
623
|
+
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
624
|
+
reason?: string | null | undefined;
|
|
625
|
+
terminatedAt?: number | undefined;
|
|
626
|
+
reopenedAt?: number | undefined;
|
|
627
|
+
} | undefined;
|
|
622
628
|
repeat?: {
|
|
623
629
|
threshold: number;
|
|
624
630
|
fingerprints: Record<string, {
|
|
@@ -639,18 +645,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
639
645
|
} | null | undefined;
|
|
640
646
|
specialistHome?: {
|
|
641
647
|
homeSlug: string;
|
|
648
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
642
649
|
path?: string | null | undefined;
|
|
643
650
|
machineId?: string | null | undefined;
|
|
644
651
|
happySessionId?: string | null | undefined;
|
|
645
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
646
652
|
flavor?: string | null | undefined;
|
|
647
653
|
} | null | undefined;
|
|
648
|
-
runtime?: {
|
|
649
|
-
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
650
|
-
reason?: string | null | undefined;
|
|
651
|
-
terminatedAt?: number | undefined;
|
|
652
|
-
reopenedAt?: number | undefined;
|
|
653
|
-
} | undefined;
|
|
654
654
|
activeOwner?: {
|
|
655
655
|
ownerAgentId: string;
|
|
656
656
|
ownerRunId: string;
|
|
@@ -684,14 +684,20 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
684
684
|
} | null | undefined;
|
|
685
685
|
specialistHome?: {
|
|
686
686
|
homeSlug: string;
|
|
687
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
687
688
|
path?: string | null | undefined;
|
|
688
689
|
machineId?: string | null | undefined;
|
|
689
690
|
happySessionId?: string | null | undefined;
|
|
690
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
691
691
|
flavor?: string | null | undefined;
|
|
692
692
|
} | null | undefined;
|
|
693
693
|
} | undefined;
|
|
694
694
|
}, {
|
|
695
|
+
runtime?: {
|
|
696
|
+
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
697
|
+
reason?: string | null | undefined;
|
|
698
|
+
terminatedAt?: number | undefined;
|
|
699
|
+
reopenedAt?: number | undefined;
|
|
700
|
+
} | undefined;
|
|
695
701
|
repeat?: {
|
|
696
702
|
threshold: number;
|
|
697
703
|
fingerprints: Record<string, {
|
|
@@ -712,18 +718,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
712
718
|
} | null | undefined;
|
|
713
719
|
specialistHome?: {
|
|
714
720
|
homeSlug: string;
|
|
721
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
715
722
|
path?: string | null | undefined;
|
|
716
723
|
machineId?: string | null | undefined;
|
|
717
724
|
happySessionId?: string | null | undefined;
|
|
718
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
719
725
|
flavor?: string | null | undefined;
|
|
720
726
|
} | null | undefined;
|
|
721
|
-
runtime?: {
|
|
722
|
-
status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
|
|
723
|
-
reason?: string | null | undefined;
|
|
724
|
-
terminatedAt?: number | undefined;
|
|
725
|
-
reopenedAt?: number | undefined;
|
|
726
|
-
} | undefined;
|
|
727
727
|
activeOwner?: {
|
|
728
728
|
ownerAgentId: string;
|
|
729
729
|
ownerRunId: string;
|
|
@@ -757,10 +757,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
|
|
|
757
757
|
} | null | undefined;
|
|
758
758
|
specialistHome?: {
|
|
759
759
|
homeSlug: string;
|
|
760
|
+
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
760
761
|
path?: string | null | undefined;
|
|
761
762
|
machineId?: string | null | undefined;
|
|
762
763
|
happySessionId?: string | null | undefined;
|
|
763
|
-
startedBy?: "daemon" | "terminal" | null | undefined;
|
|
764
764
|
flavor?: string | null | undefined;
|
|
765
765
|
} | null | undefined;
|
|
766
766
|
} | undefined;
|
|
@@ -795,14 +795,14 @@ declare const SessionRuntimeIndexSchema: z.ZodObject<{
|
|
|
795
795
|
lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
796
796
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
797
797
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
-
machineId?: string | null | undefined;
|
|
799
798
|
startedBy?: string | null | undefined;
|
|
799
|
+
machineId?: string | null | undefined;
|
|
800
800
|
flavor?: string | null | undefined;
|
|
801
801
|
hostPid?: number | null | undefined;
|
|
802
802
|
lifecycleState?: string | null | undefined;
|
|
803
803
|
}, {
|
|
804
|
-
machineId?: string | null | undefined;
|
|
805
804
|
startedBy?: string | null | undefined;
|
|
805
|
+
machineId?: string | null | undefined;
|
|
806
806
|
flavor?: string | null | undefined;
|
|
807
807
|
hostPid?: number | null | undefined;
|
|
808
808
|
lifecycleState?: string | null | undefined;
|
|
@@ -865,14 +865,14 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
865
865
|
lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
866
866
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
machineId?: string | null | undefined;
|
|
869
868
|
startedBy?: string | null | undefined;
|
|
869
|
+
machineId?: string | null | undefined;
|
|
870
870
|
flavor?: string | null | undefined;
|
|
871
871
|
hostPid?: number | null | undefined;
|
|
872
872
|
lifecycleState?: string | null | undefined;
|
|
873
873
|
}, {
|
|
874
|
-
machineId?: string | null | undefined;
|
|
875
874
|
startedBy?: string | null | undefined;
|
|
875
|
+
machineId?: string | null | undefined;
|
|
876
876
|
flavor?: string | null | undefined;
|
|
877
877
|
hostPid?: number | null | undefined;
|
|
878
878
|
lifecycleState?: string | null | undefined;
|
|
@@ -892,8 +892,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
892
892
|
dataEncryptionKey?: string | null | undefined;
|
|
893
893
|
activeAt?: number | undefined;
|
|
894
894
|
sessionIndex?: {
|
|
895
|
-
machineId?: string | null | undefined;
|
|
896
895
|
startedBy?: string | null | undefined;
|
|
896
|
+
machineId?: string | null | undefined;
|
|
897
897
|
flavor?: string | null | undefined;
|
|
898
898
|
hostPid?: number | null | undefined;
|
|
899
899
|
lifecycleState?: string | null | undefined;
|
|
@@ -913,8 +913,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
913
913
|
dataEncryptionKey?: string | null | undefined;
|
|
914
914
|
activeAt?: number | undefined;
|
|
915
915
|
sessionIndex?: {
|
|
916
|
-
machineId?: string | null | undefined;
|
|
917
916
|
startedBy?: string | null | undefined;
|
|
917
|
+
machineId?: string | null | undefined;
|
|
918
918
|
flavor?: string | null | undefined;
|
|
919
919
|
hostPid?: number | null | undefined;
|
|
920
920
|
lifecycleState?: string | null | undefined;
|
|
@@ -1031,14 +1031,14 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1031
1031
|
lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1032
1032
|
flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1033
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1034
|
-
machineId?: string | null | undefined;
|
|
1035
1034
|
startedBy?: string | null | undefined;
|
|
1035
|
+
machineId?: string | null | undefined;
|
|
1036
1036
|
flavor?: string | null | undefined;
|
|
1037
1037
|
hostPid?: number | null | undefined;
|
|
1038
1038
|
lifecycleState?: string | null | undefined;
|
|
1039
1039
|
}, {
|
|
1040
|
-
machineId?: string | null | undefined;
|
|
1041
1040
|
startedBy?: string | null | undefined;
|
|
1041
|
+
machineId?: string | null | undefined;
|
|
1042
1042
|
flavor?: string | null | undefined;
|
|
1043
1043
|
hostPid?: number | null | undefined;
|
|
1044
1044
|
lifecycleState?: string | null | undefined;
|
|
@@ -1066,8 +1066,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1066
1066
|
version: number;
|
|
1067
1067
|
} | null | undefined;
|
|
1068
1068
|
sessionIndex?: {
|
|
1069
|
-
machineId?: string | null | undefined;
|
|
1070
1069
|
startedBy?: string | null | undefined;
|
|
1070
|
+
machineId?: string | null | undefined;
|
|
1071
1071
|
flavor?: string | null | undefined;
|
|
1072
1072
|
hostPid?: number | null | undefined;
|
|
1073
1073
|
lifecycleState?: string | null | undefined;
|
|
@@ -1087,8 +1087,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1087
1087
|
version: number;
|
|
1088
1088
|
} | null | undefined;
|
|
1089
1089
|
sessionIndex?: {
|
|
1090
|
-
machineId?: string | null | undefined;
|
|
1091
1090
|
startedBy?: string | null | undefined;
|
|
1091
|
+
machineId?: string | null | undefined;
|
|
1092
1092
|
flavor?: string | null | undefined;
|
|
1093
1093
|
hostPid?: number | null | undefined;
|
|
1094
1094
|
lifecycleState?: string | null | undefined;
|
|
@@ -1173,8 +1173,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1173
1173
|
dataEncryptionKey?: string | null | undefined;
|
|
1174
1174
|
activeAt?: number | undefined;
|
|
1175
1175
|
sessionIndex?: {
|
|
1176
|
-
machineId?: string | null | undefined;
|
|
1177
1176
|
startedBy?: string | null | undefined;
|
|
1177
|
+
machineId?: string | null | undefined;
|
|
1178
1178
|
flavor?: string | null | undefined;
|
|
1179
1179
|
hostPid?: number | null | undefined;
|
|
1180
1180
|
lifecycleState?: string | null | undefined;
|
|
@@ -1209,8 +1209,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1209
1209
|
version: number;
|
|
1210
1210
|
} | null | undefined;
|
|
1211
1211
|
sessionIndex?: {
|
|
1212
|
-
machineId?: string | null | undefined;
|
|
1213
1212
|
startedBy?: string | null | undefined;
|
|
1213
|
+
machineId?: string | null | undefined;
|
|
1214
1214
|
flavor?: string | null | undefined;
|
|
1215
1215
|
hostPid?: number | null | undefined;
|
|
1216
1216
|
lifecycleState?: string | null | undefined;
|
|
@@ -1252,8 +1252,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1252
1252
|
dataEncryptionKey?: string | null | undefined;
|
|
1253
1253
|
activeAt?: number | undefined;
|
|
1254
1254
|
sessionIndex?: {
|
|
1255
|
-
machineId?: string | null | undefined;
|
|
1256
1255
|
startedBy?: string | null | undefined;
|
|
1256
|
+
machineId?: string | null | undefined;
|
|
1257
1257
|
flavor?: string | null | undefined;
|
|
1258
1258
|
hostPid?: number | null | undefined;
|
|
1259
1259
|
lifecycleState?: string | null | undefined;
|
|
@@ -1288,8 +1288,8 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1288
1288
|
version: number;
|
|
1289
1289
|
} | null | undefined;
|
|
1290
1290
|
sessionIndex?: {
|
|
1291
|
-
machineId?: string | null | undefined;
|
|
1292
1291
|
startedBy?: string | null | undefined;
|
|
1292
|
+
machineId?: string | null | undefined;
|
|
1293
1293
|
flavor?: string | null | undefined;
|
|
1294
1294
|
hostPid?: number | null | undefined;
|
|
1295
1295
|
lifecycleState?: string | null | undefined;
|
|
@@ -1819,6 +1819,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1819
1819
|
payload: Record<string, unknown>;
|
|
1820
1820
|
}>, "many">;
|
|
1821
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1822
|
+
cursor: {
|
|
1823
|
+
lastChangeSeq: number;
|
|
1824
|
+
afterSeq: number;
|
|
1825
|
+
hasMore: boolean;
|
|
1826
|
+
};
|
|
1822
1827
|
protocol: {
|
|
1823
1828
|
protocolVersion: string;
|
|
1824
1829
|
capabilities: string[];
|
|
@@ -1845,11 +1850,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1845
1850
|
pendingVersion?: number | undefined;
|
|
1846
1851
|
deleted?: boolean | undefined;
|
|
1847
1852
|
};
|
|
1848
|
-
cursor: {
|
|
1849
|
-
lastChangeSeq: number;
|
|
1850
|
-
afterSeq: number;
|
|
1851
|
-
hasMore: boolean;
|
|
1852
|
-
};
|
|
1853
1853
|
changes: {
|
|
1854
1854
|
createdAt: number;
|
|
1855
1855
|
changeSeq: number;
|
|
@@ -1857,6 +1857,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1857
1857
|
payload: Record<string, unknown>;
|
|
1858
1858
|
}[];
|
|
1859
1859
|
}, {
|
|
1860
|
+
cursor: {
|
|
1861
|
+
lastChangeSeq: number;
|
|
1862
|
+
afterSeq: number;
|
|
1863
|
+
hasMore: boolean;
|
|
1864
|
+
};
|
|
1860
1865
|
protocol: {
|
|
1861
1866
|
protocolVersion: string;
|
|
1862
1867
|
capabilities: string[];
|
|
@@ -1883,11 +1888,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
1883
1888
|
pendingVersion?: number | undefined;
|
|
1884
1889
|
deleted?: boolean | undefined;
|
|
1885
1890
|
};
|
|
1886
|
-
cursor: {
|
|
1887
|
-
lastChangeSeq: number;
|
|
1888
|
-
afterSeq: number;
|
|
1889
|
-
hasMore: boolean;
|
|
1890
|
-
};
|
|
1891
1891
|
changes: {
|
|
1892
1892
|
createdAt: number;
|
|
1893
1893
|
changeSeq: number;
|
package/dist/lib.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ApiClient, a as ApiSessionClient, c as configuration, l as logger } from './api-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient, c as configuration, l as logger } from './api-CDC4ZRT7.mjs';
|
|
2
2
|
export { R as RawJSONLinesSchema } from './types-CiliQpqS.mjs';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import 'chalk';
|
package/dist/{registerKillSessionHandler-CuP57vY0.cjs → registerKillSessionHandler-3f8MBSd6.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var persistence = require('./api-
|
|
3
|
+
var index = require('./index-yX0QThPc.cjs');
|
|
4
|
+
var persistence = require('./api-CusZs0lm.cjs');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
6
|
var path = require('node:path');
|
|
7
7
|
var crypto = require('crypto');
|
package/dist/{registerKillSessionHandler-BtPo6LkG.mjs → registerKillSessionHandler-aB2llDD3.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as initialMachineMetadata, R as RuntimeShell, l as resolveCanonicalToolNameV2, f as formatDisplayMessage } from './index-
|
|
2
|
-
import { r as readSettings, H as HAPPY_ORG_TURN_REPORT_TAG, d as HAPPY_ORG_SUMMARY_MAX_LENGTH, e as HAPPY_ORG_REPEAT_THRESHOLD, l as logger } from './api-
|
|
1
|
+
import { k as initialMachineMetadata, R as RuntimeShell, l as resolveCanonicalToolNameV2, f as formatDisplayMessage } from './index-CFLvb1x1.mjs';
|
|
2
|
+
import { r as readSettings, H as HAPPY_ORG_TURN_REPORT_TAG, d as HAPPY_ORG_SUMMARY_MAX_LENGTH, e as HAPPY_ORG_REPEAT_THRESHOLD, l as logger } from './api-CDC4ZRT7.mjs';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
import { createHash } from 'crypto';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_crypto = require('node:crypto');
|
|
4
|
-
var persistence = require('./api-
|
|
4
|
+
var persistence = require('./api-CusZs0lm.cjs');
|
|
5
5
|
require('cross-spawn');
|
|
6
6
|
require('@agentclientprotocol/sdk');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-yX0QThPc.cjs');
|
|
8
8
|
require('ps-list');
|
|
9
9
|
require('fs');
|
|
10
10
|
require('path');
|
|
@@ -25,9 +25,9 @@ require('tweetnacl');
|
|
|
25
25
|
require('open');
|
|
26
26
|
var React = require('react');
|
|
27
27
|
var ink = require('ink');
|
|
28
|
-
var ProviderSelectionHandler = require('./ProviderSelectionHandler-
|
|
28
|
+
var ProviderSelectionHandler = require('./ProviderSelectionHandler-BSzm8oJH.cjs');
|
|
29
29
|
var types = require('./types-DVk3crez.cjs');
|
|
30
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
30
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-3f8MBSd6.cjs');
|
|
31
31
|
require('socket.io-client');
|
|
32
32
|
require('expo-server-sdk');
|
|
33
33
|
var node_util = require('node:util');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { randomUUID } from 'node:crypto';
|
|
2
|
-
import { l as logger, f as backoff, g as delay, h as AsyncLock, c as configuration, s as startOfflineReconnection, b as connectionState, A as ApiClient, i as isAuthenticationRequiredError } from './api-
|
|
2
|
+
import { l as logger, f as backoff, g as delay, h as AsyncLock, c as configuration, s as startOfflineReconnection, b as connectionState, A as ApiClient, i as isAuthenticationRequiredError } from './api-CDC4ZRT7.mjs';
|
|
3
3
|
import 'cross-spawn';
|
|
4
4
|
import '@agentclientprotocol/sdk';
|
|
5
|
-
import { m as getProjectPath, F as Future, n as claudeLocal, E as ExitCodeError, o as trimIdent, q as createClaudeBackend, f as formatDisplayMessage, t as truncateDisplayMessage, u as claudeCheckSession, w as projectPath, x as mapToClaudeMode, P as PushableAsyncIterable, y as query, A as AbortError, e as stopCaffeinate, p as publishSessionRegistration, z as getEnvironmentInfo, a as createSessionMetadata, B as startCaffeinate, b as closeProviderSession } from './index-
|
|
5
|
+
import { m as getProjectPath, F as Future, n as claudeLocal, E as ExitCodeError, o as trimIdent, q as createClaudeBackend, f as formatDisplayMessage, t as truncateDisplayMessage, u as claudeCheckSession, w as projectPath, x as mapToClaudeMode, P as PushableAsyncIterable, y as query, A as AbortError, e as stopCaffeinate, p as publishSessionRegistration, z as getEnvironmentInfo, a as createSessionMetadata, B as startCaffeinate, b as closeProviderSession } from './index-CFLvb1x1.mjs';
|
|
6
6
|
import 'ps-list';
|
|
7
7
|
import 'fs';
|
|
8
8
|
import 'path';
|
|
@@ -23,9 +23,9 @@ import 'tweetnacl';
|
|
|
23
23
|
import 'open';
|
|
24
24
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
25
25
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
26
|
-
import { c as createKeepAliveController, P as ProviderSelectionHandler, r as runModeLoop } from './ProviderSelectionHandler-
|
|
26
|
+
import { c as createKeepAliveController, P as ProviderSelectionHandler, r as runModeLoop } from './ProviderSelectionHandler-XwkBLKvY.mjs';
|
|
27
27
|
import { R as RawJSONLinesSchema } from './types-CiliQpqS.mjs';
|
|
28
|
-
import { B as BasePermissionHandler, d as MessageBuffer, C as ConversationHistory$1, f as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, i as finalizeHappyOrgTurnWithBusinessAck, l as launchRuntimeHandleWithFactoryResult, k as forwardAgentMessageToProviderSession, s as syncControlledByUserState, r as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, M as MissingMachineIdError, b as MessageQueue2, h as hashObject, c as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
28
|
+
import { B as BasePermissionHandler, d as MessageBuffer, C as ConversationHistory$1, f as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, i as finalizeHappyOrgTurnWithBusinessAck, l as launchRuntimeHandleWithFactoryResult, k as forwardAgentMessageToProviderSession, s as syncControlledByUserState, r as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, M as MissingMachineIdError, b as MessageQueue2, h as hashObject, c as registerKillSessionHandler } from './registerKillSessionHandler-aB2llDD3.mjs';
|
|
29
29
|
import 'socket.io-client';
|
|
30
30
|
import 'expo-server-sdk';
|
|
31
31
|
import { isDeepStrictEqual } from 'node:util';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./api-
|
|
4
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
5
|
-
var index = require('./index-
|
|
3
|
+
var persistence = require('./api-CusZs0lm.cjs');
|
|
4
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-3f8MBSd6.cjs');
|
|
5
|
+
var index = require('./index-yX0QThPc.cjs');
|
|
6
6
|
require('cross-spawn');
|
|
7
7
|
require('@agentclientprotocol/sdk');
|
|
8
8
|
var node_crypto = require('node:crypto');
|
|
@@ -26,8 +26,8 @@ require('tweetnacl');
|
|
|
26
26
|
require('open');
|
|
27
27
|
var React = require('react');
|
|
28
28
|
var ink = require('ink');
|
|
29
|
-
var ProviderSelectionHandler = require('./ProviderSelectionHandler-
|
|
30
|
-
var BaseReasoningProcessor = require('./BaseReasoningProcessor-
|
|
29
|
+
var ProviderSelectionHandler = require('./ProviderSelectionHandler-BSzm8oJH.cjs');
|
|
30
|
+
var BaseReasoningProcessor = require('./BaseReasoningProcessor-_EHQVXKN.cjs');
|
|
31
31
|
require('zod');
|
|
32
32
|
require('socket.io-client');
|
|
33
33
|
require('expo-server-sdk');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as preserveSessionRuntimeMetadata, l as logger, b as connectionState, A as ApiClient } from './api-
|
|
2
|
-
import { B as BasePermissionHandler, h as hashObject, d as MessageBuffer, C as ConversationHistory$1, f as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, i as finalizeHappyOrgTurnWithBusinessAck, c as registerKillSessionHandler, l as launchRuntimeHandleWithFactoryResult, j as inferToolResultError, k as forwardAgentMessageToProviderSession, e as ensureManagedProviderMachine, M as MissingMachineIdError, b as MessageQueue2, r as resolveHappyOrgQueuedTurn, s as syncControlledByUserState } from './registerKillSessionHandler-
|
|
3
|
-
import { f as formatDisplayMessage, v as validateCodexAcpSpawn, h as createCodexBackend, t as truncateDisplayMessage, b as closeProviderSession, e as stopCaffeinate, i as readManagedSessionTag, j as resolveManagedSessionTag } from './index-
|
|
1
|
+
import { p as preserveSessionRuntimeMetadata, l as logger, b as connectionState, A as ApiClient } from './api-CDC4ZRT7.mjs';
|
|
2
|
+
import { B as BasePermissionHandler, h as hashObject, d as MessageBuffer, C as ConversationHistory$1, f as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, i as finalizeHappyOrgTurnWithBusinessAck, c as registerKillSessionHandler, l as launchRuntimeHandleWithFactoryResult, j as inferToolResultError, k as forwardAgentMessageToProviderSession, e as ensureManagedProviderMachine, M as MissingMachineIdError, b as MessageQueue2, r as resolveHappyOrgQueuedTurn, s as syncControlledByUserState } from './registerKillSessionHandler-aB2llDD3.mjs';
|
|
3
|
+
import { f as formatDisplayMessage, v as validateCodexAcpSpawn, h as createCodexBackend, t as truncateDisplayMessage, b as closeProviderSession, e as stopCaffeinate, i as readManagedSessionTag, j as resolveManagedSessionTag } from './index-CFLvb1x1.mjs';
|
|
4
4
|
import 'cross-spawn';
|
|
5
5
|
import '@agentclientprotocol/sdk';
|
|
6
6
|
import { randomUUID } from 'node:crypto';
|
|
@@ -24,8 +24,8 @@ import 'tweetnacl';
|
|
|
24
24
|
import 'open';
|
|
25
25
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
26
26
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
27
|
-
import { c as createKeepAliveController, P as ProviderSelectionHandler, r as runModeLoop } from './ProviderSelectionHandler-
|
|
28
|
-
import { B as BaseReasoningProcessor, b as bootstrapManagedProviderSession } from './BaseReasoningProcessor-
|
|
27
|
+
import { c as createKeepAliveController, P as ProviderSelectionHandler, r as runModeLoop } from './ProviderSelectionHandler-XwkBLKvY.mjs';
|
|
28
|
+
import { B as BaseReasoningProcessor, b as bootstrapManagedProviderSession } from './BaseReasoningProcessor-By0QiYEu.mjs';
|
|
29
29
|
import 'zod';
|
|
30
30
|
import 'socket.io-client';
|
|
31
31
|
import 'expo-server-sdk';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
2
2
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import { l as logger, b as connectionState, A as ApiClient } from './api-
|
|
5
|
-
import { B as BasePermissionHandler, C as ConversationHistory$1, r as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, M as MissingMachineIdError, s as syncControlledByUserState, b as MessageQueue2, h as hashObject, c as registerKillSessionHandler, d as MessageBuffer, f as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, i as finalizeHappyOrgTurnWithBusinessAck, l as launchRuntimeHandleWithFactoryResult, j as inferToolResultError, k as forwardAgentMessageToProviderSession } from './registerKillSessionHandler-
|
|
6
|
-
import { g as getInitialGeminiModel, r as readGeminiLocalConfig, G as GEMINI_MODEL_ENV, b as closeProviderSession, s as saveGeminiModelToConfig, d as createGeminiBackend, e as stopCaffeinate } from './index-
|
|
7
|
-
import { B as BaseReasoningProcessor, b as bootstrapManagedProviderSession } from './BaseReasoningProcessor-
|
|
4
|
+
import { l as logger, b as connectionState, A as ApiClient } from './api-CDC4ZRT7.mjs';
|
|
5
|
+
import { B as BasePermissionHandler, C as ConversationHistory$1, r as resolveHappyOrgQueuedTurn, e as ensureManagedProviderMachine, M as MissingMachineIdError, s as syncControlledByUserState, b as MessageQueue2, h as hashObject, c as registerKillSessionHandler, d as MessageBuffer, f as buildHappyOrgTurnPrompt, w as waitForResponseCompleteWithAbort, i as finalizeHappyOrgTurnWithBusinessAck, l as launchRuntimeHandleWithFactoryResult, j as inferToolResultError, k as forwardAgentMessageToProviderSession } from './registerKillSessionHandler-aB2llDD3.mjs';
|
|
6
|
+
import { g as getInitialGeminiModel, r as readGeminiLocalConfig, G as GEMINI_MODEL_ENV, b as closeProviderSession, s as saveGeminiModelToConfig, d as createGeminiBackend, e as stopCaffeinate } from './index-CFLvb1x1.mjs';
|
|
7
|
+
import { B as BaseReasoningProcessor, b as bootstrapManagedProviderSession } from './BaseReasoningProcessor-By0QiYEu.mjs';
|
|
8
8
|
import 'cross-spawn';
|
|
9
9
|
import '@agentclientprotocol/sdk';
|
|
10
10
|
import 'ps-list';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var ink = require('ink');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var persistence = require('./api-
|
|
7
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var BaseReasoningProcessor = require('./BaseReasoningProcessor-
|
|
6
|
+
var persistence = require('./api-CusZs0lm.cjs');
|
|
7
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-3f8MBSd6.cjs');
|
|
8
|
+
var index = require('./index-yX0QThPc.cjs');
|
|
9
|
+
var BaseReasoningProcessor = require('./BaseReasoningProcessor-_EHQVXKN.cjs');
|
|
10
10
|
require('cross-spawn');
|
|
11
11
|
require('@agentclientprotocol/sdk');
|
|
12
12
|
require('ps-list');
|