@namzu/cli 37.2.1 → 38.0.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 +2 -2
- package/dist/analysis-host.js +293 -10
- package/dist/analysis-host.js.map +2 -2
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-IV4G4DDN.js → acp-WH4EFAFK.js} +62 -39
- package/dist/chunks/acp-WH4EFAFK.js.map +6 -0
- package/dist/chunks/{activity-command-FW57BC4I.js → activity-command-RM6YEJJE.js} +11 -11
- package/dist/chunks/{add-MGR37R67.js → add-JUN463VT.js} +16 -15
- package/dist/chunks/add-JUN463VT.js.map +6 -0
- package/dist/chunks/{agent-W75JSUKG.js → agent-UNGHD2P3.js} +27 -26
- package/dist/chunks/agent-session-FG4XT6SX.js +52 -0
- package/dist/chunks/{archive-KEMEXDTF.js → archive-IAT6HD7B.js} +9 -9
- package/dist/chunks/{bin-main-CSS47L7D.js → bin-main-B5GXM64T.js} +4 -3
- package/dist/chunks/bin-main-B5GXM64T.js.map +6 -0
- package/dist/chunks/{browser-7KFOR6DK.js → browser-4P3N4ZQL.js} +6 -6
- package/dist/chunks/{chat-IRV5W5OA.js → chat-4Q3PPOMP.js} +15 -14
- package/dist/chunks/chat-4Q3PPOMP.js.map +6 -0
- package/dist/chunks/{chunk-Z2LUKZ27.js → chunk-25P24RKO.js} +5 -5
- package/dist/chunks/chunk-25P24RKO.js.map +6 -0
- package/dist/chunks/{chunk-TDJ4XMCS.js → chunk-2HZIBPEM.js} +18 -11
- package/dist/chunks/chunk-2HZIBPEM.js.map +6 -0
- package/dist/chunks/{chunk-MQVRM5OC.js → chunk-2WMXW2HX.js} +4 -4
- package/dist/chunks/chunk-356N4VBU.js +134 -0
- package/dist/chunks/chunk-356N4VBU.js.map +6 -0
- package/dist/chunks/{chunk-QEUOFWAZ.js → chunk-3CEDA5YH.js} +117 -3
- package/dist/chunks/chunk-3CEDA5YH.js.map +6 -0
- package/dist/chunks/{chunk-PJWDYXQI.js → chunk-466ECWQB.js} +4 -4
- package/dist/chunks/{chunk-AHD7MEBE.js → chunk-47W5PCU5.js} +9 -9
- package/dist/chunks/{chunk-2UHRQ45K.js → chunk-4DQ5TVCH.js} +8 -8
- package/dist/chunks/{chunk-OMSXEJYE.js → chunk-6HPZCB5F.js} +2 -2
- package/dist/chunks/{chunk-VKZIX3HT.js → chunk-6PMO2KA2.js} +2 -2
- package/dist/chunks/{chunk-24GH4KQJ.js → chunk-735YHXE3.js} +2 -2
- package/dist/chunks/{chunk-LC5CSMLC.js → chunk-7PBYGA76.js} +3 -3
- package/dist/chunks/{chunk-I77G3ACY.js → chunk-7XBUFSLG.js} +3 -3
- package/dist/chunks/{chunk-WCUCNKJU.js → chunk-AQM2Q6XZ.js} +53 -11
- package/dist/chunks/chunk-AQM2Q6XZ.js.map +6 -0
- package/dist/chunks/{chunk-YUEHR7BW.js → chunk-BKBXEXIL.js} +348 -167
- package/dist/chunks/chunk-BKBXEXIL.js.map +6 -0
- package/dist/chunks/{chunk-WWREIUJR.js → chunk-BQRKMDDF.js} +4 -4
- package/dist/chunks/{chunk-BMR6E2FY.js → chunk-D5HL6QDV.js} +2 -2
- package/dist/chunks/{chunk-QVUDFCFY.js → chunk-G2ZBMR22.js} +4 -4
- package/dist/chunks/{chunk-3MUR66WZ.js → chunk-G6ETOUUR.js} +4 -4
- package/dist/chunks/{chunk-VIS4SNKA.js → chunk-GAYGCGIY.js} +6 -6
- package/dist/chunks/chunk-GK4HLIQQ.js +63 -0
- package/dist/chunks/chunk-GK4HLIQQ.js.map +6 -0
- package/dist/chunks/{chunk-BLDYNZ3J.js → chunk-GW7O5N42.js} +2 -2
- package/dist/chunks/{chunk-OCGWHJEN.js → chunk-HA37WH7H.js} +12 -12
- package/dist/chunks/{chunk-T6NRDLAQ.js → chunk-HCQUBJTS.js} +67 -42
- package/dist/chunks/chunk-HCQUBJTS.js.map +6 -0
- package/dist/chunks/{chunk-EZOZQJBG.js → chunk-HVJXMGCJ.js} +4 -4
- package/dist/chunks/{chunk-URMSX3IO.js → chunk-JL3LUBAN.js} +3 -3
- package/dist/chunks/{chunk-T5TNPB4U.js → chunk-K5J7ATQR.js} +7 -7
- package/dist/chunks/{chunk-UUDEHY7M.js → chunk-KOOSFKHR.js} +2 -2
- package/dist/chunks/{chunk-N2ANOFXH.js → chunk-LA7SHC2B.js} +27530 -26264
- package/dist/chunks/chunk-LA7SHC2B.js.map +6 -0
- package/dist/chunks/{chunk-7WKQQOKK.js → chunk-M6CYVSNV.js} +287 -31
- package/dist/chunks/chunk-M6CYVSNV.js.map +6 -0
- package/dist/chunks/{chunk-YHSMEYOT.js → chunk-MJG4FQ27.js} +4 -4
- package/dist/chunks/{chunk-5E5AT2HQ.js → chunk-MRJCV6EH.js} +2 -2
- package/dist/chunks/{chunk-ZARLAIDT.js → chunk-N5L7HGNL.js} +2 -2
- package/dist/chunks/{chunk-VEPUBE3H.js → chunk-ORHVELT4.js} +2 -2
- package/dist/chunks/{chunk-GHF6GJ5Y.js → chunk-PKIH55PX.js} +13 -13
- package/dist/chunks/{chunk-MCXVH6TQ.js → chunk-PWFLM6BJ.js} +4 -4
- package/dist/chunks/{chunk-LQMS65KX.js → chunk-QKSBBKKC.js} +3 -3
- package/dist/chunks/{chunk-QDLHNM37.js → chunk-RU3AE4JE.js} +2 -2
- package/dist/chunks/{chunk-DIXKMLHZ.js → chunk-S5KTYKQH.js} +3 -3
- package/dist/chunks/{chunk-DIXKMLHZ.js.map → chunk-S5KTYKQH.js.map} +1 -1
- package/dist/chunks/{chunk-WOY76GQF.js → chunk-SZUOO7A2.js} +5 -5
- package/dist/chunks/{chunk-S44YIFC3.js → chunk-TFA5ZAGJ.js} +2 -2
- package/dist/chunks/{chunk-KS43Q64I.js → chunk-TZLYJWSW.js} +4 -4
- package/dist/chunks/{chunk-VUE7LP6D.js → chunk-U6EH3UCL.js} +2 -2
- package/dist/chunks/{chunk-57GLVV5T.js → chunk-UKOMZND2.js} +4 -4
- package/dist/chunks/{chunk-5M256BI5.js → chunk-UW42IRA4.js} +5 -5
- package/dist/chunks/{chunk-HWR7GXGJ.js → chunk-UZ7ONUMS.js} +3 -3
- package/dist/chunks/{chunk-WK6GEMBO.js → chunk-V5WCUTSO.js} +3 -3
- package/dist/chunks/{chunk-Q3B4NBK3.js → chunk-VHZ3I7L4.js} +2 -2
- package/dist/chunks/{chunk-LDKXWBLK.js → chunk-VK2BAABY.js} +7 -7
- package/dist/chunks/{chunk-3NPQFAYV.js → chunk-VKZKDPKS.js} +2 -2
- package/dist/chunks/{chunk-Q35GDUZ4.js → chunk-VUQE34X4.js} +2 -2
- package/dist/chunks/{chunk-SZZNNW6N.js → chunk-WCC5ABWX.js} +2 -2
- package/dist/chunks/chunk-WMEZTDLT.js +17 -0
- package/dist/chunks/chunk-WMEZTDLT.js.map +6 -0
- package/dist/chunks/{chunk-WI2MIQOJ.js → chunk-XDA57K4Q.js} +2 -2
- package/dist/chunks/{chunk-E73OMVMG.js → chunk-XHBZBISL.js} +3 -3
- package/dist/chunks/{chunk-HGADGGEG.js → chunk-YMSXUKHE.js} +2 -2
- package/dist/chunks/{chunk-BGRWTZGG.js → chunk-YXFS44LU.js} +3 -3
- package/dist/chunks/chunk-Z7J6WN6G.js +86 -0
- package/dist/chunks/chunk-Z7J6WN6G.js.map +6 -0
- package/dist/chunks/{chunk-BHUDDJYS.js → chunk-ZDAUAJ4L.js} +2 -2
- package/dist/chunks/{chunk-TZRA6QUH.js → chunk-ZGODF5RM.js} +17 -11
- package/dist/chunks/chunk-ZGODF5RM.js.map +6 -0
- package/dist/chunks/{cli-runtime-23BX2YCB.js → cli-runtime-HEQVJMIJ.js} +48 -7
- package/dist/chunks/cli-runtime-HEQVJMIJ.js.map +6 -0
- package/dist/chunks/{commands-653H4ELC.js → commands-6KNKGAYK.js} +5 -5
- package/dist/chunks/{crash-report-V3BWOZ2M.js → crash-report-4ZIUEO2T.js} +6 -6
- package/dist/chunks/{dist-TQS4OUGR.js → dist-52AQ2S3B.js} +2 -2
- package/dist/chunks/{dist-3I7LFHB6.js → dist-6N7EBKOP.js} +2 -2
- package/dist/chunks/{dist-KGLSBIES.js → dist-ADL22Y3L.js} +1631 -208
- package/dist/chunks/dist-ADL22Y3L.js.map +6 -0
- package/dist/chunks/{dist-Z5E2SZXJ.js → dist-DDOLI4FC.js} +2 -2
- package/dist/chunks/{dist-S7RG65ZN.js → dist-EXJEMH6E.js} +2 -2
- package/dist/chunks/{dist-IQLEVRAR.js → dist-KUY5YJQU.js} +2 -2
- package/dist/chunks/{dist-SC3XYI4I.js → dist-LJF7HG5B.js} +2 -2
- package/dist/chunks/{dist-YQEFEGM4.js → dist-W2RL2YQU.js} +2 -2
- package/dist/chunks/{doctor-GEZEPFP6.js → doctor-BSYUHWBV.js} +8 -8
- package/dist/chunks/{drain-HB5HGWEM.js → drain-ANNH6M4M.js} +11 -10
- package/dist/chunks/drain-ANNH6M4M.js.map +6 -0
- package/dist/chunks/{eval-RA3FXHBB.js → eval-FOOSHOQH.js} +2 -2
- package/dist/chunks/{exec-4QTKYNLX.js → exec-66BTZSXT.js} +52 -24
- package/dist/chunks/exec-66BTZSXT.js.map +6 -0
- package/dist/chunks/{home-2BMCNVI6.js → home-F3JAP7EK.js} +3 -3
- package/dist/chunks/{host-queries-KV4PSA37.js → host-queries-DAZODJGM.js} +14 -14
- package/dist/chunks/{lifecycle-HLPYVX33.js → lifecycle-4K6UYXHW.js} +24 -23
- package/dist/chunks/{list-CWBDURM4.js → list-5P46GOYS.js} +12 -11
- package/dist/chunks/list-5P46GOYS.js.map +6 -0
- package/dist/chunks/{login-JICZUCU4.js → login-3NTMRWH5.js} +8 -8
- package/dist/chunks/{logs-EZVXV3ED.js → logs-TOENBRPG.js} +4 -4
- package/dist/chunks/{mcp-AWQZVLNR.js → mcp-R7AB2UAO.js} +17 -16
- package/dist/chunks/mcp-R7AB2UAO.js.map +6 -0
- package/dist/chunks/{message-command-NQUVQG42.js → message-command-G5CGLKBG.js} +33 -32
- package/dist/chunks/message-command-G5CGLKBG.js.map +6 -0
- package/dist/chunks/{operator-tools-P3KHUSPM.js → operator-tools-FQ6ITKE6.js} +12 -12
- package/dist/chunks/{output-schema-ASYUJL2G.js → output-schema-SKFZ25BQ.js} +3 -3
- package/dist/chunks/{pal-5F3CH7BQ.js → pal-TNQSB2GK.js} +11 -11
- package/dist/chunks/{providers-AMRKV2MR.js → providers-HZYMMU6E.js} +6 -6
- package/dist/chunks/{resident-BNR3NVGQ.js → resident-YDO5N5JH.js} +26 -23
- package/dist/chunks/resident-YDO5N5JH.js.map +6 -0
- package/dist/chunks/resume-OJYZ6YER.js +22 -0
- package/dist/chunks/{resume-command-PPNI2EC7.js → resume-command-5KZPLTK7.js} +4 -4
- package/dist/chunks/{schedule-2UXRUWFI.js → schedule-6XIBAC7U.js} +8 -8
- package/dist/chunks/{service-GJPE7I3Z.js → service-2LFLAXAG.js} +23 -22
- package/dist/chunks/service-2LFLAXAG.js.map +6 -0
- package/dist/chunks/session-step-3PJBN33Y.js +29 -0
- package/dist/chunks/{skills-7YS6Z6KZ.js → skills-JOY3NTBC.js} +8 -8
- package/dist/chunks/{state-2RDZT6FZ.js → state-QQ2YFP4G.js} +2 -2
- package/dist/chunks/{store-3CNDOQL4.js → store-47KUDP7H.js} +9 -9
- package/dist/chunks/{store-MXI3QAO3.js → store-CLZKGKXL.js} +4 -4
- package/dist/chunks/{store-O6QV53BV.js → store-WC3TVOLU.js} +6 -6
- package/dist/chunks/{tui-EZVA52PY.js → tui-2M6OGQUI.js} +195 -79
- package/dist/chunks/tui-2M6OGQUI.js.map +6 -0
- package/dist/chunks/{upgrade-JRTE42RR.js → upgrade-ZZYBXJXO.js} +2 -2
- package/dist/chunks/{worktree-ZK2OD56A.js → worktree-7C3EZZ7D.js} +11 -11
- package/dist/cli-runtime.d.ts +4 -0
- package/dist/cli-runtime.d.ts.map +1 -1
- 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/exec-flags.d.ts +1 -1
- package/dist/commands/exec-flags.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/commands/resident-flags.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +9 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/index.js +13 -12
- package/dist/integrations/harness/codex-adapter.d.ts.map +1 -1
- package/dist/integrations/resident/runner-worker.js +19 -17
- package/dist/integrations/resident/runner-worker.js.map +1 -1
- package/dist/integrations/resident/session-step.d.ts.map +1 -1
- package/dist/integrations/workflows/offering.d.ts +1 -1
- package/dist/pals/actions.d.ts.map +1 -1
- package/dist/permissions/auto-classifier.d.ts +74 -0
- package/dist/permissions/auto-classifier.d.ts.map +1 -0
- package/dist/permissions/consent-prompt.d.ts +11 -0
- package/dist/permissions/consent-prompt.d.ts.map +1 -0
- package/dist/permissions/consent.d.ts +9 -0
- package/dist/permissions/consent.d.ts.map +1 -0
- package/dist/permissions/launch.d.ts +59 -0
- package/dist/permissions/launch.d.ts.map +1 -0
- package/dist/permissions/live-mode.d.ts +5 -4
- package/dist/permissions/live-mode.d.ts.map +1 -1
- package/dist/permissions/mode-names.d.ts +2 -1
- package/dist/permissions/mode-names.d.ts.map +1 -1
- package/dist/permissions/mode.d.ts +59 -19
- package/dist/permissions/mode.d.ts.map +1 -1
- package/dist/permissions/rules.d.ts.map +1 -1
- package/dist/permissions/settings.d.ts +81 -0
- package/dist/permissions/settings.d.ts.map +1 -0
- package/dist/tui/App.d.ts +160 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BrandHeader.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +6 -0
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +52 -3
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/mentions.d.ts +6 -0
- package/dist/tui/mentions.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +1 -1
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/status-line/payload.d.ts.map +1 -1
- package/dist/tui/types.d.ts +13 -2
- package/dist/tui/types.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/chunks/acp-IV4G4DDN.js.map +0 -6
- package/dist/chunks/add-MGR37R67.js.map +0 -6
- package/dist/chunks/agent-session-DPXU4EEF.js +0 -51
- package/dist/chunks/bin-main-CSS47L7D.js.map +0 -6
- package/dist/chunks/chat-IRV5W5OA.js.map +0 -6
- package/dist/chunks/chunk-7WKQQOKK.js.map +0 -6
- package/dist/chunks/chunk-JW7ZIF23.js +0 -84
- package/dist/chunks/chunk-JW7ZIF23.js.map +0 -6
- package/dist/chunks/chunk-N2ANOFXH.js.map +0 -6
- package/dist/chunks/chunk-QEUOFWAZ.js.map +0 -6
- package/dist/chunks/chunk-T6NRDLAQ.js.map +0 -6
- package/dist/chunks/chunk-TDJ4XMCS.js.map +0 -6
- package/dist/chunks/chunk-TZRA6QUH.js.map +0 -6
- package/dist/chunks/chunk-WCUCNKJU.js.map +0 -6
- package/dist/chunks/chunk-YUEHR7BW.js.map +0 -6
- package/dist/chunks/chunk-Z2LUKZ27.js.map +0 -6
- package/dist/chunks/cli-runtime-23BX2YCB.js.map +0 -6
- package/dist/chunks/dist-KGLSBIES.js.map +0 -6
- package/dist/chunks/drain-HB5HGWEM.js.map +0 -6
- package/dist/chunks/exec-4QTKYNLX.js.map +0 -6
- package/dist/chunks/list-CWBDURM4.js.map +0 -6
- package/dist/chunks/mcp-AWQZVLNR.js.map +0 -6
- package/dist/chunks/message-command-NQUVQG42.js.map +0 -6
- package/dist/chunks/resident-BNR3NVGQ.js.map +0 -6
- package/dist/chunks/resume-6HKESNKD.js +0 -22
- package/dist/chunks/service-GJPE7I3Z.js.map +0 -6
- package/dist/chunks/session-step-SQJKL3HY.js +0 -27
- package/dist/chunks/tui-EZVA52PY.js.map +0 -6
- /package/dist/chunks/{activity-command-FW57BC4I.js.map → activity-command-RM6YEJJE.js.map} +0 -0
- /package/dist/chunks/{agent-W75JSUKG.js.map → agent-UNGHD2P3.js.map} +0 -0
- /package/dist/chunks/{agent-session-DPXU4EEF.js.map → agent-session-FG4XT6SX.js.map} +0 -0
- /package/dist/chunks/{archive-KEMEXDTF.js.map → archive-IAT6HD7B.js.map} +0 -0
- /package/dist/chunks/{browser-7KFOR6DK.js.map → browser-4P3N4ZQL.js.map} +0 -0
- /package/dist/chunks/{chunk-MQVRM5OC.js.map → chunk-2WMXW2HX.js.map} +0 -0
- /package/dist/chunks/{chunk-PJWDYXQI.js.map → chunk-466ECWQB.js.map} +0 -0
- /package/dist/chunks/{chunk-AHD7MEBE.js.map → chunk-47W5PCU5.js.map} +0 -0
- /package/dist/chunks/{chunk-2UHRQ45K.js.map → chunk-4DQ5TVCH.js.map} +0 -0
- /package/dist/chunks/{chunk-OMSXEJYE.js.map → chunk-6HPZCB5F.js.map} +0 -0
- /package/dist/chunks/{chunk-VKZIX3HT.js.map → chunk-6PMO2KA2.js.map} +0 -0
- /package/dist/chunks/{chunk-24GH4KQJ.js.map → chunk-735YHXE3.js.map} +0 -0
- /package/dist/chunks/{chunk-LC5CSMLC.js.map → chunk-7PBYGA76.js.map} +0 -0
- /package/dist/chunks/{chunk-I77G3ACY.js.map → chunk-7XBUFSLG.js.map} +0 -0
- /package/dist/chunks/{chunk-WWREIUJR.js.map → chunk-BQRKMDDF.js.map} +0 -0
- /package/dist/chunks/{chunk-BMR6E2FY.js.map → chunk-D5HL6QDV.js.map} +0 -0
- /package/dist/chunks/{chunk-QVUDFCFY.js.map → chunk-G2ZBMR22.js.map} +0 -0
- /package/dist/chunks/{chunk-3MUR66WZ.js.map → chunk-G6ETOUUR.js.map} +0 -0
- /package/dist/chunks/{chunk-VIS4SNKA.js.map → chunk-GAYGCGIY.js.map} +0 -0
- /package/dist/chunks/{chunk-BLDYNZ3J.js.map → chunk-GW7O5N42.js.map} +0 -0
- /package/dist/chunks/{chunk-OCGWHJEN.js.map → chunk-HA37WH7H.js.map} +0 -0
- /package/dist/chunks/{chunk-EZOZQJBG.js.map → chunk-HVJXMGCJ.js.map} +0 -0
- /package/dist/chunks/{chunk-URMSX3IO.js.map → chunk-JL3LUBAN.js.map} +0 -0
- /package/dist/chunks/{chunk-T5TNPB4U.js.map → chunk-K5J7ATQR.js.map} +0 -0
- /package/dist/chunks/{chunk-UUDEHY7M.js.map → chunk-KOOSFKHR.js.map} +0 -0
- /package/dist/chunks/{chunk-YHSMEYOT.js.map → chunk-MJG4FQ27.js.map} +0 -0
- /package/dist/chunks/{chunk-5E5AT2HQ.js.map → chunk-MRJCV6EH.js.map} +0 -0
- /package/dist/chunks/{chunk-ZARLAIDT.js.map → chunk-N5L7HGNL.js.map} +0 -0
- /package/dist/chunks/{chunk-VEPUBE3H.js.map → chunk-ORHVELT4.js.map} +0 -0
- /package/dist/chunks/{chunk-GHF6GJ5Y.js.map → chunk-PKIH55PX.js.map} +0 -0
- /package/dist/chunks/{chunk-MCXVH6TQ.js.map → chunk-PWFLM6BJ.js.map} +0 -0
- /package/dist/chunks/{chunk-LQMS65KX.js.map → chunk-QKSBBKKC.js.map} +0 -0
- /package/dist/chunks/{chunk-QDLHNM37.js.map → chunk-RU3AE4JE.js.map} +0 -0
- /package/dist/chunks/{chunk-WOY76GQF.js.map → chunk-SZUOO7A2.js.map} +0 -0
- /package/dist/chunks/{chunk-S44YIFC3.js.map → chunk-TFA5ZAGJ.js.map} +0 -0
- /package/dist/chunks/{chunk-KS43Q64I.js.map → chunk-TZLYJWSW.js.map} +0 -0
- /package/dist/chunks/{chunk-VUE7LP6D.js.map → chunk-U6EH3UCL.js.map} +0 -0
- /package/dist/chunks/{chunk-57GLVV5T.js.map → chunk-UKOMZND2.js.map} +0 -0
- /package/dist/chunks/{chunk-5M256BI5.js.map → chunk-UW42IRA4.js.map} +0 -0
- /package/dist/chunks/{chunk-HWR7GXGJ.js.map → chunk-UZ7ONUMS.js.map} +0 -0
- /package/dist/chunks/{chunk-WK6GEMBO.js.map → chunk-V5WCUTSO.js.map} +0 -0
- /package/dist/chunks/{chunk-Q3B4NBK3.js.map → chunk-VHZ3I7L4.js.map} +0 -0
- /package/dist/chunks/{chunk-LDKXWBLK.js.map → chunk-VK2BAABY.js.map} +0 -0
- /package/dist/chunks/{chunk-3NPQFAYV.js.map → chunk-VKZKDPKS.js.map} +0 -0
- /package/dist/chunks/{chunk-Q35GDUZ4.js.map → chunk-VUQE34X4.js.map} +0 -0
- /package/dist/chunks/{chunk-SZZNNW6N.js.map → chunk-WCC5ABWX.js.map} +0 -0
- /package/dist/chunks/{chunk-WI2MIQOJ.js.map → chunk-XDA57K4Q.js.map} +0 -0
- /package/dist/chunks/{chunk-E73OMVMG.js.map → chunk-XHBZBISL.js.map} +0 -0
- /package/dist/chunks/{chunk-HGADGGEG.js.map → chunk-YMSXUKHE.js.map} +0 -0
- /package/dist/chunks/{chunk-BGRWTZGG.js.map → chunk-YXFS44LU.js.map} +0 -0
- /package/dist/chunks/{chunk-BHUDDJYS.js.map → chunk-ZDAUAJ4L.js.map} +0 -0
- /package/dist/chunks/{commands-653H4ELC.js.map → commands-6KNKGAYK.js.map} +0 -0
- /package/dist/chunks/{crash-report-V3BWOZ2M.js.map → crash-report-4ZIUEO2T.js.map} +0 -0
- /package/dist/chunks/{dist-TQS4OUGR.js.map → dist-52AQ2S3B.js.map} +0 -0
- /package/dist/chunks/{dist-3I7LFHB6.js.map → dist-6N7EBKOP.js.map} +0 -0
- /package/dist/chunks/{dist-Z5E2SZXJ.js.map → dist-DDOLI4FC.js.map} +0 -0
- /package/dist/chunks/{dist-S7RG65ZN.js.map → dist-EXJEMH6E.js.map} +0 -0
- /package/dist/chunks/{dist-IQLEVRAR.js.map → dist-KUY5YJQU.js.map} +0 -0
- /package/dist/chunks/{dist-SC3XYI4I.js.map → dist-LJF7HG5B.js.map} +0 -0
- /package/dist/chunks/{dist-YQEFEGM4.js.map → dist-W2RL2YQU.js.map} +0 -0
- /package/dist/chunks/{doctor-GEZEPFP6.js.map → doctor-BSYUHWBV.js.map} +0 -0
- /package/dist/chunks/{eval-RA3FXHBB.js.map → eval-FOOSHOQH.js.map} +0 -0
- /package/dist/chunks/{home-2BMCNVI6.js.map → home-F3JAP7EK.js.map} +0 -0
- /package/dist/chunks/{host-queries-KV4PSA37.js.map → host-queries-DAZODJGM.js.map} +0 -0
- /package/dist/chunks/{lifecycle-HLPYVX33.js.map → lifecycle-4K6UYXHW.js.map} +0 -0
- /package/dist/chunks/{login-JICZUCU4.js.map → login-3NTMRWH5.js.map} +0 -0
- /package/dist/chunks/{logs-EZVXV3ED.js.map → logs-TOENBRPG.js.map} +0 -0
- /package/dist/chunks/{operator-tools-P3KHUSPM.js.map → operator-tools-FQ6ITKE6.js.map} +0 -0
- /package/dist/chunks/{output-schema-ASYUJL2G.js.map → output-schema-SKFZ25BQ.js.map} +0 -0
- /package/dist/chunks/{pal-5F3CH7BQ.js.map → pal-TNQSB2GK.js.map} +0 -0
- /package/dist/chunks/{providers-AMRKV2MR.js.map → providers-HZYMMU6E.js.map} +0 -0
- /package/dist/chunks/{resume-6HKESNKD.js.map → resume-OJYZ6YER.js.map} +0 -0
- /package/dist/chunks/{resume-command-PPNI2EC7.js.map → resume-command-5KZPLTK7.js.map} +0 -0
- /package/dist/chunks/{schedule-2UXRUWFI.js.map → schedule-6XIBAC7U.js.map} +0 -0
- /package/dist/chunks/{session-step-SQJKL3HY.js.map → session-step-3PJBN33Y.js.map} +0 -0
- /package/dist/chunks/{skills-7YS6Z6KZ.js.map → skills-JOY3NTBC.js.map} +0 -0
- /package/dist/chunks/{state-2RDZT6FZ.js.map → state-QQ2YFP4G.js.map} +0 -0
- /package/dist/chunks/{store-3CNDOQL4.js.map → store-47KUDP7H.js.map} +0 -0
- /package/dist/chunks/{store-MXI3QAO3.js.map → store-CLZKGKXL.js.map} +0 -0
- /package/dist/chunks/{store-O6QV53BV.js.map → store-WC3TVOLU.js.map} +0 -0
- /package/dist/chunks/{upgrade-JRTE42RR.js.map → upgrade-ZZYBXJXO.js.map} +0 -0
- /package/dist/chunks/{worktree-ZK2OD56A.js.map → worktree-7C3EZZ7D.js.map} +0 -0
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./chunk-JV3LONAU.js";
|
|
10
10
|
import {
|
|
11
11
|
openInBrowser
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U6EH3UCL.js";
|
|
13
13
|
import {
|
|
14
14
|
beginCodexDeviceLogin,
|
|
15
15
|
beginSubscriptionLogin
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UKOMZND2.js";
|
|
17
17
|
import {
|
|
18
18
|
EXIT_FAIL,
|
|
19
19
|
EXIT_OK,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
readStoredCodexCredential,
|
|
30
30
|
readStoredGeminiApiKey,
|
|
31
31
|
readStoredSubscriptionCredential
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-735YHXE3.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -308,4 +308,4 @@ export {
|
|
|
308
308
|
loginCommand,
|
|
309
309
|
logoutCommand
|
|
310
310
|
};
|
|
311
|
-
//# sourceMappingURL=chunk-
|
|
311
|
+
//# sourceMappingURL=chunk-BQRKMDDF.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-EEDZOGV4.js";
|
|
6
6
|
import {
|
|
7
7
|
hostTimeZone
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LA7SHC2B.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -209,4 +209,4 @@ export {
|
|
|
209
209
|
PAUSED_TURN_LINES,
|
|
210
210
|
handoffContinuationNote
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-D5HL6QDV.js.map
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
listRecent,
|
|
8
8
|
loadResumableConversation,
|
|
9
9
|
openSessions
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SZUOO7A2.js";
|
|
11
11
|
import {
|
|
12
12
|
cliLogger
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YMSXUKHE.js";
|
|
14
14
|
import {
|
|
15
15
|
GitWorktreeDriver,
|
|
16
16
|
asSessionId,
|
|
17
17
|
generateWorkspaceId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LA7SHC2B.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
worktreeOpenHint,
|
|
243
243
|
openManagedWorktrees
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-G2ZBMR22.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-HE7WUOX2.js";
|
|
15
15
|
import {
|
|
16
16
|
codeAnalysisSelfTest
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MJG4FQ27.js";
|
|
18
18
|
import {
|
|
19
19
|
EXIT_USAGE
|
|
20
20
|
} from "./chunk-Y7B67G22.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
resolveChainCapabilities,
|
|
34
34
|
unresolvedMembers,
|
|
35
35
|
wslWindowsHome
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PKIH55PX.js";
|
|
37
37
|
import {
|
|
38
38
|
PROVIDER_REGISTRY
|
|
39
39
|
} from "./chunk-6LLJQ3KY.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
invariants,
|
|
53
53
|
isolationOf,
|
|
54
54
|
resolveNamzuHome
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-LA7SHC2B.js";
|
|
56
56
|
import {
|
|
57
57
|
__name
|
|
58
58
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -1161,4 +1161,4 @@ export {
|
|
|
1161
1161
|
runDoctorCommand,
|
|
1162
1162
|
doctorCommand
|
|
1163
1163
|
};
|
|
1164
|
-
//# sourceMappingURL=chunk-
|
|
1164
|
+
//# sourceMappingURL=chunk-G6ETOUUR.js.map
|
|
@@ -2,17 +2,17 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
claimPalConversation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PWFLM6BJ.js";
|
|
6
6
|
import {
|
|
7
7
|
closeSessions,
|
|
8
8
|
openSessions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SZUOO7A2.js";
|
|
10
10
|
import {
|
|
11
11
|
getCliPalStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-466ECWQB.js";
|
|
13
13
|
import {
|
|
14
14
|
restrictToOwner
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-735YHXE3.js";
|
|
16
16
|
import {
|
|
17
17
|
DiskPalActivitySubscriptionPolicy,
|
|
18
18
|
DiskPalActivitySubscriptionStore,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
createPalIngressInboxSource,
|
|
24
24
|
createPalMessagingTools,
|
|
25
25
|
resolveNamzuHome
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LA7SHC2B.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -316,4 +316,4 @@ export {
|
|
|
316
316
|
createCliPalIngressHost,
|
|
317
317
|
createCliPalMessagingContext
|
|
318
318
|
};
|
|
319
|
-
//# sourceMappingURL=chunk-
|
|
319
|
+
//# sourceMappingURL=chunk-GAYGCGIY.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
2
|
+
const require = __namzuCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
namzuHomePath
|
|
5
|
+
} from "./chunk-GW7O5N42.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-76FLAFCG.js";
|
|
9
|
+
|
|
10
|
+
// src/permissions/consent.ts
|
|
11
|
+
import { randomUUID } from "node:crypto";
|
|
12
|
+
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
13
|
+
import { dirname, join } from "node:path";
|
|
14
|
+
var FILE_MODE = 384;
|
|
15
|
+
var DIR_MODE = 448;
|
|
16
|
+
var VERSION = 1;
|
|
17
|
+
function acknowledgementsPath(home) {
|
|
18
|
+
return join(namzuHomePath(home), "acknowledgements.json");
|
|
19
|
+
}
|
|
20
|
+
__name(acknowledgementsPath, "acknowledgementsPath");
|
|
21
|
+
function read(path) {
|
|
22
|
+
try {
|
|
23
|
+
const parsed = JSON.parse(readFileSync(path, "utf8"));
|
|
24
|
+
return {
|
|
25
|
+
version: VERSION,
|
|
26
|
+
...typeof parsed.bypass === "string" ? { bypass: parsed.bypass } : {}
|
|
27
|
+
};
|
|
28
|
+
} catch {
|
|
29
|
+
return { version: VERSION };
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
__name(read, "read");
|
|
33
|
+
function hasAcknowledgedBypass(home) {
|
|
34
|
+
return read(acknowledgementsPath(home)).bypass !== void 0;
|
|
35
|
+
}
|
|
36
|
+
__name(hasAcknowledgedBypass, "hasAcknowledgedBypass");
|
|
37
|
+
function acknowledgeBypass(home, now = () => /* @__PURE__ */ new Date()) {
|
|
38
|
+
const path = acknowledgementsPath(home);
|
|
39
|
+
const current = read(path);
|
|
40
|
+
if (current.bypass !== void 0) return;
|
|
41
|
+
const next = { ...current, bypass: now().toISOString() };
|
|
42
|
+
mkdirSync(dirname(path), { recursive: true, mode: DIR_MODE });
|
|
43
|
+
const temp = `${path}.${randomUUID()}.tmp`;
|
|
44
|
+
try {
|
|
45
|
+
writeFileSync(temp, `${JSON.stringify(next, null, 2)}
|
|
46
|
+
`, { mode: FILE_MODE });
|
|
47
|
+
renameSync(temp, path);
|
|
48
|
+
} catch (error) {
|
|
49
|
+
rmSync(temp, { force: true });
|
|
50
|
+
throw error;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
__name(acknowledgeBypass, "acknowledgeBypass");
|
|
54
|
+
var BYPASS_CONSENT_TITLE = "Run without asking?";
|
|
55
|
+
var BYPASS_CONSENT_BODY = "In bypass mode Namzu runs commands and edits files anywhere you can, without asking, including outside this folder. It still stops for removing a home or top-level folder, leaving a sandbox, rules that say deny or ask, and a short list of destructive commands. Only use it in a folder and on a machine you trust.";
|
|
56
|
+
|
|
57
|
+
export {
|
|
58
|
+
hasAcknowledgedBypass,
|
|
59
|
+
acknowledgeBypass,
|
|
60
|
+
BYPASS_CONSENT_TITLE,
|
|
61
|
+
BYPASS_CONSENT_BODY
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=chunk-GK4HLIQQ.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/permissions/consent.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;AAAA,SAAS,kBAAkB;AAC3B,SAAS,WAAW,cAAc,YAAY,QAAQ,qBAAqB;AAC3E,SAAS,SAAS,YAAY;AAa9B,IAAM,YAAY;AAClB,IAAM,WAAW;AACjB,IAAM,UAAU;AAOT,SAAS,qBAAqB,MAAuB;AAC3D,SAAO,KAAK,cAAc,IAAI,GAAG,uBAAuB;AACzD;AAFgB;AAIhB,SAAS,KAAK,MAAmC;AAChD,MAAI;AACH,UAAM,SAAS,KAAK,MAAM,aAAa,MAAM,MAAM,CAAC;AACpD,WAAO;AAAA,MACN,SAAS;AAAA,MACT,GAAI,OAAO,OAAO,WAAW,WAAW,EAAE,QAAQ,OAAO,OAAO,IAAI,CAAC;AAAA,IACtE;AAAA,EACD,QAAQ;AACP,WAAO,EAAE,SAAS,QAAQ;AAAA,EAC3B;AACD;AAVS;AAaF,SAAS,sBAAsB,MAAwB;AAC7D,SAAO,KAAK,qBAAqB,IAAI,CAAC,EAAE,WAAW;AACpD;AAFgB;AAKT,SAAS,kBAAkB,MAAe,MAAkB,MAAM,oBAAI,KAAK,GAAS;AAC1F,QAAM,OAAO,qBAAqB,IAAI;AACtC,QAAM,UAAU,KAAK,IAAI;AACzB,MAAI,QAAQ,WAAW,OAAW;AAClC,QAAM,OAA4B,EAAE,GAAG,SAAS,QAAQ,IAAI,EAAE,YAAY,EAAE;AAC5E,YAAU,QAAQ,IAAI,GAAG,EAAE,WAAW,MAAM,MAAM,SAAS,CAAC;AAC5D,QAAM,OAAO,GAAG,IAAI,IAAI,WAAW,CAAC;AACpC,MAAI;AACH,kBAAc,MAAM,GAAG,KAAK,UAAU,MAAM,MAAM,CAAC,CAAC;AAAA,GAAM,EAAE,MAAM,UAAU,CAAC;AAC7E,eAAW,MAAM,IAAI;AAAA,EACtB,SAAS,OAAO;AACf,WAAO,MAAM,EAAE,OAAO,KAAK,CAAC;AAC5B,UAAM;AAAA,EACP;AACD;AAdgB;AAiBT,IAAM,uBAAuB;AAC7B,IAAM,sBACZ;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -2,7 +2,7 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolveNamzuHome
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LA7SHC2B.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -17,4 +17,4 @@ __name(namzuHomePath, "namzuHomePath");
|
|
|
17
17
|
export {
|
|
18
18
|
namzuHomePath
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-GW7O5N42.js.map
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
projectDigestChanges,
|
|
18
18
|
scriptShellUnavailableReason,
|
|
19
19
|
verifyScheduledScript
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2WMXW2HX.js";
|
|
21
21
|
import {
|
|
22
22
|
allowsWrites,
|
|
23
23
|
compileJobPolicy,
|
|
24
24
|
compileScriptCheckPolicy,
|
|
25
25
|
withheldTools
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TZLYJWSW.js";
|
|
27
27
|
import {
|
|
28
28
|
resumeCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-N5L7HGNL.js";
|
|
30
30
|
import {
|
|
31
31
|
appendHistory,
|
|
32
32
|
compactHistory,
|
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
readState,
|
|
36
36
|
withoutUndefined,
|
|
37
37
|
writeState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TFA5ZAGJ.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveTrustedProjectContext
|
|
41
41
|
} from "./chunk-CHIEVVQ2.js";
|
|
42
42
|
import {
|
|
43
43
|
readPermissionLayers
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-AQM2Q6XZ.js";
|
|
45
45
|
import {
|
|
46
46
|
SCHEDULE_FORMAT_VERSION,
|
|
47
47
|
confirmationHolds,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
} from "./chunk-OEW7CJKK.js";
|
|
66
66
|
import {
|
|
67
67
|
readWslMountRoot
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-PKIH55PX.js";
|
|
69
69
|
import {
|
|
70
70
|
pauseWait
|
|
71
71
|
} from "./chunk-XEUQN4JC.js";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
describeTurnInterruption,
|
|
74
74
|
retryAfterMs,
|
|
75
75
|
unattendedNote
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-D5HL6QDV.js";
|
|
77
77
|
import {
|
|
78
78
|
archiveConversation,
|
|
79
79
|
closeSessions,
|
|
@@ -82,12 +82,12 @@ import {
|
|
|
82
82
|
readIdentity,
|
|
83
83
|
setTitle,
|
|
84
84
|
startConversation
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-SZUOO7A2.js";
|
|
86
86
|
import {
|
|
87
87
|
cliLogger,
|
|
88
88
|
createStderrSink,
|
|
89
89
|
installCliLogging
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-YMSXUKHE.js";
|
|
91
91
|
import {
|
|
92
92
|
DiskSessionLeaseStore,
|
|
93
93
|
DiskSessionLog,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
releaseHeldSessionLeases,
|
|
108
108
|
revealHiddenCharacters,
|
|
109
109
|
scanSchedulePrompt
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-LA7SHC2B.js";
|
|
111
111
|
import {
|
|
112
112
|
__name
|
|
113
113
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -2590,7 +2590,7 @@ async function runFire(ctx, paths, args, deps = {}) {
|
|
|
2590
2590
|
const daemonEnv = readDaemonEnv(paths.daemonEnv);
|
|
2591
2591
|
warnings.push(...daemonEnv.warnings);
|
|
2592
2592
|
const discoveryEnv = { ...deps.env ?? process.env, ...daemonEnv.values };
|
|
2593
|
-
const agent = deps.agent ?? await import("./agent-
|
|
2593
|
+
const agent = deps.agent ?? await import("./agent-UNGHD2P3.js");
|
|
2594
2594
|
const probe = await agent.probeAgentSession({ env: discoveryEnv });
|
|
2595
2595
|
const detected = probe.detected.find((d) => d.entry.id === model.provider);
|
|
2596
2596
|
if (!detected) {
|
|
@@ -2953,4 +2953,4 @@ export {
|
|
|
2953
2953
|
parseFireArgs,
|
|
2954
2954
|
runFire
|
|
2955
2955
|
};
|
|
2956
|
-
//# sourceMappingURL=chunk-
|
|
2956
|
+
//# sourceMappingURL=chunk-HA37WH7H.js.map
|
|
@@ -26,6 +26,9 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
REASONING_EFFORT_LEVELS
|
|
28
28
|
} from "./chunk-LXB3S4IC.js";
|
|
29
|
+
import {
|
|
30
|
+
PERMISSION_MODE_NAMES
|
|
31
|
+
} from "./chunk-WMEZTDLT.js";
|
|
29
32
|
import {
|
|
30
33
|
__name
|
|
31
34
|
} from "./chunk-76FLAFCG.js";
|
|
@@ -152,7 +155,7 @@ var acpCommand = lazyCommand(
|
|
|
152
155
|
description: "Speak the agent-client protocol over this process\u2019s stdio",
|
|
153
156
|
passThrough: true
|
|
154
157
|
},
|
|
155
|
-
async () => (await import("./acp-
|
|
158
|
+
async () => (await import("./acp-WH4EFAFK.js")).acpCommand
|
|
156
159
|
);
|
|
157
160
|
var computerCommand = lazyCommand(
|
|
158
161
|
{
|
|
@@ -168,7 +171,7 @@ var archiveCommand = lazyCommand(
|
|
|
168
171
|
description: "List or restore archived conversations in this project",
|
|
169
172
|
passThrough: true
|
|
170
173
|
},
|
|
171
|
-
async () => (await import("./archive-
|
|
174
|
+
async () => (await import("./archive-IAT6HD7B.js")).archiveCommand
|
|
172
175
|
);
|
|
173
176
|
var doctorCommand = lazyCommand(
|
|
174
177
|
{
|
|
@@ -176,7 +179,7 @@ var doctorCommand = lazyCommand(
|
|
|
176
179
|
description: "Run health checks against the local Namzu environment",
|
|
177
180
|
passThrough: true
|
|
178
181
|
},
|
|
179
|
-
async () => (await import("./doctor-
|
|
182
|
+
async () => (await import("./doctor-BSYUHWBV.js")).doctorCommand
|
|
180
183
|
);
|
|
181
184
|
var execCommand = lazyCommand(
|
|
182
185
|
{
|
|
@@ -185,7 +188,7 @@ var execCommand = lazyCommand(
|
|
|
185
188
|
description: "Run a single prompt headlessly: print the reply, or stream events with --json",
|
|
186
189
|
passThrough: true
|
|
187
190
|
},
|
|
188
|
-
async () => (await import("./exec-
|
|
191
|
+
async () => (await import("./exec-66BTZSXT.js")).execCommand
|
|
189
192
|
);
|
|
190
193
|
var residentCommand = lazyCommand(
|
|
191
194
|
{
|
|
@@ -193,7 +196,7 @@ var residentCommand = lazyCommand(
|
|
|
193
196
|
description: "Manage persistent work and explicitly authorized resident runners (experimental)",
|
|
194
197
|
passThrough: true
|
|
195
198
|
},
|
|
196
|
-
async () => (await import("./resident-
|
|
199
|
+
async () => (await import("./resident-YDO5N5JH.js")).residentCommand
|
|
197
200
|
);
|
|
198
201
|
var loginCommand = lazyCommand(
|
|
199
202
|
{
|
|
@@ -201,7 +204,7 @@ var loginCommand = lazyCommand(
|
|
|
201
204
|
description: "Sign in with a provider subscription and store the credential.",
|
|
202
205
|
passThrough: true
|
|
203
206
|
},
|
|
204
|
-
async () => (await import("./login-
|
|
207
|
+
async () => (await import("./login-3NTMRWH5.js")).loginCommand
|
|
205
208
|
);
|
|
206
209
|
var logoutCommand = lazyCommand(
|
|
207
210
|
{
|
|
@@ -209,11 +212,11 @@ var logoutCommand = lazyCommand(
|
|
|
209
212
|
description: "Remove a credential namzu stored on this machine.",
|
|
210
213
|
passThrough: true
|
|
211
214
|
},
|
|
212
|
-
async () => (await import("./login-
|
|
215
|
+
async () => (await import("./login-3NTMRWH5.js")).logoutCommand
|
|
213
216
|
);
|
|
214
217
|
var mcpCommand = lazyCommand(
|
|
215
218
|
{ name: "mcp", description: "Manage user tool servers", passThrough: true },
|
|
216
|
-
async () => (await import("./mcp-
|
|
219
|
+
async () => (await import("./mcp-R7AB2UAO.js")).mcpCommand
|
|
217
220
|
);
|
|
218
221
|
var drainCommand = lazyCommand(
|
|
219
222
|
{
|
|
@@ -221,11 +224,11 @@ var drainCommand = lazyCommand(
|
|
|
221
224
|
description: "Continue a turn another process left behind (one pass, then exit)",
|
|
222
225
|
passThrough: true
|
|
223
226
|
},
|
|
224
|
-
async () => (await import("./drain-
|
|
227
|
+
async () => (await import("./drain-ANNH6M4M.js")).drainCommand
|
|
225
228
|
);
|
|
226
229
|
var evalCommand = lazyCommand(
|
|
227
230
|
{ name: "eval", description: "Run eval suites and set an exit code", passThrough: true },
|
|
228
|
-
async () => (await import("./eval-
|
|
231
|
+
async () => (await import("./eval-FOOSHOQH.js")).evalCommand
|
|
229
232
|
);
|
|
230
233
|
var historyCommand = lazyCommand(
|
|
231
234
|
{
|
|
@@ -233,7 +236,7 @@ var historyCommand = lazyCommand(
|
|
|
233
236
|
description: "Print a session's persisted messages as JSON (for host UIs)",
|
|
234
237
|
passThrough: true
|
|
235
238
|
},
|
|
236
|
-
async () => (await import("./host-queries-
|
|
239
|
+
async () => (await import("./host-queries-DAZODJGM.js")).historyCommand
|
|
237
240
|
);
|
|
238
241
|
var skillsCommand = lazyCommand(
|
|
239
242
|
{
|
|
@@ -241,7 +244,7 @@ var skillsCommand = lazyCommand(
|
|
|
241
244
|
description: "List skills available to a working directory",
|
|
242
245
|
passThrough: true
|
|
243
246
|
},
|
|
244
|
-
async () => (await import("./skills-
|
|
247
|
+
async () => (await import("./skills-JOY3NTBC.js")).skillsCommand
|
|
245
248
|
);
|
|
246
249
|
var skillsJSONCommand = lazyCommand(
|
|
247
250
|
{
|
|
@@ -249,7 +252,7 @@ var skillsJSONCommand = lazyCommand(
|
|
|
249
252
|
description: "Print discovered skills as JSON (for host UIs)",
|
|
250
253
|
passThrough: true
|
|
251
254
|
},
|
|
252
|
-
async () => (await import("./host-queries-
|
|
255
|
+
async () => (await import("./host-queries-DAZODJGM.js")).skillsJSONCommand
|
|
253
256
|
);
|
|
254
257
|
var providersJSONCommand = lazyCommand(
|
|
255
258
|
{
|
|
@@ -257,7 +260,7 @@ var providersJSONCommand = lazyCommand(
|
|
|
257
260
|
description: "Print providers + per-provider models as JSON (for host UIs)",
|
|
258
261
|
passThrough: true
|
|
259
262
|
},
|
|
260
|
-
async () => (await import("./host-queries-
|
|
263
|
+
async () => (await import("./host-queries-DAZODJGM.js")).providersJSONCommand
|
|
261
264
|
);
|
|
262
265
|
var upgradeCommand = lazyCommand(
|
|
263
266
|
{
|
|
@@ -265,7 +268,7 @@ var upgradeCommand = lazyCommand(
|
|
|
265
268
|
description: "Update the active global Namzu installation",
|
|
266
269
|
passThrough: true
|
|
267
270
|
},
|
|
268
|
-
async () => (await import("./upgrade-
|
|
271
|
+
async () => (await import("./upgrade-ZZYBXJXO.js")).upgradeCommand
|
|
269
272
|
);
|
|
270
273
|
var serveCommand = lazyCommand(
|
|
271
274
|
{
|
|
@@ -280,7 +283,7 @@ var stateCommand = lazyCommand(
|
|
|
280
283
|
description: "Inspect local Namzu state without changing it",
|
|
281
284
|
passThrough: true
|
|
282
285
|
},
|
|
283
|
-
async () => (await import("./state-
|
|
286
|
+
async () => (await import("./state-QQ2YFP4G.js")).stateCommand
|
|
284
287
|
);
|
|
285
288
|
var scheduleCommand = lazyCommand(
|
|
286
289
|
{
|
|
@@ -288,7 +291,7 @@ var scheduleCommand = lazyCommand(
|
|
|
288
291
|
description: "Scheduled jobs that run while namzu is closed, and the service that runs them",
|
|
289
292
|
passThrough: true
|
|
290
293
|
},
|
|
291
|
-
async () => (await import("./schedule-
|
|
294
|
+
async () => (await import("./schedule-6XIBAC7U.js")).scheduleCommand
|
|
292
295
|
);
|
|
293
296
|
var browserCommand = lazyCommand(
|
|
294
297
|
{
|
|
@@ -296,7 +299,7 @@ var browserCommand = lazyCommand(
|
|
|
296
299
|
description: "Browser profiles for the browser tools: sign in, list, status, install, remove",
|
|
297
300
|
passThrough: true
|
|
298
301
|
},
|
|
299
|
-
async () => (await import("./browser-
|
|
302
|
+
async () => (await import("./browser-4P3N4ZQL.js")).browserCommand
|
|
300
303
|
);
|
|
301
304
|
function createLazyPalCommand(resumeCommand) {
|
|
302
305
|
return lazyCommand(
|
|
@@ -305,7 +308,7 @@ function createLazyPalCommand(resumeCommand) {
|
|
|
305
308
|
description: "Create and operate persistent Pals with their own local virtual computers",
|
|
306
309
|
passThrough: true
|
|
307
310
|
},
|
|
308
|
-
async () => (await import("./pal-
|
|
311
|
+
async () => (await import("./pal-TNQSB2GK.js")).createPalCommand(resumeCommand)
|
|
309
312
|
);
|
|
310
313
|
}
|
|
311
314
|
__name(createLazyPalCommand, "createLazyPalCommand");
|
|
@@ -316,20 +319,11 @@ function createLazyWorktreeCommand(open) {
|
|
|
316
319
|
description: "Create, fork, list and resume managed Git worktrees",
|
|
317
320
|
passThrough: true
|
|
318
321
|
},
|
|
319
|
-
async () => (await import("./worktree-
|
|
322
|
+
async () => (await import("./worktree-7C3EZZ7D.js")).createWorktreeCommand(open)
|
|
320
323
|
);
|
|
321
324
|
}
|
|
322
325
|
__name(createLazyWorktreeCommand, "createLazyWorktreeCommand");
|
|
323
326
|
|
|
324
|
-
// src/permissions/mode-names.ts
|
|
325
|
-
var PERMISSION_MODE_NAMES = [
|
|
326
|
-
"prompt",
|
|
327
|
-
"accept-edits",
|
|
328
|
-
"auto",
|
|
329
|
-
"strict",
|
|
330
|
-
"plan"
|
|
331
|
-
];
|
|
332
|
-
|
|
333
327
|
// src/cli.ts
|
|
334
328
|
var EX_USAGE = 64;
|
|
335
329
|
var REMOVED_COMMANDS = {
|
|
@@ -385,10 +379,10 @@ async function runCli(opts) {
|
|
|
385
379
|
).choices(["pretty", "json"])
|
|
386
380
|
).option(
|
|
387
381
|
"--dangerously-skip-permissions",
|
|
388
|
-
"
|
|
382
|
+
"Start in bypass mode: run tools without asking, except for what always needs a person. Only use in a sandbox or a folder you fully trust."
|
|
389
383
|
).option("--yolo", "Alias of --dangerously-skip-permissions.").option(
|
|
390
384
|
"--allow-dangerously-skip-permissions",
|
|
391
|
-
"Let Shift+Tab reach
|
|
385
|
+
"Let Shift+Tab reach bypass mode, without starting in it."
|
|
392
386
|
).option(
|
|
393
387
|
"--provider <id>",
|
|
394
388
|
"Start the interactive session on this provider for this launch only; the saved choice is untouched."
|
|
@@ -403,7 +397,7 @@ async function runCli(opts) {
|
|
|
403
397
|
).addOption(
|
|
404
398
|
new Option(
|
|
405
399
|
"--permission-mode <mode>",
|
|
406
|
-
"Permission mode for this launch only; wins over --yolo. /permissions changes it from inside."
|
|
400
|
+
"Permission mode for this launch only; wins over --yolo. auto lets a second model check each call; bypass runs without asking. /permissions changes it from inside."
|
|
407
401
|
).choices(PERMISSION_MODE_NAMES)
|
|
408
402
|
).option(
|
|
409
403
|
"--message <text>",
|
|
@@ -420,7 +414,7 @@ async function runCli(opts) {
|
|
|
420
414
|
"--profile <name>",
|
|
421
415
|
"Apply a named profile from the config files. A name no file declares is refused, not ignored."
|
|
422
416
|
).hook("preAction", async (command, action) => {
|
|
423
|
-
rt ??= await import("./cli-runtime-
|
|
417
|
+
rt ??= await import("./cli-runtime-HEQVJMIJ.js");
|
|
424
418
|
const launchOnly = ["provider", "model", "effort", "permissionMode", "message", "continue", "resume"].filter((key) => command.opts()[key] !== void 0);
|
|
425
419
|
if (launchOnly.length > 0 && !["namzu", "resume"].includes(action.name())) {
|
|
426
420
|
const flags = launchOnly.map(
|
|
@@ -595,8 +589,8 @@ async function runCli(opts) {
|
|
|
595
589
|
let conversationId = initialConversationId;
|
|
596
590
|
let openResumePicker;
|
|
597
591
|
if (conversationId === void 0 && (launchOpts.continue || launchOpts.resume !== void 0)) {
|
|
598
|
-
const { resolveTuiResume } = await import("./resume-
|
|
599
|
-
const { openSessions, closeSessions } = await import("./store-
|
|
592
|
+
const { resolveTuiResume } = await import("./resume-OJYZ6YER.js");
|
|
593
|
+
const { openSessions, closeSessions } = await import("./store-47KUDP7H.js");
|
|
600
594
|
let sessions = null;
|
|
601
595
|
try {
|
|
602
596
|
sessions = await openSessions(process.cwd());
|
|
@@ -622,17 +616,40 @@ async function runCli(opts) {
|
|
|
622
616
|
if (outcome.kind === "picker")
|
|
623
617
|
openResumePicker = outcome.query === void 0 ? {} : { query: outcome.query };
|
|
624
618
|
}
|
|
625
|
-
const structuredOutput = launchOpts.outputSchema ? (await import("./output-schema-
|
|
619
|
+
const structuredOutput = launchOpts.outputSchema ? (await import("./output-schema-SKFZ25BQ.js")).loadOutputSchema(
|
|
626
620
|
resolve(process.cwd(), launchOpts.outputSchema)
|
|
627
621
|
) : void 0;
|
|
628
622
|
const skipPermissions = Boolean(launchOpts.dangerouslySkipPermissions || launchOpts.yolo);
|
|
623
|
+
const permissionPlanFor = /* @__PURE__ */ __name((config) => runtime().planLaunchMode({
|
|
624
|
+
permissionModeFlag: launchOpts.permissionMode,
|
|
625
|
+
skipPermissions,
|
|
626
|
+
allowBypassFlag: launchOpts.allowDangerouslySkipPermissions === true,
|
|
627
|
+
settings: config.permissionSettings
|
|
628
|
+
}), "permissionPlanFor");
|
|
629
|
+
const firstPlan = permissionPlanFor(getBootstrapContext().config);
|
|
630
|
+
if ("error" in firstPlan) {
|
|
631
|
+
getBootstrapContext().formatter.error({ message: firstPlan.error });
|
|
632
|
+
setExitCode(EX_USAGE);
|
|
633
|
+
return;
|
|
634
|
+
}
|
|
635
|
+
let launchPlan = firstPlan.plan;
|
|
636
|
+
if (launchPlan.mode === "bypass" && !runtime().hasAcknowledgedBypass()) {
|
|
637
|
+
if (await runtime().askBypassConsent()) {
|
|
638
|
+
try {
|
|
639
|
+
runtime().acknowledgeBypass();
|
|
640
|
+
} catch {
|
|
641
|
+
}
|
|
642
|
+
} else {
|
|
643
|
+
launchPlan = { ...launchPlan, mode: "prompt", source: "default" };
|
|
644
|
+
}
|
|
645
|
+
}
|
|
629
646
|
const provider = launchOpts.provider?.trim();
|
|
630
647
|
const model = launchOpts.model?.trim();
|
|
631
648
|
const launchSettings = {
|
|
632
649
|
...provider ? { provider } : {},
|
|
633
650
|
...model ? { model } : {},
|
|
634
651
|
...launchOpts.effort ? { effort: launchOpts.effort } : {},
|
|
635
|
-
...
|
|
652
|
+
...launchPlan.source === "launch-flag" || launchPlan.source === "config-default" ? { permissionMode: launchPlan.mode } : {},
|
|
636
653
|
...launchOpts.message?.trim() ? { message: launchOpts.message } : {}
|
|
637
654
|
};
|
|
638
655
|
const commandCtx = getBootstrapContext();
|
|
@@ -661,8 +678,16 @@ async function runCli(opts) {
|
|
|
661
678
|
...structuredOutput ? { structuredOutput } : {},
|
|
662
679
|
version: CLI_VERSION,
|
|
663
680
|
configDebug: resolvedCtx.configDebug,
|
|
664
|
-
skipPermissions,
|
|
681
|
+
skipPermissions: skipPermissions && launchPlan.source === "launch-bypass",
|
|
665
682
|
...launchOpts.allowDangerouslySkipPermissions ? { allowDangerouslySkipPermissions: true } : {},
|
|
683
|
+
permissionSource: launchPlan.source,
|
|
684
|
+
// The project's own file may close bypass or auto for its folder, so the
|
|
685
|
+
// door is recomputed from the full configuration.
|
|
686
|
+
bypassAvailable: (() => {
|
|
687
|
+
const full = permissionPlanFor(resolvedCtx.config);
|
|
688
|
+
return "plan" in full && full.plan.bypassAvailable;
|
|
689
|
+
})(),
|
|
690
|
+
...resolvedCtx.config.permissionSettings ? { permissionSettings: resolvedCtx.config.permissionSettings } : {},
|
|
666
691
|
...Object.keys(launchSettings).length > 0 ? { launchSettings } : {},
|
|
667
692
|
...additionalDirectories.length > 0 ? { additionalDirectories } : {},
|
|
668
693
|
rules: browserSites ? runtime().withBrowserSiteRules(permissions.rules, browserSites.rules) : permissions.rules,
|
|
@@ -707,7 +732,7 @@ async function runCli(opts) {
|
|
|
707
732
|
tuiCtx,
|
|
708
733
|
(cwd) => buildTuiContext(resolveTrustedProjectContext(commandCtx, cwd), cwd)
|
|
709
734
|
);
|
|
710
|
-
const { launchTui } = await import("./tui-
|
|
735
|
+
const { launchTui } = await import("./tui-2M6OGQUI.js");
|
|
711
736
|
const resumeCommand = launchOpts.outputSchema ? [
|
|
712
737
|
...opts.resumeCommand ?? ["namzu"],
|
|
713
738
|
"--output-schema",
|
|
@@ -724,7 +749,7 @@ async function runCli(opts) {
|
|
|
724
749
|
);
|
|
725
750
|
}, "launchInteractiveTui");
|
|
726
751
|
program.command("resume").description("Resume an interactive conversation by its durable id").argument("<conversation-id>", "Conversation id printed when the TUI exited").action(async (conversationId) => {
|
|
727
|
-
const { scheduledSessionElsewhere } = await import("./resume-command-
|
|
752
|
+
const { scheduledSessionElsewhere } = await import("./resume-command-5KZPLTK7.js");
|
|
728
753
|
const elsewhere = scheduledSessionElsewhere(
|
|
729
754
|
runtime().resolveNamzuHome(),
|
|
730
755
|
conversationId,
|
|
@@ -777,7 +802,7 @@ namzu will not start with an explicit config value it cannot honour. ${remediati
|
|
|
777
802
|
);
|
|
778
803
|
return EXIT_BAD_CONFIG;
|
|
779
804
|
}
|
|
780
|
-
const { reportCrash } = await import("./crash-report-
|
|
805
|
+
const { reportCrash } = await import("./crash-report-4ZIUEO2T.js");
|
|
781
806
|
process.stderr.write(reportCrash(err));
|
|
782
807
|
return EXIT_INTERNAL_ERROR;
|
|
783
808
|
} finally {
|
|
@@ -839,4 +864,4 @@ export {
|
|
|
839
864
|
registerAll,
|
|
840
865
|
runCli
|
|
841
866
|
};
|
|
842
|
-
//# sourceMappingURL=chunk-
|
|
867
|
+
//# sourceMappingURL=chunk-HCQUBJTS.js.map
|