very-happy-cli 0.2.200 → 0.2.202
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-CwSShYPI.cjs → AcpBackend-BRcPXur6.cjs} +3 -3
- package/dist/{AcpBackend-Cnp6WNn8.mjs → AcpBackend-Z51picBa.mjs} +3 -3
- package/dist/{AcpSessionManager-C4O3jhT_.mjs → AcpSessionManager-BCGqL1Em.mjs} +2 -2
- package/dist/{AcpSessionManager-DqW99tOL.cjs → AcpSessionManager-BckOYH3I.cjs} +2 -2
- package/dist/{BasePermissionHandler-CgqjIUyG.cjs → BasePermissionHandler-BYIY3kxs.cjs} +1 -1
- package/dist/{BasePermissionHandler-8Msj0Z8j.mjs → BasePermissionHandler-BhJjr-wB.mjs} +1 -1
- package/dist/{account-BIxPuBEs.mjs → account-B-HTHZKw.mjs} +11 -11
- package/dist/{account-DcNh2_SN.cjs → account-B0Wu7rJR.cjs} +11 -11
- package/dist/{accountService-BDJo14mY.cjs → accountService-Cns8UYGI.cjs} +4 -4
- package/dist/{accountService-ELazcp3V.mjs → accountService-DEpIq6CF.mjs} +4 -4
- package/dist/{acpSessionResume-De_sTG30.mjs → acpSessionResume-BKjQRT4V.mjs} +1 -1
- package/dist/{acpSessionResume-B_W8uTI6.cjs → acpSessionResume-C8Kd8eK6.cjs} +1 -1
- package/dist/{agentHome-C-900jC1.mjs → agentHome-BXiCouR4.mjs} +4 -4
- package/dist/{agentHome-C-usjJwB.cjs → agentHome-DnxSf1ox.cjs} +4 -4
- package/dist/{api-BPWRzeNF.cjs → api-B-FB-s4z.cjs} +10 -10
- package/dist/{api-DCUiAds-.mjs → api-Cu1OFHDM.mjs} +10 -10
- package/dist/{apiMachine-DjhbA1rL.cjs → apiMachine-DCWgI1l_.cjs} +28 -18
- package/dist/{apiMachine-CJl4m3V3.mjs → apiMachine-DYGPILVb.mjs} +28 -18
- package/dist/{attachmentContent-BKIq6EXR.mjs → attachmentContent-Dq8P5ODq.mjs} +2 -2
- package/dist/{attachmentContent-C2f1UEP9.cjs → attachmentContent-dXwHB_3C.cjs} +2 -2
- package/dist/{auth-h6oU63Ni.cjs → auth-BVNBE4B1.cjs} +8 -8
- package/dist/{auth-8jKFCZOX.mjs → auth-CgdE-j7z.mjs} +5 -5
- package/dist/{auth-uLRHXOGY.mjs → auth-D11uvx2P.mjs} +8 -8
- package/dist/{auth-oAnLi4Tl.cjs → auth-DpIHm7Lb.cjs} +5 -5
- package/dist/{auto-Bpa5iA1A.cjs → auto-Ba2b-il4.cjs} +17 -17
- package/dist/{auto-A5arQ-bI.mjs → auto-WdjHKP9R.mjs} +17 -17
- package/dist/{bootstrap-BkLFgEGF.mjs → bootstrap-BTYJf2w8.mjs} +2 -2
- package/dist/{bootstrap-DUKAKxrJ.cjs → bootstrap-CsZO_jkL.cjs} +2 -2
- package/dist/{browser-Ds-N-Dup.cjs → browser-DgufCq1K.cjs} +1 -1
- package/dist/{browser-BAlw0rns.mjs → browser-Dx3UOVPP.mjs} +1 -1
- package/dist/{claudeAccountEnv-D33xXRE7.cjs → claudeAccountEnv-Btp39mfa.cjs} +1 -1
- package/dist/{claudeAccountEnv-CI8RlIB9.mjs → claudeAccountEnv-DowsOlDB.mjs} +1 -1
- package/dist/{claudeLocal-BbsOT-EF.cjs → claudeLocal-Q0FgzhTu.cjs} +5 -5
- package/dist/{claudeLocal-X48n0RhP.mjs → claudeLocal-ylDKcvX0.mjs} +5 -5
- package/dist/{claudeLocalLauncher-D18gRtxz.mjs → claudeLocalLauncher-CtybsaR8.mjs} +10 -10
- package/dist/{claudeLocalLauncher-D1jS3iK4.cjs → claudeLocalLauncher-D2rZvuaW.cjs} +10 -10
- package/dist/{claudeSessionFork-Bkxn40Y8.cjs → claudeSessionFork-BrstQPE4.cjs} +1 -1
- package/dist/{claudeSessionFork-n1vMiFcP.mjs → claudeSessionFork-DRLxmv9j.mjs} +1 -1
- package/dist/{client-BnoN4P4t.cjs → client-CNWx72ZT.cjs} +2 -2
- package/dist/{client-C8BTmcrh.cjs → client-Ch4Azlny.cjs} +4 -4
- package/dist/{client-BgxQ9aej.mjs → client-Cj7D61by.mjs} +3 -3
- package/dist/{client-Blpuk2Hr.mjs → client-D0oBXuEe.mjs} +2 -2
- package/dist/{client-C0qjAgZ_.mjs → client-DJsXNJWO.mjs} +4 -4
- package/dist/{client-BXwIqRha.mjs → client-DfT_CRwl.mjs} +2 -2
- package/dist/{client-D0_UOmC1.cjs → client-Dq7jaxb2.cjs} +2 -2
- package/dist/{client-1zIbVVX5.cjs → client-xV99weGP.cjs} +3 -3
- package/dist/codex/happyMcpStdioBridge.cjs +18 -18
- package/dist/codex/happyMcpStdioBridge.mjs +18 -18
- package/dist/{codexAccount-BAezf1fY.mjs → codexAccount-CieIQLOX.mjs} +1 -1
- package/dist/{codexAccount-DfeCHUOU.cjs → codexAccount-D-OBY29W.cjs} +1 -1
- package/dist/{codexAppServerClient-xBeqblCj.cjs → codexAppServerClient-BwBPZonh.cjs} +3 -3
- package/dist/{codexAppServerClient-By4ntTIr.mjs → codexAppServerClient-DtdCZ7_b.mjs} +3 -3
- package/dist/{codexCommand-CgzJe-Ti.cjs → codexCommand-CsY9YFiG.cjs} +53 -52
- package/dist/{codexCommand-C7BVsmPu.mjs → codexCommand-D92AQCLU.mjs} +49 -48
- package/dist/{codexTermination-DVrdQx3Q.cjs → codexTermination-BbXG2oFT.cjs} +1 -1
- package/dist/{codexTermination-BS0sLBKS.mjs → codexTermination-rhIxjRMJ.mjs} +1 -1
- package/dist/{config-D3jidXDu.mjs → config-BnN1yFyi.mjs} +3 -3
- package/dist/{config-4R0rnthZ.cjs → config-Zhkmfb3O.cjs} +3 -3
- package/dist/{configuration-4pG95tsq.mjs → configuration-CQaLZMa-.mjs} +1 -1
- package/dist/{configuration-ClUt7pqs.cjs → configuration-DZUnfWp2.cjs} +1 -1
- package/dist/{connect-Da2NQJ3K.cjs → connect-BToTf3Gy.cjs} +13 -13
- package/dist/{connect-Do5qcqmg.mjs → connect-DY5QLfbI.mjs} +13 -13
- package/dist/{context-wMsIGwBw.cjs → context-BHydzPZw.cjs} +1 -1
- package/dist/{context-Cf05DtNM.mjs → context-ByTvtMXZ.mjs} +1 -1
- package/dist/{controlClient-SYDFcIkk.cjs → controlClient-Bfwe0Xpt.cjs} +3 -3
- package/dist/{controlClient-bqCKl9Nv.mjs → controlClient-Cqhd8ynk.mjs} +3 -3
- package/dist/{createSessionMetadata-msQTEvvn.cjs → createSessionMetadata-D_qa01wq.cjs} +2 -2
- package/dist/{createSessionMetadata-CQkxe_4T.mjs → createSessionMetadata-tmhDzhJZ.mjs} +2 -2
- package/dist/{daemonAccounts-B8xnkprW.mjs → daemonAccounts-D5shoCLt.mjs} +3 -3
- package/dist/{daemonAccounts-Ch_rSTSX.cjs → daemonAccounts-ciidbU2h.cjs} +2 -2
- package/dist/{defaultPermissionMode-BETWd5Lf.cjs → defaultPermissionMode-Cs_Tv83b.cjs} +1 -1
- package/dist/{defaultPermissionMode-Cl3OvdHp.mjs → defaultPermissionMode-DgeiMMqy.mjs} +1 -1
- package/dist/{deterministicJson-CQ8jkArF.cjs → deterministicJson-CbUdClvO.cjs} +67 -20
- package/dist/{deterministicJson-BRAeReBK.mjs → deterministicJson-DRL1Gs_c.mjs} +68 -21
- package/dist/{doctor-C9D-t20z.cjs → doctor-DHCmWcwR.cjs} +7 -7
- package/dist/{doctor-Dy7z3qvy.mjs → doctor-Wu0yZ80l.mjs} +7 -7
- package/dist/{downloadTarget-DfoOSrYi.cjs → downloadTarget-BoJrjpEe.cjs} +6 -6
- package/dist/{downloadTarget-Diq-GBu4.mjs → downloadTarget-G72yKQcM.mjs} +6 -6
- package/dist/{ensureDaemonRunning-LqrgqVG3.mjs → ensureDaemonRunning-BKGybp3s.mjs} +5 -5
- package/dist/{ensureDaemonRunning-Df76EtKd.cjs → ensureDaemonRunning-CnkyGd9x.cjs} +5 -5
- package/dist/{format-CbliQN8V.mjs → format-BSx-Nv2p.mjs} +2 -1
- package/dist/{format-P9_M_7ga.cjs → format-DePME4uu.cjs} +2 -1
- package/dist/{handleResumeCommand-Dz4Aw_aZ.mjs → handleResumeCommand-DrJdhjLD.mjs} +5 -5
- package/dist/{handleResumeCommand-CjCtwrrm.cjs → handleResumeCommand-uKzhaOVC.cjs} +5 -5
- package/dist/{index-BiutHOAO.cjs → index-44o_qMvE.cjs} +14 -4
- package/dist/{index-CdOnhx2X.cjs → index-BKXqaux4.cjs} +4 -4
- package/dist/{index-Sdvy1Lsf.mjs → index-BcYJJV-f.mjs} +3 -3
- package/dist/{index-ByBOdEvG.cjs → index-Bi7Lmykl.cjs} +47 -46
- package/dist/{index-BNBXrqRE.mjs → index-C-eSUhXW.mjs} +4 -4
- package/dist/{index-kwsivEs-.mjs → index-CiRMvS73.mjs} +14 -5
- package/dist/{index-DUwOmhnq.cjs → index-CoBaGAA4.cjs} +3 -3
- package/dist/{index-CjMA70-R.mjs → index-CowtCbZ_.mjs} +46 -45
- package/dist/{index-CbzettaI.cjs → index-DDOCSeEj.cjs} +4 -4
- package/dist/{index-XP-qcJQ3.mjs → index-fNsf-8K-.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-DMXd8Z4c.mjs → install-0TkucJrC.mjs} +3 -3
- package/dist/{install-C4dKrmxR.cjs → install-Ddc8TlWE.cjs} +3 -3
- package/dist/{issue-BijeNKIT.cjs → issue-CIfzJuaS.cjs} +8 -8
- package/dist/{issue-COytLvGE.mjs → issue-CML2xa46.mjs} +8 -8
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +4 -0
- package/dist/lib.d.mts +4 -0
- package/dist/lib.mjs +12 -12
- package/dist/{localHappyAgentAuth-DeDQjw24.mjs → localHappyAgentAuth-BUX4E1ug.mjs} +1 -1
- package/dist/{localHappyAgentAuth-CjtNcaI0.cjs → localHappyAgentAuth-WLqXQbc6.cjs} +1 -1
- package/dist/{logger-BLMi8oJK.mjs → logger-BEVIGYKL.mjs} +17 -3
- package/dist/{logger-D28MY1Bv.cjs → logger-Dhc0l3xH.cjs} +17 -2
- package/dist/{machineMetadata-D8OWVD4l.mjs → machineMetadata-BQdp_ihk.mjs} +3 -3
- package/dist/{machineMetadata-BzjrIn_N.cjs → machineMetadata-ixKckJ7k.cjs} +3 -3
- package/dist/{main-DoJIcSOh.cjs → main-BNBYOcQb.cjs} +49 -49
- package/dist/{main-c0fCuBON.mjs → main-BzQSe4Zu.mjs} +49 -49
- package/dist/{mcp-DKkBFGUa.mjs → mcp-BueI4Bel.mjs} +18 -18
- package/dist/{mcp-CEtvR6tG.cjs → mcp-BwskAxOK.cjs} +18 -18
- package/dist/{mirrorProtocol-DFQLXDBI.mjs → mirrorProtocol-5aFYsCCe.mjs} +3 -3
- package/dist/{mirrorProtocol-CCl9dtzh.cjs → mirrorProtocol-DGMmhArw.cjs} +3 -3
- package/dist/{package-BFSsS_dl.cjs → package-CAmlKYcH.cjs} +7 -7
- package/dist/{package-DbGqY8Ej.mjs → package-aOUtHYRZ.mjs} +7 -7
- package/dist/{panels-2yIO9FxQ.mjs → panels-BeVMgmRW.mjs} +5 -5
- package/dist/{panels-BqLXIQif.cjs → panels-By2IDfXv.cjs} +5 -5
- package/dist/{peerTools-4GYKxr8J.mjs → peerTools-BkRgJomj.mjs} +5 -5
- package/dist/{peerTools-Z8V2E0AF.cjs → peerTools-dgllF1wT.cjs} +5 -5
- package/dist/{persistence-TpVFA5-I.cjs → persistence-05BAS4Ou.cjs} +12 -2
- package/dist/{persistence-DbOKjdUD.mjs → persistence-EuUaQKL7.mjs} +12 -3
- package/dist/{piRunnerArgs-Bdj0sjAT.mjs → piRunnerArgs-CygWrAwY.mjs} +1 -1
- package/dist/{piRunnerArgs-DOEJJymf.cjs → piRunnerArgs-DkjCRPYn.cjs} +1 -1
- package/dist/{piRuntime-B0QZykV7.mjs → piRuntime-LRW_t6ME.mjs} +1 -1
- package/dist/{piRuntime-DiRayy91.cjs → piRuntime-zY2jIQod.cjs} +1 -1
- package/dist/{piTerminal-DciFqPEi.cjs → piTerminal-BfZshXGh.cjs} +20 -20
- package/dist/{piTerminal-DGF4X7C-.mjs → piTerminal-BhlPA1HR.mjs} +20 -20
- package/dist/{pushNotifications-CrCTpDiN.mjs → pushNotifications-B7Ga8Zyf.mjs} +3 -3
- package/dist/{pushNotifications-C1i2W1GQ.cjs → pushNotifications-DaVlLe7N.cjs} +3 -3
- package/dist/{query-CrSvcV32.mjs → query-BQLtwpr9.mjs} +1 -1
- package/dist/{query-BkOpCpRo.cjs → query-CX0Of89i.cjs} +1 -1
- package/dist/{rateLimitWindows-BREA7OZj.cjs → rateLimitWindows-CpSOlXBt.cjs} +1 -1
- package/dist/{rateLimitWindows-DZVrafmm.mjs → rateLimitWindows-hv2zLYid.mjs} +1 -1
- package/dist/{reconnectGate-YQ5jXJfY.cjs → reconnectGate-B_aJrehH.cjs} +1 -1
- package/dist/{reconnectGate-COxAZTv8.mjs → reconnectGate-DO_ZQmJE.mjs} +1 -1
- package/dist/{registerCommonHandlers-Cfl_dEWs.mjs → registerCommonHandlers-BEpK4WD2.mjs} +2 -2
- package/dist/{registerCommonHandlers-D95IxqDN.cjs → registerCommonHandlers-em2elV3l.cjs} +2 -2
- package/dist/{registerKillSessionHandler-DoE6xgH3.mjs → registerKillSessionHandler-D-dDzI2n.mjs} +6 -6
- package/dist/{registerKillSessionHandler-DJJXtc_L.cjs → registerKillSessionHandler-D4ZQvsH2.cjs} +6 -6
- package/dist/{registerSideQuestionHandler-DsRz-aD9.cjs → registerSideQuestionHandler-BIOLUe2U.cjs} +4 -4
- package/dist/{registerSideQuestionHandler-Dv00rqcy.mjs → registerSideQuestionHandler-okUy9Q_-.mjs} +4 -4
- package/dist/{remoteSessionClient-DleOeQlN.cjs → remoteSessionClient-BLWFXMBo.cjs} +5 -5
- package/dist/{remoteSessionClient-BFd_D9ka.mjs → remoteSessionClient-CzjLyL9c.mjs} +5 -5
- package/dist/{reportProgressTool-D4xKY9Ur.mjs → reportProgressTool-CNi0Vqqm.mjs} +5 -5
- package/dist/{reportProgressTool-DtEpDqv3.cjs → reportProgressTool-DcNBXBw8.cjs} +5 -5
- package/dist/{run-iDEMW4js.mjs → run-D59Gb4SQ.mjs} +272 -73
- package/dist/{run-CVAIFpsp.cjs → run-bzlz4DI1.cjs} +272 -73
- package/dist/{runClaude-DvHdLJaV.mjs → runClaude-DZtdmcXK.mjs} +26 -25
- package/dist/{runClaude-gucCQBma.cjs → runClaude-kVp1PKab.cjs} +29 -28
- package/dist/{runClaudeDeps-CQ8vvqUQ.cjs → runClaudeDeps-BHv9FkVz.cjs} +43 -42
- package/dist/{runClaudeDeps-DkFWFwVc.mjs → runClaudeDeps-D83tR1KP.mjs} +49 -48
- package/dist/{runGemini-B2lXQDru.mjs → runGemini-DLc_bL4E.mjs} +36 -35
- package/dist/{runGemini-C0vqJYtS.cjs → runGemini-W-0t7skM.cjs} +36 -35
- package/dist/{runOpenClaw-DNV7GX73.cjs → runOpenClaw-BsqbOw8R.cjs} +18 -18
- package/dist/{runOpenClaw-Ddb6sOkY.mjs → runOpenClaw-mm-hKxMC.mjs} +18 -18
- package/dist/{sandbox-Cw0cPDDh.mjs → sandbox-DXbKl-Os.mjs} +4 -4
- package/dist/{sandbox-FA0RlaZg.cjs → sandbox-DrWJss7J.cjs} +4 -4
- package/dist/selfCheck-B1XdrEbN.mjs +89 -0
- package/dist/{selfCheck-DFC8fzhF.cjs → selfCheck-CVXucSXR.cjs} +40 -40
- package/dist/{send-CwgqPftE.mjs → send-Cdda78Iw.mjs} +8 -8
- package/dist/{send-BFd-5b_Q.cjs → send-D7pRBaht.cjs} +8 -8
- package/dist/{server-DwOdMGAP.cjs → server-BI6defPs.cjs} +6 -6
- package/dist/{server-C_4Fk45r.mjs → server-CNilQcJK.mjs} +4 -4
- package/dist/{sessionLock-DglhFHzB.cjs → sessionLock-Bjsy90aM.cjs} +3 -3
- package/dist/{sessionLock-CphKQyav.mjs → sessionLock-CVjlaRSL.mjs} +3 -3
- package/dist/sessionMetadata-B44cL4Xj.cjs +29 -0
- package/dist/sessionMetadata-C1eoAi89.mjs +25 -0
- package/dist/{sessionOps-D-uFSTHk.mjs → sessionOps-CV5RUpwG.mjs} +4 -4
- package/dist/{sessionOps-CIFvoFPA.cjs → sessionOps-CvmOHwGP.cjs} +4 -4
- package/dist/{sessionProvider-B0daO-Ln.cjs → sessionProvider-4sWr0Myr.cjs} +10 -10
- package/dist/{sessionProvider-D8y7K8bK.mjs → sessionProvider-BmO4ahnt.mjs} +10 -10
- package/dist/{sessionScanner-DQAOP6pU.mjs → sessionScanner-34Q0vTR3.mjs} +3 -3
- package/dist/{sessionScanner-CWflbWoH.cjs → sessionScanner-DZBiEOyb.cjs} +3 -3
- package/dist/{sessions-CaO_-AI7.mjs → sessions-Cl435KQT.mjs} +10 -10
- package/dist/{sessions-CzpI76qj.cjs → sessions-DjAXZWTX.cjs} +10 -10
- package/dist/{setupOfflineReconnection-Ck-p0YPb.mjs → setupOfflineReconnection-BC5FJTkc.mjs} +2 -2
- package/dist/{setupOfflineReconnection-BZHRoKDx.cjs → setupOfflineReconnection-zebrb6U_.cjs} +2 -2
- package/dist/{spawn-DyjOa4nf.cjs → spawn-C8cJK9-m.cjs} +14 -14
- package/dist/{spawn-BEJxfj60.mjs → spawn-DqWdgMt_.mjs} +14 -14
- package/dist/{spawnAgents-XObVj6zN.mjs → spawnAgents-BclZYkov.mjs} +1 -1
- package/dist/{spawnAgents-IiuqX0S5.cjs → spawnAgents-DvbEDCIq.cjs} +1 -1
- package/dist/{spawnHappyCLI-Cc9kKpcq.mjs → spawnHappyCLI-BckHSjR0.mjs} +1 -1
- package/dist/{spawnHappyCLI-C3XuIB2N.cjs → spawnHappyCLI-CeWgULMt.cjs} +1 -1
- package/dist/{startFileWatcher-t3K1y9kY.mjs → startFileWatcher-BXiBlfVr.mjs} +1 -1
- package/dist/{startFileWatcher-CeDJl9mN.cjs → startFileWatcher-CXZYt0y9.cjs} +1 -1
- package/dist/{sessionMetadata-DyTJ0Ki5.cjs → startupSessionCreate-CycB-kwu.cjs} +3 -14
- package/dist/{sessionMetadata-V7Z7F-cj.mjs → startupSessionCreate-D8hODW7I.mjs} +4 -14
- package/dist/{store-DOZAMV4W.cjs → store-Cpb1LMNW.cjs} +1 -1
- package/dist/{store-CqNAE-0v.mjs → store-DWmjM4Ex.mjs} +1 -1
- package/dist/{streamRelay-Dyp4x44P.cjs → streamRelay-4XiiNB3N.cjs} +1 -1
- package/dist/{streamRelay-7D7v0hvk.mjs → streamRelay-DdGOsW8v.mjs} +1 -1
- package/dist/{sync-s1pUqWGm.mjs → sync-BfM5OKSS.mjs} +1 -1
- package/dist/{sync-BvxhuW9R.cjs → sync-CyUWevwD.cjs} +1 -1
- package/dist/{systemPrompt-CCdSrtn3.cjs → systemPrompt-BUZQDf4k.cjs} +2 -2
- package/dist/{systemPrompt-CLYTbBhV.mjs → systemPrompt-Tu_2ixE3.mjs} +2 -2
- package/dist/{teams-BVp5F_xN.mjs → teams-Cpdqvfe3.mjs} +7 -7
- package/dist/{teams-D2q1DQWz.cjs → teams-KjHee0Vg.cjs} +7 -7
- package/dist/{template-M1YGFYUT.cjs → template-3fV9bi0X.cjs} +1 -1
- package/dist/{template-oBrR0saD.mjs → template-CtRLg2PG.mjs} +1 -1
- package/dist/{time-qd46L189.mjs → time-BQWf06hA.mjs} +1 -1
- package/dist/{time-D-v2Cd9e.cjs → time-CbOTVtAt.cjs} +1 -1
- package/dist/{titleGenerator-CSYqcorn.cjs → titleGenerator-CpiQkf_r.cjs} +3 -3
- package/dist/{titleGenerator-BdeHi3IY.mjs → titleGenerator-DYnqd0oI.mjs} +2 -2
- package/dist/{todo-Dq_YuJvj.cjs → todo-Cp6bRp62.cjs} +26 -18
- package/dist/{todo-DiEhLgUZ.mjs → todo-DVrsXyKn.mjs} +26 -18
- package/dist/{tools-CY2zrdd5.cjs → tools-BFQm7xny.cjs} +1 -1
- package/dist/{tools-DR7GWBBV.mjs → tools-XGAJepvT.mjs} +1 -1
- package/dist/{uninstall-BvwDZVU9.mjs → uninstall-C2LF0vtR.mjs} +3 -3
- package/dist/{uninstall-BHhHjbzE.cjs → uninstall-Cyqq90JW.cjs} +3 -3
- package/dist/{wrapperAccount-ejUjAQaM.cjs → wrapperAccount-nGGMJDBF.cjs} +2 -2
- package/dist/{wrapperAccount-CpDsQL15.mjs → wrapperAccount-z8Swrd08.mjs} +2 -2
- package/package.json +7 -7
- package/dist/selfCheck-B-hKig8I.mjs +0 -89
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { r as resolveSpawnPermissionMode, c as chooseProject, j as joinProject, a as resolveFirstMessageMeta, w as waitsForModelCatalog, s as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS } from './spawnAgents-
|
|
2
|
-
import { s as sharedProjectsClient } from './client-
|
|
1
|
+
import { r as resolveSpawnPermissionMode, c as chooseProject, j as joinProject, a as resolveFirstMessageMeta, w as waitsForModelCatalog, s as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS } from './spawnAgents-BclZYkov.mjs';
|
|
2
|
+
import { s as sharedProjectsClient } from './client-DfT_CRwl.mjs';
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import { readFileSync, statSync } from 'node:fs';
|
|
5
5
|
import { resolve } from 'node:path';
|
|
6
|
-
import { a as checkIfDaemonRunningAndCleanupStaleState, e as spawnDaemonSession, f as stopDaemonSession } from './controlClient-
|
|
7
|
-
import { c as readPersistedSessions, r as readSettings } from './persistence-
|
|
8
|
-
import { B as parseLatestModelTable, D as resolveLaunchAgentProfile } from './index-
|
|
9
|
-
import { c as configuration } from './configuration-
|
|
6
|
+
import { a as checkIfDaemonRunningAndCleanupStaleState, e as spawnDaemonSession, f as stopDaemonSession } from './controlClient-Cqhd8ynk.mjs';
|
|
7
|
+
import { c as readPersistedSessions, r as readSettings } from './persistence-EuUaQKL7.mjs';
|
|
8
|
+
import { B as parseLatestModelTable, D as resolveLaunchAgentProfile } from './index-CiRMvS73.mjs';
|
|
9
|
+
import { c as configuration } from './configuration-CQaLZMa-.mjs';
|
|
10
10
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
11
|
-
import { f as forkSession, a as forkCompletedTurns, F as ForkSourceMissingError } from './claudeSessionFork-
|
|
12
|
-
import { C as CodexAppServerClient } from './codexAppServerClient-
|
|
11
|
+
import { f as forkSession, a as forkCompletedTurns, F as ForkSourceMissingError } from './claudeSessionFork-DRLxmv9j.mjs';
|
|
12
|
+
import { C as CodexAppServerClient } from './codexAppServerClient-DtdCZ7_b.mjs';
|
|
13
13
|
import { f as forkCodexThread, a as forkCodexCompletedTurns } from './codexThreadFork-CVzAqELg.mjs';
|
|
14
|
-
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl, h as analyzeLatestTurn, i as readSessionLog, j as TURN_WINDOW } from './sessionOps-
|
|
15
|
-
import { i as isValidSpawnOrigin } from './createSessionMetadata-
|
|
16
|
-
import { l as logger } from './logger-
|
|
14
|
+
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl, h as analyzeLatestTurn, i as readSessionLog, j as TURN_WINDOW } from './sessionOps-CV5RUpwG.mjs';
|
|
15
|
+
import { i as isValidSpawnOrigin } from './createSessionMetadata-tmhDzhJZ.mjs';
|
|
16
|
+
import { l as logger } from './logger-BEVIGYKL.mjs';
|
|
17
17
|
import { w as waitForForkBackfill } from './forkBackfill-DYIjlN1Z.mjs';
|
|
18
18
|
import 'node:fs/promises';
|
|
19
19
|
import 'zod';
|
|
@@ -22,17 +22,17 @@ import 'node:crypto';
|
|
|
22
22
|
import 'tweetnacl';
|
|
23
23
|
import '@paralleldrive/cuid2';
|
|
24
24
|
import 'node:os';
|
|
25
|
-
import './package-
|
|
25
|
+
import './package-aOUtHYRZ.mjs';
|
|
26
26
|
import 'node:readline';
|
|
27
27
|
import 'node:child_process';
|
|
28
28
|
import 'cross-spawn';
|
|
29
29
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
30
30
|
import './manager-BEsI4qt3.mjs';
|
|
31
31
|
import '@anthropic-ai/sandbox-runtime';
|
|
32
|
-
import './rateLimitWindows-
|
|
32
|
+
import './rateLimitWindows-hv2zLYid.mjs';
|
|
33
33
|
import './processTree-CP5IvQ2Z.mjs';
|
|
34
34
|
import 'axios';
|
|
35
|
-
import './time-
|
|
35
|
+
import './time-BQWf06hA.mjs';
|
|
36
36
|
import './specialCommands-MXUN0wfI.mjs';
|
|
37
37
|
import 'socket.io-client';
|
|
38
38
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as getAgentCodeDefaults, U as isLatestModelMode, V as resolveLatestModel, W as LATEST_MODEL_MODE, X as EFFORT_INTENT_AUTO, Y as normalizeAgentKey } from './index-CiRMvS73.mjs';
|
|
2
2
|
|
|
3
3
|
function chooseProject(opts) {
|
|
4
4
|
if (opts.project) return { kind: "explicit", projectId: opts.project };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spawn } from 'cross-spawn';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
3
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
4
|
-
import { l as logger } from './logger-
|
|
4
|
+
import { l as logger } from './logger-BEVIGYKL.mjs';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
|
|
7
7
|
let cachedRuntime = null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var spawn = require('cross-spawn');
|
|
4
4
|
var path = require('node:path');
|
|
5
5
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
6
|
-
var logger = require('./logger-
|
|
6
|
+
var logger = require('./logger-Dhc0l3xH.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
|
|
9
9
|
let cachedRuntime = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var api = require('./api-
|
|
3
|
+
var logger = require('./logger-Dhc0l3xH.cjs');
|
|
4
|
+
var persistence = require('./persistence-05BAS4Ou.cjs');
|
|
5
|
+
var api = require('./api-B-FB-s4z.cjs');
|
|
6
6
|
|
|
7
7
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
8
8
|
async function commitHibernation(deps) {
|
|
@@ -209,18 +209,7 @@ async function createSessionForStartup(create, opts) {
|
|
|
209
209
|
throw new SessionStartupError(`Could not create the session on the server after ${delays.length + 1} attempts: ${api.connectionState.describe("Session creation") ?? "server unavailable"}`);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
const ID = /^[A-Za-z0-9_-]{1,128}$/;
|
|
213
|
-
const KEY = /^[A-Z]+-\d{1,9}$/;
|
|
214
|
-
function issueSessionMetadata(env = process.env) {
|
|
215
|
-
const id = env.VH_ISSUE_ID;
|
|
216
|
-
if (!id || !ID.test(id)) return {};
|
|
217
|
-
const runId = env.VH_ISSUE_RUN_ID && ID.test(env.VH_ISSUE_RUN_ID) ? env.VH_ISSUE_RUN_ID : void 0;
|
|
218
|
-
const key = env.VH_ISSUE_KEY && KEY.test(env.VH_ISSUE_KEY) ? env.VH_ISSUE_KEY : void 0;
|
|
219
|
-
return { issue: { id, ...runId ? { runId } : {}, ...key ? { key } : {} } };
|
|
220
|
-
}
|
|
221
|
-
|
|
222
212
|
exports.HibernationExitLatch = HibernationExitLatch;
|
|
223
213
|
exports.HibernationProbe = HibernationProbe;
|
|
224
214
|
exports.commitHibernation = commitHibernation;
|
|
225
215
|
exports.createSessionForStartup = createSessionForStartup;
|
|
226
|
-
exports.issueSessionMetadata = issueSessionMetadata;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { e as evaluateWrapperIdle,
|
|
3
|
-
import { c as connectionState } from './api-
|
|
1
|
+
import { l as logger } from './logger-BEVIGYKL.mjs';
|
|
2
|
+
import { e as evaluateWrapperIdle, j as isQuiescent, k as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-EuUaQKL7.mjs';
|
|
3
|
+
import { c as connectionState } from './api-Cu1OFHDM.mjs';
|
|
4
4
|
|
|
5
5
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
6
6
|
async function commitHibernation(deps) {
|
|
@@ -207,14 +207,4 @@ async function createSessionForStartup(create, opts) {
|
|
|
207
207
|
throw new SessionStartupError(`Could not create the session on the server after ${delays.length + 1} attempts: ${connectionState.describe("Session creation") ?? "server unavailable"}`);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
|
|
211
|
-
const KEY = /^[A-Z]+-\d{1,9}$/;
|
|
212
|
-
function issueSessionMetadata(env = process.env) {
|
|
213
|
-
const id = env.VH_ISSUE_ID;
|
|
214
|
-
if (!id || !ID.test(id)) return {};
|
|
215
|
-
const runId = env.VH_ISSUE_RUN_ID && ID.test(env.VH_ISSUE_RUN_ID) ? env.VH_ISSUE_RUN_ID : void 0;
|
|
216
|
-
const key = env.VH_ISSUE_KEY && KEY.test(env.VH_ISSUE_KEY) ? env.VH_ISSUE_KEY : void 0;
|
|
217
|
-
return { issue: { id, ...runId ? { runId } : {}, ...key ? { key } : {} } };
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export { HibernationProbe as H, commitHibernation as a, HibernationExitLatch as b, createSessionForStartup as c, issueSessionMetadata as i };
|
|
210
|
+
export { HibernationProbe as H, commitHibernation as a, HibernationExitLatch as b, createSessionForStartup as c };
|
|
@@ -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 index = require('./index-
|
|
6
|
+
var index = require('./index-44o_qMvE.cjs');
|
|
7
7
|
|
|
8
8
|
function providersPath(happyHomeDir) {
|
|
9
9
|
return path.join(happyHomeDir, "providers.json");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync, existsSync, mkdirSync, chmodSync, writeFileSync, renameSync, rmSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { join, dirname } from 'node:path';
|
|
4
|
-
import { z as AGENT_PROFILE_KINDS } from './index-
|
|
4
|
+
import { z as AGENT_PROFILE_KINDS } from './index-CiRMvS73.mjs';
|
|
5
5
|
|
|
6
6
|
function providersPath(happyHomeDir) {
|
|
7
7
|
return join(happyHomeDir, "providers.json");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-Dhc0l3xH.cjs');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
5
|
var path$1 = require('node:path');
|
|
6
6
|
var path = require('./path-B7zW-WwE.cjs');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-44o_qMvE.cjs');
|
|
8
8
|
var trimIdent = require('./trimIdent-4gvk9Wk6.cjs');
|
|
9
9
|
var os = require('node:os');
|
|
10
10
|
var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-BEVIGYKL.mjs';
|
|
2
2
|
import { existsSync, readFileSync } from 'node:fs';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { K as BUILTIN_TODO_DISCOVERY } from './index-CiRMvS73.mjs';
|
|
6
6
|
import { t as trimIdent } from './trimIdent-BAjmv_TG.mjs';
|
|
7
7
|
import { homedir } from 'node:os';
|
|
8
8
|
import { A as AGENT_GUIDANCE } from './agentGuidance-BDYt2Qy2.mjs';
|
|
@@ -2,21 +2,21 @@ import { homedir } from 'node:os';
|
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
|
-
import { t as teamRequest, c as createTeamsClient } from './client-
|
|
6
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
+
import { t as teamRequest, c as createTeamsClient } from './client-DJsXNJWO.mjs';
|
|
6
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-EuUaQKL7.mjs';
|
|
7
7
|
import { a as installTeamSkill, i as installAutomationSkill } from './install-B8O1JpJH.mjs';
|
|
8
8
|
import 'node:child_process';
|
|
9
9
|
import 'node:util';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-CiRMvS73.mjs';
|
|
12
12
|
import '@paralleldrive/cuid2';
|
|
13
|
-
import './configuration-
|
|
13
|
+
import './configuration-CQaLZMa-.mjs';
|
|
14
14
|
import 'node:fs';
|
|
15
|
-
import './package-
|
|
16
|
-
import './context-
|
|
15
|
+
import './package-aOUtHYRZ.mjs';
|
|
16
|
+
import './context-ByTvtMXZ.mjs';
|
|
17
17
|
import './authRelay-DhQhkBvX.mjs';
|
|
18
18
|
import 'tweetnacl';
|
|
19
|
-
import './logger-
|
|
19
|
+
import './logger-BEVIGYKL.mjs';
|
|
20
20
|
import 'chalk';
|
|
21
21
|
import './resources-CLP_MpK4.mjs';
|
|
22
22
|
|
|
@@ -4,21 +4,21 @@ var os = require('node:os');
|
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
|
-
var client = require('./client-
|
|
8
|
-
var persistence = require('./persistence-
|
|
7
|
+
var client = require('./client-Ch4Azlny.cjs');
|
|
8
|
+
var persistence = require('./persistence-05BAS4Ou.cjs');
|
|
9
9
|
var install = require('./install-BOHlqewf.cjs');
|
|
10
10
|
require('node:child_process');
|
|
11
11
|
require('node:util');
|
|
12
12
|
require('node:path');
|
|
13
|
-
require('./index-
|
|
13
|
+
require('./index-44o_qMvE.cjs');
|
|
14
14
|
require('@paralleldrive/cuid2');
|
|
15
|
-
require('./configuration-
|
|
15
|
+
require('./configuration-DZUnfWp2.cjs');
|
|
16
16
|
require('node:fs');
|
|
17
|
-
require('./package-
|
|
18
|
-
require('./context-
|
|
17
|
+
require('./package-CAmlKYcH.cjs');
|
|
18
|
+
require('./context-BHydzPZw.cjs');
|
|
19
19
|
require('./authRelay-Dy1qU9td.cjs');
|
|
20
20
|
require('tweetnacl');
|
|
21
|
-
require('./logger-
|
|
21
|
+
require('./logger-Dhc0l3xH.cjs');
|
|
22
22
|
require('chalk');
|
|
23
23
|
require('./resources-BZ_Be0qM.cjs');
|
|
24
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as AUTOMATION_ATTENTION_REASON_MAX_CHARS, q as AUTOMATION_SUMMARY_MAX_CHARS } from './index-
|
|
1
|
+
import { o as AUTOMATION_ATTENTION_REASON_MAX_CHARS, q as AUTOMATION_SUMMARY_MAX_CHARS } from './index-CiRMvS73.mjs';
|
|
2
2
|
|
|
3
3
|
function payloadJson(payload) {
|
|
4
4
|
if (!payload) return void 0;
|
|
@@ -5,16 +5,16 @@ var module$1 = require('node:module');
|
|
|
5
5
|
var oneShotPrompts = require('./oneShotPrompts-CL0dip9C.cjs');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var logger = require('./logger-
|
|
8
|
+
var logger = require('./logger-Dhc0l3xH.cjs');
|
|
9
9
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
10
|
-
var wrapperAccount = require('./wrapperAccount-
|
|
10
|
+
var wrapperAccount = require('./wrapperAccount-nGGMJDBF.cjs');
|
|
11
11
|
|
|
12
12
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
13
13
|
const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
14
14
|
const MAX_TITLE_CHARS = 60;
|
|
15
15
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
16
16
|
function loadClaudeVersionUtils() {
|
|
17
|
-
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-
|
|
17
|
+
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-CpiQkf_r.cjs', document.baseURI).href)));
|
|
18
18
|
return require$1(path.resolve(path.join(projectPath.projectPath(), "scripts", "claude_version_utils.cjs")));
|
|
19
19
|
}
|
|
20
20
|
function resolveClaudeBinary(loadUtils = loadClaudeVersionUtils) {
|
|
@@ -3,9 +3,9 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { T as TITLE_PROMPT_PREFIX } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { resolve, join } from 'node:path';
|
|
6
|
-
import { l as logger } from './logger-
|
|
6
|
+
import { l as logger } from './logger-BEVIGYKL.mjs';
|
|
7
7
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
8
|
-
import { a as accountClaudeSettings } from './wrapperAccount-
|
|
8
|
+
import { a as accountClaudeSettings } from './wrapperAccount-z8Swrd08.mjs';
|
|
9
9
|
|
|
10
10
|
const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
11
11
|
const MAX_TITLE_CHARS = 60;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var context = require('./context-
|
|
7
|
-
var client = require('./client-
|
|
8
|
-
var format = require('./format-
|
|
3
|
+
var configuration = require('./configuration-DZUnfWp2.cjs');
|
|
4
|
+
var index = require('./index-44o_qMvE.cjs');
|
|
5
|
+
var persistence = require('./persistence-05BAS4Ou.cjs');
|
|
6
|
+
var context = require('./context-BHydzPZw.cjs');
|
|
7
|
+
var client = require('./client-xV99weGP.cjs');
|
|
8
|
+
var format = require('./format-DePME4uu.cjs');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-CAmlKYcH.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
require('zod');
|
|
15
15
|
require('@paralleldrive/cuid2');
|
|
16
16
|
require('./authRelay-Dy1qU9td.cjs');
|
|
17
17
|
require('node:crypto');
|
|
18
18
|
require('tweetnacl');
|
|
19
|
-
require('./logger-
|
|
19
|
+
require('./logger-Dhc0l3xH.cjs');
|
|
20
20
|
require('chalk');
|
|
21
21
|
require('node:util');
|
|
22
22
|
|
|
@@ -39,7 +39,7 @@ async function authenticatedBuiltinTodoClient() {
|
|
|
39
39
|
function issueToTodoRecord(issue) {
|
|
40
40
|
return {
|
|
41
41
|
schemaVersion: 1,
|
|
42
|
-
id: issue.id,
|
|
42
|
+
id: issue.legacyTodoId ?? issue.id,
|
|
43
43
|
key: issue.key,
|
|
44
44
|
title: issue.title,
|
|
45
45
|
note: issue.description,
|
|
@@ -50,7 +50,6 @@ function issueToTodoRecord(issue) {
|
|
|
50
50
|
version: issue.version
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
const OPEN = index.ISSUE_STATUSES.filter((s) => !index.isIssueClosed(s)).join(",");
|
|
54
53
|
const CONFLICT = "Todo version conflict; read the latest task before deciding what to change.";
|
|
55
54
|
async function find(client$1, ref) {
|
|
56
55
|
try {
|
|
@@ -63,14 +62,23 @@ async function find(client$1, ref) {
|
|
|
63
62
|
}
|
|
64
63
|
async function runTodoViaIssues(command, client$1) {
|
|
65
64
|
if (command.action === "list") {
|
|
66
|
-
const { issues, nextCursor } = await client$1.list({ assigneeKind: "none",
|
|
67
|
-
const records = issues.map(issueToTodoRecord)
|
|
65
|
+
const { issues, nextCursor } = await client$1.list({ assigneeKind: "none", limit: index.ISSUE_LIMITS.listMax });
|
|
66
|
+
const records = index.sortBuiltinTodos(issues.map(issueToTodoRecord));
|
|
68
67
|
const list = { records, truncated: nextCursor !== null, invalidCount: 0 };
|
|
69
68
|
return list;
|
|
70
69
|
}
|
|
71
70
|
if (command.action === "add") {
|
|
72
71
|
if (command.title.trim().length > index.ISSUE_LIMITS.titleChars) throw new Error(`Todo title must contain 1\u2013${index.ISSUE_LIMITS.titleChars} characters on this server`);
|
|
73
|
-
const
|
|
72
|
+
const title = command.title.trim();
|
|
73
|
+
const note = command.note ?? "";
|
|
74
|
+
let issue2;
|
|
75
|
+
try {
|
|
76
|
+
({ issue: issue2 } = await client$1.create({ title, description: note, status: "todo", assignee: { kind: "none" }, requestId: command.id, legacyTodoId: command.id }));
|
|
77
|
+
} catch (error) {
|
|
78
|
+
if (error instanceof client.IssueRequestError && error.code === "issue_todo_deleted") throw new Error("Todo changed on another device; refresh before retrying");
|
|
79
|
+
throw error;
|
|
80
|
+
}
|
|
81
|
+
if (issue2.title !== title || issue2.description !== note) throw new Error("This Todo ID already has different content; read it before deciding");
|
|
74
82
|
return issueToTodoRecord(issue2);
|
|
75
83
|
}
|
|
76
84
|
const issue = await find(client$1, command.id);
|
|
@@ -80,7 +88,7 @@ async function runTodoViaIssues(command, client$1) {
|
|
|
80
88
|
try {
|
|
81
89
|
if (command.action === "delete") {
|
|
82
90
|
await client$1.remove(issue.id);
|
|
83
|
-
return { id: issue.id, deleted: true };
|
|
91
|
+
return { id: issueToTodoRecord(issue).id, deleted: true };
|
|
84
92
|
}
|
|
85
93
|
const patch = command.action === "edit" ? { ...command.title !== void 0 ? { title: command.title.trim() } : {}, ...command.note !== void 0 ? { description: command.note } : {} } : { status: command.action === "complete" ? "done" : "todo" };
|
|
86
94
|
return issueToTodoRecord((await client$1.update(issue.id, { ...patch, ifVersion: issue.version })).issue);
|
|
@@ -105,10 +113,10 @@ These commands use the current relay and login; they do not
|
|
|
105
113
|
operate external providers or agent execution plans. skill prints the official
|
|
106
114
|
instructions without authentication. Pass --help for this reference.
|
|
107
115
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
an issue key (VH-12), and \`very-happy issue\`
|
|
111
|
-
commands use the classic Todos store.`;
|
|
116
|
+
list shows open and completed todos (--all is accepted and the same).
|
|
117
|
+
On a server with Issues, a todo is an issue without an assignee: add creates a
|
|
118
|
+
todo-status issue, ID may also be an issue key (VH-12), and \`very-happy issue\`
|
|
119
|
+
offers the rest. Without Issues the commands use the classic Todos store.`;
|
|
112
120
|
const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
113
121
|
const ISSUE_KEY = /^VH-[1-9][0-9]{0,8}$/i;
|
|
114
122
|
function parseTodoArgs(args) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
2
|
-
import { E as createBuiltinTodoClient, F as ISSUE_LIMITS,
|
|
3
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
4
|
-
import { r as readTeamScope, t as teamScopePath } from './context-
|
|
5
|
-
import { a as IssueRequestError, s as sharedIssuesClient, i as importLegacyTodosOnce, I as IssuesUnsupportedError } from './client-
|
|
6
|
-
import { d as describeIssueError } from './format-
|
|
1
|
+
import { c as configuration } from './configuration-CQaLZMa-.mjs';
|
|
2
|
+
import { E as createBuiltinTodoClient, F as ISSUE_LIMITS, G as sortBuiltinTodos, H as isIssueClosed, J as BUILTIN_TODO_SKILL } from './index-CiRMvS73.mjs';
|
|
3
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-EuUaQKL7.mjs';
|
|
4
|
+
import { r as readTeamScope, t as teamScopePath } from './context-ByTvtMXZ.mjs';
|
|
5
|
+
import { a as IssueRequestError, s as sharedIssuesClient, i as importLegacyTodosOnce, I as IssuesUnsupportedError } from './client-Cj7D61by.mjs';
|
|
6
|
+
import { d as describeIssueError } from './format-BSx-Nv2p.mjs';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'node:path';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-aOUtHYRZ.mjs';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import '@paralleldrive/cuid2';
|
|
14
14
|
import './authRelay-DhQhkBvX.mjs';
|
|
15
15
|
import 'node:crypto';
|
|
16
16
|
import 'tweetnacl';
|
|
17
|
-
import './logger-
|
|
17
|
+
import './logger-BEVIGYKL.mjs';
|
|
18
18
|
import 'chalk';
|
|
19
19
|
import 'node:util';
|
|
20
20
|
|
|
@@ -37,7 +37,7 @@ async function authenticatedBuiltinTodoClient() {
|
|
|
37
37
|
function issueToTodoRecord(issue) {
|
|
38
38
|
return {
|
|
39
39
|
schemaVersion: 1,
|
|
40
|
-
id: issue.id,
|
|
40
|
+
id: issue.legacyTodoId ?? issue.id,
|
|
41
41
|
key: issue.key,
|
|
42
42
|
title: issue.title,
|
|
43
43
|
note: issue.description,
|
|
@@ -48,7 +48,6 @@ function issueToTodoRecord(issue) {
|
|
|
48
48
|
version: issue.version
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
const OPEN = ISSUE_STATUSES.filter((s) => !isIssueClosed(s)).join(",");
|
|
52
51
|
const CONFLICT = "Todo version conflict; read the latest task before deciding what to change.";
|
|
53
52
|
async function find(client, ref) {
|
|
54
53
|
try {
|
|
@@ -61,14 +60,23 @@ async function find(client, ref) {
|
|
|
61
60
|
}
|
|
62
61
|
async function runTodoViaIssues(command, client) {
|
|
63
62
|
if (command.action === "list") {
|
|
64
|
-
const { issues, nextCursor } = await client.list({ assigneeKind: "none",
|
|
65
|
-
const records = issues.map(issueToTodoRecord)
|
|
63
|
+
const { issues, nextCursor } = await client.list({ assigneeKind: "none", limit: ISSUE_LIMITS.listMax });
|
|
64
|
+
const records = sortBuiltinTodos(issues.map(issueToTodoRecord));
|
|
66
65
|
const list = { records, truncated: nextCursor !== null, invalidCount: 0 };
|
|
67
66
|
return list;
|
|
68
67
|
}
|
|
69
68
|
if (command.action === "add") {
|
|
70
69
|
if (command.title.trim().length > ISSUE_LIMITS.titleChars) throw new Error(`Todo title must contain 1\u2013${ISSUE_LIMITS.titleChars} characters on this server`);
|
|
71
|
-
const
|
|
70
|
+
const title = command.title.trim();
|
|
71
|
+
const note = command.note ?? "";
|
|
72
|
+
let issue2;
|
|
73
|
+
try {
|
|
74
|
+
({ issue: issue2 } = await client.create({ title, description: note, status: "todo", assignee: { kind: "none" }, requestId: command.id, legacyTodoId: command.id }));
|
|
75
|
+
} catch (error) {
|
|
76
|
+
if (error instanceof IssueRequestError && error.code === "issue_todo_deleted") throw new Error("Todo changed on another device; refresh before retrying");
|
|
77
|
+
throw error;
|
|
78
|
+
}
|
|
79
|
+
if (issue2.title !== title || issue2.description !== note) throw new Error("This Todo ID already has different content; read it before deciding");
|
|
72
80
|
return issueToTodoRecord(issue2);
|
|
73
81
|
}
|
|
74
82
|
const issue = await find(client, command.id);
|
|
@@ -78,7 +86,7 @@ async function runTodoViaIssues(command, client) {
|
|
|
78
86
|
try {
|
|
79
87
|
if (command.action === "delete") {
|
|
80
88
|
await client.remove(issue.id);
|
|
81
|
-
return { id: issue.id, deleted: true };
|
|
89
|
+
return { id: issueToTodoRecord(issue).id, deleted: true };
|
|
82
90
|
}
|
|
83
91
|
const patch = command.action === "edit" ? { ...command.title !== void 0 ? { title: command.title.trim() } : {}, ...command.note !== void 0 ? { description: command.note } : {} } : { status: command.action === "complete" ? "done" : "todo" };
|
|
84
92
|
return issueToTodoRecord((await client.update(issue.id, { ...patch, ifVersion: issue.version })).issue);
|
|
@@ -103,10 +111,10 @@ These commands use the current relay and login; they do not
|
|
|
103
111
|
operate external providers or agent execution plans. skill prints the official
|
|
104
112
|
instructions without authentication. Pass --help for this reference.
|
|
105
113
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
an issue key (VH-12), and \`very-happy issue\`
|
|
109
|
-
commands use the classic Todos store.`;
|
|
114
|
+
list shows open and completed todos (--all is accepted and the same).
|
|
115
|
+
On a server with Issues, a todo is an issue without an assignee: add creates a
|
|
116
|
+
todo-status issue, ID may also be an issue key (VH-12), and \`very-happy issue\`
|
|
117
|
+
offers the rest. Without Issues the commands use the classic Todos store.`;
|
|
110
118
|
const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
111
119
|
const ISSUE_KEY = /^VH-[1-9][0-9]{0,8}$/i;
|
|
112
120
|
function parseTodoArgs(args) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { c as createTeamsClient } from './client-
|
|
2
|
+
import { c as createTeamsClient } from './client-DJsXNJWO.mjs';
|
|
3
3
|
|
|
4
4
|
const CLOSED_GOAL_CHARS = 200;
|
|
5
5
|
const closed = (task) => task.status === "done" || task.status === "cancelled";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-BEVIGYKL.mjs';
|
|
2
2
|
import { existsSync, unlinkSync } from 'fs';
|
|
3
3
|
import { execSync } from 'child_process';
|
|
4
4
|
import 'chalk';
|
|
5
5
|
import 'node:util';
|
|
6
|
-
import './configuration-
|
|
6
|
+
import './configuration-CQaLZMa-.mjs';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'node:path';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-aOUtHYRZ.mjs';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
12
|
|
|
13
13
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-Dhc0l3xH.cjs');
|
|
4
4
|
var require$$0 = require('fs');
|
|
5
5
|
var child_process = require('child_process');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('node:util');
|
|
8
|
-
require('./configuration-
|
|
8
|
+
require('./configuration-DZUnfWp2.cjs');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-CAmlKYcH.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
|
|
15
15
|
const PLIST_LABEL = "com.happy-cli.daemon";
|