@namzu/cli 37.0.2 → 37.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/README.md +1 -1
- package/dist/analysis-host.js +55 -0
- package/dist/analysis-host.js.map +6 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-Y2WQVKWL.js → acp-WRUFVVVS.js} +52 -46
- package/dist/chunks/acp-WRUFVVVS.js.map +6 -0
- package/dist/chunks/{activity-command-UMTER4IK.js → activity-command-7GP4PLBD.js} +11 -10
- package/dist/chunks/activity-command-7GP4PLBD.js.map +6 -0
- package/dist/chunks/{add-AIDLR6U4.js → add-KNRDMCME.js} +19 -19
- package/dist/chunks/{agent-C7TDIJ67.js → agent-LZDDK3NN.js} +26 -24
- package/dist/chunks/agent-session-2XPAWSJU.js +51 -0
- package/dist/chunks/{archive-FKUQ77FG.js → archive-PNHAJS2H.js} +9 -8
- package/dist/chunks/archive-PNHAJS2H.js.map +6 -0
- package/dist/chunks/{bin-main-EIWOQZCZ.js → bin-main-Y2J7CPYI.js} +5 -5
- package/dist/chunks/{browser-7P2TABJG.js → browser-RVLLK6CN.js} +7 -7
- package/dist/chunks/{chat-YN6WWBI6.js → chat-YF3TI43Y.js} +20 -19
- package/dist/chunks/chat-YF3TI43Y.js.map +6 -0
- package/dist/chunks/{chunk-EBFWNPMU.js → chunk-2TDWK353.js} +11 -11
- package/dist/chunks/{chunk-23SR4YFL.js → chunk-34IZ6DMB.js} +2 -2
- package/dist/chunks/{chunk-5WDPVM7Q.js → chunk-37FCG7VX.js} +2 -2
- package/dist/chunks/{chunk-F2JKDYHA.js → chunk-4GIDESAM.js} +4 -4
- package/dist/chunks/{chunk-VZ4KVZWO.js → chunk-4H4YDNND.js} +33 -32
- package/dist/chunks/{chunk-VZ4KVZWO.js.map → chunk-4H4YDNND.js.map} +1 -1
- package/dist/chunks/{chunk-BUQ7VMBS.js → chunk-5NHKC3NO.js} +32 -10
- package/dist/chunks/chunk-5NHKC3NO.js.map +6 -0
- package/dist/chunks/{chunk-OVVIFOAR.js → chunk-5YERJLR7.js} +4 -4
- package/dist/chunks/{chunk-YCVR5E2Z.js → chunk-72TESSG2.js} +30 -4
- package/dist/chunks/{chunk-YCVR5E2Z.js.map → chunk-72TESSG2.js.map} +1 -1
- package/dist/chunks/{chunk-FLUVTAXY.js → chunk-77AX2GEP.js} +5265 -4174
- package/dist/chunks/chunk-77AX2GEP.js.map +6 -0
- package/dist/chunks/chunk-7WKQQOKK.js +430 -0
- package/dist/chunks/chunk-7WKQQOKK.js.map +6 -0
- package/dist/chunks/{chunk-2YPMHUI4.js → chunk-A5GALFIC.js} +2 -2
- package/dist/chunks/{chunk-DFU5KG3V.js → chunk-ABHX2QBJ.js} +4 -4
- package/dist/chunks/{chunk-37A6M7P4.js → chunk-DRXG4OLL.js} +4 -4
- package/dist/chunks/{chunk-Y3UE64PV.js → chunk-DS2PIOVD.js} +3 -3
- package/dist/chunks/{chunk-GR452YOE.js → chunk-DW23UIKM.js} +2 -2
- package/dist/chunks/{chunk-DBBWIOQS.js → chunk-E6RPYGJP.js} +3 -3
- package/dist/chunks/{chunk-3NCL3Y53.js → chunk-ERY3CYIM.js} +4 -4
- package/dist/chunks/{chunk-6HDBRUB7.js → chunk-GEB3OP2H.js} +181 -32
- package/dist/chunks/chunk-GEB3OP2H.js.map +6 -0
- package/dist/chunks/{chunk-HXFPEA6Z.js → chunk-GYM3FUBH.js} +2 -2
- package/dist/chunks/{chunk-45MA2WMX.js → chunk-HFFINVNN.js} +3 -3
- package/dist/chunks/{chunk-I3Q53U6H.js → chunk-HFMDSVBA.js} +2 -2
- package/dist/chunks/{chunk-KSFS3BI7.js → chunk-HFUBLJE5.js} +2 -2
- package/dist/chunks/{chunk-QCJU5KFR.js → chunk-HJBZYFCC.js} +6 -6
- package/dist/chunks/{chunk-SEKX6IR5.js → chunk-HLHYVGQE.js} +13 -13
- package/dist/chunks/{chunk-OKB66ICJ.js → chunk-HRRQSXVP.js} +15 -11
- package/dist/chunks/chunk-HRRQSXVP.js.map +6 -0
- package/dist/chunks/{chunk-5GOYK3IN.js → chunk-HS3TPTJ3.js} +2 -2
- package/dist/chunks/{chunk-I6XWCKKW.js → chunk-KK73BCYK.js} +7 -5
- package/dist/chunks/chunk-KK73BCYK.js.map +6 -0
- package/dist/chunks/{chunk-QVMTUMTW.js → chunk-KSLX3NGM.js} +3 -3
- package/dist/chunks/{chunk-ZRAALEF2.js → chunk-LO5DFG6H.js} +2 -2
- package/dist/chunks/{chunk-L7Q7QNNE.js → chunk-M2SQW7DK.js} +3 -3
- package/dist/chunks/{chunk-2EDGH6Y3.js → chunk-M46XYX7O.js} +3 -3
- package/dist/chunks/{chunk-FKLDO6SF.js → chunk-MF45FNH3.js} +3 -3
- package/dist/chunks/{chunk-MYRLRBZG.js → chunk-MUG3SBGU.js} +3 -3
- package/dist/chunks/{chunk-XDAMUTVR.js → chunk-MULW7FFH.js} +4 -4
- package/dist/chunks/{chunk-JH2O55TT.js → chunk-N2CP3FIQ.js} +4 -4
- package/dist/chunks/{chunk-D7FPVZDC.js → chunk-N3YMYKEU.js} +2 -2
- package/dist/chunks/{chunk-QU3LGVTZ.js → chunk-ND6ZNIUM.js} +7 -7
- package/dist/chunks/{chunk-R23DP7S7.js → chunk-NYRBM7PR.js} +17 -17
- package/dist/chunks/{chunk-BV2SDA2D.js → chunk-O6X4O7VQ.js} +3 -3
- package/dist/chunks/{chunk-MVGNG67O.js → chunk-POEIV6AQ.js} +2 -2
- package/dist/chunks/{chunk-KQM2NQ2W.js → chunk-PSLRTJU5.js} +8 -8
- package/dist/chunks/{chunk-XYXPAVPG.js → chunk-QWCASGYH.js} +4 -4
- package/dist/chunks/{chunk-ZKI3Z4VR.js → chunk-R7HI2NMR.js} +2 -2
- package/dist/chunks/{chunk-3SGEHTJ4.js → chunk-REBTUQC6.js} +6 -6
- package/dist/chunks/{chunk-NKERGDBZ.js → chunk-SMAN2IR4.js} +2 -2
- package/dist/chunks/{chunk-HHKKHUJK.js → chunk-T5GKAQHN.js} +3 -41
- package/dist/chunks/chunk-T5GKAQHN.js.map +6 -0
- package/dist/chunks/{chunk-4GDOFBZF.js → chunk-TQGYYDLF.js} +3 -3
- package/dist/chunks/{chunk-WWE4W2R6.js → chunk-UARWI3TA.js} +2 -2
- package/dist/chunks/{chunk-HV4SSQ2Y.js → chunk-UI3MX7CC.js} +3 -3
- package/dist/chunks/chunk-V6NJWYMP.js +49 -0
- package/dist/chunks/chunk-V6NJWYMP.js.map +6 -0
- package/dist/chunks/{chunk-X3ZBCYV6.js → chunk-VCUPZJDO.js} +2 -2
- package/dist/chunks/{chunk-74WE6T6M.js → chunk-VIDT6RAV.js} +9 -7
- package/dist/chunks/chunk-VIDT6RAV.js.map +6 -0
- package/dist/chunks/{chunk-ZRJYG2F2.js → chunk-VONRWBC6.js} +2 -2
- package/dist/chunks/{chunk-6CQJH56B.js → chunk-XBRRTAXP.js} +2 -2
- package/dist/chunks/{chunk-UFZGVNFQ.js → chunk-XHJMDBRV.js} +2 -2
- package/dist/chunks/chunk-YDD74UVE.js +108 -0
- package/dist/chunks/chunk-YDD74UVE.js.map +6 -0
- package/dist/chunks/{chunk-WMOYTZXD.js → chunk-YX2ZK34T.js} +19 -17
- package/dist/chunks/{chunk-WMOYTZXD.js.map → chunk-YX2ZK34T.js.map} +1 -1
- package/dist/chunks/{cli-runtime-74KKQHC7.js → cli-runtime-6MW2CSZV.js} +7 -7
- package/dist/chunks/{commands-2Q7KPVLW.js → commands-FHJCPYZK.js} +6 -6
- package/dist/chunks/{crash-report-KDVWQ2RR.js → crash-report-M5Q3DQCN.js} +6 -6
- package/dist/chunks/{dist-4TGHKBRS.js → dist-33WLKROX.js} +2 -2
- package/dist/chunks/{dist-25C2CYHP.js → dist-37DNQCWH.js} +2 -2
- package/dist/chunks/{dist-ZDSPMZ5S.js → dist-4OQCWTIT.js} +2 -2
- package/dist/chunks/{dist-UYD7IXG3.js → dist-JSQDWJJ7.js} +2 -2
- package/dist/chunks/dist-KGLSBIES.js +2182 -0
- package/dist/chunks/dist-KGLSBIES.js.map +6 -0
- package/dist/chunks/{dist-Q523V5L2.js → dist-PRV7KU6K.js} +2 -2
- package/dist/chunks/{dist-OMRUSJ5R.js → dist-RUF7G2EJ.js} +2 -2
- package/dist/chunks/{dist-674RS73L.js → dist-XB6XFRHI.js} +2 -2
- package/dist/chunks/{doctor-TFION64N.js → doctor-UHW2CT5G.js} +11 -9
- package/dist/chunks/{drain-3W3A4KPX.js → drain-WW3OCWON.js} +15 -13
- package/dist/chunks/{drain-3W3A4KPX.js.map → drain-WW3OCWON.js.map} +1 -1
- package/dist/chunks/{eval-TCUVH3S3.js → eval-7W7MY7MI.js} +2 -2
- package/dist/chunks/{exec-EIELDRPM.js → exec-D3HAVGO3.js} +86 -40
- package/dist/chunks/exec-D3HAVGO3.js.map +6 -0
- package/dist/chunks/{home-FYDAEWNW.js → home-OOMHTBCU.js} +3 -3
- package/dist/chunks/{host-queries-WFWM672O.js → host-queries-LLRW35KQ.js} +14 -13
- package/dist/chunks/host-queries-LLRW35KQ.js.map +6 -0
- package/dist/chunks/{lifecycle-ALDBR656.js → lifecycle-X3WP7K6J.js} +27 -26
- package/dist/chunks/{list-Z4XOJJ7V.js → list-YNC6NTUS.js} +15 -15
- package/dist/chunks/{login-UZONOHHT.js → login-J2W3FTAI.js} +8 -8
- package/dist/chunks/{logs-O3NGOQFC.js → logs-FBCRI5GX.js} +5 -5
- package/dist/chunks/{mcp-YI6PL4TH.js → mcp-S6HNWBTQ.js} +16 -16
- package/dist/chunks/{message-command-QEQJ25KR.js → message-command-4SLCM27I.js} +35 -33
- package/dist/chunks/message-command-4SLCM27I.js.map +6 -0
- package/dist/chunks/{operator-tools-GKYGHHPM.js → operator-tools-PLCPLKHA.js} +13 -12
- package/dist/chunks/operator-tools-PLCPLKHA.js.map +6 -0
- package/dist/chunks/{output-schema-KXKCYDI4.js → output-schema-35UX32FC.js} +3 -3
- package/dist/chunks/{pal-2EYYHPXC.js → pal-5BVWB3W7.js} +13 -13
- package/dist/chunks/{providers-JF5SWSTH.js → providers-7VVPQLKS.js} +6 -6
- package/dist/chunks/{resident-WHH7YQGZ.js → resident-FUJTNNQU.js} +24 -23
- package/dist/chunks/resident-FUJTNNQU.js.map +6 -0
- package/dist/chunks/resume-AJ6LESHD.js +22 -0
- package/dist/chunks/{resume-command-A3HKQSRH.js → resume-command-LDVO5KIP.js} +4 -4
- package/dist/chunks/{schedule-QIJCYWIQ.js → schedule-NV5NQSKS.js} +8 -8
- package/dist/chunks/{service-IXPGBY3F.js → service-OZEMWADJ.js} +31 -30
- package/dist/chunks/service-OZEMWADJ.js.map +6 -0
- package/dist/chunks/session-step-RZEULQKO.js +27 -0
- package/dist/chunks/{skills-AGU7FTRG.js → skills-A7XMDZPV.js} +11 -11
- package/dist/chunks/{state-MTHK7DUX.js → state-ZOLHKFZD.js} +2 -2
- package/dist/chunks/{store-LPOET7IK.js → store-AG3KCS6R.js} +4 -4
- package/dist/chunks/{store-EWEKEKSG.js → store-ASOIXVEH.js} +9 -8
- package/dist/chunks/{store-XPSGZANO.js → store-WZES4TNW.js} +6 -6
- package/dist/chunks/{tui-YMBQLMGW.js → tui-H7MVCBHH.js} +176 -90
- package/dist/chunks/tui-H7MVCBHH.js.map +6 -0
- package/dist/chunks/{upgrade-3YOFSMAQ.js → upgrade-G2R3EBLE.js} +2 -2
- package/dist/chunks/{worktree-VPD2N53Y.js → worktree-YIQTRMAT.js} +11 -10
- package/dist/chunks/worktree-YIQTRMAT.js.map +6 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp.d.ts +1 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/drain.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec-monitors.d.ts +31 -0
- package/dist/commands/exec-monitors.d.ts.map +1 -0
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/config/load.d.ts +3 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +16 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/doctor/checks/code-analysis.d.ts +9 -0
- package/dist/doctor/checks/code-analysis.d.ts.map +1 -0
- package/dist/doctor/checks/index.d.ts +2 -1
- package/dist/doctor/checks/index.d.ts.map +1 -1
- package/dist/index.js +16 -14
- package/dist/integrations/analysis/host-entry.d.ts +12 -0
- package/dist/integrations/analysis/host-entry.d.ts.map +1 -0
- package/dist/integrations/analysis/provider.d.ts +42 -0
- package/dist/integrations/analysis/provider.d.ts.map +1 -0
- package/dist/integrations/monitors/inbox.d.ts +54 -0
- package/dist/integrations/monitors/inbox.d.ts.map +1 -0
- package/dist/integrations/resident/runner-worker.js +19 -18
- package/dist/integrations/resident/runner-worker.js.map +1 -1
- package/dist/integrations/resident/session-step.d.ts.map +1 -1
- package/dist/schedule/fire/fire.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BackgroundJobsPanel.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +5 -1
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +39 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/job-exit-row.d.ts +10 -0
- package/dist/tui/job-exit-row.d.ts.map +1 -1
- package/dist/tui/types.d.ts +3 -1
- package/dist/tui/types.d.ts.map +1 -1
- package/package.json +10 -8
- package/dist/chunks/acp-Y2WQVKWL.js.map +0 -6
- package/dist/chunks/activity-command-UMTER4IK.js.map +0 -6
- package/dist/chunks/agent-session-D4Z3TOX3.js +0 -49
- package/dist/chunks/archive-FKUQ77FG.js.map +0 -6
- package/dist/chunks/chat-YN6WWBI6.js.map +0 -6
- package/dist/chunks/chunk-6HDBRUB7.js.map +0 -6
- package/dist/chunks/chunk-74WE6T6M.js.map +0 -6
- package/dist/chunks/chunk-BUQ7VMBS.js.map +0 -6
- package/dist/chunks/chunk-FLUVTAXY.js.map +0 -6
- package/dist/chunks/chunk-HHKKHUJK.js.map +0 -6
- package/dist/chunks/chunk-I6XWCKKW.js.map +0 -6
- package/dist/chunks/chunk-OKB66ICJ.js.map +0 -6
- package/dist/chunks/exec-EIELDRPM.js.map +0 -6
- package/dist/chunks/host-queries-WFWM672O.js.map +0 -6
- package/dist/chunks/message-command-QEQJ25KR.js.map +0 -6
- package/dist/chunks/operator-tools-GKYGHHPM.js.map +0 -6
- package/dist/chunks/resident-WHH7YQGZ.js.map +0 -6
- package/dist/chunks/resume-WR4KOI7Q.js +0 -21
- package/dist/chunks/service-IXPGBY3F.js.map +0 -6
- package/dist/chunks/session-step-ZZBENVGS.js +0 -26
- package/dist/chunks/tui-YMBQLMGW.js.map +0 -6
- package/dist/chunks/worktree-VPD2N53Y.js.map +0 -6
- /package/dist/chunks/{add-AIDLR6U4.js.map → add-KNRDMCME.js.map} +0 -0
- /package/dist/chunks/{agent-C7TDIJ67.js.map → agent-LZDDK3NN.js.map} +0 -0
- /package/dist/chunks/{agent-session-D4Z3TOX3.js.map → agent-session-2XPAWSJU.js.map} +0 -0
- /package/dist/chunks/{bin-main-EIWOQZCZ.js.map → bin-main-Y2J7CPYI.js.map} +0 -0
- /package/dist/chunks/{browser-7P2TABJG.js.map → browser-RVLLK6CN.js.map} +0 -0
- /package/dist/chunks/{chunk-EBFWNPMU.js.map → chunk-2TDWK353.js.map} +0 -0
- /package/dist/chunks/{chunk-23SR4YFL.js.map → chunk-34IZ6DMB.js.map} +0 -0
- /package/dist/chunks/{chunk-5WDPVM7Q.js.map → chunk-37FCG7VX.js.map} +0 -0
- /package/dist/chunks/{chunk-F2JKDYHA.js.map → chunk-4GIDESAM.js.map} +0 -0
- /package/dist/chunks/{chunk-OVVIFOAR.js.map → chunk-5YERJLR7.js.map} +0 -0
- /package/dist/chunks/{chunk-2YPMHUI4.js.map → chunk-A5GALFIC.js.map} +0 -0
- /package/dist/chunks/{chunk-DFU5KG3V.js.map → chunk-ABHX2QBJ.js.map} +0 -0
- /package/dist/chunks/{chunk-37A6M7P4.js.map → chunk-DRXG4OLL.js.map} +0 -0
- /package/dist/chunks/{chunk-Y3UE64PV.js.map → chunk-DS2PIOVD.js.map} +0 -0
- /package/dist/chunks/{chunk-GR452YOE.js.map → chunk-DW23UIKM.js.map} +0 -0
- /package/dist/chunks/{chunk-DBBWIOQS.js.map → chunk-E6RPYGJP.js.map} +0 -0
- /package/dist/chunks/{chunk-3NCL3Y53.js.map → chunk-ERY3CYIM.js.map} +0 -0
- /package/dist/chunks/{chunk-HXFPEA6Z.js.map → chunk-GYM3FUBH.js.map} +0 -0
- /package/dist/chunks/{chunk-45MA2WMX.js.map → chunk-HFFINVNN.js.map} +0 -0
- /package/dist/chunks/{chunk-I3Q53U6H.js.map → chunk-HFMDSVBA.js.map} +0 -0
- /package/dist/chunks/{chunk-KSFS3BI7.js.map → chunk-HFUBLJE5.js.map} +0 -0
- /package/dist/chunks/{chunk-QCJU5KFR.js.map → chunk-HJBZYFCC.js.map} +0 -0
- /package/dist/chunks/{chunk-SEKX6IR5.js.map → chunk-HLHYVGQE.js.map} +0 -0
- /package/dist/chunks/{chunk-5GOYK3IN.js.map → chunk-HS3TPTJ3.js.map} +0 -0
- /package/dist/chunks/{chunk-QVMTUMTW.js.map → chunk-KSLX3NGM.js.map} +0 -0
- /package/dist/chunks/{chunk-ZRAALEF2.js.map → chunk-LO5DFG6H.js.map} +0 -0
- /package/dist/chunks/{chunk-L7Q7QNNE.js.map → chunk-M2SQW7DK.js.map} +0 -0
- /package/dist/chunks/{chunk-2EDGH6Y3.js.map → chunk-M46XYX7O.js.map} +0 -0
- /package/dist/chunks/{chunk-FKLDO6SF.js.map → chunk-MF45FNH3.js.map} +0 -0
- /package/dist/chunks/{chunk-MYRLRBZG.js.map → chunk-MUG3SBGU.js.map} +0 -0
- /package/dist/chunks/{chunk-XDAMUTVR.js.map → chunk-MULW7FFH.js.map} +0 -0
- /package/dist/chunks/{chunk-JH2O55TT.js.map → chunk-N2CP3FIQ.js.map} +0 -0
- /package/dist/chunks/{chunk-D7FPVZDC.js.map → chunk-N3YMYKEU.js.map} +0 -0
- /package/dist/chunks/{chunk-QU3LGVTZ.js.map → chunk-ND6ZNIUM.js.map} +0 -0
- /package/dist/chunks/{chunk-R23DP7S7.js.map → chunk-NYRBM7PR.js.map} +0 -0
- /package/dist/chunks/{chunk-BV2SDA2D.js.map → chunk-O6X4O7VQ.js.map} +0 -0
- /package/dist/chunks/{chunk-MVGNG67O.js.map → chunk-POEIV6AQ.js.map} +0 -0
- /package/dist/chunks/{chunk-KQM2NQ2W.js.map → chunk-PSLRTJU5.js.map} +0 -0
- /package/dist/chunks/{chunk-XYXPAVPG.js.map → chunk-QWCASGYH.js.map} +0 -0
- /package/dist/chunks/{chunk-ZKI3Z4VR.js.map → chunk-R7HI2NMR.js.map} +0 -0
- /package/dist/chunks/{chunk-3SGEHTJ4.js.map → chunk-REBTUQC6.js.map} +0 -0
- /package/dist/chunks/{chunk-NKERGDBZ.js.map → chunk-SMAN2IR4.js.map} +0 -0
- /package/dist/chunks/{chunk-4GDOFBZF.js.map → chunk-TQGYYDLF.js.map} +0 -0
- /package/dist/chunks/{chunk-WWE4W2R6.js.map → chunk-UARWI3TA.js.map} +0 -0
- /package/dist/chunks/{chunk-HV4SSQ2Y.js.map → chunk-UI3MX7CC.js.map} +0 -0
- /package/dist/chunks/{chunk-X3ZBCYV6.js.map → chunk-VCUPZJDO.js.map} +0 -0
- /package/dist/chunks/{chunk-ZRJYG2F2.js.map → chunk-VONRWBC6.js.map} +0 -0
- /package/dist/chunks/{chunk-6CQJH56B.js.map → chunk-XBRRTAXP.js.map} +0 -0
- /package/dist/chunks/{chunk-UFZGVNFQ.js.map → chunk-XHJMDBRV.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-74KKQHC7.js.map → cli-runtime-6MW2CSZV.js.map} +0 -0
- /package/dist/chunks/{commands-2Q7KPVLW.js.map → commands-FHJCPYZK.js.map} +0 -0
- /package/dist/chunks/{crash-report-KDVWQ2RR.js.map → crash-report-M5Q3DQCN.js.map} +0 -0
- /package/dist/chunks/{dist-4TGHKBRS.js.map → dist-33WLKROX.js.map} +0 -0
- /package/dist/chunks/{dist-25C2CYHP.js.map → dist-37DNQCWH.js.map} +0 -0
- /package/dist/chunks/{dist-ZDSPMZ5S.js.map → dist-4OQCWTIT.js.map} +0 -0
- /package/dist/chunks/{dist-UYD7IXG3.js.map → dist-JSQDWJJ7.js.map} +0 -0
- /package/dist/chunks/{dist-Q523V5L2.js.map → dist-PRV7KU6K.js.map} +0 -0
- /package/dist/chunks/{dist-OMRUSJ5R.js.map → dist-RUF7G2EJ.js.map} +0 -0
- /package/dist/chunks/{dist-674RS73L.js.map → dist-XB6XFRHI.js.map} +0 -0
- /package/dist/chunks/{doctor-TFION64N.js.map → doctor-UHW2CT5G.js.map} +0 -0
- /package/dist/chunks/{eval-TCUVH3S3.js.map → eval-7W7MY7MI.js.map} +0 -0
- /package/dist/chunks/{home-FYDAEWNW.js.map → home-OOMHTBCU.js.map} +0 -0
- /package/dist/chunks/{lifecycle-ALDBR656.js.map → lifecycle-X3WP7K6J.js.map} +0 -0
- /package/dist/chunks/{list-Z4XOJJ7V.js.map → list-YNC6NTUS.js.map} +0 -0
- /package/dist/chunks/{login-UZONOHHT.js.map → login-J2W3FTAI.js.map} +0 -0
- /package/dist/chunks/{logs-O3NGOQFC.js.map → logs-FBCRI5GX.js.map} +0 -0
- /package/dist/chunks/{mcp-YI6PL4TH.js.map → mcp-S6HNWBTQ.js.map} +0 -0
- /package/dist/chunks/{output-schema-KXKCYDI4.js.map → output-schema-35UX32FC.js.map} +0 -0
- /package/dist/chunks/{pal-2EYYHPXC.js.map → pal-5BVWB3W7.js.map} +0 -0
- /package/dist/chunks/{providers-JF5SWSTH.js.map → providers-7VVPQLKS.js.map} +0 -0
- /package/dist/chunks/{resume-WR4KOI7Q.js.map → resume-AJ6LESHD.js.map} +0 -0
- /package/dist/chunks/{resume-command-A3HKQSRH.js.map → resume-command-LDVO5KIP.js.map} +0 -0
- /package/dist/chunks/{schedule-QIJCYWIQ.js.map → schedule-NV5NQSKS.js.map} +0 -0
- /package/dist/chunks/{session-step-ZZBENVGS.js.map → session-step-RZEULQKO.js.map} +0 -0
- /package/dist/chunks/{skills-AGU7FTRG.js.map → skills-A7XMDZPV.js.map} +0 -0
- /package/dist/chunks/{state-MTHK7DUX.js.map → state-ZOLHKFZD.js.map} +0 -0
- /package/dist/chunks/{store-EWEKEKSG.js.map → store-AG3KCS6R.js.map} +0 -0
- /package/dist/chunks/{store-LPOET7IK.js.map → store-ASOIXVEH.js.map} +0 -0
- /package/dist/chunks/{store-XPSGZANO.js.map → store-WZES4TNW.js.map} +0 -0
- /package/dist/chunks/{upgrade-3YOFSMAQ.js.map → upgrade-G2R3EBLE.js.map} +0 -0
|
@@ -2,19 +2,13 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openManagedWorktrees
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ERY3CYIM.js";
|
|
6
|
+
import {
|
|
7
|
+
createSessionSkillCatalog
|
|
8
|
+
} from "./chunk-MF45FNH3.js";
|
|
6
9
|
import {
|
|
7
10
|
createBrowserControl
|
|
8
11
|
} from "./chunk-WHODOMXA.js";
|
|
9
|
-
import {
|
|
10
|
-
connectMcpServers
|
|
11
|
-
} from "./chunk-JH2O55TT.js";
|
|
12
|
-
import {
|
|
13
|
-
openInBrowser
|
|
14
|
-
} from "./chunk-UFZGVNFQ.js";
|
|
15
|
-
import {
|
|
16
|
-
createSessionSkillCatalog
|
|
17
|
-
} from "./chunk-FKLDO6SF.js";
|
|
18
12
|
import {
|
|
19
13
|
SAVE_SKILL_TOOL_NAME,
|
|
20
14
|
WORKFLOW_TOOL_DESCRIPTION,
|
|
@@ -30,7 +24,13 @@ import {
|
|
|
30
24
|
viewFromJournal,
|
|
31
25
|
workflowOffered,
|
|
32
26
|
workflowRefusal
|
|
33
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TQGYYDLF.js";
|
|
28
|
+
import {
|
|
29
|
+
connectMcpServers
|
|
30
|
+
} from "./chunk-N2CP3FIQ.js";
|
|
31
|
+
import {
|
|
32
|
+
openInBrowser
|
|
33
|
+
} from "./chunk-XHJMDBRV.js";
|
|
34
34
|
import {
|
|
35
35
|
CredentialRefreshRejectedError,
|
|
36
36
|
CredentialWithdrawnError,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
ensureFreshStoredCodexCredential,
|
|
39
39
|
readSubscriptionCredential,
|
|
40
40
|
sameOAuthCredential
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ABHX2QBJ.js";
|
|
42
42
|
import {
|
|
43
43
|
debugRequested
|
|
44
44
|
} from "./chunk-GNBMKISG.js";
|
|
@@ -47,12 +47,15 @@ import {
|
|
|
47
47
|
configuredPassthroughTools,
|
|
48
48
|
resolveToolResultScreens,
|
|
49
49
|
unmatchedPassthroughTools
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-72TESSG2.js";
|
|
51
51
|
import {
|
|
52
52
|
formatSize,
|
|
53
53
|
homePath,
|
|
54
54
|
plural
|
|
55
55
|
} from "./chunk-US5ZFPAU.js";
|
|
56
|
+
import {
|
|
57
|
+
createLazyCodeAnalysis
|
|
58
|
+
} from "./chunk-YDD74UVE.js";
|
|
56
59
|
import {
|
|
57
60
|
canSelectModel,
|
|
58
61
|
chainCapabilityDisagreements,
|
|
@@ -75,7 +78,7 @@ import {
|
|
|
75
78
|
requiresCredentialForModel,
|
|
76
79
|
resolveChainCapabilities,
|
|
77
80
|
unresolvedMembers
|
|
78
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-HLHYVGQE.js";
|
|
79
82
|
import {
|
|
80
83
|
PROVIDER_REGISTRY,
|
|
81
84
|
missingCredentialMessage,
|
|
@@ -84,11 +87,11 @@ import {
|
|
|
84
87
|
import {
|
|
85
88
|
isPermissionMode,
|
|
86
89
|
permissionModeLabel
|
|
87
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-N3YMYKEU.js";
|
|
88
91
|
import {
|
|
89
92
|
conversationLogPath,
|
|
90
93
|
ensureSessionStarted
|
|
91
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-KK73BCYK.js";
|
|
92
95
|
import {
|
|
93
96
|
INSTRUCTIONS_FILENAME,
|
|
94
97
|
MAX_CHARS_PER_FILE,
|
|
@@ -96,16 +99,13 @@ import {
|
|
|
96
99
|
instructionSearchPath,
|
|
97
100
|
loadProjectInstructions
|
|
98
101
|
} from "./chunk-H6B6AROX.js";
|
|
99
|
-
import {
|
|
100
|
-
ensurePrivateStateDirectory
|
|
101
|
-
} from "./chunk-HHKKHUJK.js";
|
|
102
102
|
import {
|
|
103
103
|
compilePermissions,
|
|
104
104
|
isPermissionEffect
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-KSLX3NGM.js";
|
|
106
106
|
import {
|
|
107
107
|
cliLogger
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-34IZ6DMB.js";
|
|
109
109
|
import {
|
|
110
110
|
probeCapabilities
|
|
111
111
|
} from "./chunk-OH6TB27S.js";
|
|
@@ -113,12 +113,15 @@ import {
|
|
|
113
113
|
activeZenCatalogue,
|
|
114
114
|
isOfferableModel
|
|
115
115
|
} from "./chunk-U3JIZFOS.js";
|
|
116
|
+
import {
|
|
117
|
+
ensurePrivateStateDirectory
|
|
118
|
+
} from "./chunk-T5GKAQHN.js";
|
|
116
119
|
import {
|
|
117
120
|
restrictToOwner
|
|
118
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-LO5DFG6H.js";
|
|
119
122
|
import {
|
|
120
123
|
namzuHomePath
|
|
121
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-UARWI3TA.js";
|
|
122
125
|
import {
|
|
123
126
|
AgentManager,
|
|
124
127
|
AgentRegistry,
|
|
@@ -183,6 +186,7 @@ import {
|
|
|
183
186
|
asTaskId,
|
|
184
187
|
asTurnId,
|
|
185
188
|
attachShellHooks,
|
|
189
|
+
backgroundTasksDisabled,
|
|
186
190
|
batchNeedsReview,
|
|
187
191
|
bindOwner,
|
|
188
192
|
buildAskUserQuestionTool,
|
|
@@ -191,6 +195,7 @@ import {
|
|
|
191
195
|
buildResidentToolEvidenceTools,
|
|
192
196
|
buildSessionGoalTools,
|
|
193
197
|
builtinCommandArguments,
|
|
198
|
+
capMonitorNotifications,
|
|
194
199
|
classifyEvidenceSource,
|
|
195
200
|
collectChatCompletion,
|
|
196
201
|
compactNow,
|
|
@@ -218,6 +223,8 @@ import {
|
|
|
218
223
|
ensureProject,
|
|
219
224
|
external_exports,
|
|
220
225
|
filtered,
|
|
226
|
+
formatMonitorEnd,
|
|
227
|
+
formatMonitorEvent,
|
|
221
228
|
generateSessionId,
|
|
222
229
|
generateSummaryId,
|
|
223
230
|
generateTenantId,
|
|
@@ -225,6 +232,8 @@ import {
|
|
|
225
232
|
generateTurnId,
|
|
226
233
|
genericLabel,
|
|
227
234
|
getBuiltinTools,
|
|
235
|
+
getCodeAnalysisTools,
|
|
236
|
+
getMonitorTools,
|
|
228
237
|
isCompactionMessage,
|
|
229
238
|
isEntityId,
|
|
230
239
|
isProjectInstructionMessageSource,
|
|
@@ -263,7 +272,7 @@ import {
|
|
|
263
272
|
windowsShellNotice,
|
|
264
273
|
withProviderFallback,
|
|
265
274
|
wrapUntrusted
|
|
266
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-77AX2GEP.js";
|
|
267
276
|
import {
|
|
268
277
|
__name
|
|
269
278
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -3222,6 +3231,82 @@ function resolveAutoDefault(config, isAvailable) {
|
|
|
3222
3231
|
}
|
|
3223
3232
|
__name(resolveAutoDefault, "resolveAutoDefault");
|
|
3224
3233
|
|
|
3234
|
+
// src/integrations/monitors/inbox.ts
|
|
3235
|
+
function monitorEventText(event) {
|
|
3236
|
+
return formatMonitorEvent(event, event.command);
|
|
3237
|
+
}
|
|
3238
|
+
__name(monitorEventText, "monitorEventText");
|
|
3239
|
+
function monitorEndText(job, stats) {
|
|
3240
|
+
return formatMonitorEnd(job, stats);
|
|
3241
|
+
}
|
|
3242
|
+
__name(monitorEndText, "monitorEndText");
|
|
3243
|
+
function createMonitorInbox() {
|
|
3244
|
+
const pending = /* @__PURE__ */ new Map();
|
|
3245
|
+
const delivered = /* @__PURE__ */ new Set();
|
|
3246
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
3247
|
+
const changed = /* @__PURE__ */ __name(() => {
|
|
3248
|
+
for (const listener of [...listeners]) {
|
|
3249
|
+
try {
|
|
3250
|
+
listener();
|
|
3251
|
+
} catch {
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
}, "changed");
|
|
3255
|
+
const render = /* @__PURE__ */ __name(() => {
|
|
3256
|
+
if (pending.size === 0) return { ids: [] };
|
|
3257
|
+
return {
|
|
3258
|
+
ids: [...pending.keys()],
|
|
3259
|
+
text: capMonitorNotifications([...pending.values()].map((entry) => entry.text).join("\n"))
|
|
3260
|
+
};
|
|
3261
|
+
}, "render");
|
|
3262
|
+
return {
|
|
3263
|
+
addEvent(event) {
|
|
3264
|
+
if (delivered.has(event.id)) return;
|
|
3265
|
+
pending.set(event.id, { text: monitorEventText(event), wakes: true });
|
|
3266
|
+
changed();
|
|
3267
|
+
},
|
|
3268
|
+
addEnd(job, stats) {
|
|
3269
|
+
if (delivered.has(job.id)) return;
|
|
3270
|
+
pending.set(job.id, {
|
|
3271
|
+
text: monitorEndText(job, stats),
|
|
3272
|
+
// A stop is reported with the next turn but starts none. Expiry and
|
|
3273
|
+
// too-much-output also end `killed`, yet each sent a notice event
|
|
3274
|
+
// first, which is what wakes the host.
|
|
3275
|
+
wakes: job.stopReason !== "stopped" && job.status !== "killed"
|
|
3276
|
+
});
|
|
3277
|
+
changed();
|
|
3278
|
+
},
|
|
3279
|
+
acknowledge(ids) {
|
|
3280
|
+
let any = false;
|
|
3281
|
+
for (const id of ids) {
|
|
3282
|
+
delivered.add(id);
|
|
3283
|
+
any = pending.delete(id) || any;
|
|
3284
|
+
}
|
|
3285
|
+
if (any) changed();
|
|
3286
|
+
},
|
|
3287
|
+
peek: render,
|
|
3288
|
+
take() {
|
|
3289
|
+
const taken = render();
|
|
3290
|
+
for (const id of taken.ids) {
|
|
3291
|
+
delivered.add(id);
|
|
3292
|
+
pending.delete(id);
|
|
3293
|
+
}
|
|
3294
|
+
return taken;
|
|
3295
|
+
},
|
|
3296
|
+
wakes: /* @__PURE__ */ __name(() => [...pending.values()].some((entry) => entry.wakes), "wakes"),
|
|
3297
|
+
get size() {
|
|
3298
|
+
return pending.size;
|
|
3299
|
+
},
|
|
3300
|
+
onChange(listener) {
|
|
3301
|
+
listeners.add(listener);
|
|
3302
|
+
return () => {
|
|
3303
|
+
listeners.delete(listener);
|
|
3304
|
+
};
|
|
3305
|
+
}
|
|
3306
|
+
};
|
|
3307
|
+
}
|
|
3308
|
+
__name(createMonitorInbox, "createMonitorInbox");
|
|
3309
|
+
|
|
3225
3310
|
// src/integrations/plugins/settings.ts
|
|
3226
3311
|
import { createHash as createHash3, randomUUID as randomUUID3 } from "node:crypto";
|
|
3227
3312
|
import {
|
|
@@ -10304,10 +10389,10 @@ function clipRequestContext(prompt, limit, kind) {
|
|
|
10304
10389
|
__name(clipRequestContext, "clipRequestContext");
|
|
10305
10390
|
async function createAgentSession(prefs, detected, options = {}) {
|
|
10306
10391
|
if (options.palEnvironment) {
|
|
10307
|
-
const { createPalAgentSession } = await import("./agent-session-
|
|
10392
|
+
const { createPalAgentSession } = await import("./agent-session-2XPAWSJU.js");
|
|
10308
10393
|
return createPalAgentSession(prefs, detected, options);
|
|
10309
10394
|
}
|
|
10310
|
-
const { palAtWorkspace } = await import("./store-
|
|
10395
|
+
const { palAtWorkspace } = await import("./store-WZES4TNW.js");
|
|
10311
10396
|
if (palAtWorkspace(options.cwd ?? process.cwd()))
|
|
10312
10397
|
throw new Error("This Pal requires its owned virtual computer. Open it with namzu pal chat.");
|
|
10313
10398
|
const commandArguments = builtinCommandArguments();
|
|
@@ -10646,6 +10731,22 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
10646
10731
|
const jobRegistry = backgroundJobs ? new BackgroundJobRegistry() : void 0;
|
|
10647
10732
|
const jobOwner = scope.sessionId;
|
|
10648
10733
|
const ownedJobs = jobRegistry ? bindOwner(jobRegistry, jobOwner) : void 0;
|
|
10734
|
+
const monitorInbox = createMonitorInbox();
|
|
10735
|
+
if (jobRegistry) {
|
|
10736
|
+
jobRegistry.onMonitorEvent((event) => {
|
|
10737
|
+
if (event.owner !== jobOwner) return;
|
|
10738
|
+
let command = "";
|
|
10739
|
+
try {
|
|
10740
|
+
command = jobRegistry.get(event.jobId).command;
|
|
10741
|
+
} catch {
|
|
10742
|
+
}
|
|
10743
|
+
monitorInbox.addEvent({ ...event, command });
|
|
10744
|
+
});
|
|
10745
|
+
jobRegistry.onExit((job) => {
|
|
10746
|
+
if (job.owner !== jobOwner || job.kind !== "monitor") return;
|
|
10747
|
+
monitorInbox.addEnd(job, jobRegistry.monitorStats(job.id));
|
|
10748
|
+
});
|
|
10749
|
+
}
|
|
10649
10750
|
const directories = [];
|
|
10650
10751
|
for (const dir of options.additionalDirectories ?? []) {
|
|
10651
10752
|
const absolute = resolve10(cwd, dir);
|
|
@@ -11300,7 +11401,15 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
11300
11401
|
if (options.openUrl) toolsets.push(toolset("open-url", [createOpenUrlTool()]));
|
|
11301
11402
|
const decisionTool = maybeCreateDecisionTool(options.decision, process.env);
|
|
11302
11403
|
if (decisionTool) toolsets.push(toolset("decide", [decisionTool]));
|
|
11303
|
-
const
|
|
11404
|
+
const codeAnalysis = options.codeAnalysis && options.codeAnalysis.enabled !== false && !options.ephemeral ? createLazyCodeAnalysis(paths.home) : void 0;
|
|
11405
|
+
if (codeAnalysis) {
|
|
11406
|
+
toolsets.push(deferred(toolset("code-analysis", getCodeAnalysisTools(codeAnalysis))));
|
|
11407
|
+
}
|
|
11408
|
+
if (jobRegistry && !backgroundTasksDisabled() && options.monitorTool !== false) {
|
|
11409
|
+
const monitorToolset = toolset("monitor", getMonitorTools());
|
|
11410
|
+
toolsets.push(options.toolLoading === "eager" ? monitorToolset : deferred(monitorToolset));
|
|
11411
|
+
}
|
|
11412
|
+
const operatorPals = await import("./operator-tools-PLCPLKHA.js");
|
|
11304
11413
|
toolsets.push(
|
|
11305
11414
|
readyWhen(
|
|
11306
11415
|
toolset(
|
|
@@ -11444,6 +11553,7 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
11444
11553
|
mcp.close(),
|
|
11445
11554
|
computerUseHost?.dispose(),
|
|
11446
11555
|
browserControl?.dispose(),
|
|
11556
|
+
codeAnalysis?.dispose(),
|
|
11447
11557
|
jobRegistry?.killOwner(jobOwner),
|
|
11448
11558
|
checkpoints.release()
|
|
11449
11559
|
]);
|
|
@@ -11910,6 +12020,22 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
11910
12020
|
if (job.owner === jobOwner) listener(job);
|
|
11911
12021
|
}) ?? (() => {
|
|
11912
12022
|
}), "onJobExit"),
|
|
12023
|
+
...jobRegistry ? {
|
|
12024
|
+
monitors: {
|
|
12025
|
+
addEvent: /* @__PURE__ */ __name((event) => monitorInbox.addEvent(event), "addEvent"),
|
|
12026
|
+
addEnd: /* @__PURE__ */ __name((job, stats) => monitorInbox.addEnd(job, stats), "addEnd"),
|
|
12027
|
+
acknowledge: /* @__PURE__ */ __name((ids) => monitorInbox.acknowledge(ids), "acknowledge"),
|
|
12028
|
+
peek: /* @__PURE__ */ __name(() => monitorInbox.peek(), "peek"),
|
|
12029
|
+
take: /* @__PURE__ */ __name(() => monitorInbox.take(), "take"),
|
|
12030
|
+
wakes: /* @__PURE__ */ __name(() => monitorInbox.wakes(), "wakes"),
|
|
12031
|
+
get size() {
|
|
12032
|
+
return monitorInbox.size;
|
|
12033
|
+
},
|
|
12034
|
+
onChange: /* @__PURE__ */ __name((listener) => monitorInbox.onChange(listener), "onChange"),
|
|
12035
|
+
stats: /* @__PURE__ */ __name((jobId) => jobRegistry.monitorStats(jobId), "stats"),
|
|
12036
|
+
running: /* @__PURE__ */ __name(() => jobRegistry.list(jobOwner).filter((job) => job.kind === "monitor" && job.status === "running").length, "running")
|
|
12037
|
+
}
|
|
12038
|
+
} : {},
|
|
11913
12039
|
...workflowHost ? {
|
|
11914
12040
|
workflows: /* @__PURE__ */ ((host) => ({
|
|
11915
12041
|
runs: /* @__PURE__ */ __name(() => host.registry.list(), "runs"),
|
|
@@ -12358,7 +12484,12 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
12358
12484
|
workflowOffer ? WORKFLOW_DOCTRINE : void 0,
|
|
12359
12485
|
residentContext ? void 0 : palPromptBlock(),
|
|
12360
12486
|
options.conversationSessions ? CONVERSATION_EVIDENCE_GUIDANCE : void 0,
|
|
12361
|
-
|
|
12487
|
+
// Whenever anything is deferred, not only under
|
|
12488
|
+
// `toolLoading: 'deferred'`: a deferred tool the model was
|
|
12489
|
+
// never told how to load is a tool it does not have.
|
|
12490
|
+
options.toolLoading === "deferred" || sessionToolsets.some(
|
|
12491
|
+
(ts) => (ts.availability ?? "active") === "deferred" && ts.tools().length > 0
|
|
12492
|
+
) ? DEFERRED_TOOL_GUIDANCE : void 0,
|
|
12362
12493
|
// Present only while the turn runs under `plan`. A mode change
|
|
12363
12494
|
// is rare, so the cached prefix it re-keys is a price paid once
|
|
12364
12495
|
// per switch rather than once per turn.
|
|
@@ -12422,8 +12553,10 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
12422
12553
|
...options.compaction?.consolidate ? { consolidateInto: memoryStore } : {},
|
|
12423
12554
|
...jobRegistry ? {
|
|
12424
12555
|
backgroundJobs: jobRegistry,
|
|
12425
|
-
backgroundJobOwner: jobOwner
|
|
12556
|
+
backgroundJobOwner: jobOwner,
|
|
12557
|
+
monitors: monitorInbox
|
|
12426
12558
|
} : {},
|
|
12559
|
+
...options.monitorTimeoutCapMs !== void 0 ? { monitorTimeoutCapMs: options.monitorTimeoutCapMs } : {},
|
|
12427
12560
|
// Constructed HERE, per turn, and that is not an optimisation to
|
|
12428
12561
|
// undo. `refreshTokenIfNeeded` above replaces the head's client
|
|
12429
12562
|
// object when an OAuth token rotates, so a member list built once at
|
|
@@ -12506,7 +12639,8 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
12506
12639
|
...sandbox.provider ? { sandboxProvider: sandbox.provider } : {},
|
|
12507
12640
|
...options.sandbox?.teardownTimeoutMs !== void 0 ? {
|
|
12508
12641
|
sandboxTeardownTimeoutMs: options.sandbox.teardownTimeoutMs
|
|
12509
|
-
} : {}
|
|
12642
|
+
} : {},
|
|
12643
|
+
...codeAnalysis ? { codeAnalysis } : {}
|
|
12510
12644
|
})) {
|
|
12511
12645
|
yield event;
|
|
12512
12646
|
if (event.kind === "done" && event.stopReason === "end_turn" && !options.ephemeral) {
|
|
@@ -12972,6 +13106,8 @@ async function* runTurn({
|
|
|
12972
13106
|
consolidateInto,
|
|
12973
13107
|
backgroundJobs,
|
|
12974
13108
|
backgroundJobOwner,
|
|
13109
|
+
monitors,
|
|
13110
|
+
monitorTimeoutCapMs,
|
|
12975
13111
|
fallbackProviders,
|
|
12976
13112
|
model,
|
|
12977
13113
|
toolsets,
|
|
@@ -13013,6 +13149,7 @@ async function* runTurn({
|
|
|
13013
13149
|
web,
|
|
13014
13150
|
sandboxProvider,
|
|
13015
13151
|
sandboxTeardownTimeoutMs,
|
|
13152
|
+
codeAnalysis,
|
|
13016
13153
|
onSessionEvent
|
|
13017
13154
|
}) {
|
|
13018
13155
|
const signal = opts?.signal;
|
|
@@ -13057,11 +13194,23 @@ async function* runTurn({
|
|
|
13057
13194
|
// `gateFor` and this one did not.
|
|
13058
13195
|
...sandboxProvider ? { sandboxProvider } : {},
|
|
13059
13196
|
...sandboxTeardownTimeoutMs !== void 0 ? { sandboxTeardownTimeoutMs } : {},
|
|
13197
|
+
...codeAnalysis ? { codeAnalysis } : {},
|
|
13060
13198
|
authorizationGate: gateFor(rules),
|
|
13061
13199
|
compactionConfig,
|
|
13062
13200
|
...consolidateInto ? { consolidateInto } : {},
|
|
13063
13201
|
...backgroundJobs ? { backgroundJobs, backgroundJobOwner } : {},
|
|
13064
|
-
|
|
13202
|
+
// A monitor's end is acknowledged through the job-exit callback with its
|
|
13203
|
+
// job id, its events through their own; both also clear the session's
|
|
13204
|
+
// ledger so a delivered event is never offered to a later turn.
|
|
13205
|
+
onJobNoticeDelivered: /* @__PURE__ */ __name((ids) => {
|
|
13206
|
+
monitors?.acknowledge(ids);
|
|
13207
|
+
opts?.onJobNoticeDelivered?.(ids);
|
|
13208
|
+
}, "onJobNoticeDelivered"),
|
|
13209
|
+
onMonitorEventsDelivered: /* @__PURE__ */ __name((ids) => {
|
|
13210
|
+
monitors?.acknowledge(ids);
|
|
13211
|
+
opts?.onMonitorEventsDelivered?.(ids);
|
|
13212
|
+
}, "onMonitorEventsDelivered"),
|
|
13213
|
+
...monitorTimeoutCapMs !== void 0 ? { monitorTimeoutCapMs } : {},
|
|
13065
13214
|
turnConfig: {
|
|
13066
13215
|
model,
|
|
13067
13216
|
...sandboxProvider ? { sandbox: { workspace: sandboxWorkspace } } : {},
|
|
@@ -13890,4 +14039,4 @@ export {
|
|
|
13890
14039
|
RESULT_SUMMARY_WHOLE_MAX,
|
|
13891
14040
|
resultSummaryLine
|
|
13892
14041
|
};
|
|
13893
|
-
//# sourceMappingURL=chunk-
|
|
14042
|
+
//# sourceMappingURL=chunk-GEB3OP2H.js.map
|