@namzu/cli 53.0.1 → 53.1.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 +60 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-IOWTKF2X.js → acp-UVCLNIXU.js} +83 -77
- package/dist/chunks/acp-UVCLNIXU.js.map +6 -0
- package/dist/chunks/{activity-command-U2AOTIVF.js → activity-command-2QIWTUUB.js} +15 -15
- package/dist/chunks/{add-YYQLPCP2.js → add-2YDEALUT.js} +26 -26
- package/dist/chunks/{agent-WL6NX4W6.js → agent-IKQ67NMW.js} +45 -42
- package/dist/chunks/agent-session-H3OE6ZJT.js +76 -0
- package/dist/chunks/{apply-at-exit-BRXYTQVG.js → apply-at-exit-F4G7PCZL.js} +8 -8
- package/dist/chunks/{archive-UE756BME.js → archive-FOTYHQPL.js} +14 -14
- package/dist/chunks/{bin-main-XR2DJOI6.js → bin-main-DWOCG2WK.js} +14 -14
- package/dist/chunks/{binding-HCIPLFUO.js → binding-2GEVBR5H.js} +3 -3
- package/dist/chunks/{browser-7SFVCKSO.js → browser-WYPSIPEZ.js} +6 -6
- package/dist/chunks/{chat-K6GQGRUA.js → chat-LWVIDEXR.js} +22 -22
- package/dist/chunks/{chunk-CQKYKQEF.js → chunk-2CYBRCPH.js} +4 -4
- package/dist/chunks/{chunk-7AWFHVMT.js → chunk-2Q2TPLYP.js} +3 -3
- package/dist/chunks/{chunk-TYTE2GIF.js → chunk-2QMXCXZ2.js} +5 -5
- package/dist/chunks/{chunk-Z5NMQ2YN.js → chunk-33WFG4C3.js} +2 -2
- package/dist/chunks/{chunk-Z5FDI74K.js → chunk-3EEKLQXD.js} +6 -6
- package/dist/chunks/chunk-3HJXXP6L.js +226 -0
- package/dist/chunks/chunk-3HJXXP6L.js.map +6 -0
- package/dist/chunks/{chunk-NZMKMXGG.js → chunk-3T5AX2PC.js} +2 -2
- package/dist/chunks/{chunk-OBMHA7OP.js → chunk-4ASCYXSH.js} +3 -3
- package/dist/chunks/{chunk-MHXJYXOF.js → chunk-4EBZUUE4.js} +5 -5
- package/dist/chunks/{chunk-WSMX3IQE.js → chunk-53UWPLAF.js} +503 -402
- package/dist/chunks/chunk-53UWPLAF.js.map +6 -0
- package/dist/chunks/{chunk-3NAVAACC.js → chunk-5F4SSZKS.js} +2 -2
- package/dist/chunks/{chunk-RDW6L3PV.js → chunk-5JQIGBBR.js} +3 -3
- package/dist/chunks/{chunk-HOB6FTE2.js → chunk-5S7U5MFW.js} +5 -4
- package/dist/chunks/{chunk-HOB6FTE2.js.map → chunk-5S7U5MFW.js.map} +1 -1
- package/dist/chunks/{chunk-U4XNJBDB.js → chunk-5WORROIE.js} +8 -1
- package/dist/chunks/{chunk-U4XNJBDB.js.map → chunk-5WORROIE.js.map} +1 -1
- package/dist/chunks/{chunk-V7VNFYA4.js → chunk-6APCO6YC.js} +18 -14
- package/dist/chunks/chunk-6APCO6YC.js.map +6 -0
- package/dist/chunks/{chunk-HJILJSZO.js → chunk-6CXEEZLK.js} +2 -2
- package/dist/chunks/{chunk-2U357RJS.js → chunk-6JKNPDZD.js} +10 -10
- package/dist/chunks/{chunk-AGFGC7SI.js → chunk-6KIXUAOC.js} +3 -3
- package/dist/chunks/{chunk-2WDF5N2A.js → chunk-6NUQEVHG.js} +9 -9
- package/dist/chunks/{chunk-4RTQTX5R.js → chunk-6RTDZGPO.js} +2 -2
- package/dist/chunks/{chunk-5I45HTKW.js → chunk-7PDUMQ4M.js} +175 -33
- package/dist/chunks/chunk-7PDUMQ4M.js.map +6 -0
- package/dist/chunks/{chunk-7JT7DNR7.js → chunk-7T6TX47O.js} +3 -3
- package/dist/chunks/{chunk-UJOWXA23.js → chunk-ABOV5CRT.js} +302 -131
- package/dist/chunks/chunk-ABOV5CRT.js.map +6 -0
- package/dist/chunks/{chunk-SVMGV4AS.js → chunk-AZHBCP6G.js} +46 -46
- package/dist/chunks/{chunk-POOJ2MUS.js → chunk-BLGPF6UL.js} +3 -3
- package/dist/chunks/{chunk-YELRULQ7.js → chunk-C74LVDRC.js} +3948 -2225
- package/dist/chunks/chunk-C74LVDRC.js.map +6 -0
- package/dist/chunks/{chunk-F3SQRGKZ.js → chunk-CMHOQ62S.js} +2 -2
- package/dist/chunks/{chunk-24N42TGE.js → chunk-D5RO75LO.js} +6 -6
- package/dist/chunks/{chunk-M3AUPUII.js → chunk-D7JY7KNY.js} +6 -6
- package/dist/chunks/chunk-DCMZYSON.js +247 -0
- package/dist/chunks/chunk-DCMZYSON.js.map +6 -0
- package/dist/chunks/{chunk-5NDRDTNX.js → chunk-DHWD5YYD.js} +6 -6
- package/dist/chunks/chunk-DHWD5YYD.js.map +6 -0
- package/dist/chunks/{chunk-RAPO3KLG.js → chunk-DTORDCJR.js} +4 -4
- package/dist/chunks/{chunk-NICPMJJQ.js → chunk-E7GZ5OXM.js} +6 -5
- package/dist/chunks/{chunk-NICPMJJQ.js.map → chunk-E7GZ5OXM.js.map} +1 -1
- package/dist/chunks/{chunk-O326HKCW.js → chunk-EADNTGVW.js} +3 -3
- package/dist/chunks/{chunk-YSKCWH72.js → chunk-EYAWI7KU.js} +196 -27
- package/dist/chunks/chunk-EYAWI7KU.js.map +6 -0
- package/dist/chunks/{chunk-KNQ7R54U.js → chunk-F3GGSHY2.js} +715 -622
- package/dist/chunks/chunk-F3GGSHY2.js.map +6 -0
- package/dist/chunks/{chunk-HGZYNEQE.js → chunk-FBRYV5YN.js} +14 -7
- package/dist/chunks/chunk-FBRYV5YN.js.map +6 -0
- package/dist/chunks/{chunk-2VSICYQP.js → chunk-FWTWILCD.js} +2 -2
- package/dist/chunks/{chunk-HUONDMU4.js → chunk-G4R65ULE.js} +2 -2
- package/dist/chunks/{chunk-C5XQHEYB.js → chunk-G7LMPHZE.js} +2 -2
- package/dist/chunks/{chunk-XHLFI6F6.js → chunk-GD7VSTWZ.js} +2 -2
- package/dist/chunks/{chunk-4FV2VZS6.js → chunk-GZNTRTD5.js} +3 -3
- package/dist/chunks/{chunk-UMHKTV2L.js → chunk-H7UZKOVC.js} +132 -4
- package/dist/chunks/chunk-H7UZKOVC.js.map +6 -0
- package/dist/chunks/{chunk-FEIIR46G.js → chunk-HFZLLEJS.js} +5 -5
- package/dist/chunks/chunk-IOWYDR6H.js +414 -0
- package/dist/chunks/chunk-IOWYDR6H.js.map +6 -0
- package/dist/chunks/{chunk-WOSL3OZD.js → chunk-IW3XMMEN.js} +4 -4
- package/dist/chunks/{chunk-DSKNFDTL.js → chunk-KXUKJLA2.js} +2 -2
- package/dist/chunks/{chunk-EA73SWCT.js → chunk-L2AKMCV3.js} +4 -4
- package/dist/chunks/{chunk-Z6J7SVOB.js → chunk-LC7SV2KM.js} +2 -2
- package/dist/chunks/{chunk-J7SA5BCI.js → chunk-LOUV4VZ6.js} +4 -4
- package/dist/chunks/{chunk-DI4L3GH5.js → chunk-LQJLTW2D.js} +2 -2
- package/dist/chunks/{chunk-HTHNDZ3L.js → chunk-LRFRTQW7.js} +2 -2
- package/dist/chunks/{chunk-EKMHZKVP.js → chunk-MDY2IMVQ.js} +2 -2
- package/dist/chunks/{chunk-NTV2XD2J.js → chunk-MNMKHEMI.js} +2 -2
- package/dist/chunks/{chunk-ZDZ35MMZ.js → chunk-MTY4XYDO.js} +2 -2
- package/dist/chunks/{chunk-OAHCS42A.js → chunk-MZURZ6P4.js} +2 -2
- package/dist/chunks/{chunk-6CFPN6I4.js → chunk-NFKSV6UI.js} +2 -2
- package/dist/chunks/{chunk-TI6FFONP.js → chunk-NIRQFXO6.js} +2 -2
- package/dist/chunks/{chunk-QPR3UA4L.js → chunk-NJWQUZF2.js} +2 -2
- package/dist/chunks/{chunk-EKQ6J5KA.js → chunk-NRGGICBE.js} +2 -2
- package/dist/chunks/{chunk-ZMKEYARZ.js → chunk-NW6VBCCU.js} +6 -6
- package/dist/chunks/{chunk-UWN4WNQZ.js → chunk-ORCR5VST.js} +2 -2
- package/dist/chunks/{chunk-TUXH7IXQ.js → chunk-P6OOW3RL.js} +2 -2
- package/dist/chunks/{chunk-46VSU4QF.js → chunk-PXA27JGJ.js} +2 -2
- package/dist/chunks/{chunk-SPSWX3QZ.js → chunk-PXJ2KPOI.js} +2 -2
- package/dist/chunks/chunk-QBCGPM4E.js +41 -0
- package/dist/chunks/chunk-QBCGPM4E.js.map +6 -0
- package/dist/chunks/{chunk-VVWI4EB7.js → chunk-QE5PQM5T.js} +3 -3
- package/dist/chunks/{chunk-SHUA4YUK.js → chunk-QIDU76IF.js} +2 -2
- package/dist/chunks/{chunk-SB3A7KUJ.js → chunk-QP435RW7.js} +4 -4
- package/dist/chunks/{chunk-FX7BSCB4.js → chunk-QPAWT3EG.js} +4 -4
- package/dist/chunks/{chunk-BHOZPFJM.js → chunk-QTPZCVPP.js} +5 -5
- package/dist/chunks/{chunk-CCYAWSZL.js → chunk-RFGMOXA6.js} +5 -5
- package/dist/chunks/{chunk-N56NUKMT.js → chunk-RPXTYB22.js} +2 -2
- package/dist/chunks/chunk-RVXJ5MYA.js +686 -0
- package/dist/chunks/chunk-RVXJ5MYA.js.map +6 -0
- package/dist/chunks/{chunk-X6SREM2V.js → chunk-RXUWYGFX.js} +7 -7
- package/dist/chunks/{chunk-DIWEKTYK.js → chunk-S5R2E5TZ.js} +5 -5
- package/dist/chunks/{chunk-DOFQWVBL.js → chunk-T3NIOUQJ.js} +3 -3
- package/dist/chunks/{chunk-LMLJ7NS5.js → chunk-TMOEYXPR.js} +5 -5
- package/dist/chunks/{chunk-PV65WQHD.js → chunk-UNO2ZRXA.js} +12 -12
- package/dist/chunks/{chunk-ZZNHDQAD.js → chunk-UNZNPAW7.js} +2 -2
- package/dist/chunks/{chunk-PYSZ7JTU.js → chunk-URIGGSIK.js} +2 -2
- package/dist/chunks/{chunk-RJWPNAYL.js → chunk-UWYDZYCZ.js} +6 -6
- package/dist/chunks/chunk-UYAI6F3R.js +44 -0
- package/dist/chunks/chunk-UYAI6F3R.js.map +6 -0
- package/dist/chunks/{chunk-P5E6ITP5.js → chunk-VG6RBHI4.js} +5 -5
- package/dist/chunks/{chunk-A47ZNTW7.js → chunk-VV2EHZOG.js} +3 -3
- package/dist/chunks/{chunk-VYLCV6W3.js → chunk-WY6KOPIY.js} +9 -9
- package/dist/chunks/{chunk-HOKSVFIC.js → chunk-XFVVJAI3.js} +6 -6
- package/dist/chunks/{chunk-MYVF3JRV.js → chunk-XKIV3H62.js} +6 -6
- package/dist/chunks/{chunk-J3PHMXN4.js → chunk-XLDFNUCV.js} +4 -4
- package/dist/chunks/{chunk-KAPCNFMC.js → chunk-XODDL7OV.js} +3 -3
- package/dist/chunks/{chunk-DHS5CQNC.js → chunk-XTVF376M.js} +12 -12
- package/dist/chunks/{chunk-PSLNHLZI.js → chunk-YLCMBXE3.js} +3 -3
- package/dist/chunks/{chunk-P7FHJL3V.js → chunk-YNY6XL5T.js} +2 -2
- package/dist/chunks/{chunk-KO2N6EIF.js → chunk-YVJVXTUS.js} +10 -10
- package/dist/chunks/{chunk-LOWGGJOB.js → chunk-ZYSTDBP7.js} +7 -112
- package/dist/chunks/chunk-ZYSTDBP7.js.map +6 -0
- package/dist/chunks/{cli-runtime-SVXU6U4V.js → cli-runtime-33Z22SZM.js} +24 -24
- package/dist/chunks/{commands-A2E3OV7F.js → commands-DLREWCNK.js} +5 -5
- package/dist/chunks/{cost-NA7APCZD.js → cost-MJOM52FI.js} +8 -8
- package/dist/chunks/{crash-report-C6QXQJAK.js → crash-report-62LMID3V.js} +9 -9
- package/dist/chunks/{dist-5SZ7VOLE.js → dist-HA6ABMIV.js} +2 -2
- package/dist/chunks/{dist-GVGW7AZ2.js → dist-HWU5U4SQ.js} +2 -2
- package/dist/chunks/{dist-HASAHQL3.js → dist-IL4H4QGY.js} +2 -2
- package/dist/chunks/{dist-G4BSVJKY.js → dist-MTYIYUQU.js} +2 -2
- package/dist/chunks/{dist-LBTLFSNF.js → dist-NUPNUHXB.js} +66 -2
- package/dist/chunks/{dist-3PE5MOU6.js → dist-TCKNCSZO.js} +2 -2
- package/dist/chunks/{dist-HYKH6P7F.js → dist-U7A47UOF.js} +2 -2
- package/dist/chunks/{dist-6CHQ5OPZ.js → dist-XFBNYCQ7.js} +2 -2
- package/dist/chunks/{doctor-Y5PQ2R7D.js → doctor-V5C6R5EN.js} +43 -40
- package/dist/chunks/{drain-RG275P5J.js → drain-CS7XQ5B7.js} +14 -14
- package/dist/chunks/{entry-BJY7UE6P.js → entry-HXLBVNDK.js} +6 -6
- package/dist/chunks/{eval-GG2BH7CQ.js → eval-NRBZ4IWO.js} +11 -11
- package/dist/chunks/{exec-63SUPKUV.js → exec-GCNNTGHM.js} +82 -54
- package/dist/chunks/exec-GCNNTGHM.js.map +6 -0
- package/dist/chunks/{github-MGIA7MTZ.js → github-Z3JQNLXA.js} +5 -5
- package/dist/chunks/{home-KMZDOTX5.js → home-GP3Y7F5H.js} +3 -3
- package/dist/chunks/{host-OB5CL3GG.js → host-C5GIO57R.js} +10 -10
- package/dist/chunks/{host-queries-2GQM7BTI.js → host-queries-F5Y3L7E4.js} +15 -15
- package/dist/chunks/{learn-LUEHNOMA.js → learn-5FEP65D6.js} +12 -12
- package/dist/chunks/{learn-builtin-R2Z27LDI.js → learn-builtin-HV3ASHAJ.js} +17 -17
- package/dist/chunks/{lifecycle-DCLLAROM.js → lifecycle-TMZEWFWF.js} +36 -36
- package/dist/chunks/{list-5UW5SFIX.js → list-MD6ZN2PW.js} +18 -18
- package/dist/chunks/{live-YUE4AKRQ.js → live-OVTHCQB3.js} +41 -38
- package/dist/chunks/load-ADBRLXAL.js +73 -0
- package/dist/chunks/{login-ELIGI6HT.js → login-RV3AHE4C.js} +13 -13
- package/dist/chunks/{logs-PXASK6XI.js → logs-6SBW5BWD.js} +5 -5
- package/dist/chunks/{mcp-YVV35X7H.js → mcp-3QDMZ7PD.js} +33 -33
- package/dist/chunks/{message-command-QVGOKB4W.js → message-command-TW57Q7AB.js} +57 -54
- package/dist/chunks/message-command-TW57Q7AB.js.map +6 -0
- package/dist/chunks/{open-MDT2NTF4.js → open-K4R6E6QJ.js} +8 -8
- package/dist/chunks/{operator-tools-LYY2FXSO.js → operator-tools-YX4575HD.js} +14 -14
- package/dist/chunks/{output-schema-VR43KZNJ.js → output-schema-QBKJSX77.js} +3 -3
- package/dist/chunks/{pal-YXOWNULV.js → pal-KLH2IC3W.js} +19 -19
- package/dist/chunks/{peers-CJOTRI4W.js → peers-5BMGZLHY.js} +18 -18
- package/dist/chunks/{peers-6M4UPHDF.js → peers-6F4JS4VL.js} +6 -6
- package/dist/chunks/{plugin-IVIHCAEO.js → plugin-T6ULGX5N.js} +101 -20
- package/dist/chunks/plugin-T6ULGX5N.js.map +6 -0
- package/dist/chunks/{providers-7WDY37V3.js → providers-YJVPCIRI.js} +11 -11
- package/dist/chunks/{pty-CLDDZT5T.js → pty-UMMMCRJW.js} +3 -3
- package/dist/chunks/resume-RKZ52FZP.js +23 -0
- package/dist/chunks/{resume-command-TXPTYQFF.js → resume-command-H4IJJDLH.js} +4 -4
- package/dist/chunks/{running-KBISZDIQ.js → running-UTOYIBXM.js} +5 -5
- package/dist/chunks/{schedule-ECZVNZLH.js → schedule-KWX4SXS5.js} +8 -8
- package/dist/chunks/{send-VUJ33MJM.js → send-UEL2L3VA.js} +16 -16
- package/dist/chunks/{send-person-WXM7Y5PZ.js → send-person-X3SWXKWV.js} +13 -13
- package/dist/chunks/{service-DORQ3PNE.js → service-4VS6XQ7O.js} +41 -41
- package/dist/chunks/{skills-W7KY3WX4.js → skills-LK7WSDDG.js} +45 -16
- package/dist/chunks/skills-LK7WSDDG.js.map +6 -0
- package/dist/chunks/{start-check-KECY75IO.js → start-check-HTPENJ36.js} +2 -2
- package/dist/chunks/{startup-failure-MS7TPUMI.js → startup-failure-LKAHWAYZ.js} +2 -2
- package/dist/chunks/{state-YK5JWP5I.js → state-UQPKWIYT.js} +6 -6
- package/dist/chunks/{store-TM7VDQ5G.js → store-74PEEN6L.js} +4 -4
- package/dist/chunks/{store-XIPDR26B.js → store-BY6HMUUN.js} +6 -6
- package/dist/chunks/{store-7SFKBFX6.js → store-MILGWYSA.js} +10 -10
- package/dist/chunks/{store-H4IVAEZK.js → store-UHIHEGKS.js} +3 -3
- package/dist/chunks/store-UHIHEGKS.js.map +6 -0
- package/dist/chunks/{tui-XKAQI3DD.js → tui-FOVSBYCD.js} +86 -81
- package/dist/chunks/tui-FOVSBYCD.js.map +6 -0
- package/dist/chunks/{upgrade-GLEEEZWO.js → upgrade-V5ST42EQ.js} +10 -10
- package/dist/chunks/{watch-XZKKDKAF.js → watch-Q7MSKZIA.js} +96 -91
- package/dist/chunks/watch-Q7MSKZIA.js.map +6 -0
- package/dist/chunks/{workspaces-GS6D72XT.js → workspaces-2AL72WFH.js} +19 -19
- package/dist/chunks/worktree-QPKIZBSK.js +204 -0
- package/dist/chunks/worktree-QPKIZBSK.js.map +6 -0
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/desktop-host.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/worktree.d.ts.map +1 -1
- package/dist/config/hook-common-shape.d.ts +2 -0
- package/dist/config/hook-common-shape.d.ts.map +1 -1
- package/dist/config/hook-layers.d.ts.map +1 -1
- package/dist/config/load.d.ts +25 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/skill-hooks-reader.d.ts +46 -0
- package/dist/config/skill-hooks-reader.d.ts.map +1 -0
- package/dist/doctor/checks/hooks.d.ts +7 -2
- package/dist/doctor/checks/hooks.d.ts.map +1 -1
- package/dist/index.js +44 -41
- package/dist/integrations/plugins/hook-activity.d.ts +62 -0
- package/dist/integrations/plugins/hook-activity.d.ts.map +1 -0
- package/dist/integrations/plugins/hook-entries.d.ts +92 -0
- package/dist/integrations/plugins/hook-entries.d.ts.map +1 -0
- package/dist/integrations/plugins/runtime.d.ts +52 -2
- package/dist/integrations/plugins/runtime.d.ts.map +1 -1
- package/dist/integrations/plugins/validate.d.ts.map +1 -1
- package/dist/integrations/subagents/NamzuCliAgent.d.ts +9 -1
- package/dist/integrations/subagents/NamzuCliAgent.d.ts.map +1 -1
- package/dist/integrations/subagents/agent-hooks.d.ts +116 -0
- package/dist/integrations/subagents/agent-hooks.d.ts.map +1 -0
- package/dist/integrations/subagents/definitions.d.ts +18 -0
- package/dist/integrations/subagents/definitions.d.ts.map +1 -1
- package/dist/integrations/subagents/runtime.d.ts +23 -0
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/subagents/worktree-driver.d.ts +20 -5
- package/dist/integrations/subagents/worktree-driver.d.ts.map +1 -1
- package/dist/integrations/trust/folder-grants.d.ts.map +1 -1
- package/dist/integrations/worktrees/hook-host.d.ts +23 -0
- package/dist/integrations/worktrees/hook-host.d.ts.map +1 -0
- package/dist/integrations/worktrees/managed.d.ts +20 -2
- package/dist/integrations/worktrees/managed.d.ts.map +1 -1
- package/dist/integrations/worktrees/untrusted-hook.d.ts +16 -0
- package/dist/integrations/worktrees/untrusted-hook.d.ts.map +1 -0
- package/dist/schedule/fire/fire.d.ts.map +1 -1
- package/dist/skills/audit.d.ts +11 -0
- package/dist/skills/audit.d.ts.map +1 -1
- package/dist/skills/catalog.d.ts +3 -0
- package/dist/skills/catalog.d.ts.map +1 -1
- package/dist/skills/skill-hooks.d.ts +52 -0
- package/dist/skills/skill-hooks.d.ts.map +1 -0
- package/dist/skills/store.d.ts +3 -0
- package/dist/skills/store.d.ts.map +1 -1
- package/dist/skills/use-hooks.d.ts +25 -0
- package/dist/skills/use-hooks.d.ts.map +1 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +73 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/plugin-view.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +44 -1
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/user-commands/store.d.ts +2 -0
- package/dist/user-commands/store.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/chunks/acp-IOWTKF2X.js.map +0 -6
- package/dist/chunks/agent-session-L6J5GZVX.js +0 -73
- package/dist/chunks/chunk-5I45HTKW.js.map +0 -6
- package/dist/chunks/chunk-5NDRDTNX.js.map +0 -6
- package/dist/chunks/chunk-AME342DQ.js +0 -245
- package/dist/chunks/chunk-AME342DQ.js.map +0 -6
- package/dist/chunks/chunk-HGZYNEQE.js.map +0 -6
- package/dist/chunks/chunk-KNQ7R54U.js.map +0 -6
- package/dist/chunks/chunk-LOWGGJOB.js.map +0 -6
- package/dist/chunks/chunk-UJOWXA23.js.map +0 -6
- package/dist/chunks/chunk-UMHKTV2L.js.map +0 -6
- package/dist/chunks/chunk-V7VNFYA4.js.map +0 -6
- package/dist/chunks/chunk-WSMX3IQE.js.map +0 -6
- package/dist/chunks/chunk-YELRULQ7.js.map +0 -6
- package/dist/chunks/chunk-YSKCWH72.js.map +0 -6
- package/dist/chunks/exec-63SUPKUV.js.map +0 -6
- package/dist/chunks/message-command-QVGOKB4W.js.map +0 -6
- package/dist/chunks/plugin-IVIHCAEO.js.map +0 -6
- package/dist/chunks/resume-ZRVTAGB6.js +0 -23
- package/dist/chunks/skills-W7KY3WX4.js.map +0 -6
- package/dist/chunks/tui-XKAQI3DD.js.map +0 -6
- package/dist/chunks/watch-XZKKDKAF.js.map +0 -6
- package/dist/chunks/worktree-Z456JZKA.js +0 -119
- package/dist/chunks/worktree-Z456JZKA.js.map +0 -6
- /package/dist/chunks/{activity-command-U2AOTIVF.js.map → activity-command-2QIWTUUB.js.map} +0 -0
- /package/dist/chunks/{add-YYQLPCP2.js.map → add-2YDEALUT.js.map} +0 -0
- /package/dist/chunks/{agent-WL6NX4W6.js.map → agent-IKQ67NMW.js.map} +0 -0
- /package/dist/chunks/{agent-session-L6J5GZVX.js.map → agent-session-H3OE6ZJT.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-BRXYTQVG.js.map → apply-at-exit-F4G7PCZL.js.map} +0 -0
- /package/dist/chunks/{archive-UE756BME.js.map → archive-FOTYHQPL.js.map} +0 -0
- /package/dist/chunks/{bin-main-XR2DJOI6.js.map → bin-main-DWOCG2WK.js.map} +0 -0
- /package/dist/chunks/{binding-HCIPLFUO.js.map → binding-2GEVBR5H.js.map} +0 -0
- /package/dist/chunks/{browser-7SFVCKSO.js.map → browser-WYPSIPEZ.js.map} +0 -0
- /package/dist/chunks/{chat-K6GQGRUA.js.map → chat-LWVIDEXR.js.map} +0 -0
- /package/dist/chunks/{chunk-CQKYKQEF.js.map → chunk-2CYBRCPH.js.map} +0 -0
- /package/dist/chunks/{chunk-7AWFHVMT.js.map → chunk-2Q2TPLYP.js.map} +0 -0
- /package/dist/chunks/{chunk-TYTE2GIF.js.map → chunk-2QMXCXZ2.js.map} +0 -0
- /package/dist/chunks/{chunk-Z5NMQ2YN.js.map → chunk-33WFG4C3.js.map} +0 -0
- /package/dist/chunks/{chunk-Z5FDI74K.js.map → chunk-3EEKLQXD.js.map} +0 -0
- /package/dist/chunks/{chunk-NZMKMXGG.js.map → chunk-3T5AX2PC.js.map} +0 -0
- /package/dist/chunks/{chunk-OBMHA7OP.js.map → chunk-4ASCYXSH.js.map} +0 -0
- /package/dist/chunks/{chunk-MHXJYXOF.js.map → chunk-4EBZUUE4.js.map} +0 -0
- /package/dist/chunks/{chunk-3NAVAACC.js.map → chunk-5F4SSZKS.js.map} +0 -0
- /package/dist/chunks/{chunk-RDW6L3PV.js.map → chunk-5JQIGBBR.js.map} +0 -0
- /package/dist/chunks/{chunk-HJILJSZO.js.map → chunk-6CXEEZLK.js.map} +0 -0
- /package/dist/chunks/{chunk-2U357RJS.js.map → chunk-6JKNPDZD.js.map} +0 -0
- /package/dist/chunks/{chunk-AGFGC7SI.js.map → chunk-6KIXUAOC.js.map} +0 -0
- /package/dist/chunks/{chunk-2WDF5N2A.js.map → chunk-6NUQEVHG.js.map} +0 -0
- /package/dist/chunks/{chunk-4RTQTX5R.js.map → chunk-6RTDZGPO.js.map} +0 -0
- /package/dist/chunks/{chunk-7JT7DNR7.js.map → chunk-7T6TX47O.js.map} +0 -0
- /package/dist/chunks/{chunk-SVMGV4AS.js.map → chunk-AZHBCP6G.js.map} +0 -0
- /package/dist/chunks/{chunk-POOJ2MUS.js.map → chunk-BLGPF6UL.js.map} +0 -0
- /package/dist/chunks/{chunk-F3SQRGKZ.js.map → chunk-CMHOQ62S.js.map} +0 -0
- /package/dist/chunks/{chunk-24N42TGE.js.map → chunk-D5RO75LO.js.map} +0 -0
- /package/dist/chunks/{chunk-M3AUPUII.js.map → chunk-D7JY7KNY.js.map} +0 -0
- /package/dist/chunks/{chunk-RAPO3KLG.js.map → chunk-DTORDCJR.js.map} +0 -0
- /package/dist/chunks/{chunk-O326HKCW.js.map → chunk-EADNTGVW.js.map} +0 -0
- /package/dist/chunks/{chunk-2VSICYQP.js.map → chunk-FWTWILCD.js.map} +0 -0
- /package/dist/chunks/{chunk-HUONDMU4.js.map → chunk-G4R65ULE.js.map} +0 -0
- /package/dist/chunks/{chunk-C5XQHEYB.js.map → chunk-G7LMPHZE.js.map} +0 -0
- /package/dist/chunks/{chunk-XHLFI6F6.js.map → chunk-GD7VSTWZ.js.map} +0 -0
- /package/dist/chunks/{chunk-4FV2VZS6.js.map → chunk-GZNTRTD5.js.map} +0 -0
- /package/dist/chunks/{chunk-FEIIR46G.js.map → chunk-HFZLLEJS.js.map} +0 -0
- /package/dist/chunks/{chunk-WOSL3OZD.js.map → chunk-IW3XMMEN.js.map} +0 -0
- /package/dist/chunks/{chunk-DSKNFDTL.js.map → chunk-KXUKJLA2.js.map} +0 -0
- /package/dist/chunks/{chunk-EA73SWCT.js.map → chunk-L2AKMCV3.js.map} +0 -0
- /package/dist/chunks/{chunk-Z6J7SVOB.js.map → chunk-LC7SV2KM.js.map} +0 -0
- /package/dist/chunks/{chunk-J7SA5BCI.js.map → chunk-LOUV4VZ6.js.map} +0 -0
- /package/dist/chunks/{chunk-DI4L3GH5.js.map → chunk-LQJLTW2D.js.map} +0 -0
- /package/dist/chunks/{chunk-HTHNDZ3L.js.map → chunk-LRFRTQW7.js.map} +0 -0
- /package/dist/chunks/{chunk-EKMHZKVP.js.map → chunk-MDY2IMVQ.js.map} +0 -0
- /package/dist/chunks/{chunk-NTV2XD2J.js.map → chunk-MNMKHEMI.js.map} +0 -0
- /package/dist/chunks/{chunk-ZDZ35MMZ.js.map → chunk-MTY4XYDO.js.map} +0 -0
- /package/dist/chunks/{chunk-OAHCS42A.js.map → chunk-MZURZ6P4.js.map} +0 -0
- /package/dist/chunks/{chunk-6CFPN6I4.js.map → chunk-NFKSV6UI.js.map} +0 -0
- /package/dist/chunks/{chunk-TI6FFONP.js.map → chunk-NIRQFXO6.js.map} +0 -0
- /package/dist/chunks/{chunk-QPR3UA4L.js.map → chunk-NJWQUZF2.js.map} +0 -0
- /package/dist/chunks/{chunk-EKQ6J5KA.js.map → chunk-NRGGICBE.js.map} +0 -0
- /package/dist/chunks/{chunk-ZMKEYARZ.js.map → chunk-NW6VBCCU.js.map} +0 -0
- /package/dist/chunks/{chunk-UWN4WNQZ.js.map → chunk-ORCR5VST.js.map} +0 -0
- /package/dist/chunks/{chunk-TUXH7IXQ.js.map → chunk-P6OOW3RL.js.map} +0 -0
- /package/dist/chunks/{chunk-46VSU4QF.js.map → chunk-PXA27JGJ.js.map} +0 -0
- /package/dist/chunks/{chunk-SPSWX3QZ.js.map → chunk-PXJ2KPOI.js.map} +0 -0
- /package/dist/chunks/{chunk-VVWI4EB7.js.map → chunk-QE5PQM5T.js.map} +0 -0
- /package/dist/chunks/{chunk-SHUA4YUK.js.map → chunk-QIDU76IF.js.map} +0 -0
- /package/dist/chunks/{chunk-SB3A7KUJ.js.map → chunk-QP435RW7.js.map} +0 -0
- /package/dist/chunks/{chunk-FX7BSCB4.js.map → chunk-QPAWT3EG.js.map} +0 -0
- /package/dist/chunks/{chunk-BHOZPFJM.js.map → chunk-QTPZCVPP.js.map} +0 -0
- /package/dist/chunks/{chunk-CCYAWSZL.js.map → chunk-RFGMOXA6.js.map} +0 -0
- /package/dist/chunks/{chunk-N56NUKMT.js.map → chunk-RPXTYB22.js.map} +0 -0
- /package/dist/chunks/{chunk-X6SREM2V.js.map → chunk-RXUWYGFX.js.map} +0 -0
- /package/dist/chunks/{chunk-DIWEKTYK.js.map → chunk-S5R2E5TZ.js.map} +0 -0
- /package/dist/chunks/{chunk-DOFQWVBL.js.map → chunk-T3NIOUQJ.js.map} +0 -0
- /package/dist/chunks/{chunk-LMLJ7NS5.js.map → chunk-TMOEYXPR.js.map} +0 -0
- /package/dist/chunks/{chunk-PV65WQHD.js.map → chunk-UNO2ZRXA.js.map} +0 -0
- /package/dist/chunks/{chunk-ZZNHDQAD.js.map → chunk-UNZNPAW7.js.map} +0 -0
- /package/dist/chunks/{chunk-PYSZ7JTU.js.map → chunk-URIGGSIK.js.map} +0 -0
- /package/dist/chunks/{chunk-RJWPNAYL.js.map → chunk-UWYDZYCZ.js.map} +0 -0
- /package/dist/chunks/{chunk-P5E6ITP5.js.map → chunk-VG6RBHI4.js.map} +0 -0
- /package/dist/chunks/{chunk-A47ZNTW7.js.map → chunk-VV2EHZOG.js.map} +0 -0
- /package/dist/chunks/{chunk-VYLCV6W3.js.map → chunk-WY6KOPIY.js.map} +0 -0
- /package/dist/chunks/{chunk-HOKSVFIC.js.map → chunk-XFVVJAI3.js.map} +0 -0
- /package/dist/chunks/{chunk-MYVF3JRV.js.map → chunk-XKIV3H62.js.map} +0 -0
- /package/dist/chunks/{chunk-J3PHMXN4.js.map → chunk-XLDFNUCV.js.map} +0 -0
- /package/dist/chunks/{chunk-KAPCNFMC.js.map → chunk-XODDL7OV.js.map} +0 -0
- /package/dist/chunks/{chunk-DHS5CQNC.js.map → chunk-XTVF376M.js.map} +0 -0
- /package/dist/chunks/{chunk-PSLNHLZI.js.map → chunk-YLCMBXE3.js.map} +0 -0
- /package/dist/chunks/{chunk-P7FHJL3V.js.map → chunk-YNY6XL5T.js.map} +0 -0
- /package/dist/chunks/{chunk-KO2N6EIF.js.map → chunk-YVJVXTUS.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-SVXU6U4V.js.map → cli-runtime-33Z22SZM.js.map} +0 -0
- /package/dist/chunks/{commands-A2E3OV7F.js.map → commands-DLREWCNK.js.map} +0 -0
- /package/dist/chunks/{cost-NA7APCZD.js.map → cost-MJOM52FI.js.map} +0 -0
- /package/dist/chunks/{crash-report-C6QXQJAK.js.map → crash-report-62LMID3V.js.map} +0 -0
- /package/dist/chunks/{dist-5SZ7VOLE.js.map → dist-HA6ABMIV.js.map} +0 -0
- /package/dist/chunks/{dist-GVGW7AZ2.js.map → dist-HWU5U4SQ.js.map} +0 -0
- /package/dist/chunks/{dist-HASAHQL3.js.map → dist-IL4H4QGY.js.map} +0 -0
- /package/dist/chunks/{dist-G4BSVJKY.js.map → dist-MTYIYUQU.js.map} +0 -0
- /package/dist/chunks/{dist-LBTLFSNF.js.map → dist-NUPNUHXB.js.map} +0 -0
- /package/dist/chunks/{dist-3PE5MOU6.js.map → dist-TCKNCSZO.js.map} +0 -0
- /package/dist/chunks/{dist-HYKH6P7F.js.map → dist-U7A47UOF.js.map} +0 -0
- /package/dist/chunks/{dist-6CHQ5OPZ.js.map → dist-XFBNYCQ7.js.map} +0 -0
- /package/dist/chunks/{doctor-Y5PQ2R7D.js.map → doctor-V5C6R5EN.js.map} +0 -0
- /package/dist/chunks/{drain-RG275P5J.js.map → drain-CS7XQ5B7.js.map} +0 -0
- /package/dist/chunks/{entry-BJY7UE6P.js.map → entry-HXLBVNDK.js.map} +0 -0
- /package/dist/chunks/{eval-GG2BH7CQ.js.map → eval-NRBZ4IWO.js.map} +0 -0
- /package/dist/chunks/{github-MGIA7MTZ.js.map → github-Z3JQNLXA.js.map} +0 -0
- /package/dist/chunks/{home-KMZDOTX5.js.map → home-GP3Y7F5H.js.map} +0 -0
- /package/dist/chunks/{host-OB5CL3GG.js.map → host-C5GIO57R.js.map} +0 -0
- /package/dist/chunks/{host-queries-2GQM7BTI.js.map → host-queries-F5Y3L7E4.js.map} +0 -0
- /package/dist/chunks/{learn-LUEHNOMA.js.map → learn-5FEP65D6.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-R2Z27LDI.js.map → learn-builtin-HV3ASHAJ.js.map} +0 -0
- /package/dist/chunks/{lifecycle-DCLLAROM.js.map → lifecycle-TMZEWFWF.js.map} +0 -0
- /package/dist/chunks/{list-5UW5SFIX.js.map → list-MD6ZN2PW.js.map} +0 -0
- /package/dist/chunks/{live-YUE4AKRQ.js.map → live-OVTHCQB3.js.map} +0 -0
- /package/dist/chunks/{login-ELIGI6HT.js.map → load-ADBRLXAL.js.map} +0 -0
- /package/dist/chunks/{open-MDT2NTF4.js.map → login-RV3AHE4C.js.map} +0 -0
- /package/dist/chunks/{logs-PXASK6XI.js.map → logs-6SBW5BWD.js.map} +0 -0
- /package/dist/chunks/{mcp-YVV35X7H.js.map → mcp-3QDMZ7PD.js.map} +0 -0
- /package/dist/chunks/{output-schema-VR43KZNJ.js.map → open-K4R6E6QJ.js.map} +0 -0
- /package/dist/chunks/{operator-tools-LYY2FXSO.js.map → operator-tools-YX4575HD.js.map} +0 -0
- /package/dist/chunks/{peers-6M4UPHDF.js.map → output-schema-QBKJSX77.js.map} +0 -0
- /package/dist/chunks/{pal-YXOWNULV.js.map → pal-KLH2IC3W.js.map} +0 -0
- /package/dist/chunks/{peers-CJOTRI4W.js.map → peers-5BMGZLHY.js.map} +0 -0
- /package/dist/chunks/{providers-7WDY37V3.js.map → peers-6F4JS4VL.js.map} +0 -0
- /package/dist/chunks/{pty-CLDDZT5T.js.map → providers-YJVPCIRI.js.map} +0 -0
- /package/dist/chunks/{resume-ZRVTAGB6.js.map → pty-UMMMCRJW.js.map} +0 -0
- /package/dist/chunks/{resume-command-TXPTYQFF.js.map → resume-RKZ52FZP.js.map} +0 -0
- /package/dist/chunks/{running-KBISZDIQ.js.map → resume-command-H4IJJDLH.js.map} +0 -0
- /package/dist/chunks/{send-VUJ33MJM.js.map → running-UTOYIBXM.js.map} +0 -0
- /package/dist/chunks/{schedule-ECZVNZLH.js.map → schedule-KWX4SXS5.js.map} +0 -0
- /package/dist/chunks/{send-person-WXM7Y5PZ.js.map → send-UEL2L3VA.js.map} +0 -0
- /package/dist/chunks/{start-check-KECY75IO.js.map → send-person-X3SWXKWV.js.map} +0 -0
- /package/dist/chunks/{service-DORQ3PNE.js.map → service-4VS6XQ7O.js.map} +0 -0
- /package/dist/chunks/{store-7SFKBFX6.js.map → start-check-HTPENJ36.js.map} +0 -0
- /package/dist/chunks/{startup-failure-MS7TPUMI.js.map → startup-failure-LKAHWAYZ.js.map} +0 -0
- /package/dist/chunks/{state-YK5JWP5I.js.map → state-UQPKWIYT.js.map} +0 -0
- /package/dist/chunks/{store-H4IVAEZK.js.map → store-74PEEN6L.js.map} +0 -0
- /package/dist/chunks/{store-TM7VDQ5G.js.map → store-BY6HMUUN.js.map} +0 -0
- /package/dist/chunks/{store-XIPDR26B.js.map → store-MILGWYSA.js.map} +0 -0
- /package/dist/chunks/{upgrade-GLEEEZWO.js.map → upgrade-V5ST42EQ.js.map} +0 -0
- /package/dist/chunks/{workspaces-GS6D72XT.js.map → workspaces-2AL72WFH.js.map} +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
openWorktreeHookRuntime
|
|
5
|
+
} from "./chunk-UYAI6F3R.js";
|
|
3
6
|
import {
|
|
4
7
|
NAMZU_COMPACT_WORDMARK,
|
|
5
8
|
NAMZU_WORDMARK,
|
|
@@ -11,24 +14,27 @@ import {
|
|
|
11
14
|
confirmationView,
|
|
12
15
|
describeChanges,
|
|
13
16
|
permissionsChanged
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LRFRTQW7.js";
|
|
15
18
|
import {
|
|
16
19
|
visibleScheduleMessage
|
|
17
20
|
} from "./chunk-NADQQMMG.js";
|
|
18
21
|
import {
|
|
19
22
|
selectDesktopBackend
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QIDU76IF.js";
|
|
24
|
+
import {
|
|
25
|
+
hooksOf
|
|
26
|
+
} from "./chunk-QBCGPM4E.js";
|
|
21
27
|
import {
|
|
22
28
|
applyProviderFlags
|
|
23
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4ASCYXSH.js";
|
|
24
30
|
import {
|
|
25
31
|
settleAnsweredPark
|
|
26
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YVJVXTUS.js";
|
|
27
33
|
import {
|
|
28
34
|
DELIVERY_READ_LIMIT,
|
|
29
35
|
readSourceDeliveryPage,
|
|
30
36
|
takeSuppressedCount
|
|
31
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6APCO6YC.js";
|
|
32
38
|
import {
|
|
33
39
|
DEFAULT_MAX_ITERATIONS,
|
|
34
40
|
DEFAULT_TIMEOUT_MS,
|
|
@@ -39,7 +45,7 @@ import {
|
|
|
39
45
|
editedJob,
|
|
40
46
|
previewLines,
|
|
41
47
|
runsPerDay
|
|
42
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VG6RBHI4.js";
|
|
43
49
|
import {
|
|
44
50
|
callsCount
|
|
45
51
|
} from "./chunk-OG2MLME3.js";
|
|
@@ -48,23 +54,23 @@ import {
|
|
|
48
54
|
gateRefusal,
|
|
49
55
|
scriptShellUnavailableReason,
|
|
50
56
|
verifyScheduledScript
|
|
51
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-GZNTRTD5.js";
|
|
52
58
|
import {
|
|
53
59
|
allowsCommands,
|
|
54
60
|
compileJobPolicy,
|
|
55
61
|
compileScriptCheckPolicy,
|
|
56
62
|
isPresetName
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-XLDFNUCV.js";
|
|
58
64
|
import {
|
|
59
65
|
parkedRunWords,
|
|
60
66
|
resumeCommand
|
|
61
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-NIRQFXO6.js";
|
|
62
68
|
import {
|
|
63
69
|
appendHistory,
|
|
64
70
|
nextFireOf,
|
|
65
71
|
readHistory,
|
|
66
72
|
readState
|
|
67
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-GD7VSTWZ.js";
|
|
68
74
|
import {
|
|
69
75
|
callEndpoint,
|
|
70
76
|
readEndpoint
|
|
@@ -74,7 +80,7 @@ import {
|
|
|
74
80
|
BYPASS_CONSENT_TITLE,
|
|
75
81
|
acknowledgeBypass,
|
|
76
82
|
hasAcknowledgedBypass
|
|
77
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-PXA27JGJ.js";
|
|
78
84
|
import {
|
|
79
85
|
applyFallbackFlag
|
|
80
86
|
} from "./chunk-RL2CTUF2.js";
|
|
@@ -90,13 +96,13 @@ import {
|
|
|
90
96
|
orderRange,
|
|
91
97
|
snapRange,
|
|
92
98
|
wordAt
|
|
93
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-MTY4XYDO.js";
|
|
94
100
|
import {
|
|
95
101
|
buildPeerTools,
|
|
96
102
|
openLivePeers,
|
|
97
103
|
peerMailLabel,
|
|
98
104
|
peerMailMessage
|
|
99
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-EADNTGVW.js";
|
|
100
106
|
import {
|
|
101
107
|
AUTO_CHOICE_ID,
|
|
102
108
|
PR_NONE,
|
|
@@ -110,13 +116,13 @@ import {
|
|
|
110
116
|
sectionHeading,
|
|
111
117
|
withAutoChoice,
|
|
112
118
|
writeConversationExport
|
|
113
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-NW6VBCCU.js";
|
|
114
120
|
import {
|
|
115
121
|
tuiPalDefinition,
|
|
116
122
|
tuiPalEnvironment,
|
|
117
123
|
tuiPalOwner,
|
|
118
124
|
tuiPalPreferences
|
|
119
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-S5R2E5TZ.js";
|
|
120
126
|
import {
|
|
121
127
|
isModelOnlyContext,
|
|
122
128
|
runtimeContextRowLabel
|
|
@@ -127,11 +133,11 @@ import {
|
|
|
127
133
|
goalEndingLine,
|
|
128
134
|
handedBackLines,
|
|
129
135
|
outcomeNotice
|
|
130
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-LC7SV2KM.js";
|
|
131
137
|
import {
|
|
132
138
|
claimPalConversation,
|
|
133
139
|
listPalConversations
|
|
134
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-QPAWT3EG.js";
|
|
135
141
|
import {
|
|
136
142
|
CLICK_EXPAND_HINT,
|
|
137
143
|
CLICK_FOLD_HINT,
|
|
@@ -188,7 +194,6 @@ import {
|
|
|
188
194
|
describeTranscriptWrites,
|
|
189
195
|
diffViewBody,
|
|
190
196
|
diffViewRows,
|
|
191
|
-
discoverAgentDefinitions,
|
|
192
197
|
displayPath as displayPath2,
|
|
193
198
|
estimateHistoryTokens,
|
|
194
199
|
foldOp,
|
|
@@ -241,19 +246,19 @@ import {
|
|
|
241
246
|
webLiveStatus,
|
|
242
247
|
webSettledLine,
|
|
243
248
|
withDebugDetail
|
|
244
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-F3GGSHY2.js";
|
|
245
250
|
import {
|
|
246
251
|
openManagedWorktrees,
|
|
247
252
|
worktreeOpenHint
|
|
248
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-RVXJ5MYA.js";
|
|
249
254
|
import {
|
|
250
255
|
MCP_OUTPUT_CHARS,
|
|
251
256
|
boundedMcpText,
|
|
252
257
|
validatePromptArguments
|
|
253
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-L2AKMCV3.js";
|
|
254
259
|
import {
|
|
255
260
|
openInBrowser
|
|
256
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-G7LMPHZE.js";
|
|
257
262
|
import {
|
|
258
263
|
completionNotice,
|
|
259
264
|
countAgents,
|
|
@@ -266,7 +271,7 @@ import {
|
|
|
266
271
|
resumeReviewLines,
|
|
267
272
|
runTokens,
|
|
268
273
|
settledElapsed
|
|
269
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-MNMKHEMI.js";
|
|
270
275
|
import {
|
|
271
276
|
describeBrowserStatus
|
|
272
277
|
} from "./chunk-WHODOMXA.js";
|
|
@@ -281,15 +286,15 @@ import {
|
|
|
281
286
|
import {
|
|
282
287
|
beginSubscriptionLogin,
|
|
283
288
|
parsePastedInput
|
|
284
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-TMOEYXPR.js";
|
|
285
290
|
import {
|
|
286
291
|
API_KEY_ACCOUNT_PROVIDERS,
|
|
287
292
|
openCliAccounts,
|
|
288
293
|
storedAccountSignedIn
|
|
289
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-RFGMOXA6.js";
|
|
290
295
|
import {
|
|
291
296
|
beginCodexDeviceLogin
|
|
292
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-2CYBRCPH.js";
|
|
293
298
|
import {
|
|
294
299
|
ConversationIndexRefreshError,
|
|
295
300
|
activeConversationTurn,
|
|
@@ -319,15 +324,15 @@ import {
|
|
|
319
324
|
typedTextOf,
|
|
320
325
|
unansweredReviewPark,
|
|
321
326
|
unarchiveConversation
|
|
322
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-XFVVJAI3.js";
|
|
323
328
|
import {
|
|
324
329
|
bindAccount,
|
|
325
330
|
findAccountByName,
|
|
326
331
|
isDefaultAccountId
|
|
327
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-MZURZ6P4.js";
|
|
328
333
|
import {
|
|
329
334
|
startAutoUpdate
|
|
330
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-LOUV4VZ6.js";
|
|
331
336
|
import {
|
|
332
337
|
readManifest
|
|
333
338
|
} from "./chunk-AK2U3N2A.js";
|
|
@@ -365,7 +370,7 @@ import {
|
|
|
365
370
|
turnLimitCommands,
|
|
366
371
|
useThemeEpoch,
|
|
367
372
|
useThemeSubscription
|
|
368
|
-
} from "./chunk-
|
|
373
|
+
} from "./chunk-7PDUMQ4M.js";
|
|
369
374
|
import {
|
|
370
375
|
describeAllCredentialsLogout,
|
|
371
376
|
describeApiKeyLogout,
|
|
@@ -376,7 +381,7 @@ import {
|
|
|
376
381
|
} from "./chunk-MDK4RMBQ.js";
|
|
377
382
|
import {
|
|
378
383
|
discoverUserCommands
|
|
379
|
-
} from "./chunk-
|
|
384
|
+
} from "./chunk-E7GZ5OXM.js";
|
|
380
385
|
import {
|
|
381
386
|
ScheduleConflictError,
|
|
382
387
|
confirmationHolds,
|
|
@@ -394,7 +399,7 @@ import {
|
|
|
394
399
|
} from "./chunk-OEW7CJKK.js";
|
|
395
400
|
import {
|
|
396
401
|
resolveNpmInvocation
|
|
397
|
-
} from "./chunk-
|
|
402
|
+
} from "./chunk-UNZNPAW7.js";
|
|
398
403
|
import {
|
|
399
404
|
capChoiceLines,
|
|
400
405
|
choiceDisplayText,
|
|
@@ -418,12 +423,20 @@ import {
|
|
|
418
423
|
import {
|
|
419
424
|
deleteUserConfigValue,
|
|
420
425
|
setUserConfigValue
|
|
421
|
-
} from "./chunk-
|
|
426
|
+
} from "./chunk-BLGPF6UL.js";
|
|
422
427
|
import {
|
|
423
428
|
describeCacheLifetime,
|
|
429
|
+
discoverAgentDefinitions,
|
|
424
430
|
promptCacheTtl,
|
|
425
431
|
providerOffersCacheLifetime
|
|
426
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-H7UZKOVC.js";
|
|
433
|
+
import {
|
|
434
|
+
readAgentHooks
|
|
435
|
+
} from "./chunk-DCMZYSON.js";
|
|
436
|
+
import {
|
|
437
|
+
readSkillHooks,
|
|
438
|
+
withoutSessionStart
|
|
439
|
+
} from "./chunk-3HJXXP6L.js";
|
|
427
440
|
import {
|
|
428
441
|
SAVE_SKILL_TOOL_NAME,
|
|
429
442
|
SKILL_CREATOR_SKILL,
|
|
@@ -436,14 +449,14 @@ import {
|
|
|
436
449
|
newSkillPrompt,
|
|
437
450
|
resolveTurnGuards,
|
|
438
451
|
sandboxRunsShellUnasked
|
|
439
|
-
} from "./chunk-
|
|
452
|
+
} from "./chunk-3EEKLQXD.js";
|
|
440
453
|
import {
|
|
441
454
|
describePlainInterruption,
|
|
442
455
|
describeProviderWait,
|
|
443
456
|
describeProviderWaitClock,
|
|
444
457
|
isSelfMending,
|
|
445
458
|
isSpentAllowance
|
|
446
|
-
} from "./chunk-
|
|
459
|
+
} from "./chunk-D7JY7KNY.js";
|
|
447
460
|
import {
|
|
448
461
|
debugRequested
|
|
449
462
|
} from "./chunk-GNBMKISG.js";
|
|
@@ -455,7 +468,48 @@ import {
|
|
|
455
468
|
handoffContinuationNote,
|
|
456
469
|
refusalDetail,
|
|
457
470
|
retryAfterMs
|
|
458
|
-
} from "./chunk-
|
|
471
|
+
} from "./chunk-FWTWILCD.js";
|
|
472
|
+
import {
|
|
473
|
+
autoAvailable,
|
|
474
|
+
nextCycleMode,
|
|
475
|
+
permissionModeDescription,
|
|
476
|
+
permissionModeLabel,
|
|
477
|
+
permissionModeName
|
|
478
|
+
} from "./chunk-NJWQUZF2.js";
|
|
479
|
+
import {
|
|
480
|
+
paint,
|
|
481
|
+
rowTints,
|
|
482
|
+
theme,
|
|
483
|
+
tokenColor
|
|
484
|
+
} from "./chunk-WD2F6EO3.js";
|
|
485
|
+
import {
|
|
486
|
+
expandTabs,
|
|
487
|
+
scriptText,
|
|
488
|
+
terminalDisplayText
|
|
489
|
+
} from "./chunk-I4GTRFPK.js";
|
|
490
|
+
import {
|
|
491
|
+
NO_SKILLS_FOUND,
|
|
492
|
+
composeSkillsPrompt,
|
|
493
|
+
discoverSkills,
|
|
494
|
+
loadSkillBody,
|
|
495
|
+
renderSkillRoster,
|
|
496
|
+
skillTierLabel
|
|
497
|
+
} from "./chunk-FBRYV5YN.js";
|
|
498
|
+
import {
|
|
499
|
+
primaryProvider,
|
|
500
|
+
writePreferences
|
|
501
|
+
} from "./chunk-UNO2ZRXA.js";
|
|
502
|
+
import {
|
|
503
|
+
apiKeyLogoutWord,
|
|
504
|
+
automaticChoice,
|
|
505
|
+
automaticKind,
|
|
506
|
+
canSelectModel,
|
|
507
|
+
describeAutomaticChoice,
|
|
508
|
+
discoverProviders,
|
|
509
|
+
hasApiCredential,
|
|
510
|
+
isApiKeyLogoutTarget,
|
|
511
|
+
signedInSubscriptionProviders
|
|
512
|
+
} from "./chunk-RXUWYGFX.js";
|
|
459
513
|
import {
|
|
460
514
|
COMPOSER_TRIGGER_DEFAULTS,
|
|
461
515
|
COMPOSER_TRIGGER_IDS,
|
|
@@ -486,7 +540,7 @@ import {
|
|
|
486
540
|
saveDecisionKey,
|
|
487
541
|
shouldOfferDecisionSetup,
|
|
488
542
|
writeConnection
|
|
489
|
-
} from "./chunk-
|
|
543
|
+
} from "./chunk-53UWPLAF.js";
|
|
490
544
|
import {
|
|
491
545
|
PROJECT_MCP_FILE,
|
|
492
546
|
parseMcpServerFile
|
|
@@ -499,56 +553,15 @@ import {
|
|
|
499
553
|
plural,
|
|
500
554
|
productName
|
|
501
555
|
} from "./chunk-6PWRKA5T.js";
|
|
502
|
-
import {
|
|
503
|
-
autoAvailable,
|
|
504
|
-
nextCycleMode,
|
|
505
|
-
permissionModeDescription,
|
|
506
|
-
permissionModeLabel,
|
|
507
|
-
permissionModeName
|
|
508
|
-
} from "./chunk-QPR3UA4L.js";
|
|
509
|
-
import {
|
|
510
|
-
paint,
|
|
511
|
-
rowTints,
|
|
512
|
-
theme,
|
|
513
|
-
tokenColor
|
|
514
|
-
} from "./chunk-WD2F6EO3.js";
|
|
515
556
|
import {
|
|
516
557
|
THEME_CHOICES
|
|
517
558
|
} from "./chunk-S2JWPUUH.js";
|
|
518
|
-
import {
|
|
519
|
-
expandTabs,
|
|
520
|
-
scriptText,
|
|
521
|
-
terminalDisplayText
|
|
522
|
-
} from "./chunk-I4GTRFPK.js";
|
|
523
559
|
import {
|
|
524
560
|
isFullWidth,
|
|
525
561
|
isWide,
|
|
526
562
|
stringWidth,
|
|
527
563
|
stripAnsi
|
|
528
564
|
} from "./chunk-U5UV2YRE.js";
|
|
529
|
-
import {
|
|
530
|
-
NO_SKILLS_FOUND,
|
|
531
|
-
composeSkillsPrompt,
|
|
532
|
-
discoverSkills,
|
|
533
|
-
loadSkillBody,
|
|
534
|
-
renderSkillRoster,
|
|
535
|
-
skillTierLabel
|
|
536
|
-
} from "./chunk-HGZYNEQE.js";
|
|
537
|
-
import {
|
|
538
|
-
primaryProvider,
|
|
539
|
-
writePreferences
|
|
540
|
-
} from "./chunk-PV65WQHD.js";
|
|
541
|
-
import {
|
|
542
|
-
apiKeyLogoutWord,
|
|
543
|
-
automaticChoice,
|
|
544
|
-
automaticKind,
|
|
545
|
-
canSelectModel,
|
|
546
|
-
describeAutomaticChoice,
|
|
547
|
-
discoverProviders,
|
|
548
|
-
hasApiCredential,
|
|
549
|
-
isApiKeyLogoutTarget,
|
|
550
|
-
signedInSubscriptionProviders
|
|
551
|
-
} from "./chunk-X6SREM2V.js";
|
|
552
565
|
import {
|
|
553
566
|
ALL_PROVIDER_IDS,
|
|
554
567
|
PROVIDER_REGISTRY,
|
|
@@ -559,11 +572,11 @@ import {
|
|
|
559
572
|
import {
|
|
560
573
|
isAnthropicOAuthToken,
|
|
561
574
|
readCodexCredentialFile
|
|
562
|
-
} from "./chunk-
|
|
575
|
+
} from "./chunk-ORCR5VST.js";
|
|
563
576
|
import {
|
|
564
577
|
isTrusted,
|
|
565
578
|
trustDir
|
|
566
|
-
} from "./chunk-
|
|
579
|
+
} from "./chunk-CMHOQ62S.js";
|
|
567
580
|
import {
|
|
568
581
|
apiKeysPath,
|
|
569
582
|
clearAllStoredApiKeys,
|
|
@@ -581,10 +594,10 @@ import {
|
|
|
581
594
|
readStoredSubscriptionCredential,
|
|
582
595
|
writeStoredApiKey,
|
|
583
596
|
writeStoredGeminiApiKey
|
|
584
|
-
} from "./chunk-
|
|
597
|
+
} from "./chunk-NFKSV6UI.js";
|
|
585
598
|
import {
|
|
586
599
|
namzuHomePath
|
|
587
|
-
} from "./chunk-
|
|
600
|
+
} from "./chunk-5F4SSZKS.js";
|
|
588
601
|
import {
|
|
589
602
|
ACCEPT_EDITS_TOOLS,
|
|
590
603
|
AccountRegistryError,
|
|
@@ -631,6 +644,7 @@ import {
|
|
|
631
644
|
mustAskPerson,
|
|
632
645
|
nextFireTime,
|
|
633
646
|
parseAccountId,
|
|
647
|
+
parseAgentMarkdown,
|
|
634
648
|
parseHandBack,
|
|
635
649
|
parseScheduleSpec,
|
|
636
650
|
parseTurnOutcome,
|
|
@@ -644,7 +658,7 @@ import {
|
|
|
644
658
|
validateTimeZone,
|
|
645
659
|
wakeBudgetFromEnv,
|
|
646
660
|
wrapUntrusted
|
|
647
|
-
} from "./chunk-
|
|
661
|
+
} from "./chunk-C74LVDRC.js";
|
|
648
662
|
import {
|
|
649
663
|
__commonJS,
|
|
650
664
|
__export,
|
|
@@ -20558,7 +20572,7 @@ __name(useTerminalFocused, "useTerminalFocused");
|
|
|
20558
20572
|
// src/tui/App.tsx
|
|
20559
20573
|
import { existsSync as existsSync4, rmSync as rmSync2 } from "node:fs";
|
|
20560
20574
|
import { homedir } from "node:os";
|
|
20561
|
-
import { join as
|
|
20575
|
+
import { join as join11, relative as relative4, resolve as resolve8 } from "node:path";
|
|
20562
20576
|
var import_react60 = __toESM(require_react(), 1);
|
|
20563
20577
|
|
|
20564
20578
|
// src/tui/system-rows.ts
|
|
@@ -21012,22 +21026,22 @@ function workflowRowVariants(workflow, now) {
|
|
|
21012
21026
|
const spent = workflow.tokens === void 0 ? void 0 : formatCompactCount(workflow.tokens);
|
|
21013
21027
|
const tokens = spent && `\u2193 ${spent} tokens`;
|
|
21014
21028
|
const warning = workflow.large ? LARGE_WORKFLOW_WARNING : void 0;
|
|
21015
|
-
const
|
|
21029
|
+
const join12 = /* @__PURE__ */ __name((parts) => parts.filter((part) => part !== void 0).join(" \xB7 "), "join");
|
|
21016
21030
|
const [wide, ...narrower] = WORKFLOW_BAR_WIDTHS;
|
|
21017
21031
|
const few = WORKFLOW_BAR_WIDTHS[WORKFLOW_BAR_WIDTHS.length - 1];
|
|
21018
21032
|
const variants = [
|
|
21019
21033
|
...railPhaseTexts(workflow.runningPhases).map((phases) => ({
|
|
21020
21034
|
barWidth: wide,
|
|
21021
|
-
text:
|
|
21035
|
+
text: join12([count2, elapsed2, tokens, warning, phases])
|
|
21022
21036
|
})),
|
|
21023
|
-
{ barWidth: wide, text:
|
|
21037
|
+
{ barWidth: wide, text: join12([count2, elapsed2, tokens, warning]) },
|
|
21024
21038
|
...narrower.map((barWidth) => ({
|
|
21025
21039
|
barWidth,
|
|
21026
|
-
text:
|
|
21040
|
+
text: join12([count2, elapsed2, tokens, warning])
|
|
21027
21041
|
})),
|
|
21028
|
-
{ barWidth: few, text:
|
|
21029
|
-
{ barWidth: few, text:
|
|
21030
|
-
{ barWidth: 0, text:
|
|
21042
|
+
{ barWidth: few, text: join12([count2, elapsed2, warning]) },
|
|
21043
|
+
{ barWidth: few, text: join12([count2, elapsed2]) },
|
|
21044
|
+
{ barWidth: 0, text: join12([count2, elapsed2]) },
|
|
21031
21045
|
{ barWidth: 0, text: count2 }
|
|
21032
21046
|
];
|
|
21033
21047
|
return variants.filter(
|
|
@@ -25942,7 +25956,7 @@ function Markdown({
|
|
|
25942
25956
|
text,
|
|
25943
25957
|
color = theme.text.primary,
|
|
25944
25958
|
hyperlinks = false,
|
|
25945
|
-
join:
|
|
25959
|
+
join: join12 = "block",
|
|
25946
25960
|
lang,
|
|
25947
25961
|
fence,
|
|
25948
25962
|
lead = null,
|
|
@@ -25951,9 +25965,9 @@ function Markdown({
|
|
|
25951
25965
|
const cache3 = (0, import_react39.useRef)(void 0);
|
|
25952
25966
|
cache3.current ??= createBlockCache();
|
|
25953
25967
|
const shown = terminalDisplayText(text);
|
|
25954
|
-
const source =
|
|
25968
|
+
const source = join12 === "code" ? `${fence ?? `\`\`\`${lang ?? ""}`}
|
|
25955
25969
|
${shown}` : shown;
|
|
25956
|
-
const blocks = cache3.current.parse(source,
|
|
25970
|
+
const blocks = cache3.current.parse(source, join12 === "text" ? "text" : void 0);
|
|
25957
25971
|
const width = useContentWidth();
|
|
25958
25972
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
25959
25973
|
BlockList,
|
|
@@ -25962,7 +25976,7 @@ ${shown}` : shown;
|
|
|
25962
25976
|
color,
|
|
25963
25977
|
hyperlinks,
|
|
25964
25978
|
width,
|
|
25965
|
-
lead:
|
|
25979
|
+
lead: join12 === "block" ? lead : "join",
|
|
25966
25980
|
flow
|
|
25967
25981
|
}
|
|
25968
25982
|
);
|
|
@@ -29062,8 +29076,8 @@ async function askSideQuestion(input) {
|
|
|
29062
29076
|
__name(askSideQuestion, "askSideQuestion");
|
|
29063
29077
|
|
|
29064
29078
|
// src/integrations/trust/folder-grants.ts
|
|
29065
|
-
import { readFileSync as readFileSync3 } from "node:fs";
|
|
29066
|
-
import { resolve } from "node:path";
|
|
29079
|
+
import { readFileSync as readFileSync3, readdirSync } from "node:fs";
|
|
29080
|
+
import { isAbsolute as isAbsolute2, join as join5, relative, resolve } from "node:path";
|
|
29067
29081
|
var FILES = ["namzu.config.json", "namzu.config.local.json"];
|
|
29068
29082
|
var MAX_SHOWN_GRANT_RULES = 8;
|
|
29069
29083
|
var MAX_HOOK_RUNS_CHARS = 200;
|
|
@@ -29104,6 +29118,10 @@ function describeHooks(config) {
|
|
|
29104
29118
|
} else if (typeof spec.command === "string") {
|
|
29105
29119
|
const args = Array.isArray(spec.args) ? spec.args.filter((arg) => typeof arg === "string") : [];
|
|
29106
29120
|
runs = [spec.command, ...args].join(" ");
|
|
29121
|
+
if (spec.env !== null && typeof spec.env === "object" && !Array.isArray(spec.env)) {
|
|
29122
|
+
const names = Object.keys(spec.env);
|
|
29123
|
+
if (names.length > 0) runs = `${runs} (sets ${names.join(", ")})`;
|
|
29124
|
+
}
|
|
29107
29125
|
}
|
|
29108
29126
|
if (runs === void 0) continue;
|
|
29109
29127
|
const flat = runs.replace(/\s+/g, " ").trim();
|
|
@@ -29125,6 +29143,99 @@ function readObject(path) {
|
|
|
29125
29143
|
}
|
|
29126
29144
|
}
|
|
29127
29145
|
__name(readObject, "readObject");
|
|
29146
|
+
function describePluginHooks(cwd2) {
|
|
29147
|
+
const root = resolve(cwd2, ".namzu", "plugins");
|
|
29148
|
+
let names;
|
|
29149
|
+
try {
|
|
29150
|
+
names = readdirSync(root).sort();
|
|
29151
|
+
} catch {
|
|
29152
|
+
return [];
|
|
29153
|
+
}
|
|
29154
|
+
const out = [];
|
|
29155
|
+
for (const name of names) {
|
|
29156
|
+
const folder = join5(root, name);
|
|
29157
|
+
const manifest = readObject(join5(folder, "plugin.json"));
|
|
29158
|
+
if (!manifest) continue;
|
|
29159
|
+
const label = typeof manifest.name === "string" ? manifest.name : name;
|
|
29160
|
+
const files = ["hooks/hooks.json"];
|
|
29161
|
+
if (Array.isArray(manifest.hooks)) {
|
|
29162
|
+
for (const path of manifest.hooks) {
|
|
29163
|
+
if (typeof path === "string" && path.toLowerCase().endsWith(".json")) files.push(path);
|
|
29164
|
+
}
|
|
29165
|
+
}
|
|
29166
|
+
const blocks = [];
|
|
29167
|
+
for (const file of new Set(files)) {
|
|
29168
|
+
const path = resolve(folder, file);
|
|
29169
|
+
const inside = relative(folder, path);
|
|
29170
|
+
if (inside.startsWith("..") || isAbsolute2(inside)) continue;
|
|
29171
|
+
const value = readObject(path);
|
|
29172
|
+
if (value) blocks.push(value);
|
|
29173
|
+
}
|
|
29174
|
+
if (manifest.hookEntries !== null && typeof manifest.hookEntries === "object") {
|
|
29175
|
+
blocks.push(manifest.hookEntries);
|
|
29176
|
+
}
|
|
29177
|
+
for (const block of blocks) {
|
|
29178
|
+
const events = block.hooks !== null && typeof block.hooks === "object" && !Array.isArray(block.hooks) ? block.hooks : block;
|
|
29179
|
+
for (const grant of describeHooks({ hooks: events })) {
|
|
29180
|
+
out.push({ event: grant.event, runs: `${grant.runs} (plugin ${label})` });
|
|
29181
|
+
}
|
|
29182
|
+
}
|
|
29183
|
+
}
|
|
29184
|
+
return out;
|
|
29185
|
+
}
|
|
29186
|
+
__name(describePluginHooks, "describePluginHooks");
|
|
29187
|
+
function describeSkillHooks(cwd2) {
|
|
29188
|
+
const out = [];
|
|
29189
|
+
for (const skill of discoverSkills({ cwd: cwd2 })) {
|
|
29190
|
+
if (skill.source !== "project" || skill.hooksSource === void 0) continue;
|
|
29191
|
+
const read = withoutSessionStart(readSkillHooks(skill.hooksSource, `skill ${skill.name}`));
|
|
29192
|
+
const config = { hooks: read.hooks };
|
|
29193
|
+
for (const grant of describeHooks(config)) {
|
|
29194
|
+
out.push({ ...grant, event: `${grant.event} (skill ${skill.name})` });
|
|
29195
|
+
}
|
|
29196
|
+
if (read.guardLost) {
|
|
29197
|
+
out.push({
|
|
29198
|
+
event: `skill ${skill.name}`,
|
|
29199
|
+
runs: "hooks that cannot be loaded; its tools are not pre-approved"
|
|
29200
|
+
});
|
|
29201
|
+
}
|
|
29202
|
+
}
|
|
29203
|
+
return out;
|
|
29204
|
+
}
|
|
29205
|
+
__name(describeSkillHooks, "describeSkillHooks");
|
|
29206
|
+
function describeAgentHooks(cwd2) {
|
|
29207
|
+
const out = [];
|
|
29208
|
+
const dir = join5(cwd2, ".namzu", "agents");
|
|
29209
|
+
let files;
|
|
29210
|
+
try {
|
|
29211
|
+
files = readdirSync(dir, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".md")).map((entry) => entry.name).sort();
|
|
29212
|
+
} catch {
|
|
29213
|
+
return out;
|
|
29214
|
+
}
|
|
29215
|
+
for (const file of files) {
|
|
29216
|
+
const path = join5(dir, file);
|
|
29217
|
+
let text;
|
|
29218
|
+
try {
|
|
29219
|
+
text = readFileSync3(path, "utf8");
|
|
29220
|
+
} catch {
|
|
29221
|
+
continue;
|
|
29222
|
+
}
|
|
29223
|
+
const found = parseAgentMarkdown(text, path, "project");
|
|
29224
|
+
if ("reason" in found || found.hooksSource === void 0) continue;
|
|
29225
|
+
const read = readAgentHooks(found.hooksSource, found.name);
|
|
29226
|
+
for (const grant of describeHooks({ hooks: read.hooks })) {
|
|
29227
|
+
out.push({ ...grant, event: `${grant.event} (agent ${found.name})` });
|
|
29228
|
+
}
|
|
29229
|
+
if (read.guardLost) {
|
|
29230
|
+
out.push({
|
|
29231
|
+
event: `agent ${found.name}`,
|
|
29232
|
+
runs: "hooks that cannot be loaded; the agent is not offered"
|
|
29233
|
+
});
|
|
29234
|
+
}
|
|
29235
|
+
}
|
|
29236
|
+
return out;
|
|
29237
|
+
}
|
|
29238
|
+
__name(describeAgentHooks, "describeAgentHooks");
|
|
29128
29239
|
function readFolderGrants(cwd2) {
|
|
29129
29240
|
const allowRules = [];
|
|
29130
29241
|
const directories = [];
|
|
@@ -29150,6 +29261,15 @@ function readFolderGrants(cwd2) {
|
|
|
29150
29261
|
}
|
|
29151
29262
|
}
|
|
29152
29263
|
}
|
|
29264
|
+
hooks.push(...describePluginHooks(cwd2));
|
|
29265
|
+
try {
|
|
29266
|
+
hooks.push(...describeSkillHooks(cwd2));
|
|
29267
|
+
} catch {
|
|
29268
|
+
}
|
|
29269
|
+
try {
|
|
29270
|
+
hooks.push(...describeAgentHooks(cwd2));
|
|
29271
|
+
} catch {
|
|
29272
|
+
}
|
|
29153
29273
|
let toolServers = [];
|
|
29154
29274
|
try {
|
|
29155
29275
|
const declared = parseMcpServerFile(
|
|
@@ -30167,7 +30287,7 @@ __name(loadImageFiles, "loadImageFiles");
|
|
|
30167
30287
|
// src/integrations/clipboard/image.ts
|
|
30168
30288
|
import { spawn as spawn3 } from "node:child_process";
|
|
30169
30289
|
import { readFile as readFile2, rm } from "node:fs/promises";
|
|
30170
|
-
import { join as
|
|
30290
|
+
import { join as join6 } from "node:path";
|
|
30171
30291
|
var MAX_IMAGE_BASE64_BYTES = 5 * 1024 * 1024;
|
|
30172
30292
|
function imageFitsProvider(image2) {
|
|
30173
30293
|
return image2.data.length <= MAX_IMAGE_BASE64_BYTES;
|
|
@@ -30368,7 +30488,7 @@ async function readLinux(run4, wsl, readText, fit2) {
|
|
|
30368
30488
|
__name(readLinux, "readLinux");
|
|
30369
30489
|
async function readMac(run4, fit2) {
|
|
30370
30490
|
const dir = await createTempDir("clip-");
|
|
30371
|
-
const file =
|
|
30491
|
+
const file = join6(dir, "clip.png");
|
|
30372
30492
|
try {
|
|
30373
30493
|
const result = await run4(
|
|
30374
30494
|
"osascript",
|
|
@@ -39411,7 +39531,7 @@ __name(editablePrompts, "editablePrompts");
|
|
|
39411
39531
|
// src/tui/external-editor.ts
|
|
39412
39532
|
import { spawn as spawn4 } from "node:child_process";
|
|
39413
39533
|
import { lstat, mkdtemp, readFile as readFile4, rm as rm2, writeFile } from "node:fs/promises";
|
|
39414
|
-
import { join as
|
|
39534
|
+
import { join as join7 } from "node:path";
|
|
39415
39535
|
var MAX_EDITED_DRAFT_BYTES = 4 * 1024 * 1024;
|
|
39416
39536
|
var ExternalEditorError = class extends Error {
|
|
39417
39537
|
static {
|
|
@@ -39497,8 +39617,8 @@ __name(resolveExternalEditorCommand, "resolveExternalEditorCommand");
|
|
|
39497
39617
|
async function editDraftInExternalEditor(seed, options) {
|
|
39498
39618
|
options.signal?.throwIfAborted();
|
|
39499
39619
|
const command = resolveExternalEditorCommand(options.env, options.pressed);
|
|
39500
|
-
const directory = options.temporaryRoot === void 0 ? await createTempDir("editor-") : await mkdtemp(
|
|
39501
|
-
const draftPath =
|
|
39620
|
+
const directory = options.temporaryRoot === void 0 ? await createTempDir("editor-") : await mkdtemp(join7(options.temporaryRoot, "namzu-editor-"));
|
|
39621
|
+
const draftPath = join7(directory, "draft.md");
|
|
39502
39622
|
let edited;
|
|
39503
39623
|
let failure;
|
|
39504
39624
|
try {
|
|
@@ -39581,7 +39701,7 @@ async function fastModeBlocker(providerId, model, now = Date.now(), otherHost =
|
|
|
39581
39701
|
return `Fast mode is offered on the vendor's own endpoint only, and requests here go to ${otherHost}.`;
|
|
39582
39702
|
}
|
|
39583
39703
|
if (!model) return "Fast mode needs a model; pick one with /model.";
|
|
39584
|
-
const { resolveFastModeVerdict } = await import("./dist-
|
|
39704
|
+
const { resolveFastModeVerdict } = await import("./dist-MTYIYUQU.js");
|
|
39585
39705
|
const verdict = resolveFastModeVerdict(model, now);
|
|
39586
39706
|
return verdict.ok ? void 0 : verdict.reason;
|
|
39587
39707
|
}
|
|
@@ -41688,7 +41808,7 @@ var AskQueue = class {
|
|
|
41688
41808
|
};
|
|
41689
41809
|
|
|
41690
41810
|
// src/tui/plugin-view.ts
|
|
41691
|
-
import { join as
|
|
41811
|
+
import { join as join8 } from "node:path";
|
|
41692
41812
|
function pluginOption(plugin) {
|
|
41693
41813
|
return {
|
|
41694
41814
|
label: plugin.name,
|
|
@@ -41699,7 +41819,7 @@ function pluginOption(plugin) {
|
|
|
41699
41819
|
}
|
|
41700
41820
|
__name(pluginOption, "pluginOption");
|
|
41701
41821
|
function pluginSummary(plugin) {
|
|
41702
|
-
return `${plugin.status} \xB7 ${plugin.scope} \xB7 ${plugin.tools.length} tool${plugin.tools.length === 1 ? "" : "s"} \xB7 ${plugin.skills.length} skill${plugin.skills.length === 1 ? "" : "s"}`;
|
|
41822
|
+
return `${plugin.status} \xB7 ${plugin.scope} \xB7 ${plugin.tools.length} tool${plugin.tools.length === 1 ? "" : "s"} \xB7 ${plugin.skills.length} skill${plugin.skills.length === 1 ? "" : "s"}${(plugin.hookEntries ?? 0) > 0 ? ` \xB7 ${plugin.hookEntries} hook entr${plugin.hookEntries === 1 ? "y" : "ies"}` : ""}`;
|
|
41703
41823
|
}
|
|
41704
41824
|
__name(pluginSummary, "pluginSummary");
|
|
41705
41825
|
function pluginDetails(plugin) {
|
|
@@ -41713,6 +41833,7 @@ function pluginDetails(plugin) {
|
|
|
41713
41833
|
`Registered tools: ${plugin.tools.join(", ") || "none"}`,
|
|
41714
41834
|
`Registered skills: ${plugin.skills.join(", ") || "none"}`,
|
|
41715
41835
|
`Declared hook modules: ${plugin.hookModules.join(", ") || "none"}`,
|
|
41836
|
+
`Hook entries (commands, addresses, prompts it ships): ${(plugin.hookEntries ?? 0) === 0 ? "none" : `${plugin.hookEntries}, listed by /hooks while the plugin is enabled`}`,
|
|
41716
41837
|
`Declared MCP servers: ${plugin.mcpServers.join(", ") || "none"}`,
|
|
41717
41838
|
`Slash commands: ${plugin.commands.map((name) => `/${name}`).join(", ") || "none"}`,
|
|
41718
41839
|
`Agents: ${plugin.agents.join(", ") || "none"}`,
|
|
@@ -41731,9 +41852,9 @@ function emptyPluginReport(config, cwd2) {
|
|
|
41731
41852
|
const reason = config?.enabled !== true ? "Plugins are off. Set plugins.enabled: true in your Namzu configuration to load trusted plugins at startup." : config.autoDiscovery === false ? "Plugin discovery is off (plugins.autoDiscovery: false)." : scopes.length === 0 ? "No plugin scopes are allowed (plugins.allowedScopes: [])." : "No plugins are loaded in this conversation.";
|
|
41732
41853
|
return [
|
|
41733
41854
|
reason,
|
|
41734
|
-
`Configuration: ${
|
|
41735
|
-
...scopes.includes("project") ? [`Project plugins: ${
|
|
41736
|
-
...scopes.includes("user") ? [`User plugins: ${
|
|
41855
|
+
`Configuration: ${join8(home, "config.yaml")}`,
|
|
41856
|
+
...scopes.includes("project") ? [`Project plugins: ${join8(cwd2, ".namzu", "plugins")}`] : [],
|
|
41857
|
+
...scopes.includes("user") ? [`User plugins: ${join8(home, "plugins")}`] : [],
|
|
41737
41858
|
"Each plugin directory contains plugin.json. Only Namzu plugin manifests are supported.",
|
|
41738
41859
|
"Tools, hooks and MCP servers can execute code. Enable only plugins you trust, then restart Namzu."
|
|
41739
41860
|
].map(choiceDisplayText).join("\n");
|
|
@@ -42345,7 +42466,7 @@ function noResumeText(input) {
|
|
|
42345
42466
|
__name(noResumeText, "noResumeText");
|
|
42346
42467
|
|
|
42347
42468
|
// src/tui/schedule/host-commands.ts
|
|
42348
|
-
import { isAbsolute as
|
|
42469
|
+
import { isAbsolute as isAbsolute3, relative as relative2, resolve as resolve3 } from "node:path";
|
|
42349
42470
|
|
|
42350
42471
|
// src/tui/schedule/loop-host.ts
|
|
42351
42472
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
@@ -42621,8 +42742,8 @@ async function confirmInTui(ctx, job, verb) {
|
|
|
42621
42742
|
if (ctx.review) {
|
|
42622
42743
|
const roots2 = [ctx.cwd, ...ctx.extraRoots ?? []];
|
|
42623
42744
|
const outside = job.workspace !== "none" && !roots2.some((root) => {
|
|
42624
|
-
const rel =
|
|
42625
|
-
return rel === "" || !rel.startsWith("..") && !
|
|
42745
|
+
const rel = relative2(root, job.folder.canonical);
|
|
42746
|
+
return rel === "" || !rel.startsWith("..") && !isAbsolute3(rel);
|
|
42626
42747
|
});
|
|
42627
42748
|
const hasScript = runKind !== "agent";
|
|
42628
42749
|
const networkCapable = policy.network || job.permissions.execution === "host" && (hasScript || allowsCommands(job.permissions));
|
|
@@ -43152,7 +43273,7 @@ __name(prepareScheduledResume, "prepareScheduledResume");
|
|
|
43152
43273
|
|
|
43153
43274
|
// src/tui/schedule/startup.ts
|
|
43154
43275
|
import { readFileSync as readFileSync6 } from "node:fs";
|
|
43155
|
-
import { join as
|
|
43276
|
+
import { join as join9 } from "node:path";
|
|
43156
43277
|
function ago(ms) {
|
|
43157
43278
|
if (ms < 36e5) return `${Math.max(1, Math.round(ms / 6e4))} min`;
|
|
43158
43279
|
if (ms < 1728e5) return `${Math.round(ms / 36e5)} h`;
|
|
@@ -43234,7 +43355,7 @@ function scheduleStartupLine(home, cwd2, now = Date.now()) {
|
|
|
43234
43355
|
parts.push("The scheduler is installed but has not started \u2014 namzu schedule status");
|
|
43235
43356
|
}
|
|
43236
43357
|
}
|
|
43237
|
-
const suppressed = takeSuppressedCount(
|
|
43358
|
+
const suppressed = takeSuppressedCount(join9(paths.daemon, "notify.json"));
|
|
43238
43359
|
if (suppressed > 0)
|
|
43239
43360
|
parts.push(
|
|
43240
43361
|
`${plural(suppressed, "scheduled notification")} ${suppressed === 1 ? "was" : "were"} held back`
|
|
@@ -43253,10 +43374,10 @@ __name(scheduleStartupLine, "scheduleStartupLine");
|
|
|
43253
43374
|
|
|
43254
43375
|
// src/tui/schedule/tool-host.ts
|
|
43255
43376
|
import { realpathSync as realpathSync3 } from "node:fs";
|
|
43256
|
-
import { isAbsolute as
|
|
43377
|
+
import { isAbsolute as isAbsolute4, relative as relative3, resolve as resolve5 } from "node:path";
|
|
43257
43378
|
function within(root, path) {
|
|
43258
|
-
const rel =
|
|
43259
|
-
return rel === "" || !rel.startsWith("..") && !
|
|
43379
|
+
const rel = relative3(root, path);
|
|
43380
|
+
return rel === "" || !rel.startsWith("..") && !isAbsolute4(rel);
|
|
43260
43381
|
}
|
|
43261
43382
|
__name(within, "within");
|
|
43262
43383
|
function canonicalCwd(cwd2) {
|
|
@@ -44307,11 +44428,11 @@ __name(setSkillSuggestions, "setSkillSuggestions");
|
|
|
44307
44428
|
|
|
44308
44429
|
// src/tui/skills/suggestion-ledger.ts
|
|
44309
44430
|
import { mkdirSync as mkdirSync4, readFileSync as readFileSync7, renameSync as renameSync3, writeFileSync as writeFileSync3 } from "node:fs";
|
|
44310
|
-
import { dirname, join as
|
|
44431
|
+
import { dirname, join as join10 } from "node:path";
|
|
44311
44432
|
var SUGGESTION_IGNORE_LIMIT = 3;
|
|
44312
44433
|
var FRESH_LEDGER = { v: 1, unanswered: 0, stopped: false };
|
|
44313
44434
|
function suggestionLedgerPath(namzuHome) {
|
|
44314
|
-
return
|
|
44435
|
+
return join10(namzuHome, "skills", ".suggestions.json");
|
|
44315
44436
|
}
|
|
44316
44437
|
__name(suggestionLedgerPath, "suggestionLedgerPath");
|
|
44317
44438
|
function readSuggestionLedger(namzuHome) {
|
|
@@ -48339,7 +48460,7 @@ ${blocks.join("\n\n")}`;
|
|
|
48339
48460
|
const scope = scopeRef.current;
|
|
48340
48461
|
if (!sessions || !scope || !conversationMaterializedRef.current) return void 0;
|
|
48341
48462
|
try {
|
|
48342
|
-
return
|
|
48463
|
+
return join11(sessions.paths.sessionDir({ sessionId: scope.sessionId }), "loops.json");
|
|
48343
48464
|
} catch {
|
|
48344
48465
|
return void 0;
|
|
48345
48466
|
}
|
|
@@ -49513,6 +49634,19 @@ ${blocks.join("\n\n")}`;
|
|
|
49513
49634
|
},
|
|
49514
49635
|
[pushMessage, pushSystem]
|
|
49515
49636
|
);
|
|
49637
|
+
const attachSkillHooks = (0, import_react60.useCallback)(
|
|
49638
|
+
(skill) => {
|
|
49639
|
+
if (!session?.skillHooks) {
|
|
49640
|
+
pushMessage(
|
|
49641
|
+
"system",
|
|
49642
|
+
`Skill ${skill.name} carries hooks, but this session has no hook runtime, so they are not attached.`
|
|
49643
|
+
);
|
|
49644
|
+
return;
|
|
49645
|
+
}
|
|
49646
|
+
session.skillHooks.use(skill);
|
|
49647
|
+
},
|
|
49648
|
+
[session, pushMessage]
|
|
49649
|
+
);
|
|
49516
49650
|
const activateSkill = (0, import_react60.useCallback)(
|
|
49517
49651
|
(name) => {
|
|
49518
49652
|
const info = discoverSkills({
|
|
@@ -49530,12 +49664,14 @@ ${blocks.join("\n\n")}`;
|
|
|
49530
49664
|
{ name: info.name, body }
|
|
49531
49665
|
]);
|
|
49532
49666
|
conversationLearning().skillUsed = true;
|
|
49667
|
+
const carried = hooksOf(info);
|
|
49668
|
+
if (carried) attachSkillHooks(carried);
|
|
49533
49669
|
pushMessage("system", `Activated skill: ${info.name}`);
|
|
49534
49670
|
} catch (error) {
|
|
49535
49671
|
pushSystem("error", explainFailure(error, `Could not load skill "${name}".`));
|
|
49536
49672
|
}
|
|
49537
49673
|
},
|
|
49538
|
-
[conversationLearning, ctx.cwd, ctx.skills, pushMessage, pushSystem]
|
|
49674
|
+
[attachSkillHooks, conversationLearning, ctx.cwd, ctx.skills, pushMessage, pushSystem]
|
|
49539
49675
|
);
|
|
49540
49676
|
const removeStoredCredential = (0, import_react60.useCallback)(
|
|
49541
49677
|
(target) => {
|
|
@@ -50580,6 +50716,7 @@ ${blocks.join("\n\n")}`;
|
|
|
50580
50716
|
...activeCtx.web ? { web: activeCtx.web } : {},
|
|
50581
50717
|
...activeCtx.smallModel ? { smallModel: activeCtx.smallModel } : {},
|
|
50582
50718
|
...activeCtx.hooks ? { hooks: activeCtx.hooks } : {},
|
|
50719
|
+
...activeCtx.hooksSwitch ? { hooksSwitch: activeCtx.hooksSwitch } : {},
|
|
50583
50720
|
...activeCtx.compaction ? { compaction: activeCtx.compaction } : {},
|
|
50584
50721
|
...activeCtx.memory ? { memory: activeCtx.memory } : {},
|
|
50585
50722
|
...activeCtx.workflow ? { workflow: activeCtx.workflow } : {},
|
|
@@ -50740,13 +50877,13 @@ ${blocks.join("\n\n")}`;
|
|
|
50740
50877
|
)) {
|
|
50741
50878
|
pushMessage(
|
|
50742
50879
|
"system",
|
|
50743
|
-
`Project instructions: ${s.instructionFiles.map((p) =>
|
|
50880
|
+
`Project instructions: ${s.instructionFiles.map((p) => relative4(activeCtx.cwd, p) || p).join(", ")}`
|
|
50744
50881
|
);
|
|
50745
50882
|
}
|
|
50746
50883
|
for (const skip of s.skippedInstructionFiles) {
|
|
50747
50884
|
pushMessage(
|
|
50748
50885
|
"system",
|
|
50749
|
-
`Skipped ${
|
|
50886
|
+
`Skipped ${relative4(activeCtx.cwd, skip.path) || skip.path}: ${skip.reason}`
|
|
50750
50887
|
);
|
|
50751
50888
|
}
|
|
50752
50889
|
const reportedToolServers = /* @__PURE__ */ new Set();
|
|
@@ -51309,6 +51446,22 @@ ${blocks.join("\n\n")}`;
|
|
|
51309
51446
|
hooks: /* @__PURE__ */ __name(() => session?.hooks, "hooks"),
|
|
51310
51447
|
hooksView: /* @__PURE__ */ __name(() => ({
|
|
51311
51448
|
...session?.pluginHooks ? { pluginHooks: session.pluginHooks() } : {},
|
|
51449
|
+
...session?.pluginHookEntries ? { pluginEntries: session.pluginHookEntries() } : {},
|
|
51450
|
+
...session?.pluginHookProblems ? { pluginProblems: session.pluginHookProblems() } : {},
|
|
51451
|
+
...session?.skillHooks ? {
|
|
51452
|
+
skillHooks: {
|
|
51453
|
+
attached: session.skillHooks.attached(),
|
|
51454
|
+
carriers: session.skillHooks.carriers()
|
|
51455
|
+
}
|
|
51456
|
+
} : {},
|
|
51457
|
+
...session?.agentHooks ? {
|
|
51458
|
+
agentHooks: {
|
|
51459
|
+
attached: session.agentHooks.attached(),
|
|
51460
|
+
carriers: session.agentHooks.carriers(),
|
|
51461
|
+
refused: session.agentHooks.refused()
|
|
51462
|
+
}
|
|
51463
|
+
} : {},
|
|
51464
|
+
...session?.hookActivity ? { activity: session.hookActivity() } : {},
|
|
51312
51465
|
...initialCtx.hooksSwitch ? { switch: initialCtx.hooksSwitch } : {}
|
|
51313
51466
|
}), "hooksView"),
|
|
51314
51467
|
directories: /* @__PURE__ */ __name(() => session?.directories?.list() ?? [], "directories"),
|
|
@@ -51651,10 +51804,10 @@ ${blocks.join("\n\n")}`;
|
|
|
51651
51804
|
const progressId = pushMessage("system", "Reading spend\u2026");
|
|
51652
51805
|
try {
|
|
51653
51806
|
const [{ buildCostReport }, { renderSpend }, { systemClock }, { resolveNamzuHome: resolveNamzuHome2 }] = await Promise.all([
|
|
51654
|
-
import("./cost-
|
|
51807
|
+
import("./cost-MJOM52FI.js"),
|
|
51655
51808
|
import("./render-QFCCPEEL.js"),
|
|
51656
51809
|
import("./day-CU5J7UAK.js"),
|
|
51657
|
-
import("./home-
|
|
51810
|
+
import("./home-GP3Y7F5H.js")
|
|
51658
51811
|
]);
|
|
51659
51812
|
const report = await buildCostReport(days, {
|
|
51660
51813
|
home: resolveNamzuHome2(),
|
|
@@ -51680,7 +51833,7 @@ ${blocks.join("\n\n")}`;
|
|
|
51680
51833
|
doctorRunningRef.current = true;
|
|
51681
51834
|
const progressId = pushMessage("system", "Checking\u2026");
|
|
51682
51835
|
try {
|
|
51683
|
-
const { runLiveDoctor } = await import("./live-
|
|
51836
|
+
const { runLiveDoctor } = await import("./live-OVTHCQB3.js");
|
|
51684
51837
|
const { describePlainDoctor } = await import("./plain-report-XVPBQDLE.js");
|
|
51685
51838
|
const report = await runLiveDoctor({
|
|
51686
51839
|
...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
|
|
@@ -55219,7 +55372,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
55219
55372
|
}
|
|
55220
55373
|
try {
|
|
55221
55374
|
const sameSignIn = accounts.registry.list("codex").find(
|
|
55222
|
-
(other) => other.source.kind === "codex-home" && readCodexCredentialFile(
|
|
55375
|
+
(other) => other.source.kind === "codex-home" && readCodexCredentialFile(join11(other.source.dir, "auth.json"))?.accountId === result.accountId
|
|
55223
55376
|
);
|
|
55224
55377
|
if (sameSignIn) {
|
|
55225
55378
|
rmSync2(dir, { recursive: true, force: true });
|
|
@@ -56570,8 +56723,14 @@ ${plugins.map((plugin) => {
|
|
|
56570
56723
|
setConversationMutation("fork");
|
|
56571
56724
|
}
|
|
56572
56725
|
void (async () => {
|
|
56726
|
+
let hookRuntime;
|
|
56573
56727
|
try {
|
|
56574
|
-
|
|
56728
|
+
if (verb === "create" || verb === "fork") {
|
|
56729
|
+
hookRuntime = session?.worktreeHooks ? { hooks: session.worktreeHooks, close: /* @__PURE__ */ __name(async () => void 0, "close") } : await openWorktreeHookRuntime({ hooks: initialCtx.hooks }, ctx.cwd, notice);
|
|
56730
|
+
}
|
|
56731
|
+
const manager = await openManagedWorktrees(ctx.cwd, {
|
|
56732
|
+
...hookRuntime?.hooks ? { hooks: hookRuntime.hooks.host, onNotice: hookRuntime.hooks.onNotice } : {}
|
|
56733
|
+
});
|
|
56575
56734
|
if (verb === "list") {
|
|
56576
56735
|
const items = await manager.list();
|
|
56577
56736
|
notice(
|
|
@@ -56582,7 +56741,7 @@ ${plugins.map((plugin) => {
|
|
|
56582
56741
|
} else if (verb === "create") {
|
|
56583
56742
|
const created = await manager.create(label);
|
|
56584
56743
|
notice(
|
|
56585
|
-
`Created ${created.branch}. Open it in a new terminal: ${worktreeOpenHint(created.path)}${created.sourceDirty ? "\nUncommitted files stayed in this checkout." : ""}`
|
|
56744
|
+
created.madeByHook ? `Created a worktree at ${created.path} with a worktree_create hook. Open it in a new terminal: ${worktreeOpenHint(created.path)}` : `Created ${created.branch}. Open it in a new terminal: ${worktreeOpenHint(created.path)}${created.sourceDirty ? "\nUncommitted files stayed in this checkout." : ""}`
|
|
56586
56745
|
);
|
|
56587
56746
|
} else if (verb === "fork") {
|
|
56588
56747
|
const scope = await materializeConversation();
|
|
@@ -56601,6 +56760,7 @@ ${plugins.map((plugin) => {
|
|
|
56601
56760
|
} catch (error) {
|
|
56602
56761
|
notice(explainFailure(error, "Could not set up the worktree."));
|
|
56603
56762
|
} finally {
|
|
56763
|
+
await hookRuntime?.close().catch(() => void 0);
|
|
56604
56764
|
if (verb === "fork") {
|
|
56605
56765
|
conversationMutationRef.current = null;
|
|
56606
56766
|
setConversationMutation(null);
|
|
@@ -56697,6 +56857,7 @@ ${plugins.map((plugin) => {
|
|
|
56697
56857
|
}
|
|
56698
56858
|
case "prompt":
|
|
56699
56859
|
outgoing = slash.text;
|
|
56860
|
+
if (slash.skillHooks) attachSkillHooks(slash.skillHooks);
|
|
56700
56861
|
break;
|
|
56701
56862
|
case "none":
|
|
56702
56863
|
return;
|
|
@@ -57253,7 +57414,8 @@ ${plugins.map((plugin) => {
|
|
|
57253
57414
|
startFreshConversation,
|
|
57254
57415
|
state,
|
|
57255
57416
|
terminal.rows,
|
|
57256
|
-
userCommands
|
|
57417
|
+
userCommands,
|
|
57418
|
+
attachSkillHooks
|
|
57257
57419
|
]
|
|
57258
57420
|
);
|
|
57259
57421
|
const idleStateRef = (0, import_react60.useRef)({
|
|
@@ -57393,12 +57555,21 @@ ${plugins.map((plugin) => {
|
|
|
57393
57555
|
}, "compact")
|
|
57394
57556
|
});
|
|
57395
57557
|
idleCompactionRef.current = idleCompaction;
|
|
57558
|
+
(0, import_react60.useEffect)(() => {
|
|
57559
|
+
return session?.hookNotices?.subscribe((line) => pushSystem("notice", line));
|
|
57560
|
+
}, [session, pushSystem]);
|
|
57396
57561
|
(0, import_react60.useEffect)(() => {
|
|
57397
57562
|
return session?.memoryCuration?.subscribe((lines3) => {
|
|
57398
57563
|
const row2 = memoryCuratedRow(lines3);
|
|
57399
57564
|
if (row2) pushSystem("notice", row2);
|
|
57400
57565
|
});
|
|
57401
57566
|
}, [session, pushSystem]);
|
|
57567
|
+
(0, import_react60.useEffect)(() => {
|
|
57568
|
+
return session?.skillHooks?.subscribe((line) => pushSystem("notice", line));
|
|
57569
|
+
}, [session, pushSystem]);
|
|
57570
|
+
(0, import_react60.useEffect)(() => {
|
|
57571
|
+
return session?.agentHooks?.subscribe((line) => pushSystem("notice", line));
|
|
57572
|
+
}, [session, pushSystem]);
|
|
57402
57573
|
const awaitingPerson = permission !== null || questionDialog !== null || planPrompt !== null || scheduleReviewPrompt !== null || choicePicker !== null && choicePicker.kind === "user-question";
|
|
57403
57574
|
(0, import_react60.useEffect)(() => {
|
|
57404
57575
|
if (awaitingPerson) pauseClockRef.current.begin(Date.now());
|
|
@@ -59933,4 +60104,4 @@ react/cjs/react-jsx-runtime.production.js:
|
|
|
59933
60104
|
* LICENSE file in the root directory of this source tree.
|
|
59934
60105
|
*)
|
|
59935
60106
|
*/
|
|
59936
|
-
//# sourceMappingURL=chunk-
|
|
60107
|
+
//# sourceMappingURL=chunk-ABOV5CRT.js.map
|