@namzu/cli 50.1.0 → 50.2.0
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/CHANGELOG.md +24 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-PFKCDYRZ.js → acp-WZJUKMLZ.js} +73 -87
- package/dist/chunks/acp-WZJUKMLZ.js.map +6 -0
- package/dist/chunks/{activity-command-VZNRTS4Y.js → activity-command-WLHWANOB.js} +12 -12
- package/dist/chunks/{add-ILOY57M3.js → add-B55RR7FD.js} +19 -19
- package/dist/chunks/{agent-7XMB6YDL.js → agent-LG5LWVHS.js} +37 -35
- package/dist/chunks/agent-session-XZAD6VLV.js +69 -0
- package/dist/chunks/{archive-YUJITQ3K.js → archive-SJZ25KYL.js} +10 -10
- package/dist/chunks/{bin-main-QQCDUNOU.js → bin-main-2PGQSBXB.js} +7 -7
- package/dist/chunks/{binding-QXY72MYE.js → binding-L2VXM2X5.js} +3 -3
- package/dist/chunks/{browser-T5M3N46O.js → browser-5TFSC4LO.js} +6 -6
- package/dist/chunks/{chat-H6P7555R.js → chat-OFLDMKBR.js} +15 -15
- package/dist/chunks/{chunk-T4BQXXZS.js → chunk-24PL6U4S.js} +5 -5
- package/dist/chunks/{chunk-C2PBNQYT.js → chunk-2CSVXV4L.js} +10 -10
- package/dist/chunks/{chunk-4IP74K5V.js → chunk-2GYQWGJD.js} +2 -2
- package/dist/chunks/{chunk-IQPD7KYD.js → chunk-2IGQFWAB.js} +3 -3
- package/dist/chunks/{chunk-AKXUNA4X.js → chunk-3UXNHP3C.js} +6 -6
- package/dist/chunks/{chunk-FGEJOOL4.js → chunk-4H5G75XK.js} +3 -3
- package/dist/chunks/{chunk-CPWGSBBN.js → chunk-4LR6IOLQ.js} +3 -3
- package/dist/chunks/{chunk-GN424XZ3.js → chunk-4XN7DMZ6.js} +7 -7
- package/dist/chunks/{chunk-424T6RL4.js → chunk-5GVVNO7E.js} +2 -2
- package/dist/chunks/{chunk-UXXV6VCO.js → chunk-663XNTZ7.js} +3 -3
- package/dist/chunks/{chunk-GKPO6EGA.js → chunk-6BIE5DYM.js} +2 -2
- package/dist/chunks/{chunk-P2E6HFIP.js → chunk-6COBCXQV.js} +2 -2
- package/dist/chunks/{chunk-WTMP5H7T.js → chunk-6OVQ7YHB.js} +4 -4
- package/dist/chunks/{chunk-6X3NKVRL.js → chunk-7Q6ENTCV.js} +4 -4
- package/dist/chunks/{chunk-QPREGR6U.js → chunk-A75MGD3U.js} +4 -4
- package/dist/chunks/{chunk-UARXWUZO.js → chunk-AXXQTHGT.js} +4 -4
- package/dist/chunks/{chunk-T2DRSTJV.js → chunk-BCBTE5FC.js} +2 -2
- package/dist/chunks/{chunk-7VXBUWVA.js → chunk-BGJ77YZV.js} +2 -2
- package/dist/chunks/{chunk-SSPDO3JT.js → chunk-BH34ASBZ.js} +9 -9
- package/dist/chunks/{chunk-SB3GBZ65.js → chunk-CIIBX4PI.js} +3 -3
- package/dist/chunks/{chunk-JQUAYX3B.js → chunk-COF6PKWN.js} +5 -5
- package/dist/chunks/{chunk-RSAB3MPL.js → chunk-CTVEF75F.js} +11 -11
- package/dist/chunks/{chunk-URBIMXZN.js → chunk-DRTTUNNF.js} +6 -6
- package/dist/chunks/{chunk-HUKEVKWH.js → chunk-DSLM4DF6.js} +3 -3
- package/dist/chunks/{chunk-2FQ6QJIZ.js → chunk-DURIB5QE.js} +12 -12
- package/dist/chunks/{chunk-CFCULKSN.js → chunk-E3C3CMR6.js} +2 -2
- package/dist/chunks/{chunk-JGYCZO6C.js → chunk-EM4U3UY4.js} +2 -2
- package/dist/chunks/{chunk-QNIHTTLG.js → chunk-FP5BDOUA.js} +3 -3
- package/dist/chunks/{chunk-57EJUGDT.js → chunk-G6HVF7BU.js} +3 -3
- package/dist/chunks/{chunk-FXAHVRUE.js → chunk-GP4XESLU.js} +3 -3
- package/dist/chunks/{chunk-SFGTJCGU.js → chunk-GPMXLPTZ.js} +2 -2
- package/dist/chunks/{chunk-FIIZZRMV.js → chunk-HRA64D54.js} +3 -3
- package/dist/chunks/{chunk-XC6UYANY.js → chunk-I5JZS2ZI.js} +2 -2
- package/dist/chunks/{chunk-Z3DTGVZS.js → chunk-IX4YFVK5.js} +35 -33
- package/dist/chunks/{chunk-Z3DTGVZS.js.map → chunk-IX4YFVK5.js.map} +1 -1
- package/dist/chunks/{chunk-GL6KSVMS.js → chunk-IY5RBBRD.js} +9 -9
- package/dist/chunks/{chunk-CR23VYUE.js → chunk-J2Y2AOFX.js} +15 -14
- package/dist/chunks/{chunk-CR23VYUE.js.map → chunk-J2Y2AOFX.js.map} +1 -1
- package/dist/chunks/{chunk-IZHREIZK.js → chunk-J65LJILX.js} +192 -85
- package/dist/chunks/chunk-J65LJILX.js.map +6 -0
- package/dist/chunks/{chunk-IXNUPR24.js → chunk-JBMA7BRH.js} +33 -33
- package/dist/chunks/{chunk-K4PPNYXR.js → chunk-JMURF6AE.js} +2 -2
- package/dist/chunks/{chunk-SVB7IHBE.js → chunk-JREHAUBD.js} +3 -3
- package/dist/chunks/{chunk-HDOYZYBW.js → chunk-K7B7Z4OK.js} +3 -3
- package/dist/chunks/{chunk-EPDDCCV5.js → chunk-LD5TYFAP.js} +2 -2
- package/dist/chunks/{chunk-Y22AUU3X.js → chunk-LM37ASZT.js} +4 -4
- package/dist/chunks/{chunk-MAMV7MUG.js → chunk-LP4KMVFB.js} +9 -9
- package/dist/chunks/{chunk-ZJKISI2K.js → chunk-M62PUTES.js} +13 -5
- package/dist/chunks/chunk-M62PUTES.js.map +6 -0
- package/dist/chunks/{chunk-NXRUXNJ5.js → chunk-MAF7TNYC.js} +2 -2
- package/dist/chunks/{chunk-ZE6HLPD4.js → chunk-MJJAKWHU.js} +889 -319
- package/dist/chunks/chunk-MJJAKWHU.js.map +6 -0
- package/dist/chunks/{chunk-P7NXR4OV.js → chunk-NUYEA2GW.js} +4 -4
- package/dist/chunks/{chunk-WKW65PAC.js → chunk-OGGKA2PQ.js} +2 -2
- package/dist/chunks/{chunk-56WREK7X.js → chunk-OPQ2MCIJ.js} +2 -2
- package/dist/chunks/{chunk-PCW42R33.js → chunk-OV6445PV.js} +5 -5
- package/dist/chunks/{chunk-KKEWKJVL.js → chunk-PGMKME64.js} +3 -3
- package/dist/chunks/{chunk-G5OCRPZF.js → chunk-PUYFQ7HR.js} +2 -2
- package/dist/chunks/{chunk-RGUF5E22.js → chunk-PV6KTWLW.js} +4 -4
- package/dist/chunks/{chunk-RZ6PDAMQ.js → chunk-PVWX3NVL.js} +2 -2
- package/dist/chunks/{chunk-FM2QPMPK.js → chunk-PWGNLBJO.js} +2 -2
- package/dist/chunks/{chunk-S4Q4PC2L.js → chunk-QPG5YTSB.js} +5 -5
- package/dist/chunks/{chunk-S4Q4PC2L.js.map → chunk-QPG5YTSB.js.map} +1 -1
- package/dist/chunks/{chunk-ITNMS75R.js → chunk-QQ7MRKPH.js} +2 -2
- package/dist/chunks/{chunk-SECKALTU.js → chunk-QWVWNNP7.js} +2 -2
- package/dist/chunks/{chunk-SAJGEVVD.js → chunk-RHNZNUTG.js} +3 -3
- package/dist/chunks/{chunk-2BMVENUB.js → chunk-RLGZA2NG.js} +2 -2
- package/dist/chunks/{chunk-NVZRRJJS.js → chunk-RSP6O5OB.js} +2 -2
- package/dist/chunks/{chunk-XXHZE4KV.js → chunk-S2U2D4UF.js} +2 -2
- package/dist/chunks/{chunk-BIDU2JUB.js → chunk-SM2DUB7U.js} +2 -2
- package/dist/chunks/{chunk-E6BNHEYX.js → chunk-TZLJJJRB.js} +2 -2
- package/dist/chunks/{chunk-45PI33XV.js → chunk-VAOGSS7C.js} +3 -3
- package/dist/chunks/{chunk-D7W5LUXV.js → chunk-VCQOTSMI.js} +3 -3
- package/dist/chunks/{chunk-HNVUVSOI.js → chunk-VD6DYY42.js} +2 -2
- package/dist/chunks/{chunk-5WSDPQ3D.js → chunk-WLQ4EA3C.js} +4 -4
- package/dist/chunks/{chunk-HYUVSO4X.js → chunk-WWVFL5LP.js} +4 -4
- package/dist/chunks/{chunk-UBB7EIHC.js → chunk-XKX67QOT.js} +3 -3
- package/dist/chunks/{chunk-MIJGXF3Z.js → chunk-XLYTLAMO.js} +2 -2
- package/dist/chunks/{chunk-GWXAAFPJ.js → chunk-YFOTGPY7.js} +2 -2
- package/dist/chunks/{chunk-HYWVPQQD.js → chunk-YMQ7RDWK.js} +4 -4
- package/dist/chunks/{chunk-VQ7FOO7M.js → chunk-YYVKM3Z6.js} +2 -2
- package/dist/chunks/{chunk-IXDECEIX.js → chunk-ZS64S2KR.js} +4 -4
- package/dist/chunks/{cli-runtime-JXRGA4O7.js → cli-runtime-IRYWJ4X4.js} +11 -11
- package/dist/chunks/{commands-3K6WWRUN.js → commands-FXM7W42M.js} +5 -5
- package/dist/chunks/{crash-report-NTEADY4P.js → crash-report-ZOFOPOGE.js} +6 -6
- package/dist/chunks/{dist-CRT6EQAR.js → dist-2WXYB36H.js} +2 -2
- package/dist/chunks/{dist-EHAGNOTG.js → dist-ABFEAN2U.js} +2 -2
- package/dist/chunks/{dist-Z2QVC4OK.js → dist-QEI7QZKS.js} +2 -2
- package/dist/chunks/{dist-43NXQHZ2.js → dist-RVSYRVUG.js} +2 -2
- package/dist/chunks/{dist-G2QITXMW.js → dist-S3XEFHON.js} +2 -2
- package/dist/chunks/{dist-VEUKVTZP.js → dist-U2IASQF3.js} +2 -2
- package/dist/chunks/{dist-WDRMCFAU.js → dist-VG7K7T7Q.js} +6 -2
- package/dist/chunks/{dist-5ZAKSBZS.js → dist-ZMX2O2DP.js} +2 -2
- package/dist/chunks/{doctor-UVX6YR2I.js → doctor-KCCXSJVZ.js} +16 -16
- package/dist/chunks/{drain-URR6CUUH.js → drain-QLA4FGSV.js} +9 -9
- package/dist/chunks/{entry-WCWSORA2.js → entry-FHD4KBSM.js} +6 -6
- package/dist/chunks/{eval-Y6FUUDCX.js → eval-4O37Q6RK.js} +2 -2
- package/dist/chunks/{exec-5BUTAYMJ.js → exec-5YDDQJBB.js} +34 -34
- package/dist/chunks/{home-HDE3CFLB.js → home-33E6UFR7.js} +3 -3
- package/dist/chunks/{host-TZ6GSDWP.js → host-TBRXV7RU.js} +10 -10
- package/dist/chunks/{host-queries-Y7A4XJ64.js → host-queries-FKIZCZ4O.js} +15 -15
- package/dist/chunks/{learn-GYBZNIT3.js → learn-CXRBVPKA.js} +11 -11
- package/dist/chunks/{learn-builtin-EJXTHMX6.js → learn-builtin-OXXSTVYX.js} +14 -14
- package/dist/chunks/{lifecycle-5EM2QRFV.js → lifecycle-PTN5UDGT.js} +28 -28
- package/dist/chunks/{list-M34JU5AG.js → list-KUGDZNCZ.js} +11 -11
- package/dist/chunks/{live-XMBIOII4.js → live-PJUMYJWV.js} +15 -15
- package/dist/chunks/{login-NI3DFWOW.js → login-PI2CVLAL.js} +13 -13
- package/dist/chunks/{logs-OI6GZRRC.js → logs-YPFTNWHJ.js} +4 -4
- package/dist/chunks/{mcp-FK3OBBSJ.js → mcp-V7JIRXMM.js} +21 -21
- package/dist/chunks/{message-command-CIYB47HZ.js → message-command-GNTXQWWP.js} +41 -41
- package/dist/chunks/{open-XYGGZHXM.js → open-LQFYXJGO.js} +8 -8
- package/dist/chunks/{operator-tools-QSZS57PI.js → operator-tools-ODPPKZYO.js} +13 -13
- package/dist/chunks/{output-schema-BTNJ6DL5.js → output-schema-S5UX6KD4.js} +3 -3
- package/dist/chunks/{pal-EQAAJBWP.js → pal-PQP724JL.js} +16 -16
- package/dist/chunks/{peers-35H6CZOZ.js → peers-64WUYNO7.js} +7 -7
- package/dist/chunks/{peers-KN4BGJHU.js → peers-WF73HX4C.js} +6 -6
- package/dist/chunks/{providers-I2GONE3C.js → providers-SSGFWJ47.js} +11 -11
- package/dist/chunks/{pty-GZ4R2DCS.js → pty-CHKQPTIJ.js} +3 -3
- package/dist/chunks/resume-32TSOW5K.js +23 -0
- package/dist/chunks/{resume-command-TOAGIGZO.js → resume-command-PDAWC5OQ.js} +4 -4
- package/dist/chunks/{schedule-FU5WY3WV.js → schedule-DOUPTTHG.js} +8 -8
- package/dist/chunks/{service-3UYEV4JX.js → service-LQRXWFGJ.js} +28 -28
- package/dist/chunks/{skills-4V2SBEY3.js → skills-YVKSFMOJ.js} +8 -8
- package/dist/chunks/{start-check-RBYWVZT4.js → start-check-O4VN7KQQ.js} +2 -2
- package/dist/chunks/{startup-failure-SST73T7Q.js → startup-failure-MX3RDAVD.js} +2 -2
- package/dist/chunks/{state-N46ZI3LZ.js → state-SAFS7RR2.js} +2 -2
- package/dist/chunks/{store-M56FSIZT.js → store-5N2RJTS7.js} +6 -6
- package/dist/chunks/{store-KA6NETSP.js → store-DZQLPD24.js} +3 -3
- package/dist/chunks/{store-R662Y2YQ.js → store-QT2Z3BMR.js} +14 -10
- package/dist/chunks/{store-RHAHG45U.js → store-RNO4PTEJ.js} +4 -4
- package/dist/chunks/{tui-TJNH67YO.js → tui-SAH75DVX.js} +66 -66
- package/dist/chunks/{tui-TJNH67YO.js.map → tui-SAH75DVX.js.map} +1 -1
- package/dist/chunks/{upgrade-YNYPRYFI.js → upgrade-Z5LLWZN4.js} +7 -7
- package/dist/chunks/{workspaces-OITS2AZJ.js → workspaces-2BQK5RIW.js} +16 -16
- package/dist/chunks/{worktree-DJW4XCBG.js → worktree-4LIJQ2FK.js} +12 -12
- package/dist/commands/acp-harness.d.ts.map +1 -1
- package/dist/commands/acp-provider-retry.d.ts.map +1 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +10 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/index.js +19 -19
- package/dist/integrations/sessions/conversation-facts.d.ts +76 -0
- package/dist/integrations/sessions/conversation-facts.d.ts.map +1 -0
- package/dist/integrations/sessions/store.d.ts +22 -18
- package/dist/integrations/sessions/store.d.ts.map +1 -1
- package/dist/schedule/daemon/sessions.d.ts +3 -3
- package/dist/schedule/daemon/sessions.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +3 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/chunks/acp-PFKCDYRZ.js.map +0 -6
- package/dist/chunks/agent-session-EJPBND2I.js +0 -69
- package/dist/chunks/chunk-IZHREIZK.js.map +0 -6
- package/dist/chunks/chunk-ZE6HLPD4.js.map +0 -6
- package/dist/chunks/chunk-ZJKISI2K.js.map +0 -6
- package/dist/chunks/resume-4KW4GUYR.js +0 -23
- /package/dist/chunks/{activity-command-VZNRTS4Y.js.map → activity-command-WLHWANOB.js.map} +0 -0
- /package/dist/chunks/{add-ILOY57M3.js.map → add-B55RR7FD.js.map} +0 -0
- /package/dist/chunks/{agent-7XMB6YDL.js.map → agent-LG5LWVHS.js.map} +0 -0
- /package/dist/chunks/{agent-session-EJPBND2I.js.map → agent-session-XZAD6VLV.js.map} +0 -0
- /package/dist/chunks/{archive-YUJITQ3K.js.map → archive-SJZ25KYL.js.map} +0 -0
- /package/dist/chunks/{bin-main-QQCDUNOU.js.map → bin-main-2PGQSBXB.js.map} +0 -0
- /package/dist/chunks/{binding-QXY72MYE.js.map → binding-L2VXM2X5.js.map} +0 -0
- /package/dist/chunks/{browser-T5M3N46O.js.map → browser-5TFSC4LO.js.map} +0 -0
- /package/dist/chunks/{chat-H6P7555R.js.map → chat-OFLDMKBR.js.map} +0 -0
- /package/dist/chunks/{chunk-T4BQXXZS.js.map → chunk-24PL6U4S.js.map} +0 -0
- /package/dist/chunks/{chunk-C2PBNQYT.js.map → chunk-2CSVXV4L.js.map} +0 -0
- /package/dist/chunks/{chunk-4IP74K5V.js.map → chunk-2GYQWGJD.js.map} +0 -0
- /package/dist/chunks/{chunk-IQPD7KYD.js.map → chunk-2IGQFWAB.js.map} +0 -0
- /package/dist/chunks/{chunk-AKXUNA4X.js.map → chunk-3UXNHP3C.js.map} +0 -0
- /package/dist/chunks/{chunk-FGEJOOL4.js.map → chunk-4H5G75XK.js.map} +0 -0
- /package/dist/chunks/{chunk-CPWGSBBN.js.map → chunk-4LR6IOLQ.js.map} +0 -0
- /package/dist/chunks/{chunk-GN424XZ3.js.map → chunk-4XN7DMZ6.js.map} +0 -0
- /package/dist/chunks/{chunk-424T6RL4.js.map → chunk-5GVVNO7E.js.map} +0 -0
- /package/dist/chunks/{chunk-UXXV6VCO.js.map → chunk-663XNTZ7.js.map} +0 -0
- /package/dist/chunks/{chunk-GKPO6EGA.js.map → chunk-6BIE5DYM.js.map} +0 -0
- /package/dist/chunks/{chunk-P2E6HFIP.js.map → chunk-6COBCXQV.js.map} +0 -0
- /package/dist/chunks/{chunk-WTMP5H7T.js.map → chunk-6OVQ7YHB.js.map} +0 -0
- /package/dist/chunks/{chunk-6X3NKVRL.js.map → chunk-7Q6ENTCV.js.map} +0 -0
- /package/dist/chunks/{chunk-QPREGR6U.js.map → chunk-A75MGD3U.js.map} +0 -0
- /package/dist/chunks/{chunk-UARXWUZO.js.map → chunk-AXXQTHGT.js.map} +0 -0
- /package/dist/chunks/{chunk-T2DRSTJV.js.map → chunk-BCBTE5FC.js.map} +0 -0
- /package/dist/chunks/{chunk-7VXBUWVA.js.map → chunk-BGJ77YZV.js.map} +0 -0
- /package/dist/chunks/{chunk-SSPDO3JT.js.map → chunk-BH34ASBZ.js.map} +0 -0
- /package/dist/chunks/{chunk-SB3GBZ65.js.map → chunk-CIIBX4PI.js.map} +0 -0
- /package/dist/chunks/{chunk-JQUAYX3B.js.map → chunk-COF6PKWN.js.map} +0 -0
- /package/dist/chunks/{chunk-RSAB3MPL.js.map → chunk-CTVEF75F.js.map} +0 -0
- /package/dist/chunks/{chunk-URBIMXZN.js.map → chunk-DRTTUNNF.js.map} +0 -0
- /package/dist/chunks/{chunk-HUKEVKWH.js.map → chunk-DSLM4DF6.js.map} +0 -0
- /package/dist/chunks/{chunk-2FQ6QJIZ.js.map → chunk-DURIB5QE.js.map} +0 -0
- /package/dist/chunks/{chunk-CFCULKSN.js.map → chunk-E3C3CMR6.js.map} +0 -0
- /package/dist/chunks/{chunk-JGYCZO6C.js.map → chunk-EM4U3UY4.js.map} +0 -0
- /package/dist/chunks/{chunk-QNIHTTLG.js.map → chunk-FP5BDOUA.js.map} +0 -0
- /package/dist/chunks/{chunk-57EJUGDT.js.map → chunk-G6HVF7BU.js.map} +0 -0
- /package/dist/chunks/{chunk-FXAHVRUE.js.map → chunk-GP4XESLU.js.map} +0 -0
- /package/dist/chunks/{chunk-SFGTJCGU.js.map → chunk-GPMXLPTZ.js.map} +0 -0
- /package/dist/chunks/{chunk-FIIZZRMV.js.map → chunk-HRA64D54.js.map} +0 -0
- /package/dist/chunks/{chunk-XC6UYANY.js.map → chunk-I5JZS2ZI.js.map} +0 -0
- /package/dist/chunks/{chunk-GL6KSVMS.js.map → chunk-IY5RBBRD.js.map} +0 -0
- /package/dist/chunks/{chunk-IXNUPR24.js.map → chunk-JBMA7BRH.js.map} +0 -0
- /package/dist/chunks/{chunk-K4PPNYXR.js.map → chunk-JMURF6AE.js.map} +0 -0
- /package/dist/chunks/{chunk-SVB7IHBE.js.map → chunk-JREHAUBD.js.map} +0 -0
- /package/dist/chunks/{chunk-HDOYZYBW.js.map → chunk-K7B7Z4OK.js.map} +0 -0
- /package/dist/chunks/{chunk-EPDDCCV5.js.map → chunk-LD5TYFAP.js.map} +0 -0
- /package/dist/chunks/{chunk-Y22AUU3X.js.map → chunk-LM37ASZT.js.map} +0 -0
- /package/dist/chunks/{chunk-MAMV7MUG.js.map → chunk-LP4KMVFB.js.map} +0 -0
- /package/dist/chunks/{chunk-NXRUXNJ5.js.map → chunk-MAF7TNYC.js.map} +0 -0
- /package/dist/chunks/{chunk-P7NXR4OV.js.map → chunk-NUYEA2GW.js.map} +0 -0
- /package/dist/chunks/{chunk-WKW65PAC.js.map → chunk-OGGKA2PQ.js.map} +0 -0
- /package/dist/chunks/{chunk-56WREK7X.js.map → chunk-OPQ2MCIJ.js.map} +0 -0
- /package/dist/chunks/{chunk-PCW42R33.js.map → chunk-OV6445PV.js.map} +0 -0
- /package/dist/chunks/{chunk-KKEWKJVL.js.map → chunk-PGMKME64.js.map} +0 -0
- /package/dist/chunks/{chunk-G5OCRPZF.js.map → chunk-PUYFQ7HR.js.map} +0 -0
- /package/dist/chunks/{chunk-RGUF5E22.js.map → chunk-PV6KTWLW.js.map} +0 -0
- /package/dist/chunks/{chunk-RZ6PDAMQ.js.map → chunk-PVWX3NVL.js.map} +0 -0
- /package/dist/chunks/{chunk-FM2QPMPK.js.map → chunk-PWGNLBJO.js.map} +0 -0
- /package/dist/chunks/{chunk-ITNMS75R.js.map → chunk-QQ7MRKPH.js.map} +0 -0
- /package/dist/chunks/{chunk-SECKALTU.js.map → chunk-QWVWNNP7.js.map} +0 -0
- /package/dist/chunks/{chunk-SAJGEVVD.js.map → chunk-RHNZNUTG.js.map} +0 -0
- /package/dist/chunks/{chunk-2BMVENUB.js.map → chunk-RLGZA2NG.js.map} +0 -0
- /package/dist/chunks/{chunk-NVZRRJJS.js.map → chunk-RSP6O5OB.js.map} +0 -0
- /package/dist/chunks/{chunk-XXHZE4KV.js.map → chunk-S2U2D4UF.js.map} +0 -0
- /package/dist/chunks/{chunk-BIDU2JUB.js.map → chunk-SM2DUB7U.js.map} +0 -0
- /package/dist/chunks/{chunk-E6BNHEYX.js.map → chunk-TZLJJJRB.js.map} +0 -0
- /package/dist/chunks/{chunk-45PI33XV.js.map → chunk-VAOGSS7C.js.map} +0 -0
- /package/dist/chunks/{chunk-D7W5LUXV.js.map → chunk-VCQOTSMI.js.map} +0 -0
- /package/dist/chunks/{chunk-HNVUVSOI.js.map → chunk-VD6DYY42.js.map} +0 -0
- /package/dist/chunks/{chunk-5WSDPQ3D.js.map → chunk-WLQ4EA3C.js.map} +0 -0
- /package/dist/chunks/{chunk-HYUVSO4X.js.map → chunk-WWVFL5LP.js.map} +0 -0
- /package/dist/chunks/{chunk-UBB7EIHC.js.map → chunk-XKX67QOT.js.map} +0 -0
- /package/dist/chunks/{chunk-MIJGXF3Z.js.map → chunk-XLYTLAMO.js.map} +0 -0
- /package/dist/chunks/{chunk-GWXAAFPJ.js.map → chunk-YFOTGPY7.js.map} +0 -0
- /package/dist/chunks/{chunk-HYWVPQQD.js.map → chunk-YMQ7RDWK.js.map} +0 -0
- /package/dist/chunks/{chunk-VQ7FOO7M.js.map → chunk-YYVKM3Z6.js.map} +0 -0
- /package/dist/chunks/{chunk-IXDECEIX.js.map → chunk-ZS64S2KR.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-JXRGA4O7.js.map → cli-runtime-IRYWJ4X4.js.map} +0 -0
- /package/dist/chunks/{commands-3K6WWRUN.js.map → commands-FXM7W42M.js.map} +0 -0
- /package/dist/chunks/{crash-report-NTEADY4P.js.map → crash-report-ZOFOPOGE.js.map} +0 -0
- /package/dist/chunks/{dist-CRT6EQAR.js.map → dist-2WXYB36H.js.map} +0 -0
- /package/dist/chunks/{dist-EHAGNOTG.js.map → dist-ABFEAN2U.js.map} +0 -0
- /package/dist/chunks/{dist-Z2QVC4OK.js.map → dist-QEI7QZKS.js.map} +0 -0
- /package/dist/chunks/{dist-43NXQHZ2.js.map → dist-RVSYRVUG.js.map} +0 -0
- /package/dist/chunks/{dist-G2QITXMW.js.map → dist-S3XEFHON.js.map} +0 -0
- /package/dist/chunks/{dist-VEUKVTZP.js.map → dist-U2IASQF3.js.map} +0 -0
- /package/dist/chunks/{dist-WDRMCFAU.js.map → dist-VG7K7T7Q.js.map} +0 -0
- /package/dist/chunks/{dist-5ZAKSBZS.js.map → dist-ZMX2O2DP.js.map} +0 -0
- /package/dist/chunks/{doctor-UVX6YR2I.js.map → doctor-KCCXSJVZ.js.map} +0 -0
- /package/dist/chunks/{drain-URR6CUUH.js.map → drain-QLA4FGSV.js.map} +0 -0
- /package/dist/chunks/{entry-WCWSORA2.js.map → entry-FHD4KBSM.js.map} +0 -0
- /package/dist/chunks/{eval-Y6FUUDCX.js.map → eval-4O37Q6RK.js.map} +0 -0
- /package/dist/chunks/{exec-5BUTAYMJ.js.map → exec-5YDDQJBB.js.map} +0 -0
- /package/dist/chunks/{home-HDE3CFLB.js.map → home-33E6UFR7.js.map} +0 -0
- /package/dist/chunks/{host-TZ6GSDWP.js.map → host-TBRXV7RU.js.map} +0 -0
- /package/dist/chunks/{host-queries-Y7A4XJ64.js.map → host-queries-FKIZCZ4O.js.map} +0 -0
- /package/dist/chunks/{learn-GYBZNIT3.js.map → learn-CXRBVPKA.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-EJXTHMX6.js.map → learn-builtin-OXXSTVYX.js.map} +0 -0
- /package/dist/chunks/{lifecycle-5EM2QRFV.js.map → lifecycle-PTN5UDGT.js.map} +0 -0
- /package/dist/chunks/{list-M34JU5AG.js.map → list-KUGDZNCZ.js.map} +0 -0
- /package/dist/chunks/{live-XMBIOII4.js.map → live-PJUMYJWV.js.map} +0 -0
- /package/dist/chunks/{login-NI3DFWOW.js.map → login-PI2CVLAL.js.map} +0 -0
- /package/dist/chunks/{logs-OI6GZRRC.js.map → logs-YPFTNWHJ.js.map} +0 -0
- /package/dist/chunks/{mcp-FK3OBBSJ.js.map → mcp-V7JIRXMM.js.map} +0 -0
- /package/dist/chunks/{message-command-CIYB47HZ.js.map → message-command-GNTXQWWP.js.map} +0 -0
- /package/dist/chunks/{open-XYGGZHXM.js.map → open-LQFYXJGO.js.map} +0 -0
- /package/dist/chunks/{operator-tools-QSZS57PI.js.map → operator-tools-ODPPKZYO.js.map} +0 -0
- /package/dist/chunks/{output-schema-BTNJ6DL5.js.map → output-schema-S5UX6KD4.js.map} +0 -0
- /package/dist/chunks/{pal-EQAAJBWP.js.map → pal-PQP724JL.js.map} +0 -0
- /package/dist/chunks/{peers-35H6CZOZ.js.map → peers-64WUYNO7.js.map} +0 -0
- /package/dist/chunks/{peers-KN4BGJHU.js.map → peers-WF73HX4C.js.map} +0 -0
- /package/dist/chunks/{providers-I2GONE3C.js.map → providers-SSGFWJ47.js.map} +0 -0
- /package/dist/chunks/{pty-GZ4R2DCS.js.map → pty-CHKQPTIJ.js.map} +0 -0
- /package/dist/chunks/{resume-4KW4GUYR.js.map → resume-32TSOW5K.js.map} +0 -0
- /package/dist/chunks/{resume-command-TOAGIGZO.js.map → resume-command-PDAWC5OQ.js.map} +0 -0
- /package/dist/chunks/{schedule-FU5WY3WV.js.map → schedule-DOUPTTHG.js.map} +0 -0
- /package/dist/chunks/{service-3UYEV4JX.js.map → service-LQRXWFGJ.js.map} +0 -0
- /package/dist/chunks/{skills-4V2SBEY3.js.map → skills-YVKSFMOJ.js.map} +0 -0
- /package/dist/chunks/{start-check-RBYWVZT4.js.map → start-check-O4VN7KQQ.js.map} +0 -0
- /package/dist/chunks/{startup-failure-SST73T7Q.js.map → startup-failure-MX3RDAVD.js.map} +0 -0
- /package/dist/chunks/{state-N46ZI3LZ.js.map → state-SAFS7RR2.js.map} +0 -0
- /package/dist/chunks/{store-KA6NETSP.js.map → store-5N2RJTS7.js.map} +0 -0
- /package/dist/chunks/{store-M56FSIZT.js.map → store-DZQLPD24.js.map} +0 -0
- /package/dist/chunks/{store-R662Y2YQ.js.map → store-QT2Z3BMR.js.map} +0 -0
- /package/dist/chunks/{store-RHAHG45U.js.map → store-RNO4PTEJ.js.map} +0 -0
- /package/dist/chunks/{upgrade-YNYPRYFI.js.map → upgrade-Z5LLWZN4.js.map} +0 -0
- /package/dist/chunks/{workspaces-OITS2AZJ.js.map → workspaces-2BQK5RIW.js.map} +0 -0
- /package/dist/chunks/{worktree-DJW4XCBG.js.map → worktree-4LIJQ2FK.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @namzu/cli
|
|
2
2
|
|
|
3
|
+
## 50.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d753bf0: New option `softTargetHeadroom` for the `salience` compaction strategy (`compactionConfig.softTargetHeadroom` in the SDK, `compaction.softTargetHeadroom` in `namzu.config.json` and `~/.namzu/config.yaml`): a fraction of the window from 0 to 1 that a pass sheds below the soft target. A pass still starts when the context reaches the soft target, but it then keeps shortening until the context is that much lower, so the next pass comes after the room is used instead of on the next turn, and a provider that caches the start of the request keeps its cache for longer. The messages shortened are the same ones in the same order, only earlier; the cost is that much less history kept whole. Off unless set: absent or `0` is the previous behaviour exactly, so nothing changes on upgrade.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 0efef98: A long session costs less each turn: taking a session's log for writing no longer parses every record it already verified. Nothing is trusted that was not checked: the first claim of a log in a process verifies it in full as before, and every later claim in that process still reads and hashes every byte, so a byte altered anywhere is refused at the next claim with the same `SessionLogIntegrityError`. What it skips, for a line whose length and SHA-256 equal what the process verified, is parsing, schema validation and keeping the record; records appended since (by this or another writer) and a log that differs in any way (a changed byte, a shorter or replaced file) are verified in full from byte 0.
|
|
12
|
+
|
|
13
|
+
New and optional, nothing to change unless you implement them: `LogMedium.identity()` (a medium that does not provide it is verified in full each time) and `LogMedium.scan()` (reads through one reused buffer; `stream` is used without it), `ReadSessionLogOptions.reverify` (with `after`, strict mode: re-check the bytes before the cursor by hash), and `foldSessionLog` / `IncrementalFold` are now exported. The on-disk record shapes are unchanged, and a log written by this version reads on the previous one.
|
|
14
|
+
|
|
15
|
+
In the CLI, `readConversationFacts` keeps only the facts it answers (a first record, title, archive flag, open turn, last timestamp and a few typed queries) instead of every record of the log; `ConversationFacts.records` is gone from that function's result, and callers that fold messages use the new `readConversationRecords`. This is CLI-internal.
|
|
16
|
+
|
|
17
|
+
- b5ded5b: A compaction pass that edits a message in place (a long narration cut to its first sentence, a large tool result cleared) now appends one small `message_edited` record per edited message. Before, the session log held a `compaction` record plus a new copy of every message after the first edited one, on every turn: in a long session held at its soft target that was most of the log. The context a reader folds from the log is the same and the original text stays in the log. New record type `message_edited` (`MessageEditedRecordSchema`), flagged `ignorable`: an earlier release reading a log this version wrote skips it and folds the original, unedited text of those messages (the same messages, order and ids), and the next compaction pass cuts them down again. No existing record gains a field or a value. A host that sends back history it cached before a pass is still accepted, at no extra read of the log per message. A pass that swaps a message for a copy with the same text appends nothing. `@namzu/cli` reads a session's first record, not its whole log, to start a turn.
|
|
18
|
+
|
|
19
|
+
A turn resumed from a log no longer loses recorded messages: before, any restored message without an id that arrived ahead of the recorded ones (a compaction summary, the working-memory slot, a message the host added) re-based the fold on a context holding only it, and the recorded messages after it dropped out of the fold and the next resume. The runtime now marks the restored history (`pushMessage` takes `restored: true`) and re-bases once, on the whole restored context. A resume from a checkpoint older than an edit also puts that edit's text back when the fold holds a summary.
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [0efef98]
|
|
22
|
+
- Updated dependencies [b5ded5b]
|
|
23
|
+
- Updated dependencies [d753bf0]
|
|
24
|
+
- Updated dependencies [d753bf0]
|
|
25
|
+
- @namzu/sdk@62.9.0
|
|
26
|
+
|
|
3
27
|
## 50.1.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/dist/bin.js
CHANGED
|
@@ -39,6 +39,6 @@ __name(suppressSqliteExperimentalWarning, "suppressSqliteExperimentalWarning");
|
|
|
39
39
|
suppressSqliteExperimentalWarning();
|
|
40
40
|
|
|
41
41
|
// src/bin.ts
|
|
42
|
-
var { main } = await import("./chunks/bin-main-
|
|
42
|
+
var { main } = await import("./chunks/bin-main-2PGQSBXB.js");
|
|
43
43
|
await main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
|
|
44
44
|
//# sourceMappingURL=bin.js.map
|
|
@@ -2,35 +2,35 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
dispatchCliPalMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BH34ASBZ.js";
|
|
6
6
|
import {
|
|
7
7
|
readUserMcpServers,
|
|
8
8
|
summarizeUserMcpServer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RSP6O5OB.js";
|
|
10
10
|
import {
|
|
11
11
|
decideHeadlessTrust
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YYVKM3Z6.js";
|
|
13
13
|
import {
|
|
14
14
|
conversationMarkdown,
|
|
15
15
|
lookupPr,
|
|
16
16
|
outcomeLine,
|
|
17
17
|
runCommand,
|
|
18
18
|
withKeyNote
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-QPG5YTSB.js";
|
|
20
|
+
import "./chunk-24PL6U4S.js";
|
|
21
21
|
import "./chunk-JETLWXUE.js";
|
|
22
22
|
import {
|
|
23
23
|
deleteUserConfigValue,
|
|
24
24
|
setUserConfigValue,
|
|
25
25
|
userConfigPath
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PGMKME64.js";
|
|
27
27
|
import {
|
|
28
28
|
HeadlessScreen
|
|
29
29
|
} from "./chunk-GWGIAZLZ.js";
|
|
30
30
|
import "./chunk-6HTC5TQ3.js";
|
|
31
31
|
import {
|
|
32
32
|
launchRefusal
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-PVWX3NVL.js";
|
|
34
34
|
import {
|
|
35
35
|
cliPalComputerStatus,
|
|
36
36
|
cliPalScreen,
|
|
@@ -43,21 +43,21 @@ import {
|
|
|
43
43
|
startCliPalComputer,
|
|
44
44
|
stopCliPalComputer,
|
|
45
45
|
takeOverCliPalComputer
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4H5G75XK.js";
|
|
47
47
|
import {
|
|
48
48
|
palSessionEnvironment
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-2CSVXV4L.js";
|
|
50
50
|
import {
|
|
51
51
|
cliPalActivitySubscriptionPolicy,
|
|
52
52
|
cliPalActivitySubscriptionStore,
|
|
53
53
|
cliPalCommunicationPolicy,
|
|
54
54
|
cliPalCommunicationStore
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DRTTUNNF.js";
|
|
56
56
|
import {
|
|
57
57
|
claimPalConversation,
|
|
58
58
|
listPalConversations,
|
|
59
59
|
palConversationBinding
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WWVFL5LP.js";
|
|
61
61
|
import {
|
|
62
62
|
FileCheckpointStore,
|
|
63
63
|
PluginSettingsStore,
|
|
@@ -69,34 +69,34 @@ import {
|
|
|
69
69
|
sessionLogCheckpointView,
|
|
70
70
|
validateComposerSendSettings,
|
|
71
71
|
verifyCredential
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-IX4YFVK5.js";
|
|
73
|
+
import "./chunk-NUYEA2GW.js";
|
|
74
|
+
import "./chunk-FP5BDOUA.js";
|
|
75
|
+
import "./chunk-K7B7Z4OK.js";
|
|
76
|
+
import "./chunk-JREHAUBD.js";
|
|
77
|
+
import "./chunk-AXXQTHGT.js";
|
|
78
|
+
import "./chunk-7Q6ENTCV.js";
|
|
79
|
+
import "./chunk-EM4U3UY4.js";
|
|
80
|
+
import "./chunk-VAOGSS7C.js";
|
|
81
|
+
import "./chunk-WLQ4EA3C.js";
|
|
82
82
|
import "./chunk-WHODOMXA.js";
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-TZLJJJRB.js";
|
|
84
84
|
import "./chunk-YOWYTBJS.js";
|
|
85
85
|
import "./chunk-2IPDTDB3.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-5GVVNO7E.js";
|
|
87
87
|
import "./chunk-IYUW2RAA.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-G6HVF7BU.js";
|
|
89
89
|
import "./chunk-ZWA2JRJV.js";
|
|
90
90
|
import "./chunk-NUGPLXVK.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-COF6PKWN.js";
|
|
92
92
|
import {
|
|
93
93
|
listProviderConnections,
|
|
94
94
|
removeProviderKey,
|
|
95
95
|
saveProviderKey,
|
|
96
96
|
typedKeyProvider
|
|
97
|
-
} from "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
97
|
+
} from "./chunk-VCQOTSMI.js";
|
|
98
|
+
import "./chunk-OV6445PV.js";
|
|
99
|
+
import "./chunk-A75MGD3U.js";
|
|
100
100
|
import {
|
|
101
101
|
archiveConversation,
|
|
102
102
|
closeSessions,
|
|
@@ -111,11 +111,12 @@ import {
|
|
|
111
111
|
openSessionScope,
|
|
112
112
|
openSessions,
|
|
113
113
|
readConversationFacts,
|
|
114
|
+
readConversationRecords,
|
|
114
115
|
refreshIndex,
|
|
115
116
|
setTitle,
|
|
116
117
|
unarchiveConversation
|
|
117
|
-
} from "./chunk-
|
|
118
|
-
import "./chunk-
|
|
118
|
+
} from "./chunk-J65LJILX.js";
|
|
119
|
+
import "./chunk-HRA64D54.js";
|
|
119
120
|
import {
|
|
120
121
|
cliProjectRoot
|
|
121
122
|
} from "./chunk-JQIBPPOL.js";
|
|
@@ -128,14 +129,14 @@ import {
|
|
|
128
129
|
listPals,
|
|
129
130
|
palAtWorkspace,
|
|
130
131
|
updatePal
|
|
131
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-ZS64S2KR.js";
|
|
132
133
|
import {
|
|
133
134
|
isTrusted,
|
|
134
135
|
isTrustedAtStateRoot,
|
|
135
136
|
trustDir,
|
|
136
137
|
untrustDir
|
|
137
|
-
} from "./chunk-
|
|
138
|
-
import "./chunk-
|
|
138
|
+
} from "./chunk-QQ7MRKPH.js";
|
|
139
|
+
import "./chunk-XLYTLAMO.js";
|
|
139
140
|
import {
|
|
140
141
|
flushCompileCacheWhenIdle
|
|
141
142
|
} from "./chunk-SOIP273Z.js";
|
|
@@ -146,7 +147,7 @@ import {
|
|
|
146
147
|
CLI_VERSION
|
|
147
148
|
} from "./chunk-HE7WUOX2.js";
|
|
148
149
|
import "./chunk-GNBMKISG.js";
|
|
149
|
-
import "./chunk-
|
|
150
|
+
import "./chunk-DSLM4DF6.js";
|
|
150
151
|
import "./chunk-OH6TB27S.js";
|
|
151
152
|
import {
|
|
152
153
|
ConfigValueError,
|
|
@@ -155,7 +156,7 @@ import {
|
|
|
155
156
|
loadConfig,
|
|
156
157
|
pendingProjectMcpServers,
|
|
157
158
|
readConfigKey
|
|
158
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-M62PUTES.js";
|
|
159
160
|
import {
|
|
160
161
|
require_dist
|
|
161
162
|
} from "./chunk-KONYGNG6.js";
|
|
@@ -164,10 +165,10 @@ import {
|
|
|
164
165
|
compilePermissionLayers,
|
|
165
166
|
permissionLayersOf,
|
|
166
167
|
warnLegacyMcpPermissionNames
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-663XNTZ7.js";
|
|
168
169
|
import {
|
|
169
170
|
cliLogger
|
|
170
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-LD5TYFAP.js";
|
|
171
172
|
import "./chunk-SIG7WHBU.js";
|
|
172
173
|
import "./chunk-LVVD32KJ.js";
|
|
173
174
|
import "./chunk-6PWRKA5T.js";
|
|
@@ -184,28 +185,28 @@ import {
|
|
|
184
185
|
loadHostPty,
|
|
185
186
|
processesCarrying,
|
|
186
187
|
quietConptyHelper
|
|
187
|
-
} from "./chunk-
|
|
188
|
-
import "./chunk-
|
|
188
|
+
} from "./chunk-MAF7TNYC.js";
|
|
189
|
+
import "./chunk-DURIB5QE.js";
|
|
189
190
|
import {
|
|
190
191
|
automaticKind,
|
|
191
192
|
canSelectModel,
|
|
192
193
|
discoverProviders,
|
|
193
194
|
isAnonymousZen
|
|
194
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-LM37ASZT.js";
|
|
195
196
|
import {
|
|
196
197
|
isOfferableModel
|
|
197
198
|
} from "./chunk-4QIWRKJO.js";
|
|
198
199
|
import "./chunk-G6YSAHKC.js";
|
|
199
200
|
import "./chunk-KTPFUCRU.js";
|
|
200
201
|
import "./chunk-RI2KAZJO.js";
|
|
201
|
-
import "./chunk-
|
|
202
|
-
import "./chunk-
|
|
203
|
-
import "./chunk-
|
|
202
|
+
import "./chunk-S2U2D4UF.js";
|
|
203
|
+
import "./chunk-PUYFQ7HR.js";
|
|
204
|
+
import "./chunk-YFOTGPY7.js";
|
|
204
205
|
import {
|
|
205
206
|
canonicalProjectPath
|
|
206
207
|
} from "./chunk-JORONMD3.js";
|
|
207
|
-
import "./chunk-
|
|
208
|
-
import "./chunk-
|
|
208
|
+
import "./chunk-VD6DYY42.js";
|
|
209
|
+
import "./chunk-OGGKA2PQ.js";
|
|
209
210
|
import {
|
|
210
211
|
ACPServer,
|
|
211
212
|
DiskLogMedium,
|
|
@@ -240,7 +241,7 @@ import {
|
|
|
240
241
|
resolveWithinAnyReal,
|
|
241
242
|
resolveWithinReal,
|
|
242
243
|
selectAssistantText
|
|
243
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-MJJAKWHU.js";
|
|
244
245
|
import {
|
|
245
246
|
__name,
|
|
246
247
|
__toESM
|
|
@@ -3730,11 +3731,7 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
|
|
|
3730
3731
|
const pending = selections.get(id2);
|
|
3731
3732
|
if (pending && pending.engine !== engine)
|
|
3732
3733
|
throw new Error("The conversation engine cannot change.");
|
|
3733
|
-
|
|
3734
|
-
(record2) => record2.type === "session_updated" && record2.harness?.kind === "dispatch-prepared" && record2.harness.model
|
|
3735
|
-
);
|
|
3736
|
-
const model = latest?.type === "session_updated" && latest.harness?.kind === "dispatch-prepared" ? latest.harness.model : void 0;
|
|
3737
|
-
return pending ?? { engine, model: model ?? binding.initialModel };
|
|
3734
|
+
return pending ?? { engine, model: saved.latestDispatchModel ?? binding.initialModel };
|
|
3738
3735
|
}
|
|
3739
3736
|
if (saved) {
|
|
3740
3737
|
if (selections.has(id2))
|
|
@@ -4185,16 +4182,9 @@ async function readProviderRetryStatus(state, sessionId) {
|
|
|
4185
4182
|
const active = facts.activeTurn;
|
|
4186
4183
|
if (!active) return {};
|
|
4187
4184
|
if (!active.paused) return { notice: "Wait for this conversation\u2019s active turn to settle." };
|
|
4188
|
-
const pause =
|
|
4189
|
-
if (!pause
|
|
4190
|
-
|
|
4191
|
-
const pending = /* @__PURE__ */ new Set();
|
|
4192
|
-
for (const record2 of facts.records) {
|
|
4193
|
-
if (record2.type === "decision_requested" && record2.turnId === active.turnId)
|
|
4194
|
-
pending.add(record2.decisionId);
|
|
4195
|
-
if (record2.type === "decision_resolved" || record2.type === "decision_expired")
|
|
4196
|
-
pending.delete(record2.decisionId);
|
|
4197
|
-
}
|
|
4185
|
+
const pause = facts.latestPause(active.turnId);
|
|
4186
|
+
if (!pause) throw new Error("This paused turn has no durable pause record.");
|
|
4187
|
+
const pending = facts.pendingDecisions(active.turnId);
|
|
4198
4188
|
const closable = !pause.handoff && pause.providerError && pending.size === 0 ? { closable: true } : {};
|
|
4199
4189
|
const blocked = /* @__PURE__ */ __name((notice) => ({ notice, ...closable }), "blocked");
|
|
4200
4190
|
if (pause.handoff || pause.failure?.retryable !== true || !pause.providerError || !["network", "server", "throttle"].includes(pause.providerError.kind))
|
|
@@ -4241,13 +4231,9 @@ async function readProviderRetryStatus(state, sessionId) {
|
|
|
4241
4231
|
return blocked(
|
|
4242
4232
|
"This turn\u2019s original token allowance is exhausted. Retry cannot change that allowance."
|
|
4243
4233
|
);
|
|
4244
|
-
const started = facts.
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
const resumed = facts.records.some(
|
|
4248
|
-
(record2) => record2.type === "turn_resuming" && record2.turnId === active.turnId
|
|
4249
|
-
);
|
|
4250
|
-
const original = !resumed && started?.type === "turn_started" && started.config.model && pause.providerError ? { provider: pause.providerError.providerId, model: started.config.model } : void 0;
|
|
4234
|
+
const started = facts.startedTurn(active.turnId);
|
|
4235
|
+
const resumed = facts.wasResumed(active.turnId);
|
|
4236
|
+
const original = !resumed && started?.model && pause.providerError ? { provider: pause.providerError.providerId, model: started.model } : void 0;
|
|
4251
4237
|
return {
|
|
4252
4238
|
retry: {
|
|
4253
4239
|
turnId: active.turnId,
|
|
@@ -4710,6 +4696,14 @@ var SETTING_DESCRIPTORS = [
|
|
|
4710
4696
|
pick("structured", "salience"),
|
|
4711
4697
|
{ defaultText: "salience" }
|
|
4712
4698
|
),
|
|
4699
|
+
d(
|
|
4700
|
+
"compaction.softTargetHeadroom",
|
|
4701
|
+
"agent",
|
|
4702
|
+
"Room left after shortening",
|
|
4703
|
+
"How much further below half the window one round of shortening goes, as a fraction of the window. A larger value shortens less often. Advanced.",
|
|
4704
|
+
num(0, 1, "of the window"),
|
|
4705
|
+
{ defaultText: "0" }
|
|
4706
|
+
),
|
|
4713
4707
|
d(
|
|
4714
4708
|
"compaction.autoCompactWindowTokens",
|
|
4715
4709
|
"agent",
|
|
@@ -7300,7 +7294,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
|
|
|
7300
7294
|
return withState(async (state) => {
|
|
7301
7295
|
const id2 = asSessionId(await ownedSessionIn(params, state));
|
|
7302
7296
|
await setTitle(state, id2, title2);
|
|
7303
|
-
const facts = await
|
|
7297
|
+
const facts = await readConversationRecords(state, id2);
|
|
7304
7298
|
return { title: facts ? displayTitleOf(facts) : title2.trim() };
|
|
7305
7299
|
});
|
|
7306
7300
|
}, "namzu/conversations/rename"),
|
|
@@ -8368,11 +8362,9 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
|
|
|
8368
8362
|
);
|
|
8369
8363
|
assertModeAllowed(record2, settings.permissionMode);
|
|
8370
8364
|
const facts = await readConversationFacts(record2.conversations, target.sessionId);
|
|
8371
|
-
const started = facts?.
|
|
8372
|
-
|
|
8373
|
-
)
|
|
8374
|
-
const pause = [...facts?.records ?? []].reverse().find((row2) => row2.type === "turn_paused" && row2.turnId === turnId);
|
|
8375
|
-
if (started?.type !== "turn_started" || !started.config.model || pause?.type !== "turn_paused" || !pause.providerError)
|
|
8365
|
+
const started = facts?.startedTurn(turnId);
|
|
8366
|
+
const pause = facts?.latestPause(turnId);
|
|
8367
|
+
if (!started?.model || !pause?.providerError)
|
|
8376
8368
|
throw new Error("The original provider and model cannot be verified for this retry.");
|
|
8377
8369
|
if (!record2.model) throw new Error("The selected model cannot be verified for this retry.");
|
|
8378
8370
|
const routedEvent = /* @__PURE__ */ __name((event) => {
|
|
@@ -8644,8 +8636,8 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
|
|
|
8644
8636
|
"The original approval settings are unavailable after reconnection. An explicit permission mode is required to retry this retained turn."
|
|
8645
8637
|
);
|
|
8646
8638
|
const facts = await readConversationFacts(state, target.sessionId);
|
|
8647
|
-
const pause =
|
|
8648
|
-
if (pause?.
|
|
8639
|
+
const pause = status.retry?.turnId ? facts?.latestPause(status.retry.turnId) : void 0;
|
|
8640
|
+
if (!pause?.providerError)
|
|
8649
8641
|
return blocked("The original provider cannot be verified for this retry.");
|
|
8650
8642
|
const lastRun = retriedOn.get(status.retry.turnId);
|
|
8651
8643
|
return lastRun && !status.retry.original ? { ...status, retry: { ...status.retry, original: lastRun } } : status;
|
|
@@ -8664,17 +8656,11 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
|
|
|
8664
8656
|
if (!active?.paused || turnId !== void 0 && active.turnId !== turnId)
|
|
8665
8657
|
throw new Error("This conversation has no paused turn to close. Open it again.");
|
|
8666
8658
|
const pausedTurn = active.turnId;
|
|
8667
|
-
const pause =
|
|
8668
|
-
if (pause
|
|
8659
|
+
const pause = facts?.latestPause(pausedTurn);
|
|
8660
|
+
if (!pause || pause.handoff || !pause.providerError)
|
|
8669
8661
|
throw new Error("Only a turn that stopped on a provider error can be closed this way.");
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
if (row2.type === "decision_requested" && row2.turnId === pausedTurn)
|
|
8673
|
-
waiting.add(row2.decisionId);
|
|
8674
|
-
if (row2.type === "decision_resolved" || row2.type === "decision_expired")
|
|
8675
|
-
waiting.delete(row2.decisionId);
|
|
8676
|
-
}
|
|
8677
|
-
if (waiting.size) throw new Error("This turn is waiting for a decision; answer it first.");
|
|
8662
|
+
if (facts?.pendingDecisions(pausedTurn).size)
|
|
8663
|
+
throw new Error("This turn is waiting for a decision; answer it first.");
|
|
8678
8664
|
const reason = "The person continued without the reply that stopped on a provider error.";
|
|
8679
8665
|
const withdrawMessages = options?.withdrawMessages !== false;
|
|
8680
8666
|
if (record2.session.abandonTurn) {
|
|
@@ -9122,4 +9108,4 @@ export {
|
|
|
9122
9108
|
resolveAcpSession,
|
|
9123
9109
|
runAcpCommand
|
|
9124
9110
|
};
|
|
9125
|
-
//# sourceMappingURL=acp-
|
|
9111
|
+
//# sourceMappingURL=acp-WZJUKMLZ.js.map
|