@namzu/cli 53.0.1 → 53.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +85 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-IOWTKF2X.js → acp-3FNB6MSI.js} +101 -82
- package/dist/chunks/acp-3FNB6MSI.js.map +6 -0
- package/dist/chunks/{activity-command-U2AOTIVF.js → activity-command-IBOJOCRF.js} +15 -15
- package/dist/chunks/{add-YYQLPCP2.js → add-LYBL3IC7.js} +27 -27
- package/dist/chunks/{agent-WL6NX4W6.js → agent-LTLWJW3P.js} +47 -43
- package/dist/chunks/agent-session-BD2AHK5S.js +77 -0
- package/dist/chunks/{apply-at-exit-BRXYTQVG.js → apply-at-exit-7BF3KBU2.js} +8 -8
- package/dist/chunks/{archive-UE756BME.js → archive-FCPUCOYT.js} +14 -14
- package/dist/chunks/{bin-main-XR2DJOI6.js → bin-main-AVPCWJHJ.js} +14 -14
- package/dist/chunks/{binding-HCIPLFUO.js → binding-OZCOSUYV.js} +3 -3
- package/dist/chunks/{browser-7SFVCKSO.js → browser-LR25NVO7.js} +6 -6
- package/dist/chunks/{chat-K6GQGRUA.js → chat-PP7XU7US.js} +22 -22
- package/dist/chunks/{chunk-3NAVAACC.js → chunk-2KNLSJFS.js} +2 -2
- package/dist/chunks/{chunk-2VSICYQP.js → chunk-2O6LZGGG.js} +2 -2
- package/dist/chunks/{chunk-V7VNFYA4.js → chunk-32LCSSAN.js} +18 -14
- package/dist/chunks/chunk-32LCSSAN.js.map +6 -0
- package/dist/chunks/{chunk-Z5NMQ2YN.js → chunk-3Q42HHZM.js} +2 -2
- package/dist/chunks/{chunk-RAPO3KLG.js → chunk-3WTIGIDA.js} +4 -4
- package/dist/chunks/chunk-4JBQTRTF.js +452 -0
- package/dist/chunks/chunk-4JBQTRTF.js.map +6 -0
- package/dist/chunks/{chunk-NICPMJJQ.js → chunk-4KMFIIWV.js} +6 -5
- package/dist/chunks/{chunk-NICPMJJQ.js.map → chunk-4KMFIIWV.js.map} +1 -1
- package/dist/chunks/{chunk-5NDRDTNX.js → chunk-4NVFHP23.js} +6 -6
- package/dist/chunks/chunk-4NVFHP23.js.map +6 -0
- package/dist/chunks/{chunk-FX7BSCB4.js → chunk-4Q4J3KDG.js} +4 -4
- package/dist/chunks/{chunk-KO2N6EIF.js → chunk-4VB264C5.js} +13 -13
- package/dist/chunks/{chunk-HJILJSZO.js → chunk-4VXS3UYL.js} +2 -2
- package/dist/chunks/{chunk-2WDF5N2A.js → chunk-5FEAC3G5.js} +9 -9
- package/dist/chunks/{chunk-BHOZPFJM.js → chunk-5HCZHDPA.js} +5 -5
- package/dist/chunks/chunk-5OAKUXE3.js +41 -0
- package/dist/chunks/chunk-5OAKUXE3.js.map +6 -0
- 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-Z5FDI74K.js → chunk-5YNAPIUZ.js} +6 -6
- package/dist/chunks/{chunk-A47ZNTW7.js → chunk-6SHOR62K.js} +3 -3
- package/dist/chunks/{chunk-46VSU4QF.js → chunk-72IJ3FQU.js} +2 -2
- package/dist/chunks/{chunk-DHS5CQNC.js → chunk-AO4A56EG.js} +12 -12
- package/dist/chunks/{chunk-KAPCNFMC.js → chunk-BFCUL4BW.js} +3 -3
- package/dist/chunks/{chunk-DOFQWVBL.js → chunk-CKWDYYBE.js} +3 -3
- package/dist/chunks/{chunk-J3PHMXN4.js → chunk-CSBKGTBA.js} +4 -4
- package/dist/chunks/{chunk-ZMKEYARZ.js → chunk-D3JJE6VZ.js} +6 -6
- package/dist/chunks/{chunk-UWN4WNQZ.js → chunk-DEEK2FOC.js} +2 -2
- package/dist/chunks/chunk-DEH4YIDN.js +247 -0
- package/dist/chunks/chunk-DEH4YIDN.js.map +6 -0
- package/dist/chunks/{chunk-F3SQRGKZ.js → chunk-DSMBM5LQ.js} +2 -2
- package/dist/chunks/chunk-DZBCLR75.js +526 -0
- package/dist/chunks/chunk-DZBCLR75.js.map +6 -0
- package/dist/chunks/{chunk-4FV2VZS6.js → chunk-EC2F3CWT.js} +3 -3
- package/dist/chunks/{chunk-OBMHA7OP.js → chunk-EMXH2RJN.js} +3 -3
- package/dist/chunks/{chunk-MYVF3JRV.js → chunk-EQGE25MQ.js} +6 -6
- package/dist/chunks/{chunk-RDW6L3PV.js → chunk-F2TXNDKC.js} +3 -3
- package/dist/chunks/{chunk-UMHKTV2L.js → chunk-FAWY4LRG.js} +3 -3
- package/dist/chunks/{chunk-LMLJ7NS5.js → chunk-FK6WJQ5T.js} +5 -5
- package/dist/chunks/{chunk-EKMHZKVP.js → chunk-FRADQASS.js} +2 -2
- package/dist/chunks/{chunk-N56NUKMT.js → chunk-FS7CUHOG.js} +2 -2
- package/dist/chunks/{chunk-C5XQHEYB.js → chunk-GFZFGTDZ.js} +2 -2
- package/dist/chunks/{chunk-VVWI4EB7.js → chunk-GXCOSOVM.js} +3 -3
- package/dist/chunks/{chunk-TI6FFONP.js → chunk-HJJNIG33.js} +2 -2
- package/dist/chunks/{chunk-MHXJYXOF.js → chunk-HUDP4HTK.js} +5 -5
- package/dist/chunks/{chunk-SHUA4YUK.js → chunk-IBPN346S.js} +2 -2
- package/dist/chunks/chunk-IERT7D34.js +226 -0
- package/dist/chunks/chunk-IERT7D34.js.map +6 -0
- package/dist/chunks/{chunk-Z6J7SVOB.js → chunk-IPAGLYU3.js} +2 -2
- package/dist/chunks/{chunk-ZDZ35MMZ.js → chunk-ISHCON5Z.js} +2 -2
- package/dist/chunks/{chunk-FEIIR46G.js → chunk-J6I6MCWR.js} +5 -5
- package/dist/chunks/{chunk-HGZYNEQE.js → chunk-JFLX34FA.js} +14 -7
- package/dist/chunks/chunk-JFLX34FA.js.map +6 -0
- package/dist/chunks/{chunk-YELRULQ7.js → chunk-JTEWIH66.js} +4478 -2713
- package/dist/chunks/chunk-JTEWIH66.js.map +6 -0
- package/dist/chunks/{chunk-X6SREM2V.js → chunk-JXJIKAAE.js} +7 -7
- package/dist/chunks/{chunk-POOJ2MUS.js → chunk-K3QEZ7D7.js} +3 -3
- package/dist/chunks/{chunk-4RTQTX5R.js → chunk-KFWQSTT3.js} +2 -2
- package/dist/chunks/{chunk-DI4L3GH5.js → chunk-KHQAU33M.js} +2 -2
- package/dist/chunks/{chunk-CCYAWSZL.js → chunk-KNBFV3DC.js} +5 -5
- package/dist/chunks/{chunk-HTHNDZ3L.js → chunk-L2Q7APTU.js} +2 -2
- package/dist/chunks/{chunk-DIWEKTYK.js → chunk-LHZ632YK.js} +5 -5
- package/dist/chunks/chunk-LQZIENWB.js +686 -0
- package/dist/chunks/chunk-LQZIENWB.js.map +6 -0
- package/dist/chunks/{chunk-TYTE2GIF.js → chunk-LWYW2DAK.js} +5 -5
- package/dist/chunks/{chunk-NZMKMXGG.js → chunk-MKAQAKHE.js} +2 -2
- package/dist/chunks/{chunk-QPR3UA4L.js → chunk-MXJAJXE7.js} +2 -2
- package/dist/chunks/{chunk-SPSWX3QZ.js → chunk-MXR77LCX.js} +2 -2
- package/dist/chunks/{chunk-PSLNHLZI.js → chunk-NSGEVYJC.js} +3 -3
- package/dist/chunks/{chunk-EKQ6J5KA.js → chunk-O4GHSR2X.js} +2 -2
- package/dist/chunks/chunk-P3LYPSD6.js +137 -0
- package/dist/chunks/chunk-P3LYPSD6.js.map +6 -0
- package/dist/chunks/{chunk-J7SA5BCI.js → chunk-PNEFIK4E.js} +4 -4
- package/dist/chunks/chunk-PTPVAPCA.js +44 -0
- package/dist/chunks/chunk-PTPVAPCA.js.map +6 -0
- package/dist/chunks/{chunk-XHLFI6F6.js → chunk-QXKCTJWO.js} +2 -2
- package/dist/chunks/{chunk-P7FHJL3V.js → chunk-SK3JQNO5.js} +2 -2
- package/dist/chunks/{chunk-RJWPNAYL.js → chunk-SU5VBBRS.js} +12 -12
- package/dist/chunks/{chunk-SVMGV4AS.js → chunk-SWH4CAIH.js} +56 -47
- package/dist/chunks/chunk-SWH4CAIH.js.map +6 -0
- package/dist/chunks/{chunk-7AWFHVMT.js → chunk-T2CHZ6V7.js} +3 -3
- package/dist/chunks/{chunk-P5E6ITP5.js → chunk-TE4MIRMA.js} +5 -5
- package/dist/chunks/{chunk-24N42TGE.js → chunk-THOVK7I5.js} +6 -6
- package/dist/chunks/{chunk-YSKCWH72.js → chunk-TIMEEDY6.js} +203 -32
- package/dist/chunks/chunk-TIMEEDY6.js.map +6 -0
- package/dist/chunks/{chunk-DSKNFDTL.js → chunk-TLTD26JG.js} +2 -2
- package/dist/chunks/{chunk-CQKYKQEF.js → chunk-TUEZKY7I.js} +4 -4
- package/dist/chunks/{chunk-LOWGGJOB.js → chunk-U3IK5VKD.js} +6 -111
- package/dist/chunks/chunk-U3IK5VKD.js.map +6 -0
- package/dist/chunks/{chunk-2U357RJS.js → chunk-UUQY5P7K.js} +10 -10
- package/dist/chunks/{chunk-WOSL3OZD.js → chunk-VBRCNXMM.js} +4 -4
- package/dist/chunks/{chunk-VYLCV6W3.js → chunk-VI66HXJT.js} +9 -9
- package/dist/chunks/{chunk-HOKSVFIC.js → chunk-VQ5KK7YF.js} +79 -7
- package/dist/chunks/chunk-VQ5KK7YF.js.map +6 -0
- package/dist/chunks/{chunk-AGFGC7SI.js → chunk-VQCP7LOK.js} +3 -3
- package/dist/chunks/{chunk-OAHCS42A.js → chunk-VTS2SVX6.js} +2 -2
- package/dist/chunks/{chunk-HUONDMU4.js → chunk-W5TE6NIA.js} +2 -2
- package/dist/chunks/{chunk-UJOWXA23.js → chunk-WDY7OHLQ.js} +777 -261
- package/dist/chunks/chunk-WDY7OHLQ.js.map +6 -0
- package/dist/chunks/{chunk-ZZNHDQAD.js → chunk-WV45Z5QQ.js} +2 -2
- package/dist/chunks/{chunk-TUXH7IXQ.js → chunk-X44EPHHA.js} +2 -2
- package/dist/chunks/{chunk-6CFPN6I4.js → chunk-XFCFWWFK.js} +2 -2
- package/dist/chunks/{chunk-PV65WQHD.js → chunk-XGS5WUCQ.js} +12 -12
- package/dist/chunks/{chunk-NTV2XD2J.js → chunk-Y4MKRX73.js} +2 -2
- package/dist/chunks/{chunk-WSMX3IQE.js → chunk-YCJOAIDG.js} +518 -395
- package/dist/chunks/chunk-YCJOAIDG.js.map +6 -0
- package/dist/chunks/{chunk-SB3A7KUJ.js → chunk-YDGUEMBB.js} +4 -4
- package/dist/chunks/{chunk-7JT7DNR7.js → chunk-YIZXVNUY.js} +3 -3
- package/dist/chunks/{chunk-PYSZ7JTU.js → chunk-YNBAVIQA.js} +2 -2
- package/dist/chunks/{chunk-O326HKCW.js → chunk-YPLYAESJ.js} +3 -3
- package/dist/chunks/{chunk-5I45HTKW.js → chunk-ZH5MQMMF.js} +182 -40
- package/dist/chunks/chunk-ZH5MQMMF.js.map +6 -0
- package/dist/chunks/{chunk-M3AUPUII.js → chunk-ZI5FFFBJ.js} +6 -6
- package/dist/chunks/{chunk-EA73SWCT.js → chunk-ZIRQSGOG.js} +4 -4
- package/dist/chunks/{chunk-HOB6FTE2.js → chunk-ZVLTZDC4.js} +5 -4
- package/dist/chunks/{chunk-HOB6FTE2.js.map → chunk-ZVLTZDC4.js.map} +1 -1
- package/dist/chunks/{chunk-KNQ7R54U.js → chunk-ZZK2BVEH.js} +911 -670
- package/dist/chunks/chunk-ZZK2BVEH.js.map +6 -0
- package/dist/chunks/{cli-runtime-SVXU6U4V.js → cli-runtime-V2FI7PIQ.js} +25 -25
- package/dist/chunks/{commands-A2E3OV7F.js → commands-R2LZBXLK.js} +5 -5
- package/dist/chunks/{cost-NA7APCZD.js → cost-PQWWLMOO.js} +8 -8
- package/dist/chunks/{crash-report-C6QXQJAK.js → crash-report-MY27ZDU6.js} +9 -9
- package/dist/chunks/{dist-3PE5MOU6.js → dist-3HCAPKP5.js} +2 -2
- package/dist/chunks/{dist-5SZ7VOLE.js → dist-4RNVO224.js} +2 -2
- package/dist/chunks/{dist-6CHQ5OPZ.js → dist-7A7PB34A.js} +2 -2
- package/dist/chunks/{dist-G4BSVJKY.js → dist-MSFQTEPK.js} +2 -2
- package/dist/chunks/{dist-LBTLFSNF.js → dist-MT3MTMRF.js} +68 -2
- package/dist/chunks/{dist-HYKH6P7F.js → dist-PH7MWV7K.js} +2 -2
- package/dist/chunks/{dist-GVGW7AZ2.js → dist-TIMUM4OR.js} +2 -2
- package/dist/chunks/{dist-HASAHQL3.js → dist-Y4Q4SXRE.js} +2 -2
- package/dist/chunks/{doctor-Y5PQ2R7D.js → doctor-JRVQJERE.js} +46 -42
- package/dist/chunks/{drain-RG275P5J.js → drain-YOE55I26.js} +14 -14
- package/dist/chunks/{entry-BJY7UE6P.js → entry-QAXRBCG3.js} +6 -6
- package/dist/chunks/{eval-GG2BH7CQ.js → eval-UPNYQIHO.js} +12 -12
- package/dist/chunks/{exec-63SUPKUV.js → exec-LLOKYQZY.js} +92 -64
- package/dist/chunks/exec-LLOKYQZY.js.map +6 -0
- package/dist/chunks/{github-MGIA7MTZ.js → github-Z3JQNLXA.js} +5 -5
- package/dist/chunks/{home-KMZDOTX5.js → home-7TSSDRFT.js} +3 -3
- package/dist/chunks/hooks-JNM3P24H.js +210 -0
- package/dist/chunks/hooks-JNM3P24H.js.map +6 -0
- package/dist/chunks/hooks-report-GGRTQH23.js +39 -0
- package/dist/chunks/{host-OB5CL3GG.js → host-M2CYP3TP.js} +12 -12
- package/dist/chunks/{host-queries-2GQM7BTI.js → host-queries-L7P5FQ36.js} +15 -15
- package/dist/chunks/{learn-LUEHNOMA.js → learn-CBIMGXXS.js} +12 -12
- package/dist/chunks/{learn-builtin-R2Z27LDI.js → learn-builtin-UHGQ6CNQ.js} +17 -17
- package/dist/chunks/{lifecycle-DCLLAROM.js → lifecycle-NJGOR77O.js} +37 -37
- package/dist/chunks/{list-5UW5SFIX.js → list-QZUWOS4I.js} +19 -19
- package/dist/chunks/{live-YUE4AKRQ.js → live-LHKUQFEO.js} +44 -40
- package/dist/chunks/load-LF7GZYTP.js +75 -0
- package/dist/chunks/{login-ELIGI6HT.js → login-F4NOOGD5.js} +13 -13
- package/dist/chunks/{logs-PXASK6XI.js → logs-6CJCV6YU.js} +5 -5
- package/dist/chunks/{mcp-YVV35X7H.js → mcp-C7FQLLXL.js} +34 -34
- package/dist/chunks/{message-command-QVGOKB4W.js → message-command-BJPPVBGT.js} +59 -55
- package/dist/chunks/message-command-BJPPVBGT.js.map +6 -0
- package/dist/chunks/{open-MDT2NTF4.js → open-GLWFBW4C.js} +8 -8
- package/dist/chunks/{operator-tools-LYY2FXSO.js → operator-tools-KQV2T5UU.js} +14 -14
- package/dist/chunks/{output-schema-VR43KZNJ.js → output-schema-XXKTMSU6.js} +3 -3
- package/dist/chunks/{pal-YXOWNULV.js → pal-4OZ7KPSC.js} +19 -19
- package/dist/chunks/{peers-CJOTRI4W.js → peers-4DMT2KZ2.js} +18 -18
- package/dist/chunks/{peers-6M4UPHDF.js → peers-SMOALKZW.js} +6 -6
- package/dist/chunks/{plugin-IVIHCAEO.js → plugin-IDW4AYIK.js} +101 -20
- package/dist/chunks/plugin-IDW4AYIK.js.map +6 -0
- package/dist/chunks/{providers-7WDY37V3.js → providers-7HLI5PWI.js} +11 -11
- package/dist/chunks/{pty-CLDDZT5T.js → pty-SQBYCAX4.js} +3 -3
- package/dist/chunks/resume-2HBHZF54.js +23 -0
- package/dist/chunks/{resume-command-TXPTYQFF.js → resume-command-VCMPAWTN.js} +4 -4
- package/dist/chunks/{running-KBISZDIQ.js → running-DR4MSZ7B.js} +5 -5
- package/dist/chunks/{schedule-ECZVNZLH.js → schedule-W3QPDJRS.js} +8 -8
- package/dist/chunks/{send-VUJ33MJM.js → send-QDBFAZ5P.js} +16 -16
- package/dist/chunks/{send-person-WXM7Y5PZ.js → send-person-O5OJ7KHD.js} +13 -13
- package/dist/chunks/{service-DORQ3PNE.js → service-5Z47V5KC.js} +42 -42
- package/dist/chunks/{skills-W7KY3WX4.js → skills-XYT6UUTP.js} +45 -16
- package/dist/chunks/skills-XYT6UUTP.js.map +6 -0
- package/dist/chunks/{start-check-KECY75IO.js → start-check-OKCRZ67I.js} +2 -2
- package/dist/chunks/{startup-failure-MS7TPUMI.js → startup-failure-N3RO73Z4.js} +2 -2
- package/dist/chunks/{state-YK5JWP5I.js → state-7CLHPA4P.js} +6 -6
- package/dist/chunks/{store-XIPDR26B.js → store-CNEKBGKD.js} +6 -6
- package/dist/chunks/{store-TM7VDQ5G.js → store-GA3I7BMG.js} +4 -4
- package/dist/chunks/{store-H4IVAEZK.js → store-YFAH5XGW.js} +3 -3
- package/dist/chunks/store-YFAH5XGW.js.map +6 -0
- package/dist/chunks/{store-7SFKBFX6.js → store-ZDFRYDWS.js} +12 -10
- package/dist/chunks/store-ZDFRYDWS.js.map +6 -0
- package/dist/chunks/{tui-XKAQI3DD.js → tui-T6VPVMEV.js} +95 -89
- package/dist/chunks/tui-T6VPVMEV.js.map +6 -0
- package/dist/chunks/{upgrade-GLEEEZWO.js → upgrade-SW474CXN.js} +10 -10
- package/dist/chunks/{watch-XZKKDKAF.js → watch-OIYLZVDF.js} +134 -101
- package/dist/chunks/watch-OIYLZVDF.js.map +6 -0
- package/dist/chunks/{workspaces-GS6D72XT.js → workspaces-YQW2E6PE.js} +22 -22
- package/dist/chunks/worktree-ZMMQI2Z5.js +204 -0
- package/dist/chunks/worktree-ZMMQI2Z5.js.map +6 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts +7 -0
- 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/hooks.d.ts +13 -0
- package/dist/commands/hooks.d.ts.map +1 -0
- package/dist/commands/manifest.d.ts +1 -0
- package/dist/commands/manifest.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/hooks-report.d.ts +162 -0
- package/dist/config/hooks-report.d.ts.map +1 -0
- package/dist/config/load.d.ts +53 -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 +49 -45
- 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 +126 -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/sessions/conversation-facts.d.ts +12 -0
- package/dist/integrations/sessions/conversation-facts.d.ts.map +1 -1
- package/dist/integrations/sessions/store.d.ts +11 -1
- package/dist/integrations/sessions/store.d.ts.map +1 -1
- package/dist/integrations/sessions/watch-view.d.ts +2 -0
- package/dist/integrations/sessions/watch-view.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/replay.d.ts +6 -0
- package/dist/integrations/subagents/replay.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/restore-skill-hooks.d.ts +16 -0
- package/dist/skills/restore-skill-hooks.d.ts.map +1 -0
- package/dist/skills/skill-hooks.d.ts +73 -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/ReadSearchGroup.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/agent-transcript-rows.d.ts +3 -1
- package/dist/tui/agent-transcript-rows.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/fullscreen/layout.d.ts +9 -1
- package/dist/tui/fullscreen/layout.d.ts.map +1 -1
- package/dist/tui/fullscreen/markdown-rows.d.ts +18 -18
- package/dist/tui/fullscreen/markdown-rows.d.ts.map +1 -1
- package/dist/tui/fullscreen/reply-rows.d.ts +83 -0
- package/dist/tui/fullscreen/reply-rows.d.ts.map +1 -0
- package/dist/tui/hint-fit.d.ts +36 -0
- package/dist/tui/hint-fit.d.ts.map +1 -0
- package/dist/tui/plugin-view.d.ts.map +1 -1
- package/dist/tui/restored-rows.d.ts +6 -0
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +44 -1
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/transcript-scroll.d.ts +1 -1
- package/dist/tui/transcript-scroll.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 +5 -5
- 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-HOKSVFIC.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-SVMGV4AS.js.map +0 -6
- package/dist/chunks/chunk-UJOWXA23.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-IBOJOCRF.js.map} +0 -0
- /package/dist/chunks/{add-YYQLPCP2.js.map → add-LYBL3IC7.js.map} +0 -0
- /package/dist/chunks/{agent-WL6NX4W6.js.map → agent-LTLWJW3P.js.map} +0 -0
- /package/dist/chunks/{agent-session-L6J5GZVX.js.map → agent-session-BD2AHK5S.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-BRXYTQVG.js.map → apply-at-exit-7BF3KBU2.js.map} +0 -0
- /package/dist/chunks/{archive-UE756BME.js.map → archive-FCPUCOYT.js.map} +0 -0
- /package/dist/chunks/{bin-main-XR2DJOI6.js.map → bin-main-AVPCWJHJ.js.map} +0 -0
- /package/dist/chunks/{binding-HCIPLFUO.js.map → binding-OZCOSUYV.js.map} +0 -0
- /package/dist/chunks/{browser-7SFVCKSO.js.map → browser-LR25NVO7.js.map} +0 -0
- /package/dist/chunks/{chat-K6GQGRUA.js.map → chat-PP7XU7US.js.map} +0 -0
- /package/dist/chunks/{chunk-3NAVAACC.js.map → chunk-2KNLSJFS.js.map} +0 -0
- /package/dist/chunks/{chunk-2VSICYQP.js.map → chunk-2O6LZGGG.js.map} +0 -0
- /package/dist/chunks/{chunk-Z5NMQ2YN.js.map → chunk-3Q42HHZM.js.map} +0 -0
- /package/dist/chunks/{chunk-RAPO3KLG.js.map → chunk-3WTIGIDA.js.map} +0 -0
- /package/dist/chunks/{chunk-FX7BSCB4.js.map → chunk-4Q4J3KDG.js.map} +0 -0
- /package/dist/chunks/{chunk-KO2N6EIF.js.map → chunk-4VB264C5.js.map} +0 -0
- /package/dist/chunks/{chunk-HJILJSZO.js.map → chunk-4VXS3UYL.js.map} +0 -0
- /package/dist/chunks/{chunk-2WDF5N2A.js.map → chunk-5FEAC3G5.js.map} +0 -0
- /package/dist/chunks/{chunk-BHOZPFJM.js.map → chunk-5HCZHDPA.js.map} +0 -0
- /package/dist/chunks/{chunk-Z5FDI74K.js.map → chunk-5YNAPIUZ.js.map} +0 -0
- /package/dist/chunks/{chunk-A47ZNTW7.js.map → chunk-6SHOR62K.js.map} +0 -0
- /package/dist/chunks/{chunk-46VSU4QF.js.map → chunk-72IJ3FQU.js.map} +0 -0
- /package/dist/chunks/{chunk-DHS5CQNC.js.map → chunk-AO4A56EG.js.map} +0 -0
- /package/dist/chunks/{chunk-KAPCNFMC.js.map → chunk-BFCUL4BW.js.map} +0 -0
- /package/dist/chunks/{chunk-DOFQWVBL.js.map → chunk-CKWDYYBE.js.map} +0 -0
- /package/dist/chunks/{chunk-J3PHMXN4.js.map → chunk-CSBKGTBA.js.map} +0 -0
- /package/dist/chunks/{chunk-ZMKEYARZ.js.map → chunk-D3JJE6VZ.js.map} +0 -0
- /package/dist/chunks/{chunk-UWN4WNQZ.js.map → chunk-DEEK2FOC.js.map} +0 -0
- /package/dist/chunks/{chunk-F3SQRGKZ.js.map → chunk-DSMBM5LQ.js.map} +0 -0
- /package/dist/chunks/{chunk-4FV2VZS6.js.map → chunk-EC2F3CWT.js.map} +0 -0
- /package/dist/chunks/{chunk-OBMHA7OP.js.map → chunk-EMXH2RJN.js.map} +0 -0
- /package/dist/chunks/{chunk-MYVF3JRV.js.map → chunk-EQGE25MQ.js.map} +0 -0
- /package/dist/chunks/{chunk-RDW6L3PV.js.map → chunk-F2TXNDKC.js.map} +0 -0
- /package/dist/chunks/{chunk-UMHKTV2L.js.map → chunk-FAWY4LRG.js.map} +0 -0
- /package/dist/chunks/{chunk-LMLJ7NS5.js.map → chunk-FK6WJQ5T.js.map} +0 -0
- /package/dist/chunks/{chunk-EKMHZKVP.js.map → chunk-FRADQASS.js.map} +0 -0
- /package/dist/chunks/{chunk-N56NUKMT.js.map → chunk-FS7CUHOG.js.map} +0 -0
- /package/dist/chunks/{chunk-C5XQHEYB.js.map → chunk-GFZFGTDZ.js.map} +0 -0
- /package/dist/chunks/{chunk-VVWI4EB7.js.map → chunk-GXCOSOVM.js.map} +0 -0
- /package/dist/chunks/{chunk-TI6FFONP.js.map → chunk-HJJNIG33.js.map} +0 -0
- /package/dist/chunks/{chunk-MHXJYXOF.js.map → chunk-HUDP4HTK.js.map} +0 -0
- /package/dist/chunks/{chunk-SHUA4YUK.js.map → chunk-IBPN346S.js.map} +0 -0
- /package/dist/chunks/{chunk-Z6J7SVOB.js.map → chunk-IPAGLYU3.js.map} +0 -0
- /package/dist/chunks/{chunk-ZDZ35MMZ.js.map → chunk-ISHCON5Z.js.map} +0 -0
- /package/dist/chunks/{chunk-FEIIR46G.js.map → chunk-J6I6MCWR.js.map} +0 -0
- /package/dist/chunks/{chunk-X6SREM2V.js.map → chunk-JXJIKAAE.js.map} +0 -0
- /package/dist/chunks/{chunk-POOJ2MUS.js.map → chunk-K3QEZ7D7.js.map} +0 -0
- /package/dist/chunks/{chunk-4RTQTX5R.js.map → chunk-KFWQSTT3.js.map} +0 -0
- /package/dist/chunks/{chunk-DI4L3GH5.js.map → chunk-KHQAU33M.js.map} +0 -0
- /package/dist/chunks/{chunk-CCYAWSZL.js.map → chunk-KNBFV3DC.js.map} +0 -0
- /package/dist/chunks/{chunk-HTHNDZ3L.js.map → chunk-L2Q7APTU.js.map} +0 -0
- /package/dist/chunks/{chunk-DIWEKTYK.js.map → chunk-LHZ632YK.js.map} +0 -0
- /package/dist/chunks/{chunk-TYTE2GIF.js.map → chunk-LWYW2DAK.js.map} +0 -0
- /package/dist/chunks/{chunk-NZMKMXGG.js.map → chunk-MKAQAKHE.js.map} +0 -0
- /package/dist/chunks/{chunk-QPR3UA4L.js.map → chunk-MXJAJXE7.js.map} +0 -0
- /package/dist/chunks/{chunk-SPSWX3QZ.js.map → chunk-MXR77LCX.js.map} +0 -0
- /package/dist/chunks/{chunk-PSLNHLZI.js.map → chunk-NSGEVYJC.js.map} +0 -0
- /package/dist/chunks/{chunk-EKQ6J5KA.js.map → chunk-O4GHSR2X.js.map} +0 -0
- /package/dist/chunks/{chunk-J7SA5BCI.js.map → chunk-PNEFIK4E.js.map} +0 -0
- /package/dist/chunks/{chunk-XHLFI6F6.js.map → chunk-QXKCTJWO.js.map} +0 -0
- /package/dist/chunks/{chunk-P7FHJL3V.js.map → chunk-SK3JQNO5.js.map} +0 -0
- /package/dist/chunks/{chunk-RJWPNAYL.js.map → chunk-SU5VBBRS.js.map} +0 -0
- /package/dist/chunks/{chunk-7AWFHVMT.js.map → chunk-T2CHZ6V7.js.map} +0 -0
- /package/dist/chunks/{chunk-P5E6ITP5.js.map → chunk-TE4MIRMA.js.map} +0 -0
- /package/dist/chunks/{chunk-24N42TGE.js.map → chunk-THOVK7I5.js.map} +0 -0
- /package/dist/chunks/{chunk-DSKNFDTL.js.map → chunk-TLTD26JG.js.map} +0 -0
- /package/dist/chunks/{chunk-CQKYKQEF.js.map → chunk-TUEZKY7I.js.map} +0 -0
- /package/dist/chunks/{chunk-2U357RJS.js.map → chunk-UUQY5P7K.js.map} +0 -0
- /package/dist/chunks/{chunk-WOSL3OZD.js.map → chunk-VBRCNXMM.js.map} +0 -0
- /package/dist/chunks/{chunk-VYLCV6W3.js.map → chunk-VI66HXJT.js.map} +0 -0
- /package/dist/chunks/{chunk-AGFGC7SI.js.map → chunk-VQCP7LOK.js.map} +0 -0
- /package/dist/chunks/{chunk-OAHCS42A.js.map → chunk-VTS2SVX6.js.map} +0 -0
- /package/dist/chunks/{chunk-HUONDMU4.js.map → chunk-W5TE6NIA.js.map} +0 -0
- /package/dist/chunks/{chunk-ZZNHDQAD.js.map → chunk-WV45Z5QQ.js.map} +0 -0
- /package/dist/chunks/{chunk-TUXH7IXQ.js.map → chunk-X44EPHHA.js.map} +0 -0
- /package/dist/chunks/{chunk-6CFPN6I4.js.map → chunk-XFCFWWFK.js.map} +0 -0
- /package/dist/chunks/{chunk-PV65WQHD.js.map → chunk-XGS5WUCQ.js.map} +0 -0
- /package/dist/chunks/{chunk-NTV2XD2J.js.map → chunk-Y4MKRX73.js.map} +0 -0
- /package/dist/chunks/{chunk-SB3A7KUJ.js.map → chunk-YDGUEMBB.js.map} +0 -0
- /package/dist/chunks/{chunk-7JT7DNR7.js.map → chunk-YIZXVNUY.js.map} +0 -0
- /package/dist/chunks/{chunk-PYSZ7JTU.js.map → chunk-YNBAVIQA.js.map} +0 -0
- /package/dist/chunks/{chunk-O326HKCW.js.map → chunk-YPLYAESJ.js.map} +0 -0
- /package/dist/chunks/{chunk-M3AUPUII.js.map → chunk-ZI5FFFBJ.js.map} +0 -0
- /package/dist/chunks/{chunk-EA73SWCT.js.map → chunk-ZIRQSGOG.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-SVXU6U4V.js.map → cli-runtime-V2FI7PIQ.js.map} +0 -0
- /package/dist/chunks/{commands-A2E3OV7F.js.map → commands-R2LZBXLK.js.map} +0 -0
- /package/dist/chunks/{cost-NA7APCZD.js.map → cost-PQWWLMOO.js.map} +0 -0
- /package/dist/chunks/{crash-report-C6QXQJAK.js.map → crash-report-MY27ZDU6.js.map} +0 -0
- /package/dist/chunks/{dist-3PE5MOU6.js.map → dist-3HCAPKP5.js.map} +0 -0
- /package/dist/chunks/{dist-5SZ7VOLE.js.map → dist-4RNVO224.js.map} +0 -0
- /package/dist/chunks/{dist-6CHQ5OPZ.js.map → dist-7A7PB34A.js.map} +0 -0
- /package/dist/chunks/{dist-G4BSVJKY.js.map → dist-MSFQTEPK.js.map} +0 -0
- /package/dist/chunks/{dist-LBTLFSNF.js.map → dist-MT3MTMRF.js.map} +0 -0
- /package/dist/chunks/{dist-HYKH6P7F.js.map → dist-PH7MWV7K.js.map} +0 -0
- /package/dist/chunks/{dist-GVGW7AZ2.js.map → dist-TIMUM4OR.js.map} +0 -0
- /package/dist/chunks/{dist-HASAHQL3.js.map → dist-Y4Q4SXRE.js.map} +0 -0
- /package/dist/chunks/{doctor-Y5PQ2R7D.js.map → doctor-JRVQJERE.js.map} +0 -0
- /package/dist/chunks/{drain-RG275P5J.js.map → drain-YOE55I26.js.map} +0 -0
- /package/dist/chunks/{entry-BJY7UE6P.js.map → entry-QAXRBCG3.js.map} +0 -0
- /package/dist/chunks/{eval-GG2BH7CQ.js.map → eval-UPNYQIHO.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-7TSSDRFT.js.map} +0 -0
- /package/dist/chunks/{host-OB5CL3GG.js.map → hooks-report-GGRTQH23.js.map} +0 -0
- /package/dist/chunks/{lifecycle-DCLLAROM.js.map → host-M2CYP3TP.js.map} +0 -0
- /package/dist/chunks/{host-queries-2GQM7BTI.js.map → host-queries-L7P5FQ36.js.map} +0 -0
- /package/dist/chunks/{learn-LUEHNOMA.js.map → learn-CBIMGXXS.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-R2Z27LDI.js.map → learn-builtin-UHGQ6CNQ.js.map} +0 -0
- /package/dist/chunks/{live-YUE4AKRQ.js.map → lifecycle-NJGOR77O.js.map} +0 -0
- /package/dist/chunks/{list-5UW5SFIX.js.map → list-QZUWOS4I.js.map} +0 -0
- /package/dist/chunks/{login-ELIGI6HT.js.map → live-LHKUQFEO.js.map} +0 -0
- /package/dist/chunks/{open-MDT2NTF4.js.map → load-LF7GZYTP.js.map} +0 -0
- /package/dist/chunks/{output-schema-VR43KZNJ.js.map → login-F4NOOGD5.js.map} +0 -0
- /package/dist/chunks/{logs-PXASK6XI.js.map → logs-6CJCV6YU.js.map} +0 -0
- /package/dist/chunks/{mcp-YVV35X7H.js.map → mcp-C7FQLLXL.js.map} +0 -0
- /package/dist/chunks/{peers-6M4UPHDF.js.map → open-GLWFBW4C.js.map} +0 -0
- /package/dist/chunks/{operator-tools-LYY2FXSO.js.map → operator-tools-KQV2T5UU.js.map} +0 -0
- /package/dist/chunks/{providers-7WDY37V3.js.map → output-schema-XXKTMSU6.js.map} +0 -0
- /package/dist/chunks/{pal-YXOWNULV.js.map → pal-4OZ7KPSC.js.map} +0 -0
- /package/dist/chunks/{peers-CJOTRI4W.js.map → peers-4DMT2KZ2.js.map} +0 -0
- /package/dist/chunks/{pty-CLDDZT5T.js.map → peers-SMOALKZW.js.map} +0 -0
- /package/dist/chunks/{resume-ZRVTAGB6.js.map → providers-7HLI5PWI.js.map} +0 -0
- /package/dist/chunks/{resume-command-TXPTYQFF.js.map → pty-SQBYCAX4.js.map} +0 -0
- /package/dist/chunks/{running-KBISZDIQ.js.map → resume-2HBHZF54.js.map} +0 -0
- /package/dist/chunks/{send-VUJ33MJM.js.map → resume-command-VCMPAWTN.js.map} +0 -0
- /package/dist/chunks/{send-person-WXM7Y5PZ.js.map → running-DR4MSZ7B.js.map} +0 -0
- /package/dist/chunks/{schedule-ECZVNZLH.js.map → schedule-W3QPDJRS.js.map} +0 -0
- /package/dist/chunks/{start-check-KECY75IO.js.map → send-QDBFAZ5P.js.map} +0 -0
- /package/dist/chunks/{store-7SFKBFX6.js.map → send-person-O5OJ7KHD.js.map} +0 -0
- /package/dist/chunks/{service-DORQ3PNE.js.map → service-5Z47V5KC.js.map} +0 -0
- /package/dist/chunks/{store-H4IVAEZK.js.map → start-check-OKCRZ67I.js.map} +0 -0
- /package/dist/chunks/{startup-failure-MS7TPUMI.js.map → startup-failure-N3RO73Z4.js.map} +0 -0
- /package/dist/chunks/{state-YK5JWP5I.js.map → state-7CLHPA4P.js.map} +0 -0
- /package/dist/chunks/{store-TM7VDQ5G.js.map → store-CNEKBGKD.js.map} +0 -0
- /package/dist/chunks/{store-XIPDR26B.js.map → store-GA3I7BMG.js.map} +0 -0
- /package/dist/chunks/{upgrade-GLEEEZWO.js.map → upgrade-SW474CXN.js.map} +0 -0
- /package/dist/chunks/{workspaces-GS6D72XT.js.map → workspaces-YQW2E6PE.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,90 @@
|
|
|
1
1
|
# @namzu/cli
|
|
2
2
|
|
|
3
|
+
## 53.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ede0056: `namzu hooks [--cwd <path>] [--json]` says what runs by itself in a folder: every hook from your config files, the folder's files, plugins, skills and agent files, with its event (both spellings), matcher and `if`, what it starts, where it comes from, whether it is on (`runs`, `off` with the switch that turned it off, `attaches when used`, or `not loaded` with the reason), what the readers could not load, and where each switch was set. It reads files as text and never runs or imports anything of the folder (a plugin's JavaScript module is named, not loaded), so it can be asked about a folder you have not trusted: that folder's own hooks are listed as not loaded, with what would start once it is trusted. With `--json` it prints the same facts as one JSON value for a script.
|
|
8
|
+
|
|
9
|
+
The desktop host (`namzu acp --desktop`) answers the same question as `namzu/hooks/list`, a new optional method an application can ask for; a host without it simply does not list it among its extensions. The answer is versioned (`version: 1`) and only ever grows by added fields. Nothing you use today changes: no key, event, field or default is removed or renamed, and `/hooks`, `namzu doctor` and the trust prompt say what they said. Nothing to do when upgrading.
|
|
10
|
+
|
|
11
|
+
`namzu hooks` also says when a project or local file sets `disableHooks` (a repository cannot switch off hooks, so it is ignored) and lists a skill named in `skills.disabled` as off.
|
|
12
|
+
|
|
13
|
+
- a29a071: A skill that carries hooks gets them back when the conversation is continued (`--continue`, `--resume`, the picker, a fork, a branch from an earlier prompt, a model change). They are attached again before the first tool call from the skill file as it reads now, under the same guard rule, switches and trust. If the file is gone, no longer loads or its folder is no longer trusted, they are not attached and you and the model are told which skill and why. The skill's result no longer says its hooks last "until cleared or resumed". Skills run by name (`/skills`, `--skills`) are not restored. Needs `@namzu/sdk` with this change.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 82f81a9: A very long reply in the fullscreen view (`tui.fullscreen`) takes far less memory and processor time while it streams, and nothing changes on the screen. Every row is still there to scroll back to, search and select, and a copy still holds the whole text. The view now lays out only what a new piece brought instead of the whole reply again, and keeps one copy of each row. There is nothing to switch on or off. In a real terminal a 1 MB reply of code took 19 s of processor time and 0.8 GB at its peak instead of 45 s and 2.6 GB; smaller replies gain less, and a key typed meanwhile still shows within about 70 ms. The default screen is untouched.
|
|
18
|
+
- 82f81a9: Four small things on the terminal screen, with no setting to change and nothing to switch off.
|
|
19
|
+
|
|
20
|
+
- The `(ctrl+o to expand)` hint (in the fullscreen view `(click to expand)`) is never cut across two rows. When it does not fit after the text on a narrow window, it moves whole to a row of its own, in the column the text continues in, with the `·` before it left off (before, `expand)` stood alone on the next row, for example under the last agent of a finished batch at 80 columns). Where it fits it is drawn exactly as before. In a window too narrow for the whole hint it reads `(ctrl+o)` or `(click)`, and where not even that fits it is left off (the row still opens). This holds for every row that carries a hint and in `namzu watch` on a terminal.
|
|
21
|
+
- A reopened conversation (`namzu -c`, `/resume`) names its agents as it did live: `general-purpose (Check a)` rather than the start of the prompt, and its `Worked for` line carries the total the agents spent (`· 1.6k tokens`). Nothing new is written to the saved record: the short name was already kept beside each agent and the totals are in the conversation's own log. An agent saved before the short name was kept is still named by the start of its prompt.
|
|
22
|
+
- `/resume`, the two `/rewind` choices that replace the conversation in place (restore and summarize) and `/clear-screen` now print the last finished rows that were still held in the live region before the screen is cleared, as `/clear` and Ctrl+L do, so every row that was on screen is in the scrollback once and in order. They were lost before. (The default screen only; the fullscreen view redraws itself.)
|
|
23
|
+
- `namzu watch` puts the hint one space after the text, as the screen does (it was two). It still prints the session's record as text: the fence lines of a code block stay (the code between them is in colour on a terminal) and agents have no rows of their own there; the docs now say so.
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [a29a071]
|
|
26
|
+
- @namzu/sdk@64.2.0
|
|
27
|
+
|
|
28
|
+
## 53.1.0
|
|
29
|
+
|
|
30
|
+
### Minor Changes
|
|
31
|
+
|
|
32
|
+
- 53e644a: A hooks block can now name `file_changed` (`FileChanged`) and `cwd_changed` (`CwdChanged`). `file_changed` watches the files its matcher names (`.envrc|package.json`) and any a hook hands back with `watchPaths`, firing once per burst of writes; nothing is watched when no hook asks. `cwd_changed` fires when a shell command leaves the next one in another folder. A hook on `session_start`, `cwd_changed` or `file_changed` is started with `NAMZU_ENV_FILE` and can append `export NAME=value` lines that become the environment of the shell commands that follow, sub-agents included (loader, shell start-up and `NAMZU_*` names are refused; `PATH` is allowed). `/hooks` lists the variable names set and the files watched; a hook's `systemMessage` is shown in the transcript or on stderr for `namzu exec`. Nothing changes for configs that use neither.
|
|
33
|
+
|
|
34
|
+
The new events work with hooks from every source. A `file_changed` hook a plugin ships or an inline skill carries is watched while it is attached; `NAMZU_DISABLE_HOOKS`, `disableHooks` and `hooksManagedOnly` stop these events' hooks from plugins, skills and agent files too. An entry on `file_changed`, `cwd_changed`, `worktree_create` or `worktree_remove` in an agent file is set aside with a note (the host fires them for the conversation, never inside a run), as are `worktree_create` and `worktree_remove` in a skill, and `file_changed` and `cwd_changed` in a forked skill. A command written for another tool that names an unset `$SOMETOOL_ENV_FILE` is given the variables file on `session_start`, `cwd_changed` and `file_changed`. `namzu worktree create` and `fork` honour the hook switches for hook entries a plugin ships.
|
|
35
|
+
|
|
36
|
+
- f5be253: An agent file can carry its own hooks, for as long as one run of the agent lasts. Nothing is removed or renamed.
|
|
37
|
+
|
|
38
|
+
What you can now do:
|
|
39
|
+
|
|
40
|
+
- Put a `hooks` block, in either shape (ours or the common hook contract's), in an agent file's front matter (`~/.namzu/agents`, `.namzu/agents` or a plugin's agents). It is read by the reader the config files and skills use, so problems read the same. The hooks attach when a run of the agent starts, fire for that run's own tool calls and turns (not the delegating conversation's, a sibling's, or an agent it starts), and come off when it ends, however it ends. Two runs of one agent at once each have their own.
|
|
41
|
+
- Use `Stop` as "when this agent is about to finish": it fires where `SubagentStop` fires, with the agent's last message, once (the same command under both runs once), and can keep the agent working (`exit 2`, or a `block` decision with a reason).
|
|
42
|
+
- See them: `/hooks` lists the hooks a live run has attached, by agent name, and names agent files that carry hooks; `namzu doctor` (`runtime.hooks`), `namzu plugin validate` (`agent-hooks-problem`) and the terminal trust prompt name them. `disableHooks`, `NAMZU_DISABLE_HOOKS=1` and `hooksManagedOnly` stop them, and the agent then runs as if its file had no `hooks` key.
|
|
43
|
+
|
|
44
|
+
What to know: a guard that cannot be loaded is not an agent that runs unguarded. If an entry on an event that can refuse a call or a turn cannot be loaded (or the block is not YAML, has more than 32 entries, or has a `matcher` or `if` over 256 characters), the agent is not offered, and starting it is refused with a line that names the file and the entry. A project agent file that carries a guard is not offered while the folder is not trusted. A guard in one agent file does not follow the agent into the agents it starts. No command-line flag starts the main conversation as an agent definition, so nothing is attached for the main conversation.
|
|
45
|
+
|
|
46
|
+
What to do: an agent file of yours that already had a `hooks:` block written for another tool was ignored until now; it runs for each run of the agent, so read it first. The Desktop app's trust dialog does not list agent hooks yet.
|
|
47
|
+
|
|
48
|
+
- f5be253: A skill can carry its own hooks: a skill written to check every command it runs, or to format every file it writes, keeps that check. Nothing is removed or renamed.
|
|
49
|
+
|
|
50
|
+
What you can now do:
|
|
51
|
+
|
|
52
|
+
- Put a `hooks` block, in either shape (ours or the common hook contract's), in a skill's `SKILL.md` front matter. It is read by the reader the config files use, so problems read the same. The hooks attach when the skill is used (the model loads it, or you run it with `/skills <name>`, `/<name>` or `--skills`), last for the rest of the conversation, and end with `/clear`, a resume, a fork or leaving. A skill that sets `context: fork` attaches them to its agent's run only. `once: true` removes an entry after its first run. The command gets `NAMZU_SKILL_ROOT` (the skill's folder), and `${NAMZU_SKILL_ROOT}` in `command` and `args` is replaced by it.
|
|
53
|
+
- See them: `/hooks` lists a skill's attached hooks with its name and says which skills carry hooks that attach when used; `namzu doctor` (`runtime.hooks`), `namzu skills --audit` and `namzu plugin validate` (`skill-hooks-problem`) name what in a skill's hooks cannot be loaded; the trust prompt lists the hooks the folder's skills carry.
|
|
54
|
+
- Switch them off: `disableHooks`, `NAMZU_DISABLE_HOOKS=1` and `hooksManagedOnly` stop them, and the skill then loads as if it had no `hooks` key (its `allowed-tools` pre-approval stays). No skills place is managed, so under `hooksManagedOnly` none run.
|
|
55
|
+
|
|
56
|
+
What to know: a guard that cannot be loaded is not a skill that runs unguarded. If an entry on an event that can refuse a call or a turn cannot be loaded, the skill still loads without its tools pre-approved, the entries that could be read are still attached, and the model and you are told why in one line. If the block is not YAML, has more than 32 entries, or has a `matcher` or `if` over 256 characters, none of its hooks attach. An entry on another event, or an event this kernel does not have, is dropped with a note. A skill in the project folder cannot attach hooks while the folder is not trusted.
|
|
57
|
+
|
|
58
|
+
What to do: a skill of yours that already had a `hooks:` block written for another tool was ignored until now; it runs when the skill is used, so read it first. The Desktop app's trust dialog does not list skill hooks yet.
|
|
59
|
+
|
|
60
|
+
Also: a hook event written at the top level of the front matter (`PreToolUse:` beside `name:`) is read as if it were under `hooks:`; a forked skill's hooks follow the agent that received the skill's prompt, not whichever agent started first; a skill's `session_start` entry is set aside with a note, since it can never fire; the hooks end with the conversation, so after a resume load the skill again.
|
|
61
|
+
|
|
62
|
+
Also: a skill moved as written that refers to its own folder through a variable ending in `_PLUGIN_ROOT` (or `_SKILL_ROOT`) finds it: an unset one is given the skill's folder under that name. `_PLUGIN_DATA` is not given to a skill (it has no data folder) and the failure line names it; `_PROJECT_DIR` is given the project folder for a skill's and an agent file's entries as for every entry.
|
|
63
|
+
|
|
64
|
+
- efcfde6: A hooks block moved from another tool runs as written when its commands start with that tool's project-folder variable: `"$SOMETOOL_PROJECT_DIR/.hooks/check.sh"` now finds the folder, because any unset variable ending in `_PROJECT_DIR` that a hook command refers to is set to the project folder.
|
|
65
|
+
|
|
66
|
+
For a script that reads such a variable inside its own file, a hook entry takes `env`, a map of names to text (`"env": { "SOMETOOL_PROJECT_DIR": "${NAMZU_PROJECT_DIR}" }`), in both the flat shape and the common shape. `/hooks` and the folder trust prompt list the names it sets (never the values), and it is part of what makes two entries the same. A bad name or a value that is not text is refused in the flat shape and left off with a note in the common shape. When a hook cannot find its program and its command refers to a variable that is set nowhere, the failure line names the variable and the `env` key, and the `runtime.hooks` row of `namzu doctor` warns about such a command before it fails. Nothing existing changes; the doctor row can now show a warning for a hook that refers to an unset variable.
|
|
67
|
+
|
|
68
|
+
- efcfde6: A plugin can ship hook entries, and a plugin written for the common hook contract moves as written. Put them in `hooks/hooks.json` in the plugin folder (read when it exists), in a `.json` path listed in the manifest's `hooks` (any other path in `hooks` is still a JavaScript module), or inline under the new manifest key `hookEntries`, as the events object itself or under a `hooks` key, in either shape. They are read by the same reader a config file's `hooks` key goes through, so problems are said the same way and one bad entry never stops the others; a path that leaves the plugin folder is refused. A command is started with `NAMZU_PLUGIN_ROOT` (the plugin's folder) and `NAMZU_PLUGIN_DATA` (a folder kept for the plugin under the Namzu home, created when first needed, never inside the plugin); a shell command expands them from its environment and an entry in the exec form has them put in its command and arguments. A variable of another tool that ends in `_PLUGIN_ROOT` or `_PLUGIN_DATA` is given the same folders under the name the command used, so a script it starts reads it by that name. The manifest's `hooks` may also be the text of one file or the events object written inline, as the common hook contract writes it. `namzu doctor` no longer warns about loop and `read` variables or names a shell keeps for itself.
|
|
69
|
+
|
|
70
|
+
The entries live while the plugin is on: enabling a plugin (`/plugins`, its saved state, `--plugin-dir`) attaches them and disabling it removes them at once. `/hooks` lists them apart from the plugin's JavaScript hooks with the plugin's name, event, command and matcher, `/plugins` shows how many a plugin ships, `namzu doctor` counts them and reports their problems, and `namzu plugin validate` checks every file and names each problem (`hook-entries-*`). `disableHooks` and `NAMZU_DISABLE_HOOKS` turn them off, and so does `hooksManagedOnly` (no plugin comes from the managed file); the plugin's JavaScript hooks are not touched by any switch. A project plugin is read only after the folder is trusted, and the terminal's trust prompt lists the entries a project's plugins would run, with the plugin's name, before the answer. The Desktop app's trust dialog does not read plugin folders yet.
|
|
71
|
+
|
|
72
|
+
A config-file hook that refers to a variable ending in `_PLUGIN_ROOT` or `_PLUGIN_DATA` still runs as it did (those names are given only to a plugin's own entries, so it sees them empty unless you set them with `env`); if it cannot find its program, the failure line and the `runtime.hooks` row of `namzu doctor` name the variable. Nothing has to be done to upgrade.
|
|
73
|
+
|
|
74
|
+
- 53e644a: A hooks block can now name `worktree_create` (`WorktreeCreate`) and `worktree_remove` (`WorktreeRemove`). A `worktree_create` hook makes the worktree itself (another version-control tool, a prepared checkout, a plain copy) and prints its folder as the last line; Namzu uses it for a sub-agent's `workspace: "worktree"`, `namzu worktree create`, `namzu worktree fork` and `/worktree create`, including outside a Git checkout, and creates none itself. If the hook fails or prints no path, the creation fails with a line naming the hook and what it printed; it never falls back to Git. A `worktree_remove` hook does the removing. A worktree a hook made is not listed by `namzu worktree list`, is kept when a sub-agent changed it and, with no remove hook, is left in place with a line saying where. `/hooks` says that a matcher, `if` or `once` on these two events is ignored. Nothing changes for configs that use neither. The page on managed worktrees is corrected: a delegated child's checkout that ends with no changes is removed automatically; one made by `namzu worktree create` never is. `namzu worktree create` and `fork` in a folder nobody trusted refuse, with exit 64 and nothing created, when the folder's own config declares a `worktree_create` hook (it would not run there, and Git would make the worktree it was written to replace): trust the folder first by running `namzu` in it once. `namzu doctor` says when a `file_changed` hook names no file.
|
|
75
|
+
|
|
76
|
+
A `worktree_create` or `worktree_remove` hook shipped by a plugin takes over like one in a config file; one in a skill or an agent file is set aside with a note. A delegated child that works in a worktree a hook made still gets its agent file's hooks, and they end when it ends.
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- Updated dependencies [53e644a]
|
|
81
|
+
- Updated dependencies [f5be253]
|
|
82
|
+
- Updated dependencies [f5be253]
|
|
83
|
+
- Updated dependencies [efcfde6]
|
|
84
|
+
- Updated dependencies [efcfde6]
|
|
85
|
+
- Updated dependencies [53e644a]
|
|
86
|
+
- @namzu/sdk@64.1.0
|
|
87
|
+
|
|
3
88
|
## 53.0.1
|
|
4
89
|
|
|
5
90
|
### Patch Changes
|
package/dist/bin.js
CHANGED
|
@@ -46,6 +46,6 @@ __name(applyNoColor, "applyNoColor");
|
|
|
46
46
|
applyNoColor();
|
|
47
47
|
|
|
48
48
|
// src/bin.ts
|
|
49
|
-
var { main } = await import("./chunks/bin-main-
|
|
49
|
+
var { main } = await import("./chunks/bin-main-AVPCWJHJ.js");
|
|
50
50
|
await main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
|
|
51
51
|
//# sourceMappingURL=bin.js.map
|
|
@@ -2,28 +2,28 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
dispatchCliPalMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VI66HXJT.js";
|
|
6
6
|
import {
|
|
7
7
|
readUserMcpServers,
|
|
8
8
|
summarizeUserMcpServer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TLTD26JG.js";
|
|
10
10
|
import {
|
|
11
11
|
decideHeadlessTrust
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MKAQAKHE.js";
|
|
13
13
|
import {
|
|
14
14
|
conversationMarkdown,
|
|
15
15
|
lookupPr,
|
|
16
16
|
runCommand,
|
|
17
17
|
withKeyNote
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-6ITTTCLD.js";
|
|
18
|
+
} from "./chunk-D3JJE6VZ.js";
|
|
19
|
+
import "./chunk-LHZ632YK.js";
|
|
21
20
|
import {
|
|
22
21
|
outcomeLine
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IPAGLYU3.js";
|
|
23
|
+
import "./chunk-6ITTTCLD.js";
|
|
24
24
|
import {
|
|
25
25
|
launchRefusal
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YNBAVIQA.js";
|
|
27
27
|
import {
|
|
28
28
|
HeadlessScreen
|
|
29
29
|
} from "./chunk-GWGIAZLZ.js";
|
|
@@ -40,21 +40,22 @@ import {
|
|
|
40
40
|
startCliPalComputer,
|
|
41
41
|
stopCliPalComputer,
|
|
42
42
|
takeOverCliPalComputer
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-6SHOR62K.js";
|
|
44
|
+
import "./chunk-ZWA2JRJV.js";
|
|
44
45
|
import {
|
|
45
46
|
palSessionEnvironment
|
|
46
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-UUQY5P7K.js";
|
|
47
48
|
import {
|
|
48
49
|
cliPalActivitySubscriptionPolicy,
|
|
49
50
|
cliPalActivitySubscriptionStore,
|
|
50
51
|
cliPalCommunicationPolicy,
|
|
51
52
|
cliPalCommunicationStore
|
|
52
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-THOVK7I5.js";
|
|
53
54
|
import {
|
|
54
55
|
claimPalConversation,
|
|
55
56
|
listPalConversations,
|
|
56
57
|
palConversationBinding
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4Q4J3KDG.js";
|
|
58
59
|
import {
|
|
59
60
|
FileCheckpointStore,
|
|
60
61
|
createAgentSession,
|
|
@@ -65,24 +66,21 @@ import {
|
|
|
65
66
|
sessionLogCheckpointView,
|
|
66
67
|
validateComposerSendSettings,
|
|
67
68
|
verifyCredential
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-KAPCNFMC.js";
|
|
78
|
-
import "./chunk-SB3A7KUJ.js";
|
|
69
|
+
} from "./chunk-ZZK2BVEH.js";
|
|
70
|
+
import "./chunk-LQZIENWB.js";
|
|
71
|
+
import "./chunk-U3IK5VKD.js";
|
|
72
|
+
import "./chunk-ZVLTZDC4.js";
|
|
73
|
+
import "./chunk-Y4MKRX73.js";
|
|
74
|
+
import "./chunk-BFCUL4BW.js";
|
|
75
|
+
import "./chunk-YDGUEMBB.js";
|
|
76
|
+
import "./chunk-ZIRQSGOG.js";
|
|
77
|
+
import "./chunk-GFZFGTDZ.js";
|
|
79
78
|
import "./chunk-WHODOMXA.js";
|
|
80
79
|
import "./chunk-YOWYTBJS.js";
|
|
81
|
-
import "./chunk-ZWA2JRJV.js";
|
|
82
80
|
import "./chunk-NUGPLXVK.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-FK6WJQ5T.js";
|
|
82
|
+
import "./chunk-KNBFV3DC.js";
|
|
83
|
+
import "./chunk-TUEZKY7I.js";
|
|
86
84
|
import {
|
|
87
85
|
archiveConversation,
|
|
88
86
|
closeSessions,
|
|
@@ -102,8 +100,8 @@ import {
|
|
|
102
100
|
setTitle,
|
|
103
101
|
storedAssistantPhase,
|
|
104
102
|
unarchiveConversation
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-
|
|
103
|
+
} from "./chunk-VQ5KK7YF.js";
|
|
104
|
+
import "./chunk-T2CHZ6V7.js";
|
|
107
105
|
import {
|
|
108
106
|
cliProjectRoot
|
|
109
107
|
} from "./chunk-JQIBPPOL.js";
|
|
@@ -116,65 +114,37 @@ import {
|
|
|
116
114
|
listPals,
|
|
117
115
|
palAtWorkspace,
|
|
118
116
|
updatePal
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-
|
|
117
|
+
} from "./chunk-3WTIGIDA.js";
|
|
118
|
+
import "./chunk-VTS2SVX6.js";
|
|
121
119
|
import {
|
|
122
120
|
flushCompileCacheWhenIdle
|
|
123
121
|
} from "./chunk-SOIP273Z.js";
|
|
124
122
|
import {
|
|
125
123
|
DESKTOP_CONTRACT
|
|
126
124
|
} from "./chunk-KD6WL3W7.js";
|
|
127
|
-
import {
|
|
128
|
-
resolveTrustedProjectContext
|
|
129
|
-
} from "./chunk-CHIEVVQ2.js";
|
|
130
125
|
import {
|
|
131
126
|
deleteUserConfigValue,
|
|
132
127
|
setUserConfigValue,
|
|
133
128
|
userConfigPath
|
|
134
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-K3QEZ7D7.js";
|
|
130
|
+
import {
|
|
131
|
+
resolveTrustedProjectContext
|
|
132
|
+
} from "./chunk-CHIEVVQ2.js";
|
|
135
133
|
import "./chunk-EDOJTQQU.js";
|
|
136
|
-
import "./chunk-
|
|
137
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-FAWY4LRG.js";
|
|
135
|
+
import "./chunk-5YNAPIUZ.js";
|
|
138
136
|
import "./chunk-K6GW3ZS7.js";
|
|
139
137
|
import "./chunk-BBTPD3DU.js";
|
|
140
|
-
import "./chunk-
|
|
138
|
+
import "./chunk-VBRCNXMM.js";
|
|
139
|
+
import "./chunk-ZI5FFFBJ.js";
|
|
141
140
|
import "./chunk-GNBMKISG.js";
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import {
|
|
145
|
-
ConfigValueError,
|
|
146
|
-
approveShownMcpServers,
|
|
147
|
-
fingerprintMcpServer,
|
|
148
|
-
loadConfig,
|
|
149
|
-
pendingProjectMcpServers,
|
|
150
|
-
readConfigKey
|
|
151
|
-
} from "./chunk-WSMX3IQE.js";
|
|
152
|
-
import "./chunk-U4XNJBDB.js";
|
|
153
|
-
import {
|
|
154
|
-
compilePermissionLayers,
|
|
155
|
-
permissionLayersOf,
|
|
156
|
-
warnLegacyMcpPermissionNames
|
|
157
|
-
} from "./chunk-5NDRDTNX.js";
|
|
158
|
-
import "./chunk-LCGXWCVU.js";
|
|
159
|
-
import {
|
|
160
|
-
cliLogger
|
|
161
|
-
} from "./chunk-HUONDMU4.js";
|
|
162
|
-
import "./chunk-SIG7WHBU.js";
|
|
163
|
-
import "./chunk-LVVD32KJ.js";
|
|
164
|
-
import "./chunk-6PWRKA5T.js";
|
|
165
|
-
import {
|
|
166
|
-
require_dist
|
|
167
|
-
} from "./chunk-KONYGNG6.js";
|
|
168
|
-
import "./chunk-QPR3UA4L.js";
|
|
169
|
-
import "./chunk-WMEZTDLT.js";
|
|
141
|
+
import "./chunk-2O6LZGGG.js";
|
|
142
|
+
import "./chunk-MXJAJXE7.js";
|
|
170
143
|
import {
|
|
171
144
|
CLI_VERSION
|
|
172
145
|
} from "./chunk-HE7WUOX2.js";
|
|
173
|
-
import "./chunk-WD2F6EO3.js";
|
|
174
|
-
import "./chunk-S2JWPUUH.js";
|
|
175
146
|
import "./chunk-I4GTRFPK.js";
|
|
176
|
-
import "./chunk-
|
|
177
|
-
import "./chunk-HGZYNEQE.js";
|
|
147
|
+
import "./chunk-WD2F6EO3.js";
|
|
178
148
|
import {
|
|
179
149
|
TERMINAL_MARKER,
|
|
180
150
|
buildPtyEnv,
|
|
@@ -185,8 +155,15 @@ import {
|
|
|
185
155
|
loadHostPty,
|
|
186
156
|
processesCarrying,
|
|
187
157
|
quietConptyHelper
|
|
188
|
-
} from "./chunk-
|
|
189
|
-
import "./chunk-
|
|
158
|
+
} from "./chunk-KFWQSTT3.js";
|
|
159
|
+
import "./chunk-P3LYPSD6.js";
|
|
160
|
+
import "./chunk-DEH4YIDN.js";
|
|
161
|
+
import {
|
|
162
|
+
PluginSettingsStore
|
|
163
|
+
} from "./chunk-4JBQTRTF.js";
|
|
164
|
+
import "./chunk-IERT7D34.js";
|
|
165
|
+
import "./chunk-JFLX34FA.js";
|
|
166
|
+
import "./chunk-XGS5WUCQ.js";
|
|
190
167
|
import {
|
|
191
168
|
automaticKind,
|
|
192
169
|
canSelectModel,
|
|
@@ -196,27 +173,56 @@ import {
|
|
|
196
173
|
removeProviderKey,
|
|
197
174
|
saveProviderKey,
|
|
198
175
|
typedKeyProvider
|
|
199
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-JXJIKAAE.js";
|
|
200
177
|
import {
|
|
201
178
|
isOfferableModel
|
|
202
179
|
} from "./chunk-4QIWRKJO.js";
|
|
203
|
-
import "./chunk-G6YSAHKC.js";
|
|
204
180
|
import "./chunk-KTPFUCRU.js";
|
|
181
|
+
import {
|
|
182
|
+
ConfigValueError,
|
|
183
|
+
approveShownMcpServers,
|
|
184
|
+
fingerprintMcpServer,
|
|
185
|
+
loadConfig,
|
|
186
|
+
pendingProjectMcpServers,
|
|
187
|
+
readConfigKey
|
|
188
|
+
} from "./chunk-YCJOAIDG.js";
|
|
189
|
+
import {
|
|
190
|
+
hookSwitch
|
|
191
|
+
} from "./chunk-5WORROIE.js";
|
|
192
|
+
import "./chunk-LCGXWCVU.js";
|
|
193
|
+
import {
|
|
194
|
+
compilePermissionLayers,
|
|
195
|
+
permissionLayersOf,
|
|
196
|
+
warnLegacyMcpPermissionNames
|
|
197
|
+
} from "./chunk-4NVFHP23.js";
|
|
198
|
+
import {
|
|
199
|
+
cliLogger
|
|
200
|
+
} from "./chunk-W5TE6NIA.js";
|
|
201
|
+
import "./chunk-SIG7WHBU.js";
|
|
202
|
+
import "./chunk-LVVD32KJ.js";
|
|
203
|
+
import "./chunk-6PWRKA5T.js";
|
|
204
|
+
import {
|
|
205
|
+
require_dist
|
|
206
|
+
} from "./chunk-KONYGNG6.js";
|
|
207
|
+
import "./chunk-WMEZTDLT.js";
|
|
208
|
+
import "./chunk-U5UV2YRE.js";
|
|
209
|
+
import "./chunk-S2JWPUUH.js";
|
|
210
|
+
import "./chunk-G6YSAHKC.js";
|
|
205
211
|
import "./chunk-RI2KAZJO.js";
|
|
206
|
-
import "./chunk-
|
|
207
|
-
import "./chunk-
|
|
208
|
-
import "./chunk-
|
|
212
|
+
import "./chunk-DEEK2FOC.js";
|
|
213
|
+
import "./chunk-FRADQASS.js";
|
|
214
|
+
import "./chunk-O4GHSR2X.js";
|
|
209
215
|
import {
|
|
210
216
|
isTrusted,
|
|
211
217
|
isTrustedAtStateRoot,
|
|
212
218
|
trustDir,
|
|
213
219
|
untrustDir
|
|
214
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-DSMBM5LQ.js";
|
|
215
221
|
import {
|
|
216
222
|
canonicalProjectPath
|
|
217
223
|
} from "./chunk-JORONMD3.js";
|
|
218
|
-
import "./chunk-
|
|
219
|
-
import "./chunk-
|
|
224
|
+
import "./chunk-XFCFWWFK.js";
|
|
225
|
+
import "./chunk-2KNLSJFS.js";
|
|
220
226
|
import {
|
|
221
227
|
ACPServer,
|
|
222
228
|
DiskLogMedium,
|
|
@@ -256,7 +262,7 @@ import {
|
|
|
256
262
|
selectAssistantText,
|
|
257
263
|
turnHolder,
|
|
258
264
|
withSessionChildMarker
|
|
259
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-JTEWIH66.js";
|
|
260
266
|
import {
|
|
261
267
|
__name,
|
|
262
268
|
__toESM
|
|
@@ -7446,6 +7452,18 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
|
|
|
7446
7452
|
live: runtime.mcpStatus?.(cwd) ?? { connected: [], failed: [] }
|
|
7447
7453
|
});
|
|
7448
7454
|
}, "namzu/mcp/servers"),
|
|
7455
|
+
/**
|
|
7456
|
+
* What runs by itself in this folder: every hook from the config files, plugins, skills and
|
|
7457
|
+
* agent files, with its state and where it came from. Reads files only. A folder nobody
|
|
7458
|
+
* trusted is described too, as what would start once it is trusted: nothing of it is executed
|
|
7459
|
+
* or imported, and no plugin module is loaded.
|
|
7460
|
+
*/
|
|
7461
|
+
"namzu/hooks/list": /* @__PURE__ */ __name(async (params = {}) => {
|
|
7462
|
+
if (!params || typeof params !== "object" || Array.isArray(params) || Object.keys(params).length > 0)
|
|
7463
|
+
throw new Error("Invalid hooks request.");
|
|
7464
|
+
const { describeFolderHooks } = await import("./hooks-report-GGRTQH23.js");
|
|
7465
|
+
return describeFolderHooks({ cwd, trusted: isTrusted(cwd) });
|
|
7466
|
+
}, "namzu/hooks/list"),
|
|
7449
7467
|
/** Approves servers `.mcp.json` declared, as they were listed, the way `namzu mcp approve` does. */
|
|
7450
7468
|
"namzu/mcp/approve": /* @__PURE__ */ __name(async (params) => {
|
|
7451
7469
|
if (!params || typeof params !== "object" || Object.keys(params).some((key) => key !== "servers"))
|
|
@@ -8211,6 +8229,7 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
|
|
|
8211
8229
|
...projectCtx.config.web ? { web: projectCtx.config.web } : {},
|
|
8212
8230
|
...projectCtx.config.smallModel ? { smallModel: projectCtx.config.smallModel } : {},
|
|
8213
8231
|
...projectCtx.config.hooks ? { hooks: projectCtx.config.hooks } : {},
|
|
8232
|
+
...hookSwitch(projectCtx.config) ? { hooksSwitch: hookSwitch(projectCtx.config) } : {},
|
|
8214
8233
|
...projectCtx.config.compaction ? { compaction: projectCtx.config.compaction } : {},
|
|
8215
8234
|
...projectCtx.config.memory ? { memory: projectCtx.config.memory } : {},
|
|
8216
8235
|
...projectCtx.config.sandbox ? { sandbox: projectCtx.config.sandbox } : {},
|
|
@@ -9258,4 +9277,4 @@ export {
|
|
|
9258
9277
|
resolveAcpSession,
|
|
9259
9278
|
runAcpCommand
|
|
9260
9279
|
};
|
|
9261
|
-
//# sourceMappingURL=acp-
|
|
9280
|
+
//# sourceMappingURL=acp-3FNB6MSI.js.map
|