@namzu/cli 53.2.2 → 53.3.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 +34 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-TKSVSWYT.js → acp-TDBFWPHB.js} +59 -57
- package/dist/chunks/acp-TDBFWPHB.js.map +6 -0
- package/dist/chunks/{activity-command-4CXCVUYV.js → activity-command-OS75DEKF.js} +12 -12
- package/dist/chunks/{add-WKKTCDTH.js → add-LNQAOHZS.js} +19 -19
- package/dist/chunks/{agent-FQKVDUJJ.js → agent-MM4SMTQS.js} +43 -41
- package/dist/chunks/agent-session-RPSTX6GN.js +79 -0
- package/dist/chunks/{apply-at-exit-LXPT3PKI.js → apply-at-exit-EY73HTUZ.js} +11 -12
- package/dist/chunks/apply-at-exit-EY73HTUZ.js.map +6 -0
- package/dist/chunks/{archive-VC435LJ6.js → archive-I7X74XA6.js} +10 -10
- package/dist/chunks/{bin-main-TCVL5RX5.js → bin-main-M66LUUMP.js} +9 -9
- package/dist/chunks/{binding-VDQTJSCB.js → binding-L45TTMZJ.js} +3 -3
- package/dist/chunks/{browser-2YGQPISK.js → browser-DNPDAQFD.js} +6 -6
- package/dist/chunks/{chat-A2KET642.js → chat-RPQFKIAD.js} +15 -15
- package/dist/chunks/{chunk-OWR4OIXA.js → chunk-27BVRMUJ.js} +2 -2
- package/dist/chunks/{chunk-MQHTLBBQ.js → chunk-2LOYDAU5.js} +6 -6
- package/dist/chunks/{chunk-VJ34BHLH.js → chunk-2XOJQKYX.js} +16 -16
- package/dist/chunks/{chunk-OVQSSXU5.js → chunk-3EH3USMD.js} +2 -2
- package/dist/chunks/{chunk-SCEU2YVG.js → chunk-4E6HWHOX.js} +4 -4
- package/dist/chunks/{chunk-G4R3TD3X.js → chunk-4ITXTSNQ.js} +2 -2
- package/dist/chunks/{chunk-B73SNFPZ.js → chunk-5CGQ2AOP.js} +2 -2
- package/dist/chunks/{chunk-GGL6DUNR.js → chunk-5KHKXEP5.js} +2 -2
- package/dist/chunks/{chunk-PMPKCDHC.js → chunk-5LWBZYOK.js} +3 -3
- package/dist/chunks/{chunk-XWPFWPJ2.js → chunk-62LRLDHY.js} +10 -10
- package/dist/chunks/{chunk-ZZHAXZS7.js → chunk-6IUD3NVQ.js} +345 -25
- package/dist/chunks/chunk-6IUD3NVQ.js.map +6 -0
- package/dist/chunks/{chunk-GMDCSWLE.js → chunk-6NFHP44E.js} +2 -2
- package/dist/chunks/{chunk-THG76C3T.js → chunk-6PIZ3336.js} +5 -5
- package/dist/chunks/{chunk-DBMCK637.js → chunk-7DTV64LX.js} +9 -9
- package/dist/chunks/{chunk-UZF4QI4V.js → chunk-7KIVKXQB.js} +5 -5
- package/dist/chunks/{chunk-FQIENFVR.js → chunk-A4RKSHUI.js} +4 -4
- package/dist/chunks/{chunk-LXHNHGVP.js → chunk-ARPABLFS.js} +3 -3
- package/dist/chunks/{chunk-NCDJECMF.js → chunk-B5O2UDMT.js} +3 -3
- package/dist/chunks/{chunk-JI5CATNL.js → chunk-BGYZ3SVB.js} +2 -2
- package/dist/chunks/{chunk-EKDZYOAP.js → chunk-BRSUV2MI.js} +5 -5
- package/dist/chunks/{chunk-2HRPWZXH.js → chunk-BULDCXFX.js} +102 -60
- package/dist/chunks/{chunk-2HRPWZXH.js.map → chunk-BULDCXFX.js.map} +1 -1
- package/dist/chunks/{chunk-AQ45WE5B.js → chunk-BWUBI6VE.js} +2 -2
- package/dist/chunks/{chunk-KCHQLZEA.js → chunk-BZMMDJFZ.js} +3 -3
- package/dist/chunks/{chunk-HJSN3J2L.js → chunk-CS7Q2ZUU.js} +2 -2
- package/dist/chunks/{chunk-CDDPBHJF.js → chunk-D32E7XO6.js} +2 -2
- package/dist/chunks/{chunk-O24GQWOS.js → chunk-DCV3FVXI.js} +2 -2
- package/dist/chunks/{chunk-EFMDKOKN.js → chunk-DLHPY4VQ.js} +4 -4
- package/dist/chunks/{chunk-VQ6UEBFB.js → chunk-E3L237Z7.js} +2 -2
- package/dist/chunks/{chunk-7CDM74EE.js → chunk-ENJM7PYT.js} +3 -3
- package/dist/chunks/{chunk-OPD3PNNM.js → chunk-F7M6MIAS.js} +9 -5
- package/dist/chunks/chunk-F7M6MIAS.js.map +6 -0
- package/dist/chunks/{chunk-BEK5BN4C.js → chunk-FLRYCMRH.js} +2 -2
- package/dist/chunks/{chunk-APSWZFQE.js → chunk-FY3ZMDWN.js} +6 -6
- package/dist/chunks/{chunk-WHSBPWGO.js → chunk-G7PWYTB4.js} +2 -2
- package/dist/chunks/{chunk-POV6IQJT.js → chunk-GIKCLC27.js} +4 -4
- package/dist/chunks/{chunk-IJHU74VL.js → chunk-HLLAVDYT.js} +38 -38
- package/dist/chunks/{chunk-G5MDOSWI.js → chunk-HM5UJONE.js} +14 -14
- package/dist/chunks/{chunk-4PQRXS6H.js → chunk-HVFIYEP6.js} +6 -6
- package/dist/chunks/{chunk-QNNZ4GND.js → chunk-IWZXZZMU.js} +3 -3
- package/dist/chunks/{chunk-GASNVGYM.js → chunk-JG462CCT.js} +2 -2
- package/dist/chunks/{chunk-WOIZGI7M.js → chunk-K3AE66MM.js} +4 -4
- package/dist/chunks/{chunk-ZRJ42CZZ.js → chunk-KOGSKOU7.js} +2 -2
- package/dist/chunks/{chunk-55PUSLIX.js → chunk-KP4H7FJ7.js} +2 -2
- package/dist/chunks/{chunk-CZOQR2XO.js → chunk-LAMQGSGH.js} +5 -5
- package/dist/chunks/{chunk-FX4E76MN.js → chunk-LDMHANNT.js} +4 -4
- package/dist/chunks/chunk-LDMHANNT.js.map +6 -0
- package/dist/chunks/{chunk-2QYNA362.js → chunk-LITTVCZQ.js} +18 -11
- package/dist/chunks/chunk-LITTVCZQ.js.map +6 -0
- package/dist/chunks/{chunk-6TA477A2.js → chunk-LJQAGSYZ.js} +3 -3
- package/dist/chunks/{chunk-MEUO6ZCV.js → chunk-LQ5L75T6.js} +4 -4
- package/dist/chunks/{chunk-GG4IQFRX.js → chunk-LYMSGP53.js} +2 -2
- package/dist/chunks/{chunk-MMBW56O6.js → chunk-LYTMEPN4.js} +12 -3
- package/dist/chunks/chunk-LYTMEPN4.js.map +6 -0
- package/dist/chunks/{chunk-OHHBLPVC.js → chunk-MDAEHXSL.js} +3 -3
- package/dist/chunks/{chunk-2T6RCLVR.js → chunk-MM4BFFRT.js} +3 -3
- package/dist/chunks/{chunk-U6ON2ZNN.js → chunk-MRSWBORX.js} +40 -21
- package/dist/chunks/chunk-MRSWBORX.js.map +6 -0
- package/dist/chunks/{chunk-NXWTLMCO.js → chunk-MYHK6KOU.js} +3 -3
- package/dist/chunks/{chunk-3U7XN7PQ.js → chunk-MYQ2MZKF.js} +6 -6
- package/dist/chunks/{chunk-CO6TO4W2.js → chunk-NA6FHE5K.js} +2 -2
- package/dist/chunks/{chunk-A7GITM6V.js → chunk-NDGMUBFS.js} +3 -3
- package/dist/chunks/{chunk-ORNBQX7S.js → chunk-NEYRPPT5.js} +2 -2
- package/dist/chunks/{chunk-F6YHQXPD.js → chunk-NJ4PLSBZ.js} +2 -2
- package/dist/chunks/{chunk-YPVP5NTQ.js → chunk-NRHUKGZ3.js} +3 -3
- package/dist/chunks/{chunk-VS72UXVO.js → chunk-O6NHCC4Q.js} +4 -4
- package/dist/chunks/{chunk-XGH4FG36.js → chunk-OH5T7ODG.js} +4 -4
- package/dist/chunks/{chunk-3LBLZFVU.js → chunk-OLSRO4FC.js} +2 -2
- package/dist/chunks/{chunk-22KWTDG5.js → chunk-OMFV2AEQ.js} +2 -2
- package/dist/chunks/{chunk-JVAZBDDY.js → chunk-P33ZADN3.js} +2 -2
- package/dist/chunks/{chunk-KR6WVSTY.js → chunk-P6DJ6AS5.js} +2 -2
- package/dist/chunks/{chunk-FGUJWE3G.js → chunk-PGYSDVT7.js} +5 -5
- package/dist/chunks/{chunk-56OWNTQG.js → chunk-PJPPWJIB.js} +5 -5
- package/dist/chunks/{chunk-VQ6IQ7EA.js → chunk-QWCFMVAZ.js} +3 -3
- package/dist/chunks/{chunk-HVZIQA7Y.js → chunk-QYKPC5HO.js} +9 -9
- package/dist/chunks/{chunk-XTDLTMRY.js → chunk-RBUVQQLL.js} +4 -4
- package/dist/chunks/{chunk-4MD3CTYK.js → chunk-RMRGVJOA.js} +266 -67
- package/dist/chunks/chunk-RMRGVJOA.js.map +6 -0
- package/dist/chunks/{chunk-3KXR3Y2J.js → chunk-RO7HHDLW.js} +4 -4
- package/dist/chunks/{chunk-2VD65GMI.js → chunk-SC2FLZAI.js} +2 -2
- package/dist/chunks/{chunk-CX3FCE3I.js → chunk-T6BRCKD3.js} +9 -9
- package/dist/chunks/{chunk-AUNFCWUI.js → chunk-TCAS4XVK.js} +2 -2
- package/dist/chunks/{chunk-VH7JHYZJ.js → chunk-U77IVKFU.js} +5 -5
- package/dist/chunks/{chunk-TXUKNDZD.js → chunk-UAD3AUKO.js} +2 -2
- package/dist/chunks/{cost-5VARNZUM.js → chunk-UE2MJ5YP.js} +22 -103
- package/dist/chunks/chunk-UE2MJ5YP.js.map +6 -0
- package/dist/chunks/{chunk-GKPS2EFI.js → chunk-UQFW622M.js} +2 -2
- package/dist/chunks/{chunk-QLDPZEX5.js → chunk-UYC7YSMD.js} +3 -3
- package/dist/chunks/{chunk-3OYLROCT.js → chunk-V2OLXCTE.js} +7 -7
- package/dist/chunks/{chunk-XAYZT3ZU.js → chunk-V73ZJCIQ.js} +3 -3
- package/dist/chunks/{chunk-D724YXPA.js → chunk-V7U4OXBC.js} +4 -4
- package/dist/chunks/{chunk-3DGEG3E7.js → chunk-VUNKDZ34.js} +3 -3
- package/dist/chunks/{chunk-VJVY6JZL.js → chunk-WUCZIFEU.js} +12 -12
- package/dist/chunks/{chunk-33WXZTFM.js → chunk-WVQRVEZ7.js} +2 -2
- package/dist/chunks/{chunk-HU33D7IT.js → chunk-WVZG6GRE.js} +3 -3
- package/dist/chunks/{chunk-QMH5BX3D.js → chunk-XQHHFTFX.js} +195 -144
- package/dist/chunks/chunk-XQHHFTFX.js.map +6 -0
- package/dist/chunks/{chunk-474TFQNJ.js → chunk-XTYVS4SM.js} +3 -3
- package/dist/chunks/{chunk-ISBHRP4B.js → chunk-XZXE7L4B.js} +3 -3
- package/dist/chunks/{chunk-5WM45GQZ.js → chunk-YDE7ZNUH.js} +2 -2
- package/dist/chunks/{chunk-7C43LYSZ.js → chunk-YJ25LOMP.js} +897 -693
- package/dist/chunks/chunk-YJ25LOMP.js.map +6 -0
- package/dist/chunks/{chunk-VEC2DNN6.js → chunk-YOBDE45E.js} +4 -4
- package/dist/chunks/{chunk-YJRLBZ6I.js → chunk-YZIUYGJT.js} +4 -4
- package/dist/chunks/{chunk-4RIW2UHY.js → chunk-Z4TNPAB4.js} +7 -7
- package/dist/chunks/{chunk-K6GW3ZS7.js → chunk-ZKCOQZ3U.js} +7 -1
- package/dist/chunks/chunk-ZKCOQZ3U.js.map +6 -0
- package/dist/chunks/{chunk-FDQGRVLS.js → chunk-ZNGRNTOY.js} +2 -2
- package/dist/chunks/{cli-runtime-YJ4JREPJ.js → cli-runtime-IJWC2OTK.js} +12 -12
- package/dist/chunks/{commands-YPPEQTQB.js → commands-S7OW6RX6.js} +5 -5
- package/dist/chunks/cost-VA6HZQE6.js +118 -0
- package/dist/chunks/cost-VA6HZQE6.js.map +6 -0
- package/dist/chunks/{crash-report-EGE7NGTH.js → crash-report-F663DOML.js} +6 -6
- package/dist/chunks/{dist-XM4UQIQQ.js → dist-IOJ4RD22.js} +2 -2
- package/dist/chunks/{dist-TAZGUABO.js → dist-KXNNNQJP.js} +2 -2
- package/dist/chunks/{dist-RW6SV64M.js → dist-OZTQJUXV.js} +182 -46
- package/dist/chunks/dist-OZTQJUXV.js.map +6 -0
- package/dist/chunks/{dist-FOG4COQN.js → dist-S7E46RVO.js} +2 -2
- package/dist/chunks/{dist-JJD2TQED.js → dist-VNVQM6JU.js} +2 -2
- package/dist/chunks/{dist-XBLTAEAJ.js → dist-XY5CE56Y.js} +2 -2
- package/dist/chunks/{dist-6YHBRQ2D.js → dist-ZHVTRMOZ.js} +2 -2
- package/dist/chunks/{dist-L5BAAO6B.js → dist-ZXZ4LH3H.js} +2 -2
- package/dist/chunks/{doctor-YVEQH55W.js → doctor-GH3XGHIB.js} +39 -39
- package/dist/chunks/{drain-5XTQDVV6.js → drain-YZXZQAUT.js} +9 -9
- package/dist/chunks/{entry-XTTLD6DE.js → entry-LGDDSUPB.js} +6 -6
- package/dist/chunks/{eval-VC445DR6.js → eval-EYN5BPLR.js} +7 -7
- package/dist/chunks/{exec-FPKXV4HA.js → exec-BMAOOSOF.js} +41 -41
- package/dist/chunks/{home-52JRM65A.js → home-5OAGR5X5.js} +3 -3
- package/dist/chunks/{hooks-6KHV6QJN.js → hooks-WV6P6LIP.js} +16 -16
- package/dist/chunks/{hooks-report-3LZ7BKBR.js → hooks-report-JUCEQJ73.js} +15 -15
- package/dist/chunks/{host-2K6MPYAT.js → host-EISOQGKE.js} +10 -10
- package/dist/chunks/{host-queries-XOOUNCMJ.js → host-queries-HJHMGU5N.js} +15 -15
- package/dist/chunks/{learn-JRLMSGQU.js → learn-27BG44YG.js} +11 -11
- package/dist/chunks/{learn-builtin-GH4BXJTR.js → learn-builtin-K5HQZDEA.js} +14 -14
- package/dist/chunks/{lifecycle-2J2KZE24.js → lifecycle-L3BEM34W.js} +28 -28
- package/dist/chunks/{list-GBRI4NQS.js → list-AB4VHNL2.js} +12 -12
- package/dist/chunks/{live-L74ORWB5.js → live-UWUEDSPR.js} +37 -37
- package/dist/chunks/{load-FVBVG5CY.js → load-NFDONLZ2.js} +7 -7
- package/dist/chunks/{login-HTTBNWTE.js → login-GON2CRE6.js} +12 -12
- package/dist/chunks/{logs-V7BWNF35.js → logs-C7WBBIJR.js} +4 -4
- package/dist/chunks/{mcp-WAVN5NVW.js → mcp-EBV34ZOW.js} +20 -20
- package/dist/chunks/{message-command-TV6UMZZA.js → message-command-Q7U54E4U.js} +49 -47
- package/dist/chunks/message-command-Q7U54E4U.js.map +6 -0
- package/dist/chunks/{open-EKL2SYD6.js → open-DLDZOPHP.js} +8 -8
- package/dist/chunks/{operator-tools-HKPDJMDN.js → operator-tools-HT2GSJ56.js} +13 -13
- package/dist/chunks/{output-schema-3SV7FA3E.js → output-schema-UODVJVW4.js} +3 -3
- package/dist/chunks/{pal-IBKB3TXW.js → pal-PN4RXHBT.js} +15 -15
- package/dist/chunks/{peers-RV5PLRXJ.js → peers-HYMQ3RDX.js} +9 -9
- package/dist/chunks/{peers-46C23FIF.js → peers-MVQTZ4ND.js} +6 -6
- package/dist/chunks/{plugin-WMY4UJRI.js → plugin-Y4XV5CKG.js} +15 -15
- package/dist/chunks/{providers-V3SBLB5L.js → providers-K23QPBYN.js} +10 -10
- package/dist/chunks/{pty-T4FX7YOE.js → pty-UIYKKO63.js} +3 -3
- package/dist/chunks/resume-ON75M2JL.js +23 -0
- package/dist/chunks/{resume-command-6CHNMALJ.js → resume-command-O6FGFDSE.js} +4 -4
- package/dist/chunks/{running-I42NAMXS.js → running-DAUDQDDJ.js} +6 -5
- package/dist/chunks/{schedule-D7VCG6NS.js → schedule-U7UZBKHQ.js} +8 -8
- package/dist/chunks/{send-QQ7OTQ2C.js → send-3R5RDV2H.js} +15 -15
- package/dist/chunks/{send-person-5XI6MKZO.js → send-person-6NMIN4OT.js} +13 -13
- package/dist/chunks/{service-UOLU7XBM.js → service-2PDUZZPQ.js} +28 -28
- package/dist/chunks/{skills-RHUMEGQP.js → skills-4UXJESZB.js} +13 -13
- package/dist/chunks/{start-check-2PBRVXD3.js → start-check-L62L5YIZ.js} +2 -2
- package/dist/chunks/{startup-failure-P34LGDGH.js → startup-failure-VS2U4JIC.js} +2 -2
- package/dist/chunks/{state-UHPX7NKN.js → state-DMLD6RWU.js} +2 -2
- package/dist/chunks/{store-33CI3HZM.js → store-3WIIBVKJ.js} +4 -4
- package/dist/chunks/{store-5ZPIJRWU.js → store-DIVYPBNS.js} +3 -3
- package/dist/chunks/{store-2743JWSK.js → store-TYFJML3O.js} +10 -10
- package/dist/chunks/{store-4SB5GOD3.js → store-ZLCDFCYI.js} +6 -6
- package/dist/chunks/{tui-F3C3HZND.js → tui-MMFCXIWN.js} +90 -85
- package/dist/chunks/tui-MMFCXIWN.js.map +6 -0
- package/dist/chunks/{upgrade-RXJ5JVE5.js → upgrade-F6JAFFIV.js} +11 -12
- package/dist/chunks/upgrade-F6JAFFIV.js.map +6 -0
- package/dist/chunks/{watch-BM7XNQGC.js → watch-TU7OG2DS.js} +82 -81
- package/dist/chunks/watch-TU7OG2DS.js.map +6 -0
- package/dist/chunks/{workspaces-WQLLUBQV.js → workspaces-ZHM5N3OY.js} +16 -16
- package/dist/chunks/{worktree-4N5Y2P5N.js → worktree-2MMIAPGE.js} +19 -19
- package/dist/context/doctrine.d.ts.map +1 -1
- package/dist/context/identity.d.ts.map +1 -1
- package/dist/doctor/checks/updates.d.ts.map +1 -1
- package/dist/index.js +39 -39
- package/dist/integrations/analysis/provider.d.ts.map +1 -1
- package/dist/integrations/auto-update/apply.d.ts +7 -0
- package/dist/integrations/auto-update/apply.d.ts.map +1 -1
- package/dist/integrations/auto-update/replaced-install.d.ts +2 -0
- package/dist/integrations/auto-update/replaced-install.d.ts.map +1 -1
- package/dist/integrations/auto-update/running.d.ts +16 -5
- package/dist/integrations/auto-update/running.d.ts.map +1 -1
- package/dist/integrations/auto-update/start.d.ts.map +1 -1
- package/dist/integrations/auto-update/status.d.ts +8 -0
- package/dist/integrations/auto-update/status.d.ts.map +1 -1
- package/dist/integrations/auto-update/swap.d.ts +77 -0
- package/dist/integrations/auto-update/swap.d.ts.map +1 -0
- package/dist/integrations/auto-update/updater.d.ts +4 -0
- package/dist/integrations/auto-update/updater.d.ts.map +1 -1
- package/dist/integrations/spend/fold.d.ts +2 -0
- package/dist/integrations/spend/fold.d.ts.map +1 -1
- package/dist/integrations/spend/session-cost.d.ts +46 -0
- package/dist/integrations/spend/session-cost.d.ts.map +1 -0
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/workflows/doctrine.d.ts.map +1 -1
- package/dist/integrations/workflows/offering.d.ts +6 -2
- package/dist/integrations/workflows/offering.d.ts.map +1 -1
- package/dist/termination.d.ts +1 -1
- package/dist/termination.d.ts.map +1 -1
- package/dist/tui/AgentExplorer.d.ts +29 -34
- package/dist/tui/AgentExplorer.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BackgroundAgentRows.d.ts.map +1 -1
- package/dist/tui/ComposerFrame.d.ts +6 -1
- package/dist/tui/ComposerFrame.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +13 -19
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts +9 -3
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/UpdateNoticeRow.d.ts +36 -0
- package/dist/tui/UpdateNoticeRow.d.ts.map +1 -0
- package/dist/tui/agent-transcript-rows.d.ts +8 -4
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/fullscreen/layout.d.ts +3 -1
- package/dist/tui/fullscreen/layout.d.ts.map +1 -1
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/paint/live-paint.d.ts +19 -1
- package/dist/tui/paint/live-paint.d.ts.map +1 -1
- package/dist/tui/reply-mark.d.ts +12 -0
- package/dist/tui/reply-mark.d.ts.map +1 -0
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/transcript-scroll.d.ts +4 -0
- package/dist/tui/transcript-scroll.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/chunks/acp-TKSVSWYT.js.map +0 -6
- package/dist/chunks/agent-session-MWEOXEBO.js +0 -77
- package/dist/chunks/apply-at-exit-LXPT3PKI.js.map +0 -6
- package/dist/chunks/chunk-2QYNA362.js.map +0 -6
- package/dist/chunks/chunk-4MD3CTYK.js.map +0 -6
- package/dist/chunks/chunk-7C43LYSZ.js.map +0 -6
- package/dist/chunks/chunk-FX4E76MN.js.map +0 -6
- package/dist/chunks/chunk-K6GW3ZS7.js.map +0 -6
- package/dist/chunks/chunk-MMBW56O6.js.map +0 -6
- package/dist/chunks/chunk-OPD3PNNM.js.map +0 -6
- package/dist/chunks/chunk-QMH5BX3D.js.map +0 -6
- package/dist/chunks/chunk-U6ON2ZNN.js.map +0 -6
- package/dist/chunks/chunk-VKUDU6IH.js +0 -107
- package/dist/chunks/chunk-VKUDU6IH.js.map +0 -6
- package/dist/chunks/chunk-ZZHAXZS7.js.map +0 -6
- package/dist/chunks/cost-5VARNZUM.js.map +0 -6
- package/dist/chunks/dist-RW6SV64M.js.map +0 -6
- package/dist/chunks/message-command-TV6UMZZA.js.map +0 -6
- package/dist/chunks/resume-VT5LMJPR.js +0 -23
- package/dist/chunks/tui-F3C3HZND.js.map +0 -6
- package/dist/chunks/upgrade-RXJ5JVE5.js.map +0 -6
- package/dist/chunks/watch-BM7XNQGC.js.map +0 -6
- /package/dist/chunks/{activity-command-4CXCVUYV.js.map → activity-command-OS75DEKF.js.map} +0 -0
- /package/dist/chunks/{add-WKKTCDTH.js.map → add-LNQAOHZS.js.map} +0 -0
- /package/dist/chunks/{agent-FQKVDUJJ.js.map → agent-MM4SMTQS.js.map} +0 -0
- /package/dist/chunks/{agent-session-MWEOXEBO.js.map → agent-session-RPSTX6GN.js.map} +0 -0
- /package/dist/chunks/{archive-VC435LJ6.js.map → archive-I7X74XA6.js.map} +0 -0
- /package/dist/chunks/{bin-main-TCVL5RX5.js.map → bin-main-M66LUUMP.js.map} +0 -0
- /package/dist/chunks/{binding-VDQTJSCB.js.map → binding-L45TTMZJ.js.map} +0 -0
- /package/dist/chunks/{browser-2YGQPISK.js.map → browser-DNPDAQFD.js.map} +0 -0
- /package/dist/chunks/{chat-A2KET642.js.map → chat-RPQFKIAD.js.map} +0 -0
- /package/dist/chunks/{chunk-OWR4OIXA.js.map → chunk-27BVRMUJ.js.map} +0 -0
- /package/dist/chunks/{chunk-MQHTLBBQ.js.map → chunk-2LOYDAU5.js.map} +0 -0
- /package/dist/chunks/{chunk-VJ34BHLH.js.map → chunk-2XOJQKYX.js.map} +0 -0
- /package/dist/chunks/{chunk-OVQSSXU5.js.map → chunk-3EH3USMD.js.map} +0 -0
- /package/dist/chunks/{chunk-SCEU2YVG.js.map → chunk-4E6HWHOX.js.map} +0 -0
- /package/dist/chunks/{chunk-G4R3TD3X.js.map → chunk-4ITXTSNQ.js.map} +0 -0
- /package/dist/chunks/{chunk-B73SNFPZ.js.map → chunk-5CGQ2AOP.js.map} +0 -0
- /package/dist/chunks/{chunk-GGL6DUNR.js.map → chunk-5KHKXEP5.js.map} +0 -0
- /package/dist/chunks/{chunk-PMPKCDHC.js.map → chunk-5LWBZYOK.js.map} +0 -0
- /package/dist/chunks/{chunk-XWPFWPJ2.js.map → chunk-62LRLDHY.js.map} +0 -0
- /package/dist/chunks/{chunk-GMDCSWLE.js.map → chunk-6NFHP44E.js.map} +0 -0
- /package/dist/chunks/{chunk-THG76C3T.js.map → chunk-6PIZ3336.js.map} +0 -0
- /package/dist/chunks/{chunk-DBMCK637.js.map → chunk-7DTV64LX.js.map} +0 -0
- /package/dist/chunks/{chunk-UZF4QI4V.js.map → chunk-7KIVKXQB.js.map} +0 -0
- /package/dist/chunks/{chunk-FQIENFVR.js.map → chunk-A4RKSHUI.js.map} +0 -0
- /package/dist/chunks/{chunk-LXHNHGVP.js.map → chunk-ARPABLFS.js.map} +0 -0
- /package/dist/chunks/{chunk-NCDJECMF.js.map → chunk-B5O2UDMT.js.map} +0 -0
- /package/dist/chunks/{chunk-JI5CATNL.js.map → chunk-BGYZ3SVB.js.map} +0 -0
- /package/dist/chunks/{chunk-EKDZYOAP.js.map → chunk-BRSUV2MI.js.map} +0 -0
- /package/dist/chunks/{chunk-AQ45WE5B.js.map → chunk-BWUBI6VE.js.map} +0 -0
- /package/dist/chunks/{chunk-KCHQLZEA.js.map → chunk-BZMMDJFZ.js.map} +0 -0
- /package/dist/chunks/{chunk-HJSN3J2L.js.map → chunk-CS7Q2ZUU.js.map} +0 -0
- /package/dist/chunks/{chunk-CDDPBHJF.js.map → chunk-D32E7XO6.js.map} +0 -0
- /package/dist/chunks/{chunk-O24GQWOS.js.map → chunk-DCV3FVXI.js.map} +0 -0
- /package/dist/chunks/{chunk-EFMDKOKN.js.map → chunk-DLHPY4VQ.js.map} +0 -0
- /package/dist/chunks/{chunk-VQ6UEBFB.js.map → chunk-E3L237Z7.js.map} +0 -0
- /package/dist/chunks/{chunk-7CDM74EE.js.map → chunk-ENJM7PYT.js.map} +0 -0
- /package/dist/chunks/{chunk-BEK5BN4C.js.map → chunk-FLRYCMRH.js.map} +0 -0
- /package/dist/chunks/{chunk-APSWZFQE.js.map → chunk-FY3ZMDWN.js.map} +0 -0
- /package/dist/chunks/{chunk-WHSBPWGO.js.map → chunk-G7PWYTB4.js.map} +0 -0
- /package/dist/chunks/{chunk-POV6IQJT.js.map → chunk-GIKCLC27.js.map} +0 -0
- /package/dist/chunks/{chunk-IJHU74VL.js.map → chunk-HLLAVDYT.js.map} +0 -0
- /package/dist/chunks/{chunk-G5MDOSWI.js.map → chunk-HM5UJONE.js.map} +0 -0
- /package/dist/chunks/{chunk-4PQRXS6H.js.map → chunk-HVFIYEP6.js.map} +0 -0
- /package/dist/chunks/{chunk-QNNZ4GND.js.map → chunk-IWZXZZMU.js.map} +0 -0
- /package/dist/chunks/{chunk-GASNVGYM.js.map → chunk-JG462CCT.js.map} +0 -0
- /package/dist/chunks/{chunk-WOIZGI7M.js.map → chunk-K3AE66MM.js.map} +0 -0
- /package/dist/chunks/{chunk-ZRJ42CZZ.js.map → chunk-KOGSKOU7.js.map} +0 -0
- /package/dist/chunks/{chunk-55PUSLIX.js.map → chunk-KP4H7FJ7.js.map} +0 -0
- /package/dist/chunks/{chunk-CZOQR2XO.js.map → chunk-LAMQGSGH.js.map} +0 -0
- /package/dist/chunks/{chunk-6TA477A2.js.map → chunk-LJQAGSYZ.js.map} +0 -0
- /package/dist/chunks/{chunk-MEUO6ZCV.js.map → chunk-LQ5L75T6.js.map} +0 -0
- /package/dist/chunks/{chunk-GG4IQFRX.js.map → chunk-LYMSGP53.js.map} +0 -0
- /package/dist/chunks/{chunk-OHHBLPVC.js.map → chunk-MDAEHXSL.js.map} +0 -0
- /package/dist/chunks/{chunk-2T6RCLVR.js.map → chunk-MM4BFFRT.js.map} +0 -0
- /package/dist/chunks/{chunk-NXWTLMCO.js.map → chunk-MYHK6KOU.js.map} +0 -0
- /package/dist/chunks/{chunk-3U7XN7PQ.js.map → chunk-MYQ2MZKF.js.map} +0 -0
- /package/dist/chunks/{chunk-CO6TO4W2.js.map → chunk-NA6FHE5K.js.map} +0 -0
- /package/dist/chunks/{chunk-A7GITM6V.js.map → chunk-NDGMUBFS.js.map} +0 -0
- /package/dist/chunks/{chunk-ORNBQX7S.js.map → chunk-NEYRPPT5.js.map} +0 -0
- /package/dist/chunks/{chunk-F6YHQXPD.js.map → chunk-NJ4PLSBZ.js.map} +0 -0
- /package/dist/chunks/{chunk-YPVP5NTQ.js.map → chunk-NRHUKGZ3.js.map} +0 -0
- /package/dist/chunks/{chunk-VS72UXVO.js.map → chunk-O6NHCC4Q.js.map} +0 -0
- /package/dist/chunks/{chunk-XGH4FG36.js.map → chunk-OH5T7ODG.js.map} +0 -0
- /package/dist/chunks/{chunk-3LBLZFVU.js.map → chunk-OLSRO4FC.js.map} +0 -0
- /package/dist/chunks/{chunk-22KWTDG5.js.map → chunk-OMFV2AEQ.js.map} +0 -0
- /package/dist/chunks/{chunk-JVAZBDDY.js.map → chunk-P33ZADN3.js.map} +0 -0
- /package/dist/chunks/{chunk-KR6WVSTY.js.map → chunk-P6DJ6AS5.js.map} +0 -0
- /package/dist/chunks/{chunk-FGUJWE3G.js.map → chunk-PGYSDVT7.js.map} +0 -0
- /package/dist/chunks/{chunk-56OWNTQG.js.map → chunk-PJPPWJIB.js.map} +0 -0
- /package/dist/chunks/{chunk-VQ6IQ7EA.js.map → chunk-QWCFMVAZ.js.map} +0 -0
- /package/dist/chunks/{chunk-HVZIQA7Y.js.map → chunk-QYKPC5HO.js.map} +0 -0
- /package/dist/chunks/{chunk-XTDLTMRY.js.map → chunk-RBUVQQLL.js.map} +0 -0
- /package/dist/chunks/{chunk-3KXR3Y2J.js.map → chunk-RO7HHDLW.js.map} +0 -0
- /package/dist/chunks/{chunk-2VD65GMI.js.map → chunk-SC2FLZAI.js.map} +0 -0
- /package/dist/chunks/{chunk-CX3FCE3I.js.map → chunk-T6BRCKD3.js.map} +0 -0
- /package/dist/chunks/{chunk-AUNFCWUI.js.map → chunk-TCAS4XVK.js.map} +0 -0
- /package/dist/chunks/{chunk-VH7JHYZJ.js.map → chunk-U77IVKFU.js.map} +0 -0
- /package/dist/chunks/{chunk-TXUKNDZD.js.map → chunk-UAD3AUKO.js.map} +0 -0
- /package/dist/chunks/{chunk-GKPS2EFI.js.map → chunk-UQFW622M.js.map} +0 -0
- /package/dist/chunks/{chunk-QLDPZEX5.js.map → chunk-UYC7YSMD.js.map} +0 -0
- /package/dist/chunks/{chunk-3OYLROCT.js.map → chunk-V2OLXCTE.js.map} +0 -0
- /package/dist/chunks/{chunk-XAYZT3ZU.js.map → chunk-V73ZJCIQ.js.map} +0 -0
- /package/dist/chunks/{chunk-D724YXPA.js.map → chunk-V7U4OXBC.js.map} +0 -0
- /package/dist/chunks/{chunk-3DGEG3E7.js.map → chunk-VUNKDZ34.js.map} +0 -0
- /package/dist/chunks/{chunk-VJVY6JZL.js.map → chunk-WUCZIFEU.js.map} +0 -0
- /package/dist/chunks/{chunk-33WXZTFM.js.map → chunk-WVQRVEZ7.js.map} +0 -0
- /package/dist/chunks/{chunk-HU33D7IT.js.map → chunk-WVZG6GRE.js.map} +0 -0
- /package/dist/chunks/{chunk-474TFQNJ.js.map → chunk-XTYVS4SM.js.map} +0 -0
- /package/dist/chunks/{chunk-ISBHRP4B.js.map → chunk-XZXE7L4B.js.map} +0 -0
- /package/dist/chunks/{chunk-5WM45GQZ.js.map → chunk-YDE7ZNUH.js.map} +0 -0
- /package/dist/chunks/{chunk-VEC2DNN6.js.map → chunk-YOBDE45E.js.map} +0 -0
- /package/dist/chunks/{chunk-YJRLBZ6I.js.map → chunk-YZIUYGJT.js.map} +0 -0
- /package/dist/chunks/{chunk-4RIW2UHY.js.map → chunk-Z4TNPAB4.js.map} +0 -0
- /package/dist/chunks/{chunk-FDQGRVLS.js.map → chunk-ZNGRNTOY.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-YJ4JREPJ.js.map → cli-runtime-IJWC2OTK.js.map} +0 -0
- /package/dist/chunks/{commands-YPPEQTQB.js.map → commands-S7OW6RX6.js.map} +0 -0
- /package/dist/chunks/{crash-report-EGE7NGTH.js.map → crash-report-F663DOML.js.map} +0 -0
- /package/dist/chunks/{dist-XM4UQIQQ.js.map → dist-IOJ4RD22.js.map} +0 -0
- /package/dist/chunks/{dist-TAZGUABO.js.map → dist-KXNNNQJP.js.map} +0 -0
- /package/dist/chunks/{dist-FOG4COQN.js.map → dist-S7E46RVO.js.map} +0 -0
- /package/dist/chunks/{dist-JJD2TQED.js.map → dist-VNVQM6JU.js.map} +0 -0
- /package/dist/chunks/{dist-XBLTAEAJ.js.map → dist-XY5CE56Y.js.map} +0 -0
- /package/dist/chunks/{dist-6YHBRQ2D.js.map → dist-ZHVTRMOZ.js.map} +0 -0
- /package/dist/chunks/{dist-L5BAAO6B.js.map → dist-ZXZ4LH3H.js.map} +0 -0
- /package/dist/chunks/{doctor-YVEQH55W.js.map → doctor-GH3XGHIB.js.map} +0 -0
- /package/dist/chunks/{drain-5XTQDVV6.js.map → drain-YZXZQAUT.js.map} +0 -0
- /package/dist/chunks/{entry-XTTLD6DE.js.map → entry-LGDDSUPB.js.map} +0 -0
- /package/dist/chunks/{eval-VC445DR6.js.map → eval-EYN5BPLR.js.map} +0 -0
- /package/dist/chunks/{exec-FPKXV4HA.js.map → exec-BMAOOSOF.js.map} +0 -0
- /package/dist/chunks/{home-52JRM65A.js.map → home-5OAGR5X5.js.map} +0 -0
- /package/dist/chunks/{hooks-6KHV6QJN.js.map → hooks-WV6P6LIP.js.map} +0 -0
- /package/dist/chunks/{hooks-report-3LZ7BKBR.js.map → hooks-report-JUCEQJ73.js.map} +0 -0
- /package/dist/chunks/{host-2K6MPYAT.js.map → host-EISOQGKE.js.map} +0 -0
- /package/dist/chunks/{host-queries-XOOUNCMJ.js.map → host-queries-HJHMGU5N.js.map} +0 -0
- /package/dist/chunks/{learn-JRLMSGQU.js.map → learn-27BG44YG.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-GH4BXJTR.js.map → learn-builtin-K5HQZDEA.js.map} +0 -0
- /package/dist/chunks/{lifecycle-2J2KZE24.js.map → lifecycle-L3BEM34W.js.map} +0 -0
- /package/dist/chunks/{list-GBRI4NQS.js.map → list-AB4VHNL2.js.map} +0 -0
- /package/dist/chunks/{live-L74ORWB5.js.map → live-UWUEDSPR.js.map} +0 -0
- /package/dist/chunks/{load-FVBVG5CY.js.map → load-NFDONLZ2.js.map} +0 -0
- /package/dist/chunks/{login-HTTBNWTE.js.map → login-GON2CRE6.js.map} +0 -0
- /package/dist/chunks/{logs-V7BWNF35.js.map → logs-C7WBBIJR.js.map} +0 -0
- /package/dist/chunks/{mcp-WAVN5NVW.js.map → mcp-EBV34ZOW.js.map} +0 -0
- /package/dist/chunks/{open-EKL2SYD6.js.map → open-DLDZOPHP.js.map} +0 -0
- /package/dist/chunks/{operator-tools-HKPDJMDN.js.map → operator-tools-HT2GSJ56.js.map} +0 -0
- /package/dist/chunks/{output-schema-3SV7FA3E.js.map → output-schema-UODVJVW4.js.map} +0 -0
- /package/dist/chunks/{pal-IBKB3TXW.js.map → pal-PN4RXHBT.js.map} +0 -0
- /package/dist/chunks/{peers-RV5PLRXJ.js.map → peers-HYMQ3RDX.js.map} +0 -0
- /package/dist/chunks/{peers-46C23FIF.js.map → peers-MVQTZ4ND.js.map} +0 -0
- /package/dist/chunks/{plugin-WMY4UJRI.js.map → plugin-Y4XV5CKG.js.map} +0 -0
- /package/dist/chunks/{providers-V3SBLB5L.js.map → providers-K23QPBYN.js.map} +0 -0
- /package/dist/chunks/{pty-T4FX7YOE.js.map → pty-UIYKKO63.js.map} +0 -0
- /package/dist/chunks/{resume-VT5LMJPR.js.map → resume-ON75M2JL.js.map} +0 -0
- /package/dist/chunks/{resume-command-6CHNMALJ.js.map → resume-command-O6FGFDSE.js.map} +0 -0
- /package/dist/chunks/{running-I42NAMXS.js.map → running-DAUDQDDJ.js.map} +0 -0
- /package/dist/chunks/{schedule-D7VCG6NS.js.map → schedule-U7UZBKHQ.js.map} +0 -0
- /package/dist/chunks/{send-QQ7OTQ2C.js.map → send-3R5RDV2H.js.map} +0 -0
- /package/dist/chunks/{send-person-5XI6MKZO.js.map → send-person-6NMIN4OT.js.map} +0 -0
- /package/dist/chunks/{service-UOLU7XBM.js.map → service-2PDUZZPQ.js.map} +0 -0
- /package/dist/chunks/{skills-RHUMEGQP.js.map → skills-4UXJESZB.js.map} +0 -0
- /package/dist/chunks/{start-check-2PBRVXD3.js.map → start-check-L62L5YIZ.js.map} +0 -0
- /package/dist/chunks/{startup-failure-P34LGDGH.js.map → startup-failure-VS2U4JIC.js.map} +0 -0
- /package/dist/chunks/{state-UHPX7NKN.js.map → state-DMLD6RWU.js.map} +0 -0
- /package/dist/chunks/{store-2743JWSK.js.map → store-3WIIBVKJ.js.map} +0 -0
- /package/dist/chunks/{store-33CI3HZM.js.map → store-DIVYPBNS.js.map} +0 -0
- /package/dist/chunks/{store-4SB5GOD3.js.map → store-TYFJML3O.js.map} +0 -0
- /package/dist/chunks/{store-5ZPIJRWU.js.map → store-ZLCDFCYI.js.map} +0 -0
- /package/dist/chunks/{workspaces-WQLLUBQV.js.map → workspaces-ZHM5N3OY.js.map} +0 -0
- /package/dist/chunks/{worktree-4N5Y2P5N.js.map → worktree-2MMIAPGE.js.map} +0 -0
|
@@ -3,13 +3,13 @@ const require = __namzuCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
createCliPluginRuntime,
|
|
5
5
|
openManagedWorktrees
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z4TNPAB4.js";
|
|
7
7
|
import {
|
|
8
8
|
readPluginFileSources
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V73ZJCIQ.js";
|
|
10
10
|
import {
|
|
11
11
|
createSessionSkillCatalog
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LJQAGSYZ.js";
|
|
13
13
|
import {
|
|
14
14
|
KEY_MISMATCH_MESSAGE,
|
|
15
15
|
MAX_SCRIPT_BYTES,
|
|
@@ -33,35 +33,41 @@ import {
|
|
|
33
33
|
viewFromJournal,
|
|
34
34
|
workflowJournalKey,
|
|
35
35
|
writeEditableCopy
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-NA6FHE5K.js";
|
|
37
37
|
import {
|
|
38
38
|
runGeneratorCycle
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-NDGMUBFS.js";
|
|
40
40
|
import {
|
|
41
41
|
createSessionLearningFeed,
|
|
42
42
|
openLearningTarget,
|
|
43
43
|
readProjectGuidance,
|
|
44
44
|
withSessionLearningFeed
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-4E6HWHOX.js";
|
|
46
46
|
import {
|
|
47
47
|
connectMcpServers,
|
|
48
48
|
startMcpServers
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YOBDE45E.js";
|
|
50
50
|
import {
|
|
51
51
|
openInBrowser
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LYMSGP53.js";
|
|
53
53
|
import {
|
|
54
54
|
createBrowserControl
|
|
55
55
|
} from "./chunk-WHODOMXA.js";
|
|
56
|
+
import {
|
|
57
|
+
LogFolder,
|
|
58
|
+
ModelTable,
|
|
59
|
+
READ_CHUNK_BYTES,
|
|
60
|
+
conversationTotals
|
|
61
|
+
} from "./chunk-UE2MJ5YP.js";
|
|
56
62
|
import {
|
|
57
63
|
accountProductName
|
|
58
64
|
} from "./chunk-YOWYTBJS.js";
|
|
59
65
|
import {
|
|
60
66
|
migrateAccountKeys
|
|
61
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-6PIZ3336.js";
|
|
62
68
|
import {
|
|
63
69
|
openCliAccounts
|
|
64
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-PGYSDVT7.js";
|
|
65
71
|
import {
|
|
66
72
|
CredentialRefreshRejectedError,
|
|
67
73
|
CredentialWithdrawnError as CredentialWithdrawnError2,
|
|
@@ -69,17 +75,17 @@ import {
|
|
|
69
75
|
ensureFreshStoredCodexCredential,
|
|
70
76
|
readSubscriptionCredential,
|
|
71
77
|
sameOAuthCredential
|
|
72
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-A4RKSHUI.js";
|
|
73
79
|
import {
|
|
74
80
|
conversationLogPath,
|
|
75
81
|
ensureSessionStarted,
|
|
76
82
|
openConversationLog,
|
|
77
83
|
readConversationFacts,
|
|
78
84
|
recordAccountBound
|
|
79
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-MYQ2MZKF.js";
|
|
80
86
|
import {
|
|
81
87
|
readIdentity
|
|
82
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-XTYVS4SM.js";
|
|
83
89
|
import {
|
|
84
90
|
INSTRUCTIONS_FILENAME,
|
|
85
91
|
MAX_CHARS_PER_FILE,
|
|
@@ -90,12 +96,12 @@ import {
|
|
|
90
96
|
} from "./chunk-JQIBPPOL.js";
|
|
91
97
|
import {
|
|
92
98
|
isDefaultAccountId
|
|
93
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-KP4H7FJ7.js";
|
|
94
100
|
import {
|
|
95
101
|
createLazyCodeAnalysis,
|
|
96
102
|
promptCacheTtl,
|
|
97
103
|
setPromptCacheTtl
|
|
98
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-LYTMEPN4.js";
|
|
99
105
|
import {
|
|
100
106
|
DEFAULT_MAX_HOOK_REFUSALS,
|
|
101
107
|
SAVE_SKILL_TOOL_NAME,
|
|
@@ -105,7 +111,7 @@ import {
|
|
|
105
111
|
turnConfigFields,
|
|
106
112
|
withSandboxShell,
|
|
107
113
|
workingDirectoryProblem
|
|
108
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-OH5T7ODG.js";
|
|
109
115
|
import {
|
|
110
116
|
CHECK_HINT
|
|
111
117
|
} from "./chunk-BBTPD3DU.js";
|
|
@@ -114,36 +120,36 @@ import {
|
|
|
114
120
|
logIgnoreOutcome,
|
|
115
121
|
probeCapabilities,
|
|
116
122
|
writeLocalAllows
|
|
117
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-GIKCLC27.js";
|
|
118
124
|
import {
|
|
119
125
|
conversationInUseSentence,
|
|
120
126
|
minutesUntilFree
|
|
121
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-XZXE7L4B.js";
|
|
122
128
|
import {
|
|
123
129
|
debugRequested
|
|
124
130
|
} from "./chunk-GNBMKISG.js";
|
|
125
131
|
import {
|
|
126
132
|
isPermissionMode,
|
|
127
133
|
permissionModeLabel
|
|
128
|
-
} from "./chunk-
|
|
129
|
-
import {
|
|
130
|
-
diffColors,
|
|
131
|
-
theme
|
|
132
|
-
} from "./chunk-WD2F6EO3.js";
|
|
134
|
+
} from "./chunk-WVQRVEZ7.js";
|
|
133
135
|
import {
|
|
134
136
|
discoverAgentDefinitions
|
|
135
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-PJPPWJIB.js";
|
|
136
138
|
import {
|
|
137
139
|
createAgentHooksHost
|
|
138
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-DLHPY4VQ.js";
|
|
139
141
|
import {
|
|
140
142
|
readSkillHooks,
|
|
141
143
|
withoutConversationEvents,
|
|
142
144
|
withoutSessionStart
|
|
143
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-BZMMDJFZ.js";
|
|
146
|
+
import {
|
|
147
|
+
diffColors,
|
|
148
|
+
theme
|
|
149
|
+
} from "./chunk-WD2F6EO3.js";
|
|
144
150
|
import {
|
|
145
151
|
parseSkillMarkdown
|
|
146
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-VUNKDZ34.js";
|
|
147
153
|
import {
|
|
148
154
|
chainCapabilityDisagreements,
|
|
149
155
|
chainPositionName,
|
|
@@ -155,7 +161,7 @@ import {
|
|
|
155
161
|
readPreferences,
|
|
156
162
|
resolveChainCapabilities,
|
|
157
163
|
unresolvedMembers
|
|
158
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-WUCZIFEU.js";
|
|
159
165
|
import {
|
|
160
166
|
canSelectModel,
|
|
161
167
|
createGeminiAccessTokenResolver,
|
|
@@ -163,7 +169,7 @@ import {
|
|
|
163
169
|
findDetected,
|
|
164
170
|
hasApiCredential,
|
|
165
171
|
requiresCredentialForModel
|
|
166
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-V7U4OXBC.js";
|
|
167
173
|
import {
|
|
168
174
|
activeZenCatalogue,
|
|
169
175
|
isOfferableModel
|
|
@@ -178,16 +184,16 @@ import {
|
|
|
178
184
|
takeConfigWarnings,
|
|
179
185
|
unmatchedPassthroughTools,
|
|
180
186
|
workflowTokenCeiling
|
|
181
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-YZIUYGJT.js";
|
|
182
188
|
import {
|
|
183
189
|
resolveGeneratorSettings
|
|
184
190
|
} from "./chunk-LCGXWCVU.js";
|
|
185
191
|
import {
|
|
186
192
|
compilePermissions
|
|
187
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-MYHK6KOU.js";
|
|
188
194
|
import {
|
|
189
195
|
cliLogger
|
|
190
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-JG462CCT.js";
|
|
191
197
|
import {
|
|
192
198
|
readModelLaunchEnvironment
|
|
193
199
|
} from "./chunk-LVVD32KJ.js";
|
|
@@ -211,23 +217,23 @@ import {
|
|
|
211
217
|
import {
|
|
212
218
|
isAnthropicOAuthToken,
|
|
213
219
|
readCodexCredentialFile
|
|
214
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-NJ4PLSBZ.js";
|
|
215
221
|
import {
|
|
216
222
|
composeEnvironmentPrompt,
|
|
217
223
|
detectWsl,
|
|
218
224
|
environmentFactLines,
|
|
219
225
|
permissionSentence,
|
|
220
226
|
readEnvironmentFacts
|
|
221
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-5KHKXEP5.js";
|
|
222
228
|
import {
|
|
223
229
|
ensurePrivateStateDirectory
|
|
224
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-UAD3AUKO.js";
|
|
225
231
|
import {
|
|
226
232
|
isTrusted
|
|
227
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-FLRYCMRH.js";
|
|
228
234
|
import {
|
|
229
235
|
namzuHomePath
|
|
230
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-G7PWYTB4.js";
|
|
231
237
|
import {
|
|
232
238
|
AgentManager,
|
|
233
239
|
AgentRegistry,
|
|
@@ -418,7 +424,7 @@ import {
|
|
|
418
424
|
withProviderFallback,
|
|
419
425
|
worktreeHookHost,
|
|
420
426
|
wrapUntrusted
|
|
421
|
-
} from "./chunk-
|
|
427
|
+
} from "./chunk-BULDCXFX.js";
|
|
422
428
|
import {
|
|
423
429
|
__name,
|
|
424
430
|
__toESM
|
|
@@ -3579,6 +3585,7 @@ var AGENT_LAUNCH_TOOL = "Agent";
|
|
|
3579
3585
|
var bash = BashTool.name;
|
|
3580
3586
|
var agent = AGENT_LAUNCH_TOOL;
|
|
3581
3587
|
var NAMZU_IDENTITY = [
|
|
3588
|
+
"Reply in the language of the person's latest message, and give amounts in money when money is asked, not in tokens.",
|
|
3582
3589
|
"You are Namzu, the assistant in the Namzu CLI. Namzu is an AI kernel exposed through a TypeScript SDK; this terminal application is one interface to it.",
|
|
3583
3590
|
"You are built on the @namzu/sdk and act through its tools; use `" + bash + "` for what the dedicated file tools do not cover.",
|
|
3584
3591
|
"Your name is namzu. When asked who or what you are, identify yourself as namzu.",
|
|
@@ -3587,11 +3594,11 @@ var NAMZU_IDENTITY = [
|
|
|
3587
3594
|
"the model, as the assistant product that model ships under, or as any other agent.",
|
|
3588
3595
|
"",
|
|
3589
3596
|
"Ground action claims in successful tool results from this conversation, and keep completed earlier work apart from actions performed in the current turn, because the user acts on what you report:",
|
|
3590
|
-
"- Describe an action as done only after its tool call has returned, and take file paths, command output, links and findings from tool results only.
|
|
3597
|
+
"- Describe an action as done only after its tool call has returned, and take file paths, command output, links and findings from tool results only.",
|
|
3591
3598
|
`- Independent tool calls may share one response, but \`${bash}\` calls run one at a time, in order, because they may change the same workspace. Say two \`${bash}\` calls ran in parallel only when one command itself produced timestamped proof of overlap.`,
|
|
3592
|
-
"- If a capability or tool is unavailable, explain the limitation and continue independent work that remains possible. Use an
|
|
3599
|
+
"- If a capability or tool is unavailable, explain the limitation and continue independent work that remains possible. Use an alternative only when it supports the task, and report what could not be done in place of a fabricated result or a bypassed refusal.",
|
|
3593
3600
|
`- When you delegate with the \`${agent}\` tool, report what the sub-agent returned in its tool result, and verify with a tool before claiming paths for files it says it wrote.`,
|
|
3594
|
-
`- A reply from a tool that delegates to another agent (a connector that runs another agent, an A2A \`tasks/send\`, a remote peer) is that agent's claim, not a verified fact, because another model can hallucinate. If it says it ran a command
|
|
3601
|
+
`- A reply from a tool that delegates to another agent (a connector that runs another agent, an A2A \`tasks/send\`, a remote peer) is that agent's claim, not a verified fact, because another model can hallucinate. If it says it ran a command or wrote a file, confirm it yourself with a deterministic tool (\`${bash}\`, a file read) before reporting it as done, and present its prose as that agent's.`
|
|
3595
3602
|
].join("\n");
|
|
3596
3603
|
var FOREGROUND_BASH_DESCRIPTION = "Executes one shell command in the foreground and returns stdout/stderr. Calls run one at a time, in order, because shell commands may change the same workspace; independent calls may still share one response.";
|
|
3597
3604
|
|
|
@@ -4976,29 +4983,23 @@ __name(buildConversationReadTool, "buildConversationReadTool");
|
|
|
4976
4983
|
|
|
4977
4984
|
// src/integrations/workflows/doctrine.ts
|
|
4978
4985
|
var WORKFLOW_DOCTRINE = [
|
|
4979
|
-
"The `workflow` tool starts many agents on one decision, and its description lists the opt-ins that allow a call. Without one, use `Agent` for
|
|
4980
|
-
"
|
|
4981
|
-
"Use `workflow` for work with several phases or many agents: write the script once, call `workflow`, and the runtime schedules the agents and groups them by phase. A workflow runs in the background and the operator approves the script before it starts. After you start one, tell the operator in one sentence that it is running; its result reaches you in a single message when it ends, and you then report the outcome.",
|
|
4982
|
-
"When the operator asks how a workflow is going, read its state with one `agent_task_list` call (set `run_id`) or the running-work note, not the launch message, which is only a receipt. Report its phase, how many agents are running, queued and done, and say it is still running until its message has arrived."
|
|
4986
|
+
"The `workflow` tool starts many agents on one decision, and its description lists the opt-ins that allow a call. Without one, use `Agent` for one subagent or a small fan-out. When hypermode is on (a note from Namzu confirms it), that is a standing opt-in for every substantive task, and you work alone only on a conversational or trivial turn.",
|
|
4987
|
+
"A workflow runs in the background once the operator approves its script; say in one sentence that it is running. When the operator asks how a workflow is going, read its state with one `agent_task_list` call (set `run_id`) or the running-work note, not the launch message, which is only a receipt, and say it is still running until its message has arrived."
|
|
4983
4988
|
].join("\n");
|
|
4984
4989
|
|
|
4985
4990
|
// src/context/doctrine.ts
|
|
4986
4991
|
var NO_ONE_TO_ASK = [
|
|
4987
4992
|
[
|
|
4988
|
-
"
|
|
4989
|
-
"Where proceeding under any assumption would be unsafe or would make the work useless if wrong, leave that step undone and name it in your summary."
|
|
4990
|
-
],
|
|
4991
|
-
[
|
|
4992
|
-
"Ask for clarification only when the intended change is genuinely unspecified.",
|
|
4993
|
-
"When the intended change is genuinely unspecified, take the most conservative reading and state it."
|
|
4993
|
+
"Ask only when you cannot name the most likely reading of the request, or when proceeding under any assumption would be unsafe or would make the work useless if wrong. Ask once, with your best guess, because ending the turn stops all work.",
|
|
4994
|
+
"Where you cannot name the most likely reading, or where proceeding under any assumption would be unsafe or would make the work useless if wrong, take the most conservative reading or leave that step undone, and name it in your summary."
|
|
4994
4995
|
],
|
|
4995
4996
|
[
|
|
4996
4997
|
"stop and ask rather than stashing, committing or discarding somebody else's work.",
|
|
4997
4998
|
"leave them alone: do not stash, commit or discard somebody else's work."
|
|
4998
4999
|
],
|
|
4999
5000
|
[
|
|
5000
|
-
"
|
|
5001
|
-
"
|
|
5001
|
+
"If the user repeats or reaffirms a request after you raised a concern, that is their decision: say so and do the full request.",
|
|
5002
|
+
"If the task repeats a request after a concern was raised, that is the decision: say so and do the full request."
|
|
5002
5003
|
],
|
|
5003
5004
|
["without asking: not", "unless the task says so: not"],
|
|
5004
5005
|
[
|
|
@@ -5019,8 +5020,7 @@ function withoutAsking(doctrine) {
|
|
|
5019
5020
|
__name(withoutAsking, "withoutAsking");
|
|
5020
5021
|
var INFORMED_HEADING = "### Keeping the user informed";
|
|
5021
5022
|
var CHILD_REPORT_SECTION = `### Your final report
|
|
5022
|
-
- Your parent reads your final report and not your tool calls, so put everything it needs there: what changed, what was verified, what is left, and every assumption you made.
|
|
5023
|
-
- Keep the report complete and free of filler, because your parent relays it onward.`;
|
|
5023
|
+
- Your parent reads your final report and not your tool calls, so put everything it needs there: the answer or what changed, what was verified, what is left, and every assumption you made. Write it in the language of the task you were given, complete and without filler, because your parent relays it onward.`;
|
|
5024
5024
|
function withChildReport(doctrine) {
|
|
5025
5025
|
const at = doctrine.indexOf(INFORMED_HEADING);
|
|
5026
5026
|
if (at === -1) throw new Error(`The working rules no longer contain: ${INFORMED_HEADING}`);
|
|
@@ -8071,6 +8071,186 @@ ${deps.configured ?? ""}`;
|
|
|
8071
8071
|
}
|
|
8072
8072
|
__name(createSideModel, "createSideModel");
|
|
8073
8073
|
|
|
8074
|
+
// src/integrations/spend/session-cost.ts
|
|
8075
|
+
import { createReadStream as createReadStream2 } from "node:fs";
|
|
8076
|
+
import { StringDecoder } from "node:string_decoder";
|
|
8077
|
+
var SESSION_COST_TOOL = "session_cost";
|
|
8078
|
+
var costInfo = /* @__PURE__ */ __name((totalCost, unpricedTokens) => ({
|
|
8079
|
+
totalCost,
|
|
8080
|
+
cacheDiscount: 0,
|
|
8081
|
+
unpricedTokens
|
|
8082
|
+
}), "costInfo");
|
|
8083
|
+
var cumulativeCost = /* @__PURE__ */ __name((c) => costInfo(c.cost, c.unpriced), "cumulativeCost");
|
|
8084
|
+
var PROVIDER_WORD = '"providerId"';
|
|
8085
|
+
var MAX_LINE_CHARS3 = 4 * 1024 * 1024;
|
|
8086
|
+
function providerOfLine(line) {
|
|
8087
|
+
if (!line.includes(PROVIDER_WORD)) return void 0;
|
|
8088
|
+
try {
|
|
8089
|
+
const record = JSON.parse(line);
|
|
8090
|
+
const source = record.content?.source;
|
|
8091
|
+
if (record.type === "message" && record.content?.role === "assistant" && source?.type === "model" && typeof source.providerId === "string" && /^[A-Za-z0-9._-]{1,64}$/.test(source.providerId)) {
|
|
8092
|
+
return source.providerId;
|
|
8093
|
+
}
|
|
8094
|
+
} catch {
|
|
8095
|
+
}
|
|
8096
|
+
return void 0;
|
|
8097
|
+
}
|
|
8098
|
+
__name(providerOfLine, "providerOfLine");
|
|
8099
|
+
async function* fileLogBytes(path) {
|
|
8100
|
+
try {
|
|
8101
|
+
for await (const chunk of createReadStream2(path, { highWaterMark: READ_CHUNK_BYTES })) {
|
|
8102
|
+
yield chunk;
|
|
8103
|
+
}
|
|
8104
|
+
} catch (cause) {
|
|
8105
|
+
if (cause.code !== "ENOENT") throw cause;
|
|
8106
|
+
}
|
|
8107
|
+
}
|
|
8108
|
+
__name(fileLogBytes, "fileLogBytes");
|
|
8109
|
+
async function readSessionCost(bytes) {
|
|
8110
|
+
const models = new ModelTable();
|
|
8111
|
+
const folder = new LogFolder(models, 0);
|
|
8112
|
+
let size = 0;
|
|
8113
|
+
const providers = /* @__PURE__ */ new Set();
|
|
8114
|
+
const decoder = new StringDecoder("utf8");
|
|
8115
|
+
let partial = "";
|
|
8116
|
+
let skipping = false;
|
|
8117
|
+
const take = /* @__PURE__ */ __name((line) => {
|
|
8118
|
+
const provider = providerOfLine(line);
|
|
8119
|
+
if (provider !== void 0) providers.add(provider);
|
|
8120
|
+
}, "take");
|
|
8121
|
+
for await (const piece of bytes) {
|
|
8122
|
+
const chunk = Buffer.from(piece.buffer, piece.byteOffset, piece.byteLength);
|
|
8123
|
+
size += chunk.length;
|
|
8124
|
+
folder.feed(chunk);
|
|
8125
|
+
const lines = (partial + decoder.write(chunk)).split("\n");
|
|
8126
|
+
partial = lines.pop();
|
|
8127
|
+
for (const line of lines) {
|
|
8128
|
+
if (skipping) skipping = false;
|
|
8129
|
+
else take(line);
|
|
8130
|
+
}
|
|
8131
|
+
if (partial.length > MAX_LINE_CHARS3) {
|
|
8132
|
+
partial = "";
|
|
8133
|
+
skipping = true;
|
|
8134
|
+
}
|
|
8135
|
+
}
|
|
8136
|
+
partial += decoder.end();
|
|
8137
|
+
if (!skipping) take(partial);
|
|
8138
|
+
const result = folder.finish();
|
|
8139
|
+
const session = {
|
|
8140
|
+
slug: "",
|
|
8141
|
+
size,
|
|
8142
|
+
mtimeMs: 0,
|
|
8143
|
+
from: result.from,
|
|
8144
|
+
rows: result.settled,
|
|
8145
|
+
open: result.open
|
|
8146
|
+
};
|
|
8147
|
+
const totals = conversationTotals(session);
|
|
8148
|
+
const last = folder.lastSettled;
|
|
8149
|
+
return {
|
|
8150
|
+
tokens: totals.tokens,
|
|
8151
|
+
cachedTokens: totals.cacheReadTokens,
|
|
8152
|
+
outputTokens: totals.outputTokens,
|
|
8153
|
+
cost: costInfo(totals.estimatedCostUsd, totals.unpricedTokens),
|
|
8154
|
+
...last ? {
|
|
8155
|
+
lastTurn: {
|
|
8156
|
+
cost: cumulativeCost(last),
|
|
8157
|
+
tokens: last.total,
|
|
8158
|
+
outputTokens: last.completion
|
|
8159
|
+
}
|
|
8160
|
+
} : {},
|
|
8161
|
+
providers: [...providers].sort(),
|
|
8162
|
+
hasCalls: totals.tokens > 0 || result.settled.length + result.open.length > 0
|
|
8163
|
+
};
|
|
8164
|
+
}
|
|
8165
|
+
__name(readSessionCost, "readSessionCost");
|
|
8166
|
+
var fmt = /* @__PURE__ */ __name((n) => n.toLocaleString("en-US"), "fmt");
|
|
8167
|
+
function describeMoney(cost) {
|
|
8168
|
+
if (cost.unpricedTokens === 0) return `$${cost.totalCost.toFixed(4)}`;
|
|
8169
|
+
if (cost.totalCost === 0) return `unknown (${fmt(cost.unpricedTokens)} tokens at no known rate)`;
|
|
8170
|
+
return `at least $${cost.totalCost.toFixed(4)} (${fmt(cost.unpricedTokens)} tokens at no known rate)`;
|
|
8171
|
+
}
|
|
8172
|
+
__name(describeMoney, "describeMoney");
|
|
8173
|
+
function sourceOf(reading) {
|
|
8174
|
+
if (reading.cost.totalCost <= 0) return void 0;
|
|
8175
|
+
const providers = reading.providers;
|
|
8176
|
+
if (providers.length === 0) return void 0;
|
|
8177
|
+
if (providers.length === 1 && providers[0] === "openrouter") {
|
|
8178
|
+
return "Source: the charge OpenRouter reported for each call.";
|
|
8179
|
+
}
|
|
8180
|
+
if (providers.includes("openrouter")) {
|
|
8181
|
+
return "Source: the charge OpenRouter reported for its calls, and list prices for the others.";
|
|
8182
|
+
}
|
|
8183
|
+
return "Source: an estimate from list prices (the provider reports no charge).";
|
|
8184
|
+
}
|
|
8185
|
+
__name(sourceOf, "sourceOf");
|
|
8186
|
+
function renderSessionCost(reading) {
|
|
8187
|
+
if (!reading.hasCalls) {
|
|
8188
|
+
return "No cost is recorded for this conversation yet (no model call has finished). That is not the same as free; the provider\u2019s dashboard has the account total.";
|
|
8189
|
+
}
|
|
8190
|
+
const lines = [];
|
|
8191
|
+
const { cost } = reading;
|
|
8192
|
+
if (cost.unpricedTokens > 0 && cost.totalCost === 0) {
|
|
8193
|
+
lines.push(
|
|
8194
|
+
`This conversation so far: price not known. ${describeMoney(cost)}. Do not report this as free or as 0; say the price for this model is not known and give the token counts instead.`
|
|
8195
|
+
);
|
|
8196
|
+
} else {
|
|
8197
|
+
lines.push(`This conversation so far: ${describeMoney(cost)}.`);
|
|
8198
|
+
if (cost.unpricedTokens > 0) {
|
|
8199
|
+
lines.push(
|
|
8200
|
+
`${fmt(cost.unpricedTokens)} tokens have no known rate, so the real cost is higher than this.`
|
|
8201
|
+
);
|
|
8202
|
+
}
|
|
8203
|
+
}
|
|
8204
|
+
const source = sourceOf(reading);
|
|
8205
|
+
if (source) lines.push(source);
|
|
8206
|
+
if (reading.lastTurn) {
|
|
8207
|
+
const { cost: last } = reading.lastTurn;
|
|
8208
|
+
lines.push(
|
|
8209
|
+
last.unpricedTokens > 0 && last.totalCost === 0 ? `Last completed turn: price not known (${fmt(last.unpricedTokens)} tokens at no known rate).` : `Last completed turn: ${describeMoney(last)}.`
|
|
8210
|
+
);
|
|
8211
|
+
}
|
|
8212
|
+
lines.push(
|
|
8213
|
+
`Tokens: ${fmt(reading.tokens)} in total, of which ${fmt(reading.cachedTokens)} read from the cache and ${fmt(reading.outputTokens)} generated.`
|
|
8214
|
+
);
|
|
8215
|
+
lines.push(
|
|
8216
|
+
"Calls still to come in this turn, including the reply that quotes these figures, are not counted yet: give the figure as the cost so far, not as the final total."
|
|
8217
|
+
);
|
|
8218
|
+
lines.push(
|
|
8219
|
+
"Not included: side requests such as the conversation title, and the work of sub-agents (their own conversations). The provider\u2019s dashboard has the account total."
|
|
8220
|
+
);
|
|
8221
|
+
return lines.join("\n");
|
|
8222
|
+
}
|
|
8223
|
+
__name(renderSessionCost, "renderSessionCost");
|
|
8224
|
+
function buildSessionCostTool(resolveLog) {
|
|
8225
|
+
return defineTool({
|
|
8226
|
+
name: SESSION_COST_TOOL,
|
|
8227
|
+
description: "Answers questions about what this conversation has cost: money spent so far and in the last completed turn, with where the figure comes from, plus token totals. Use it for any question about cost, price, spend or usage of this conversation. Takes no arguments.",
|
|
8228
|
+
inputSchema: mcpJsonSchemaToZod({
|
|
8229
|
+
type: "object",
|
|
8230
|
+
properties: {},
|
|
8231
|
+
additionalProperties: false
|
|
8232
|
+
}),
|
|
8233
|
+
category: "custom",
|
|
8234
|
+
permissions: [],
|
|
8235
|
+
readOnly: true,
|
|
8236
|
+
destructive: false,
|
|
8237
|
+
concurrencySafe: true,
|
|
8238
|
+
async execute(_input, context) {
|
|
8239
|
+
try {
|
|
8240
|
+
const reading = await readSessionCost(resolveLog(context));
|
|
8241
|
+
return { success: true, output: renderSessionCost(reading) };
|
|
8242
|
+
} catch {
|
|
8243
|
+
return {
|
|
8244
|
+
success: false,
|
|
8245
|
+
output: "",
|
|
8246
|
+
error: "The cost of this conversation could not be read just now."
|
|
8247
|
+
};
|
|
8248
|
+
}
|
|
8249
|
+
}
|
|
8250
|
+
});
|
|
8251
|
+
}
|
|
8252
|
+
__name(buildSessionCostTool, "buildSessionCostTool");
|
|
8253
|
+
|
|
8074
8254
|
// src/integrations/state/retention.ts
|
|
8075
8255
|
var CLI_CHECKPOINT_RETENTION = 10;
|
|
8076
8256
|
|
|
@@ -10456,12 +10636,9 @@ __name(fileAgentTools, "fileAgentTools");
|
|
|
10456
10636
|
var SUBAGENT_PROMPT = [
|
|
10457
10637
|
"You are a focused sub-agent dispatched by namzu, an AI kernel, to complete one self-contained task and report back to the session that started you.",
|
|
10458
10638
|
"You cannot see the parent conversation \u2014 work only from the prompt you were given.",
|
|
10459
|
-
"Use your tools to
|
|
10639
|
+
"Use your tools to do the work, then end with a report to your parent: what you did, the results and key findings it needs, and every assumption you made.",
|
|
10460
10640
|
"",
|
|
10461
|
-
"Report only results you produced through tool calls, because your parent acts on them:",
|
|
10462
|
-
"- Create a file with the `write` tool and change an existing one with `edit`. Report the real path, and say a file exists only after a tool has written it.",
|
|
10463
|
-
"- If you need to research and have no web tool available, say so plainly and answer from your own knowledge with that caveat; take sources, data and URLs from tool results only.",
|
|
10464
|
-
"- Take command output and results from tool results only. If you cannot complete the task, say what blocked you.",
|
|
10641
|
+
"Report only results you produced through tool calls, because your parent acts on them: say a file exists only after `write` or `edit` has written it, take sources, data, URLs and command output from tool results only (with no web tool, say so and mark anything from memory as such), and if you cannot complete the task, say what blocked you.",
|
|
10465
10642
|
"",
|
|
10466
10643
|
// The same working rules the parent sessions under. A delegated task edits the
|
|
10467
10644
|
// same repository, and a child that reads a file before editing it while
|
|
@@ -12738,7 +12915,9 @@ function buildDefinition(id, description, systemPrompt, opts, tools = opts.build
|
|
|
12738
12915
|
return opts.agentHooks.attachRun(carried, sessionId);
|
|
12739
12916
|
} : void 0;
|
|
12740
12917
|
const agent2 = new NamzuCliAgent(metadata, void 0, runScope);
|
|
12741
|
-
const base = inheritedPrompt !== void 0 || systemPrompt === SUBAGENT_PROMPT
|
|
12918
|
+
const base = inheritedPrompt !== void 0 || systemPrompt === SUBAGENT_PROMPT || // A read-only type already carries the working rules once; the general
|
|
12919
|
+
// blurb would add them a second time and say to change files.
|
|
12920
|
+
[...READ_ONLY_PROMPTS.values()].includes(systemPrompt) ? systemPrompt : `${systemPrompt}
|
|
12742
12921
|
|
|
12743
12922
|
${SUBAGENT_PROMPT}`;
|
|
12744
12923
|
return {
|
|
@@ -12873,7 +13052,7 @@ import { join as join13 } from "node:path";
|
|
|
12873
13052
|
|
|
12874
13053
|
// src/integrations/workflows/offering.ts
|
|
12875
13054
|
var WORKFLOW_TOOL_NAME = "workflow";
|
|
12876
|
-
var WORKFLOW_BACKGROUND_NOTE = "Running in the background
|
|
13055
|
+
var WORKFLOW_BACKGROUND_NOTE = "Running in the background \xB7 follow it with \u2193 or /tasks";
|
|
12877
13056
|
var WORKFLOW_TOOL_DESCRIPTION = [
|
|
12878
13057
|
`Run a workflow: a short JavaScript program you write once that starts many subagents, in order and in parallel, and returns one value. It runs in the background: this call returns once the first agent is requested, and one message arrives when the run ends. A script that fails before it requests any agent is an error of this call, and one that finishes without any returns its result here. Call it only after an explicit opt-in: the operator's message included the keyword "hypermode" or "workflow" (a note confirms it), hypermode is on for the session (a note confirms it), the operator asked for a workflow or multi-agent orchestration in their own words, or they named a saved workflow to run. For any other task, even one that would clearly benefit from parallelism, do not call it; for a single subagent or a small fan-out, use the Agent tool.`,
|
|
12879
13058
|
"",
|
|
@@ -18342,7 +18521,7 @@ var WORDS = {
|
|
|
18342
18521
|
search: { live: "searching for", done: "searched for", one: "pattern", many: "patterns" },
|
|
18343
18522
|
read: { live: "reading", done: "read", one: "file", many: "files" },
|
|
18344
18523
|
list: { live: "listing", done: "listed", one: "directory", many: "directories" },
|
|
18345
|
-
run: { live: "running", done: "ran", one: "command", many: "commands" },
|
|
18524
|
+
run: { live: "running", done: "ran", one: "shell command", many: "shell commands" },
|
|
18346
18525
|
mcp: { live: "calling", done: "called" }
|
|
18347
18526
|
};
|
|
18348
18527
|
var VCS_WORDS = {
|
|
@@ -19437,11 +19616,11 @@ __name(clipRequestContext, "clipRequestContext");
|
|
|
19437
19616
|
async function createAgentSession(prefs, detectedProviders, options = {}) {
|
|
19438
19617
|
const modelEnvironment = readModelLaunchEnvironment();
|
|
19439
19618
|
if (options.palEnvironment) {
|
|
19440
|
-
const { createPalAgentSession } = await import("./agent-session-
|
|
19619
|
+
const { createPalAgentSession } = await import("./agent-session-RPSTX6GN.js");
|
|
19441
19620
|
return createPalAgentSession(prefs, detectedProviders, options);
|
|
19442
19621
|
}
|
|
19443
19622
|
let detected = detectedProviders;
|
|
19444
|
-
const { palAtWorkspace } = await import("./store-
|
|
19623
|
+
const { palAtWorkspace } = await import("./store-ZLCDFCYI.js");
|
|
19445
19624
|
if (palAtWorkspace(options.cwd ?? process.cwd()))
|
|
19446
19625
|
throw new Error("This Pal requires its owned virtual computer. Open it with namzu pal chat.");
|
|
19447
19626
|
const commandArguments = builtinCommandArguments();
|
|
@@ -20197,6 +20376,26 @@ async function createAgentSession(prefs, detectedProviders, options = {}) {
|
|
|
20197
20376
|
)
|
|
20198
20377
|
);
|
|
20199
20378
|
}
|
|
20379
|
+
if (options.conversationSessions || options.ephemeral) {
|
|
20380
|
+
const sessions = options.conversationSessions;
|
|
20381
|
+
const owned = /* @__PURE__ */ __name((turnId) => {
|
|
20382
|
+
const owner = delegationScopes.get(turnId);
|
|
20383
|
+
if (!owner || sessions && (owner.projectId !== sessions.projectId || owner.tenantId !== sessions.tenantId))
|
|
20384
|
+
throw new Error("The requesting turn does not own this conversation.");
|
|
20385
|
+
return owner;
|
|
20386
|
+
}, "owned");
|
|
20387
|
+
toolsets.push(
|
|
20388
|
+
toolset("session-cost", [
|
|
20389
|
+
buildSessionCostTool((context) => {
|
|
20390
|
+
const owner = owned(context.turnId);
|
|
20391
|
+
if (sessions) return fileLogBytes(conversationLogPath(sessions, owner.sessionId));
|
|
20392
|
+
const log = ephemeralLogs.get(ephemeralScopeKey(owner));
|
|
20393
|
+
if (!log) throw new Error("No transient log exists for this conversation.");
|
|
20394
|
+
return log.medium.stream(0);
|
|
20395
|
+
})
|
|
20396
|
+
])
|
|
20397
|
+
);
|
|
20398
|
+
}
|
|
20200
20399
|
const evidenceRecallSteps = /* @__PURE__ */ new Map();
|
|
20201
20400
|
const evidenceRecallFor = /* @__PURE__ */ __name((sessionId) => {
|
|
20202
20401
|
const sessions = options.conversationSessions;
|
|
@@ -20747,7 +20946,7 @@ async function createAgentSession(prefs, detectedProviders, options = {}) {
|
|
|
20747
20946
|
);
|
|
20748
20947
|
toolsets.push(options.toolLoading === "eager" ? monitorToolset : deferred(monitorToolset));
|
|
20749
20948
|
}
|
|
20750
|
-
const operatorPals = await import("./operator-tools-
|
|
20949
|
+
const operatorPals = await import("./operator-tools-HT2GSJ56.js");
|
|
20751
20950
|
toolsets.push(
|
|
20752
20951
|
readyWhen(
|
|
20753
20952
|
toolset(
|
|
@@ -24372,4 +24571,4 @@ export {
|
|
|
24372
24571
|
RESULT_SUMMARY_WHOLE_MAX,
|
|
24373
24572
|
resultSummaryLine
|
|
24374
24573
|
};
|
|
24375
|
-
//# sourceMappingURL=chunk-
|
|
24574
|
+
//# sourceMappingURL=chunk-RMRGVJOA.js.map
|