@namzu/cli 36.4.0 → 36.6.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 +30 -0
- package/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-ERY7R2OY.js → acp-VF7NQ6JH.js} +31 -31
- package/dist/chunks/{activity-command-KJXWOIHO.js → activity-command-NKR6S6K6.js} +10 -10
- package/dist/chunks/{add-OQ2SSEQT.js → add-26SZOQLU.js} +16 -16
- package/dist/chunks/{agent-RZNIDLRL.js → agent-CHDTE6PN.js} +22 -22
- package/dist/chunks/agent-session-F5XU36CE.js +46 -0
- package/dist/chunks/{archive-LUOLQEUE.js → archive-LYS5QLIY.js} +8 -8
- package/dist/chunks/{bin-main-AYEHZYZV.js → bin-main-SXTF5LOX.js} +3 -3
- package/dist/chunks/{browser-3POB2OSK.js → browser-4VQULFC5.js} +6 -6
- package/dist/chunks/{chat-65V4NXAF.js → chat-AYQUXC4H.js} +13 -13
- package/dist/chunks/{chunk-RDFZIPD5.js → chunk-2EUHQ3UU.js} +2 -2
- package/dist/chunks/{chunk-5YWWQUJ5.js → chunk-2JVVUMXC.js} +83 -26
- package/dist/chunks/chunk-2JVVUMXC.js.map +6 -0
- package/dist/chunks/{chunk-CYYGWTKF.js → chunk-2LBM3V3N.js} +2 -2
- package/dist/chunks/{chunk-4JPJV4QO.js → chunk-2NUNK4JI.js} +4 -4
- package/dist/chunks/{chunk-4BCW647F.js → chunk-3APO4D7I.js} +3 -3
- package/dist/chunks/{chunk-5VB3X4UB.js → chunk-3Z24K6SK.js} +2 -2
- package/dist/chunks/{chunk-RSRL3R7C.js → chunk-4WM5CKTI.js} +4 -4
- package/dist/chunks/{chunk-GTJVK5TJ.js → chunk-5SVMKOEG.js} +2 -2
- package/dist/chunks/{chunk-BPWCZOTB.js → chunk-5X6ADRCM.js} +2 -2
- package/dist/chunks/{chunk-5ZRZZKPU.js → chunk-6XVYUSCD.js} +9 -12
- package/dist/chunks/chunk-6XVYUSCD.js.map +6 -0
- package/dist/chunks/{chunk-6RJSJGZF.js → chunk-77VH3G4M.js} +3 -3
- package/dist/chunks/{chunk-JRVKQITY.js → chunk-7QVXN3FK.js} +4 -4
- package/dist/chunks/{chunk-UH5LZDKB.js → chunk-AO3RYELY.js} +8 -8
- package/dist/chunks/{chunk-O5FRXERG.js → chunk-AY6EUCML.js} +2 -2
- package/dist/chunks/{chunk-XC2EJGYI.js → chunk-BN5A2MAB.js} +30 -26
- package/dist/chunks/chunk-BN5A2MAB.js.map +6 -0
- package/dist/chunks/{chunk-5EDECUGH.js → chunk-BUORNM3L.js} +10 -10
- package/dist/chunks/{chunk-NS7TSLQK.js → chunk-BVJQ5NVZ.js} +2 -2
- package/dist/chunks/{chunk-II72PLUA.js → chunk-DII3AAD5.js} +2 -2
- package/dist/chunks/{chunk-WIPSZYIM.js → chunk-DZEWXEUN.js} +4 -4
- package/dist/chunks/{chunk-QZSP4UWJ.js → chunk-EOPRQEHH.js} +13 -13
- package/dist/chunks/{chunk-LH4NC5YB.js → chunk-G2DJRAN7.js} +3 -3
- package/dist/chunks/{chunk-2DECDD7E.js → chunk-GGCPLAQF.js} +3 -3
- package/dist/chunks/{chunk-KDOMBH7Q.js → chunk-GKEBBQ3Z.js} +2 -2
- package/dist/chunks/{chunk-PAE4DIXR.js → chunk-GZHWOIKT.js} +2 -2
- package/dist/chunks/{chunk-WWTZUAII.js → chunk-HO4QVXVW.js} +2 -2
- package/dist/chunks/{chunk-RAKBF6PY.js → chunk-IKGTBMN2.js} +182 -45
- package/dist/chunks/chunk-IKGTBMN2.js.map +6 -0
- package/dist/chunks/{chunk-MGFWBSDV.js → chunk-KWYQCOJA.js} +2 -2
- package/dist/chunks/{chunk-ZJXRPK5W.js → chunk-LFHTKWQ5.js} +3 -3
- package/dist/chunks/{chunk-ZPCQBKVG.js → chunk-MIIWBGGM.js} +6 -6
- package/dist/chunks/{chunk-HZ5AGRNO.js → chunk-MMCTEOXA.js} +2 -2
- package/dist/chunks/{chunk-6T4UA6AV.js → chunk-ODSPUOYW.js} +7 -7
- package/dist/chunks/{chunk-MH3JD7CF.js → chunk-ODWFH233.js} +2 -2
- package/dist/chunks/{chunk-DHXMHWOW.js → chunk-OTG2DGSA.js} +21 -6
- package/dist/chunks/chunk-OTG2DGSA.js.map +6 -0
- package/dist/chunks/{chunk-3N3CDMDI.js → chunk-P7NKAQ6I.js} +4 -4
- package/dist/chunks/{chunk-IQKT222K.js → chunk-PH72277Q.js} +2 -2
- package/dist/chunks/{chunk-BXWH4UAN.js → chunk-PQOGAHD5.js} +5 -5
- package/dist/chunks/{chunk-ZORZAWSH.js → chunk-QMDN7FIB.js} +28 -6
- package/dist/chunks/{chunk-ZORZAWSH.js.map → chunk-QMDN7FIB.js.map} +1 -1
- package/dist/chunks/{chunk-WDIIFX5X.js → chunk-QQFWOGD2.js} +6 -6
- package/dist/chunks/{chunk-Q4AASGFT.js → chunk-RPRM4YIC.js} +3 -3
- package/dist/chunks/{chunk-4TZPG75O.js → chunk-SMUEQ5RA.js} +3 -3
- package/dist/chunks/{chunk-VSZX76G4.js → chunk-TC55VVWF.js} +9 -9
- package/dist/chunks/{chunk-KZJUG4HN.js → chunk-TUN5WPEN.js} +2 -2
- package/dist/chunks/{chunk-MUUBLY7G.js → chunk-UFPOA63T.js} +2 -2
- package/dist/chunks/{chunk-EX7TQFIQ.js → chunk-UVAY5ESO.js} +4 -4
- package/dist/chunks/{chunk-IGHTIUKD.js → chunk-V6WLAAXC.js} +2 -2
- package/dist/chunks/{chunk-6ZEROVY4.js → chunk-VE322URM.js} +3 -3
- package/dist/chunks/{chunk-COPHNRLH.js → chunk-VU7JHAR6.js} +12 -12
- package/dist/chunks/{chunk-UEDWEOYF.js → chunk-WFAZLQ5N.js} +4 -4
- package/dist/chunks/{chunk-FAPXHMTL.js → chunk-X6SYXGAY.js} +4 -4
- package/dist/chunks/{chunk-ZSPSXPRH.js → chunk-XQWG6PQN.js} +22 -4
- package/dist/chunks/{chunk-ZSPSXPRH.js.map → chunk-XQWG6PQN.js.map} +1 -1
- package/dist/chunks/{chunk-JHPCQLRT.js → chunk-YUIZ3I52.js} +3 -3
- package/dist/chunks/{chunk-TCHEQRJE.js → chunk-Z6GVIPO2.js} +4 -4
- package/dist/chunks/{chunk-K5JGJIJV.js → chunk-ZNAE3DVS.js} +3 -3
- package/dist/chunks/{chunk-MEWIPARY.js → chunk-ZU4YCZVG.js} +3 -3
- package/dist/chunks/{cli-runtime-Q2NCEXXY.js → cli-runtime-TQIXSGNJ.js} +8 -8
- package/dist/chunks/{commands-QY4JZ2D5.js → commands-YCYR4OO7.js} +5 -5
- package/dist/chunks/{crash-report-HIJHT4UR.js → crash-report-3STEQBVJ.js} +6 -6
- package/dist/chunks/{dist-YW5SKAUO.js → dist-FDUMWWP6.js} +3 -2
- package/dist/chunks/{dist-YW5SKAUO.js.map → dist-FDUMWWP6.js.map} +1 -1
- package/dist/chunks/{dist-AEKRLZ3M.js → dist-G2ZZ3OAU.js} +2 -2
- package/dist/chunks/{dist-BT2HNR4P.js → dist-H4O3BALK.js} +4 -2
- package/dist/chunks/{dist-BT2HNR4P.js.map → dist-H4O3BALK.js.map} +1 -1
- package/dist/chunks/{dist-M4QJEZ6W.js → dist-ITGC4C5H.js} +2 -2
- package/dist/chunks/{dist-X5AY7IYY.js → dist-LCPSN2KU.js} +4 -3
- package/dist/chunks/{dist-X5AY7IYY.js.map → dist-LCPSN2KU.js.map} +1 -1
- package/dist/chunks/{dist-YGBNYJXU.js → dist-XJYPRLMT.js} +5 -2
- package/dist/chunks/dist-XJYPRLMT.js.map +6 -0
- package/dist/chunks/{dist-WVLCXQIR.js → dist-Z33PLHVL.js} +4 -3
- package/dist/chunks/{dist-WVLCXQIR.js.map → dist-Z33PLHVL.js.map} +1 -1
- package/dist/chunks/{doctor-NSYFMZUT.js → doctor-YCV7KO72.js} +6 -6
- package/dist/chunks/{drain-KYJSJS32.js → drain-B6NE7ECX.js} +10 -10
- package/dist/chunks/{eval-TH3WQFI2.js → eval-HKVQPXKR.js} +2 -2
- package/dist/chunks/{exec-VOZ3VAVV.js → exec-MOJSMH4D.js} +22 -22
- package/dist/chunks/{home-RAOAISVY.js → home-XWVKZPVH.js} +3 -3
- package/dist/chunks/{host-queries-U4CWSBUK.js → host-queries-FZZJCBO7.js} +13 -13
- package/dist/chunks/{lifecycle-PXCABRZ5.js → lifecycle-4R4ZRWRI.js} +23 -23
- package/dist/chunks/{list-TIF25QTK.js → list-7V5HNSRV.js} +12 -12
- package/dist/chunks/{login-J42GU7EB.js → login-MSFPVB2R.js} +8 -8
- package/dist/chunks/{logs-BGBHTVT3.js → logs-EGCWVNBU.js} +4 -4
- package/dist/chunks/{mcp-WLA36KLN.js → mcp-DWCVUDXK.js} +15 -15
- package/dist/chunks/{message-command-KQ2ENU5G.js → message-command-K3GFQCZU.js} +29 -29
- package/dist/chunks/{operator-tools-4NS32VMF.js → operator-tools-JRMP2OHZ.js} +11 -11
- package/dist/chunks/{output-schema-VUNV5PSI.js → output-schema-XVJ3XUMN.js} +3 -3
- package/dist/chunks/{pal-JLYSYJZ4.js → pal-Y5K4PJF7.js} +11 -11
- package/dist/chunks/{providers-6S2OD65T.js → providers-MNU4KDEW.js} +6 -6
- package/dist/chunks/{resident-FWCWLKM2.js → resident-BI4VV6F4.js} +18 -18
- package/dist/chunks/{resume-command-R22OK5SL.js → resume-command-XBFDMRUK.js} +4 -4
- package/dist/chunks/{schedule-JP3VSIXA.js → schedule-XEU5OSKW.js} +8 -8
- package/dist/chunks/{service-R7SRZ22P.js → service-YOZ6GUL5.js} +22 -22
- package/dist/chunks/session-step-RLSIZ3S2.js +26 -0
- package/dist/chunks/{skills-MOVGIR6S.js → skills-ZKC4GGY6.js} +8 -8
- package/dist/chunks/{state-GVVLT2YD.js → state-RV3YXV6V.js} +2 -2
- package/dist/chunks/{store-WQ5PM4Z2.js → store-7X5FJMKH.js} +4 -4
- package/dist/chunks/{store-IAAJ4GWU.js → store-PJQ65VLY.js} +10 -8
- package/dist/chunks/{store-VVOUETR5.js → store-QLMY3B43.js} +6 -6
- package/dist/chunks/{tui-23RXXZL2.js → tui-FZJ37KG2.js} +166 -116
- package/dist/chunks/tui-FZJ37KG2.js.map +6 -0
- package/dist/chunks/{upgrade-2FXGSXCP.js → upgrade-KJRSVGA3.js} +2 -2
- package/dist/chunks/{worktree-FOHNJC3S.js → worktree-JLK5Z6DS.js} +10 -10
- package/dist/cli.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/integrations/resident/runner-worker.js +16 -16
- package/dist/integrations/sessions/store.d.ts +10 -0
- package/dist/integrations/sessions/store.d.ts.map +1 -1
- package/dist/permissions/mode.d.ts +17 -2
- package/dist/permissions/mode.d.ts.map +1 -1
- package/dist/permissions/session-allow.d.ts +65 -0
- package/dist/permissions/session-allow.d.ts.map +1 -0
- package/dist/provider-retry.d.ts +21 -0
- package/dist/provider-retry.d.ts.map +1 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/LiveActivity.d.ts +5 -4
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts +35 -16
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +32 -18
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/permission-review.d.ts +0 -16
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/plain-interruption.d.ts +16 -4
- package/dist/tui/plain-interruption.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +0 -13
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/types.d.ts +2 -0
- package/dist/tui/types.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/chunks/agent-session-NATAL4BA.js +0 -46
- package/dist/chunks/chunk-5YWWQUJ5.js.map +0 -6
- package/dist/chunks/chunk-5ZRZZKPU.js.map +0 -6
- package/dist/chunks/chunk-DHXMHWOW.js.map +0 -6
- package/dist/chunks/chunk-RAKBF6PY.js.map +0 -6
- package/dist/chunks/chunk-XC2EJGYI.js.map +0 -6
- package/dist/chunks/dist-YGBNYJXU.js.map +0 -6
- package/dist/chunks/session-step-L4HQYX5J.js +0 -26
- package/dist/chunks/tui-23RXXZL2.js.map +0 -6
- /package/dist/chunks/{acp-ERY7R2OY.js.map → acp-VF7NQ6JH.js.map} +0 -0
- /package/dist/chunks/{activity-command-KJXWOIHO.js.map → activity-command-NKR6S6K6.js.map} +0 -0
- /package/dist/chunks/{add-OQ2SSEQT.js.map → add-26SZOQLU.js.map} +0 -0
- /package/dist/chunks/{agent-RZNIDLRL.js.map → agent-CHDTE6PN.js.map} +0 -0
- /package/dist/chunks/{agent-session-NATAL4BA.js.map → agent-session-F5XU36CE.js.map} +0 -0
- /package/dist/chunks/{archive-LUOLQEUE.js.map → archive-LYS5QLIY.js.map} +0 -0
- /package/dist/chunks/{bin-main-AYEHZYZV.js.map → bin-main-SXTF5LOX.js.map} +0 -0
- /package/dist/chunks/{browser-3POB2OSK.js.map → browser-4VQULFC5.js.map} +0 -0
- /package/dist/chunks/{chat-65V4NXAF.js.map → chat-AYQUXC4H.js.map} +0 -0
- /package/dist/chunks/{chunk-RDFZIPD5.js.map → chunk-2EUHQ3UU.js.map} +0 -0
- /package/dist/chunks/{chunk-CYYGWTKF.js.map → chunk-2LBM3V3N.js.map} +0 -0
- /package/dist/chunks/{chunk-4JPJV4QO.js.map → chunk-2NUNK4JI.js.map} +0 -0
- /package/dist/chunks/{chunk-4BCW647F.js.map → chunk-3APO4D7I.js.map} +0 -0
- /package/dist/chunks/{chunk-5VB3X4UB.js.map → chunk-3Z24K6SK.js.map} +0 -0
- /package/dist/chunks/{chunk-RSRL3R7C.js.map → chunk-4WM5CKTI.js.map} +0 -0
- /package/dist/chunks/{chunk-GTJVK5TJ.js.map → chunk-5SVMKOEG.js.map} +0 -0
- /package/dist/chunks/{chunk-BPWCZOTB.js.map → chunk-5X6ADRCM.js.map} +0 -0
- /package/dist/chunks/{chunk-6RJSJGZF.js.map → chunk-77VH3G4M.js.map} +0 -0
- /package/dist/chunks/{chunk-JRVKQITY.js.map → chunk-7QVXN3FK.js.map} +0 -0
- /package/dist/chunks/{chunk-UH5LZDKB.js.map → chunk-AO3RYELY.js.map} +0 -0
- /package/dist/chunks/{chunk-O5FRXERG.js.map → chunk-AY6EUCML.js.map} +0 -0
- /package/dist/chunks/{chunk-5EDECUGH.js.map → chunk-BUORNM3L.js.map} +0 -0
- /package/dist/chunks/{chunk-NS7TSLQK.js.map → chunk-BVJQ5NVZ.js.map} +0 -0
- /package/dist/chunks/{chunk-II72PLUA.js.map → chunk-DII3AAD5.js.map} +0 -0
- /package/dist/chunks/{chunk-WIPSZYIM.js.map → chunk-DZEWXEUN.js.map} +0 -0
- /package/dist/chunks/{chunk-QZSP4UWJ.js.map → chunk-EOPRQEHH.js.map} +0 -0
- /package/dist/chunks/{chunk-LH4NC5YB.js.map → chunk-G2DJRAN7.js.map} +0 -0
- /package/dist/chunks/{chunk-2DECDD7E.js.map → chunk-GGCPLAQF.js.map} +0 -0
- /package/dist/chunks/{chunk-KDOMBH7Q.js.map → chunk-GKEBBQ3Z.js.map} +0 -0
- /package/dist/chunks/{chunk-PAE4DIXR.js.map → chunk-GZHWOIKT.js.map} +0 -0
- /package/dist/chunks/{chunk-WWTZUAII.js.map → chunk-HO4QVXVW.js.map} +0 -0
- /package/dist/chunks/{chunk-MGFWBSDV.js.map → chunk-KWYQCOJA.js.map} +0 -0
- /package/dist/chunks/{chunk-ZJXRPK5W.js.map → chunk-LFHTKWQ5.js.map} +0 -0
- /package/dist/chunks/{chunk-ZPCQBKVG.js.map → chunk-MIIWBGGM.js.map} +0 -0
- /package/dist/chunks/{chunk-HZ5AGRNO.js.map → chunk-MMCTEOXA.js.map} +0 -0
- /package/dist/chunks/{chunk-6T4UA6AV.js.map → chunk-ODSPUOYW.js.map} +0 -0
- /package/dist/chunks/{chunk-MH3JD7CF.js.map → chunk-ODWFH233.js.map} +0 -0
- /package/dist/chunks/{chunk-3N3CDMDI.js.map → chunk-P7NKAQ6I.js.map} +0 -0
- /package/dist/chunks/{chunk-IQKT222K.js.map → chunk-PH72277Q.js.map} +0 -0
- /package/dist/chunks/{chunk-BXWH4UAN.js.map → chunk-PQOGAHD5.js.map} +0 -0
- /package/dist/chunks/{chunk-WDIIFX5X.js.map → chunk-QQFWOGD2.js.map} +0 -0
- /package/dist/chunks/{chunk-Q4AASGFT.js.map → chunk-RPRM4YIC.js.map} +0 -0
- /package/dist/chunks/{chunk-4TZPG75O.js.map → chunk-SMUEQ5RA.js.map} +0 -0
- /package/dist/chunks/{chunk-VSZX76G4.js.map → chunk-TC55VVWF.js.map} +0 -0
- /package/dist/chunks/{chunk-KZJUG4HN.js.map → chunk-TUN5WPEN.js.map} +0 -0
- /package/dist/chunks/{chunk-MUUBLY7G.js.map → chunk-UFPOA63T.js.map} +0 -0
- /package/dist/chunks/{chunk-EX7TQFIQ.js.map → chunk-UVAY5ESO.js.map} +0 -0
- /package/dist/chunks/{chunk-IGHTIUKD.js.map → chunk-V6WLAAXC.js.map} +0 -0
- /package/dist/chunks/{chunk-6ZEROVY4.js.map → chunk-VE322URM.js.map} +0 -0
- /package/dist/chunks/{chunk-COPHNRLH.js.map → chunk-VU7JHAR6.js.map} +0 -0
- /package/dist/chunks/{chunk-UEDWEOYF.js.map → chunk-WFAZLQ5N.js.map} +0 -0
- /package/dist/chunks/{chunk-FAPXHMTL.js.map → chunk-X6SYXGAY.js.map} +0 -0
- /package/dist/chunks/{chunk-JHPCQLRT.js.map → chunk-YUIZ3I52.js.map} +0 -0
- /package/dist/chunks/{chunk-TCHEQRJE.js.map → chunk-Z6GVIPO2.js.map} +0 -0
- /package/dist/chunks/{chunk-K5JGJIJV.js.map → chunk-ZNAE3DVS.js.map} +0 -0
- /package/dist/chunks/{chunk-MEWIPARY.js.map → chunk-ZU4YCZVG.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-Q2NCEXXY.js.map → cli-runtime-TQIXSGNJ.js.map} +0 -0
- /package/dist/chunks/{commands-QY4JZ2D5.js.map → commands-YCYR4OO7.js.map} +0 -0
- /package/dist/chunks/{crash-report-HIJHT4UR.js.map → crash-report-3STEQBVJ.js.map} +0 -0
- /package/dist/chunks/{dist-AEKRLZ3M.js.map → dist-G2ZZ3OAU.js.map} +0 -0
- /package/dist/chunks/{dist-M4QJEZ6W.js.map → dist-ITGC4C5H.js.map} +0 -0
- /package/dist/chunks/{doctor-NSYFMZUT.js.map → doctor-YCV7KO72.js.map} +0 -0
- /package/dist/chunks/{drain-KYJSJS32.js.map → drain-B6NE7ECX.js.map} +0 -0
- /package/dist/chunks/{eval-TH3WQFI2.js.map → eval-HKVQPXKR.js.map} +0 -0
- /package/dist/chunks/{exec-VOZ3VAVV.js.map → exec-MOJSMH4D.js.map} +0 -0
- /package/dist/chunks/{home-RAOAISVY.js.map → home-XWVKZPVH.js.map} +0 -0
- /package/dist/chunks/{host-queries-U4CWSBUK.js.map → host-queries-FZZJCBO7.js.map} +0 -0
- /package/dist/chunks/{lifecycle-PXCABRZ5.js.map → lifecycle-4R4ZRWRI.js.map} +0 -0
- /package/dist/chunks/{list-TIF25QTK.js.map → list-7V5HNSRV.js.map} +0 -0
- /package/dist/chunks/{login-J42GU7EB.js.map → login-MSFPVB2R.js.map} +0 -0
- /package/dist/chunks/{logs-BGBHTVT3.js.map → logs-EGCWVNBU.js.map} +0 -0
- /package/dist/chunks/{mcp-WLA36KLN.js.map → mcp-DWCVUDXK.js.map} +0 -0
- /package/dist/chunks/{message-command-KQ2ENU5G.js.map → message-command-K3GFQCZU.js.map} +0 -0
- /package/dist/chunks/{operator-tools-4NS32VMF.js.map → operator-tools-JRMP2OHZ.js.map} +0 -0
- /package/dist/chunks/{output-schema-VUNV5PSI.js.map → output-schema-XVJ3XUMN.js.map} +0 -0
- /package/dist/chunks/{pal-JLYSYJZ4.js.map → pal-Y5K4PJF7.js.map} +0 -0
- /package/dist/chunks/{providers-6S2OD65T.js.map → providers-MNU4KDEW.js.map} +0 -0
- /package/dist/chunks/{resident-FWCWLKM2.js.map → resident-BI4VV6F4.js.map} +0 -0
- /package/dist/chunks/{resume-command-R22OK5SL.js.map → resume-command-XBFDMRUK.js.map} +0 -0
- /package/dist/chunks/{schedule-JP3VSIXA.js.map → schedule-XEU5OSKW.js.map} +0 -0
- /package/dist/chunks/{service-R7SRZ22P.js.map → service-YOZ6GUL5.js.map} +0 -0
- /package/dist/chunks/{session-step-L4HQYX5J.js.map → session-step-RLSIZ3S2.js.map} +0 -0
- /package/dist/chunks/{skills-MOVGIR6S.js.map → skills-ZKC4GGY6.js.map} +0 -0
- /package/dist/chunks/{state-GVVLT2YD.js.map → state-RV3YXV6V.js.map} +0 -0
- /package/dist/chunks/{store-IAAJ4GWU.js.map → store-7X5FJMKH.js.map} +0 -0
- /package/dist/chunks/{store-VVOUETR5.js.map → store-PJQ65VLY.js.map} +0 -0
- /package/dist/chunks/{store-WQ5PM4Z2.js.map → store-QLMY3B43.js.map} +0 -0
- /package/dist/chunks/{upgrade-2FXGSXCP.js.map → upgrade-KJRSVGA3.js.map} +0 -0
- /package/dist/chunks/{worktree-FOHNJC3S.js.map → worktree-JLK5Z6DS.js.map} +0 -0
|
@@ -2,16 +2,16 @@ 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-DZEWXEUN.js";
|
|
6
6
|
import {
|
|
7
7
|
createBrowserControl
|
|
8
8
|
} from "./chunk-WHODOMXA.js";
|
|
9
9
|
import {
|
|
10
10
|
connectMcpServers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z6GVIPO2.js";
|
|
12
12
|
import {
|
|
13
13
|
createSessionSkillCatalog
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VE322URM.js";
|
|
15
15
|
import {
|
|
16
16
|
SAVE_SKILL_TOOL_NAME,
|
|
17
17
|
WORKFLOW_TOOL_DESCRIPTION,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
viewFromJournal,
|
|
28
28
|
workflowOffered,
|
|
29
29
|
workflowRefusal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LFHTKWQ5.js";
|
|
31
31
|
import {
|
|
32
32
|
openInBrowser
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-V6WLAAXC.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-P7NKAQ6I.js";
|
|
42
42
|
import {
|
|
43
43
|
debugRequested
|
|
44
44
|
} from "./chunk-GNBMKISG.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
configuredPassthroughTools,
|
|
47
47
|
resolveToolResultScreens,
|
|
48
48
|
unmatchedPassthroughTools
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-UFPOA63T.js";
|
|
50
50
|
import {
|
|
51
51
|
formatSize,
|
|
52
52
|
homePath,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
requiresCredentialForModel,
|
|
75
75
|
resolveChainCapabilities,
|
|
76
76
|
unresolvedMembers
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-EOPRQEHH.js";
|
|
78
78
|
import {
|
|
79
79
|
PROVIDER_REGISTRY,
|
|
80
80
|
missingCredentialMessage,
|
|
@@ -82,11 +82,11 @@ import {
|
|
|
82
82
|
} from "./chunk-6LLJQ3KY.js";
|
|
83
83
|
import {
|
|
84
84
|
cliLogger
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-TUN5WPEN.js";
|
|
86
86
|
import {
|
|
87
87
|
isPermissionMode,
|
|
88
88
|
permissionModeLabel
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-OTG2DGSA.js";
|
|
90
90
|
import {
|
|
91
91
|
probeCapabilities
|
|
92
92
|
} from "./chunk-OH6TB27S.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
import {
|
|
98
98
|
conversationLogPath,
|
|
99
99
|
ensureSessionStarted
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-XQWG6PQN.js";
|
|
101
101
|
import {
|
|
102
102
|
INSTRUCTIONS_FILENAME,
|
|
103
103
|
MAX_CHARS_PER_FILE,
|
|
@@ -107,13 +107,13 @@ import {
|
|
|
107
107
|
} from "./chunk-H6B6AROX.js";
|
|
108
108
|
import {
|
|
109
109
|
ensurePrivateStateDirectory
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-GZHWOIKT.js";
|
|
111
111
|
import {
|
|
112
112
|
restrictToOwner
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-AY6EUCML.js";
|
|
114
114
|
import {
|
|
115
115
|
namzuHomePath
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-PH72277Q.js";
|
|
117
117
|
import {
|
|
118
118
|
AgentManager,
|
|
119
119
|
AgentRegistry,
|
|
@@ -183,6 +183,7 @@ import {
|
|
|
183
183
|
buildResidentHistoryTools,
|
|
184
184
|
buildResidentToolEvidenceTools,
|
|
185
185
|
buildSessionGoalTools,
|
|
186
|
+
builtinCommandArguments,
|
|
186
187
|
classifyEvidenceSource,
|
|
187
188
|
collectChatCompletion,
|
|
188
189
|
compactNow,
|
|
@@ -251,7 +252,7 @@ import {
|
|
|
251
252
|
windowsShellNotice,
|
|
252
253
|
withProviderFallback,
|
|
253
254
|
wrapUntrusted
|
|
254
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-2JVVUMXC.js";
|
|
255
256
|
import {
|
|
256
257
|
__name
|
|
257
258
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -3942,7 +3943,7 @@ async function searchConversationCore(sessions, sessionId, request, signal, acti
|
|
|
3942
3943
|
result.excludedToolResults = (result.excludedToolResults ?? 0) + page.excludedToolResults;
|
|
3943
3944
|
if (page.excludedSummaries)
|
|
3944
3945
|
result.excludedSummaries = (result.excludedSummaries ?? 0) + page.excludedSummaries;
|
|
3945
|
-
const
|
|
3946
|
+
const matches2 = page.matches.map(
|
|
3946
3947
|
(match) => ({
|
|
3947
3948
|
seq: match.seq,
|
|
3948
3949
|
recordedAt: match.recordedAt,
|
|
@@ -3957,11 +3958,11 @@ async function searchConversationCore(sessions, sessionId, request, signal, acti
|
|
|
3957
3958
|
...match.characterOffset === void 0 ? {} : { byteOffset: match.byteOffset }
|
|
3958
3959
|
})
|
|
3959
3960
|
);
|
|
3960
|
-
const bytes = Buffer.byteLength(JSON.stringify(
|
|
3961
|
+
const bytes = Buffer.byteLength(JSON.stringify(matches2));
|
|
3961
3962
|
if (outputBytes + bytes > OUTPUT_BYTES)
|
|
3962
3963
|
throw new Error("Evidence exceeded its output allowance.");
|
|
3963
3964
|
outputBytes += bytes;
|
|
3964
|
-
result.matches.push(...
|
|
3965
|
+
result.matches.push(...matches2);
|
|
3965
3966
|
result.unavailable += page.unavailable.length;
|
|
3966
3967
|
result.incomplete ||= page.incomplete || page.unavailable.length > 0;
|
|
3967
3968
|
state.omitted ||= page.incomplete || page.unavailable.length > 0;
|
|
@@ -8742,6 +8743,135 @@ function createLiveModeControl(options) {
|
|
|
8742
8743
|
}
|
|
8743
8744
|
__name(createLiveModeControl, "createLiveModeControl");
|
|
8744
8745
|
|
|
8746
|
+
// src/permissions/session-allow.ts
|
|
8747
|
+
var WEB_FETCH_TOOL = "web_fetch";
|
|
8748
|
+
var MAX_LABEL_COMMAND = 60;
|
|
8749
|
+
function isRecord2(value) {
|
|
8750
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8751
|
+
}
|
|
8752
|
+
__name(isRecord2, "isRecord");
|
|
8753
|
+
function alwaysAsked(call) {
|
|
8754
|
+
return call.escalation !== void 0 || call.requiresApproval === true || call.authorization?.explicitReview === true || call.isDestructive === true;
|
|
8755
|
+
}
|
|
8756
|
+
__name(alwaysAsked, "alwaysAsked");
|
|
8757
|
+
function allowFor(call, commands) {
|
|
8758
|
+
if (alwaysAsked(call)) return void 0;
|
|
8759
|
+
const input = isRecord2(call.input) ? call.input : void 0;
|
|
8760
|
+
const commandArgument = commands.get(call.name);
|
|
8761
|
+
if (commandArgument !== void 0) {
|
|
8762
|
+
const line = input?.[commandArgument];
|
|
8763
|
+
if (typeof line !== "string") return void 0;
|
|
8764
|
+
const command = line.trim();
|
|
8765
|
+
if (command === "" || /[\n\r;&|<>`$()*?{}\\]/.test(command)) return void 0;
|
|
8766
|
+
if (input?.dangerously_disable_sandbox === true) return void 0;
|
|
8767
|
+
return { kind: "command", tool: call.name, command };
|
|
8768
|
+
}
|
|
8769
|
+
if (call.name === WEB_FETCH_TOOL) {
|
|
8770
|
+
const url = input?.url;
|
|
8771
|
+
if (typeof url !== "string") return void 0;
|
|
8772
|
+
try {
|
|
8773
|
+
const host = new URL(url).hostname;
|
|
8774
|
+
if (host === "" || host.includes("*")) return void 0;
|
|
8775
|
+
return { kind: "host", tool: call.name, host };
|
|
8776
|
+
} catch {
|
|
8777
|
+
return void 0;
|
|
8778
|
+
}
|
|
8779
|
+
}
|
|
8780
|
+
if (call.name.startsWith("mcp__")) return { kind: "tool", tool: call.name };
|
|
8781
|
+
return void 0;
|
|
8782
|
+
}
|
|
8783
|
+
__name(allowFor, "allowFor");
|
|
8784
|
+
function allowsForBatch(calls, commands) {
|
|
8785
|
+
if (calls.length === 0) return void 0;
|
|
8786
|
+
const out = [];
|
|
8787
|
+
for (const call of calls) {
|
|
8788
|
+
const allow = allowFor(call, commands);
|
|
8789
|
+
if (!allow) return void 0;
|
|
8790
|
+
if (!out.some((existing) => sameAllow(existing, allow))) out.push(allow);
|
|
8791
|
+
}
|
|
8792
|
+
return out;
|
|
8793
|
+
}
|
|
8794
|
+
__name(allowsForBatch, "allowsForBatch");
|
|
8795
|
+
function sameAllow(a, b) {
|
|
8796
|
+
if (a.kind !== b.kind || a.tool !== b.tool) return false;
|
|
8797
|
+
if (a.kind === "command" && b.kind === "command") return a.command === b.command;
|
|
8798
|
+
if (a.kind === "host" && b.kind === "host") return a.host === b.host;
|
|
8799
|
+
return true;
|
|
8800
|
+
}
|
|
8801
|
+
__name(sameAllow, "sameAllow");
|
|
8802
|
+
function shorten(text) {
|
|
8803
|
+
return text.length > MAX_LABEL_COMMAND ? `${text.slice(0, MAX_LABEL_COMMAND - 1)}\u2026` : text;
|
|
8804
|
+
}
|
|
8805
|
+
__name(shorten, "shorten");
|
|
8806
|
+
function describeAllows(allows) {
|
|
8807
|
+
const parts = allows.map((allow) => {
|
|
8808
|
+
switch (allow.kind) {
|
|
8809
|
+
case "command":
|
|
8810
|
+
return `${shorten(allow.command)} commands`;
|
|
8811
|
+
case "host":
|
|
8812
|
+
return allow.host;
|
|
8813
|
+
case "tool":
|
|
8814
|
+
return allow.tool.replace(/^mcp__/, "").replace(/__/g, " ");
|
|
8815
|
+
}
|
|
8816
|
+
});
|
|
8817
|
+
return parts.length <= 1 ? parts[0] ?? "" : `${parts.slice(0, -1).join(", ")} and ${parts.at(-1)}`;
|
|
8818
|
+
}
|
|
8819
|
+
__name(describeAllows, "describeAllows");
|
|
8820
|
+
function matches(allow, toolName2, toolInput, commands) {
|
|
8821
|
+
if (allow.tool !== toolName2) return false;
|
|
8822
|
+
switch (allow.kind) {
|
|
8823
|
+
case "tool":
|
|
8824
|
+
return true;
|
|
8825
|
+
case "host": {
|
|
8826
|
+
const url = isRecord2(toolInput) ? toolInput.url : void 0;
|
|
8827
|
+
if (typeof url !== "string") return false;
|
|
8828
|
+
try {
|
|
8829
|
+
return new URL(url).hostname === allow.host;
|
|
8830
|
+
} catch {
|
|
8831
|
+
return false;
|
|
8832
|
+
}
|
|
8833
|
+
}
|
|
8834
|
+
case "command": {
|
|
8835
|
+
const argument = commands.get(toolName2);
|
|
8836
|
+
if (argument === void 0 || !isRecord2(toolInput)) return false;
|
|
8837
|
+
const line = toolInput[argument];
|
|
8838
|
+
return typeof line === "string" && line.trim() === allow.command && toolInput.dangerously_disable_sandbox !== true;
|
|
8839
|
+
}
|
|
8840
|
+
}
|
|
8841
|
+
}
|
|
8842
|
+
__name(matches, "matches");
|
|
8843
|
+
function createSessionAllows(commands) {
|
|
8844
|
+
const entries = [];
|
|
8845
|
+
return {
|
|
8846
|
+
add(allows) {
|
|
8847
|
+
for (const allow of allows) {
|
|
8848
|
+
if (!entries.some((existing) => sameAllow(existing, allow))) entries.push(allow);
|
|
8849
|
+
}
|
|
8850
|
+
},
|
|
8851
|
+
list: /* @__PURE__ */ __name(() => [...entries], "list"),
|
|
8852
|
+
rule: {
|
|
8853
|
+
type: "predicate",
|
|
8854
|
+
description: "allowed for this session by an answer at a prompt",
|
|
8855
|
+
decide: /* @__PURE__ */ __name((call) => entries.some((allow) => matches(allow, call.toolName, call.toolInput, commands)) ? "allow" : null, "decide")
|
|
8856
|
+
}
|
|
8857
|
+
};
|
|
8858
|
+
}
|
|
8859
|
+
__name(createSessionAllows, "createSessionAllows");
|
|
8860
|
+
|
|
8861
|
+
// src/provider-retry.ts
|
|
8862
|
+
var TERMINAL_PROVIDER_RETRY = {
|
|
8863
|
+
maxRetries: 10,
|
|
8864
|
+
initialDelayMs: 500,
|
|
8865
|
+
maxDelayMs: 32e3,
|
|
8866
|
+
maxRetryAfterMs: 6e4,
|
|
8867
|
+
jitter: "proportional",
|
|
8868
|
+
retryAfter: "floor"
|
|
8869
|
+
};
|
|
8870
|
+
function terminalProviderRetry(restartableOutput) {
|
|
8871
|
+
return restartableOutput ? { ...TERMINAL_PROVIDER_RETRY, retryMidStream: true } : TERMINAL_PROVIDER_RETRY;
|
|
8872
|
+
}
|
|
8873
|
+
__name(terminalProviderRetry, "terminalProviderRetry");
|
|
8874
|
+
|
|
8745
8875
|
// src/skills/directory.ts
|
|
8746
8876
|
function createSkillDirectoryResolver(options) {
|
|
8747
8877
|
return async (skill, context) => {
|
|
@@ -8898,17 +9028,17 @@ async function resolveModelSwitch(request, options) {
|
|
|
8898
9028
|
const first = selected ?? usable.find(({ entry }) => entry.id === options.currentProvider);
|
|
8899
9029
|
if (first && await inspect(first)) return resolve9(first);
|
|
8900
9030
|
const candidates = selected ? [selected] : usable;
|
|
8901
|
-
const
|
|
9031
|
+
const matches2 = selected ? [] : (await Promise.all(
|
|
8902
9032
|
candidates.filter((candidate) => candidate !== first).map(async (candidate) => await inspect(candidate) ? candidate : void 0)
|
|
8903
9033
|
)).filter((candidate) => candidate !== void 0);
|
|
8904
9034
|
signal?.throwIfAborted();
|
|
8905
|
-
const uniqueMatch =
|
|
9035
|
+
const uniqueMatch = matches2.length === 1 ? matches2[0] : void 0;
|
|
8906
9036
|
if (uniqueMatch) return resolve9(uniqueMatch);
|
|
8907
|
-
if (
|
|
9037
|
+
if (matches2.length > 1) {
|
|
8908
9038
|
return {
|
|
8909
9039
|
kind: "rejected",
|
|
8910
|
-
reason: `Model "${model}" is available from multiple providers. Specify one: ${
|
|
8911
|
-
choices:
|
|
9040
|
+
reason: `Model "${model}" is available from multiple providers. Specify one: ${matches2.map(({ entry }) => entry.id).join(", ")}.`,
|
|
9041
|
+
choices: matches2.map(({ entry }) => ({ provider: entry.id, model }))
|
|
8912
9042
|
};
|
|
8913
9043
|
}
|
|
8914
9044
|
const choices = candidates.flatMap((candidate) => {
|
|
@@ -9327,12 +9457,15 @@ function clipRequestContext(prompt, limit, kind) {
|
|
|
9327
9457
|
__name(clipRequestContext, "clipRequestContext");
|
|
9328
9458
|
async function createAgentSession(prefs, detected, options = {}) {
|
|
9329
9459
|
if (options.palEnvironment) {
|
|
9330
|
-
const { createPalAgentSession } = await import("./agent-session-
|
|
9460
|
+
const { createPalAgentSession } = await import("./agent-session-F5XU36CE.js");
|
|
9331
9461
|
return createPalAgentSession(prefs, detected, options);
|
|
9332
9462
|
}
|
|
9333
|
-
const { palAtWorkspace } = await import("./store-
|
|
9463
|
+
const { palAtWorkspace } = await import("./store-QLMY3B43.js");
|
|
9334
9464
|
if (palAtWorkspace(options.cwd ?? process.cwd()))
|
|
9335
9465
|
throw new Error("This Pal requires its owned virtual computer. Open it with namzu pal chat.");
|
|
9466
|
+
const commandArguments = builtinCommandArguments();
|
|
9467
|
+
const sessionAllows = createSessionAllows(commandArguments);
|
|
9468
|
+
const sessionRules = [...options.rules ?? [], sessionAllows.rule];
|
|
9336
9469
|
const fileObservations = /* @__PURE__ */ new Map();
|
|
9337
9470
|
const observationsFor = /* @__PURE__ */ __name((id, prior) => {
|
|
9338
9471
|
let seeded = fileObservations.get(id);
|
|
@@ -10067,10 +10200,10 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
10067
10200
|
}
|
|
10068
10201
|
})
|
|
10069
10202
|
);
|
|
10070
|
-
const
|
|
10203
|
+
const matches2 = catalogues.flat();
|
|
10071
10204
|
return JSON.stringify({
|
|
10072
|
-
models:
|
|
10073
|
-
omitted: Math.max(0,
|
|
10205
|
+
models: matches2.slice(0, 40),
|
|
10206
|
+
omitted: Math.max(0, matches2.length - 40),
|
|
10074
10207
|
guidance: "Use exact IDs. Omitted capability fields are unknown, not unsupported. Narrow query when results are omitted."
|
|
10075
10208
|
});
|
|
10076
10209
|
}, "listModels"),
|
|
@@ -10106,7 +10239,7 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
10106
10239
|
childToolsets.push(toolset("web-search", [createWebSearchTool()]));
|
|
10107
10240
|
return childToolsets;
|
|
10108
10241
|
}, "buildTools"),
|
|
10109
|
-
authorizationGate: gateFor(
|
|
10242
|
+
authorizationGate: gateFor(sessionRules)
|
|
10110
10243
|
});
|
|
10111
10244
|
subagentRuntime = sub;
|
|
10112
10245
|
const agentToolsets = [toolset("agents", [sub.agentTool, sub.waitForTaskTool])];
|
|
@@ -10260,7 +10393,7 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
10260
10393
|
if (options.openUrl) toolsets.push(toolset("open-url", [createOpenUrlTool()]));
|
|
10261
10394
|
const decisionTool = maybeCreateDecisionTool(options.decision, process.env);
|
|
10262
10395
|
if (decisionTool) toolsets.push(toolset("decide", [decisionTool]));
|
|
10263
|
-
const operatorPals = await import("./operator-tools-
|
|
10396
|
+
const operatorPals = await import("./operator-tools-JRMP2OHZ.js");
|
|
10264
10397
|
toolsets.push(
|
|
10265
10398
|
readyWhen(
|
|
10266
10399
|
toolset(
|
|
@@ -10620,7 +10753,7 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
10620
10753
|
...subagentRuntime ? {
|
|
10621
10754
|
taskScheduler: await subagentRuntime.gatewayForTurn(entry2.turnId)
|
|
10622
10755
|
} : {},
|
|
10623
|
-
authorizationGate: gateFor(rules ??
|
|
10756
|
+
authorizationGate: gateFor(rules ?? sessionRules),
|
|
10624
10757
|
...pendingDecision ? { pendingDecision } : {},
|
|
10625
10758
|
compactionConfig: compactionConfigFor(options.compaction),
|
|
10626
10759
|
retainedToolPreviewChars: options.conversationSessions ? options.compaction?.retainedToolPreviewChars ?? 4e3 : void 0,
|
|
@@ -11085,10 +11218,8 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
11085
11218
|
errorHint: null,
|
|
11086
11219
|
errorKind: null,
|
|
11087
11220
|
// Reads the same object the handler mutates, at call time.
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
approval.all = false;
|
|
11091
|
-
}, "resetApprovalLatch"),
|
|
11221
|
+
allowForSession: /* @__PURE__ */ __name((allows) => sessionAllows.add(allows), "allowForSession"),
|
|
11222
|
+
commandArguments,
|
|
11092
11223
|
setPermissionMode: /* @__PURE__ */ __name(async (mode, reason) => {
|
|
11093
11224
|
await Promise.all(
|
|
11094
11225
|
[...liveModeControls].map(
|
|
@@ -11380,7 +11511,7 @@ async function createAgentSession(prefs, detected, options = {}) {
|
|
|
11380
11511
|
escalation,
|
|
11381
11512
|
limits: turnLimits,
|
|
11382
11513
|
sandboxWorkspace,
|
|
11383
|
-
rules:
|
|
11514
|
+
rules: sessionRules,
|
|
11384
11515
|
structuredOutput: options.structuredOutput,
|
|
11385
11516
|
reviewAnswer: options.reviewAnswer,
|
|
11386
11517
|
maxAnswerReviews: options.maxAnswerReviews,
|
|
@@ -11546,7 +11677,10 @@ function constructProvider(id, det, model, context = {}) {
|
|
|
11546
11677
|
type: "openai",
|
|
11547
11678
|
apiKey: det?.apiKey ?? "",
|
|
11548
11679
|
baseURL: det?.baseUrl,
|
|
11549
|
-
model
|
|
11680
|
+
model,
|
|
11681
|
+
// The kernel retries, counts and shows each try; the vendor SDK must not
|
|
11682
|
+
// try again silently underneath.
|
|
11683
|
+
maxRetries: 0
|
|
11550
11684
|
});
|
|
11551
11685
|
return provider;
|
|
11552
11686
|
}
|
|
@@ -11561,7 +11695,8 @@ function constructProvider(id, det, model, context = {}) {
|
|
|
11561
11695
|
accessToken: det.apiKey ?? "",
|
|
11562
11696
|
accountId: det.codex.accountId,
|
|
11563
11697
|
baseURL: det.baseUrl,
|
|
11564
|
-
model
|
|
11698
|
+
model,
|
|
11699
|
+
maxRetries: 0
|
|
11565
11700
|
});
|
|
11566
11701
|
return provider;
|
|
11567
11702
|
}
|
|
@@ -11581,7 +11716,8 @@ function constructProvider(id, det, model, context = {}) {
|
|
|
11581
11716
|
type: "deepseek",
|
|
11582
11717
|
apiKey: det?.apiKey ?? "",
|
|
11583
11718
|
baseURL: det?.baseUrl,
|
|
11584
|
-
model
|
|
11719
|
+
model,
|
|
11720
|
+
maxRetries: 0
|
|
11585
11721
|
});
|
|
11586
11722
|
return provider;
|
|
11587
11723
|
}
|
|
@@ -11947,6 +12083,7 @@ async function* runTurn({
|
|
|
11947
12083
|
turnId,
|
|
11948
12084
|
...opts?.origin ? { origin: opts.origin } : {},
|
|
11949
12085
|
...opts?.abandonInterrupted ? { abandonInterrupted: true } : {},
|
|
12086
|
+
retry: terminalProviderRetry(opts?.restartableOutput === true),
|
|
11950
12087
|
// Omitted rather than empty when there is no tail. `query` treats the
|
|
11951
12088
|
// two the same, but an absent option reads as "this turn has no chain"
|
|
11952
12089
|
// where `[]` reads as "this turn has a chain with nothing in it".
|
|
@@ -12051,7 +12188,7 @@ async function* runTurn({
|
|
|
12051
12188
|
if (isTurnInProgressError(err)) {
|
|
12052
12189
|
yield {
|
|
12053
12190
|
kind: "error",
|
|
12054
|
-
message: `This conversation already has a ${err.state} turn
|
|
12191
|
+
message: `This conversation already has a ${err.state} turn. ${err.state === "running" ? "Wait for it to finish." : "Resume it with /resume, or close it with /abandon."}`,
|
|
12055
12192
|
turnInProgress: {
|
|
12056
12193
|
sessionId: String(err.sessionId),
|
|
12057
12194
|
activeTurnId: String(err.activeTurnId),
|
|
@@ -12247,7 +12384,8 @@ function toAgentEvent(event, presenter, readsOnly) {
|
|
|
12247
12384
|
attempt: event.attempt,
|
|
12248
12385
|
maxRetries: event.maxRetries,
|
|
12249
12386
|
code: event.code,
|
|
12250
|
-
...event.status !== void 0 ? { status: event.status } : {}
|
|
12387
|
+
...event.status !== void 0 ? { status: event.status } : {},
|
|
12388
|
+
...event.restart ? { restart: true } : {}
|
|
12251
12389
|
};
|
|
12252
12390
|
case "tool_progress":
|
|
12253
12391
|
return {
|
|
@@ -12684,9 +12822,6 @@ function emptySession(errorHint, errorKind = "environment", rawDetail) {
|
|
|
12684
12822
|
configNotices: [],
|
|
12685
12823
|
errorHint,
|
|
12686
12824
|
// No turn can run here, so no prompt can have been answered.
|
|
12687
|
-
approvalLatched: /* @__PURE__ */ __name(() => false, "approvalLatched"),
|
|
12688
|
-
resetApprovalLatch: /* @__PURE__ */ __name(() => {
|
|
12689
|
-
}, "resetApprovalLatch"),
|
|
12690
12825
|
// No registry was built, so there is no roster to report on.
|
|
12691
12826
|
promptExemptTools: /* @__PURE__ */ __name(() => [], "promptExemptTools"),
|
|
12692
12827
|
send: /* @__PURE__ */ __name(async function* () {
|
|
@@ -12745,6 +12880,8 @@ export {
|
|
|
12745
12880
|
renderMemorySaveResult,
|
|
12746
12881
|
renderTypedNoteResult,
|
|
12747
12882
|
renderStoredMemorySection,
|
|
12883
|
+
allowsForBatch,
|
|
12884
|
+
describeAllows,
|
|
12748
12885
|
assistantTranscriptTexts,
|
|
12749
12886
|
projectTurnConversation,
|
|
12750
12887
|
resolveModelSwitch,
|
|
@@ -12774,4 +12911,4 @@ export {
|
|
|
12774
12911
|
RESULT_SUMMARY_WHOLE_MAX,
|
|
12775
12912
|
resultSummaryLine
|
|
12776
12913
|
};
|
|
12777
|
-
//# sourceMappingURL=chunk-
|
|
12914
|
+
//# sourceMappingURL=chunk-IKGTBMN2.js.map
|