very-happy-cli 0.2.185 → 0.2.186
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-DkoqWhTa.mjs → AcpBackend-ConXUH67.mjs} +3 -3
- package/dist/{AcpBackend-CCqL9mP1.cjs → AcpBackend-aVv-_nH_.cjs} +3 -3
- package/dist/{AcpSessionManager-BNPex8tJ.mjs → AcpSessionManager-BxD1AQ8L.mjs} +2 -2
- package/dist/{AcpSessionManager-DrtAJQUH.cjs → AcpSessionManager-aRdzf_6R.cjs} +2 -2
- package/dist/{BasePermissionHandler-DJZITwmL.cjs → BasePermissionHandler-BsOLZCNB.cjs} +1 -1
- package/dist/{BasePermissionHandler-Dd4oGPDg.mjs → BasePermissionHandler-Hj7Qregq.mjs} +1 -1
- package/dist/{acpSessionResume-_2NtETqb.mjs → acpSessionResume-CKacrrHV.mjs} +1 -1
- package/dist/{acpSessionResume-umHzSMbQ.cjs → acpSessionResume-CpPNoxaW.cjs} +1 -1
- package/dist/{agentHome-Dv_hRIt7.mjs → agentHome-CawmLuWV.mjs} +4 -4
- package/dist/{agentHome-CmIMqMWy.cjs → agentHome-VS7FrFQZ.cjs} +4 -4
- package/dist/{api-BTS8mqLy.mjs → api-DUFy21Nf.mjs} +10 -10
- package/dist/{api-BSz8MYte.cjs → api-DjqQTT16.cjs} +10 -10
- package/dist/{apiMachine-BcjccOmd.mjs → apiMachine-B0sBCHNZ.mjs} +14 -14
- package/dist/{apiMachine-utCDabnO.cjs → apiMachine-D2BrVBYu.cjs} +14 -14
- package/dist/{attachmentContent-hkdGP2NV.cjs → attachmentContent-2kInPZrP.cjs} +2 -2
- package/dist/{attachmentContent-DpOzgDTw.mjs → attachmentContent-D01-pLOB.mjs} +2 -2
- package/dist/{auth-CpbTj74y.mjs → auth-B-CqTcVh.mjs} +8 -8
- package/dist/{auth-B8nCUEiK.cjs → auth-CImUXAjH.cjs} +5 -5
- package/dist/{auth-DzXdF08E.cjs → auth-CujfCIv-.cjs} +8 -8
- package/dist/{auth-BKD2U9S2.mjs → auth-DP3eN2Fv.mjs} +5 -5
- package/dist/{auto-C-NK2JS8.mjs → auto-D4KRQIBu.mjs} +17 -17
- package/dist/{auto-E3ouHO37.cjs → auto-oWgZl7mM.cjs} +17 -17
- package/dist/{bootstrap-DIMkxIbR.cjs → bootstrap-B7YvJcVK.cjs} +2 -2
- package/dist/{bootstrap-DV4dqeCe.mjs → bootstrap-MFmMruyB.mjs} +2 -2
- package/dist/{browser-Ch50ZchJ.cjs → browser-C19iD31j.cjs} +1 -1
- package/dist/{browser-C0xt1NE-.mjs → browser-CfFbN1Us.mjs} +1 -1
- package/dist/{claudeLocal-Curd8-dn.cjs → claudeLocal-C4A7-BmS.cjs} +5 -5
- package/dist/{claudeLocal-D-U3fIdS.mjs → claudeLocal-C6wNx9qH.mjs} +5 -5
- package/dist/{claudeLocalLauncher-BEJ9Wad_.cjs → claudeLocalLauncher-BfCKs7Le.cjs} +10 -10
- package/dist/{claudeLocalLauncher-BTNUVzRK.mjs → claudeLocalLauncher-DdPfufcS.mjs} +10 -10
- package/dist/{claudeSessionFork-DMdeScGk.cjs → claudeSessionFork-B8NjdHYD.cjs} +1 -1
- package/dist/{claudeSessionFork-JPEHVbfR.mjs → claudeSessionFork-D8XT48Lf.mjs} +1 -1
- package/dist/{client-Ct1rnpJw.mjs → client-BfGuTBMO.mjs} +2 -2
- package/dist/{client-D1rJt15-.mjs → client-CKM07bJH.mjs} +4 -4
- package/dist/{client-qgKef7S6.cjs → client-CMIhQ32m.cjs} +2 -2
- package/dist/{client-C54hMWx6.cjs → client-CTNxuHVc.cjs} +2 -2
- package/dist/{client-D2lOnvzs.mjs → client-DAnQqPmc.mjs} +2 -2
- package/dist/{client-dpo5EbS9.cjs → client-jAdkYZRf.cjs} +4 -4
- package/dist/codex/happyMcpStdioBridge.cjs +16 -16
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAppServerClient-CM3O0zHW.mjs → codexAppServerClient-DhOC61k9.mjs} +3 -3
- package/dist/{codexAppServerClient-DGeqZViU.cjs → codexAppServerClient-Dv1Mh3MS.cjs} +3 -3
- package/dist/{codexCommand-D_8fbJEk.cjs → codexCommand-CWrFt3Ne.cjs} +42 -42
- package/dist/{codexCommand-CkdopWS7.mjs → codexCommand-D3_i93Rm.mjs} +42 -42
- package/dist/{codexTermination-FO52Ahcx.mjs → codexTermination-B08GgahL.mjs} +1 -1
- package/dist/{codexTermination-MG2j2DDX.cjs → codexTermination-DErS0cGt.cjs} +1 -1
- package/dist/{config-CppOKnWe.mjs → config-D3OBduhj.mjs} +3 -3
- package/dist/{config-IDbpY1Am.cjs → config-D_aj3xgw.cjs} +3 -3
- package/dist/{configuration-CwfmwaLU.cjs → configuration-CI0GWwaT.cjs} +1 -1
- package/dist/{configuration-HPdj5Til.mjs → configuration-DbCHeEeP.mjs} +1 -1
- package/dist/{connect-BNlBIAM8.cjs → connect-839tEkPN.cjs} +13 -13
- package/dist/{connect-1YK7vPbW.mjs → connect-BuwVpjkZ.mjs} +13 -13
- package/dist/{context-DetK5c-x.mjs → context-D2Y_qLs0.mjs} +1 -1
- package/dist/{context-D3vDWjiI.cjs → context-zhirgqSw.cjs} +1 -1
- package/dist/{controlClient-DTMI1aTp.cjs → controlClient-BIi1tzEo.cjs} +3 -3
- package/dist/{controlClient-DBylxaEh.mjs → controlClient-Dv80mB_j.mjs} +3 -3
- package/dist/{createSessionMetadata-D2Ll7PlQ.cjs → createSessionMetadata-DT24NjY2.cjs} +2 -2
- package/dist/{createSessionMetadata-D8pfpX4V.mjs → createSessionMetadata-Dqy_DfoF.mjs} +2 -2
- package/dist/{daemonSupervisor-DfzrtNhM.mjs → daemonSupervisor-BxohggqN.mjs} +40 -1
- package/dist/{daemonSupervisor-57JYYzMf.cjs → daemonSupervisor-alqGPANc.cjs} +43 -1
- package/dist/{defaultPermissionMode-DVXkcryy.cjs → defaultPermissionMode-BYqJbPhc.cjs} +2 -2
- package/dist/{defaultPermissionMode-Bkhj_DwT.mjs → defaultPermissionMode-yR27mevc.mjs} +2 -2
- package/dist/{deterministicJson-cEWItQun.mjs → deterministicJson-COiJcmUR.mjs} +13 -13
- package/dist/{deterministicJson-DUCYjhHe.cjs → deterministicJson-CoWlyn_X.cjs} +13 -13
- package/dist/{doctor-tLRILlmz.cjs → doctor-DI6aIOne.cjs} +7 -7
- package/dist/{doctor-DpWtxNeT.mjs → doctor-Ymj096qP.mjs} +7 -7
- package/dist/{downloadTarget-Ci5wcYC2.cjs → downloadTarget-BOXHrxbm.cjs} +6 -6
- package/dist/{downloadTarget-B5b5BHb2.mjs → downloadTarget-DRXCRDub.mjs} +6 -6
- package/dist/{ensureDaemonRunning-Dsv8UPwx.cjs → ensureDaemonRunning-BqNjYnar.cjs} +5 -5
- package/dist/{ensureDaemonRunning-GDGwNDGF.mjs → ensureDaemonRunning-DTrrXAdz.mjs} +5 -5
- package/dist/{handleResumeCommand-CncudrQd.cjs → handleResumeCommand-BBKUGhCv.cjs} +5 -5
- package/dist/{handleResumeCommand-DW7Ml1u5.mjs → handleResumeCommand-DW_MRgtz.mjs} +5 -5
- package/dist/{index-Wf6mKJq9.mjs → index-04pYyzsJ.mjs} +4 -4
- package/dist/{index-DisBaRvM.mjs → index-B9f1vKcC.mjs} +96 -0
- package/dist/{index-Dzb_Bsfu.cjs → index-Bq6VHNdk.cjs} +4 -4
- package/dist/{index-Ub-5xbcU.cjs → index-BumVulwx.cjs} +96 -0
- package/dist/{index-Vx4EQ6wI.cjs → index-CY573fnz.cjs} +4 -4
- package/dist/{index-bT1X9Brv.mjs → index-CmlAXizv.mjs} +4 -4
- package/dist/{index-DRWlaLbe.mjs → index-Cyu_8WAd.mjs} +3 -3
- package/dist/{index-BEHzEYP0.cjs → index-D9lJhXUk.cjs} +39 -39
- package/dist/{index-Bh806Q-1.cjs → index-W8wlfp57.cjs} +3 -3
- package/dist/{index-C1qLnBOk.mjs → index-WW17yjQO.mjs} +40 -40
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CRs4tGBa.cjs → install-C1y_g7kj.cjs} +3 -3
- package/dist/{install-DmF9wfwV.mjs → install-C5XCDwgD.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-wwiu6M3p.cjs → lidState-BxHu6dus.cjs} +1 -1
- package/dist/{lidState-CG9jFcML.mjs → lidState-CZ1ggYiB.mjs} +1 -1
- package/dist/{localHappyAgentAuth-UoytSUX0.cjs → localHappyAgentAuth-BHklNDKQ.cjs} +1 -1
- package/dist/{localHappyAgentAuth-CWha8BiX.mjs → localHappyAgentAuth-OJk4xDwg.mjs} +1 -1
- package/dist/{logger-BjXkscIr.mjs → logger-CpaeM90D.mjs} +2 -2
- package/dist/{logger-CIUMiSLo.cjs → logger-L0pLBOLK.cjs} +2 -2
- package/dist/{machineMetadata-BPlyxzxb.cjs → machineMetadata-YeHF4gSY.cjs} +3 -3
- package/dist/{machineMetadata-Ca4Dpy6s.mjs → machineMetadata-ukaYmmlK.mjs} +3 -3
- package/dist/{main-FD8mmcsK.cjs → main-VyiAJXfb.cjs} +47 -47
- package/dist/{main-CS1U9i4s.mjs → main-pkH_VRP-.mjs} +47 -47
- package/dist/{mcp-BS6rdR8p.mjs → mcp-BwoAhEnN.mjs} +15 -15
- package/dist/{mcp-C7Rm1dTM.cjs → mcp-Y8Xsr2Xh.cjs} +15 -15
- package/dist/{mirrorProtocol-CMJ2HOZF.cjs → mirrorProtocol-Did0-1jn.cjs} +3 -3
- package/dist/{mirrorProtocol-C3Anki4S.mjs → mirrorProtocol-DukUp2Bj.mjs} +3 -3
- package/dist/{package-CRDjc5vK.cjs → package-BuATIMpK.cjs} +7 -7
- package/dist/{package-Do0Y9bGA.mjs → package-DagIeOhi.mjs} +7 -7
- package/dist/{panels-C-jss7nF.mjs → panels-C3dUoUbA.mjs} +5 -5
- package/dist/{panels-DwTHrZuo.cjs → panels-CZ_CRUbM.cjs} +5 -5
- package/dist/{peerTools-CL7zBxlC.mjs → peerTools-CUCqJ83-.mjs} +5 -5
- package/dist/{peerTools-SLRntgX6.cjs → peerTools-Cs3Ln6d0.cjs} +5 -5
- package/dist/{persistence-CNWBdUH2.cjs → persistence-CIzOAWK6.cjs} +2 -2
- package/dist/{persistence-CmVwM5uq.mjs → persistence-FgtDuVAP.mjs} +2 -2
- package/dist/{piRunnerArgs-CXJx3PPx.cjs → piRunnerArgs-CJhXFPM9.cjs} +1 -1
- package/dist/{piRunnerArgs-K0K9Y0Yq.mjs → piRunnerArgs-YbYkfixz.mjs} +1 -1
- package/dist/{piRuntime-Bv41vG05.cjs → piRuntime-CEzoAYHe.cjs} +1 -1
- package/dist/{piRuntime-BSoHy-QJ.mjs → piRuntime-CShuw-1A.mjs} +1 -1
- package/dist/{piTerminal-B8acGxsm.mjs → piTerminal-BvvcgVoW.mjs} +17 -17
- package/dist/{piTerminal-DSs-fnps.cjs → piTerminal-DVr2W6bI.cjs} +17 -17
- package/dist/{pushNotifications-DnpJJ7VR.mjs → pushNotifications-2CyhYAte.mjs} +3 -3
- package/dist/{pushNotifications-C651e0ZZ.cjs → pushNotifications-OtQY-Mfa.cjs} +3 -3
- package/dist/{query-rxLftxvh.mjs → query-B7DvMlYM.mjs} +1 -1
- package/dist/{query-DXFx2VZY.cjs → query-DimRl61I.cjs} +1 -1
- package/dist/{rateLimitWindows-D9mQRGHv.mjs → rateLimitWindows-C0zbGT7K.mjs} +1 -1
- package/dist/{rateLimitWindows-1WoBs8ln.cjs → rateLimitWindows-DwhrA5wy.cjs} +1 -1
- package/dist/{registerCommonHandlers-K-BTp2iR.cjs → registerCommonHandlers-De54jKz8.cjs} +2 -2
- package/dist/{registerCommonHandlers-DpBxSCBi.mjs → registerCommonHandlers-X9lnO2TF.mjs} +2 -2
- package/dist/{registerKillSessionHandler-DwPEAS2G.cjs → registerKillSessionHandler-CAif4Uz4.cjs} +6 -6
- package/dist/{registerKillSessionHandler-BDxd20fg.mjs → registerKillSessionHandler-CrLsN5m3.mjs} +6 -6
- package/dist/{remoteSessionClient-DnFblfFz.cjs → remoteSessionClient-9j3N_bzV.cjs} +5 -5
- package/dist/{remoteSessionClient-DHWfDMHA.mjs → remoteSessionClient-BApor-c2.mjs} +5 -5
- package/dist/{reportProgressTool-DJXfK6rp.mjs → reportProgressTool-6mDoxKuq.mjs} +3 -3
- package/dist/{reportProgressTool-CYgnezAO.cjs → reportProgressTool-RR5VkbDf.cjs} +3 -3
- package/dist/{run-BChqUxs6.cjs → run-B2ZorDI7.cjs} +216 -44
- package/dist/{run-BkixRBWm.mjs → run-CmA3cPD_.mjs} +219 -47
- package/dist/{runClaude-Bdw9vTgv.cjs → runClaude-Dk73bQ0n.cjs} +22 -22
- package/dist/{runClaude-FWTCLnVq.mjs → runClaude-bxwea9mX.mjs} +22 -22
- package/dist/{runClaudeDeps-C6mCzhtO.mjs → runClaudeDeps-DoaYM017.mjs} +43 -43
- package/dist/{runClaudeDeps-CN_moqup.cjs → runClaudeDeps-dVfReVd4.cjs} +38 -38
- package/dist/{runGemini-CzPwEltY.cjs → runGemini-BD-wQe5q.cjs} +33 -33
- package/dist/{runGemini-CI7ut_ng.mjs → runGemini-Dq2iv4UF.mjs} +33 -33
- package/dist/{runOpenClaw-CLw64Nmq.cjs → runOpenClaw-BXLv_bvU.cjs} +18 -18
- package/dist/{runOpenClaw-8V2K_-lg.mjs → runOpenClaw-C1NB1aLx.mjs} +18 -18
- package/dist/{sandbox-DD2oQTt3.cjs → sandbox-9MIBf8kS.cjs} +4 -4
- package/dist/{sandbox-BMkBdvHW.mjs → sandbox-Dqs_T8Jw.mjs} +4 -4
- package/dist/{selfCheck-0jELpLE9.cjs → selfCheck-CkUezhrg.cjs} +37 -37
- package/dist/selfCheck-Dz_Sm7w8.mjs +86 -0
- package/dist/{send-BNjwFaVp.mjs → send-4q066vij.mjs} +8 -8
- package/dist/{send-BoLglO1t.cjs → send-rdhpycNB.cjs} +8 -8
- package/dist/{server-C5wOp8jw.mjs → server-DN6TvjhP.mjs} +4 -4
- package/dist/{server-Uw82k7zD.cjs → server-DxTjt1mK.cjs} +6 -6
- package/dist/{sessionLock-YMRCi-Ec.mjs → sessionLock-DOsE5UUf.mjs} +3 -3
- package/dist/{sessionLock-BTo7Cdbi.cjs → sessionLock-h4162Jrf.cjs} +3 -3
- package/dist/{sessionOps-BO6AesNJ.mjs → sessionOps--9p2IzVA.mjs} +4 -4
- package/dist/{sessionOps-BDHEzyAY.cjs → sessionOps-tmBKG5qg.cjs} +4 -4
- package/dist/{sessionProvider-DLdJJV6A.cjs → sessionProvider-B9w7rFDR.cjs} +5 -5
- package/dist/{sessionProvider-CB9lGJdF.mjs → sessionProvider-C6MHJZ9Z.mjs} +5 -5
- package/dist/{sessionScanner-BkukogZy.mjs → sessionScanner-B6hzp5R9.mjs} +3 -3
- package/dist/{sessionScanner-3TevonZd.cjs → sessionScanner-Bgvz8Uiy.cjs} +3 -3
- package/dist/{sessions-BkBcZSj7.cjs → sessions-DJMVXKRz.cjs} +10 -10
- package/dist/{sessions-Bx-6fXTL.mjs → sessions-iItaUQAF.mjs} +10 -10
- package/dist/{setupOfflineReconnection-DYzysFFJ.mjs → setupOfflineReconnection-DF78nz1N.mjs} +2 -2
- package/dist/{setupOfflineReconnection-DMfoVL-0.cjs → setupOfflineReconnection-DL4HUMDJ.cjs} +2 -2
- package/dist/{spawn-DvyBhowH.cjs → spawn-CL9A8dBJ.cjs} +14 -14
- package/dist/{spawn-CHC32rLr.mjs → spawn-CoYfACsc.mjs} +14 -14
- package/dist/{spawnAgents-D15n6tAj.cjs → spawnAgents-DsJSyLDl.cjs} +1 -1
- package/dist/{spawnAgents-jXo9jIYo.mjs → spawnAgents-f2q31uUV.mjs} +1 -1
- package/dist/{spawnHappyCLI-WYJCvAWD.cjs → spawnHappyCLI-BWOub_Uf.cjs} +1 -1
- package/dist/{spawnHappyCLI-e9MaJWB0.mjs → spawnHappyCLI-BcSO1rF6.mjs} +1 -1
- package/dist/{specialCommands-D00VrQ09.mjs → specialCommands-B-DAeFrU.mjs} +3 -3
- package/dist/{specialCommands-DqrQnKHC.cjs → specialCommands-ByrcSYSh.cjs} +3 -3
- package/dist/{startFileWatcher-VFZ-Bpwa.cjs → startFileWatcher-BZrpUz7_.cjs} +1 -1
- package/dist/{startFileWatcher-CvUUesns.mjs → startFileWatcher-DVia64Vg.mjs} +1 -1
- package/dist/{startupSessionCreate-B25xTUJ4.cjs → startupSessionCreate-63ABDnfJ.cjs} +1 -1
- package/dist/{startupSessionCreate-B6HNLg0g.mjs → startupSessionCreate-CY4tPjlZ.mjs} +1 -1
- package/dist/{streamRelay-GzHxvMem.mjs → streamRelay-B3FloUTT.mjs} +1 -1
- package/dist/{streamRelay-CtTpf-Li.cjs → streamRelay-Cn_uGG6m.cjs} +1 -1
- package/dist/{sync-DliZ1zZh.cjs → sync-CKSmwxec.cjs} +1 -1
- package/dist/{sync-HPnxI4fz.mjs → sync-CZjyTC4v.mjs} +1 -1
- package/dist/{systemPrompt-D9JJpzl_.mjs → systemPrompt-BKUVX-fd.mjs} +2 -2
- package/dist/{systemPrompt-CYvRvanR.cjs → systemPrompt-BPzhf5d5.cjs} +2 -2
- package/dist/{teams-C0PJlIMz.mjs → teams-B2-KPjRg.mjs} +7 -7
- package/dist/{teams-D7Ad6YSf.cjs → teams-CHBszdmc.cjs} +7 -7
- package/dist/{template-BLJxflCH.cjs → template-DPsqlHJQ.cjs} +1 -1
- package/dist/{template-YlpbYGeQ.mjs → template-DuKZw-Sz.mjs} +1 -1
- package/dist/{time-BbJ-NWcl.mjs → time-BsNUVcKH.mjs} +1 -1
- package/dist/{time-BCGGrWp4.cjs → time-DcICfW0N.cjs} +1 -1
- package/dist/{titleGenerator-03Y2uoZW.mjs → titleGenerator-B4b4ah--.mjs} +1 -1
- package/dist/{titleGenerator-IrI84kqh.cjs → titleGenerator-Bvk1mx7G.cjs} +2 -2
- package/dist/{todo-DdV9_uEu.cjs → todo-BN4hhun6.cjs} +6 -6
- package/dist/{todo-DOh8KaxD.mjs → todo-C7--CBge.mjs} +6 -6
- package/dist/{tools-WXF7ApAe.mjs → tools-BILbS8Hh.mjs} +1 -1
- package/dist/{tools-DeoxWyQ0.cjs → tools-Bl5Q_6Nr.cjs} +1 -1
- package/dist/{uninstall-BVYlC0jw.mjs → uninstall-Bjwl9bqK.mjs} +3 -3
- package/dist/{uninstall-oGvAKOlN.cjs → uninstall-_qDbgdxh.cjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-DgWZfw5E.mjs +0 -86
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
import { a as authAndSetupMachineIfNeeded } from './auth-
|
|
2
|
-
import { g as createEnvelope, j as BUILTIN_TODO_DISCOVERY, P as PROMPT_QUEUE_CAPABILITY, I as CODEX_STEER_CAPABILITY, a as PROJECT_SESSION_CAPABILITY } from './index-
|
|
3
|
-
import { h as hashObject, s as startHappyServer, c as createProjectInjector } from './deterministicJson-
|
|
4
|
-
import { s as sharedProjectsClient } from './client-
|
|
1
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-DP3eN2Fv.mjs';
|
|
2
|
+
import { g as createEnvelope, j as BUILTIN_TODO_DISCOVERY, P as PROMPT_QUEUE_CAPABILITY, I as CODEX_STEER_CAPABILITY, a as PROJECT_SESSION_CAPABILITY } from './index-B9f1vKcC.mjs';
|
|
3
|
+
import { h as hashObject, s as startHappyServer, c as createProjectInjector } from './deterministicJson-COiJcmUR.mjs';
|
|
4
|
+
import { s as sharedProjectsClient } from './client-DAnQqPmc.mjs';
|
|
5
5
|
import { unlink } from 'node:fs/promises';
|
|
6
6
|
import { p as publishForkBackfillWhenCommitted, F as FORK_BACKFILL_CAPABILITY } from './forkBackfill-DYIjlN1Z.mjs';
|
|
7
7
|
import { randomUUID } from 'node:crypto';
|
|
8
8
|
import { createId } from '@paralleldrive/cuid2';
|
|
9
|
-
import { t as textResultPayload, d as toolResultContentText, c as connectionState, A as ApiClient } from './api-
|
|
9
|
+
import { t as textResultPayload, d as toolResultContentText, c as connectionState, A as ApiClient } from './api-DUFy21Nf.mjs';
|
|
10
10
|
import { r as registerAgentAttachmentDownloads } from './agentAttachments-M_B5qEF2.mjs';
|
|
11
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-
|
|
11
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-D01-pLOB.mjs';
|
|
12
12
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
13
|
-
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyReconnectReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata, e as exitCursorStamp } from './sessionLock-
|
|
13
|
+
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyReconnectReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata, e as exitCursorStamp } from './sessionLock-DOsE5UUf.mjs';
|
|
14
14
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
15
|
-
import { C as CodexAppServerClient } from './codexAppServerClient-
|
|
16
|
-
import { p as parseSpecialCommand, w as wrapperRateLimitReporter } from './specialCommands-
|
|
17
|
-
import { l as logger } from './logger-
|
|
18
|
-
import { B as BasePermissionHandler } from './BasePermissionHandler-
|
|
19
|
-
import { B as BaseReasoningProcessor, s as settleCodexSession } from './codexTermination-
|
|
15
|
+
import { C as CodexAppServerClient } from './codexAppServerClient-DhOC61k9.mjs';
|
|
16
|
+
import { p as parseSpecialCommand, w as wrapperRateLimitReporter } from './specialCommands-B-DAeFrU.mjs';
|
|
17
|
+
import { l as logger } from './logger-CpaeM90D.mjs';
|
|
18
|
+
import { B as BasePermissionHandler } from './BasePermissionHandler-Hj7Qregq.mjs';
|
|
19
|
+
import { B as BaseReasoningProcessor, s as settleCodexSession } from './codexTermination-B08GgahL.mjs';
|
|
20
20
|
import { execSync } from 'node:child_process';
|
|
21
|
-
import { r as readSettings, l as latchKeepAwake, e as evaluateWrapperIdle, a as resolveCheckMs, H as HIBERNATION_CAPABILITY } from './persistence-
|
|
22
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
23
|
-
import { c as configuration } from './configuration-
|
|
24
|
-
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
21
|
+
import { r as readSettings, l as latchKeepAwake, e as evaluateWrapperIdle, a as resolveCheckMs, H as HIBERNATION_CAPABILITY } from './persistence-FgtDuVAP.mjs';
|
|
22
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-ukaYmmlK.mjs';
|
|
23
|
+
import { c as configuration } from './configuration-DbCHeEeP.mjs';
|
|
24
|
+
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-CrLsN5m3.mjs';
|
|
25
25
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
26
26
|
import { join } from 'node:path';
|
|
27
|
-
import { c as createSessionMetadata } from './createSessionMetadata-
|
|
27
|
+
import { c as createSessionMetadata } from './createSessionMetadata-Dqy_DfoF.mjs';
|
|
28
28
|
import { M as MessageBuffer } from './sessionExitLifecycle-CzkLIgNZ.mjs';
|
|
29
|
-
import { n as notifyDaemonSessionStarted, k as reportSessionEditToDaemon, c as checkDaemonHibernation } from './controlClient-
|
|
30
|
-
import { a as HibernationExitLatch, H as HibernationProbe, c as commitHibernation, b as DEFAULT_CODEX_PERMISSION_MODE } from './defaultPermissionMode-
|
|
29
|
+
import { n as notifyDaemonSessionStarted, k as reportSessionEditToDaemon, c as checkDaemonHibernation } from './controlClient-Dv80mB_j.mjs';
|
|
30
|
+
import { a as HibernationExitLatch, H as HibernationProbe, c as commitHibernation, b as DEFAULT_CODEX_PERMISSION_MODE } from './defaultPermissionMode-yR27mevc.mjs';
|
|
31
31
|
import { d as decodeBase64, e as encodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
32
|
-
import { s as setupOfflineReconnection } from './setupOfflineReconnection-
|
|
33
|
-
import { c as createSessionForStartup } from './startupSessionCreate-
|
|
32
|
+
import { s as setupOfflineReconnection } from './setupOfflineReconnection-DF78nz1N.mjs';
|
|
33
|
+
import { c as createSessionForStartup } from './startupSessionCreate-CY4tPjlZ.mjs';
|
|
34
34
|
import { t as trimIdent } from './trimIdent-BAjmv_TG.mjs';
|
|
35
35
|
import { C as CHANGE_TITLE_INSTRUCTION } from './constants-BC4St0xd.mjs';
|
|
36
36
|
import { E as EditReportThrottle, a as extractCodexPatchPaths } from './editPaths-BVfS_FFL.mjs';
|
|
37
|
-
import { a as extractNoSandboxFlag, e as ensureDaemonRunning } from './ensureDaemonRunning-
|
|
37
|
+
import { a as extractNoSandboxFlag, e as ensureDaemonRunning } from './ensureDaemonRunning-DTrrXAdz.mjs';
|
|
38
38
|
import 'tweetnacl';
|
|
39
39
|
import 'axios';
|
|
40
|
-
import './time-
|
|
41
|
-
import './browser-
|
|
40
|
+
import './time-BsNUVcKH.mjs';
|
|
41
|
+
import './browser-CfFbN1Us.mjs';
|
|
42
42
|
import 'open';
|
|
43
43
|
import 'zod';
|
|
44
44
|
import './prompt-QHuFx9j6.mjs';
|
|
45
|
-
import './reportProgressTool-
|
|
46
|
-
import './client-
|
|
45
|
+
import './reportProgressTool-6mDoxKuq.mjs';
|
|
46
|
+
import './client-BfGuTBMO.mjs';
|
|
47
47
|
import './precheckCompat-DeEbilbr.mjs';
|
|
48
48
|
import './agentGuidance-BDYt2Qy2.mjs';
|
|
49
49
|
import 'node:fs';
|
|
50
50
|
import 'node:os';
|
|
51
51
|
import './pi-CqyoZMjI.mjs';
|
|
52
52
|
import './fileStore-5qpetZS0.mjs';
|
|
53
|
-
import './client-
|
|
53
|
+
import './client-CKM07bJH.mjs';
|
|
54
54
|
import 'node:util';
|
|
55
|
-
import './context-
|
|
56
|
-
import './sessionOps
|
|
55
|
+
import './context-D2Y_qLs0.mjs';
|
|
56
|
+
import './sessionOps--9p2IzVA.mjs';
|
|
57
57
|
import 'socket.io-client';
|
|
58
58
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
59
59
|
import './resources-CLdQfe3b.mjs';
|
|
60
|
-
import './tools-
|
|
61
|
-
import './peerTools-
|
|
60
|
+
import './tools-BILbS8Hh.mjs';
|
|
61
|
+
import './peerTools-CUCqJ83-.mjs';
|
|
62
62
|
import './ids-DU6sLx4C.mjs';
|
|
63
|
-
import './remoteSessionClient-
|
|
63
|
+
import './remoteSessionClient-BApor-c2.mjs';
|
|
64
64
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
65
65
|
import 'node:http';
|
|
66
66
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
67
67
|
import './limits-DIo7rEBR.mjs';
|
|
68
|
-
import './downloadTarget-
|
|
68
|
+
import './downloadTarget-DRXCRDub.mjs';
|
|
69
69
|
import './terminals-Dlg0x3nY.mjs';
|
|
70
70
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
71
71
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
72
|
-
import './bootstrap-
|
|
73
|
-
import './package-
|
|
72
|
+
import './bootstrap-MFmMruyB.mjs';
|
|
73
|
+
import './package-DagIeOhi.mjs';
|
|
74
74
|
import './webPanels-B2_C2-3g.mjs';
|
|
75
|
-
import './pushNotifications-
|
|
75
|
+
import './pushNotifications-2CyhYAte.mjs';
|
|
76
76
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
77
77
|
import './previewPath-CXN4Vag0.mjs';
|
|
78
78
|
import 'crypto';
|
|
79
|
-
import './lidState-
|
|
79
|
+
import './lidState-CZ1ggYiB.mjs';
|
|
80
80
|
import 'os';
|
|
81
81
|
import 'child_process';
|
|
82
82
|
import 'node:events';
|
|
83
|
-
import './registerCommonHandlers-
|
|
83
|
+
import './registerCommonHandlers-X9lnO2TF.mjs';
|
|
84
84
|
import 'util';
|
|
85
85
|
import 'fs/promises';
|
|
86
86
|
import 'path';
|
|
87
87
|
import 'cross-spawn';
|
|
88
|
-
import './sync-
|
|
88
|
+
import './sync-CZjyTC4v.mjs';
|
|
89
89
|
import 'chalk';
|
|
90
90
|
import './processTreeSnapshot-CuLJDNC-.mjs';
|
|
91
91
|
import 'node:readline';
|
|
92
92
|
import './manager-BEsI4qt3.mjs';
|
|
93
93
|
import '@anthropic-ai/sandbox-runtime';
|
|
94
|
-
import './rateLimitWindows-
|
|
94
|
+
import './rateLimitWindows-C0zbGT7K.mjs';
|
|
95
95
|
import './processTree-CP5IvQ2Z.mjs';
|
|
96
96
|
import './detectCLI-CSGMlV51.mjs';
|
|
97
97
|
import 'fs';
|
|
98
|
-
import './localHappyAgentAuth-
|
|
98
|
+
import './localHappyAgentAuth-OJk4xDwg.mjs';
|
|
99
99
|
import './fsMkdir-DumgLTzR.mjs';
|
|
100
100
|
import './types-CkqAACXx.mjs';
|
|
101
101
|
import 'url';
|
|
102
|
-
import './spawnHappyCLI-
|
|
102
|
+
import './spawnHappyCLI-BcSO1rF6.mjs';
|
|
103
103
|
import './doctorReadiness-C208SMN9.mjs';
|
|
104
104
|
|
|
105
105
|
function getStartedSubagents(state) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from 'node:crypto';
|
|
2
|
-
import { l as logger } from './logger-
|
|
2
|
+
import { l as logger } from './logger-CpaeM90D.mjs';
|
|
3
3
|
import { O as OFFLINE_EXIT_STAMP_TIMEOUT_MS } from './sessionExitLifecycle-CzkLIgNZ.mjs';
|
|
4
4
|
|
|
5
5
|
class BaseReasoningProcessor {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_crypto = require('node:crypto');
|
|
4
|
-
var logger = require('./logger-
|
|
4
|
+
var logger = require('./logger-L0pLBOLK.cjs');
|
|
5
5
|
var sessionExitLifecycle = require('./sessionExitLifecycle-DFltxXU8.cjs');
|
|
6
6
|
|
|
7
7
|
class BaseReasoningProcessor {
|
|
@@ -2,15 +2,15 @@ import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
|
2
2
|
import { join } from 'path';
|
|
3
3
|
import { homedir } from 'os';
|
|
4
4
|
import { execSync } from 'child_process';
|
|
5
|
-
import { l as logger } from './logger-
|
|
5
|
+
import { l as logger } from './logger-CpaeM90D.mjs';
|
|
6
6
|
import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './constants-BC4St0xd.mjs';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'node:util';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-DbCHeEeP.mjs';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:os';
|
|
12
12
|
import 'node:path';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-DagIeOhi.mjs';
|
|
14
14
|
import 'node:fs/promises';
|
|
15
15
|
import './trimIdent-BAjmv_TG.mjs';
|
|
16
16
|
|
|
@@ -4,15 +4,15 @@ var require$$0 = require('fs');
|
|
|
4
4
|
var require$$1 = require('path');
|
|
5
5
|
var os = require('os');
|
|
6
6
|
var child_process = require('child_process');
|
|
7
|
-
var logger = require('./logger-
|
|
7
|
+
var logger = require('./logger-L0pLBOLK.cjs');
|
|
8
8
|
var constants = require('./constants-VJ0N6WuG.cjs');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('node:util');
|
|
11
|
-
require('./configuration-
|
|
11
|
+
require('./configuration-CI0GWwaT.cjs');
|
|
12
12
|
require('node:fs');
|
|
13
13
|
require('node:os');
|
|
14
14
|
require('node:path');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-BuATIMpK.cjs');
|
|
16
16
|
require('node:fs/promises');
|
|
17
17
|
require('./trimIdent-4gvk9Wk6.cjs');
|
|
18
18
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var _package = require('./package-
|
|
6
|
+
var _package = require('./package-BuATIMpK.cjs');
|
|
7
7
|
var promises = require('node:fs/promises');
|
|
8
8
|
|
|
9
9
|
const PRIVATE_DIRECTORY_MODE = 448;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mkdirSync, chmodSync, readdirSync, statSync, appendFileSync, writeFileSync, existsSync, readFileSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { p as packageJson } from './package-
|
|
4
|
+
import { p as packageJson } from './package-DagIeOhi.mjs';
|
|
5
5
|
import { mkdir, chmod, writeFile } from 'node:fs/promises';
|
|
6
6
|
|
|
7
7
|
const PRIVATE_DIRECTORY_MODE = 448;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('os');
|
|
5
5
|
var require$$1 = require('path');
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var api = require('./api-
|
|
8
|
-
var configuration = require('./configuration-
|
|
6
|
+
var persistence = require('./persistence-CIzOAWK6.cjs');
|
|
7
|
+
var api = require('./api-DjqQTT16.cjs');
|
|
8
|
+
var configuration = require('./configuration-CI0GWwaT.cjs');
|
|
9
9
|
var http = require('http');
|
|
10
10
|
var require$$3 = require('crypto');
|
|
11
|
-
var browser = require('./browser-
|
|
11
|
+
var browser = require('./browser-C19iD31j.cjs');
|
|
12
12
|
var child_process = require('child_process');
|
|
13
13
|
var util = require('util');
|
|
14
14
|
require('node:fs/promises');
|
|
@@ -17,29 +17,29 @@ require('zod');
|
|
|
17
17
|
require('./authRelay-Dy1qU9td.cjs');
|
|
18
18
|
require('node:crypto');
|
|
19
19
|
require('tweetnacl');
|
|
20
|
-
require('./logger-
|
|
20
|
+
require('./logger-L0pLBOLK.cjs');
|
|
21
21
|
require('node:util');
|
|
22
22
|
require('node:path');
|
|
23
23
|
require('axios');
|
|
24
|
-
require('./lidState-
|
|
24
|
+
require('./lidState-BxHu6dus.cjs');
|
|
25
25
|
require('node:events');
|
|
26
26
|
require('socket.io-client');
|
|
27
|
-
require('./pushNotifications-
|
|
28
|
-
require('./index-
|
|
27
|
+
require('./pushNotifications-OtQY-Mfa.cjs');
|
|
28
|
+
require('./index-BumVulwx.cjs');
|
|
29
29
|
require('@paralleldrive/cuid2');
|
|
30
30
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
31
31
|
require('./limits-C-a7gr04.cjs');
|
|
32
|
-
require('./time-
|
|
33
|
-
require('./registerCommonHandlers-
|
|
32
|
+
require('./time-DcICfW0N.cjs');
|
|
33
|
+
require('./registerCommonHandlers-De54jKz8.cjs');
|
|
34
34
|
require('fs/promises');
|
|
35
35
|
require('cross-spawn');
|
|
36
36
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
37
37
|
require('url');
|
|
38
|
-
require('./sync-
|
|
38
|
+
require('./sync-CKSmwxec.cjs');
|
|
39
39
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
40
|
-
require('./controlClient-
|
|
40
|
+
require('./controlClient-BIi1tzEo.cjs');
|
|
41
41
|
require('node:os');
|
|
42
|
-
require('./package-
|
|
42
|
+
require('./package-BuATIMpK.cjs');
|
|
43
43
|
require('open');
|
|
44
44
|
|
|
45
45
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { homedir } from 'os';
|
|
3
3
|
import { join } from 'path';
|
|
4
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
-
import { A as ApiClient } from './api-
|
|
6
|
-
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-
|
|
4
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-FgtDuVAP.mjs';
|
|
5
|
+
import { A as ApiClient } from './api-DUFy21Nf.mjs';
|
|
6
|
+
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-DbCHeEeP.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-CfFbN1Us.mjs';
|
|
10
10
|
import { exec } from 'child_process';
|
|
11
11
|
import { promisify } from 'util';
|
|
12
12
|
import 'node:fs/promises';
|
|
@@ -15,29 +15,29 @@ import 'zod';
|
|
|
15
15
|
import './authRelay-DhQhkBvX.mjs';
|
|
16
16
|
import 'node:crypto';
|
|
17
17
|
import 'tweetnacl';
|
|
18
|
-
import './logger-
|
|
18
|
+
import './logger-CpaeM90D.mjs';
|
|
19
19
|
import 'node:util';
|
|
20
20
|
import 'node:path';
|
|
21
21
|
import 'axios';
|
|
22
|
-
import './lidState-
|
|
22
|
+
import './lidState-CZ1ggYiB.mjs';
|
|
23
23
|
import 'node:events';
|
|
24
24
|
import 'socket.io-client';
|
|
25
|
-
import './pushNotifications-
|
|
26
|
-
import './index-
|
|
25
|
+
import './pushNotifications-2CyhYAte.mjs';
|
|
26
|
+
import './index-B9f1vKcC.mjs';
|
|
27
27
|
import '@paralleldrive/cuid2';
|
|
28
28
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
29
29
|
import './limits-DIo7rEBR.mjs';
|
|
30
|
-
import './time-
|
|
31
|
-
import './registerCommonHandlers-
|
|
30
|
+
import './time-BsNUVcKH.mjs';
|
|
31
|
+
import './registerCommonHandlers-X9lnO2TF.mjs';
|
|
32
32
|
import 'fs/promises';
|
|
33
33
|
import 'cross-spawn';
|
|
34
34
|
import './projectPath-BTBIMB57.mjs';
|
|
35
35
|
import 'url';
|
|
36
|
-
import './sync-
|
|
36
|
+
import './sync-CZjyTC4v.mjs';
|
|
37
37
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
38
|
-
import './controlClient-
|
|
38
|
+
import './controlClient-Dv80mB_j.mjs';
|
|
39
39
|
import 'node:os';
|
|
40
|
-
import './package-
|
|
40
|
+
import './package-DagIeOhi.mjs';
|
|
41
41
|
import 'open';
|
|
42
42
|
|
|
43
43
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -3,7 +3,7 @@ import { constants } from 'node:fs';
|
|
|
3
3
|
import { isAbsolute, join, dirname } from 'node:path';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-
|
|
6
|
+
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-DbCHeEeP.mjs';
|
|
7
7
|
|
|
8
8
|
const TeamScopeSchema = z.object({
|
|
9
9
|
serverUrl: z.string(),
|
|
@@ -5,7 +5,7 @@ var node_fs = require('node:fs');
|
|
|
5
5
|
var path = require('node:path');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var z = require('zod');
|
|
8
|
-
var configuration = require('./configuration-
|
|
8
|
+
var configuration = require('./configuration-CI0GWwaT.cjs');
|
|
9
9
|
|
|
10
10
|
const TeamScopeSchema = z.z.object({
|
|
11
11
|
serverUrl: z.z.string(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-L0pLBOLK.cjs');
|
|
4
|
+
var persistence = require('./persistence-CIzOAWK6.cjs');
|
|
5
|
+
var configuration = require('./configuration-CI0GWwaT.cjs');
|
|
6
6
|
|
|
7
7
|
function daemonControlHeaders(controlToken) {
|
|
8
8
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { d as readDaemonState, f as clearDaemonState } from './persistence-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-CpaeM90D.mjs';
|
|
2
|
+
import { d as readDaemonState, f as clearDaemonState } from './persistence-FgtDuVAP.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-DbCHeEeP.mjs';
|
|
4
4
|
|
|
5
5
|
function daemonControlHeaders(controlToken) {
|
|
6
6
|
return {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-CI0GWwaT.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-BuATIMpK.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
|
|
10
10
|
const realFs = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
2
|
import { resolve, isAbsolute, dirname } from 'node:path';
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
3
|
+
import { c as configuration } from './configuration-DbCHeEeP.mjs';
|
|
4
4
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
5
|
-
import { p as packageJson } from './package-
|
|
5
|
+
import { p as packageJson } from './package-DagIeOhi.mjs';
|
|
6
6
|
import { existsSync, readFileSync, statSync } from 'node:fs';
|
|
7
7
|
|
|
8
8
|
const realFs = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { spawnSync, execFile } from 'node:child_process';
|
|
2
|
+
import { readFile } from 'node:fs/promises';
|
|
2
3
|
import { createRequire } from 'node:module';
|
|
3
4
|
import { createHash } from 'node:crypto';
|
|
4
5
|
import { join, delimiter } from 'node:path';
|
|
@@ -225,6 +226,44 @@ async function probeLaunchdJob(exec = execText) {
|
|
|
225
226
|
}
|
|
226
227
|
return { jobPid, ancestorPids };
|
|
227
228
|
}
|
|
229
|
+
function wrappersSurviveHandover(e) {
|
|
230
|
+
if (e.supervisor === "launchd") return true;
|
|
231
|
+
if (e.supervisor === "systemd") {
|
|
232
|
+
const killMode = e.systemdKillMode?.trim().toLowerCase();
|
|
233
|
+
if (killMode) return killMode === "process" || killMode === "none";
|
|
234
|
+
return e.env.HAPPY_DAEMON_SUPERVISOR?.trim().toLowerCase() === "systemd";
|
|
235
|
+
}
|
|
236
|
+
if (e.platform === "win32") return false;
|
|
237
|
+
if (e.pid === 1) return false;
|
|
238
|
+
if (e.inContainer && e.ppid === 1) return false;
|
|
239
|
+
return true;
|
|
240
|
+
}
|
|
241
|
+
function handoverWaitsForSessions(o) {
|
|
242
|
+
return !o.bundleReplaced || o.relayMove || !o.sparesWrappers;
|
|
243
|
+
}
|
|
244
|
+
function parseSystemdUnit(cgroup) {
|
|
245
|
+
const lines = cgroup.split("\n");
|
|
246
|
+
const path = lines.find((line) => line.startsWith("0::"))?.slice(3) ?? lines.find((line) => line.split(":")[1] === "name=systemd")?.split(":").slice(2).join(":");
|
|
247
|
+
if (!path) return null;
|
|
248
|
+
const segments = path.trim().split("/").filter(Boolean);
|
|
249
|
+
let index = -1;
|
|
250
|
+
for (let i = segments.length - 1; i >= 0; i--) {
|
|
251
|
+
if (segments[i].endsWith(".service")) {
|
|
252
|
+
index = i;
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
if (index < 0) return null;
|
|
257
|
+
const unit = segments[index];
|
|
258
|
+
if (!/^[A-Za-z0-9:_.@\\-]+\.service$/.test(unit) || /^user@\d+\.service$/.test(unit)) return null;
|
|
259
|
+
return { unit, user: segments.slice(0, index).some((segment) => /^user@\d+\.service$/.test(segment)) };
|
|
260
|
+
}
|
|
261
|
+
async function probeSystemdKillMode(readCgroup = () => readFile("/proc/self/cgroup", "utf8"), exec = execText) {
|
|
262
|
+
const owner = parseSystemdUnit(await readCgroup().catch(() => ""));
|
|
263
|
+
if (!owner) return null;
|
|
264
|
+
const out = (await exec("systemctl", [...owner.user ? ["--user"] : [], "show", "-p", "KillMode", "--value", owner.unit])).trim();
|
|
265
|
+
return /^[a-z-]+$/.test(out) ? out : null;
|
|
266
|
+
}
|
|
228
267
|
const SYSTEMD_RESTART_HINT = "systemctl --user restart very-happy-daemon";
|
|
229
268
|
async function kickstartLaunchdJob(run = (file, args) => spawnSync(file, args, { encoding: "utf8", timeout: LAUNCHD_PROBE_TIMEOUT_MS }), uid = typeof process.getuid === "function" ? process.getuid() : null, sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))) {
|
|
230
269
|
if (uid === null) return false;
|
|
@@ -242,4 +281,4 @@ async function kickstartLaunchdJob(run = (file, args) => spawnSync(file, args, {
|
|
|
242
281
|
}
|
|
243
282
|
}
|
|
244
283
|
|
|
245
|
-
export { CREDENTIALS_REJECTED_DETAIL as C, HAPPY_DAEMON_LAUNCHD_LABEL as H, SYSTEMD_RESTART_HINT as S, keychainIdentityFor as a, securityDeleteArgs as b, keychainOffShimDir as c, interpretCredentialsFile as d, buildClaudeAuthState as e, claudeAuthStateChanged as f, classifyAuthStatus as g, diagnoseStores as h, interpretSecurityRead as i, classifyLineage as j, kickstartLaunchdJob as k, probeLaunchdJob as l, detectDaemonSupervisor as m, daemonLineage as n, parseLaunchctlPid as p, resolveSdkClaudeBinary as r, securityReadArgs as s, withKeychainOffPath as w };
|
|
284
|
+
export { CREDENTIALS_REJECTED_DETAIL as C, HAPPY_DAEMON_LAUNCHD_LABEL as H, SYSTEMD_RESTART_HINT as S, keychainIdentityFor as a, securityDeleteArgs as b, keychainOffShimDir as c, interpretCredentialsFile as d, buildClaudeAuthState as e, claudeAuthStateChanged as f, classifyAuthStatus as g, diagnoseStores as h, interpretSecurityRead as i, classifyLineage as j, kickstartLaunchdJob as k, probeLaunchdJob as l, detectDaemonSupervisor as m, daemonLineage as n, probeSystemdKillMode as o, parseLaunchctlPid as p, wrappersSurviveHandover as q, resolveSdkClaudeBinary as r, securityReadArgs as s, handoverWaitsForSessions as t, withKeychainOffPath as w };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_child_process = require('node:child_process');
|
|
4
|
+
var promises = require('node:fs/promises');
|
|
4
5
|
var module$1 = require('node:module');
|
|
5
6
|
var node_crypto = require('node:crypto');
|
|
6
7
|
var path = require('node:path');
|
|
@@ -70,7 +71,7 @@ function parseJsonObject(text) {
|
|
|
70
71
|
return null;
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
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('daemonSupervisor-
|
|
74
|
+
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('daemonSupervisor-alqGPANc.cjs', document.baseURI).href))).resolve(s)) {
|
|
74
75
|
const platformArch = `${platform}-${arch}`;
|
|
75
76
|
const candidates = [
|
|
76
77
|
`@anthropic-ai/claude-agent-sdk-${platformArch}/claude`,
|
|
@@ -228,6 +229,44 @@ async function probeLaunchdJob(exec = execText) {
|
|
|
228
229
|
}
|
|
229
230
|
return { jobPid, ancestorPids };
|
|
230
231
|
}
|
|
232
|
+
function wrappersSurviveHandover(e) {
|
|
233
|
+
if (e.supervisor === "launchd") return true;
|
|
234
|
+
if (e.supervisor === "systemd") {
|
|
235
|
+
const killMode = e.systemdKillMode?.trim().toLowerCase();
|
|
236
|
+
if (killMode) return killMode === "process" || killMode === "none";
|
|
237
|
+
return e.env.HAPPY_DAEMON_SUPERVISOR?.trim().toLowerCase() === "systemd";
|
|
238
|
+
}
|
|
239
|
+
if (e.platform === "win32") return false;
|
|
240
|
+
if (e.pid === 1) return false;
|
|
241
|
+
if (e.inContainer && e.ppid === 1) return false;
|
|
242
|
+
return true;
|
|
243
|
+
}
|
|
244
|
+
function handoverWaitsForSessions(o) {
|
|
245
|
+
return !o.bundleReplaced || o.relayMove || !o.sparesWrappers;
|
|
246
|
+
}
|
|
247
|
+
function parseSystemdUnit(cgroup) {
|
|
248
|
+
const lines = cgroup.split("\n");
|
|
249
|
+
const path = lines.find((line) => line.startsWith("0::"))?.slice(3) ?? lines.find((line) => line.split(":")[1] === "name=systemd")?.split(":").slice(2).join(":");
|
|
250
|
+
if (!path) return null;
|
|
251
|
+
const segments = path.trim().split("/").filter(Boolean);
|
|
252
|
+
let index = -1;
|
|
253
|
+
for (let i = segments.length - 1; i >= 0; i--) {
|
|
254
|
+
if (segments[i].endsWith(".service")) {
|
|
255
|
+
index = i;
|
|
256
|
+
break;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
if (index < 0) return null;
|
|
260
|
+
const unit = segments[index];
|
|
261
|
+
if (!/^[A-Za-z0-9:_.@\\-]+\.service$/.test(unit) || /^user@\d+\.service$/.test(unit)) return null;
|
|
262
|
+
return { unit, user: segments.slice(0, index).some((segment) => /^user@\d+\.service$/.test(segment)) };
|
|
263
|
+
}
|
|
264
|
+
async function probeSystemdKillMode(readCgroup = () => promises.readFile("/proc/self/cgroup", "utf8"), exec = execText) {
|
|
265
|
+
const owner = parseSystemdUnit(await readCgroup().catch(() => ""));
|
|
266
|
+
if (!owner) return null;
|
|
267
|
+
const out = (await exec("systemctl", [...owner.user ? ["--user"] : [], "show", "-p", "KillMode", "--value", owner.unit])).trim();
|
|
268
|
+
return /^[a-z-]+$/.test(out) ? out : null;
|
|
269
|
+
}
|
|
231
270
|
const SYSTEMD_RESTART_HINT = "systemctl --user restart very-happy-daemon";
|
|
232
271
|
async function kickstartLaunchdJob(run = (file, args) => node_child_process.spawnSync(file, args, { encoding: "utf8", timeout: LAUNCHD_PROBE_TIMEOUT_MS }), uid = typeof process.getuid === "function" ? process.getuid() : null, sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))) {
|
|
233
272
|
if (uid === null) return false;
|
|
@@ -255,6 +294,7 @@ exports.claudeAuthStateChanged = claudeAuthStateChanged;
|
|
|
255
294
|
exports.daemonLineage = daemonLineage;
|
|
256
295
|
exports.detectDaemonSupervisor = detectDaemonSupervisor;
|
|
257
296
|
exports.diagnoseStores = diagnoseStores;
|
|
297
|
+
exports.handoverWaitsForSessions = handoverWaitsForSessions;
|
|
258
298
|
exports.interpretCredentialsFile = interpretCredentialsFile;
|
|
259
299
|
exports.interpretSecurityRead = interpretSecurityRead;
|
|
260
300
|
exports.keychainIdentityFor = keychainIdentityFor;
|
|
@@ -262,7 +302,9 @@ exports.keychainOffShimDir = keychainOffShimDir;
|
|
|
262
302
|
exports.kickstartLaunchdJob = kickstartLaunchdJob;
|
|
263
303
|
exports.parseLaunchctlPid = parseLaunchctlPid;
|
|
264
304
|
exports.probeLaunchdJob = probeLaunchdJob;
|
|
305
|
+
exports.probeSystemdKillMode = probeSystemdKillMode;
|
|
265
306
|
exports.resolveSdkClaudeBinary = resolveSdkClaudeBinary;
|
|
266
307
|
exports.securityDeleteArgs = securityDeleteArgs;
|
|
267
308
|
exports.securityReadArgs = securityReadArgs;
|
|
268
309
|
exports.withKeychainOffPath = withKeychainOffPath;
|
|
310
|
+
exports.wrappersSurviveHandover = wrappersSurviveHandover;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
3
|
+
var logger = require('./logger-L0pLBOLK.cjs');
|
|
4
|
+
var persistence = require('./persistence-CIzOAWK6.cjs');
|
|
5
5
|
|
|
6
6
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
7
7
|
async function commitHibernation(deps) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { e as evaluateWrapperIdle, j as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-
|
|
1
|
+
import { l as logger } from './logger-CpaeM90D.mjs';
|
|
2
|
+
import { e as evaluateWrapperIdle, j as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-FgtDuVAP.mjs';
|
|
3
3
|
|
|
4
4
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
5
5
|
async function commitHibernation(deps) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-CpaeM90D.mjs';
|
|
2
2
|
import { p as prependToMessage, b as buildDigestLine, a as buildFirstTurnPrefix } from './prompt-QHuFx9j6.mjs';
|
|
3
|
-
import { P as ProjectsUnsupportedError } from './client-
|
|
4
|
-
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-
|
|
3
|
+
import { P as ProjectsUnsupportedError } from './client-DAnQqPmc.mjs';
|
|
4
|
+
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-6mDoxKuq.mjs';
|
|
5
5
|
import { readFileSync, constants } from 'node:fs';
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
import { join, dirname } from 'node:path';
|
|
@@ -9,24 +9,24 @@ import { z } from 'zod';
|
|
|
9
9
|
import { p as piAgentDir } from './pi-CqyoZMjI.mjs';
|
|
10
10
|
import { unlink, mkdir, open, rename } from 'node:fs/promises';
|
|
11
11
|
import { randomUUID, createHash } from 'node:crypto';
|
|
12
|
-
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-
|
|
13
|
-
import { t as teamScopePath, r as readTeamScope } from './context-
|
|
14
|
-
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps
|
|
12
|
+
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-CKM07bJH.mjs';
|
|
13
|
+
import { t as teamScopePath, r as readTeamScope } from './context-D2Y_qLs0.mjs';
|
|
14
|
+
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps--9p2IzVA.mjs';
|
|
15
15
|
import { T as TEAM_SKILL, a as TEAM_LEAD_PLAYBOOK } from './resources-CLdQfe3b.mjs';
|
|
16
|
-
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-
|
|
17
|
-
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-
|
|
16
|
+
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-BILbS8Hh.mjs';
|
|
17
|
+
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-CUCqJ83-.mjs';
|
|
18
18
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
19
19
|
import { createServer } from 'node:http';
|
|
20
20
|
import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
21
21
|
import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, c as CLIPBOARD_MAX_BYTES } from './limits-DIo7rEBR.mjs';
|
|
22
|
-
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-
|
|
22
|
+
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-DRXCRDub.mjs';
|
|
23
23
|
import { P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, c as PREVIEW_DOWNLOAD_PARAM_DESCRIPTION } from './agentGuidance-BDYt2Qy2.mjs';
|
|
24
24
|
import { n as normalizeWebPanels, w as webPanelPath } from './webPanels-B2_C2-3g.mjs';
|
|
25
|
-
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-
|
|
26
|
-
import { g as getSessionNotificationBody } from './pushNotifications-
|
|
25
|
+
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-FgtDuVAP.mjs';
|
|
26
|
+
import { g as getSessionNotificationBody } from './pushNotifications-2CyhYAte.mjs';
|
|
27
27
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
28
|
-
import { x as ATTENTION_DISABLED_ERROR, y as ATTENTION_LIMITS, z as ownerBoardPostToRest, C as isAttentionBoardLocalId, O as OwnerBoardPostInputSchema, D as OwnerBoardUpdateInputSchema, E as OwnerBoardResolveInputSchema, F as OwnerBoardListInputSchema, G as ATTENTION_SESSION_CAPABILITY } from './index-
|
|
29
|
-
import { c as configuration } from './configuration-
|
|
28
|
+
import { x as ATTENTION_DISABLED_ERROR, y as ATTENTION_LIMITS, z as ownerBoardPostToRest, C as isAttentionBoardLocalId, O as OwnerBoardPostInputSchema, D as OwnerBoardUpdateInputSchema, E as OwnerBoardResolveInputSchema, F as OwnerBoardListInputSchema, G as ATTENTION_SESSION_CAPABILITY } from './index-B9f1vKcC.mjs';
|
|
29
|
+
import { c as configuration } from './configuration-DbCHeEeP.mjs';
|
|
30
30
|
import { createHash as createHash$1 } from 'crypto';
|
|
31
31
|
|
|
32
32
|
function createProjectInjector(deps) {
|