@zonease/happy 0.6.56 → 0.6.57
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/{api-9wvM_aF-.mjs → api-CKGCwsUf.mjs} +38 -3
- package/dist/{api-BGc484qf.cjs → api-jNSgtz8Y.cjs} +42 -3
- package/dist/{auth-B6vskzfm.cjs → auth-BUQLBefw.cjs} +2 -2
- package/dist/{auth-BnEa31tI.mjs → auth-CFcrX0sP.mjs} +2 -2
- package/dist/{auth-CPfJalJM.cjs → auth-CsU0d6gM.cjs} +4 -4
- package/dist/{auth-DqAM-lIh.mjs → auth-ZUnqSqKY.mjs} +4 -4
- package/dist/{browser-CnxzD1lA.cjs → browser-BA-Yc9JO.cjs} +1 -1
- package/dist/{browser-CkQP96Zi.mjs → browser-eziH4OAA.mjs} +1 -1
- package/dist/{claudeLocal-B5uxtoit.mjs → claudeLocal-CBalcsEQ.mjs} +1 -1
- package/dist/{claudeLocal-CV4fT0Gg.cjs → claudeLocal-FQ_thOHX.cjs} +1 -1
- package/dist/{config-C__p7EWC.cjs → config-CECX_zGu.cjs} +1 -1
- package/dist/{config-C9hdBdfj.mjs → config-DaQJWbRZ.mjs} +1 -1
- package/dist/{connect-DQjpjfYn.cjs → connect-Bs0ChOpi.cjs} +4 -4
- package/dist/{connect-BeORCRXq.mjs → connect-DDKq78R-.mjs} +4 -4
- package/dist/{controlClient-DWBW6jRF.cjs → controlClient-B70-61t0.cjs} +1 -1
- package/dist/{controlClient-VY0CGL8k.mjs → controlClient-jullf1ow.mjs} +1 -1
- package/dist/{cursorApprovalHook-BuDSRM-6.cjs → cursorApprovalHook-Czq1DjVU.cjs} +2 -2
- package/dist/{cursorApprovalHook-D_8btpsY.mjs → cursorApprovalHook-O8j9S8An.mjs} +2 -2
- package/dist/{cursorApprovalServer-j9RphnEG.cjs → cursorApprovalServer-Cqsy8ohH.cjs} +1 -1
- package/dist/{cursorApprovalServer-BOUd2-Fg.mjs → cursorApprovalServer-nbHwu4ru.mjs} +1 -1
- package/dist/{deviceKeys-c_sN01Mm.cjs → deviceKeys-YeZD2zQo.cjs} +2 -2
- package/dist/{deviceKeys-DvfaTff3.mjs → deviceKeys-su95gdc-.mjs} +2 -2
- package/dist/{doctor-DQtQbfG-.mjs → doctor-Brqp2e3O.mjs} +2 -2
- package/dist/{doctor-CD46A-_Y.cjs → doctor-DbfxSKDV.cjs} +2 -2
- package/dist/{downloadImage-DGdHCFi3.cjs → downloadImage-CyrKKnfC.cjs} +1 -1
- package/dist/{downloadImage-B6A4x8Jw.mjs → downloadImage-K-xFB9jG.mjs} +1 -1
- package/dist/{enroll-D9CEuRI_.cjs → enroll-CMH2pLy0.cjs} +3 -3
- package/dist/{enroll-CyHWNKNt.mjs → enroll-Ck7f6V22.mjs} +3 -3
- package/dist/{evidence-BuYebdrN.mjs → evidence-CMz-atyb.mjs} +1 -1
- package/dist/{evidence-CCrpzsTA.cjs → evidence-yOULEvRk.cjs} +1 -1
- package/dist/{formatImageMessage-DttKW75w.cjs → formatImageMessage-DSsQTvO3.cjs} +1 -1
- package/dist/{formatImageMessage-5qaaT_Wq.mjs → formatImageMessage-tdlJeRPD.mjs} +1 -1
- package/dist/index.cjs +46 -46
- package/dist/index.mjs +46 -46
- package/dist/{install-1Y6dAcMp.mjs → install-BL0173KN.mjs} +1 -1
- package/dist/{install-B0hT_tLv.cjs → install-BNR9inWv.cjs} +2 -2
- package/dist/{install-eIXFuZbC.mjs → install-CpTmSd4l.mjs} +2 -2
- package/dist/{install-C4cwObCN.cjs → install-DKZjMcR2.cjs} +1 -1
- package/dist/lib.cjs +3 -3
- package/dist/lib.d.cts +10 -0
- package/dist/lib.d.mts +10 -0
- package/dist/lib.mjs +3 -3
- package/dist/{loadableToolOutput-BKDTnyoF.mjs → loadableToolOutput-BRRL6yS-.mjs} +2 -2
- package/dist/{loadableToolOutput-Cb-18__b.cjs → loadableToolOutput-BxFrugLw.cjs} +2 -2
- package/dist/{persistence-IdEuIeMz.mjs → persistence-BirvtFep.mjs} +2 -2
- package/dist/{persistence-CNXsXPLm.cjs → persistence-DoY9jKDN.cjs} +1 -1
- package/dist/{push-tXs96IyG.mjs → push-B325YQUT.mjs} +6 -6
- package/dist/{push-XL6Sb0Vw.cjs → push-teAS18QK.cjs} +6 -6
- package/dist/{registerKillSessionHandler-D9tmPdw5.cjs → registerKillSessionHandler-CEvWEzOm.cjs} +3 -3
- package/dist/{registerKillSessionHandler-vF5c8YZF.mjs → registerKillSessionHandler-CTSkaRVu.mjs} +3 -3
- package/dist/{run-BKfeeheJ.cjs → run-D38D-G8z.cjs} +167 -8
- package/dist/{run-BvpCwXkt.mjs → run-DNfj0j_h.mjs} +167 -8
- package/dist/{runClaude-BiVqZQOm.mjs → runClaude-C54Y-vby.mjs} +19 -18
- package/dist/{runClaude-DDsG7eMR.cjs → runClaude-ChIbxtFs.cjs} +20 -19
- package/dist/{runCodex-C-8SvnpP.mjs → runCodex-Bt6DgaY6.mjs} +18 -17
- package/dist/{runCodex-Bh519-dW.cjs → runCodex-DKL7LL-d.cjs} +18 -17
- package/dist/{runCursor-CYbvOqUa.cjs → runCursor-CzBFzit8.cjs} +18 -17
- package/dist/{runCursor-3AFNF0y2.mjs → runCursor-_ZZmpyjD.mjs} +18 -17
- package/dist/{runGemini-ExHXGZBY.cjs → runGemini-B2IY0bg7.cjs} +20 -19
- package/dist/{runGemini-Dh2JRfOJ.mjs → runGemini-COkJ59pz.mjs} +20 -19
- package/dist/{runOneShot-CVcw-K0_.mjs → runOneShot-Bt5mWMh4.mjs} +2 -2
- package/dist/{runOneShot-CEVKtkx_.cjs → runOneShot-DApUG4Jw.cjs} +2 -2
- package/dist/{serve-C4dOQ0jP.mjs → serve-CzQSwmyU.mjs} +7 -6
- package/dist/{serve-D0IhhySV.cjs → serve-rMs5fvxH.cjs} +7 -6
- package/dist/{session-DK9eudJT.cjs → session-C9z-9F__.cjs} +6 -5
- package/dist/{session-CwMxRPXS.mjs → session-CJu83tzU.mjs} +6 -5
- package/dist/sessionDecrypt-DlajL7Fn.cjs +66 -0
- package/dist/sessionDecrypt-R6Ee4mFr.mjs +64 -0
- package/dist/{sessionKeyCache-JjjYAxdf.cjs → sessionKeyCache-CRINEKrH.cjs} +1 -1
- package/dist/{sessionKeyCache-DDzTs7E5.mjs → sessionKeyCache-Ci9NA8Nn.mjs} +1 -1
- package/dist/{sessionList-IYAtPIev.mjs → sessionList-Bh8eF10P.mjs} +2 -2
- package/dist/{sessionList-DZmmAP3q.cjs → sessionList-DXPTa2ix.cjs} +3 -3
- package/dist/{sessionSummary-CQQyTHRC.mjs → sessionSummary-CcdMMHfv.mjs} +3 -63
- package/dist/{sessionSummary-CsIfkyZA.cjs → sessionSummary-Cs-_4S3j.cjs} +3 -64
- package/dist/{setupOfflineReconnection-DwtIEUeJ.cjs → setupOfflineReconnection-BmbFrBPc.cjs} +3 -3
- package/dist/{setupOfflineReconnection-C1yzDMt6.mjs → setupOfflineReconnection-DV3FASIY.mjs} +3 -3
- package/dist/{spawnHappyCLI-DlTg87jS.mjs → spawnHappyCLI-CSkTkB4n.mjs} +1 -1
- package/dist/{spawnHappyCLI-BbMkZhMk.cjs → spawnHappyCLI-CilqRN5U.cjs} +1 -1
- package/dist/{ssh-DSVjanff.mjs → ssh-CgYdGAzd.mjs} +5 -5
- package/dist/{ssh-D31o750w.cjs → ssh-CrxTSwPb.cjs} +5 -5
- package/dist/{task-D9ZjWCcw.mjs → task-BJro3dR3.mjs} +7 -6
- package/dist/{task--Apxd9oF.cjs → task-GLv6BSQA.cjs} +7 -6
- package/dist/{uninstall-Bo2uaLRP.mjs → uninstall-CKmjUaMr.mjs} +2 -2
- package/dist/{uninstall-CZJcoC06.cjs → uninstall-CyoWDMHw.cjs} +2 -2
- package/dist/{update-D-bTjP2k.cjs → update-AqCJSfVL.cjs} +3 -3
- package/dist/{update-BiV4YqG3.mjs → update-BxE93-s7.mjs} +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import axios from 'axios';
|
|
2
|
-
import { l as logger, c as configuration, e as encodeBase64, f as encrypt, g as decrypt, h as decodeBase64, i as isDebug, B as encryptLegacy, a as readSettings, C as getRandomBytes, D as libsodiumEncryptForPublicKey } from './persistence-
|
|
2
|
+
import { l as logger, c as configuration, e as encodeBase64, f as encrypt, g as decrypt, h as decodeBase64, i as isDebug, B as encryptLegacy, a as readSettings, C as getRandomBytes, D as libsodiumEncryptForPublicKey } from './persistence-BirvtFep.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { io } from 'socket.io-client';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -24,7 +24,7 @@ import { randomUUID as randomUUID$1 } from 'crypto';
|
|
|
24
24
|
import tweetnacl from 'tweetnacl';
|
|
25
25
|
import { encode, decode } from '@stablelib/base64';
|
|
26
26
|
import { Expo } from 'expo-server-sdk';
|
|
27
|
-
import { c as cacheSessionKey } from './sessionKeyCache-
|
|
27
|
+
import { c as cacheSessionKey } from './sessionKeyCache-Ci9NA8Nn.mjs';
|
|
28
28
|
import chalk from 'chalk';
|
|
29
29
|
|
|
30
30
|
z.object({
|
|
@@ -7452,6 +7452,41 @@ class ApiClient {
|
|
|
7452
7452
|
return [];
|
|
7453
7453
|
}
|
|
7454
7454
|
}
|
|
7455
|
+
/**
|
|
7456
|
+
* Sessions whose row changed since `sinceMs`, newest change last (server
|
|
7457
|
+
* caps at 500). Rows come back encrypted; see decryptSessionRow.
|
|
7458
|
+
*/
|
|
7459
|
+
async listSessionsUpdatedSince(sinceMs) {
|
|
7460
|
+
const response = await axios.get(
|
|
7461
|
+
`${configuration.serverUrl}/v1/sessions`,
|
|
7462
|
+
{
|
|
7463
|
+
params: { since: sinceMs },
|
|
7464
|
+
headers: { "Authorization": `Bearer ${this.credential.token}` },
|
|
7465
|
+
timeout: 2e4
|
|
7466
|
+
}
|
|
7467
|
+
);
|
|
7468
|
+
return Array.isArray(response.data?.sessions) ? response.data.sessions : [];
|
|
7469
|
+
}
|
|
7470
|
+
/**
|
|
7471
|
+
* Mark a session inactive on the server. For sessions whose process is
|
|
7472
|
+
* gone and so will never send session-end itself.
|
|
7473
|
+
*/
|
|
7474
|
+
async archiveSession(sessionId) {
|
|
7475
|
+
try {
|
|
7476
|
+
const response = await axios.post(
|
|
7477
|
+
`${configuration.serverUrl}/v1/sessions/${sessionId}/archive`,
|
|
7478
|
+
{},
|
|
7479
|
+
{
|
|
7480
|
+
headers: { "Authorization": `Bearer ${this.credential.token}` },
|
|
7481
|
+
timeout: 1e4
|
|
7482
|
+
}
|
|
7483
|
+
);
|
|
7484
|
+
return response.status === 200 && response.data?.success === true;
|
|
7485
|
+
} catch (err) {
|
|
7486
|
+
logger.debug("[API] archiveSession failed:", err);
|
|
7487
|
+
return false;
|
|
7488
|
+
}
|
|
7489
|
+
}
|
|
7455
7490
|
/**
|
|
7456
7491
|
* Get vendor API token from the server
|
|
7457
7492
|
* Returns the token if it exists, null otherwise
|
|
@@ -7528,4 +7563,4 @@ var api = /*#__PURE__*/Object.freeze({
|
|
|
7528
7563
|
ApiClient: ApiClient
|
|
7529
7564
|
});
|
|
7530
7565
|
|
|
7531
|
-
export { ApiClient as A, GeminiSessionWriter as G, InvalidateSync as I, ApiSessionClient as a, startOfflineReconnection as b,
|
|
7566
|
+
export { ApiClient as A, GeminiSessionWriter as G, InvalidateSync as I, ApiSessionClient as a, startOfflineReconnection as b, forkGeminiSession as c, forkCodexSession as d, findClaudeProjectId as e, forkCursorSession as f, forkSession as g, saveDiffRecords as h, extractUserText as i, isSystemMessage as j, generateStableUuid as k, findCodexSessionFile as l, connectionState as m, readGeminiSessionLog as n, buildResumeContextFromSessionLog as o, AsyncLock as p, api as q, resolveToolsDir as r, saveToolOutputRecord as s };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var axios = require('axios');
|
|
4
|
-
var logger = require('./persistence-
|
|
4
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
var socket_ioClient = require('socket.io-client');
|
|
7
7
|
var z = require('zod');
|
|
@@ -26,7 +26,7 @@ var crypto = require('crypto');
|
|
|
26
26
|
var tweetnacl = require('tweetnacl');
|
|
27
27
|
var base64 = require('@stablelib/base64');
|
|
28
28
|
var expoServerSdk = require('expo-server-sdk');
|
|
29
|
-
var sessionKeyCache = require('./sessionKeyCache-
|
|
29
|
+
var sessionKeyCache = require('./sessionKeyCache-CRINEKrH.cjs');
|
|
30
30
|
var chalk = require('chalk');
|
|
31
31
|
|
|
32
32
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -1407,7 +1407,7 @@ function resolveToolsDir() {
|
|
|
1407
1407
|
}
|
|
1408
1408
|
function findToolsDir() {
|
|
1409
1409
|
try {
|
|
1410
|
-
const manifest = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('api-
|
|
1410
|
+
const manifest = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('api-jNSgtz8Y.cjs', document.baseURI).href))).resolve(`${toolsPackageName()}/package.json`);
|
|
1411
1411
|
return path.dirname(manifest);
|
|
1412
1412
|
} catch {
|
|
1413
1413
|
}
|
|
@@ -7455,6 +7455,41 @@ class ApiClient {
|
|
|
7455
7455
|
return [];
|
|
7456
7456
|
}
|
|
7457
7457
|
}
|
|
7458
|
+
/**
|
|
7459
|
+
* Sessions whose row changed since `sinceMs`, newest change last (server
|
|
7460
|
+
* caps at 500). Rows come back encrypted; see decryptSessionRow.
|
|
7461
|
+
*/
|
|
7462
|
+
async listSessionsUpdatedSince(sinceMs) {
|
|
7463
|
+
const response = await axios.get(
|
|
7464
|
+
`${logger.configuration.serverUrl}/v1/sessions`,
|
|
7465
|
+
{
|
|
7466
|
+
params: { since: sinceMs },
|
|
7467
|
+
headers: { "Authorization": `Bearer ${this.credential.token}` },
|
|
7468
|
+
timeout: 2e4
|
|
7469
|
+
}
|
|
7470
|
+
);
|
|
7471
|
+
return Array.isArray(response.data?.sessions) ? response.data.sessions : [];
|
|
7472
|
+
}
|
|
7473
|
+
/**
|
|
7474
|
+
* Mark a session inactive on the server. For sessions whose process is
|
|
7475
|
+
* gone and so will never send session-end itself.
|
|
7476
|
+
*/
|
|
7477
|
+
async archiveSession(sessionId) {
|
|
7478
|
+
try {
|
|
7479
|
+
const response = await axios.post(
|
|
7480
|
+
`${logger.configuration.serverUrl}/v1/sessions/${sessionId}/archive`,
|
|
7481
|
+
{},
|
|
7482
|
+
{
|
|
7483
|
+
headers: { "Authorization": `Bearer ${this.credential.token}` },
|
|
7484
|
+
timeout: 1e4
|
|
7485
|
+
}
|
|
7486
|
+
);
|
|
7487
|
+
return response.status === 200 && response.data?.success === true;
|
|
7488
|
+
} catch (err) {
|
|
7489
|
+
logger.logger.debug("[API] archiveSession failed:", err);
|
|
7490
|
+
return false;
|
|
7491
|
+
}
|
|
7492
|
+
}
|
|
7458
7493
|
/**
|
|
7459
7494
|
* Get vendor API token from the server
|
|
7460
7495
|
* Returns the token if it exists, null otherwise
|
|
@@ -7542,6 +7577,10 @@ exports.connectionState = connectionState;
|
|
|
7542
7577
|
exports.extractUserText = extractUserText;
|
|
7543
7578
|
exports.findClaudeProjectId = findClaudeProjectId;
|
|
7544
7579
|
exports.findCodexSessionFile = findCodexSessionFile;
|
|
7580
|
+
exports.forkCodexSession = forkCodexSession;
|
|
7581
|
+
exports.forkCursorSession = forkCursorSession;
|
|
7582
|
+
exports.forkGeminiSession = forkGeminiSession;
|
|
7583
|
+
exports.forkSession = forkSession;
|
|
7545
7584
|
exports.generateStableUuid = generateStableUuid;
|
|
7546
7585
|
exports.isSystemMessage = isSystemMessage;
|
|
7547
7586
|
exports.readGeminiSessionLog = readGeminiSessionLog;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./persistence-
|
|
3
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
4
4
|
var node_crypto = require('node:crypto');
|
|
5
5
|
var tweetnacl = require('tweetnacl');
|
|
6
6
|
var axios = require('axios');
|
|
7
7
|
var qrcode = require('qrcode-terminal');
|
|
8
8
|
var time = require('./time-Bj2HRkKH.cjs');
|
|
9
|
-
var browser = require('./browser-
|
|
9
|
+
var browser = require('./browser-BA-Yc9JO.cjs');
|
|
10
10
|
var React = require('react');
|
|
11
11
|
var ink = require('ink');
|
|
12
12
|
require('node:fs/promises');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { e as encodeBase64, c as configuration, l as logger, r as readCredentials, u as updateSettings, i as isDebug, s as encodeBase64Url, h as decodeBase64, t as writeCredentialsLegacy, w as writeCredentialsDataKey } from './persistence-
|
|
1
|
+
import { e as encodeBase64, c as configuration, l as logger, r as readCredentials, u as updateSettings, i as isDebug, s as encodeBase64Url, h as decodeBase64, t as writeCredentialsLegacy, w as writeCredentialsDataKey } from './persistence-BirvtFep.mjs';
|
|
2
2
|
import { randomBytes, randomUUID } from 'node:crypto';
|
|
3
3
|
import tweetnacl from 'tweetnacl';
|
|
4
4
|
import axios from 'axios';
|
|
5
5
|
import qrcode from 'qrcode-terminal';
|
|
6
6
|
import { d as delay } from './time-DgsBLJA_.mjs';
|
|
7
|
-
import { o as openBrowser } from './browser-
|
|
7
|
+
import { o as openBrowser } from './browser-eziH4OAA.mjs';
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
9
|
import { useInput, Box, Text, render } from 'ink';
|
|
10
10
|
import 'node:fs/promises';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var logger = require('./persistence-
|
|
5
|
-
var auth = require('./auth-
|
|
4
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
5
|
+
var auth = require('./auth-BUQLBefw.cjs');
|
|
6
6
|
var fs = require('node:fs');
|
|
7
7
|
var node_readline = require('node:readline');
|
|
8
|
-
var controlClient = require('./controlClient-
|
|
8
|
+
var controlClient = require('./controlClient-B70-61t0.cjs');
|
|
9
9
|
var os = require('node:os');
|
|
10
10
|
require('node:fs/promises');
|
|
11
11
|
require('node:path');
|
|
@@ -16,7 +16,7 @@ require('fs');
|
|
|
16
16
|
require('axios');
|
|
17
17
|
require('qrcode-terminal');
|
|
18
18
|
require('./time-Bj2HRkKH.cjs');
|
|
19
|
-
require('./browser-
|
|
19
|
+
require('./browser-BA-Yc9JO.cjs');
|
|
20
20
|
require('open');
|
|
21
21
|
require('react');
|
|
22
22
|
require('ink');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { r as readCredentials, a as readSettings, c as configuration, l as logger, b as clearCredentials, d as clearMachineId } from './persistence-
|
|
3
|
-
import { authAndSetupMachineIfNeeded } from './auth-
|
|
2
|
+
import { r as readCredentials, a as readSettings, c as configuration, l as logger, b as clearCredentials, d as clearMachineId } from './persistence-BirvtFep.mjs';
|
|
3
|
+
import { authAndSetupMachineIfNeeded } from './auth-CFcrX0sP.mjs';
|
|
4
4
|
import { existsSync, rmSync } from 'node:fs';
|
|
5
5
|
import { createInterface } from 'node:readline';
|
|
6
|
-
import { checkIfDaemonRunningAndCleanupStaleState, stopDaemon } from './controlClient-
|
|
6
|
+
import { checkIfDaemonRunningAndCleanupStaleState, stopDaemon } from './controlClient-jullf1ow.mjs';
|
|
7
7
|
import os from 'node:os';
|
|
8
8
|
import 'node:fs/promises';
|
|
9
9
|
import 'node:path';
|
|
@@ -14,7 +14,7 @@ import 'fs';
|
|
|
14
14
|
import 'axios';
|
|
15
15
|
import 'qrcode-terminal';
|
|
16
16
|
import './time-DgsBLJA_.mjs';
|
|
17
|
-
import './browser-
|
|
17
|
+
import './browser-eziH4OAA.mjs';
|
|
18
18
|
import 'open';
|
|
19
19
|
import 'react';
|
|
20
20
|
import 'ink';
|
|
@@ -3,7 +3,7 @@ import { resolve, join } from 'node:path';
|
|
|
3
3
|
import { createInterface } from 'node:readline';
|
|
4
4
|
import { existsSync, readFileSync, readdirSync, statSync, mkdirSync } from 'node:fs';
|
|
5
5
|
import { randomUUID } from 'node:crypto';
|
|
6
|
-
import { l as logger } from './persistence-
|
|
6
|
+
import { l as logger } from './persistence-BirvtFep.mjs';
|
|
7
7
|
import { homedir } from 'node:os';
|
|
8
8
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
9
9
|
import { g as getBaseSystemPrompt } from './prompt-BsAZsPbo.mjs';
|
|
@@ -5,7 +5,7 @@ var path = require('node:path');
|
|
|
5
5
|
var node_readline = require('node:readline');
|
|
6
6
|
var fs = require('node:fs');
|
|
7
7
|
var node_crypto = require('node:crypto');
|
|
8
|
-
var logger = require('./persistence-
|
|
8
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
9
9
|
var os = require('node:os');
|
|
10
10
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
11
11
|
var prompt = require('./prompt-BTWDZZO0.cjs');
|
|
@@ -4,7 +4,7 @@ var fs = require('fs');
|
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var os = require('os');
|
|
6
6
|
var child_process = require('child_process');
|
|
7
|
-
var logger = require('./persistence-
|
|
7
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
8
8
|
var constants = require('./constants-E_UWYTo3.cjs');
|
|
9
9
|
require('node:fs/promises');
|
|
10
10
|
require('node:fs');
|
|
@@ -2,7 +2,7 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';
|
|
|
2
2
|
import { join } from 'path';
|
|
3
3
|
import { homedir } from 'os';
|
|
4
4
|
import { execSync } from 'child_process';
|
|
5
|
-
import { l as logger } from './persistence-
|
|
5
|
+
import { l as logger } from './persistence-BirvtFep.mjs';
|
|
6
6
|
import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './constants-pmXZGibX.mjs';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
8
|
import 'node:fs';
|
|
@@ -4,11 +4,11 @@ var chalk = require('chalk');
|
|
|
4
4
|
var fs = require('fs');
|
|
5
5
|
var os = require('os');
|
|
6
6
|
var path = require('path');
|
|
7
|
-
var logger = require('./persistence-
|
|
8
|
-
var api = require('./api-
|
|
7
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
8
|
+
var api = require('./api-jNSgtz8Y.cjs');
|
|
9
9
|
var http = require('http');
|
|
10
10
|
var crypto = require('crypto');
|
|
11
|
-
var browser = require('./browser-
|
|
11
|
+
var browser = require('./browser-BA-Yc9JO.cjs');
|
|
12
12
|
var child_process = require('child_process');
|
|
13
13
|
var util = require('util');
|
|
14
14
|
require('node:fs/promises');
|
|
@@ -34,7 +34,7 @@ require('node:module');
|
|
|
34
34
|
require('ws');
|
|
35
35
|
require('@stablelib/base64');
|
|
36
36
|
require('expo-server-sdk');
|
|
37
|
-
require('./sessionKeyCache-
|
|
37
|
+
require('./sessionKeyCache-CRINEKrH.cjs');
|
|
38
38
|
require('open');
|
|
39
39
|
|
|
40
40
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -2,11 +2,11 @@ import chalk from 'chalk';
|
|
|
2
2
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
3
3
|
import { homedir } from 'os';
|
|
4
4
|
import { join } from 'path';
|
|
5
|
-
import { r as readCredentials } from './persistence-
|
|
6
|
-
import { A as ApiClient } from './api-
|
|
5
|
+
import { r as readCredentials } from './persistence-BirvtFep.mjs';
|
|
6
|
+
import { A as ApiClient } from './api-CKGCwsUf.mjs';
|
|
7
7
|
import { createServer } from 'http';
|
|
8
8
|
import { randomBytes, createHash } from 'crypto';
|
|
9
|
-
import { o as openBrowser } from './browser-
|
|
9
|
+
import { o as openBrowser } from './browser-eziH4OAA.mjs';
|
|
10
10
|
import { exec } from 'child_process';
|
|
11
11
|
import { promisify } from 'util';
|
|
12
12
|
import 'node:fs/promises';
|
|
@@ -32,7 +32,7 @@ import 'node:module';
|
|
|
32
32
|
import 'ws';
|
|
33
33
|
import '@stablelib/base64';
|
|
34
34
|
import 'expo-server-sdk';
|
|
35
|
-
import './sessionKeyCache-
|
|
35
|
+
import './sessionKeyCache-Ci9NA8Nn.mjs';
|
|
36
36
|
import 'open';
|
|
37
37
|
|
|
38
38
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as logger, m as readDaemonState, n as clearDaemonState } from './persistence-
|
|
1
|
+
import { l as logger, m as readDaemonState, n as clearDaemonState } from './persistence-BirvtFep.mjs';
|
|
2
2
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
3
3
|
import { readFileSync } from 'fs';
|
|
4
4
|
import { join } from 'path';
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('node:fs');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var cursorApprovalServer = require('./cursorApprovalServer-
|
|
5
|
+
var cursorApprovalServer = require('./cursorApprovalServer-Cqsy8ohH.cjs');
|
|
6
6
|
require('node:http');
|
|
7
7
|
require('node:crypto');
|
|
8
8
|
require('node:fs/promises');
|
|
9
9
|
require('node:os');
|
|
10
|
-
require('./persistence-
|
|
10
|
+
require('./persistence-DoY9jKDN.cjs');
|
|
11
11
|
require('zod');
|
|
12
12
|
require('tweetnacl');
|
|
13
13
|
require('chalk');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { existsSync, readFileSync } from 'node:fs';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
|
-
import { a as approvalRegistryDir, A as APPROVAL_ENDPOINT_FILE } from './cursorApprovalServer-
|
|
3
|
+
import { a as approvalRegistryDir, A as APPROVAL_ENDPOINT_FILE } from './cursorApprovalServer-nbHwu4ru.mjs';
|
|
4
4
|
import 'node:http';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:fs/promises';
|
|
7
7
|
import 'node:os';
|
|
8
|
-
import './persistence-
|
|
8
|
+
import './persistence-BirvtFep.mjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'tweetnacl';
|
|
11
11
|
import 'chalk';
|
|
@@ -6,7 +6,7 @@ var promises = require('node:fs/promises');
|
|
|
6
6
|
var fs = require('node:fs');
|
|
7
7
|
var path = require('node:path');
|
|
8
8
|
var os = require('node:os');
|
|
9
|
-
var logger = require('./persistence-
|
|
9
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
10
10
|
|
|
11
11
|
const TOOL_NAME_MAP = {
|
|
12
12
|
read: "Read",
|
|
@@ -4,7 +4,7 @@ import { mkdir, writeFile, rename, readFile, rm, readdir, rmdir } from 'node:fs/
|
|
|
4
4
|
import { existsSync } from 'node:fs';
|
|
5
5
|
import { join } from 'node:path';
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
|
-
import { l as logger } from './persistence-
|
|
7
|
+
import { l as logger } from './persistence-BirvtFep.mjs';
|
|
8
8
|
|
|
9
9
|
const TOOL_NAME_MAP = {
|
|
10
10
|
read: "Read",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var axios = require('axios');
|
|
4
|
-
var logger = require('./persistence-
|
|
5
|
-
var auth = require('./auth-
|
|
4
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
5
|
+
var auth = require('./auth-BUQLBefw.cjs');
|
|
6
6
|
var tweetnacl = require('tweetnacl');
|
|
7
7
|
var fs = require('node:fs');
|
|
8
8
|
var promises = require('node:fs/promises');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { h as decodeBase64, e as encodeBase64, f as encrypt, g as decrypt, c as configuration } from './persistence-
|
|
3
|
-
import { decryptWithEphemeralKey } from './auth-
|
|
2
|
+
import { h as decodeBase64, e as encodeBase64, f as encrypt, g as decrypt, c as configuration } from './persistence-BirvtFep.mjs';
|
|
3
|
+
import { decryptWithEphemeralKey } from './auth-CFcrX0sP.mjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
import { writeFile, mkdir, readFile } from 'node:fs/promises';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { p as packageJson, c as configuration, a as readSettings, r as readCredentials, m as readDaemonState } from './persistence-
|
|
3
|
-
import { checkIfDaemonRunningAndCleanupStaleState } from './controlClient-
|
|
2
|
+
import { p as packageJson, c as configuration, a as readSettings, r as readCredentials, m as readDaemonState } from './persistence-BirvtFep.mjs';
|
|
3
|
+
import { checkIfDaemonRunningAndCleanupStaleState } from './controlClient-jullf1ow.mjs';
|
|
4
4
|
import { findAllHappyProcesses } from './doctor-ON7pN5G5.mjs';
|
|
5
5
|
import { existsSync, readdirSync, statSync } from 'node:fs';
|
|
6
6
|
import { join } from 'node:path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var logger = require('./persistence-
|
|
5
|
-
var controlClient = require('./controlClient-
|
|
4
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
5
|
+
var controlClient = require('./controlClient-B70-61t0.cjs');
|
|
6
6
|
var doctor = require('./doctor-C08m5Z9f.cjs');
|
|
7
7
|
var fs = require('node:fs');
|
|
8
8
|
var path = require('node:path');
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var axios = require('axios');
|
|
4
4
|
var tweetnacl = require('tweetnacl');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var logger = require('./persistence-
|
|
7
|
-
var auth = require('./auth-
|
|
6
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
7
|
+
var auth = require('./auth-BUQLBefw.cjs');
|
|
8
8
|
require('node:fs/promises');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('node:os');
|
|
@@ -14,7 +14,7 @@ require('chalk');
|
|
|
14
14
|
require('fs');
|
|
15
15
|
require('qrcode-terminal');
|
|
16
16
|
require('./time-Bj2HRkKH.cjs');
|
|
17
|
-
require('./browser-
|
|
17
|
+
require('./browser-BA-Yc9JO.cjs');
|
|
18
18
|
require('open');
|
|
19
19
|
require('react');
|
|
20
20
|
require('ink');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import tweetnacl from 'tweetnacl';
|
|
3
3
|
import { createHmac, randomBytes } from 'node:crypto';
|
|
4
|
-
import { r as readCredentials, c as configuration, h as decodeBase64, u as updateSettings, w as writeCredentialsDataKey,
|
|
5
|
-
import { decryptWithEphemeralKey } from './auth-
|
|
4
|
+
import { r as readCredentials, c as configuration, h as decodeBase64, u as updateSettings, w as writeCredentialsDataKey, q as libsodiumPublicKeyFromSecretKey } from './persistence-BirvtFep.mjs';
|
|
5
|
+
import { decryptWithEphemeralKey } from './auth-CFcrX0sP.mjs';
|
|
6
6
|
import 'node:fs/promises';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:os';
|
|
@@ -12,7 +12,7 @@ import 'chalk';
|
|
|
12
12
|
import 'fs';
|
|
13
13
|
import 'qrcode-terminal';
|
|
14
14
|
import './time-DgsBLJA_.mjs';
|
|
15
|
-
import './browser-
|
|
15
|
+
import './browser-eziH4OAA.mjs';
|
|
16
16
|
import 'open';
|
|
17
17
|
import 'react';
|
|
18
18
|
import 'ink';
|
|
@@ -3,7 +3,7 @@ import { constants } from 'node:fs';
|
|
|
3
3
|
import { mkdir, appendFile, access, readFile } from 'node:fs/promises';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { basename, dirname, resolve } from 'node:path';
|
|
6
|
-
import { c as configuration } from './persistence-
|
|
6
|
+
import { c as configuration } from './persistence-BirvtFep.mjs';
|
|
7
7
|
import { r as renderEvidenceReport, i as inferEvidenceKind } from './workflowReports-Dd8-4-8f.mjs';
|
|
8
8
|
import { p as parseWorkflowArgs, s as stringFlag, b as booleanFlag, a as printOrWriteOutput } from './workflowCommon-B0d01Y_a.mjs';
|
|
9
9
|
import 'node:os';
|
|
@@ -5,7 +5,7 @@ var fs = require('node:fs');
|
|
|
5
5
|
var promises = require('node:fs/promises');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var logger = require('./persistence-
|
|
8
|
+
var logger = require('./persistence-DoY9jKDN.cjs');
|
|
9
9
|
var workflowReports = require('./workflowReports-BEWuQesA.cjs');
|
|
10
10
|
var workflowCommon = require('./workflowCommon-Bl568-rt.cjs');
|
|
11
11
|
require('node:os');
|