@namzu/cli 36.2.0 → 36.3.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 +35 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-P22WRX3A.js → acp-2DS2IECT.js} +58 -34
- package/dist/chunks/acp-2DS2IECT.js.map +6 -0
- package/dist/chunks/{activity-command-OK463NV4.js → activity-command-MCYEK4Z4.js} +10 -10
- package/dist/chunks/{add-ML53TFN2.js → add-ZQ3YWP4F.js} +16 -16
- package/dist/chunks/{agent-3ST7Q6HZ.js → agent-PAGVUATH.js} +22 -22
- package/dist/chunks/agent-session-PLIPF3XG.js +46 -0
- package/dist/chunks/{archive-WV2NBOHR.js → archive-VPREZOGC.js} +8 -8
- package/dist/chunks/{bin-main-FPJQMK33.js → bin-main-MWFKUXP2.js} +3 -3
- package/dist/chunks/{browser-JRWZ3PYX.js → browser-FZWYOIIJ.js} +6 -6
- package/dist/chunks/{chat-3IJFKDSN.js → chat-W355SFNQ.js} +13 -13
- package/dist/chunks/{chunk-S7E42272.js → chunk-2BZOT2CT.js} +2 -2
- package/dist/chunks/{chunk-7OEK2NAO.js → chunk-2O7KYX4V.js} +8 -8
- package/dist/chunks/{chunk-OS7IVIYH.js → chunk-2TGQ2B53.js} +242 -3
- package/dist/chunks/{chunk-OS7IVIYH.js.map → chunk-2TGQ2B53.js.map} +3 -3
- package/dist/chunks/{chunk-LIZPXS73.js → chunk-3F5DGROG.js} +2 -2
- package/dist/chunks/{chunk-NKEOCU52.js → chunk-3M3PMQ3I.js} +7 -7
- package/dist/chunks/{chunk-KNNQHRZ4.js → chunk-46B7KRXY.js} +6 -6
- package/dist/chunks/{chunk-PT7TZNBV.js → chunk-52OVP5BG.js} +4 -4
- package/dist/chunks/{chunk-X2YRM3UE.js → chunk-56OUKG5W.js} +3 -3
- package/dist/chunks/{chunk-53EZXXT4.js → chunk-5H4LJ4AN.js} +27 -9
- package/dist/chunks/chunk-5H4LJ4AN.js.map +6 -0
- package/dist/chunks/{chunk-HJ42RG5U.js → chunk-5URT3ZM2.js} +4 -4
- package/dist/chunks/{chunk-ZZ6Z2DO6.js → chunk-6CGC72OA.js} +10 -10
- package/dist/chunks/{chunk-GWOW3U2S.js → chunk-6TDJXZ5W.js} +4 -4
- package/dist/chunks/{chunk-7WQV2FSF.js → chunk-AHYHR5DY.js} +3 -3
- package/dist/chunks/{chunk-XAKL7C7B.js → chunk-AP5KD43Y.js} +2 -2
- package/dist/chunks/{chunk-NRML7BIR.js → chunk-AS7UWXMN.js} +4 -4
- package/dist/chunks/{chunk-QQLB573I.js → chunk-BOV53LZO.js} +2 -2
- package/dist/chunks/{chunk-GPBUDMUF.js → chunk-BUCICQWG.js} +2 -2
- package/dist/chunks/{chunk-5PQVJBIO.js → chunk-CZVHXYGD.js} +6 -3
- package/dist/chunks/{chunk-5PQVJBIO.js.map → chunk-CZVHXYGD.js.map} +1 -1
- package/dist/chunks/{chunk-CFN7CUD3.js → chunk-DYUOXP5Q.js} +13 -13
- package/dist/chunks/{chunk-G5XTLTDR.js → chunk-E7HLYLD7.js} +3 -3
- package/dist/chunks/{chunk-ABD2DOO2.js → chunk-EKUJUPFA.js} +4 -4
- package/dist/chunks/{chunk-YEFJAE2B.js → chunk-EZ6ZSHYX.js} +27 -26
- package/dist/chunks/{chunk-YEFJAE2B.js.map → chunk-EZ6ZSHYX.js.map} +1 -1
- package/dist/chunks/{chunk-AABPCENY.js → chunk-F3YQ2CSZ.js} +4 -4
- package/dist/chunks/{chunk-2VXA7GZU.js → chunk-FU4GQ7K2.js} +2 -2
- package/dist/chunks/{chunk-VHKKPDL2.js → chunk-GQN64E36.js} +3 -3
- package/dist/chunks/{chunk-3OZ2OBGU.js → chunk-HKDPP2JF.js} +2 -2
- package/dist/chunks/{chunk-YZ675PG4.js → chunk-HSEJGSXE.js} +2 -2
- package/dist/chunks/{chunk-ZXWJ6G3J.js → chunk-I6CDUPVR.js} +2 -2
- package/dist/chunks/{chunk-27VZRJTG.js → chunk-IQBR45AU.js} +2 -2
- package/dist/chunks/{chunk-HIZ7F6BT.js → chunk-JCDTR2ZU.js} +4 -4
- package/dist/chunks/{chunk-ZNAH4EGP.js → chunk-KMHLON54.js} +2 -2
- package/dist/chunks/{chunk-CXLSM5SH.js → chunk-KOG2WB66.js} +4 -4
- package/dist/chunks/{chunk-AGHVC2IJ.js → chunk-LBH5WVXU.js} +2 -2
- package/dist/chunks/{chunk-22P25PLK.js → chunk-LYDXPWAZ.js} +22 -4
- package/dist/chunks/{chunk-22P25PLK.js.map → chunk-LYDXPWAZ.js.map} +1 -1
- package/dist/chunks/{chunk-U5AWHJ7O.js → chunk-MBBFX64S.js} +2 -2
- package/dist/chunks/{chunk-PJ3UYK2K.js → chunk-MJO6CH5F.js} +3 -3
- package/dist/chunks/{chunk-AVIW5JJF.js → chunk-NATYSTPM.js} +2 -2
- package/dist/chunks/{chunk-YLIKDPD6.js → chunk-NBD5MAGK.js} +9 -9
- package/dist/chunks/{chunk-43FBWINL.js → chunk-PINPSIJ5.js} +5 -5
- package/dist/chunks/{chunk-AL6ESCHD.js → chunk-PLKJKF32.js} +12 -12
- package/dist/chunks/chunk-QBAISLAD.js +750 -0
- package/dist/chunks/chunk-QBAISLAD.js.map +6 -0
- package/dist/chunks/{chunk-KQOIPRZ5.js → chunk-QRT3N2K3.js} +2 -2
- package/dist/chunks/{chunk-DYBUCWAB.js → chunk-QXDKRJZ5.js} +3 -3
- package/dist/chunks/{chunk-EOO5AKO4.js → chunk-RBX6RVYO.js} +6 -6
- package/dist/chunks/{chunk-VSUHR44P.js → chunk-RM6HTBJK.js} +2 -2
- package/dist/chunks/{chunk-WW4VKEBD.js → chunk-S6MZK4LD.js} +2 -2
- package/dist/chunks/{chunk-H7VJHF5S.js → chunk-SFUUN6B3.js} +957 -262
- package/dist/chunks/chunk-SFUUN6B3.js.map +6 -0
- package/dist/chunks/{chunk-ZKTLXAQK.js → chunk-V3ZLK3XQ.js} +3243 -1041
- package/dist/chunks/chunk-V3ZLK3XQ.js.map +6 -0
- package/dist/chunks/{chunk-WNMRETWS.js → chunk-VUOS5SQ3.js} +2 -2
- package/dist/chunks/{chunk-YTJO7G24.js → chunk-XCWZZZOW.js} +3 -3
- package/dist/chunks/{chunk-RPAHIOW6.js → chunk-YYQFUKI7.js} +3 -3
- package/dist/chunks/{chunk-5GARJ3CK.js → chunk-YYVDLVUM.js} +2 -2
- package/dist/chunks/{chunk-HQZSTYKY.js → chunk-ZB5ETOVE.js} +3 -3
- package/dist/chunks/{chunk-GFSD2D3M.js → chunk-ZG6NVROB.js} +2 -2
- package/dist/chunks/{chunk-MBGQS5YA.js → chunk-ZHBHRMCI.js} +4 -4
- package/dist/chunks/{cli-runtime-CQKITOHY.js → cli-runtime-NG23IVRM.js} +8 -8
- package/dist/chunks/{commands-UEPVSG33.js → commands-LQISMOPF.js} +5 -5
- package/dist/chunks/{crash-report-3GQ3SJML.js → crash-report-EYK56MJJ.js} +6 -6
- package/dist/chunks/{dist-YDFJ4YOH.js → dist-3AMBKAG4.js} +2 -2
- package/dist/chunks/{dist-SCEJQJFY.js → dist-AUDNCB3F.js} +2 -2
- package/dist/chunks/{dist-FFMNE5LK.js → dist-AZJ56DQJ.js} +2 -2
- package/dist/chunks/{dist-IPJVDPA3.js → dist-DWB5AYXB.js} +2 -2
- package/dist/chunks/{dist-VJ2UQYSX.js → dist-EDKLCZY4.js} +2 -2
- package/dist/chunks/{dist-Q37IZHCW.js → dist-PZXF5NU3.js} +2 -2
- package/dist/chunks/{dist-AMYVT2VT.js → dist-XT4V74YL.js} +2 -2
- package/dist/chunks/{doctor-YWK25HGQ.js → doctor-3EOUWDYB.js} +6 -6
- package/dist/chunks/{drain-5R73B66Y.js → drain-IMNF2CDN.js} +10 -10
- package/dist/chunks/{eval-GYPUHRIK.js → eval-VHWEJ4GG.js} +2 -2
- package/dist/chunks/{exec-AHAC6YBQ.js → exec-2KM6DH56.js} +149 -41
- package/dist/chunks/exec-2KM6DH56.js.map +6 -0
- package/dist/chunks/{home-GI6TRZAN.js → home-H4GTIYO5.js} +3 -3
- package/dist/chunks/{host-queries-MN57UTDU.js → host-queries-5C4TCX6J.js} +13 -13
- package/dist/chunks/{lifecycle-7LD634AQ.js → lifecycle-IHW4P636.js} +23 -23
- package/dist/chunks/{list-DSHTQRTP.js → list-JJZ7I5OF.js} +12 -12
- package/dist/chunks/{login-R5P2OAXZ.js → login-T2RKNHK2.js} +8 -8
- package/dist/chunks/{logs-SGPSXLBY.js → logs-J6D4SEDY.js} +4 -4
- package/dist/chunks/{mcp-MC6B34XH.js → mcp-WONRVJ26.js} +15 -15
- package/dist/chunks/{message-command-4MV2SVHP.js → message-command-F3TFROMK.js} +29 -29
- package/dist/chunks/{operator-tools-GI63VOXH.js → operator-tools-H4MYC5PE.js} +11 -11
- package/dist/chunks/{output-schema-74VSN66J.js → output-schema-RFJUTQ2N.js} +3 -3
- package/dist/chunks/{pal-BWPYGQ4B.js → pal-UCYGJN75.js} +11 -11
- package/dist/chunks/{providers-YV45XVWS.js → providers-BHF65IUG.js} +6 -6
- package/dist/chunks/{resident-OC2D5V5I.js → resident-CNS3XQRU.js} +18 -18
- package/dist/chunks/{resume-command-DZBKOABY.js → resume-command-Y3NYDSI4.js} +4 -4
- package/dist/chunks/{schedule-GUD625PJ.js → schedule-KN5YGOSJ.js} +8 -8
- package/dist/chunks/{service-67FZ3N75.js → service-OEOHUGM6.js} +22 -22
- package/dist/chunks/session-step-AYHFVVX6.js +26 -0
- package/dist/chunks/{skills-DNNEKEOH.js → skills-K3JRZ3IR.js} +8 -8
- package/dist/chunks/{state-K7MMFNZC.js → state-QPSQI7U7.js} +2 -2
- package/dist/chunks/{store-2PDDGKYZ.js → store-7WZWQXKX.js} +6 -6
- package/dist/chunks/{store-NIBJFQOT.js → store-PSQKDEPY.js} +8 -8
- package/dist/chunks/{store-KYMOKW6X.js → store-Z3PS6LUZ.js} +4 -4
- package/dist/chunks/{tui-UY3ZLTMX.js → tui-JKZOXURU.js} +2535 -1325
- package/dist/chunks/tui-JKZOXURU.js.map +6 -0
- package/dist/chunks/{upgrade-2NO7NPPM.js → upgrade-C6QUXRLB.js} +3 -3
- package/dist/chunks/{worktree-ADQJ4AJ5.js → worktree-KLD2PAMU.js} +10 -10
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp-harness.d.ts.map +1 -1
- package/dist/commands/desktop-host-pr.d.ts +14 -0
- package/dist/commands/desktop-host-pr.d.ts.map +1 -0
- package/dist/commands/desktop-host.d.ts +3 -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-workflows.d.ts +50 -0
- package/dist/commands/exec-workflows.d.ts.map +1 -0
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +13 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/integrations/resident/runner-worker.js +16 -16
- package/dist/integrations/subagents/activity.d.ts +19 -0
- package/dist/integrations/subagents/activity.d.ts.map +1 -1
- package/dist/integrations/subagents/runtime.d.ts +52 -0
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/workflows/doctrine.d.ts +7 -0
- package/dist/integrations/workflows/doctrine.d.ts.map +1 -0
- package/dist/integrations/workflows/history.d.ts +13 -0
- package/dist/integrations/workflows/history.d.ts.map +1 -0
- package/dist/integrations/workflows/host.d.ts +59 -0
- package/dist/integrations/workflows/host.d.ts.map +1 -0
- package/dist/integrations/workflows/notice.d.ts +19 -0
- package/dist/integrations/workflows/notice.d.ts.map +1 -0
- package/dist/integrations/workflows/offering.d.ts +40 -0
- package/dist/integrations/workflows/offering.d.ts.map +1 -0
- package/dist/integrations/workflows/registry.d.ts +73 -0
- package/dist/integrations/workflows/registry.d.ts.map +1 -0
- package/dist/integrations/workflows/view.d.ts +97 -0
- package/dist/integrations/workflows/view.d.ts.map +1 -0
- package/dist/tui/AgentExplorer.d.ts +179 -32
- package/dist/tui/AgentExplorer.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BackgroundJobsPanel.d.ts.map +1 -1
- package/dist/tui/BrandHeader.d.ts +3 -1
- package/dist/tui/BrandHeader.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +23 -1
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/ComposerFrame.d.ts +10 -3
- package/dist/tui/ComposerFrame.d.ts.map +1 -1
- package/dist/tui/LiveActivity.d.ts +4 -0
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/PendingInputPanel.d.ts +14 -11
- package/dist/tui/PendingInputPanel.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +61 -36
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts +14 -0
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/agent-transcript-rows.d.ts +34 -12
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +49 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/job-exit-row.d.ts +19 -0
- package/dist/tui/job-exit-row.d.ts.map +1 -0
- package/dist/tui/permission-review.d.ts +26 -0
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/pr-status.d.ts +112 -0
- package/dist/tui/pr-status.d.ts.map +1 -0
- package/dist/tui/shell-cell.d.ts +86 -0
- package/dist/tui/shell-cell.d.ts.map +1 -0
- package/dist/tui/shorten-path.d.ts +10 -0
- package/dist/tui/shorten-path.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +4 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/theme.d.ts +6 -0
- package/dist/tui/theme.d.ts.map +1 -1
- package/dist/tui/tidy-tool-output.d.ts +5 -0
- package/dist/tui/tidy-tool-output.d.ts.map +1 -1
- package/dist/tui/types.d.ts +10 -1
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/tui/use-pr-status.d.ts +15 -0
- package/dist/tui/use-pr-status.d.ts.map +1 -0
- package/dist/tui/workflow-runs.d.ts +38 -0
- package/dist/tui/workflow-runs.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/chunks/acp-P22WRX3A.js.map +0 -6
- package/dist/chunks/agent-session-C2HDOXK4.js +0 -46
- package/dist/chunks/chunk-53EZXXT4.js.map +0 -6
- package/dist/chunks/chunk-H7VJHF5S.js.map +0 -6
- package/dist/chunks/chunk-L6FMG3R6.js +0 -380
- package/dist/chunks/chunk-L6FMG3R6.js.map +0 -6
- package/dist/chunks/chunk-ZKTLXAQK.js.map +0 -6
- package/dist/chunks/exec-AHAC6YBQ.js.map +0 -6
- package/dist/chunks/session-step-YNMU75FQ.js +0 -26
- package/dist/chunks/tui-UY3ZLTMX.js.map +0 -6
- /package/dist/chunks/{activity-command-OK463NV4.js.map → activity-command-MCYEK4Z4.js.map} +0 -0
- /package/dist/chunks/{add-ML53TFN2.js.map → add-ZQ3YWP4F.js.map} +0 -0
- /package/dist/chunks/{agent-3ST7Q6HZ.js.map → agent-PAGVUATH.js.map} +0 -0
- /package/dist/chunks/{agent-session-C2HDOXK4.js.map → agent-session-PLIPF3XG.js.map} +0 -0
- /package/dist/chunks/{archive-WV2NBOHR.js.map → archive-VPREZOGC.js.map} +0 -0
- /package/dist/chunks/{bin-main-FPJQMK33.js.map → bin-main-MWFKUXP2.js.map} +0 -0
- /package/dist/chunks/{browser-JRWZ3PYX.js.map → browser-FZWYOIIJ.js.map} +0 -0
- /package/dist/chunks/{chat-3IJFKDSN.js.map → chat-W355SFNQ.js.map} +0 -0
- /package/dist/chunks/{chunk-S7E42272.js.map → chunk-2BZOT2CT.js.map} +0 -0
- /package/dist/chunks/{chunk-7OEK2NAO.js.map → chunk-2O7KYX4V.js.map} +0 -0
- /package/dist/chunks/{chunk-LIZPXS73.js.map → chunk-3F5DGROG.js.map} +0 -0
- /package/dist/chunks/{chunk-NKEOCU52.js.map → chunk-3M3PMQ3I.js.map} +0 -0
- /package/dist/chunks/{chunk-KNNQHRZ4.js.map → chunk-46B7KRXY.js.map} +0 -0
- /package/dist/chunks/{chunk-PT7TZNBV.js.map → chunk-52OVP5BG.js.map} +0 -0
- /package/dist/chunks/{chunk-X2YRM3UE.js.map → chunk-56OUKG5W.js.map} +0 -0
- /package/dist/chunks/{chunk-HJ42RG5U.js.map → chunk-5URT3ZM2.js.map} +0 -0
- /package/dist/chunks/{chunk-ZZ6Z2DO6.js.map → chunk-6CGC72OA.js.map} +0 -0
- /package/dist/chunks/{chunk-GWOW3U2S.js.map → chunk-6TDJXZ5W.js.map} +0 -0
- /package/dist/chunks/{chunk-7WQV2FSF.js.map → chunk-AHYHR5DY.js.map} +0 -0
- /package/dist/chunks/{chunk-XAKL7C7B.js.map → chunk-AP5KD43Y.js.map} +0 -0
- /package/dist/chunks/{chunk-NRML7BIR.js.map → chunk-AS7UWXMN.js.map} +0 -0
- /package/dist/chunks/{chunk-QQLB573I.js.map → chunk-BOV53LZO.js.map} +0 -0
- /package/dist/chunks/{chunk-GPBUDMUF.js.map → chunk-BUCICQWG.js.map} +0 -0
- /package/dist/chunks/{chunk-CFN7CUD3.js.map → chunk-DYUOXP5Q.js.map} +0 -0
- /package/dist/chunks/{chunk-G5XTLTDR.js.map → chunk-E7HLYLD7.js.map} +0 -0
- /package/dist/chunks/{chunk-ABD2DOO2.js.map → chunk-EKUJUPFA.js.map} +0 -0
- /package/dist/chunks/{chunk-AABPCENY.js.map → chunk-F3YQ2CSZ.js.map} +0 -0
- /package/dist/chunks/{chunk-2VXA7GZU.js.map → chunk-FU4GQ7K2.js.map} +0 -0
- /package/dist/chunks/{chunk-VHKKPDL2.js.map → chunk-GQN64E36.js.map} +0 -0
- /package/dist/chunks/{chunk-3OZ2OBGU.js.map → chunk-HKDPP2JF.js.map} +0 -0
- /package/dist/chunks/{chunk-YZ675PG4.js.map → chunk-HSEJGSXE.js.map} +0 -0
- /package/dist/chunks/{chunk-ZXWJ6G3J.js.map → chunk-I6CDUPVR.js.map} +0 -0
- /package/dist/chunks/{chunk-27VZRJTG.js.map → chunk-IQBR45AU.js.map} +0 -0
- /package/dist/chunks/{chunk-HIZ7F6BT.js.map → chunk-JCDTR2ZU.js.map} +0 -0
- /package/dist/chunks/{chunk-ZNAH4EGP.js.map → chunk-KMHLON54.js.map} +0 -0
- /package/dist/chunks/{chunk-CXLSM5SH.js.map → chunk-KOG2WB66.js.map} +0 -0
- /package/dist/chunks/{chunk-AGHVC2IJ.js.map → chunk-LBH5WVXU.js.map} +0 -0
- /package/dist/chunks/{chunk-U5AWHJ7O.js.map → chunk-MBBFX64S.js.map} +0 -0
- /package/dist/chunks/{chunk-PJ3UYK2K.js.map → chunk-MJO6CH5F.js.map} +0 -0
- /package/dist/chunks/{chunk-AVIW5JJF.js.map → chunk-NATYSTPM.js.map} +0 -0
- /package/dist/chunks/{chunk-YLIKDPD6.js.map → chunk-NBD5MAGK.js.map} +0 -0
- /package/dist/chunks/{chunk-43FBWINL.js.map → chunk-PINPSIJ5.js.map} +0 -0
- /package/dist/chunks/{chunk-AL6ESCHD.js.map → chunk-PLKJKF32.js.map} +0 -0
- /package/dist/chunks/{chunk-KQOIPRZ5.js.map → chunk-QRT3N2K3.js.map} +0 -0
- /package/dist/chunks/{chunk-DYBUCWAB.js.map → chunk-QXDKRJZ5.js.map} +0 -0
- /package/dist/chunks/{chunk-EOO5AKO4.js.map → chunk-RBX6RVYO.js.map} +0 -0
- /package/dist/chunks/{chunk-VSUHR44P.js.map → chunk-RM6HTBJK.js.map} +0 -0
- /package/dist/chunks/{chunk-WW4VKEBD.js.map → chunk-S6MZK4LD.js.map} +0 -0
- /package/dist/chunks/{chunk-WNMRETWS.js.map → chunk-VUOS5SQ3.js.map} +0 -0
- /package/dist/chunks/{chunk-YTJO7G24.js.map → chunk-XCWZZZOW.js.map} +0 -0
- /package/dist/chunks/{chunk-RPAHIOW6.js.map → chunk-YYQFUKI7.js.map} +0 -0
- /package/dist/chunks/{chunk-5GARJ3CK.js.map → chunk-YYVDLVUM.js.map} +0 -0
- /package/dist/chunks/{chunk-HQZSTYKY.js.map → chunk-ZB5ETOVE.js.map} +0 -0
- /package/dist/chunks/{chunk-GFSD2D3M.js.map → chunk-ZG6NVROB.js.map} +0 -0
- /package/dist/chunks/{chunk-MBGQS5YA.js.map → chunk-ZHBHRMCI.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-CQKITOHY.js.map → cli-runtime-NG23IVRM.js.map} +0 -0
- /package/dist/chunks/{commands-UEPVSG33.js.map → commands-LQISMOPF.js.map} +0 -0
- /package/dist/chunks/{crash-report-3GQ3SJML.js.map → crash-report-EYK56MJJ.js.map} +0 -0
- /package/dist/chunks/{dist-YDFJ4YOH.js.map → dist-3AMBKAG4.js.map} +0 -0
- /package/dist/chunks/{dist-SCEJQJFY.js.map → dist-AUDNCB3F.js.map} +0 -0
- /package/dist/chunks/{dist-FFMNE5LK.js.map → dist-AZJ56DQJ.js.map} +0 -0
- /package/dist/chunks/{dist-IPJVDPA3.js.map → dist-DWB5AYXB.js.map} +0 -0
- /package/dist/chunks/{dist-VJ2UQYSX.js.map → dist-EDKLCZY4.js.map} +0 -0
- /package/dist/chunks/{dist-Q37IZHCW.js.map → dist-PZXF5NU3.js.map} +0 -0
- /package/dist/chunks/{dist-AMYVT2VT.js.map → dist-XT4V74YL.js.map} +0 -0
- /package/dist/chunks/{doctor-YWK25HGQ.js.map → doctor-3EOUWDYB.js.map} +0 -0
- /package/dist/chunks/{drain-5R73B66Y.js.map → drain-IMNF2CDN.js.map} +0 -0
- /package/dist/chunks/{eval-GYPUHRIK.js.map → eval-VHWEJ4GG.js.map} +0 -0
- /package/dist/chunks/{home-GI6TRZAN.js.map → home-H4GTIYO5.js.map} +0 -0
- /package/dist/chunks/{host-queries-MN57UTDU.js.map → host-queries-5C4TCX6J.js.map} +0 -0
- /package/dist/chunks/{lifecycle-7LD634AQ.js.map → lifecycle-IHW4P636.js.map} +0 -0
- /package/dist/chunks/{list-DSHTQRTP.js.map → list-JJZ7I5OF.js.map} +0 -0
- /package/dist/chunks/{login-R5P2OAXZ.js.map → login-T2RKNHK2.js.map} +0 -0
- /package/dist/chunks/{logs-SGPSXLBY.js.map → logs-J6D4SEDY.js.map} +0 -0
- /package/dist/chunks/{mcp-MC6B34XH.js.map → mcp-WONRVJ26.js.map} +0 -0
- /package/dist/chunks/{message-command-4MV2SVHP.js.map → message-command-F3TFROMK.js.map} +0 -0
- /package/dist/chunks/{operator-tools-GI63VOXH.js.map → operator-tools-H4MYC5PE.js.map} +0 -0
- /package/dist/chunks/{output-schema-74VSN66J.js.map → output-schema-RFJUTQ2N.js.map} +0 -0
- /package/dist/chunks/{pal-BWPYGQ4B.js.map → pal-UCYGJN75.js.map} +0 -0
- /package/dist/chunks/{providers-YV45XVWS.js.map → providers-BHF65IUG.js.map} +0 -0
- /package/dist/chunks/{resident-OC2D5V5I.js.map → resident-CNS3XQRU.js.map} +0 -0
- /package/dist/chunks/{resume-command-DZBKOABY.js.map → resume-command-Y3NYDSI4.js.map} +0 -0
- /package/dist/chunks/{schedule-GUD625PJ.js.map → schedule-KN5YGOSJ.js.map} +0 -0
- /package/dist/chunks/{service-67FZ3N75.js.map → service-OEOHUGM6.js.map} +0 -0
- /package/dist/chunks/{session-step-YNMU75FQ.js.map → session-step-AYHFVVX6.js.map} +0 -0
- /package/dist/chunks/{skills-DNNEKEOH.js.map → skills-K3JRZ3IR.js.map} +0 -0
- /package/dist/chunks/{state-K7MMFNZC.js.map → state-QPSQI7U7.js.map} +0 -0
- /package/dist/chunks/{store-2PDDGKYZ.js.map → store-7WZWQXKX.js.map} +0 -0
- /package/dist/chunks/{store-KYMOKW6X.js.map → store-PSQKDEPY.js.map} +0 -0
- /package/dist/chunks/{store-NIBJFQOT.js.map → store-Z3PS6LUZ.js.map} +0 -0
- /package/dist/chunks/{upgrade-2NO7NPPM.js.map → upgrade-C6QUXRLB.js.map} +0 -0
- /package/dist/chunks/{worktree-ADQJ4AJ5.js.map → worktree-KLD2PAMU.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @namzu/cli
|
|
2
2
|
|
|
3
|
+
## 36.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 437dd6d: Add the `workflow` tool. When you ask for one (hypermode on, the word "workflow" or "iş akışı" in your message, or `/workflow <what to do>`), the model can write a short script that starts many agents in phases and runs them in the background. Before anything starts you see its name, purpose, phases, agent limits and the script (`d` shows all of it) and approve once; in `auto` mode ("bypass permissions") it starts without asking, and a session with nobody to ask refuses with a plain reason. Its agents are ordinary children under the same permission mode, rules, sandbox and budget as the `Agent` tool, but they are not subagent rows: the run is one row on the rail (`◯ name ▰▱ 3/6 · 12s · ↓ tokens`) opening to its phases (declared ones listed before they start), then a phase's agents, then an agent's transcript; `x` stops the run on the phases and skips one agent on the agents. The conversation shows `● Workflow(<purpose>)` at launch and `✓ Workflow <name> completed · …` when the run ends, `/workflows` lists this conversation's runs (earlier ones from their journals under `<session>/runs/<runId>/workflow/`), and the model gets one message with the result when a run ends. Nothing changes for conversations that never ask for a workflow. The workflow tool is offered only by hosts that can review a background run (the terminal and `namzu exec`, not the desktop app yet). A finished workflow and a background command that ends on its own now start a turn at once when the session is idle, so the model reports without you typing (a command you stopped yourself does not). `namzu exec` waits for a workflow the model started, lets the model report, and then exits; its `Tokens:` line (and the `budget` in `exec --json`) is the whole command's, the reporting turn and the workflow's agents included. New config keys: `workflow.maxConcurrency` (1-16, default min(8, CPUs-2)) and `workflow.maxAgents` (1-1000, default 200).
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 437dd6d: The agents rail under the message box is now a `main` row plus one row per agent that is running or finished in the last 30 seconds (type, description, time and spend), five at a time with `↓ N more`. Press ↓ in an empty composer to move into it: ↑/↓ select, Enter opens that agent's transcript (Esc comes back to the same row), `x` stops a running agent or clears a finished one, Esc returns to the composer. The old titled tree (workflow and phase lines, a latest-activity line per agent, the `↓ / ctrl+t` counter) is no longer drawn on the rail; `Ctrl+T` and `/agents` still open the full cockpit with all of it.
|
|
12
|
+
- 437dd6d: `/jobs` is now the `Background` panel: a row per background shell (status icon, command, `running` / `done` / `error` / `stopped`), `Shell details` with `Status:`, `Runtime:`, `Command:` and live `Output:`, and no job ids on screen. When a background command ends the transcript gets a row such as `● Background command "npm test" completed (exit code 0) · 12s`, or `failed with exit code 2` / `was stopped`.
|
|
13
|
+
- 437dd6d: Messages you type while Namzu is working now wait as grey `❯` rows above the input box instead of inside it; a Tab-queued one says `after this reply`. Press Up on an empty input to choose a queued message and Enter to edit it, or `ctrl+x ctrl+s` to send waiting messages now. Nothing changes in how messages reach the model.
|
|
14
|
+
|
|
15
|
+
They sit directly above the `Working` row.
|
|
16
|
+
|
|
17
|
+
- 692466e: The message box in Namzu Desktop now shows, beside the mode, how many background shells are running ("2 shells", which opens the list) and the pull request of the conversation's branch ("PR #607", coloured by review state, which opens it in the browser). The pull request comes from the GitHub command line tool the terminal already uses; with `gh` missing, signed out, or no pull request, nothing is shown. The CLI host gains a read-only `namzu/project/pr` request for it.
|
|
18
|
+
- 692466e: A message typed in Namzu Desktop while a reply is running now reaches that reply at its next model request, as the terminal does. Before, the desktop host reported live input as unavailable for the whole of every turn, so each such message silently waited for the reply to finish. Nothing to change on your side.
|
|
19
|
+
- 437dd6d: The composer footer is now one row of items in the reference's order: the mode in plain words (`⏵⏵ bypass permissions on`, `⏵⏵ accept edits on`, `‖ plan mode on`), `PR #592` for the current branch's pull request (coloured by review state and linked where the terminal supports it), a `N shells` pill for running background shells (the separate "shells running" line is gone), then `esc to interrupt` while a turn runs, `← N agents` and `↓ to manage`. From an empty composer `←` opens the agents and `↓` focuses the shell pill first (Enter opens the `/jobs` screen) and then the agents rail; with anything typed both keys keep moving the cursor, and the hints leave the row. The agents rail's own `↓ to manage` on its `main` row is gone, since the footer says it. A running shell takes the `(shift+tab to cycle)` reminder off the row. The model name now yields first when the row is narrow. The pull request comes from the `gh` command line tool, read in the background, only on a real terminal; `NAMZU_PR_STATUS=off` turns it off. The working directory no longer appears on the footer row. The composer's frame is now two plain horizontal rules with a dim `❯ ` prompt between them: the boxed frame with corners, side borders and a `MESSAGE` caption is gone, and `hypermode` is named at the upper rule's right end.
|
|
20
|
+
- 437dd6d: The startup header now shows the folder Namzu is working in on the row under the version, with the home folder written as `~` and a long path cut from the left to fit. The footer no longer carries it.
|
|
21
|
+
- 437dd6d: Shell commands in the terminal now read like Claude Code's: a green or red dot in front of `Bash(command)` instead of a tick and a duration, the command's line breaks kept in the header, and the output hung under `⎿` as its first three lines followed by `… +N lines (ctrl+o to expand)`. A failed command now shows its error output and `Exit code N` instead of repeating the command, an empty result reads `(No output)`, and a command moved to a background job reads `Running in the background` instead of the instructions meant for the model. While a command runs it shows `Running…` with the elapsed time.
|
|
22
|
+
- 28eaee1: On Windows the `bash` tool, background jobs started with `run_in_background`, and plugin shell hooks now run in Git for Windows' bash instead of cmd.exe whenever Git for Windows is installed, and `hostCommandShell()` and `BashTool.commandDialect()` answer `bash` there instead of `cmd`. Before, every command a model wrote was refused or needed a person to approve it each time, because the permission rules cannot read cmd.exe lines. Git Bash is looked up as `NAMZU_BASH_SHELL`, then `%ProgramFiles%\Git\bin\bash.exe`, then `%ProgramFiles(x86)%\Git\bin\bash.exe`, then `%LOCALAPPDATA%\Programs\Git\bin\bash.exe`, then the install holding the first `git` that `where.exe git` lists outside the working directory. Commands now need Unix syntax (`/dev/null`, forward slashes, `$VAR`); the model is told so, and `>nul` is rewritten to `/dev/null`. A host that depends on cmd.exe syntax in the `bash` tool, or on `hostCommandShell().dialect === 'cmd'` on a machine with Git for Windows, sets `NAMZU_BASH_SHELL=cmd` (a path to `cmd.exe`, such as `%ComSpec%`, works too) to keep the old behaviour. Without Git for Windows nothing changes except that `windowsShellNotice()` returns a sentence saying commands run in cmd.exe and each asks for approval; the CLI shows it once at session start. New exports: `findGitBash`, `isWindowsBash`, `windowsShellNotice`, `rewriteWindowsNullRedirect`, `WINDOWS_BASH_GUIDANCE`, `WINDOWS_CMD_FALLBACK_NOTICE`, and an optional `windows` flag on `CommandShell`. Stopping a command or job on Windows now also ends processes that Git Bash forked, which `taskkill /T` alone missed.
|
|
23
|
+
- 437dd6d: Agents that the model gave one `workflow` label now also appear as a single row on the rail under the message box: `◯ name`, a progress bar, `3/7 · elapsed · ↓ tokens`. Press ↓ to reach it; Enter opens that workflow's phases and agents (Esc comes back to the row), `x` stops its running agents or clears the row once it has finished, and the row leaves 30 seconds after the last agent ends. When a workflow's turn ends, one line in the conversation says how it ended. The rail's key line now reads `enter to view · x to stop`.
|
|
24
|
+
- 437dd6d: Workflows and subagents are now separate in the terminal. An agent started with a `workflow` label no longer shows up as an agent row on the rail: it appears only inside its workflow, which is one row after the agent rows, and the `main` row shows only when there is an agent row. Enter on the workflow opens its phases (numbered, turning ✔ or ✘, with done/total), then the agents of a phase, then an agent's transcript; ← or Esc goes back up and `x` stops the whole workflow or one agent. In the conversation a workflow's launch is one `Workflow <name>` line instead of a row per agent, and the turn summary no longer counts phases.
|
|
25
|
+
- Updated dependencies [437dd6d]
|
|
26
|
+
- Updated dependencies [437dd6d]
|
|
27
|
+
- Updated dependencies [28eaee1]
|
|
28
|
+
- Updated dependencies [437dd6d]
|
|
29
|
+
- @namzu/sdk@51.0.0
|
|
30
|
+
- @namzu/browser@2.0.1
|
|
31
|
+
- @namzu/computer-use@3.1.0
|
|
32
|
+
- @namzu/anthropic@6.3.0
|
|
33
|
+
- @namzu/ollama@2.2.5
|
|
34
|
+
- @namzu/openai@4.1.4
|
|
35
|
+
- @namzu/openrouter@3.0.3
|
|
36
|
+
- @namzu/sandbox@26.0.0
|
|
37
|
+
|
|
3
38
|
## 36.2.0
|
|
4
39
|
|
|
5
40
|
### Minor Changes
|
package/dist/bin.js
CHANGED
|
@@ -81,6 +81,6 @@ __name(suppressSqliteExperimentalWarning, "suppressSqliteExperimentalWarning");
|
|
|
81
81
|
suppressSqliteExperimentalWarning();
|
|
82
82
|
|
|
83
83
|
// src/bin.ts
|
|
84
|
-
var { main } = await import("./chunks/bin-main-
|
|
84
|
+
var { main } = await import("./chunks/bin-main-MWFKUXP2.js");
|
|
85
85
|
main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
|
|
86
86
|
//# sourceMappingURL=bin.js.map
|
|
@@ -2,15 +2,17 @@ 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-NBD5MAGK.js";
|
|
6
6
|
import {
|
|
7
7
|
conversationMarkdown,
|
|
8
|
+
lookupPr,
|
|
9
|
+
runCommand,
|
|
8
10
|
withKeyNote
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-2TGQ2B53.js";
|
|
12
|
+
import "./chunk-PINPSIJ5.js";
|
|
11
13
|
import {
|
|
12
14
|
decideHeadlessTrust
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VUOS5SQ3.js";
|
|
14
16
|
import {
|
|
15
17
|
cliPalComputerStatus,
|
|
16
18
|
cliPalScreen,
|
|
@@ -23,21 +25,21 @@ import {
|
|
|
23
25
|
startCliPalComputer,
|
|
24
26
|
stopCliPalComputer,
|
|
25
27
|
takeOverCliPalComputer
|
|
26
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YYQFUKI7.js";
|
|
27
29
|
import {
|
|
28
30
|
palSessionEnvironment
|
|
29
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2O7KYX4V.js";
|
|
30
32
|
import {
|
|
31
33
|
cliPalActivitySubscriptionPolicy,
|
|
32
34
|
cliPalActivitySubscriptionStore,
|
|
33
35
|
cliPalCommunicationPolicy,
|
|
34
36
|
cliPalCommunicationStore
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-46B7KRXY.js";
|
|
36
38
|
import {
|
|
37
39
|
claimPalConversation,
|
|
38
40
|
listPalConversations,
|
|
39
41
|
palConversationBinding
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6TDJXZ5W.js";
|
|
41
43
|
import {
|
|
42
44
|
FileCheckpointStore,
|
|
43
45
|
PluginSettingsStore,
|
|
@@ -48,16 +50,16 @@ import {
|
|
|
48
50
|
sessionLogCheckpointView,
|
|
49
51
|
validateComposerSendSettings,
|
|
50
52
|
verifyCredential
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-SFUUN6B3.js";
|
|
54
|
+
import "./chunk-52OVP5BG.js";
|
|
55
|
+
import "./chunk-3F5DGROG.js";
|
|
54
56
|
import "./chunk-WHODOMXA.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-JCDTR2ZU.js";
|
|
58
|
+
import "./chunk-XCWZZZOW.js";
|
|
59
|
+
import "./chunk-QBAISLAD.js";
|
|
60
|
+
import "./chunk-AP5KD43Y.js";
|
|
61
|
+
import "./chunk-5URT3ZM2.js";
|
|
62
|
+
import "./chunk-MJO6CH5F.js";
|
|
61
63
|
import "./chunk-ZWA2JRJV.js";
|
|
62
64
|
import "./chunk-NUGPLXVK.js";
|
|
63
65
|
import {
|
|
@@ -67,7 +69,7 @@ import {
|
|
|
67
69
|
resolveTrustedProjectContext
|
|
68
70
|
} from "./chunk-CHIEVVQ2.js";
|
|
69
71
|
import "./chunk-GNBMKISG.js";
|
|
70
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-MBBFX64S.js";
|
|
71
73
|
import "./chunk-US5ZFPAU.js";
|
|
72
74
|
import {
|
|
73
75
|
automaticKind,
|
|
@@ -75,7 +77,7 @@ import {
|
|
|
75
77
|
discoverProviders,
|
|
76
78
|
hasApiCredential,
|
|
77
79
|
isAnonymousZen
|
|
78
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-DYUOXP5Q.js";
|
|
79
81
|
import {
|
|
80
82
|
ALL_PROVIDER_IDS,
|
|
81
83
|
PROVIDER_REGISTRY
|
|
@@ -83,13 +85,13 @@ import {
|
|
|
83
85
|
import {
|
|
84
86
|
compilePermissions,
|
|
85
87
|
warnLegacyMcpPermissionNames
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
+
} from "./chunk-QXDKRJZ5.js";
|
|
89
|
+
import "./chunk-HSEJGSXE.js";
|
|
88
90
|
import {
|
|
89
91
|
cliLogger
|
|
90
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-FU4GQ7K2.js";
|
|
91
93
|
import "./chunk-EEDZOGV4.js";
|
|
92
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-LBH5WVXU.js";
|
|
93
95
|
import "./chunk-OH6TB27S.js";
|
|
94
96
|
import {
|
|
95
97
|
isOfferableModel
|
|
@@ -112,11 +114,11 @@ import {
|
|
|
112
114
|
refreshIndex,
|
|
113
115
|
setTitle,
|
|
114
116
|
unarchiveConversation
|
|
115
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-EKUJUPFA.js";
|
|
116
118
|
import {
|
|
117
119
|
cliProjectRoot
|
|
118
120
|
} from "./chunk-H6B6AROX.js";
|
|
119
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-S6MZK4LD.js";
|
|
120
122
|
import {
|
|
121
123
|
cliPalStore,
|
|
122
124
|
createPal,
|
|
@@ -126,13 +128,13 @@ import {
|
|
|
126
128
|
listPals,
|
|
127
129
|
palAtWorkspace,
|
|
128
130
|
updatePal
|
|
129
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-AS7UWXMN.js";
|
|
130
132
|
import {
|
|
131
133
|
isTrusted,
|
|
132
134
|
isTrustedAtStateRoot,
|
|
133
135
|
trustDir,
|
|
134
136
|
untrustDir
|
|
135
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-ZG6NVROB.js";
|
|
136
138
|
import {
|
|
137
139
|
canonicalProjectPath
|
|
138
140
|
} from "./chunk-JORONMD3.js";
|
|
@@ -143,8 +145,8 @@ import {
|
|
|
143
145
|
readStoredGeminiApiKey,
|
|
144
146
|
writeStoredApiKey,
|
|
145
147
|
writeStoredGeminiApiKey
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
+
} from "./chunk-BOV53LZO.js";
|
|
149
|
+
import "./chunk-HKDPP2JF.js";
|
|
148
150
|
import {
|
|
149
151
|
ACPServer,
|
|
150
152
|
DiskLogMedium,
|
|
@@ -177,7 +179,7 @@ import {
|
|
|
177
179
|
resolveWithinAnyReal,
|
|
178
180
|
resolveWithinReal,
|
|
179
181
|
selectAssistantText
|
|
180
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-V3ZLK3XQ.js";
|
|
181
183
|
import {
|
|
182
184
|
__commonJS,
|
|
183
185
|
__name,
|
|
@@ -9587,6 +9589,7 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
|
|
|
9587
9589
|
const selections = /* @__PURE__ */ new Map();
|
|
9588
9590
|
const records = /* @__PURE__ */ new Map();
|
|
9589
9591
|
const reserving = /* @__PURE__ */ new Set();
|
|
9592
|
+
const nativeTurns = /* @__PURE__ */ new Set();
|
|
9590
9593
|
const catalogues = /* @__PURE__ */ new Map();
|
|
9591
9594
|
const clock2 = /* @__PURE__ */ __name(() => (deps.now ?? Date.now)(), "clock");
|
|
9592
9595
|
let closed = false;
|
|
@@ -9754,7 +9757,14 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
|
|
|
9754
9757
|
let record2 = records.get(request.sessionId);
|
|
9755
9758
|
try {
|
|
9756
9759
|
const choice = await selectionFor(request.sessionId, cwd);
|
|
9757
|
-
if (!choice)
|
|
9760
|
+
if (!choice) {
|
|
9761
|
+
nativeTurns.add(request.sessionId);
|
|
9762
|
+
try {
|
|
9763
|
+
return await base.gateway.prompt(request);
|
|
9764
|
+
} finally {
|
|
9765
|
+
nativeTurns.delete(request.sessionId);
|
|
9766
|
+
}
|
|
9767
|
+
}
|
|
9758
9768
|
if (request.attachments?.length)
|
|
9759
9769
|
throw new Error(
|
|
9760
9770
|
"This engine connection does not support attachments yet. Your draft is retained."
|
|
@@ -9864,7 +9874,7 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
|
|
|
9864
9874
|
...liveInputStatus && liveInput ? {
|
|
9865
9875
|
liveInputStatus: /* @__PURE__ */ __name(async (id2, scopeId, scope) => {
|
|
9866
9876
|
if (closed) throw new Error("The connection is closed.");
|
|
9867
|
-
if (records.has(id2) || selections.has(id2) || reserving.has(id2)) {
|
|
9877
|
+
if (records.has(id2) || selections.has(id2) || reserving.has(id2) && !nativeTurns.has(id2)) {
|
|
9868
9878
|
if (scopeId !== void 0)
|
|
9869
9879
|
throw new Error("This live prompt scope is unavailable in this engine.");
|
|
9870
9880
|
return { available: false, inputs: [] };
|
|
@@ -9872,7 +9882,7 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
|
|
|
9872
9882
|
return liveInputStatus(id2, scopeId, scope);
|
|
9873
9883
|
}, "liveInputStatus"),
|
|
9874
9884
|
liveInput: /* @__PURE__ */ __name(async (id2, input, scope) => {
|
|
9875
|
-
if (closed || records.has(id2) || selections.has(id2) || reserving.has(id2))
|
|
9885
|
+
if (closed || records.has(id2) || selections.has(id2) || reserving.has(id2) && !nativeTurns.has(id2))
|
|
9876
9886
|
throw new Error("Live input is unavailable in this engine.");
|
|
9877
9887
|
return liveInput(id2, input, scope);
|
|
9878
9888
|
}, "liveInput")
|
|
@@ -10917,6 +10927,14 @@ function createProjectChanges(options = {}) {
|
|
|
10917
10927
|
}
|
|
10918
10928
|
__name(createProjectChanges, "createProjectChanges");
|
|
10919
10929
|
|
|
10930
|
+
// src/commands/desktop-host-pr.ts
|
|
10931
|
+
async function projectPr(cwd, run = runCommand) {
|
|
10932
|
+
const found = await lookupPr(run, cwd);
|
|
10933
|
+
if (found.state.kind !== "pr") return null;
|
|
10934
|
+
return { number: found.state.number, url: found.state.url, review: found.state.review };
|
|
10935
|
+
}
|
|
10936
|
+
__name(projectPr, "projectPr");
|
|
10937
|
+
|
|
10920
10938
|
// src/commands/desktop-host.ts
|
|
10921
10939
|
function text3(params, key, max = 400) {
|
|
10922
10940
|
const value = params[key];
|
|
@@ -11979,6 +11997,12 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
|
|
|
11979
11997
|
if (!isTrusted(cwd)) return null;
|
|
11980
11998
|
return projectGit(cwd);
|
|
11981
11999
|
}, "namzu/project/git"),
|
|
12000
|
+
"namzu/project/pr": /* @__PURE__ */ __name(async (params = {}) => {
|
|
12001
|
+
if (!params || typeof params !== "object" || Array.isArray(params) || Object.keys(params).length > 0)
|
|
12002
|
+
throw new Error("Invalid project pull request request.");
|
|
12003
|
+
if (!isTrusted(cwd)) return { pr: null };
|
|
12004
|
+
return { pr: await projectPr(cwd) };
|
|
12005
|
+
}, "namzu/project/pr"),
|
|
11982
12006
|
"namzu/project/changes": /* @__PURE__ */ __name(async (params = {}) => {
|
|
11983
12007
|
if (!params || typeof params !== "object" || Array.isArray(params) || Object.keys(params).length > 0)
|
|
11984
12008
|
throw new Error("Invalid project changes request.");
|
|
@@ -13516,4 +13540,4 @@ export {
|
|
|
13516
13540
|
resolveAcpSession,
|
|
13517
13541
|
runAcpCommand
|
|
13518
13542
|
};
|
|
13519
|
-
//# sourceMappingURL=acp-
|
|
13543
|
+
//# sourceMappingURL=acp-2DS2IECT.js.map
|