very-happy-cli 0.2.169 → 0.2.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcpBackend-BxN2W-8F.mjs → AcpBackend-BScaCmDs.mjs} +3 -3
- package/dist/{AcpBackend-CoVFHN6M.cjs → AcpBackend-HSBOv-Al.cjs} +3 -3
- package/dist/{BasePermissionHandler-DFKRyvRk.cjs → BasePermissionHandler-Dlm64gu1.cjs} +1 -1
- package/dist/{BasePermissionHandler-BhhK4ufw.mjs → BasePermissionHandler-dXHkzQOn.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-IXMLQola.mjs → BaseReasoningProcessor-DGB2QUCc.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-DLXmSsD9.cjs → BaseReasoningProcessor-DpfYqrTt.cjs} +1 -1
- package/dist/{agentHome-XhRZDl_8.cjs → agentHome-RJzcSFdv.cjs} +4 -4
- package/dist/{agentHome-BqIbAFvU.mjs → agentHome-z9o-YjLW.mjs} +4 -4
- package/dist/{api-XE5qHl20.cjs → api-CiJ4IqyD.cjs} +8 -8
- package/dist/{api-D9feoPQW.mjs → api-i0qw8FqA.mjs} +8 -8
- package/dist/{apiMachine-DLanfJvJ.mjs → apiMachine-DW9x-0oJ.mjs} +13 -13
- package/dist/{apiMachine-so4PtT7S.cjs → apiMachine-Igo5Tg4f.cjs} +13 -13
- package/dist/{attachmentContent-iNWSZTn-.cjs → attachmentContent-D6D1jDQW.cjs} +1 -1
- package/dist/{attachmentContent-BmhATDAI.mjs → attachmentContent-DrVi20GN.mjs} +1 -1
- package/dist/{auth-D8Xbw1i7.cjs → auth-DBVS1VSx.cjs} +5 -5
- package/dist/{auth-BbdPGp0-.cjs → auth-DJC37JFA.cjs} +8 -8
- package/dist/{auth-BGC7jIeG.mjs → auth-DQXTRjY6.mjs} +5 -5
- package/dist/{auth-ESPV0RuP.mjs → auth-DxPlTcxt.mjs} +8 -8
- package/dist/{auto-BaXaunaW.mjs → auto-BUl0NUbs.mjs} +13 -13
- package/dist/{auto-BQOEIFwp.cjs → auto-CnW8LeMJ.cjs} +13 -13
- package/dist/{bootstrap-uA_VRbq6.cjs → bootstrap-CrzzWd89.cjs} +2 -2
- package/dist/{bootstrap-BLFDzpTX.mjs → bootstrap-OfAS8Bgg.mjs} +2 -2
- package/dist/{browser-B9DbZY5S.cjs → browser-BUenx0cX.cjs} +1 -1
- package/dist/{browser-D2iQWs3k.mjs → browser-CeHeLG0k.mjs} +1 -1
- package/dist/{claudeLocal-qaR-k7K7.cjs → claudeLocal-CQn6Ccnx.cjs} +4 -4
- package/dist/{claudeLocal-CRwWssN_.mjs → claudeLocal-DGpVW-Db.mjs} +4 -4
- package/dist/{claudeLocalLauncher-Cg3ZOJvz.cjs → claudeLocalLauncher-BtWo8fWV.cjs} +9 -9
- package/dist/{claudeLocalLauncher-BRyssxjy.mjs → claudeLocalLauncher-CvCQEoJM.mjs} +9 -9
- package/dist/{claudeSessionFork-C0DCh9Eq.cjs → claudeSessionFork-Bas6tw-m.cjs} +1 -1
- package/dist/{claudeSessionFork-DyVlndIF.mjs → claudeSessionFork-CvwzftO-.mjs} +1 -1
- package/dist/{client-Lze38C0i.cjs → client-Ch7JXoHs.cjs} +3 -3
- package/dist/{client-CQiLeZYO.cjs → client-CuTpTJQn.cjs} +2 -2
- package/dist/{client-CKsWQ0CB.mjs → client-D3WS1V3e.mjs} +3 -3
- package/dist/{client-BXJf8MP8.mjs → client-DGIu5Gpl.mjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +14 -14
- package/dist/codex/happyMcpStdioBridge.mjs +14 -14
- package/dist/{codexAppServerClient-C2anWi8P.cjs → codexAppServerClient-BnC6nkr-.cjs} +3 -3
- package/dist/{codexAppServerClient-P1KeiWAL.mjs → codexAppServerClient-DaT_xx7g.mjs} +3 -3
- package/dist/{codexCommand-DticONFg.mjs → codexCommand-D-IJmp4i.mjs} +38 -38
- package/dist/{codexCommand-BEtvy5KA.cjs → codexCommand-DAkYFNK3.cjs} +38 -38
- package/dist/{config-CJJ0m0Hy.cjs → config-BdWuN45Y.cjs} +3 -3
- package/dist/{config-ONvwYlDy.mjs → config-CFHvNekH.mjs} +3 -3
- package/dist/{configuration-DsEb3uSR.mjs → configuration-CczSAm2B.mjs} +1 -1
- package/dist/{configuration-vd98cU5s.cjs → configuration-DXcI7IeR.cjs} +1 -1
- package/dist/{connect-B-Xf43JR.mjs → connect-CHqa-yXg.mjs} +11 -11
- package/dist/{connect-BNu_olIj.cjs → connect-DlaIYaJV.cjs} +11 -11
- package/dist/{context-J9onyv6j.mjs → context-BYY9_3qk.mjs} +1 -1
- package/dist/{context-BglK-uQU.cjs → context-CfwXzIGp.cjs} +1 -1
- package/dist/{controlClient-BJ_kMzJp.mjs → controlClient-Bqm1bKwB.mjs} +3 -3
- package/dist/{controlClient-8EMcMnZ7.cjs → controlClient-Da9EoZh6.cjs} +3 -3
- package/dist/{createSessionMetadata-4BIuLaXd.cjs → createSessionMetadata-CN9RXv2q.cjs} +2 -2
- package/dist/{createSessionMetadata-wSmMShgh.mjs → createSessionMetadata-hEt2w-sO.mjs} +2 -2
- package/dist/{defaultPermissionMode-kwzK91Z5.mjs → defaultPermissionMode-CyfUQMy-.mjs} +2 -2
- package/dist/{defaultPermissionMode-DodwUf8f.cjs → defaultPermissionMode-ozju0X1j.cjs} +2 -2
- package/dist/{deterministicJson-CX9sRkSw.cjs → deterministicJson-CLCPtUie.cjs} +8 -8
- package/dist/{deterministicJson-BE--xzCB.mjs → deterministicJson-vMEVc_WV.mjs} +8 -8
- package/dist/{doctor-7a_2qR9U.mjs → doctor-DhuH263Y.mjs} +7 -7
- package/dist/{doctor-dhZlGUDN.cjs → doctor-DsDlrDwW.cjs} +7 -7
- package/dist/{downloadTarget-C3bWfjVw.cjs → downloadTarget-BMQbVH9F.cjs} +6 -6
- package/dist/{downloadTarget-XjmBJhax.mjs → downloadTarget-DhAsrL4g.mjs} +6 -6
- package/dist/{ensureDaemonRunning-C_CtXvBm.cjs → ensureDaemonRunning-2lh_dYEU.cjs} +5 -5
- package/dist/{ensureDaemonRunning-B48wg_28.mjs → ensureDaemonRunning-BiRg2dTf.mjs} +5 -5
- package/dist/{handleResumeCommand-Bx1W2trq.mjs → handleResumeCommand-CRZELVI2.mjs} +5 -5
- package/dist/{handleResumeCommand-B1fpHyMa.cjs → handleResumeCommand-CfopD5Nc.cjs} +5 -5
- package/dist/{index-By3SzVnN.cjs → index-8PQ0l7gk.cjs} +3 -3
- package/dist/{index-D6WijXzL.mjs → index-BKqPGlJZ.mjs} +33 -33
- package/dist/{index-DkXElN6H.cjs → index-C3thUOC2.cjs} +32 -32
- package/dist/{index-Ck8syuwO.mjs → index-CFOKovLL.mjs} +4 -4
- package/dist/{index-erMKdhA1.mjs → index-Db37vLNO.mjs} +3 -3
- package/dist/{index-CHHuoaN5.cjs → index-rGZJFt4x.cjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-DpAjCfux.cjs → install-CfV-p7sX.cjs} +3 -3
- package/dist/{install-Dzk7clHU.mjs → install-DltAzV5V.mjs} +3 -3
- package/dist/lib.cjs +10 -10
- package/dist/lib.d.cts +6 -4
- package/dist/lib.d.mts +6 -4
- package/dist/lib.mjs +10 -10
- package/dist/{lidState-Bn28XGju.cjs → lidState-CtuUvIWZ.cjs} +1 -1
- package/dist/{lidState-CuLz-aoW.mjs → lidState-GK3HlYtx.mjs} +1 -1
- package/dist/{localHappyAgentAuth-CImf4dFr.mjs → localHappyAgentAuth-EsS_R-Iu.mjs} +1 -1
- package/dist/{localHappyAgentAuth-Cix2HInR.cjs → localHappyAgentAuth-NaSFE8Vd.cjs} +1 -1
- package/dist/{logger-CEXN6kmp.cjs → logger-DIS8AbMx.cjs} +2 -2
- package/dist/{logger-k6qJWglF.mjs → logger-DbUGowSt.mjs} +2 -2
- package/dist/{machineMetadata-CmrkhOp5.mjs → machineMetadata-CwUeXNyz.mjs} +3 -3
- package/dist/{machineMetadata-B2ugbwH1.cjs → machineMetadata-qpt6AuVo.cjs} +3 -3
- package/dist/{main-BHlWnntt.mjs → main-BrV-qaWm.mjs} +44 -44
- package/dist/{main-i9AIapzR.cjs → main-CioKZ5m2.cjs} +44 -44
- package/dist/{mcp-DRwndcmD.cjs → mcp-C3YOTHwc.cjs} +14 -14
- package/dist/{mcp-C3-c1CFs.mjs → mcp-JI_3RzzC.mjs} +14 -14
- package/dist/{mirrorProtocol-D513S1GL.mjs → mirrorProtocol-BnqSnvt9.mjs} +2 -2
- package/dist/{mirrorProtocol-Djl9Q8uu.cjs → mirrorProtocol-DPG4fXqy.cjs} +2 -2
- package/dist/{package-CgOyeL63.mjs → package-B5rvg-OE.mjs} +7 -7
- package/dist/{package-CRtabc_k.cjs → package-B8p4v66y.cjs} +7 -7
- package/dist/{peerTools-FzG7askS.mjs → peerTools-BGbQrSE5.mjs} +4 -4
- package/dist/{peerTools-B1dYfQ7B.cjs → peerTools-C0MFdg_X.cjs} +4 -4
- package/dist/{persistence-Ctx5X33x.cjs → persistence-DLaLYRoC.cjs} +9 -22
- package/dist/{persistence-bZj6UA2E.mjs → persistence-DNkY5g1I.mjs} +9 -22
- package/dist/{piRunnerArgs-C19zYJL2.mjs → piRunnerArgs--s-4cr4b.mjs} +1 -1
- package/dist/{piRunnerArgs-BSyuUDxd.cjs → piRunnerArgs-BWA6_9DX.cjs} +1 -1
- package/dist/{piRuntime-DY2jBhuI.cjs → piRuntime-Br1N9wQx.cjs} +1 -1
- package/dist/{piRuntime-D9ShcveW.mjs → piRuntime-CPjOKrdr.mjs} +1 -1
- package/dist/{piTerminal-D0VK-jbN.cjs → piTerminal-DNaF2O3z.cjs} +16 -16
- package/dist/{piTerminal-C6xULple.mjs → piTerminal-tIpAbDXL.mjs} +16 -16
- package/dist/{rateLimitWindows-DGc4kAYD.mjs → rateLimitWindows-CK4gboUn.mjs} +1 -1
- package/dist/{rateLimitWindows-D-EW-lEj.cjs → rateLimitWindows-m-xyGqam.cjs} +1 -1
- package/dist/{registerCommonHandlers-DyOrHehH.cjs → registerCommonHandlers-0bzxvzue.cjs} +2 -2
- package/dist/{registerCommonHandlers-DQpM0V0X.mjs → registerCommonHandlers-CzFbA5i1.mjs} +2 -2
- package/dist/{registerKillSessionHandler-CRA-VRN4.mjs → registerKillSessionHandler-5D_togUJ.mjs} +4 -4
- package/dist/{registerKillSessionHandler-BImofTKb.cjs → registerKillSessionHandler-CZDtCU4i.cjs} +4 -4
- package/dist/{remoteSessionClient-BpE2d0AX.cjs → remoteSessionClient-DFcVCR3H.cjs} +5 -5
- package/dist/{remoteSessionClient-DdXD_5Wc.mjs → remoteSessionClient-ki4eXY3h.mjs} +5 -5
- package/dist/{reportProgressTool-B9ldkvU1.cjs → reportProgressTool-DFMLZnOf.cjs} +1 -1
- package/dist/{reportProgressTool-u4bosT7t.mjs → reportProgressTool-mpXIQuie.mjs} +1 -1
- package/dist/{run-gofkmliK.cjs → run-BhNCudhz.cjs} +31 -31
- package/dist/{run-ChuQWCKp.mjs → run-x5kFso8d.mjs} +30 -30
- package/dist/{runClaude-0pC7HBnA.mjs → runClaude-CFhuaMtd.mjs} +19 -19
- package/dist/{runClaude-CJnltZOa.cjs → runClaude-e1LVZFYZ.cjs} +19 -19
- package/dist/{runClaudeDeps-CNQNIpQx.mjs → runClaudeDeps-DopsdFbJ.mjs} +37 -37
- package/dist/{runClaudeDeps-CshkSVOb.cjs → runClaudeDeps-p2Sb_Cxf.cjs} +32 -32
- package/dist/{runGemini-5W4Dnj7m.mjs → runGemini-BJrl97vd.mjs} +30 -30
- package/dist/{runGemini-Ns6jeEA2.cjs → runGemini-DKrmeVvo.cjs} +30 -30
- package/dist/{runOpenClaw-DfFkU3-O.mjs → runOpenClaw-B8ZqykJB.mjs} +15 -15
- package/dist/{runOpenClaw-Do_WGJCf.cjs → runOpenClaw-BQPMAmJZ.cjs} +15 -15
- package/dist/{sandbox-Hno1cl_S.cjs → sandbox-D0UuaDxs.cjs} +4 -4
- package/dist/{sandbox-BWoD_LBI.mjs → sandbox-DQiWpX7c.mjs} +4 -4
- package/dist/selfCheck-DRZGLVEX.mjs +84 -0
- package/dist/{selfCheck-LCw56wT7.cjs → selfCheck-TrWZTANg.cjs} +34 -34
- package/dist/{send-Bher02Ax.cjs → send-AswsSRAT.cjs} +8 -8
- package/dist/{send-8KoLgWt8.mjs → send-Ty_K7lbv.mjs} +8 -8
- package/dist/{server-DgBa6T42.mjs → server-CewfW2C-.mjs} +4 -4
- package/dist/{server-HoyYfWCW.cjs → server-ioik7V8x.cjs} +6 -6
- package/dist/{sessionLock-CbwG3sl6.mjs → sessionLock-BDY56_PF.mjs} +3 -3
- package/dist/{sessionLock-DFfIJvgI.cjs → sessionLock-CUM-w8Ig.cjs} +3 -3
- package/dist/{sessionModeFile-w5gtxQBn.mjs → sessionModeFile-CDaVySTE.mjs} +1 -1
- package/dist/{sessionModeFile-BMam0iW1.cjs → sessionModeFile-s-XZJ2BG.cjs} +1 -1
- package/dist/{sessionOps-DnUAnxVE.mjs → sessionOps-BjhF0bQV.mjs} +4 -4
- package/dist/{sessionOps-BLVcPdDi.cjs → sessionOps-CcqxV12Z.cjs} +4 -4
- package/dist/{sessionScanner-PgdVrboP.mjs → sessionScanner-Dt3d3m7X.mjs} +3 -3
- package/dist/{sessionScanner-BC1mVMSY.cjs → sessionScanner-JrD9d9HC.cjs} +3 -3
- package/dist/{sessions-DOaMkmer.mjs → sessions-B74T1My0.mjs} +9 -9
- package/dist/{sessions-CTQcVANM.cjs → sessions-DdTuNqyF.cjs} +9 -9
- package/dist/{setupOfflineReconnection-hyo8-S36.mjs → setupOfflineReconnection-BdyjA_H2.mjs} +2 -2
- package/dist/{setupOfflineReconnection-BN9nwZ8a.cjs → setupOfflineReconnection-BrEPvn5Q.cjs} +2 -2
- package/dist/{spawn-B9Audcd3.mjs → spawn-CTfEJfLw.mjs} +11 -11
- package/dist/{spawn-CDaVoyIe.cjs → spawn-PMB3Rd6-.cjs} +11 -11
- package/dist/{spawnHappyCLI-CJ_cYzH8.cjs → spawnHappyCLI-Brdbn4Op.cjs} +1 -1
- package/dist/{spawnHappyCLI-BGumffaQ.mjs → spawnHappyCLI-Wy-zTOrN.mjs} +1 -1
- package/dist/{specialCommands-B22t4ROw.cjs → specialCommands-B4Fahb1_.cjs} +3 -3
- package/dist/{specialCommands-D4gAJ8N-.mjs → specialCommands-BbRAklFw.mjs} +3 -3
- package/dist/{startFileWatcher-DcwCNpAD.cjs → startFileWatcher-A79HKkPV.cjs} +1 -1
- package/dist/{startFileWatcher-DeT20n_y.mjs → startFileWatcher-B9J-kZuG.mjs} +1 -1
- package/dist/{sync-BviZKBic.cjs → sync-C0Sv0aB6.cjs} +1 -1
- package/dist/{sync-Db2dkpCS.mjs → sync-Dsmp8C_N.mjs} +1 -1
- package/dist/{systemPrompt-B1VipGm3.mjs → systemPrompt-B8v-SKdI.mjs} +1 -1
- package/dist/{systemPrompt-CeWW2NZa.cjs → systemPrompt-DkoCB8wT.cjs} +1 -1
- package/dist/{teams-Dfap3oPT.cjs → teams-Ct1Y4CKn.cjs} +6 -6
- package/dist/{teams-FWeQ-3dR.mjs → teams-OxQZW939.mjs} +6 -6
- package/dist/{time-B7ohOI_y.cjs → time-CIM3MU7S.cjs} +1 -1
- package/dist/{time-CGvsjDND.mjs → time-DBacEFU-.mjs} +1 -1
- package/dist/{titleGenerator-OWMYoWvP.cjs → titleGenerator-B8EHAPNr.cjs} +2 -2
- package/dist/{titleGenerator-CMzDSyFs.mjs → titleGenerator-DpcjOg6b.mjs} +1 -1
- package/dist/{todo-DyFlR8ta.mjs → todo-1MviWEEO.mjs} +5 -5
- package/dist/{todo-ClSKkrgg.cjs → todo-Jiox875S.cjs} +5 -5
- package/dist/{tools-PNyBTN3e.mjs → tools-BNVaJPLF.mjs} +1 -1
- package/dist/{tools-DYIZ8Xc1.cjs → tools-DNZqlnzm.cjs} +1 -1
- package/dist/{uninstall-DR-b8fla.cjs → uninstall-BLZR6Msz.cjs} +3 -3
- package/dist/{uninstall-Dg_AEwLz.mjs → uninstall-Q1tOq4or.mjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-Drx33sE6.mjs +0 -84
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h as resumeDaemonSession, l as listDaemonSessions } from './controlClient-
|
|
2
|
-
import { d as archiveSession, u as unarchiveSession, h as sessionLiveness, e as sendUserMessage, i as readSessionState, o as openUserScopedSocket } from './sessionOps-
|
|
3
|
-
import { d as delay } from './time-
|
|
1
|
+
import { h as resumeDaemonSession, l as listDaemonSessions } from './controlClient-Bqm1bKwB.mjs';
|
|
2
|
+
import { d as archiveSession, u as unarchiveSession, h as sessionLiveness, e as sendUserMessage, i as readSessionState, o as openUserScopedSocket } from './sessionOps-BjhF0bQV.mjs';
|
|
3
|
+
import { d as delay } from './time-DBacEFU-.mjs';
|
|
4
4
|
import axios from 'axios';
|
|
5
5
|
import { hostname } from 'node:os';
|
|
6
|
-
import { c as configuration } from './configuration-
|
|
7
|
-
import { r as readSettings, c as readCredentialsForConfiguredRelay } from './persistence-
|
|
6
|
+
import { c as configuration } from './configuration-CczSAm2B.mjs';
|
|
7
|
+
import { r as readSettings, c as readCredentialsForConfiguredRelay } from './persistence-DNkY5g1I.mjs';
|
|
8
8
|
import { randomUUID } from 'node:crypto';
|
|
9
9
|
|
|
10
10
|
const ACTIVE_FRESH_WINDOW_MS = 15 * 60 * 1e3;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var z = require('zod');
|
|
4
4
|
var index = require('./index-C9hI8a10.cjs');
|
|
5
|
-
var client = require('./client-
|
|
5
|
+
var client = require('./client-CuTpTJQn.cjs');
|
|
6
6
|
var precheckCompat = require('./precheckCompat-CWOi5c9L.cjs');
|
|
7
7
|
var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { h as AutomationNameSchema, b as AutomationPrecheckSchema, j as AutomationConcurrencySchema, k as AutomationActionSchema, l as AutomationTriggerSchema } from './index-B0HEEYGh.mjs';
|
|
3
|
-
import { a as authenticatedAutomationsClient, b as automationRunIdFromEnv } from './client-
|
|
3
|
+
import { a as authenticatedAutomationsClient, b as automationRunIdFromEnv } from './client-DGIu5Gpl.mjs';
|
|
4
4
|
import { u as updateAutomationChecked, c as createAutomationChecked } from './precheckCompat-DeEbilbr.mjs';
|
|
5
5
|
import { R as REPORT_PROGRESS_TOOL_NAME, d as REPORT_PROGRESS_TOOL_TITLE, e as REPORT_PROGRESS_TOOL_DESCRIPTION } from './agentGuidance-BDYt2Qy2.mjs';
|
|
6
6
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var mirrorProtocol = require('./mirrorProtocol-
|
|
4
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
3
|
+
var mirrorProtocol = require('./mirrorProtocol-DPG4fXqy.cjs');
|
|
4
|
+
var piRunnerArgs = require('./piRunnerArgs-BWA6_9DX.cjs');
|
|
5
5
|
var fs = require('fs/promises');
|
|
6
6
|
var tmp = require('tmp');
|
|
7
7
|
var axios = require('axios');
|
|
8
|
-
var api = require('./api-
|
|
8
|
+
var api = require('./api-CiJ4IqyD.cjs');
|
|
9
9
|
var spawnAgents = require('./spawnAgents-vglexX9N.cjs');
|
|
10
|
-
var logger = require('./logger-
|
|
10
|
+
var logger = require('./logger-DIS8AbMx.cjs');
|
|
11
11
|
var node_fs = require('node:fs');
|
|
12
12
|
var path = require('node:path');
|
|
13
|
-
var index$2 = require('./index-
|
|
14
|
-
var auth = require('./auth-
|
|
15
|
-
var configuration = require('./configuration-
|
|
13
|
+
var index$2 = require('./index-8PQ0l7gk.cjs');
|
|
14
|
+
var auth = require('./auth-DBVS1VSx.cjs');
|
|
15
|
+
var configuration = require('./configuration-DXcI7IeR.cjs');
|
|
16
16
|
var child_process = require('child_process');
|
|
17
|
-
var _package = require('./package-
|
|
18
|
-
var doctor = require('./doctor-
|
|
19
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
20
|
-
var persistence = require('./persistence-
|
|
21
|
-
var controlClient = require('./controlClient-
|
|
22
|
-
var sessionOps = require('./sessionOps-
|
|
17
|
+
var _package = require('./package-B8p4v66y.cjs');
|
|
18
|
+
var doctor = require('./doctor-DsDlrDwW.cjs');
|
|
19
|
+
var spawnHappyCLI = require('./spawnHappyCLI-Brdbn4Op.cjs');
|
|
20
|
+
var persistence = require('./persistence-DLaLYRoC.cjs');
|
|
21
|
+
var controlClient = require('./controlClient-Da9EoZh6.cjs');
|
|
22
|
+
var sessionOps = require('./sessionOps-CcqxV12Z.cjs');
|
|
23
23
|
var fastify = require('fastify');
|
|
24
24
|
var z = require('zod');
|
|
25
25
|
var fastifyTypeProviderZod = require('fastify-type-provider-zod');
|
|
@@ -27,30 +27,30 @@ var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
|
27
27
|
var node_crypto = require('node:crypto');
|
|
28
28
|
var previewPath = require('./previewPath-B0rBdhy1.cjs');
|
|
29
29
|
var backgroundTaskActivity = require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
30
|
-
var rateLimitWindows = require('./rateLimitWindows-
|
|
31
|
-
var peerTools = require('./peerTools-
|
|
30
|
+
var rateLimitWindows = require('./rateLimitWindows-m-xyGqam.cjs');
|
|
31
|
+
var peerTools = require('./peerTools-C0MFdg_X.cjs');
|
|
32
32
|
var os = require('node:os');
|
|
33
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
34
|
-
var bootstrap = require('./bootstrap-
|
|
35
|
-
var index$1 = require('./index-
|
|
33
|
+
var remoteSessionClient = require('./remoteSessionClient-DFcVCR3H.cjs');
|
|
34
|
+
var bootstrap = require('./bootstrap-CrzzWd89.cjs');
|
|
35
|
+
var index$1 = require('./index-rGZJFt4x.cjs');
|
|
36
36
|
var fs$1 = require('fs');
|
|
37
37
|
var path$2 = require('path');
|
|
38
38
|
var node_child_process = require('node:child_process');
|
|
39
39
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
40
40
|
var doctorReadiness = require('./doctorReadiness-BCZGcN0a.cjs');
|
|
41
|
-
var machineMetadata = require('./machineMetadata-
|
|
42
|
-
var handleResumeCommand = require('./handleResumeCommand-
|
|
41
|
+
var machineMetadata = require('./machineMetadata-qpt6AuVo.cjs');
|
|
42
|
+
var handleResumeCommand = require('./handleResumeCommand-CfopD5Nc.cjs');
|
|
43
43
|
var promises = require('node:fs/promises');
|
|
44
44
|
var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
|
|
45
|
-
var client = require('./client-
|
|
45
|
+
var client = require('./client-CuTpTJQn.cjs');
|
|
46
46
|
var module$1 = require('node:module');
|
|
47
47
|
var path$1 = require('./path-B7zW-WwE.cjs');
|
|
48
48
|
var editPaths = require('./editPaths-Bqp4OFPw.cjs');
|
|
49
|
-
var startFileWatcher = require('./startFileWatcher-
|
|
50
|
-
var sync = require('./sync-
|
|
49
|
+
var startFileWatcher = require('./startFileWatcher-A79HKkPV.cjs');
|
|
50
|
+
var sync = require('./sync-C0Sv0aB6.cjs');
|
|
51
51
|
var types = require('./types-CRS-srZK.cjs');
|
|
52
52
|
var tmuxSocket = require('./tmuxSocket-D-Xt6Vn-.cjs');
|
|
53
|
-
var sessionLock = require('./sessionLock-
|
|
53
|
+
var sessionLock = require('./sessionLock-CUM-w8Ig.cjs');
|
|
54
54
|
var doctor$1 = require('./doctor-u46qYYKX.cjs');
|
|
55
55
|
var resources = require('./resources-JDPugcDq.cjs');
|
|
56
56
|
var node_util = require('node:util');
|
|
@@ -58,15 +58,15 @@ var index = require('./index-C9hI8a10.cjs');
|
|
|
58
58
|
var template = require('./template-BaHAmH2K.cjs');
|
|
59
59
|
var daemonSupervisor = require('./daemonSupervisor-B-SPSqhs.cjs');
|
|
60
60
|
var loginShellEnv = require('./loginShellEnv-BkuYtExZ.cjs');
|
|
61
|
-
require('./sessionModeFile-
|
|
62
|
-
require('./lidState-
|
|
61
|
+
require('./sessionModeFile-s-XZJ2BG.cjs');
|
|
62
|
+
require('./lidState-CtuUvIWZ.cjs');
|
|
63
63
|
require('os');
|
|
64
64
|
require('node:events');
|
|
65
65
|
require('socket.io-client');
|
|
66
66
|
require('./attachmentLimits-BEYEEBm8.cjs');
|
|
67
67
|
require('./limits-C-a7gr04.cjs');
|
|
68
|
-
require('./time-
|
|
69
|
-
require('./registerCommonHandlers-
|
|
68
|
+
require('./time-CIM3MU7S.cjs');
|
|
69
|
+
require('./registerCommonHandlers-0bzxvzue.cjs');
|
|
70
70
|
require('util');
|
|
71
71
|
require('crypto');
|
|
72
72
|
require('cross-spawn');
|
|
@@ -74,12 +74,12 @@ require('@paralleldrive/cuid2');
|
|
|
74
74
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
75
75
|
require('chalk');
|
|
76
76
|
require('tweetnacl');
|
|
77
|
-
require('./browser-
|
|
77
|
+
require('./browser-BUenx0cX.cjs');
|
|
78
78
|
require('open');
|
|
79
79
|
require('./ids-B6ZC0HGt.cjs');
|
|
80
80
|
require('url');
|
|
81
81
|
require('./detectCLI-DR9ZaN6B.cjs');
|
|
82
|
-
require('./localHappyAgentAuth-
|
|
82
|
+
require('./localHappyAgentAuth-NaSFE8Vd.cjs');
|
|
83
83
|
require('ps-list');
|
|
84
84
|
|
|
85
85
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -2651,7 +2651,7 @@ function parseJsonObject(text) {
|
|
|
2651
2651
|
return null;
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
|
-
function resolveSdkClaudeBinary(platform = process.platform, arch = process.arch, resolver = (s) => module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('run-
|
|
2654
|
+
function resolveSdkClaudeBinary(platform = process.platform, arch = process.arch, resolver = (s) => module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('run-BhNCudhz.cjs', document.baseURI).href))).resolve(s)) {
|
|
2655
2655
|
const platformArch = `${platform}-${arch}`;
|
|
2656
2656
|
const candidates = [
|
|
2657
2657
|
`@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { i as isClaudeSessionId, g as extractCompleteLines, h as decideBackfill, j as parseTerminalHookPayload, k as decideMirrorBinding, M as MIRROR_BACKFILL_LINES_DEFAULT, m as mirrorLineKey, n as mirrorLocalId, o as initializeOwnedWorktree, e as summarizeSpawnSessionForLog, q as startAgentVersionChecks, W as WORKTREE_CAPABILITY_VERSION, t as currentWorktreeService } from './mirrorProtocol-
|
|
2
|
-
import { P as PI_ADAPTER_INSTALL_HINT, s as sanitizeSpawnModel } from './piRunnerArgs-
|
|
1
|
+
import { i as isClaudeSessionId, g as extractCompleteLines, h as decideBackfill, j as parseTerminalHookPayload, k as decideMirrorBinding, M as MIRROR_BACKFILL_LINES_DEFAULT, m as mirrorLineKey, n as mirrorLocalId, o as initializeOwnedWorktree, e as summarizeSpawnSessionForLog, q as startAgentVersionChecks, W as WORKTREE_CAPABILITY_VERSION, t as currentWorktreeService } from './mirrorProtocol-BnqSnvt9.mjs';
|
|
2
|
+
import { P as PI_ADAPTER_INSTALL_HINT, s as sanitizeSpawnModel } from './piRunnerArgs--s-4cr4b.mjs';
|
|
3
3
|
import fs from 'fs/promises';
|
|
4
4
|
import * as tmp from 'tmp';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { T as TurnActivityTracker, A as ApiClient } from './api-
|
|
6
|
+
import { T as TurnActivityTracker, A as ApiClient } from './api-i0qw8FqA.mjs';
|
|
7
7
|
import { S as SPAWN_AGENTS, i as isSpawnAgent, s as sanitizeSpawnPermissionMode, r as resolveSpawnPermissionMode, a as resolveFirstMessageMeta } from './spawnAgents-HDaE3C0-.mjs';
|
|
8
|
-
import { l as logger } from './logger-
|
|
8
|
+
import { l as logger } from './logger-DbUGowSt.mjs';
|
|
9
9
|
import { readdirSync, statSync, unlinkSync, realpathSync, mkdirSync, writeFileSync, accessSync, constants as constants$1, existsSync, readFileSync, openSync, fsyncSync, closeSync, renameSync } from 'node:fs';
|
|
10
10
|
import { join, isAbsolute, resolve, dirname, sep, basename, delimiter } from 'node:path';
|
|
11
|
-
import { p as pruneStaleCompileCaches } from './index-
|
|
12
|
-
import { a as authAndSetupMachineIfNeeded } from './auth-
|
|
13
|
-
import { c as configuration, f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-
|
|
11
|
+
import { p as pruneStaleCompileCaches } from './index-Db37vLNO.mjs';
|
|
12
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-DQXTRjY6.mjs';
|
|
13
|
+
import { c as configuration, f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-CczSAm2B.mjs';
|
|
14
14
|
import { spawn, execSync } from 'child_process';
|
|
15
|
-
import { p as packageJson } from './package-
|
|
16
|
-
import { a as globalPrefixForPackage, g as getEnvironmentInfo } from './doctor-
|
|
17
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
18
|
-
import { b as readPersistedSessions, r as readSettings, l as latchKeepAwake, q as reportSignature, s as decideDaemonHibernation, t as nextCheckDelay, v as persistSession, d as readDaemonState, x as acquireDaemonLock, a as resolveCheckMs, y as resolveIdleMs, z as deletePersistedSessions, A as writeDaemonState, B as writeSettings, C as settingIdleMs, u as updateSettings, D as releaseDaemonLock } from './persistence-
|
|
19
|
-
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, b as stopDaemon, t as cleanupDaemonState } from './controlClient-
|
|
20
|
-
import { e as sendUserMessage, f as readSessionMetadata, r as readSessionTranscript, l as listAccountSessions, a as listSessions, M as MAX_READ_LIMIT, s as sessionWebUrl, g as waitForSessionKey, d as archiveSession, j as analyzeLatestTurn, k as readSessionLog, m as TURN_WINDOW, n as userPromptText } from './sessionOps-
|
|
15
|
+
import { p as packageJson } from './package-B5rvg-OE.mjs';
|
|
16
|
+
import { a as globalPrefixForPackage, g as getEnvironmentInfo } from './doctor-DhuH263Y.mjs';
|
|
17
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-Wy-zTOrN.mjs';
|
|
18
|
+
import { b as readPersistedSessions, r as readSettings, l as latchKeepAwake, q as reportSignature, s as decideDaemonHibernation, t as nextCheckDelay, v as persistSession, d as readDaemonState, x as acquireDaemonLock, a as resolveCheckMs, y as resolveIdleMs, z as deletePersistedSessions, A as writeDaemonState, B as writeSettings, C as settingIdleMs, u as updateSettings, D as releaseDaemonLock } from './persistence-DNkY5g1I.mjs';
|
|
19
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, b as stopDaemon, t as cleanupDaemonState } from './controlClient-Bqm1bKwB.mjs';
|
|
20
|
+
import { e as sendUserMessage, f as readSessionMetadata, r as readSessionTranscript, l as listAccountSessions, a as listSessions, M as MAX_READ_LIMIT, s as sessionWebUrl, g as waitForSessionKey, d as archiveSession, j as analyzeLatestTurn, k as readSessionLog, m as TURN_WINDOW, n as userPromptText } from './sessionOps-BjhF0bQV.mjs';
|
|
21
21
|
import fastify from 'fastify';
|
|
22
22
|
import { z } from 'zod';
|
|
23
23
|
import { validatorCompiler, serializerCompiler } from 'fastify-type-provider-zod';
|
|
@@ -25,30 +25,30 @@ import { d as decodeBase64, e as encodeBase64, h as decrypt } from './authRelay-
|
|
|
25
25
|
import { randomBytes, createHash, timingSafeEqual, randomUUID } from 'node:crypto';
|
|
26
26
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
27
27
|
import { a as BACKGROUND_TASKS_MAX, d as BACKGROUND_TASK_DESCRIPTION_MAX, e as BackgroundTaskTracker } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
28
|
-
import { b as sanitizeRateLimitReport } from './rateLimitWindows-
|
|
29
|
-
import { f as formatEditConflictNotice, b as SESSION_PEER_SENT_FROM, s as sendPeerMessage, l as listPeerSessions, C as CLI_PEER_SENDER_ID } from './peerTools-
|
|
28
|
+
import { b as sanitizeRateLimitReport } from './rateLimitWindows-CK4gboUn.mjs';
|
|
29
|
+
import { f as formatEditConflictNotice, b as SESSION_PEER_SENT_FROM, s as sendPeerMessage, l as listPeerSessions, C as CLI_PEER_SENDER_ID } from './peerTools-BGbQrSE5.mjs';
|
|
30
30
|
import os, { hostname, homedir, userInfo, tmpdir } from 'node:os';
|
|
31
|
-
import { c as RemoteCallBudget, e as REMOTE_WRITE_CALLS_PER_MINUTE, d as deliverToSession, g as guardRemoteSessionOpsRequest, h as remoteError, i as REMOTE_OP_DEADLINE_MS, j as formatRemoteAuditLine, k as REMOTE_SEND_COMMIT_DEADLINE_MS, m as REMOTE_RESUME_WAIT_MS, n as capRemoteTranscript, o as capRemoteText, p as REMOTE_ANSWER_MAX_BYTES, q as REMOTE_TITLE_MAX_BYTES } from './remoteSessionClient-
|
|
32
|
-
import { assistantHome, bootstrapAssistantHome } from './bootstrap-
|
|
33
|
-
import { refreshAgentHomes, locateClaudeConversation, agentHomeSpawnEnv } from './index-
|
|
31
|
+
import { c as RemoteCallBudget, e as REMOTE_WRITE_CALLS_PER_MINUTE, d as deliverToSession, g as guardRemoteSessionOpsRequest, h as remoteError, i as REMOTE_OP_DEADLINE_MS, j as formatRemoteAuditLine, k as REMOTE_SEND_COMMIT_DEADLINE_MS, m as REMOTE_RESUME_WAIT_MS, n as capRemoteTranscript, o as capRemoteText, p as REMOTE_ANSWER_MAX_BYTES, q as REMOTE_TITLE_MAX_BYTES } from './remoteSessionClient-ki4eXY3h.mjs';
|
|
32
|
+
import { assistantHome, bootstrapAssistantHome } from './bootstrap-OfAS8Bgg.mjs';
|
|
33
|
+
import { refreshAgentHomes, locateClaudeConversation, agentHomeSpawnEnv } from './index-CFOKovLL.mjs';
|
|
34
34
|
import { existsSync as existsSync$1, statSync as statSync$1, mkdtempSync, rmSync } from 'fs';
|
|
35
35
|
import { join as join$1 } from 'path';
|
|
36
36
|
import { spawn as spawn$1, execFile, spawnSync } from 'node:child_process';
|
|
37
37
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
38
38
|
import { d as daemonEndpointsMatch, r as resolveClaudeCredentialReadiness } from './doctorReadiness-C208SMN9.mjs';
|
|
39
|
-
import { g as getInitialMachineMetadata, a as getStartupCliAvailability } from './machineMetadata-
|
|
40
|
-
import { buildResumeLaunch } from './handleResumeCommand-
|
|
39
|
+
import { g as getInitialMachineMetadata, a as getStartupCliAvailability } from './machineMetadata-CwUeXNyz.mjs';
|
|
40
|
+
import { buildResumeLaunch } from './handleResumeCommand-CRZELVI2.mjs';
|
|
41
41
|
import { access, symlink, readFile, rm, unlink, readlink, lstat, constants, stat, open } from 'node:fs/promises';
|
|
42
42
|
import { p as parseExactVersion, c as compareExactVersions, f as fetchCliUpdateState, r as resolveCliUpdateCheckInterval, D as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS } from './cliUpdate-Y34VGe9Y.mjs';
|
|
43
|
-
import { c as createAutomationsClient, i as isAutomationsUnavailable, d as AutomationsRequestError } from './client-
|
|
43
|
+
import { c as createAutomationsClient, i as isAutomationsUnavailable, d as AutomationsRequestError } from './client-DGIu5Gpl.mjs';
|
|
44
44
|
import { createRequire } from 'node:module';
|
|
45
45
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
46
46
|
import { b as extractClaudeEditPaths } from './editPaths-BVfS_FFL.mjs';
|
|
47
|
-
import { s as startFileWatcher } from './startFileWatcher-
|
|
48
|
-
import { I as InvalidateSync } from './sync-
|
|
47
|
+
import { s as startFileWatcher } from './startFileWatcher-B9J-kZuG.mjs';
|
|
48
|
+
import { I as InvalidateSync } from './sync-Dsmp8C_N.mjs';
|
|
49
49
|
import { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
50
50
|
import { t as tmuxArgs, a as scrubTmuxClientEnv, s as shellescape } from './tmuxSocket-B8Yx20sT.mjs';
|
|
51
|
-
import { p as processIdentityFields, r as readSessionLock, t as terminateProcess } from './sessionLock-
|
|
51
|
+
import { p as processIdentityFields, r as readSessionLock, t as terminateProcess } from './sessionLock-BDY56_PF.mjs';
|
|
52
52
|
import { findAllHappyProcesses } from './doctor-BPkYWSuq.mjs';
|
|
53
53
|
import { T as TEAM_SKILL } from './resources-BdFBQi8r.mjs';
|
|
54
54
|
import { promisify } from 'node:util';
|
|
@@ -56,15 +56,15 @@ import { t as AUTOMATION_SUMMARY_MAX_CHARS, u as AUTOMATION_PRECHECK_OUTPUT_MAX_
|
|
|
56
56
|
import { c as clipText, r as renderAction, b as renderTemplate } from './template-CiOPa2rd.mjs';
|
|
57
57
|
import { d as detectDaemonSupervisor } from './daemonSupervisor-C6urv3_8.mjs';
|
|
58
58
|
import { d as describeAgentHome } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
59
|
-
import './sessionModeFile-
|
|
60
|
-
import './lidState-
|
|
59
|
+
import './sessionModeFile-CDaVySTE.mjs';
|
|
60
|
+
import './lidState-GK3HlYtx.mjs';
|
|
61
61
|
import 'os';
|
|
62
62
|
import 'node:events';
|
|
63
63
|
import 'socket.io-client';
|
|
64
64
|
import './attachmentLimits-CxG3T18E.mjs';
|
|
65
65
|
import './limits-DIo7rEBR.mjs';
|
|
66
|
-
import './time-
|
|
67
|
-
import './registerCommonHandlers-
|
|
66
|
+
import './time-DBacEFU-.mjs';
|
|
67
|
+
import './registerCommonHandlers-CzFbA5i1.mjs';
|
|
68
68
|
import 'util';
|
|
69
69
|
import 'crypto';
|
|
70
70
|
import 'cross-spawn';
|
|
@@ -72,12 +72,12 @@ import '@paralleldrive/cuid2';
|
|
|
72
72
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
73
73
|
import 'chalk';
|
|
74
74
|
import 'tweetnacl';
|
|
75
|
-
import './browser-
|
|
75
|
+
import './browser-CeHeLG0k.mjs';
|
|
76
76
|
import 'open';
|
|
77
77
|
import './ids-DU6sLx4C.mjs';
|
|
78
78
|
import 'url';
|
|
79
79
|
import './detectCLI-CSGMlV51.mjs';
|
|
80
|
-
import './localHappyAgentAuth-
|
|
80
|
+
import './localHappyAgentAuth-EsS_R-Iu.mjs';
|
|
81
81
|
import 'ps-list';
|
|
82
82
|
|
|
83
83
|
async function resolveRelaunchMetadata(snapshot, fetchServer) {
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
|
-
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyHibernationReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata } from './sessionLock-
|
|
3
|
-
import { r as readSettings, H as HIBERNATION_CAPABILITY, a as resolveCheckMs, l as latchKeepAwake, e as evaluateWrapperIdle } from './persistence-
|
|
4
|
-
import { D as DEFAULT_CLAUDE_PERMISSION_MODE, H as HibernationProbe, c as commitHibernation } from './defaultPermissionMode-
|
|
2
|
+
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyHibernationReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata } from './sessionLock-BDY56_PF.mjs';
|
|
3
|
+
import { r as readSettings, H as HIBERNATION_CAPABILITY, a as resolveCheckMs, l as latchKeepAwake, e as evaluateWrapperIdle } from './persistence-DNkY5g1I.mjs';
|
|
4
|
+
import { D as DEFAULT_CLAUDE_PERMISSION_MODE, H as HibernationProbe, c as commitHibernation } from './defaultPermissionMode-CyfUQMy-.mjs';
|
|
5
5
|
import { randomUUID } from 'node:crypto';
|
|
6
|
-
import { c as connectionState, A as ApiClient, s as startOfflineReconnection } from './api-
|
|
7
|
-
import { l as logger } from './logger-
|
|
8
|
-
import { s as spawnOriginTags, a as sessionWorktreeMetadata } from './createSessionMetadata-
|
|
9
|
-
import { p as packageJson } from './package-
|
|
6
|
+
import { c as connectionState, A as ApiClient, s as startOfflineReconnection } from './api-i0qw8FqA.mjs';
|
|
7
|
+
import { l as logger } from './logger-DbUGowSt.mjs';
|
|
8
|
+
import { s as spawnOriginTags, a as sessionWorktreeMetadata } from './createSessionMetadata-hEt2w-sO.mjs';
|
|
9
|
+
import { p as packageJson } from './package-B5rvg-OE.mjs';
|
|
10
10
|
import { P as PROMPT_QUEUE_CAPABILITY } from './index-B0HEEYGh.mjs';
|
|
11
11
|
import { F as FORK_BACKFILL_CAPABILITY, p as publishForkBackfillWhenCommitted } from './forkBackfill-DYIjlN1Z.mjs';
|
|
12
|
-
import { c as configuration } from './configuration-
|
|
13
|
-
import { n as notifyDaemonSessionStarted, c as checkDaemonHibernation } from './controlClient-
|
|
14
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
12
|
+
import { c as configuration } from './configuration-CczSAm2B.mjs';
|
|
13
|
+
import { n as notifyDaemonSessionStarted, c as checkDaemonHibernation } from './controlClient-Bqm1bKwB.mjs';
|
|
14
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-CwUeXNyz.mjs';
|
|
15
15
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
16
16
|
import { resolve, join } from 'node:path';
|
|
17
17
|
import { a as applySandboxPermissionPolicy, r as resolveInitialClaudePermissionMode, m as mapToClaudeMode, b as reconcilePublishedPermissionMode } from './permissionMode-CH4FoZfU.mjs';
|
|
18
18
|
import { d as decodeBase64, e as encodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
19
19
|
import { readFile } from 'node:fs/promises';
|
|
20
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, s as stripAttachmentManifest } from './attachmentContent-
|
|
20
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, s as stripAttachmentManifest } from './attachmentContent-DrVi20GN.mjs';
|
|
21
21
|
import { T as TranscriptPathHints } from './transcriptCursor-B7T_gkQ0.mjs';
|
|
22
22
|
import { p as planClaudeStartup } from './startupPlan-DFMyNgAs.mjs';
|
|
23
23
|
import 'node:fs';
|
|
24
24
|
import 'zod';
|
|
25
25
|
import 'axios';
|
|
26
|
-
import './lidState-
|
|
26
|
+
import './lidState-GK3HlYtx.mjs';
|
|
27
27
|
import 'os';
|
|
28
28
|
import 'child_process';
|
|
29
29
|
import 'node:events';
|
|
30
30
|
import 'socket.io-client';
|
|
31
31
|
import './attachmentLimits-CxG3T18E.mjs';
|
|
32
32
|
import './limits-DIo7rEBR.mjs';
|
|
33
|
-
import './time-
|
|
34
|
-
import './registerCommonHandlers-
|
|
33
|
+
import './time-DBacEFU-.mjs';
|
|
34
|
+
import './registerCommonHandlers-CzFbA5i1.mjs';
|
|
35
35
|
import 'util';
|
|
36
36
|
import 'fs/promises';
|
|
37
37
|
import 'crypto';
|
|
38
38
|
import 'path';
|
|
39
39
|
import 'cross-spawn';
|
|
40
40
|
import '@paralleldrive/cuid2';
|
|
41
|
-
import './sync-
|
|
41
|
+
import './sync-Dsmp8C_N.mjs';
|
|
42
42
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
43
43
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
44
44
|
import 'chalk';
|
|
45
45
|
import 'node:util';
|
|
46
46
|
import './detectCLI-CSGMlV51.mjs';
|
|
47
47
|
import 'fs';
|
|
48
|
-
import './localHappyAgentAuth-
|
|
48
|
+
import './localHappyAgentAuth-EsS_R-Iu.mjs';
|
|
49
49
|
import 'tweetnacl';
|
|
50
50
|
import 'url';
|
|
51
51
|
|
|
52
52
|
const DEFAULT_CLAUDE_MODEL = void 0;
|
|
53
53
|
const DEFAULT_CLAUDE_EFFORT = void 0;
|
|
54
|
-
const importRunClaudeDeps = () => import('./runClaudeDeps-
|
|
54
|
+
const importRunClaudeDeps = () => import('./runClaudeDeps-DopsdFbJ.mjs');
|
|
55
55
|
async function runClaude(credentials, options = {}) {
|
|
56
56
|
logger.debug(`[CLAUDE] ===== CLAUDE MODE STARTING =====`);
|
|
57
57
|
logger.debug(`[CLAUDE] This is the Claude agent, NOT Gemini`);
|
|
@@ -65,7 +65,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
65
65
|
const isAssistantVariant = process.env.HAPPY_SESSION_VARIANT === "assistant";
|
|
66
66
|
if (isAssistantVariant) {
|
|
67
67
|
try {
|
|
68
|
-
const { bootstrapAssistantHome } = await import('./bootstrap-
|
|
68
|
+
const { bootstrapAssistantHome } = await import('./bootstrap-OfAS8Bgg.mjs');
|
|
69
69
|
await bootstrapAssistantHome();
|
|
70
70
|
} catch (error) {
|
|
71
71
|
logger.debug("[START] Assistant home bootstrap failed:", error);
|
|
@@ -185,7 +185,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
185
185
|
}
|
|
186
186
|
if (!response) {
|
|
187
187
|
let offlineSessionId = null;
|
|
188
|
-
const { claudeLocal } = await import('./claudeLocal-
|
|
188
|
+
const { claudeLocal } = await import('./claudeLocal-DGpVW-Db.mjs');
|
|
189
189
|
const { createSessionScanner: createSessionScanner2 } = await loadDeps();
|
|
190
190
|
const reconnection = startOfflineReconnection({
|
|
191
191
|
serverUrl: configuration.serverUrl,
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
|
-
var sessionLock = require('./sessionLock-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var defaultPermissionMode = require('./defaultPermissionMode-
|
|
4
|
+
var sessionLock = require('./sessionLock-CUM-w8Ig.cjs');
|
|
5
|
+
var persistence = require('./persistence-DLaLYRoC.cjs');
|
|
6
|
+
var defaultPermissionMode = require('./defaultPermissionMode-ozju0X1j.cjs');
|
|
7
7
|
var node_crypto = require('node:crypto');
|
|
8
|
-
var api = require('./api-
|
|
9
|
-
var logger = require('./logger-
|
|
10
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
11
|
-
var _package = require('./package-
|
|
8
|
+
var api = require('./api-CiJ4IqyD.cjs');
|
|
9
|
+
var logger = require('./logger-DIS8AbMx.cjs');
|
|
10
|
+
var createSessionMetadata = require('./createSessionMetadata-CN9RXv2q.cjs');
|
|
11
|
+
var _package = require('./package-B8p4v66y.cjs');
|
|
12
12
|
var index = require('./index-C9hI8a10.cjs');
|
|
13
13
|
var forkBackfill = require('./forkBackfill-8eLDeS73.cjs');
|
|
14
|
-
var configuration = require('./configuration-
|
|
15
|
-
var controlClient = require('./controlClient-
|
|
16
|
-
var machineMetadata = require('./machineMetadata-
|
|
14
|
+
var configuration = require('./configuration-DXcI7IeR.cjs');
|
|
15
|
+
var controlClient = require('./controlClient-Da9EoZh6.cjs');
|
|
16
|
+
var machineMetadata = require('./machineMetadata-qpt6AuVo.cjs');
|
|
17
17
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
18
18
|
var path = require('node:path');
|
|
19
19
|
var permissionMode = require('./permissionMode-CrV-XuMs.cjs');
|
|
20
20
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
21
21
|
var promises = require('node:fs/promises');
|
|
22
|
-
var attachmentContent = require('./attachmentContent-
|
|
22
|
+
var attachmentContent = require('./attachmentContent-D6D1jDQW.cjs');
|
|
23
23
|
var transcriptCursor = require('./transcriptCursor-DcXGLeSc.cjs');
|
|
24
24
|
var startupPlan = require('./startupPlan-BLMbfQIH.cjs');
|
|
25
25
|
require('node:fs');
|
|
26
26
|
require('zod');
|
|
27
27
|
require('axios');
|
|
28
|
-
require('./lidState-
|
|
28
|
+
require('./lidState-CtuUvIWZ.cjs');
|
|
29
29
|
require('os');
|
|
30
30
|
require('child_process');
|
|
31
31
|
require('node:events');
|
|
32
32
|
require('socket.io-client');
|
|
33
33
|
require('./attachmentLimits-BEYEEBm8.cjs');
|
|
34
34
|
require('./limits-C-a7gr04.cjs');
|
|
35
|
-
require('./time-
|
|
36
|
-
require('./registerCommonHandlers-
|
|
35
|
+
require('./time-CIM3MU7S.cjs');
|
|
36
|
+
require('./registerCommonHandlers-0bzxvzue.cjs');
|
|
37
37
|
require('util');
|
|
38
38
|
require('fs/promises');
|
|
39
39
|
require('crypto');
|
|
40
40
|
require('path');
|
|
41
41
|
require('cross-spawn');
|
|
42
42
|
require('@paralleldrive/cuid2');
|
|
43
|
-
require('./sync-
|
|
43
|
+
require('./sync-C0Sv0aB6.cjs');
|
|
44
44
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
45
45
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
46
46
|
require('chalk');
|
|
47
47
|
require('node:util');
|
|
48
48
|
require('./detectCLI-DR9ZaN6B.cjs');
|
|
49
49
|
require('fs');
|
|
50
|
-
require('./localHappyAgentAuth-
|
|
50
|
+
require('./localHappyAgentAuth-NaSFE8Vd.cjs');
|
|
51
51
|
require('tweetnacl');
|
|
52
52
|
require('url');
|
|
53
53
|
|
|
54
54
|
const DEFAULT_CLAUDE_MODEL = void 0;
|
|
55
55
|
const DEFAULT_CLAUDE_EFFORT = void 0;
|
|
56
|
-
const importRunClaudeDeps = () => Promise.resolve().then(function () { return require('./runClaudeDeps-
|
|
56
|
+
const importRunClaudeDeps = () => Promise.resolve().then(function () { return require('./runClaudeDeps-p2Sb_Cxf.cjs'); });
|
|
57
57
|
async function runClaude(credentials, options = {}) {
|
|
58
58
|
logger.logger.debug(`[CLAUDE] ===== CLAUDE MODE STARTING =====`);
|
|
59
59
|
logger.logger.debug(`[CLAUDE] This is the Claude agent, NOT Gemini`);
|
|
@@ -67,7 +67,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
67
67
|
const isAssistantVariant = process.env.HAPPY_SESSION_VARIANT === "assistant";
|
|
68
68
|
if (isAssistantVariant) {
|
|
69
69
|
try {
|
|
70
|
-
const { bootstrapAssistantHome } = await Promise.resolve().then(function () { return require('./bootstrap-
|
|
70
|
+
const { bootstrapAssistantHome } = await Promise.resolve().then(function () { return require('./bootstrap-CrzzWd89.cjs'); });
|
|
71
71
|
await bootstrapAssistantHome();
|
|
72
72
|
} catch (error) {
|
|
73
73
|
logger.logger.debug("[START] Assistant home bootstrap failed:", error);
|
|
@@ -187,7 +187,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
187
187
|
}
|
|
188
188
|
if (!response) {
|
|
189
189
|
let offlineSessionId = null;
|
|
190
|
-
const { claudeLocal } = await Promise.resolve().then(function () { return require('./claudeLocal-
|
|
190
|
+
const { claudeLocal } = await Promise.resolve().then(function () { return require('./claudeLocal-CQn6Ccnx.cjs'); });
|
|
191
191
|
const { createSessionScanner: createSessionScanner2 } = await loadDeps();
|
|
192
192
|
const reconnection = api.startOfflineReconnection({
|
|
193
193
|
serverUrl: configuration.configuration.serverUrl,
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { o as notifyDaemonSessionEvent, q as notifyDaemonClaudeAuthFailed } from './controlClient-
|
|
3
|
-
export { j as reportSessionEditToDaemon } from './controlClient-
|
|
1
|
+
import { l as logger } from './logger-DbUGowSt.mjs';
|
|
2
|
+
import { o as notifyDaemonSessionEvent, q as notifyDaemonClaudeAuthFailed } from './controlClient-Bqm1bKwB.mjs';
|
|
3
|
+
export { j as reportSessionEditToDaemon } from './controlClient-Bqm1bKwB.mjs';
|
|
4
4
|
import { s as sameBackgroundTasks, c as createBackgroundTaskTracker } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
5
5
|
import { randomInt, randomUUID, createHash } from 'node:crypto';
|
|
6
6
|
import { M as MessageBuffer } from './messageBuffer-BWlGgR3A.mjs';
|
|
7
7
|
import { query } from './index-B6UGRQ7h.mjs';
|
|
8
8
|
import { AbortError } from '@anthropic-ai/claude-agent-sdk';
|
|
9
9
|
import { m as mapToClaudeMode, p as parseClaudePermissionMode, c as resolveRemoteClaudePermissionMode } from './permissionMode-CH4FoZfU.mjs';
|
|
10
|
-
import { c as claudeCheckSession, s as systemPrompt } from './systemPrompt-
|
|
10
|
+
import { c as claudeCheckSession, s as systemPrompt } from './systemPrompt-B8v-SKdI.mjs';
|
|
11
11
|
import { join, resolve, dirname } from 'node:path';
|
|
12
|
-
import { p as parseSpecialCommand, w as wrapperRateLimitReporter } from './specialCommands-
|
|
12
|
+
import { p as parseSpecialCommand, w as wrapperRateLimitReporter } from './specialCommands-BbRAklFw.mjs';
|
|
13
13
|
import 'axios';
|
|
14
14
|
import 'node:events';
|
|
15
15
|
import 'socket.io-client';
|
|
16
16
|
import { A as AsyncLock } from './attachmentLimits-CxG3T18E.mjs';
|
|
17
17
|
import 'tweetnacl';
|
|
18
|
-
import { c as configuration, e as ensurePrivateDirectory } from './configuration-
|
|
18
|
+
import { c as configuration, e as ensurePrivateDirectory } from './configuration-CczSAm2B.mjs';
|
|
19
19
|
import './index-B0HEEYGh.mjs';
|
|
20
|
-
import './registerCommonHandlers-
|
|
20
|
+
import './registerCommonHandlers-CzFbA5i1.mjs';
|
|
21
21
|
import 'os';
|
|
22
22
|
import 'child_process';
|
|
23
23
|
import '@paralleldrive/cuid2';
|
|
24
|
-
import './persistence-
|
|
24
|
+
import './persistence-DNkY5g1I.mjs';
|
|
25
25
|
import { c as contentLogMetadata } from './contentLogMetadata-BlWI0egu.mjs';
|
|
26
26
|
import 'chalk';
|
|
27
27
|
export { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
28
28
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
29
29
|
import { access } from 'fs/promises';
|
|
30
|
-
import { d as delay } from './time-
|
|
30
|
+
import { d as delay } from './time-DBacEFU-.mjs';
|
|
31
31
|
import { mkdirSync, writeFileSync, readFileSync, unlinkSync, renameSync, statSync, existsSync } from 'node:fs';
|
|
32
|
-
import { h as hashObject } from './deterministicJson-
|
|
33
|
-
export { s as startHappyServer } from './deterministicJson-
|
|
34
|
-
import { F as Future } from './sessionScanner-
|
|
35
|
-
export { c as createSessionScanner } from './sessionScanner-
|
|
32
|
+
import { h as hashObject } from './deterministicJson-vMEVc_WV.mjs';
|
|
33
|
+
export { s as startHappyServer } from './deterministicJson-vMEVc_WV.mjs';
|
|
34
|
+
import { F as Future } from './sessionScanner-Dt3d3m7X.mjs';
|
|
35
|
+
export { c as createSessionScanner } from './sessionScanner-Dt3d3m7X.mjs';
|
|
36
36
|
import { execSync } from 'node:child_process';
|
|
37
37
|
import { S as StreamRelay } from './streamRelay-Iogsh51a.mjs';
|
|
38
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, c as chatAttachmentDirectory, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-
|
|
38
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, c as chatAttachmentDirectory, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-DrVi20GN.mjs';
|
|
39
39
|
import { writeFile, rename, unlink, readFile } from 'node:fs/promises';
|
|
40
|
-
import { F as ForkSourceMissingError } from './claudeSessionFork-
|
|
41
|
-
export { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
42
|
-
export { g as getEnvironmentInfo } from './doctor-
|
|
40
|
+
import { F as ForkSourceMissingError } from './claudeSessionFork-CvwzftO-.mjs';
|
|
41
|
+
export { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-5D_togUJ.mjs';
|
|
42
|
+
export { g as getEnvironmentInfo } from './doctor-DhuH263Y.mjs';
|
|
43
43
|
import { createServer } from 'node:http';
|
|
44
44
|
export { E as EditReportThrottle, b as extractClaudeEditPaths } from './editPaths-BVfS_FFL.mjs';
|
|
45
45
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
46
|
-
import { r as resolveClaudeBinary, a as runClaudeOneShot } from './titleGenerator-
|
|
47
|
-
export { T as TitleGenerator } from './titleGenerator-
|
|
46
|
+
import { r as resolveClaudeBinary, a as runClaudeOneShot } from './titleGenerator-DpcjOg6b.mjs';
|
|
47
|
+
export { T as TitleGenerator } from './titleGenerator-DpcjOg6b.mjs';
|
|
48
48
|
import { B as BOARD_ANALYZER_PROMPT_PREFIX } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
49
|
-
import { i as isSelfReportFresh } from './reportProgressTool-
|
|
50
|
-
export { c as createSelfReportState } from './reportProgressTool-
|
|
49
|
+
import { i as isSelfReportFresh } from './reportProgressTool-mpXIQuie.mjs';
|
|
50
|
+
export { c as createSelfReportState } from './reportProgressTool-mpXIQuie.mjs';
|
|
51
51
|
import 'node:util';
|
|
52
52
|
import './smallFastModel-BLNgMrwR.mjs';
|
|
53
53
|
import './trimIdent-BAjmv_TG.mjs';
|
|
54
54
|
import 'node:os';
|
|
55
55
|
import './agentGuidance-BDYt2Qy2.mjs';
|
|
56
|
-
import './rateLimitWindows-
|
|
56
|
+
import './rateLimitWindows-CK4gboUn.mjs';
|
|
57
57
|
import 'zod';
|
|
58
|
-
import './package-
|
|
58
|
+
import './package-B5rvg-OE.mjs';
|
|
59
59
|
import 'util';
|
|
60
60
|
import 'crypto';
|
|
61
61
|
import 'path';
|
|
62
62
|
import 'cross-spawn';
|
|
63
63
|
import './authRelay-DSAvg1uv.mjs';
|
|
64
|
-
import './client-
|
|
65
|
-
import './context-
|
|
66
|
-
import './sessionOps-
|
|
64
|
+
import './client-D3WS1V3e.mjs';
|
|
65
|
+
import './context-BYY9_3qk.mjs';
|
|
66
|
+
import './sessionOps-BjhF0bQV.mjs';
|
|
67
67
|
import './resources-BdFBQi8r.mjs';
|
|
68
|
-
import './tools-
|
|
69
|
-
import './peerTools-
|
|
68
|
+
import './tools-BNVaJPLF.mjs';
|
|
69
|
+
import './peerTools-BGbQrSE5.mjs';
|
|
70
70
|
import './ids-DU6sLx4C.mjs';
|
|
71
|
-
import './remoteSessionClient-
|
|
71
|
+
import './remoteSessionClient-ki4eXY3h.mjs';
|
|
72
72
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
73
73
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
74
74
|
import './limits-DIo7rEBR.mjs';
|
|
75
|
-
import './downloadTarget-
|
|
75
|
+
import './downloadTarget-DhAsrL4g.mjs';
|
|
76
76
|
import './terminals-Dlg0x3nY.mjs';
|
|
77
77
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
78
78
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
79
|
-
import './bootstrap-
|
|
79
|
+
import './bootstrap-OfAS8Bgg.mjs';
|
|
80
80
|
import './previewPath-CXN4Vag0.mjs';
|
|
81
|
-
import './sync-
|
|
81
|
+
import './sync-Dsmp8C_N.mjs';
|
|
82
82
|
import './transcriptCursor-B7T_gkQ0.mjs';
|
|
83
|
-
import './startFileWatcher-
|
|
83
|
+
import './startFileWatcher-B9J-kZuG.mjs';
|
|
84
84
|
import 'node:readline';
|
|
85
85
|
import './doctor-BPkYWSuq.mjs';
|
|
86
86
|
import 'ps-list';
|
|
@@ -88,11 +88,11 @@ import './doctorReadiness-C208SMN9.mjs';
|
|
|
88
88
|
import './detectCLI-CSGMlV51.mjs';
|
|
89
89
|
import 'fs';
|
|
90
90
|
import './cliUpdate-Y34VGe9Y.mjs';
|
|
91
|
-
import './piRunnerArgs-
|
|
92
|
-
import './sessionModeFile-
|
|
91
|
+
import './piRunnerArgs--s-4cr4b.mjs';
|
|
92
|
+
import './sessionModeFile-CDaVySTE.mjs';
|
|
93
93
|
import 'url';
|
|
94
94
|
import 'node:module';
|
|
95
|
-
import './client-
|
|
95
|
+
import './client-DGIu5Gpl.mjs';
|
|
96
96
|
import './precheckCompat-DeEbilbr.mjs';
|
|
97
97
|
|
|
98
98
|
const SCHEDULE_WAKEUP_GRACE_MS = 6e4;
|
|
@@ -3968,7 +3968,7 @@ async function loop(opts) {
|
|
|
3968
3968
|
logger.debug(`[loop] Iteration with mode: ${mode}`);
|
|
3969
3969
|
switch (mode) {
|
|
3970
3970
|
case "local": {
|
|
3971
|
-
const { claudeLocalLauncher } = await import('./claudeLocalLauncher-
|
|
3971
|
+
const { claudeLocalLauncher } = await import('./claudeLocalLauncher-CvCQEoJM.mjs');
|
|
3972
3972
|
const result = await claudeLocalLauncher(session);
|
|
3973
3973
|
switch (result.type) {
|
|
3974
3974
|
case "switch":
|