@namzu/cli 41.2.0 → 41.2.2
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 +31 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-PBJTGQHA.js → acp-5RFAFTQU.js} +39 -39
- package/dist/chunks/{activity-command-JFBLFZSJ.js → activity-command-XLF5EAM5.js} +12 -12
- package/dist/chunks/{add-MSMS6QMP.js → add-Z6Y5DOCM.js} +15 -15
- package/dist/chunks/{agent-OEXJQTAS.js → agent-U4NFC4DT.js} +30 -30
- package/dist/chunks/agent-session-LHOJDS75.js +59 -0
- package/dist/chunks/{archive-Z4MSUTUS.js → archive-P47MRHE2.js} +10 -10
- package/dist/chunks/{bin-main-3NKAMTSR.js → bin-main-B3QOTIEH.js} +3 -3
- package/dist/chunks/{browser-Q7CAR3HM.js → browser-QN24UC7K.js} +6 -6
- package/dist/chunks/{chat-Z5AJZSH6.js → chat-HRORSJPH.js} +15 -15
- package/dist/chunks/{chunk-5TXHYHGI.js → chunk-25XPE4N6.js} +3 -3
- package/dist/chunks/{chunk-LJQKALFW.js → chunk-2HDIUUMX.js} +2 -2
- package/dist/chunks/{chunk-FIJIJBVB.js → chunk-2QXVOSJM.js} +6 -6
- package/dist/chunks/{chunk-ETQIZ5KN.js → chunk-2UPDDG7V.js} +3 -3
- package/dist/chunks/{chunk-JDD4EWD6.js → chunk-2UYBHC3L.js} +2 -2
- package/dist/chunks/{chunk-ERRNULJ3.js → chunk-2VQ475KY.js} +2 -2
- package/dist/chunks/{chunk-3D6A3HLM.js → chunk-34L6FTQV.js} +2 -2
- package/dist/chunks/{chunk-LXGJMPVM.js → chunk-37DRD4QM.js} +3 -3
- package/dist/chunks/{chunk-3UXYK42Z.js → chunk-3OP32UHN.js} +3 -3
- package/dist/chunks/{chunk-MJMA5OHV.js → chunk-3RC4ATZI.js} +3 -3
- package/dist/chunks/{chunk-A3NXWBMA.js → chunk-4SBUXWX3.js} +6 -3
- package/dist/chunks/chunk-4SBUXWX3.js.map +6 -0
- package/dist/chunks/{chunk-NN67WN5F.js → chunk-4SP6H34B.js} +2 -2
- package/dist/chunks/{chunk-WJG5O4KK.js → chunk-4WWLRVYU.js} +1750 -1433
- package/dist/chunks/chunk-4WWLRVYU.js.map +6 -0
- package/dist/chunks/{chunk-R3REKFM3.js → chunk-5XJC5G7N.js} +8 -8
- package/dist/chunks/{chunk-I7T3E2GZ.js → chunk-72CFHDKQ.js} +7 -7
- package/dist/chunks/{chunk-WYH6NXPA.js → chunk-7B5YTYHY.js} +4 -4
- package/dist/chunks/{chunk-Z2EACB4F.js → chunk-A6J2VJL5.js} +4 -4
- package/dist/chunks/{chunk-SFOKT7BD.js → chunk-ANUGFVZI.js} +4 -4
- package/dist/chunks/{chunk-NWNJO347.js → chunk-BHR2CNBZ.js} +4 -4
- package/dist/chunks/{chunk-N6YMEARB.js → chunk-BNMFWLWH.js} +2 -2
- package/dist/chunks/{chunk-YUCU537D.js → chunk-C2IABASE.js} +4 -4
- package/dist/chunks/{chunk-2U3AGHA2.js → chunk-CAPC66Q6.js} +3 -3
- package/dist/chunks/{chunk-FDTTJKE2.js → chunk-CEIYJWZ2.js} +2 -2
- package/dist/chunks/{chunk-H56UWANP.js → chunk-CIIMESY2.js} +4 -4
- package/dist/chunks/{chunk-DNW5R5BJ.js → chunk-CLADMV2E.js} +2 -2
- package/dist/chunks/{chunk-ZNSLNHYH.js → chunk-CM2I2L4G.js} +2 -2
- package/dist/chunks/{chunk-PPFEI5JA.js → chunk-CT23IU3D.js} +3 -3
- package/dist/chunks/{chunk-IN62T4C7.js → chunk-D2M5K6UY.js} +2 -2
- package/dist/chunks/{chunk-DLLDZEN6.js → chunk-DHV3KMEC.js} +30 -30
- package/dist/chunks/{chunk-M2DUJ2ET.js → chunk-DQKQKNDY.js} +9 -9
- package/dist/chunks/{chunk-56M5MQ4J.js → chunk-E7FQPIJB.js} +2 -2
- package/dist/chunks/{chunk-GMAVUBKY.js → chunk-G34P5PIK.js} +4 -4
- package/dist/chunks/{chunk-XQUBSIWB.js → chunk-I55BEPVH.js} +4 -4
- package/dist/chunks/{chunk-CEBLRMD4.js → chunk-J67SASGK.js} +13 -13
- package/dist/chunks/{chunk-5UQSACPK.js → chunk-JEULHVUH.js} +249 -72
- package/dist/chunks/chunk-JEULHVUH.js.map +6 -0
- package/dist/chunks/{chunk-XI4FSVO4.js → chunk-JKXCLMMZ.js} +2 -2
- package/dist/chunks/{chunk-KJBANDDG.js → chunk-L2GZVP5H.js} +8 -8
- package/dist/chunks/{chunk-LURD5LEU.js → chunk-LVDRURI4.js} +2 -2
- package/dist/chunks/{chunk-LQ6IIEFT.js → chunk-NTPBXJMK.js} +3 -3
- package/dist/chunks/{chunk-R4KW67FB.js → chunk-OFNGIO53.js} +2 -2
- package/dist/chunks/{chunk-EBM72A56.js → chunk-PKBHQFT6.js} +4 -4
- package/dist/chunks/{chunk-DYV2522W.js → chunk-QNFMVN4D.js} +2 -2
- package/dist/chunks/{chunk-TFJNH7ID.js → chunk-QZYTSINZ.js} +4 -4
- package/dist/chunks/{chunk-VQTWIVVA.js → chunk-RKSYVIQX.js} +5 -5
- package/dist/chunks/{chunk-7MYFM63X.js → chunk-RM4XZZL3.js} +12 -12
- package/dist/chunks/{chunk-L6QWM6JH.js → chunk-SEVUBJMR.js} +2 -2
- package/dist/chunks/{chunk-74E5AVCZ.js → chunk-TU46IHIV.js} +5 -5
- package/dist/chunks/{chunk-VMF3FBAG.js → chunk-U2AVT6OB.js} +3 -3
- package/dist/chunks/{chunk-33NYEJRI.js → chunk-UEXQA2UW.js} +3 -3
- package/dist/chunks/{chunk-5IUMQ3HV.js → chunk-UM4ECTUS.js} +13 -13
- package/dist/chunks/{chunk-FGLIZTK4.js → chunk-VALR7WUL.js} +2 -2
- package/dist/chunks/{chunk-NJGAXOWJ.js → chunk-VCKNYZYH.js} +6 -6
- package/dist/chunks/{chunk-ZA6AX5U4.js → chunk-WBTXYSAB.js} +2 -2
- package/dist/chunks/{chunk-6C4J5CIK.js → chunk-WJ7XYOSE.js} +2 -2
- package/dist/chunks/{chunk-F3MJOWFD.js → chunk-WKGECHMV.js} +6 -6
- package/dist/chunks/{chunk-3ZB55MHY.js → chunk-WN7YMX22.js} +4 -4
- package/dist/chunks/{chunk-LKVNTESX.js → chunk-Y5QV6NZK.js} +2 -2
- package/dist/chunks/{chunk-SK5SRMCT.js → chunk-YYX7O3T2.js} +3 -3
- package/dist/chunks/{chunk-NQSQZ2UV.js → chunk-Z7DJAGBK.js} +2 -2
- package/dist/chunks/{chunk-6W42AIQG.js → chunk-ZDEFWEEI.js} +7 -7
- package/dist/chunks/{chunk-TX3FNXAO.js → chunk-ZGBKTT7X.js} +2 -2
- package/dist/chunks/{chunk-3XMZDCBX.js → chunk-ZMZR4UTZ.js} +2 -2
- package/dist/chunks/{chunk-A6YM5FG3.js → chunk-ZQRO6GGZ.js} +5 -5
- package/dist/chunks/{cli-runtime-RPB4M2RF.js → cli-runtime-7GSPWSYW.js} +10 -10
- package/dist/chunks/{commands-IMYUSFHX.js → commands-LU5AOF65.js} +5 -5
- package/dist/chunks/{crash-report-PWJTZU34.js → crash-report-YDSO3QZP.js} +6 -6
- package/dist/chunks/{dist-J2I6IEOU.js → dist-47WGWXP5.js} +2 -2
- package/dist/chunks/{dist-VPHQMXFD.js → dist-7JBTU4ZA.js} +2 -2
- package/dist/chunks/{dist-T6QDOXHW.js → dist-7PFXZB32.js} +2 -2
- package/dist/chunks/{dist-CEKNZS6X.js → dist-BJMHCL2F.js} +2 -2
- package/dist/chunks/{dist-GSHJSYUF.js → dist-FI4O2BO3.js} +2 -2
- package/dist/chunks/{dist-THRSTILU.js → dist-JWX7FPMB.js} +2 -2
- package/dist/chunks/{dist-B4YMSACL.js → dist-SLWBMTWO.js} +2 -2
- package/dist/chunks/{doctor-LJTFZVNL.js → doctor-ZK3CTBDR.js} +8 -8
- package/dist/chunks/{drain-FZ7QVFJ5.js → drain-CVQW35OB.js} +10 -10
- package/dist/chunks/{eval-STWOVX3N.js → eval-PBRDQ7GI.js} +2 -2
- package/dist/chunks/{exec-EWHE65KQ.js → exec-ZVOPAVQC.js} +28 -28
- package/dist/chunks/{home-GKHHL5OL.js → home-QPIQIIAR.js} +3 -3
- package/dist/chunks/{host-queries-D3VSQE6Z.js → host-queries-UUG7LHPF.js} +15 -15
- package/dist/chunks/{learn-N3NKUI4W.js → learn-AILV7XYA.js} +13 -13
- package/dist/chunks/{learn-builtin-OZQUS64D.js → learn-builtin-I2RMG7OE.js} +16 -16
- package/dist/chunks/{lifecycle-MRG5PYDG.js → lifecycle-ZZ5HDP6F.js} +24 -24
- package/dist/chunks/{list-X5V5SGOY.js → list-TMHSX32S.js} +11 -11
- package/dist/chunks/{login-IXB52EFK.js → login-VUIOQEA2.js} +8 -8
- package/dist/chunks/{logs-BBC3W6H5.js → logs-QQTFNNSW.js} +4 -4
- package/dist/chunks/{mcp-UEQPXI7K.js → mcp-6H3YELN6.js} +16 -16
- package/dist/chunks/{message-command-PXMP4IC4.js → message-command-IQTT76ZY.js} +36 -36
- package/dist/chunks/{operator-tools-OZCXJX23.js → operator-tools-ISZGHK3F.js} +13 -13
- package/dist/chunks/{output-schema-OKJHMA22.js → output-schema-63NLKBRY.js} +3 -3
- package/dist/chunks/{pal-COYTNDHQ.js → pal-RAIDDDNH.js} +11 -11
- package/dist/chunks/{providers-56OCKVO4.js → providers-N2UXL3XT.js} +6 -6
- package/dist/chunks/{resident-2XJYIQOD.js → resident-CWT62J2M.js} +24 -24
- package/dist/chunks/resume-PKATLA4S.js +23 -0
- package/dist/chunks/{resume-command-EIDWBG7D.js → resume-command-DNNLB5SK.js} +4 -4
- package/dist/chunks/{schedule-SJ36DUQY.js → schedule-6N33GN2Z.js} +8 -8
- package/dist/chunks/{service-FEZAPVUE.js → service-77ZFLYDC.js} +23 -23
- package/dist/chunks/session-step-I5DFTYDV.js +30 -0
- package/dist/chunks/{skills-CXLLO5VH.js → skills-SAIXOU7Z.js} +8 -8
- package/dist/chunks/{state-QZBFM4HR.js → state-J4NZZP7B.js} +2 -2
- package/dist/chunks/{store-T76GFLGS.js → store-2JQLHCG4.js} +4 -4
- package/dist/chunks/{store-7TGN2BZW.js → store-QLG76DQG.js} +6 -6
- package/dist/chunks/{store-SFATKTMK.js → store-YRVVPTUX.js} +10 -10
- package/dist/chunks/{tui-ZHDQMAUW.js → tui-77L5I5EV.js} +167 -82
- package/dist/chunks/tui-77L5I5EV.js.map +6 -0
- package/dist/chunks/{upgrade-U3AHBHY3.js → upgrade-ZTG65H5Q.js} +2 -2
- package/dist/chunks/{worktree-LU7NNZQZ.js → worktree-5ETUFJAC.js} +12 -12
- package/dist/context/runtime-message.d.ts.map +1 -1
- package/dist/context/turn-snapshot.d.ts +26 -8
- package/dist/context/turn-snapshot.d.ts.map +1 -1
- package/dist/index.js +12 -12
- package/dist/integrations/resident/runner-worker.js +20 -20
- package/dist/integrations/sessions/evidence-recall.d.ts +1 -1
- package/dist/integrations/sessions/evidence-recall.d.ts.map +1 -1
- package/dist/integrations/subagents/saved-agents.d.ts +12 -3
- package/dist/integrations/subagents/saved-agents.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/PlanApprovalOverlay.d.ts.map +1 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/compaction-rows.d.ts +13 -0
- package/dist/tui/compaction-rows.d.ts.map +1 -1
- package/dist/tui/display-path.d.ts +12 -0
- package/dist/tui/display-path.d.ts.map +1 -1
- package/dist/tui/permission-review.d.ts +9 -0
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/resume-empty.d.ts +14 -0
- package/dist/tui/resume-empty.d.ts.map +1 -0
- package/dist/tui/tidy-tool-output.d.ts.map +1 -1
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/chunks/agent-session-MQEHBQXA.js +0 -59
- package/dist/chunks/chunk-5UQSACPK.js.map +0 -6
- package/dist/chunks/chunk-A3NXWBMA.js.map +0 -6
- package/dist/chunks/chunk-WJG5O4KK.js.map +0 -6
- package/dist/chunks/resume-OKFXVP4R.js +0 -23
- package/dist/chunks/session-step-Z53LX627.js +0 -30
- package/dist/chunks/tui-ZHDQMAUW.js.map +0 -6
- /package/dist/chunks/{acp-PBJTGQHA.js.map → acp-5RFAFTQU.js.map} +0 -0
- /package/dist/chunks/{activity-command-JFBLFZSJ.js.map → activity-command-XLF5EAM5.js.map} +0 -0
- /package/dist/chunks/{add-MSMS6QMP.js.map → add-Z6Y5DOCM.js.map} +0 -0
- /package/dist/chunks/{agent-OEXJQTAS.js.map → agent-U4NFC4DT.js.map} +0 -0
- /package/dist/chunks/{agent-session-MQEHBQXA.js.map → agent-session-LHOJDS75.js.map} +0 -0
- /package/dist/chunks/{archive-Z4MSUTUS.js.map → archive-P47MRHE2.js.map} +0 -0
- /package/dist/chunks/{bin-main-3NKAMTSR.js.map → bin-main-B3QOTIEH.js.map} +0 -0
- /package/dist/chunks/{browser-Q7CAR3HM.js.map → browser-QN24UC7K.js.map} +0 -0
- /package/dist/chunks/{chat-Z5AJZSH6.js.map → chat-HRORSJPH.js.map} +0 -0
- /package/dist/chunks/{chunk-5TXHYHGI.js.map → chunk-25XPE4N6.js.map} +0 -0
- /package/dist/chunks/{chunk-LJQKALFW.js.map → chunk-2HDIUUMX.js.map} +0 -0
- /package/dist/chunks/{chunk-FIJIJBVB.js.map → chunk-2QXVOSJM.js.map} +0 -0
- /package/dist/chunks/{chunk-ETQIZ5KN.js.map → chunk-2UPDDG7V.js.map} +0 -0
- /package/dist/chunks/{chunk-JDD4EWD6.js.map → chunk-2UYBHC3L.js.map} +0 -0
- /package/dist/chunks/{chunk-ERRNULJ3.js.map → chunk-2VQ475KY.js.map} +0 -0
- /package/dist/chunks/{chunk-3D6A3HLM.js.map → chunk-34L6FTQV.js.map} +0 -0
- /package/dist/chunks/{chunk-LXGJMPVM.js.map → chunk-37DRD4QM.js.map} +0 -0
- /package/dist/chunks/{chunk-3UXYK42Z.js.map → chunk-3OP32UHN.js.map} +0 -0
- /package/dist/chunks/{chunk-MJMA5OHV.js.map → chunk-3RC4ATZI.js.map} +0 -0
- /package/dist/chunks/{chunk-NN67WN5F.js.map → chunk-4SP6H34B.js.map} +0 -0
- /package/dist/chunks/{chunk-R3REKFM3.js.map → chunk-5XJC5G7N.js.map} +0 -0
- /package/dist/chunks/{chunk-I7T3E2GZ.js.map → chunk-72CFHDKQ.js.map} +0 -0
- /package/dist/chunks/{chunk-WYH6NXPA.js.map → chunk-7B5YTYHY.js.map} +0 -0
- /package/dist/chunks/{chunk-Z2EACB4F.js.map → chunk-A6J2VJL5.js.map} +0 -0
- /package/dist/chunks/{chunk-SFOKT7BD.js.map → chunk-ANUGFVZI.js.map} +0 -0
- /package/dist/chunks/{chunk-NWNJO347.js.map → chunk-BHR2CNBZ.js.map} +0 -0
- /package/dist/chunks/{chunk-N6YMEARB.js.map → chunk-BNMFWLWH.js.map} +0 -0
- /package/dist/chunks/{chunk-YUCU537D.js.map → chunk-C2IABASE.js.map} +0 -0
- /package/dist/chunks/{chunk-2U3AGHA2.js.map → chunk-CAPC66Q6.js.map} +0 -0
- /package/dist/chunks/{chunk-FDTTJKE2.js.map → chunk-CEIYJWZ2.js.map} +0 -0
- /package/dist/chunks/{chunk-H56UWANP.js.map → chunk-CIIMESY2.js.map} +0 -0
- /package/dist/chunks/{chunk-DNW5R5BJ.js.map → chunk-CLADMV2E.js.map} +0 -0
- /package/dist/chunks/{chunk-ZNSLNHYH.js.map → chunk-CM2I2L4G.js.map} +0 -0
- /package/dist/chunks/{chunk-PPFEI5JA.js.map → chunk-CT23IU3D.js.map} +0 -0
- /package/dist/chunks/{chunk-IN62T4C7.js.map → chunk-D2M5K6UY.js.map} +0 -0
- /package/dist/chunks/{chunk-DLLDZEN6.js.map → chunk-DHV3KMEC.js.map} +0 -0
- /package/dist/chunks/{chunk-M2DUJ2ET.js.map → chunk-DQKQKNDY.js.map} +0 -0
- /package/dist/chunks/{chunk-56M5MQ4J.js.map → chunk-E7FQPIJB.js.map} +0 -0
- /package/dist/chunks/{chunk-GMAVUBKY.js.map → chunk-G34P5PIK.js.map} +0 -0
- /package/dist/chunks/{chunk-XQUBSIWB.js.map → chunk-I55BEPVH.js.map} +0 -0
- /package/dist/chunks/{chunk-CEBLRMD4.js.map → chunk-J67SASGK.js.map} +0 -0
- /package/dist/chunks/{chunk-XI4FSVO4.js.map → chunk-JKXCLMMZ.js.map} +0 -0
- /package/dist/chunks/{chunk-KJBANDDG.js.map → chunk-L2GZVP5H.js.map} +0 -0
- /package/dist/chunks/{chunk-LURD5LEU.js.map → chunk-LVDRURI4.js.map} +0 -0
- /package/dist/chunks/{chunk-LQ6IIEFT.js.map → chunk-NTPBXJMK.js.map} +0 -0
- /package/dist/chunks/{chunk-R4KW67FB.js.map → chunk-OFNGIO53.js.map} +0 -0
- /package/dist/chunks/{chunk-EBM72A56.js.map → chunk-PKBHQFT6.js.map} +0 -0
- /package/dist/chunks/{chunk-DYV2522W.js.map → chunk-QNFMVN4D.js.map} +0 -0
- /package/dist/chunks/{chunk-TFJNH7ID.js.map → chunk-QZYTSINZ.js.map} +0 -0
- /package/dist/chunks/{chunk-VQTWIVVA.js.map → chunk-RKSYVIQX.js.map} +0 -0
- /package/dist/chunks/{chunk-7MYFM63X.js.map → chunk-RM4XZZL3.js.map} +0 -0
- /package/dist/chunks/{chunk-L6QWM6JH.js.map → chunk-SEVUBJMR.js.map} +0 -0
- /package/dist/chunks/{chunk-74E5AVCZ.js.map → chunk-TU46IHIV.js.map} +0 -0
- /package/dist/chunks/{chunk-VMF3FBAG.js.map → chunk-U2AVT6OB.js.map} +0 -0
- /package/dist/chunks/{chunk-33NYEJRI.js.map → chunk-UEXQA2UW.js.map} +0 -0
- /package/dist/chunks/{chunk-5IUMQ3HV.js.map → chunk-UM4ECTUS.js.map} +0 -0
- /package/dist/chunks/{chunk-FGLIZTK4.js.map → chunk-VALR7WUL.js.map} +0 -0
- /package/dist/chunks/{chunk-NJGAXOWJ.js.map → chunk-VCKNYZYH.js.map} +0 -0
- /package/dist/chunks/{chunk-ZA6AX5U4.js.map → chunk-WBTXYSAB.js.map} +0 -0
- /package/dist/chunks/{chunk-6C4J5CIK.js.map → chunk-WJ7XYOSE.js.map} +0 -0
- /package/dist/chunks/{chunk-F3MJOWFD.js.map → chunk-WKGECHMV.js.map} +0 -0
- /package/dist/chunks/{chunk-3ZB55MHY.js.map → chunk-WN7YMX22.js.map} +0 -0
- /package/dist/chunks/{chunk-LKVNTESX.js.map → chunk-Y5QV6NZK.js.map} +0 -0
- /package/dist/chunks/{chunk-SK5SRMCT.js.map → chunk-YYX7O3T2.js.map} +0 -0
- /package/dist/chunks/{chunk-NQSQZ2UV.js.map → chunk-Z7DJAGBK.js.map} +0 -0
- /package/dist/chunks/{chunk-6W42AIQG.js.map → chunk-ZDEFWEEI.js.map} +0 -0
- /package/dist/chunks/{chunk-TX3FNXAO.js.map → chunk-ZGBKTT7X.js.map} +0 -0
- /package/dist/chunks/{chunk-3XMZDCBX.js.map → chunk-ZMZR4UTZ.js.map} +0 -0
- /package/dist/chunks/{chunk-A6YM5FG3.js.map → chunk-ZQRO6GGZ.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-RPB4M2RF.js.map → cli-runtime-7GSPWSYW.js.map} +0 -0
- /package/dist/chunks/{commands-IMYUSFHX.js.map → commands-LU5AOF65.js.map} +0 -0
- /package/dist/chunks/{crash-report-PWJTZU34.js.map → crash-report-YDSO3QZP.js.map} +0 -0
- /package/dist/chunks/{dist-J2I6IEOU.js.map → dist-47WGWXP5.js.map} +0 -0
- /package/dist/chunks/{dist-VPHQMXFD.js.map → dist-7JBTU4ZA.js.map} +0 -0
- /package/dist/chunks/{dist-T6QDOXHW.js.map → dist-7PFXZB32.js.map} +0 -0
- /package/dist/chunks/{dist-CEKNZS6X.js.map → dist-BJMHCL2F.js.map} +0 -0
- /package/dist/chunks/{dist-GSHJSYUF.js.map → dist-FI4O2BO3.js.map} +0 -0
- /package/dist/chunks/{dist-THRSTILU.js.map → dist-JWX7FPMB.js.map} +0 -0
- /package/dist/chunks/{dist-B4YMSACL.js.map → dist-SLWBMTWO.js.map} +0 -0
- /package/dist/chunks/{doctor-LJTFZVNL.js.map → doctor-ZK3CTBDR.js.map} +0 -0
- /package/dist/chunks/{drain-FZ7QVFJ5.js.map → drain-CVQW35OB.js.map} +0 -0
- /package/dist/chunks/{eval-STWOVX3N.js.map → eval-PBRDQ7GI.js.map} +0 -0
- /package/dist/chunks/{exec-EWHE65KQ.js.map → exec-ZVOPAVQC.js.map} +0 -0
- /package/dist/chunks/{home-GKHHL5OL.js.map → home-QPIQIIAR.js.map} +0 -0
- /package/dist/chunks/{host-queries-D3VSQE6Z.js.map → host-queries-UUG7LHPF.js.map} +0 -0
- /package/dist/chunks/{learn-N3NKUI4W.js.map → learn-AILV7XYA.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-OZQUS64D.js.map → learn-builtin-I2RMG7OE.js.map} +0 -0
- /package/dist/chunks/{lifecycle-MRG5PYDG.js.map → lifecycle-ZZ5HDP6F.js.map} +0 -0
- /package/dist/chunks/{list-X5V5SGOY.js.map → list-TMHSX32S.js.map} +0 -0
- /package/dist/chunks/{login-IXB52EFK.js.map → login-VUIOQEA2.js.map} +0 -0
- /package/dist/chunks/{logs-BBC3W6H5.js.map → logs-QQTFNNSW.js.map} +0 -0
- /package/dist/chunks/{mcp-UEQPXI7K.js.map → mcp-6H3YELN6.js.map} +0 -0
- /package/dist/chunks/{message-command-PXMP4IC4.js.map → message-command-IQTT76ZY.js.map} +0 -0
- /package/dist/chunks/{operator-tools-OZCXJX23.js.map → operator-tools-ISZGHK3F.js.map} +0 -0
- /package/dist/chunks/{output-schema-OKJHMA22.js.map → output-schema-63NLKBRY.js.map} +0 -0
- /package/dist/chunks/{pal-COYTNDHQ.js.map → pal-RAIDDDNH.js.map} +0 -0
- /package/dist/chunks/{providers-56OCKVO4.js.map → providers-N2UXL3XT.js.map} +0 -0
- /package/dist/chunks/{resident-2XJYIQOD.js.map → resident-CWT62J2M.js.map} +0 -0
- /package/dist/chunks/{resume-OKFXVP4R.js.map → resume-PKATLA4S.js.map} +0 -0
- /package/dist/chunks/{resume-command-EIDWBG7D.js.map → resume-command-DNNLB5SK.js.map} +0 -0
- /package/dist/chunks/{schedule-SJ36DUQY.js.map → schedule-6N33GN2Z.js.map} +0 -0
- /package/dist/chunks/{service-FEZAPVUE.js.map → service-77ZFLYDC.js.map} +0 -0
- /package/dist/chunks/{session-step-Z53LX627.js.map → session-step-I5DFTYDV.js.map} +0 -0
- /package/dist/chunks/{skills-CXLLO5VH.js.map → skills-SAIXOU7Z.js.map} +0 -0
- /package/dist/chunks/{state-QZBFM4HR.js.map → state-J4NZZP7B.js.map} +0 -0
- /package/dist/chunks/{store-7TGN2BZW.js.map → store-2JQLHCG4.js.map} +0 -0
- /package/dist/chunks/{store-SFATKTMK.js.map → store-QLG76DQG.js.map} +0 -0
- /package/dist/chunks/{store-T76GFLGS.js.map → store-YRVVPTUX.js.map} +0 -0
- /package/dist/chunks/{upgrade-U3AHBHY3.js.map → upgrade-ZTG65H5Q.js.map} +0 -0
- /package/dist/chunks/{worktree-LU7NNZQZ.js.map → worktree-5ETUFJAC.js.map} +0 -0
|
@@ -5,29 +5,29 @@ import {
|
|
|
5
5
|
BYPASS_CONSENT_TITLE,
|
|
6
6
|
acknowledgeBypass,
|
|
7
7
|
hasAcknowledgedBypass
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CEIYJWZ2.js";
|
|
9
9
|
import {
|
|
10
10
|
reportCrash
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BNMFWLWH.js";
|
|
12
12
|
import {
|
|
13
13
|
changesBlock,
|
|
14
14
|
changesSinceConfirmed,
|
|
15
15
|
confirmationView,
|
|
16
16
|
describeChanges,
|
|
17
17
|
permissionsChanged
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LVDRURI4.js";
|
|
19
19
|
import {
|
|
20
20
|
visibleScheduleMessage
|
|
21
21
|
} from "./chunk-NADQQMMG.js";
|
|
22
22
|
import {
|
|
23
23
|
settleAnsweredPark
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-72CFHDKQ.js";
|
|
25
25
|
import "./chunk-GWQEMJFS.js";
|
|
26
26
|
import {
|
|
27
27
|
DELIVERY_READ_LIMIT,
|
|
28
28
|
readSourceDeliveryPage,
|
|
29
29
|
takeSuppressedCount
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-J67SASGK.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_MAX_ITERATIONS,
|
|
33
33
|
DEFAULT_TIMEOUT_MS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
runsPerDay,
|
|
41
41
|
scriptShellUnavailableReason,
|
|
42
42
|
verifyScheduledScript
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ANUGFVZI.js";
|
|
44
44
|
import {
|
|
45
45
|
callsCount
|
|
46
46
|
} from "./chunk-E5VLANCO.js";
|
|
@@ -49,19 +49,19 @@ import {
|
|
|
49
49
|
compileJobPolicy,
|
|
50
50
|
compileScriptCheckPolicy,
|
|
51
51
|
isPresetName
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7B5YTYHY.js";
|
|
53
53
|
import {
|
|
54
54
|
formatResumeShellCommand,
|
|
55
55
|
parkedRunWords,
|
|
56
56
|
resumeCommand
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-JKXCLMMZ.js";
|
|
58
58
|
import {
|
|
59
59
|
appendHistory,
|
|
60
60
|
nextFireOf,
|
|
61
61
|
readHistory,
|
|
62
62
|
readState
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-4SP6H34B.js";
|
|
64
|
+
import "./chunk-Y5QV6NZK.js";
|
|
65
65
|
import {
|
|
66
66
|
callEndpoint,
|
|
67
67
|
readEndpoint
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
useReducedMotion,
|
|
109
109
|
useThemeEpoch,
|
|
110
110
|
useThemeSubscription
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-ZDEFWEEI.js";
|
|
112
112
|
import {
|
|
113
113
|
capChoiceLines,
|
|
114
114
|
choiceDisplayText,
|
|
@@ -121,12 +121,12 @@ import {
|
|
|
121
121
|
} from "./chunk-LFI6O7WL.js";
|
|
122
122
|
import {
|
|
123
123
|
handleTerminationSignals
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-ZGBKTT7X.js";
|
|
125
125
|
import "./chunk-TBIX6JRE.js";
|
|
126
126
|
import {
|
|
127
127
|
deleteUserConfigValue,
|
|
128
128
|
setUserConfigValue
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-CAPC66Q6.js";
|
|
130
130
|
import {
|
|
131
131
|
describeAllCredentialsLogout,
|
|
132
132
|
describeCodexDeviceLoginStart,
|
|
@@ -148,20 +148,19 @@ import {
|
|
|
148
148
|
sectionHeading,
|
|
149
149
|
withAutoChoice,
|
|
150
150
|
writeConversationExport
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-4SBUXWX3.js";
|
|
152
152
|
import {
|
|
153
153
|
tuiPalDefinition,
|
|
154
154
|
tuiPalEnvironment,
|
|
155
155
|
tuiPalOwner,
|
|
156
156
|
tuiPalPreferences
|
|
157
|
-
} from "./chunk-
|
|
158
|
-
import "./chunk-
|
|
157
|
+
} from "./chunk-TU46IHIV.js";
|
|
158
|
+
import "./chunk-L2GZVP5H.js";
|
|
159
159
|
import {
|
|
160
160
|
COMPACTED_HINT,
|
|
161
161
|
COMPACTING_LABEL,
|
|
162
162
|
COMPACT_NOT_SAVED_TEXT,
|
|
163
163
|
COMPACT_RESULT_HINT,
|
|
164
|
-
COMPACT_RESULT_TEXT,
|
|
165
164
|
DEFAULT_AGENT_PHASE,
|
|
166
165
|
DEFAULT_AGENT_WORKFLOW,
|
|
167
166
|
EMPTY_GROUP,
|
|
@@ -185,6 +184,7 @@ import {
|
|
|
185
184
|
builtinToolPresenter,
|
|
186
185
|
clipText,
|
|
187
186
|
combineBatches,
|
|
187
|
+
compactResultLine,
|
|
188
188
|
compactionSummaryLines,
|
|
189
189
|
connectorToolLabel,
|
|
190
190
|
createAgentSession,
|
|
@@ -198,11 +198,13 @@ import {
|
|
|
198
198
|
diffViewRows,
|
|
199
199
|
discoverAgentDefinitions,
|
|
200
200
|
displayPath as displayPath2,
|
|
201
|
+
estimateHistoryTokens,
|
|
201
202
|
foldOp,
|
|
202
203
|
groupSegments,
|
|
203
204
|
groupText,
|
|
204
205
|
hiddenLinesHint,
|
|
205
206
|
hintRows,
|
|
207
|
+
isSessionPlanPath,
|
|
206
208
|
liveBatches,
|
|
207
209
|
mergeGroups,
|
|
208
210
|
modelListingCause,
|
|
@@ -233,15 +235,15 @@ import {
|
|
|
233
235
|
webLiveStatus,
|
|
234
236
|
webSettledLine,
|
|
235
237
|
withDebugDetail
|
|
236
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-JEULHVUH.js";
|
|
237
239
|
import {
|
|
238
240
|
openManagedWorktrees,
|
|
239
241
|
worktreeOpenHint
|
|
240
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-WN7YMX22.js";
|
|
241
243
|
import {
|
|
242
244
|
describeBrowserStatus
|
|
243
245
|
} from "./chunk-WHODOMXA.js";
|
|
244
|
-
import "./chunk-
|
|
246
|
+
import "./chunk-25XPE4N6.js";
|
|
245
247
|
import {
|
|
246
248
|
SAVE_SKILL_TOOL_NAME,
|
|
247
249
|
SKILL_CREATOR_SKILL,
|
|
@@ -265,24 +267,24 @@ import {
|
|
|
265
267
|
settledElapsed,
|
|
266
268
|
theme,
|
|
267
269
|
tokenColor
|
|
268
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-A6J2VJL5.js";
|
|
269
271
|
import {
|
|
270
272
|
describePlainInterruption,
|
|
271
273
|
describeProviderWait,
|
|
272
274
|
describeProviderWaitClock
|
|
273
|
-
} from "./chunk-
|
|
274
|
-
import "./chunk-
|
|
275
|
-
import "./chunk-
|
|
276
|
-
import "./chunk-
|
|
275
|
+
} from "./chunk-NTPBXJMK.js";
|
|
276
|
+
import "./chunk-37DRD4QM.js";
|
|
277
|
+
import "./chunk-RKSYVIQX.js";
|
|
278
|
+
import "./chunk-G34P5PIK.js";
|
|
277
279
|
import {
|
|
278
280
|
openInBrowser
|
|
279
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-WBTXYSAB.js";
|
|
280
282
|
import "./chunk-NUGPLXVK.js";
|
|
281
283
|
import {
|
|
282
284
|
beginCodexDeviceLogin,
|
|
283
285
|
beginSubscriptionLogin,
|
|
284
286
|
parsePastedInput
|
|
285
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-I55BEPVH.js";
|
|
286
288
|
import {
|
|
287
289
|
NO_SKILLS_FOUND,
|
|
288
290
|
composeSkillsPrompt,
|
|
@@ -290,13 +292,13 @@ import {
|
|
|
290
292
|
loadSkillBody,
|
|
291
293
|
renderSkillRoster,
|
|
292
294
|
skillTierLabel
|
|
293
|
-
} from "./chunk-
|
|
294
|
-
import "./chunk-
|
|
295
|
-
import "./chunk-
|
|
295
|
+
} from "./chunk-3RC4ATZI.js";
|
|
296
|
+
import "./chunk-YYX7O3T2.js";
|
|
297
|
+
import "./chunk-2QXVOSJM.js";
|
|
296
298
|
import {
|
|
297
299
|
claimPalConversation,
|
|
298
300
|
listPalConversations
|
|
299
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-QZYTSINZ.js";
|
|
300
302
|
import "./chunk-ZWA2JRJV.js";
|
|
301
303
|
import {
|
|
302
304
|
pinTrustedProjectPath,
|
|
@@ -317,12 +319,12 @@ import {
|
|
|
317
319
|
loadConfigWithProvenance,
|
|
318
320
|
readPermissionLayers,
|
|
319
321
|
resolveComposerTriggers
|
|
320
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-C2IABASE.js";
|
|
321
323
|
import "./chunk-XSCT3DLE.js";
|
|
322
324
|
import {
|
|
323
325
|
THEME_CHOICES,
|
|
324
326
|
formatConfigSource
|
|
325
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-D2M5K6UY.js";
|
|
326
328
|
import {
|
|
327
329
|
displayPath,
|
|
328
330
|
formatSize,
|
|
@@ -349,7 +351,7 @@ import {
|
|
|
349
351
|
writeJsonAtomic
|
|
350
352
|
} from "./chunk-OEW7CJKK.js";
|
|
351
353
|
import "./chunk-HE7WUOX2.js";
|
|
352
|
-
import "./chunk-
|
|
354
|
+
import "./chunk-E7FQPIJB.js";
|
|
353
355
|
import {
|
|
354
356
|
EXIT_INTERNAL_ERROR
|
|
355
357
|
} from "./chunk-Y7B67G22.js";
|
|
@@ -367,7 +369,7 @@ import {
|
|
|
367
369
|
primaryProvider,
|
|
368
370
|
signedInSubscriptionProviders,
|
|
369
371
|
writePreferences
|
|
370
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-UM4ECTUS.js";
|
|
371
373
|
import {
|
|
372
374
|
ALL_PROVIDER_IDS,
|
|
373
375
|
PROVIDER_REGISTRY,
|
|
@@ -377,22 +379,22 @@ import {
|
|
|
377
379
|
} from "./chunk-6LLJQ3KY.js";
|
|
378
380
|
import {
|
|
379
381
|
applyProviderFlags
|
|
380
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-UEXQA2UW.js";
|
|
381
383
|
import "./chunk-XEUQN4JC.js";
|
|
382
384
|
import {
|
|
383
385
|
PAUSED_TURN_LINES,
|
|
384
386
|
currentTimeLine,
|
|
385
387
|
describeTurnStop,
|
|
386
388
|
handoffContinuationNote
|
|
387
|
-
} from "./chunk-
|
|
389
|
+
} from "./chunk-2UYBHC3L.js";
|
|
388
390
|
import {
|
|
389
391
|
autoAvailable,
|
|
390
392
|
nextCycleMode,
|
|
391
393
|
permissionModeDescription,
|
|
392
394
|
permissionModeLabel,
|
|
393
395
|
permissionModeName
|
|
394
|
-
} from "./chunk-
|
|
395
|
-
import "./chunk-
|
|
396
|
+
} from "./chunk-SEVUBJMR.js";
|
|
397
|
+
import "./chunk-WKGECHMV.js";
|
|
396
398
|
import {
|
|
397
399
|
expandTabs,
|
|
398
400
|
terminalDisplayText
|
|
@@ -419,22 +421,22 @@ import {
|
|
|
419
421
|
titlesOf,
|
|
420
422
|
typedTextOf,
|
|
421
423
|
unarchiveConversation
|
|
422
|
-
} from "./chunk-
|
|
423
|
-
import "./chunk-
|
|
424
|
+
} from "./chunk-ZQRO6GGZ.js";
|
|
425
|
+
import "./chunk-CT23IU3D.js";
|
|
424
426
|
import "./chunk-H6B6AROX.js";
|
|
425
|
-
import "./chunk-
|
|
426
|
-
import "./chunk-
|
|
427
|
+
import "./chunk-CM2I2L4G.js";
|
|
428
|
+
import "./chunk-CIIMESY2.js";
|
|
427
429
|
import {
|
|
428
430
|
isTrusted,
|
|
429
431
|
trustDir
|
|
430
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-2HDIUUMX.js";
|
|
431
433
|
import "./chunk-LXB3S4IC.js";
|
|
432
|
-
import "./chunk-
|
|
434
|
+
import "./chunk-U2AVT6OB.js";
|
|
433
435
|
import "./chunk-WMEZTDLT.js";
|
|
434
436
|
import {
|
|
435
437
|
contextLogging,
|
|
436
438
|
installCliLogging
|
|
437
|
-
} from "./chunk-
|
|
439
|
+
} from "./chunk-QNFMVN4D.js";
|
|
438
440
|
import {
|
|
439
441
|
isFullWidth,
|
|
440
442
|
isWide,
|
|
@@ -444,7 +446,7 @@ import {
|
|
|
444
446
|
import "./chunk-OH6TB27S.js";
|
|
445
447
|
import "./chunk-IE5XIE4W.js";
|
|
446
448
|
import "./chunk-B73OIFL6.js";
|
|
447
|
-
import "./chunk-
|
|
449
|
+
import "./chunk-2VQ475KY.js";
|
|
448
450
|
import "./chunk-JORONMD3.js";
|
|
449
451
|
import {
|
|
450
452
|
clearAllStoredCredentials,
|
|
@@ -458,10 +460,10 @@ import {
|
|
|
458
460
|
readStoredSubscriptionCredential,
|
|
459
461
|
restrictToOwner,
|
|
460
462
|
writeStoredGeminiApiKey
|
|
461
|
-
} from "./chunk-
|
|
463
|
+
} from "./chunk-WJ7XYOSE.js";
|
|
462
464
|
import {
|
|
463
465
|
namzuHomePath
|
|
464
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-OFNGIO53.js";
|
|
465
467
|
import {
|
|
466
468
|
ACCEPT_EDITS_TOOLS,
|
|
467
469
|
DECLINED_TOOL_CALL_FEEDBACK,
|
|
@@ -522,7 +524,7 @@ import {
|
|
|
522
524
|
validateTimeZone,
|
|
523
525
|
wrapUntrusted,
|
|
524
526
|
writePeerRecord
|
|
525
|
-
} from "./chunk-
|
|
527
|
+
} from "./chunk-4WWLRVYU.js";
|
|
526
528
|
import {
|
|
527
529
|
__commonJS,
|
|
528
530
|
__export,
|
|
@@ -34247,6 +34249,7 @@ __name(buildPeerTools, "buildPeerTools");
|
|
|
34247
34249
|
|
|
34248
34250
|
// src/tui/permission-review.ts
|
|
34249
34251
|
import { createHash as createHash2 } from "node:crypto";
|
|
34252
|
+
import { readFileSync as readFileSync2, statSync } from "node:fs";
|
|
34250
34253
|
var MAX_REVIEW_VALUE_CHARS = 2e5;
|
|
34251
34254
|
var REVIEW_ALLOCATION_BYTES = 1024 * 1024;
|
|
34252
34255
|
var MAX_WORKFLOW_REVIEW_BYTES = 640 * 1024;
|
|
@@ -34646,7 +34649,7 @@ function summarizeKnownCall(name, input, context = {}) {
|
|
|
34646
34649
|
}
|
|
34647
34650
|
}
|
|
34648
34651
|
if (name === "edit" && isRecord(input)) {
|
|
34649
|
-
const summary2 = summarizeEdit(input);
|
|
34652
|
+
const summary2 = summarizeEdit(input, context);
|
|
34650
34653
|
if (summary2) return summary2;
|
|
34651
34654
|
}
|
|
34652
34655
|
if (name === "write" && isRecord(input)) {
|
|
@@ -35009,7 +35012,7 @@ function diffLines(sign, lines) {
|
|
|
35009
35012
|
return hidden > 0 ? [...shown, `${sign} \u2026 ${hidden} more line${hidden === 1 ? "" : "s"}`] : shown;
|
|
35010
35013
|
}
|
|
35011
35014
|
__name(diffLines, "diffLines");
|
|
35012
|
-
function summarizeEdit(input) {
|
|
35015
|
+
function summarizeEdit(input, context = {}) {
|
|
35013
35016
|
const allowed = /* @__PURE__ */ new Set([
|
|
35014
35017
|
"path",
|
|
35015
35018
|
"old_string",
|
|
@@ -35033,6 +35036,7 @@ function summarizeEdit(input) {
|
|
|
35033
35036
|
const lines = [
|
|
35034
35037
|
`${path} \xB7 ${input.edits.length} replacement${input.edits.length === 1 ? "" : "s"}`
|
|
35035
35038
|
];
|
|
35039
|
+
let disk = diskTextOf(context, path);
|
|
35036
35040
|
for (const [index, edit] of input.edits.entries()) {
|
|
35037
35041
|
if (!isRecord(edit) || typeof edit.old_string !== "string" || typeof edit.new_string !== "string") {
|
|
35038
35042
|
return null;
|
|
@@ -35044,8 +35048,9 @@ function summarizeEdit(input) {
|
|
|
35044
35048
|
return null;
|
|
35045
35049
|
}
|
|
35046
35050
|
lines.push(`@ ${index + 1}${edit.replace_all ? " \xB7 every occurrence" : ""}`);
|
|
35047
|
-
|
|
35048
|
-
lines.push(...diffLines("
|
|
35051
|
+
const shown2 = showOnDisk(disk, edit.old_string, edit.new_string, edit.replace_all === true);
|
|
35052
|
+
lines.push(...shown2.notes, ...diffLines("-", shown2.before), ...diffLines("+", shown2.after));
|
|
35053
|
+
disk = shown2.next;
|
|
35049
35054
|
}
|
|
35050
35055
|
return { lines, complete: true };
|
|
35051
35056
|
}
|
|
@@ -35062,16 +35067,76 @@ function summarizeEdit(input) {
|
|
|
35062
35067
|
};
|
|
35063
35068
|
}
|
|
35064
35069
|
if (oldText.value === null || newText.value === null) return null;
|
|
35070
|
+
const shown = showOnDisk(
|
|
35071
|
+
diskTextOf(context, path),
|
|
35072
|
+
oldText.value,
|
|
35073
|
+
newText.value,
|
|
35074
|
+
replaceAll2 === true
|
|
35075
|
+
);
|
|
35065
35076
|
return {
|
|
35066
35077
|
lines: [
|
|
35067
35078
|
`${path}${replaceAll2 ? " \xB7 every occurrence" : ""}`,
|
|
35068
|
-
...
|
|
35069
|
-
...diffLines("
|
|
35079
|
+
...shown.notes,
|
|
35080
|
+
...diffLines("-", shown.before),
|
|
35081
|
+
...diffLines("+", shown.after)
|
|
35070
35082
|
],
|
|
35071
35083
|
complete: true
|
|
35072
35084
|
};
|
|
35073
35085
|
}
|
|
35074
35086
|
__name(summarizeEdit, "summarizeEdit");
|
|
35087
|
+
var MAX_REVIEWED_FILE_BYTES = 2 * 1024 * 1024;
|
|
35088
|
+
function readReviewedFile(absolutePath) {
|
|
35089
|
+
try {
|
|
35090
|
+
if (statSync(absolutePath).size > MAX_REVIEWED_FILE_BYTES) return void 0;
|
|
35091
|
+
return readFileSync2(absolutePath, "utf8");
|
|
35092
|
+
} catch {
|
|
35093
|
+
return void 0;
|
|
35094
|
+
}
|
|
35095
|
+
}
|
|
35096
|
+
__name(readReviewedFile, "readReviewedFile");
|
|
35097
|
+
function diskTextOf(context, path) {
|
|
35098
|
+
try {
|
|
35099
|
+
return context.readText?.(path);
|
|
35100
|
+
} catch {
|
|
35101
|
+
return void 0;
|
|
35102
|
+
}
|
|
35103
|
+
}
|
|
35104
|
+
__name(diskTextOf, "diskTextOf");
|
|
35105
|
+
function showOnDisk(disk, oldText, newText, replaceAll2) {
|
|
35106
|
+
const asGiven = {
|
|
35107
|
+
before: oldText.split("\n"),
|
|
35108
|
+
after: newText.split("\n")
|
|
35109
|
+
};
|
|
35110
|
+
if (disk === void 0 || oldText === "") return { ...asGiven, notes: [], next: void 0 };
|
|
35111
|
+
const first = disk.indexOf(oldText);
|
|
35112
|
+
if (first === -1) {
|
|
35113
|
+
return {
|
|
35114
|
+
...asGiven,
|
|
35115
|
+
notes: ["The text to replace is no longer in the file as the edit has it."],
|
|
35116
|
+
next: void 0
|
|
35117
|
+
};
|
|
35118
|
+
}
|
|
35119
|
+
if (!replaceAll2 && disk.indexOf(oldText, first + oldText.length) !== -1) {
|
|
35120
|
+
return {
|
|
35121
|
+
...asGiven,
|
|
35122
|
+
notes: ["The text to replace now appears more than once in the file."],
|
|
35123
|
+
next: void 0
|
|
35124
|
+
};
|
|
35125
|
+
}
|
|
35126
|
+
const lineStart2 = disk.lastIndexOf("\n", first - 1) + 1;
|
|
35127
|
+
const afterMatch = first + oldText.length;
|
|
35128
|
+
const newline = disk.indexOf("\n", afterMatch);
|
|
35129
|
+
const lineEnd2 = newline === -1 ? disk.length : newline;
|
|
35130
|
+
const head = disk.slice(lineStart2, first);
|
|
35131
|
+
const tail = disk.slice(afterMatch, lineEnd2);
|
|
35132
|
+
return {
|
|
35133
|
+
before: `${head}${oldText}${tail}`.split("\n"),
|
|
35134
|
+
after: `${head}${newText}${tail}`.split("\n"),
|
|
35135
|
+
notes: [],
|
|
35136
|
+
next: replaceAll2 ? disk.split(oldText).join(newText) : disk.slice(0, first) + newText + disk.slice(afterMatch)
|
|
35137
|
+
};
|
|
35138
|
+
}
|
|
35139
|
+
__name(showOnDisk, "showOnDisk");
|
|
35075
35140
|
function pickString(input, name, alias) {
|
|
35076
35141
|
const a = input[name];
|
|
35077
35142
|
const b = input[alias];
|
|
@@ -38127,13 +38192,13 @@ function usage() {
|
|
|
38127
38192
|
__name(usage, "usage");
|
|
38128
38193
|
|
|
38129
38194
|
// src/integrations/trust/folder-grants.ts
|
|
38130
|
-
import { readFileSync as
|
|
38195
|
+
import { readFileSync as readFileSync3 } from "node:fs";
|
|
38131
38196
|
import { resolve } from "node:path";
|
|
38132
38197
|
var FILES = ["namzu.config.json", "namzu.config.local.json"];
|
|
38133
38198
|
var MAX_SHOWN_GRANT_RULES = 8;
|
|
38134
38199
|
function readObject(path) {
|
|
38135
38200
|
try {
|
|
38136
|
-
const parsed = JSON.parse(
|
|
38201
|
+
const parsed = JSON.parse(readFileSync3(path, "utf8"));
|
|
38137
38202
|
return parsed !== null && typeof parsed === "object" && !Array.isArray(parsed) ? parsed : void 0;
|
|
38138
38203
|
} catch {
|
|
38139
38204
|
return void 0;
|
|
@@ -39968,7 +40033,7 @@ var import_react40 = __toESM(require_react(), 1);
|
|
|
39968
40033
|
|
|
39969
40034
|
// src/integrations/clipboard/image.ts
|
|
39970
40035
|
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
39971
|
-
import { readFileSync as
|
|
40036
|
+
import { readFileSync as readFileSync4, rmSync } from "node:fs";
|
|
39972
40037
|
import { tmpdir } from "node:os";
|
|
39973
40038
|
import { platform as platform2 } from "node:os";
|
|
39974
40039
|
import { join as join2 } from "node:path";
|
|
@@ -39979,7 +40044,7 @@ function readClipboardImage() {
|
|
|
39979
40044
|
const file = join2(tmpdir(), `namzu-clip-${Date.now()}.png`);
|
|
39980
40045
|
try {
|
|
39981
40046
|
if (!saveClipboardImageTo(file)) return { kind: "empty" };
|
|
39982
|
-
const buf =
|
|
40047
|
+
const buf = readFileSync4(file);
|
|
39983
40048
|
if (buf.length === 0) return { kind: "empty" };
|
|
39984
40049
|
return { kind: "image", image: { data: buf.toString("base64"), mediaType: "image/png" } };
|
|
39985
40050
|
} catch {
|
|
@@ -40072,7 +40137,7 @@ __name(nextQueuedHintEpisode, "nextQueuedHintEpisode");
|
|
|
40072
40137
|
|
|
40073
40138
|
// src/tui/mentions.ts
|
|
40074
40139
|
import { execFile as execFile2 } from "node:child_process";
|
|
40075
|
-
import { readFileSync as
|
|
40140
|
+
import { readFileSync as readFileSync5, realpathSync as realpathSync2, statSync as statSync2 } from "node:fs";
|
|
40076
40141
|
import { resolve as resolve2, sep } from "node:path";
|
|
40077
40142
|
import { promisify } from "node:util";
|
|
40078
40143
|
var PATH_CHARS = String.raw`\p{L}\p{N}\p{M}_\-./\\()[\]~:`;
|
|
@@ -40236,8 +40301,8 @@ function safeReadInCwd(cwd2, rel) {
|
|
|
40236
40301
|
const root = realpathSync2(resolve2(cwd2));
|
|
40237
40302
|
const abs = realpathSync2(resolve2(root, rel));
|
|
40238
40303
|
if (abs !== root && !abs.startsWith(root + sep)) return null;
|
|
40239
|
-
if (!
|
|
40240
|
-
return
|
|
40304
|
+
if (!statSync2(abs).isFile()) return null;
|
|
40305
|
+
return readFileSync5(abs, "utf8");
|
|
40241
40306
|
} catch {
|
|
40242
40307
|
return null;
|
|
40243
40308
|
}
|
|
@@ -45274,7 +45339,7 @@ function PlanApprovalOverlay({
|
|
|
45274
45339
|
marginTop: 1,
|
|
45275
45340
|
children: [
|
|
45276
45341
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Text, { color: theme.accent.plan, bold: true, children: "Plan ready for review" }),
|
|
45277
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Text, { color: theme.text.secondary, wrap: "truncate-start", children: terminalDisplayText(request.planPath) }),
|
|
45342
|
+
isSessionPlanPath(request.planPath) ? null : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Text, { color: theme.text.secondary, wrap: "truncate-start", children: terminalDisplayText(request.planPath) }),
|
|
45278
45343
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Box_default, { flexDirection: "column", paddingLeft: 2, paddingTop: 1, children: visible.map((row) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Box_default, { width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Text, { color: theme.text.primary, bold: !row.continuation && /^#{1,6}\s/.test(row.text), children: row.continuation ? `\u21B3 ${row.text}` : row.text.length > 0 ? row.text : " " }) }, row.index)) }),
|
|
45279
45344
|
paged ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Text, { color: theme.text.muted, children: [
|
|
45280
45345
|
"rows ",
|
|
@@ -49200,7 +49265,7 @@ function toolEndRows(event, start, ctx) {
|
|
|
49200
49265
|
]);
|
|
49201
49266
|
}
|
|
49202
49267
|
if (event.declined) {
|
|
49203
|
-
const refused = proposedBody(start
|
|
49268
|
+
const refused = start?.proposed?.kind === "edit" ? proposedBody(start.proposed, ctx.cwd) : void 0;
|
|
49204
49269
|
return rows([
|
|
49205
49270
|
{
|
|
49206
49271
|
role: "tool",
|
|
@@ -49391,12 +49456,21 @@ function withTakenOverRow(rows, started) {
|
|
|
49391
49456
|
}
|
|
49392
49457
|
__name(withTakenOverRow, "withTakenOverRow");
|
|
49393
49458
|
|
|
49459
|
+
// src/tui/resume-empty.ts
|
|
49460
|
+
function noResumeText(input) {
|
|
49461
|
+
if (input.query.length > 0) {
|
|
49462
|
+
return `No other conversation in this folder matches "${input.query}". /resume lists them all.`;
|
|
49463
|
+
}
|
|
49464
|
+
return input.anyHere ? "The only conversation in this folder is the one already open." : "No past conversations to resume in this folder yet.";
|
|
49465
|
+
}
|
|
49466
|
+
__name(noResumeText, "noResumeText");
|
|
49467
|
+
|
|
49394
49468
|
// src/tui/schedule/host-commands.ts
|
|
49395
49469
|
import { isAbsolute, relative, resolve as resolve3 } from "node:path";
|
|
49396
49470
|
|
|
49397
49471
|
// src/tui/schedule/loop-host.ts
|
|
49398
49472
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
49399
|
-
import { readFileSync as
|
|
49473
|
+
import { readFileSync as readFileSync6 } from "node:fs";
|
|
49400
49474
|
var MAX_LOOPS = 20;
|
|
49401
49475
|
var LOOP_LIFETIME_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
49402
49476
|
function loopSpec(interval, now) {
|
|
@@ -49428,7 +49502,7 @@ var SessionLoopScheduler = class {
|
|
|
49428
49502
|
this.#loops = [];
|
|
49429
49503
|
if (!file) return;
|
|
49430
49504
|
try {
|
|
49431
|
-
const parsed = JSON.parse(
|
|
49505
|
+
const parsed = JSON.parse(readFileSync6(file, "utf8"));
|
|
49432
49506
|
if (parsed.kind === "session-loops" && Array.isArray(parsed.loops)) {
|
|
49433
49507
|
const now = this.#now();
|
|
49434
49508
|
this.#loops = parsed.loops.filter(
|
|
@@ -50191,7 +50265,7 @@ async function prepareScheduledResume(input) {
|
|
|
50191
50265
|
__name(prepareScheduledResume, "prepareScheduledResume");
|
|
50192
50266
|
|
|
50193
50267
|
// src/tui/schedule/startup.ts
|
|
50194
|
-
import { readFileSync as
|
|
50268
|
+
import { readFileSync as readFileSync7 } from "node:fs";
|
|
50195
50269
|
import { join as join5 } from "node:path";
|
|
50196
50270
|
function ago(ms) {
|
|
50197
50271
|
if (ms < 36e5) return `${Math.max(1, Math.round(ms / 6e4))} min`;
|
|
@@ -50205,7 +50279,7 @@ function scheduleStartupLine(home, cwd2, now = Date.now()) {
|
|
|
50205
50279
|
if (jobs.length === 0) return void 0;
|
|
50206
50280
|
let since = now - 24 * 36e5;
|
|
50207
50281
|
try {
|
|
50208
|
-
const seen = JSON.parse(
|
|
50282
|
+
const seen = JSON.parse(readFileSync7(paths.seen, "utf8"));
|
|
50209
50283
|
if (seen.lastSummaryAt) since = Date.parse(seen.lastSummaryAt);
|
|
50210
50284
|
} catch {
|
|
50211
50285
|
}
|
|
@@ -50264,7 +50338,7 @@ function scheduleStartupLine(home, cwd2, now = Date.now()) {
|
|
|
50264
50338
|
parts.push("Scheduled jobs exist but the scheduler is not installed \u2014 namzu schedule install");
|
|
50265
50339
|
} else if (manifest) {
|
|
50266
50340
|
try {
|
|
50267
|
-
const beat = JSON.parse(
|
|
50341
|
+
const beat = JSON.parse(readFileSync7(paths.heartbeat, "utf8"));
|
|
50268
50342
|
const age = beat.at ? now - Date.parse(beat.at) : Number.POSITIVE_INFINITY;
|
|
50269
50343
|
if (age > 9e4)
|
|
50270
50344
|
parts.push(
|
|
@@ -51308,7 +51382,7 @@ function setSkillSuggestions(on, opts = {}) {
|
|
|
51308
51382
|
__name(setSkillSuggestions, "setSkillSuggestions");
|
|
51309
51383
|
|
|
51310
51384
|
// src/tui/skills/suggestion-ledger.ts
|
|
51311
|
-
import { mkdirSync, readFileSync as
|
|
51385
|
+
import { mkdirSync, readFileSync as readFileSync8, renameSync, writeFileSync } from "node:fs";
|
|
51312
51386
|
import { dirname, join as join6 } from "node:path";
|
|
51313
51387
|
var SUGGESTION_IGNORE_LIMIT = 3;
|
|
51314
51388
|
var FRESH_LEDGER = { v: 1, unanswered: 0, stopped: false };
|
|
@@ -51318,7 +51392,7 @@ function suggestionLedgerPath(namzuHome) {
|
|
|
51318
51392
|
__name(suggestionLedgerPath, "suggestionLedgerPath");
|
|
51319
51393
|
function readSuggestionLedger(namzuHome) {
|
|
51320
51394
|
try {
|
|
51321
|
-
const raw = JSON.parse(
|
|
51395
|
+
const raw = JSON.parse(readFileSync8(suggestionLedgerPath(namzuHome), "utf8"));
|
|
51322
51396
|
const unanswered = typeof raw.unanswered === "number" && Number.isInteger(raw.unanswered) && raw.unanswered >= 0 ? raw.unanswered : 0;
|
|
51323
51397
|
return { v: 1, unanswered, stopped: raw.stopped === true };
|
|
51324
51398
|
} catch {
|
|
@@ -53968,7 +54042,7 @@ function projectConversation(messages, nextId, readableUserTexts = [], restore)
|
|
|
53968
54042
|
}
|
|
53969
54043
|
];
|
|
53970
54044
|
}
|
|
53971
|
-
if (message.source?.type === "runtime-context" && message.source.kind === "reminder") {
|
|
54045
|
+
if (message.source?.type === "runtime-context" && (message.source.kind === "reminder" || message.source.kind === "turn-context")) {
|
|
53972
54046
|
return [];
|
|
53973
54047
|
}
|
|
53974
54048
|
if (message.source?.type === "runtime-context") {
|
|
@@ -57810,7 +57884,7 @@ ${blocks.join("\n\n")}`;
|
|
|
57810
57884
|
if (others.length === 0) {
|
|
57811
57885
|
pushMessage(
|
|
57812
57886
|
"system",
|
|
57813
|
-
|
|
57887
|
+
noResumeText({ query: query?.trim() ?? "", anyHere: recent.length > 0 })
|
|
57814
57888
|
);
|
|
57815
57889
|
return;
|
|
57816
57890
|
}
|
|
@@ -58816,6 +58890,7 @@ ${plain(err)}`
|
|
|
58816
58890
|
const summary2 = buildPermissionSummary(review.text, {
|
|
58817
58891
|
describeUiRef: /* @__PURE__ */ __name((ref) => reviewSessionRef.current?.describeComputerUseRef?.(ref), "describeUiRef"),
|
|
58818
58892
|
fileExists: /* @__PURE__ */ __name((path) => existsSync2(resolve7(ctxRef.current.cwd, path)), "fileExists"),
|
|
58893
|
+
readText: /* @__PURE__ */ __name((path) => readReviewedFile(resolve7(ctxRef.current.cwd, path)), "readText"),
|
|
58819
58894
|
workflowLimits: resolveWorkflowLimits(ctxRef.current.workflow),
|
|
58820
58895
|
withheld: review.withheld
|
|
58821
58896
|
});
|
|
@@ -58960,7 +59035,11 @@ ${plain(err)}`
|
|
|
58960
59035
|
`Plan approved \xB7 ${permissionModeLabel(answer.mode)}`,
|
|
58961
59036
|
false,
|
|
58962
59037
|
"\u2713",
|
|
58963
|
-
[
|
|
59038
|
+
[
|
|
59039
|
+
isSessionPlanPath(request.planPath) ? "Saved as the plan" : `Saved to ${request.planPath}`,
|
|
59040
|
+
"",
|
|
59041
|
+
...request.plan.trimEnd().split("\n")
|
|
59042
|
+
]
|
|
58964
59043
|
);
|
|
58965
59044
|
} else if (answer.feedback) {
|
|
58966
59045
|
pushMessage("system", `Changes asked for \xB7 ${answer.feedback}`);
|
|
@@ -61582,7 +61661,8 @@ ${plugins.map((plugin) => {
|
|
|
61582
61661
|
setState("thinking");
|
|
61583
61662
|
void (async () => {
|
|
61584
61663
|
try {
|
|
61585
|
-
const
|
|
61664
|
+
const historyBefore = modelHistoryRef.current;
|
|
61665
|
+
const result = await session.compact(historyBefore, slash.instructions);
|
|
61586
61666
|
if (!result) {
|
|
61587
61667
|
pushSystem("notice", NOTHING_TO_COMPACT_TEXT);
|
|
61588
61668
|
return;
|
|
@@ -61594,13 +61674,18 @@ ${plugins.map((plugin) => {
|
|
|
61594
61674
|
const keptTurns = result.messages.filter(
|
|
61595
61675
|
(m) => m.role === "user" || m.role === "assistant"
|
|
61596
61676
|
).length;
|
|
61677
|
+
const resultLine = compactResultLine({
|
|
61678
|
+
shed: result.shed,
|
|
61679
|
+
tokensBefore: estimateHistoryTokens(historyBefore),
|
|
61680
|
+
tokensAfter: estimateHistoryTokens(result.messages)
|
|
61681
|
+
});
|
|
61597
61682
|
resetTranscript();
|
|
61598
61683
|
setMessages((prev) => {
|
|
61599
61684
|
const kept = keepRecentRows(prev, keptTurns);
|
|
61600
61685
|
const summaryRow = {
|
|
61601
61686
|
id: `compact-${Date.now()}`,
|
|
61602
61687
|
role: "system",
|
|
61603
|
-
content: durable ?
|
|
61688
|
+
content: durable ? resultLine : `${resultLine}. ${COMPACT_NOT_SAVED_TEXT}`,
|
|
61604
61689
|
glyph: CLOSING_GLYPH,
|
|
61605
61690
|
glyphColor: tokenColor("text.muted"),
|
|
61606
61691
|
meta: COMPACT_RESULT_HINT,
|
|
@@ -64159,7 +64244,7 @@ __name(installFocusReporting, "installFocusReporting");
|
|
|
64159
64244
|
|
|
64160
64245
|
// src/tui/hint-counts.ts
|
|
64161
64246
|
import { randomUUID } from "node:crypto";
|
|
64162
|
-
import { mkdirSync as mkdirSync2, readFileSync as
|
|
64247
|
+
import { mkdirSync as mkdirSync2, readFileSync as readFileSync9, renameSync as renameSync2, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
64163
64248
|
import { dirname as dirname2, join as join8 } from "node:path";
|
|
64164
64249
|
var FILE_MODE = 384;
|
|
64165
64250
|
var DIR_MODE = 448;
|
|
@@ -64169,7 +64254,7 @@ function hintCountsPath(home) {
|
|
|
64169
64254
|
__name(hintCountsPath, "hintCountsPath");
|
|
64170
64255
|
function readAll(path) {
|
|
64171
64256
|
try {
|
|
64172
|
-
const parsed = JSON.parse(
|
|
64257
|
+
const parsed = JSON.parse(readFileSync9(path, "utf8"));
|
|
64173
64258
|
if (typeof parsed !== "object" || parsed === null) return {};
|
|
64174
64259
|
const counts2 = {};
|
|
64175
64260
|
for (const [key, value] of Object.entries(parsed)) {
|
|
@@ -64328,7 +64413,7 @@ __name(askTerminal, "askTerminal");
|
|
|
64328
64413
|
|
|
64329
64414
|
// src/tui/tip-history.ts
|
|
64330
64415
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
64331
|
-
import { mkdirSync as mkdirSync3, readFileSync as
|
|
64416
|
+
import { mkdirSync as mkdirSync3, readFileSync as readFileSync10, renameSync as renameSync3, rmSync as rmSync3, writeFileSync as writeFileSync3 } from "node:fs";
|
|
64332
64417
|
import { dirname as dirname3, join as join9 } from "node:path";
|
|
64333
64418
|
var FILE_MODE2 = 384;
|
|
64334
64419
|
var DIR_MODE2 = 448;
|
|
@@ -64343,7 +64428,7 @@ function wholeNumber(value) {
|
|
|
64343
64428
|
__name(wholeNumber, "wholeNumber");
|
|
64344
64429
|
function readTipHistory(path) {
|
|
64345
64430
|
try {
|
|
64346
|
-
const parsed = JSON.parse(
|
|
64431
|
+
const parsed = JSON.parse(readFileSync10(path, "utf8"));
|
|
64347
64432
|
if (typeof parsed !== "object" || parsed === null) return EMPTY_TIP_HISTORY;
|
|
64348
64433
|
const raw = parsed;
|
|
64349
64434
|
const shown = {};
|
|
@@ -64571,4 +64656,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
64571
64656
|
* LICENSE file in the root directory of this source tree.
|
|
64572
64657
|
*)
|
|
64573
64658
|
*/
|
|
64574
|
-
//# sourceMappingURL=tui-
|
|
64659
|
+
//# sourceMappingURL=tui-77L5I5EV.js.map
|