@namzu/cli 45.1.0 → 45.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 +28 -0
- package/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-CGGPX6FV.js → acp-TYPW7WFK.js} +14 -12
- package/dist/chunks/acp-TYPW7WFK.js.map +6 -0
- package/dist/chunks/{add-7F26IYNU.js → add-QEKJGVR4.js} +7 -6
- package/dist/chunks/add-QEKJGVR4.js.map +6 -0
- package/dist/chunks/{agent-42PYZGA5.js → agent-JWTNZ4PK.js} +10 -8
- package/dist/chunks/{agent-session-SYLDVKFJ.js → agent-session-OGPKSSKG.js} +11 -9
- package/dist/chunks/{bin-main-NID46PS7.js → bin-main-UI3NYIJE.js} +4 -4
- package/dist/chunks/{chat-WBJPS4K6.js → chat-F3WXVEDM.js} +2 -2
- package/dist/chunks/chunk-2IPDTDB3.js +80 -0
- package/dist/chunks/chunk-2IPDTDB3.js.map +6 -0
- package/dist/chunks/{chunk-U4ZP2JN2.js → chunk-4E33SWZU.js} +2 -2
- package/dist/chunks/{chunk-GXP5BKCZ.js → chunk-4WHMQBUC.js} +115 -92
- package/dist/chunks/{chunk-GXP5BKCZ.js.map → chunk-4WHMQBUC.js.map} +1 -1
- package/dist/chunks/{chunk-G742EI3J.js → chunk-4YBTLYYH.js} +82 -53
- package/dist/chunks/chunk-4YBTLYYH.js.map +6 -0
- package/dist/chunks/{chunk-NCW3WBBI.js → chunk-6NDJLXKW.js} +2 -2
- package/dist/chunks/chunk-6ULKBT6P.js +83 -0
- package/dist/chunks/chunk-6ULKBT6P.js.map +6 -0
- package/dist/chunks/{chunk-F2QERXWD.js → chunk-6WPKPHE2.js} +3 -3
- package/dist/chunks/{chunk-RBH2FDM5.js → chunk-6XL5ZMAL.js} +2 -2
- package/dist/chunks/{chunk-OYX743QK.js → chunk-7XAUAIGO.js} +586 -440
- package/dist/chunks/chunk-7XAUAIGO.js.map +6 -0
- package/dist/chunks/{chunk-LQN7NG2F.js → chunk-A72NRUYG.js} +6 -6
- package/dist/chunks/{chunk-IFXYNA2K.js → chunk-ADG5OPNS.js} +2 -2
- package/dist/chunks/{chunk-OM3EDVLG.js → chunk-CAOGKKB5.js} +2 -2
- package/dist/chunks/{chunk-L2WEBN6A.js → chunk-DH4X2E6M.js} +2 -2
- package/dist/chunks/{chunk-L2WEBN6A.js.map → chunk-DH4X2E6M.js.map} +1 -1
- package/dist/chunks/{chunk-AR2GPJUO.js → chunk-E3OXUQQB.js} +1 -66
- package/dist/chunks/chunk-E3OXUQQB.js.map +6 -0
- package/dist/chunks/{chunk-XSAEGHPS.js → chunk-EPIIR5CJ.js} +3 -3
- package/dist/chunks/{chunk-OXM3GHWE.js → chunk-EVZAGFTY.js} +6 -6
- package/dist/chunks/{chunk-OXM3GHWE.js.map → chunk-EVZAGFTY.js.map} +1 -1
- package/dist/chunks/{chunk-Q3AB63M5.js → chunk-GSAYGBOR.js} +23 -11
- package/dist/chunks/{chunk-Q3AB63M5.js.map → chunk-GSAYGBOR.js.map} +2 -2
- package/dist/chunks/{chunk-6LMIJ2YT.js → chunk-H2JLRNYH.js} +2 -2
- package/dist/chunks/{chunk-2YKQMUTC.js → chunk-HB4LEJMU.js} +12 -335
- package/dist/chunks/chunk-HB4LEJMU.js.map +6 -0
- package/dist/chunks/{chunk-P2Y3IUE6.js → chunk-L3XUPXPP.js} +3 -3
- package/dist/chunks/{chunk-5VBA5XSC.js → chunk-LOKFLXQL.js} +2 -2
- package/dist/chunks/{chunk-FU776PDS.js → chunk-Q6RZ64FS.js} +2 -2
- package/dist/chunks/chunk-QLDUL46Z.js +338 -0
- package/dist/chunks/chunk-QLDUL46Z.js.map +6 -0
- package/dist/chunks/{chunk-S7WRWA25.js → chunk-RI2KAZJO.js} +2 -2
- package/dist/chunks/{chunk-S7WRWA25.js.map → chunk-RI2KAZJO.js.map} +1 -1
- package/dist/chunks/{chunk-SSE5CXYL.js → chunk-RISNSR62.js} +2 -2
- package/dist/chunks/{chunk-SSE5CXYL.js.map → chunk-RISNSR62.js.map} +1 -1
- package/dist/chunks/{chunk-BDHXJ7BM.js → chunk-TCRGKEEX.js} +3 -1
- package/dist/chunks/chunk-TCRGKEEX.js.map +6 -0
- package/dist/chunks/{chunk-W7XKWKEZ.js → chunk-U5BN3L3Y.js} +2 -2
- package/dist/chunks/{chunk-2UATEMPS.js → chunk-UQJPNUDU.js} +2 -2
- package/dist/chunks/chunk-V45XJDX3.js +176 -0
- package/dist/chunks/chunk-V45XJDX3.js.map +6 -0
- package/dist/chunks/{chunk-OMRGJSUJ.js → chunk-VZC7FE4F.js} +84 -93
- package/dist/chunks/chunk-VZC7FE4F.js.map +6 -0
- package/dist/chunks/{chunk-O7H4QZ7I.js → chunk-W6E3PSFH.js} +2 -2
- package/dist/chunks/{chunk-K3UL7Z4X.js → chunk-X4TNXFUB.js} +22 -9
- package/dist/chunks/chunk-X4TNXFUB.js.map +6 -0
- package/dist/chunks/{chunk-PCWQ3ET3.js → chunk-XHR3UCKT.js} +2 -2
- package/dist/chunks/{chunk-F4B77QJQ.js → chunk-XOIXLN2Y.js} +3 -3
- package/dist/chunks/{cli-runtime-OBTTHZZI.js → cli-runtime-QOMHGRZL.js} +5 -4
- package/dist/chunks/cli-runtime-QOMHGRZL.js.map +6 -0
- package/dist/chunks/{crash-report-3IE2RFYG.js → crash-report-KHJZ3AKU.js} +3 -3
- package/dist/chunks/{doctor-QGFOTR5H.js → doctor-LCRG5FBA.js} +6 -6
- package/dist/chunks/{drain-5WSM4MTM.js → drain-47IMDCI5.js} +2 -2
- package/dist/chunks/{entry-HLIJKK65.js → entry-P6YPWRQW.js} +26 -20
- package/dist/chunks/{entry-HLIJKK65.js.map → entry-P6YPWRQW.js.map} +1 -1
- package/dist/chunks/{exec-7YEZ64T4.js → exec-ELIM7XVY.js} +13 -10
- package/dist/chunks/exec-ELIM7XVY.js.map +6 -0
- package/dist/chunks/{host-663JLCCW.js → host-QE4D3UXC.js} +10 -8
- package/dist/chunks/{host-queries-7CSOWEPE.js → host-queries-5H765XNX.js} +2 -2
- package/dist/chunks/{learn-NNBHDBLF.js → learn-Y5IBBZDY.js} +2 -2
- package/dist/chunks/{learn-builtin-YEDJT6ZP.js → learn-builtin-ND3T6U5L.js} +3 -3
- package/dist/chunks/{lifecycle-NDR7R22S.js → lifecycle-FJS7LD7B.js} +9 -8
- package/dist/chunks/{list-GIP6KAYZ.js → list-6HQMG7TU.js} +5 -4
- package/dist/chunks/list-6HQMG7TU.js.map +6 -0
- package/dist/chunks/{live-FJISKPXJ.js → live-CSA2LX3R.js} +5 -5
- package/dist/chunks/{mcp-EBVO25Q2.js → mcp-5RQSD6QV.js} +4 -3
- package/dist/chunks/mcp-5RQSD6QV.js.map +6 -0
- package/dist/chunks/{message-command-YIHQF33L.js → message-command-V3CL4DNT.js} +13 -11
- package/dist/chunks/message-command-V3CL4DNT.js.map +6 -0
- package/dist/chunks/{mouse-WFSJSLQD.js → mouse-EJQML44I.js} +2 -2
- package/dist/chunks/{pal-IOPI5RKZ.js → pal-WXN4O3DD.js} +3 -3
- package/dist/chunks/{palette-WDPS7W6Q.js → palette-CL5OOYGK.js} +10 -4
- package/dist/chunks/{peers-MZD3KTZK.js → peers-JQOUU3CX.js} +2 -2
- package/dist/chunks/{prefix-MLAG4KTK.js → prefix-3ZNPUSUK.js} +2 -2
- package/dist/chunks/{resident-DDGJ2IWB.js → resident-NGQORA2W.js} +6 -5
- package/dist/chunks/resident-NGQORA2W.js.map +6 -0
- package/dist/chunks/{schedule-GSNY74KJ.js → schedule-4L4DTRC5.js} +5 -5
- package/dist/chunks/{service-MH57P24N.js → service-EV6VQYJD.js} +8 -7
- package/dist/chunks/service-EV6VQYJD.js.map +6 -0
- package/dist/chunks/{session-step-D4AT5RZR.js → session-step-ZCZNC52S.js} +3 -3
- package/dist/chunks/{start-check-2EP7HZTU.js → start-check-W72K6M5Q.js} +2 -2
- package/dist/chunks/{store-IRKBQZNF.js → store-IVVYIPV2.js} +10 -6
- package/dist/chunks/{tui-5HAU6RLS.js → tui-CCAGK7BG.js} +380 -119
- package/dist/chunks/tui-CCAGK7BG.js.map +6 -0
- package/dist/chunks/{upgrade-ARBZZZRK.js → upgrade-LN6TFWDW.js} +3 -3
- package/dist/chunks/{spaces-JVPRV4YM.js → workspaces-5ZKKOX4X.js} +68 -42
- package/dist/chunks/workspaces-5ZKKOX4X.js.map +6 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/manifest.d.ts +1 -1
- package/dist/commands/manifest.d.ts.map +1 -1
- package/dist/commands/workspaces.d.ts +49 -0
- package/dist/commands/workspaces.d.ts.map +1 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +8 -3
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/doctor/checks/terminal.d.ts +1 -1
- package/dist/doctor/checks/terminal.d.ts.map +1 -1
- package/dist/index.js +9 -8
- package/dist/integrations/accounts/host-facts.d.ts +1 -1
- package/dist/integrations/peers/runtime.d.ts +1 -1
- package/dist/integrations/peers/runtime.d.ts.map +1 -1
- package/dist/integrations/resident/runner-worker.js +2 -2
- package/dist/rounds/types.d.ts +6 -0
- package/dist/rounds/types.d.ts.map +1 -1
- package/dist/tui/App.d.ts +19 -7
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +10 -4
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +8 -0
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/live-model-step.d.ts +16 -0
- package/dist/tui/live-model-step.d.ts.map +1 -0
- package/dist/tui/model-refusal.d.ts +2 -0
- package/dist/tui/model-refusal.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +22 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/zoom/entry.d.ts +6 -6
- package/dist/tui/zoom/entry.d.ts.map +1 -1
- package/dist/tui/zoom/gesture.d.ts +2 -2
- package/dist/tui/zoom/gesture.d.ts.map +1 -1
- package/dist/tui/zoom/leave.d.ts +2 -2
- package/dist/tui/zoom/leave.d.ts.map +1 -1
- package/dist/tui/zoom/local.d.ts +3 -3
- package/dist/tui/zoom/local.d.ts.map +1 -1
- package/dist/{spaces → workspaces}/git.d.ts +1 -1
- package/dist/workspaces/git.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/goto.d.ts +7 -7
- package/dist/workspaces/goto.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/host.d.ts +61 -52
- package/dist/workspaces/host.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/input.d.ts +1 -1
- package/dist/workspaces/input.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/keymap.d.ts +2 -2
- package/dist/workspaces/keymap.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/layout.d.ts +6 -4
- package/dist/workspaces/layout.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/mouse.d.ts +2 -2
- package/dist/workspaces/mouse.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/overlay.d.ts +0 -1
- package/dist/workspaces/overlay.d.ts.map +1 -0
- package/dist/workspaces/palette.d.ts +75 -0
- package/dist/workspaces/palette.d.ts.map +1 -0
- package/dist/workspaces/peers.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/prefix.d.ts +1 -1
- package/dist/workspaces/prefix.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/roster.d.ts +22 -22
- package/dist/workspaces/roster.d.ts.map +1 -0
- package/dist/workspaces/selection.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/session.d.ts +1 -1
- package/dist/workspaces/session.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/sidebar.d.ts +17 -17
- package/dist/workspaces/sidebar.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/signal.d.ts +5 -3
- package/dist/workspaces/signal.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/status.d.ts +2 -2
- package/dist/workspaces/status.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/store.d.ts +25 -14
- package/dist/workspaces/store.d.ts.map +1 -0
- package/dist/workspaces/tabbar.d.ts +54 -0
- package/dist/workspaces/tabbar.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/tiling.d.ts +7 -4
- package/dist/workspaces/tiling.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/chunks/acp-CGGPX6FV.js.map +0 -6
- package/dist/chunks/add-7F26IYNU.js.map +0 -6
- package/dist/chunks/chunk-2YKQMUTC.js.map +0 -6
- package/dist/chunks/chunk-AR2GPJUO.js.map +0 -6
- package/dist/chunks/chunk-BDHXJ7BM.js.map +0 -6
- package/dist/chunks/chunk-EXFSMYH4.js +0 -83
- package/dist/chunks/chunk-EXFSMYH4.js.map +0 -6
- package/dist/chunks/chunk-G742EI3J.js.map +0 -6
- package/dist/chunks/chunk-K3UL7Z4X.js.map +0 -6
- package/dist/chunks/chunk-OMRGJSUJ.js.map +0 -6
- package/dist/chunks/chunk-OYX743QK.js.map +0 -6
- package/dist/chunks/cli-runtime-OBTTHZZI.js.map +0 -6
- package/dist/chunks/exec-7YEZ64T4.js.map +0 -6
- package/dist/chunks/list-GIP6KAYZ.js.map +0 -6
- package/dist/chunks/mcp-EBVO25Q2.js.map +0 -6
- package/dist/chunks/message-command-YIHQF33L.js.map +0 -6
- package/dist/chunks/resident-DDGJ2IWB.js.map +0 -6
- package/dist/chunks/service-MH57P24N.js.map +0 -6
- package/dist/chunks/spaces-JVPRV4YM.js.map +0 -6
- package/dist/chunks/tui-5HAU6RLS.js.map +0 -6
- package/dist/commands/spaces.d.ts +0 -46
- package/dist/commands/spaces.d.ts.map +0 -1
- package/dist/spaces/git.d.ts.map +0 -1
- package/dist/spaces/goto.d.ts.map +0 -1
- package/dist/spaces/host.d.ts.map +0 -1
- package/dist/spaces/input.d.ts.map +0 -1
- package/dist/spaces/keymap.d.ts.map +0 -1
- package/dist/spaces/layout.d.ts.map +0 -1
- package/dist/spaces/mouse.d.ts.map +0 -1
- package/dist/spaces/overlay.d.ts.map +0 -1
- package/dist/spaces/palette.d.ts +0 -35
- package/dist/spaces/palette.d.ts.map +0 -1
- package/dist/spaces/peers.d.ts.map +0 -1
- package/dist/spaces/prefix.d.ts.map +0 -1
- package/dist/spaces/roster.d.ts.map +0 -1
- package/dist/spaces/selection.d.ts.map +0 -1
- package/dist/spaces/session.d.ts.map +0 -1
- package/dist/spaces/sidebar.d.ts.map +0 -1
- package/dist/spaces/signal.d.ts.map +0 -1
- package/dist/spaces/status.d.ts.map +0 -1
- package/dist/spaces/store.d.ts.map +0 -1
- package/dist/spaces/tabbar.d.ts +0 -36
- package/dist/spaces/tabbar.d.ts.map +0 -1
- package/dist/spaces/tiling.d.ts.map +0 -1
- /package/dist/chunks/{agent-42PYZGA5.js.map → agent-JWTNZ4PK.js.map} +0 -0
- /package/dist/chunks/{agent-session-SYLDVKFJ.js.map → agent-session-OGPKSSKG.js.map} +0 -0
- /package/dist/chunks/{bin-main-NID46PS7.js.map → bin-main-UI3NYIJE.js.map} +0 -0
- /package/dist/chunks/{chat-WBJPS4K6.js.map → chat-F3WXVEDM.js.map} +0 -0
- /package/dist/chunks/{chunk-U4ZP2JN2.js.map → chunk-4E33SWZU.js.map} +0 -0
- /package/dist/chunks/{chunk-NCW3WBBI.js.map → chunk-6NDJLXKW.js.map} +0 -0
- /package/dist/chunks/{chunk-F2QERXWD.js.map → chunk-6WPKPHE2.js.map} +0 -0
- /package/dist/chunks/{chunk-RBH2FDM5.js.map → chunk-6XL5ZMAL.js.map} +0 -0
- /package/dist/chunks/{chunk-LQN7NG2F.js.map → chunk-A72NRUYG.js.map} +0 -0
- /package/dist/chunks/{chunk-IFXYNA2K.js.map → chunk-ADG5OPNS.js.map} +0 -0
- /package/dist/chunks/{chunk-OM3EDVLG.js.map → chunk-CAOGKKB5.js.map} +0 -0
- /package/dist/chunks/{chunk-XSAEGHPS.js.map → chunk-EPIIR5CJ.js.map} +0 -0
- /package/dist/chunks/{chunk-6LMIJ2YT.js.map → chunk-H2JLRNYH.js.map} +0 -0
- /package/dist/chunks/{chunk-P2Y3IUE6.js.map → chunk-L3XUPXPP.js.map} +0 -0
- /package/dist/chunks/{chunk-5VBA5XSC.js.map → chunk-LOKFLXQL.js.map} +0 -0
- /package/dist/chunks/{chunk-FU776PDS.js.map → chunk-Q6RZ64FS.js.map} +0 -0
- /package/dist/chunks/{chunk-W7XKWKEZ.js.map → chunk-U5BN3L3Y.js.map} +0 -0
- /package/dist/chunks/{chunk-2UATEMPS.js.map → chunk-UQJPNUDU.js.map} +0 -0
- /package/dist/chunks/{chunk-O7H4QZ7I.js.map → chunk-W6E3PSFH.js.map} +0 -0
- /package/dist/chunks/{chunk-PCWQ3ET3.js.map → chunk-XHR3UCKT.js.map} +0 -0
- /package/dist/chunks/{chunk-F4B77QJQ.js.map → chunk-XOIXLN2Y.js.map} +0 -0
- /package/dist/chunks/{crash-report-3IE2RFYG.js.map → crash-report-KHJZ3AKU.js.map} +0 -0
- /package/dist/chunks/{doctor-QGFOTR5H.js.map → doctor-LCRG5FBA.js.map} +0 -0
- /package/dist/chunks/{drain-5WSM4MTM.js.map → drain-47IMDCI5.js.map} +0 -0
- /package/dist/chunks/{host-663JLCCW.js.map → host-QE4D3UXC.js.map} +0 -0
- /package/dist/chunks/{host-queries-7CSOWEPE.js.map → host-queries-5H765XNX.js.map} +0 -0
- /package/dist/chunks/{learn-NNBHDBLF.js.map → learn-Y5IBBZDY.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-YEDJT6ZP.js.map → learn-builtin-ND3T6U5L.js.map} +0 -0
- /package/dist/chunks/{lifecycle-NDR7R22S.js.map → lifecycle-FJS7LD7B.js.map} +0 -0
- /package/dist/chunks/{live-FJISKPXJ.js.map → live-CSA2LX3R.js.map} +0 -0
- /package/dist/chunks/{mouse-WFSJSLQD.js.map → mouse-EJQML44I.js.map} +0 -0
- /package/dist/chunks/{pal-IOPI5RKZ.js.map → pal-WXN4O3DD.js.map} +0 -0
- /package/dist/chunks/{palette-WDPS7W6Q.js.map → palette-CL5OOYGK.js.map} +0 -0
- /package/dist/chunks/{peers-MZD3KTZK.js.map → peers-JQOUU3CX.js.map} +0 -0
- /package/dist/chunks/{prefix-MLAG4KTK.js.map → prefix-3ZNPUSUK.js.map} +0 -0
- /package/dist/chunks/{schedule-GSNY74KJ.js.map → schedule-4L4DTRC5.js.map} +0 -0
- /package/dist/chunks/{session-step-D4AT5RZR.js.map → session-step-ZCZNC52S.js.map} +0 -0
- /package/dist/chunks/{start-check-2EP7HZTU.js.map → start-check-W72K6M5Q.js.map} +0 -0
- /package/dist/chunks/{store-IRKBQZNF.js.map → store-IVVYIPV2.js.map} +0 -0
- /package/dist/chunks/{upgrade-ARBZZZRK.js.map → upgrade-LN6TFWDW.js.map} +0 -0
- /package/dist/{spaces → workspaces}/peers.d.ts +0 -0
- /package/dist/{spaces → workspaces}/selection.d.ts +0 -0
|
@@ -28,18 +28,19 @@ import {
|
|
|
28
28
|
verifyCredential,
|
|
29
29
|
viewToLines,
|
|
30
30
|
viewToSummary
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-X4TNXFUB.js";
|
|
32
32
|
import "./chunk-QXNROEIH.js";
|
|
33
33
|
import "./chunk-HIJXUSOS.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-E3OXUQQB.js";
|
|
35
35
|
import "./chunk-HYPNAC4H.js";
|
|
36
36
|
import "./chunk-POKKY7MR.js";
|
|
37
37
|
import "./chunk-V3R3MR7F.js";
|
|
38
38
|
import "./chunk-D7BXM6WW.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-6XL5ZMAL.js";
|
|
40
|
+
import "./chunk-6NDJLXKW.js";
|
|
41
41
|
import "./chunk-WHODOMXA.js";
|
|
42
42
|
import "./chunk-YOWYTBJS.js";
|
|
43
|
+
import "./chunk-2IPDTDB3.js";
|
|
43
44
|
import "./chunk-ZB45QDNU.js";
|
|
44
45
|
import "./chunk-NUGPLXVK.js";
|
|
45
46
|
import "./chunk-TOJSNO4M.js";
|
|
@@ -48,19 +49,20 @@ import "./chunk-6F4PW7TF.js";
|
|
|
48
49
|
import "./chunk-5W7CSQXQ.js";
|
|
49
50
|
import "./chunk-GNBMKISG.js";
|
|
50
51
|
import "./chunk-NI3LZ6UX.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-HB4LEJMU.js";
|
|
52
53
|
import "./chunk-KONYGNG6.js";
|
|
53
54
|
import "./chunk-LCGXWCVU.js";
|
|
54
55
|
import "./chunk-GMUWAUKQ.js";
|
|
56
|
+
import "./chunk-QLDUL46Z.js";
|
|
55
57
|
import "./chunk-PQTS7XQB.js";
|
|
56
58
|
import "./chunk-T3NLKQO2.js";
|
|
57
59
|
import "./chunk-G6YSAHKC.js";
|
|
58
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-RI2KAZJO.js";
|
|
59
61
|
import "./chunk-NGMXEU2B.js";
|
|
60
62
|
import "./chunk-V26FS5VG.js";
|
|
61
63
|
import "./chunk-Q7ELMF4C.js";
|
|
62
64
|
import "./chunk-VPJG7NQL.js";
|
|
63
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-TCRGKEEX.js";
|
|
64
66
|
import "./chunk-IYUW2RAA.js";
|
|
65
67
|
import "./chunk-U4YXQWPW.js";
|
|
66
68
|
import "./chunk-RPCJJZTI.js";
|
|
@@ -113,4 +115,4 @@ export {
|
|
|
113
115
|
viewToLines,
|
|
114
116
|
viewToSummary
|
|
115
117
|
};
|
|
116
|
-
//# sourceMappingURL=agent-
|
|
118
|
+
//# sourceMappingURL=agent-JWTNZ4PK.js.map
|
|
@@ -3,21 +3,22 @@ const require = __namzuCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
createPalAgentSession,
|
|
5
5
|
palSessionEnvironment
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6WPKPHE2.js";
|
|
7
7
|
import "./chunk-XK26JNIF.js";
|
|
8
8
|
import "./chunk-X2F5ZFBV.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-X4TNXFUB.js";
|
|
10
10
|
import "./chunk-QXNROEIH.js";
|
|
11
11
|
import "./chunk-HIJXUSOS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-E3OXUQQB.js";
|
|
13
13
|
import "./chunk-HYPNAC4H.js";
|
|
14
14
|
import "./chunk-POKKY7MR.js";
|
|
15
15
|
import "./chunk-V3R3MR7F.js";
|
|
16
16
|
import "./chunk-D7BXM6WW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-6XL5ZMAL.js";
|
|
18
|
+
import "./chunk-6NDJLXKW.js";
|
|
19
19
|
import "./chunk-WHODOMXA.js";
|
|
20
20
|
import "./chunk-YOWYTBJS.js";
|
|
21
|
+
import "./chunk-2IPDTDB3.js";
|
|
21
22
|
import "./chunk-ZB45QDNU.js";
|
|
22
23
|
import "./chunk-NUGPLXVK.js";
|
|
23
24
|
import "./chunk-TOJSNO4M.js";
|
|
@@ -26,19 +27,20 @@ import "./chunk-6F4PW7TF.js";
|
|
|
26
27
|
import "./chunk-5W7CSQXQ.js";
|
|
27
28
|
import "./chunk-GNBMKISG.js";
|
|
28
29
|
import "./chunk-NI3LZ6UX.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HB4LEJMU.js";
|
|
30
31
|
import "./chunk-KONYGNG6.js";
|
|
31
32
|
import "./chunk-LCGXWCVU.js";
|
|
32
33
|
import "./chunk-GMUWAUKQ.js";
|
|
34
|
+
import "./chunk-QLDUL46Z.js";
|
|
33
35
|
import "./chunk-PQTS7XQB.js";
|
|
34
36
|
import "./chunk-T3NLKQO2.js";
|
|
35
37
|
import "./chunk-G6YSAHKC.js";
|
|
36
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-RI2KAZJO.js";
|
|
37
39
|
import "./chunk-NGMXEU2B.js";
|
|
38
40
|
import "./chunk-V26FS5VG.js";
|
|
39
41
|
import "./chunk-Q7ELMF4C.js";
|
|
40
42
|
import "./chunk-VPJG7NQL.js";
|
|
41
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-TCRGKEEX.js";
|
|
42
44
|
import "./chunk-IYUW2RAA.js";
|
|
43
45
|
import "./chunk-U4YXQWPW.js";
|
|
44
46
|
import "./chunk-RPCJJZTI.js";
|
|
@@ -66,4 +68,4 @@ export {
|
|
|
66
68
|
createPalAgentSession,
|
|
67
69
|
palSessionEnvironment
|
|
68
70
|
};
|
|
69
|
-
//# sourceMappingURL=agent-session-
|
|
71
|
+
//# sourceMappingURL=agent-session-OGPKSSKG.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-R66H2G5R.js";
|
|
7
7
|
import {
|
|
8
8
|
runCli
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4WHMQBUC.js";
|
|
10
10
|
import "./chunk-MZP6SH3M.js";
|
|
11
11
|
import {
|
|
12
12
|
EXIT_INTERNAL_ERROR
|
|
@@ -109,7 +109,7 @@ async function exitProcess(code) {
|
|
|
109
109
|
__name(exitProcess, "exitProcess");
|
|
110
110
|
function main(entrypoint) {
|
|
111
111
|
if (process.argv[2] === "--start-check") {
|
|
112
|
-
return import("./start-check-
|
|
112
|
+
return import("./start-check-W72K6M5Q.js").then((check) => check.runStartCheck()).then(
|
|
113
113
|
(code) => process.exit(code),
|
|
114
114
|
() => process.exit(1)
|
|
115
115
|
);
|
|
@@ -126,7 +126,7 @@ function main(entrypoint) {
|
|
|
126
126
|
if (terminationInProgress() !== null) return;
|
|
127
127
|
let report;
|
|
128
128
|
try {
|
|
129
|
-
const { reportCrash } = await import("./crash-report-
|
|
129
|
+
const { reportCrash } = await import("./crash-report-KHJZ3AKU.js");
|
|
130
130
|
report = reportCrash(err);
|
|
131
131
|
} catch (reportFailure) {
|
|
132
132
|
const why = reportFailure instanceof Error ? reportFailure.message : String(reportFailure);
|
|
@@ -142,4 +142,4 @@ __name(main, "main");
|
|
|
142
142
|
export {
|
|
143
143
|
main
|
|
144
144
|
};
|
|
145
|
-
//# sourceMappingURL=bin-main-
|
|
145
|
+
//# sourceMappingURL=bin-main-UI3NYIJE.js.map
|
|
@@ -82,7 +82,7 @@ async function runPalChat(ctx, palId, args, options = {}) {
|
|
|
82
82
|
...ctx.config.composerTriggers ? { composerTriggers: ctx.config.composerTriggers } : {},
|
|
83
83
|
...ctx.config.statusLine ? { statusLine: ctx.config.statusLine } : {}
|
|
84
84
|
};
|
|
85
|
-
const { launchTui } = await import("./tui-
|
|
85
|
+
const { launchTui } = await import("./tui-CCAGK7BG.js");
|
|
86
86
|
await launchTui(tui, options);
|
|
87
87
|
} catch (error) {
|
|
88
88
|
ctx.formatter.error({ message: error instanceof Error ? error.message : String(error) });
|
|
@@ -103,4 +103,4 @@ __name(runPalChat, "runPalChat");
|
|
|
103
103
|
export {
|
|
104
104
|
runPalChat
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chat-
|
|
106
|
+
//# sourceMappingURL=chat-F3WXVEDM.js.map
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
2
|
+
const require = __namzuCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PALETTES
|
|
5
|
+
} from "./chunk-QLDUL46Z.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-76FLAFCG.js";
|
|
9
|
+
|
|
10
|
+
// src/tui/theme.ts
|
|
11
|
+
var initial = PALETTES.dark;
|
|
12
|
+
var theme = {
|
|
13
|
+
background: initial.background,
|
|
14
|
+
text: { ...initial.text },
|
|
15
|
+
accent: { ...initial.accent },
|
|
16
|
+
status: { ...initial.status },
|
|
17
|
+
border: { ...initial.border },
|
|
18
|
+
live: { ...initial.live },
|
|
19
|
+
context: { ...initial.context },
|
|
20
|
+
glow: [...initial.glow],
|
|
21
|
+
diff: { truecolor: initial.diff.truecolor, basic: initial.diff.basic }
|
|
22
|
+
};
|
|
23
|
+
var activeName = "dark";
|
|
24
|
+
function applyPalette(name) {
|
|
25
|
+
const palette = PALETTES[name];
|
|
26
|
+
const target = theme;
|
|
27
|
+
target.background = palette.background;
|
|
28
|
+
target.text = { ...palette.text };
|
|
29
|
+
target.accent = { ...palette.accent };
|
|
30
|
+
target.status = { ...palette.status };
|
|
31
|
+
target.border = { ...palette.border };
|
|
32
|
+
target.live = { ...palette.live };
|
|
33
|
+
target.context = { ...palette.context };
|
|
34
|
+
target.glow = [...palette.glow];
|
|
35
|
+
target.diff = { truecolor: palette.diff.truecolor, basic: palette.diff.basic };
|
|
36
|
+
activeName = name;
|
|
37
|
+
}
|
|
38
|
+
__name(applyPalette, "applyPalette");
|
|
39
|
+
function activeThemeName() {
|
|
40
|
+
return activeName;
|
|
41
|
+
}
|
|
42
|
+
__name(activeThemeName, "activeThemeName");
|
|
43
|
+
var DIFF_COLORS_TRUECOLOR = PALETTES.dark.diff.truecolor;
|
|
44
|
+
var DIFF_COLORS_ANSI = PALETTES.dark.diff.basic;
|
|
45
|
+
var TRUECOLOR_PROGRAMS = /* @__PURE__ */ new Set(["iTerm.app", "vscode", "WezTerm", "ghostty", "Hyper"]);
|
|
46
|
+
function reportsTruecolor(env = process.env) {
|
|
47
|
+
const colorterm = env.COLORTERM?.toLowerCase();
|
|
48
|
+
if (colorterm === "truecolor" || colorterm === "24bit") return true;
|
|
49
|
+
if (env.WT_SESSION !== void 0) return true;
|
|
50
|
+
if (env.TERM_PROGRAM !== void 0 && TRUECOLOR_PROGRAMS.has(env.TERM_PROGRAM)) return true;
|
|
51
|
+
return /direct|truecolor|24bit/i.test(env.TERM ?? "");
|
|
52
|
+
}
|
|
53
|
+
__name(reportsTruecolor, "reportsTruecolor");
|
|
54
|
+
function diffColors(env = process.env) {
|
|
55
|
+
return reportsTruecolor(env) ? theme.diff.truecolor : theme.diff.basic;
|
|
56
|
+
}
|
|
57
|
+
__name(diffColors, "diffColors");
|
|
58
|
+
var TOKEN_MARK = "theme:";
|
|
59
|
+
function tokenColor(token) {
|
|
60
|
+
return `${TOKEN_MARK}${token}`;
|
|
61
|
+
}
|
|
62
|
+
__name(tokenColor, "tokenColor");
|
|
63
|
+
function paint(color) {
|
|
64
|
+
if (color === void 0 || !color.startsWith(TOKEN_MARK)) return color;
|
|
65
|
+
const [group, name] = color.slice(TOKEN_MARK.length).split(".");
|
|
66
|
+
const value = theme[group]?.[name];
|
|
67
|
+
return value ?? theme.text.muted;
|
|
68
|
+
}
|
|
69
|
+
__name(paint, "paint");
|
|
70
|
+
|
|
71
|
+
export {
|
|
72
|
+
theme,
|
|
73
|
+
applyPalette,
|
|
74
|
+
activeThemeName,
|
|
75
|
+
reportsTruecolor,
|
|
76
|
+
diffColors,
|
|
77
|
+
tokenColor,
|
|
78
|
+
paint
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=chunk-2IPDTDB3.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/tui/theme.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;AAiBA,IAAM,UAAU,SAAS;AAGlB,IAAM,QAAwB;AAAA,EACpC,YAAY,QAAQ;AAAA,EACpB,MAAM,EAAE,GAAG,QAAQ,KAAK;AAAA,EACxB,QAAQ,EAAE,GAAG,QAAQ,OAAO;AAAA,EAC5B,QAAQ,EAAE,GAAG,QAAQ,OAAO;AAAA,EAC5B,QAAQ,EAAE,GAAG,QAAQ,OAAO;AAAA,EAC5B,MAAM,EAAE,GAAG,QAAQ,KAAK;AAAA,EACxB,SAAS,EAAE,GAAG,QAAQ,QAAQ;AAAA,EAC9B,MAAM,CAAC,GAAG,QAAQ,IAAI;AAAA,EACtB,MAAM,EAAE,WAAW,QAAQ,KAAK,WAAW,OAAO,QAAQ,KAAK,MAAM;AACtE;AAEA,IAAI,aAAwB;AAGrB,SAAS,aAAa,MAAuB;AACnD,QAAM,UAAU,SAAS,IAAI;AAC7B,QAAM,SAAS;AACf,SAAO,aAAa,QAAQ;AAC5B,SAAO,OAAO,EAAE,GAAG,QAAQ,KAAK;AAChC,SAAO,SAAS,EAAE,GAAG,QAAQ,OAAO;AACpC,SAAO,SAAS,EAAE,GAAG,QAAQ,OAAO;AACpC,SAAO,SAAS,EAAE,GAAG,QAAQ,OAAO;AACpC,SAAO,OAAO,EAAE,GAAG,QAAQ,KAAK;AAChC,SAAO,UAAU,EAAE,GAAG,QAAQ,QAAQ;AACtC,SAAO,OAAO,CAAC,GAAG,QAAQ,IAAI;AAC9B,SAAO,OAAO,EAAE,WAAW,QAAQ,KAAK,WAAW,OAAO,QAAQ,KAAK,MAAM;AAC7E,eAAa;AACd;AAbgB;AAgBT,SAAS,kBAA6B;AAC5C,SAAO;AACR;AAFgB;AAKT,IAAM,wBAAoC,SAAS,KAAK,KAAK;AAG7D,IAAM,mBAA+B,SAAS,KAAK,KAAK;AAE/D,IAAM,qBAAqB,oBAAI,IAAI,CAAC,aAAa,UAAU,WAAW,WAAW,OAAO,CAAC;AAGlF,SAAS,iBAAiB,MAAyB,QAAQ,KAAc;AAC/E,QAAM,YAAY,IAAI,WAAW,YAAY;AAC7C,MAAI,cAAc,eAAe,cAAc,QAAS,QAAO;AAC/D,MAAI,IAAI,eAAe,OAAW,QAAO;AACzC,MAAI,IAAI,iBAAiB,UAAa,mBAAmB,IAAI,IAAI,YAAY,EAAG,QAAO;AACvF,SAAO,0BAA0B,KAAK,IAAI,QAAQ,EAAE;AACrD;AANgB;AAST,SAAS,WAAW,MAAyB,QAAQ,KAAiB;AAC5E,SAAO,iBAAiB,GAAG,IAAI,MAAM,KAAK,YAAY,MAAM,KAAK;AAClE;AAFgB;AAYhB,IAAM,aAAa;AAOZ,SAAS,WAAW,OAA2B;AACrD,SAAO,GAAG,UAAU,GAAG,KAAK;AAC7B;AAFgB;AAOT,SAAS,MAAM,OAA+C;AACpE,MAAI,UAAU,UAAa,CAAC,MAAM,WAAW,UAAU,EAAG,QAAO;AACjE,QAAM,CAAC,OAAO,IAAI,IAAI,MAAM,MAAM,WAAW,MAAM,EAAE,MAAM,GAAG;AAC9D,QAAM,QAAS,MAAM,KAAK,IAA2C,IAAI;AACzE,SAAO,SAAS,MAAM,KAAK;AAC5B;AALgB;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
canonicalBrowserSiteKey,
|
|
8
8
|
compileBrowserSites
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HB4LEJMU.js";
|
|
10
10
|
import {
|
|
11
11
|
compilePermissions,
|
|
12
12
|
isPermissionEffect
|
|
@@ -1476,4 +1476,4 @@ export {
|
|
|
1476
1476
|
compileScriptCheckPolicy,
|
|
1477
1477
|
withheldTools
|
|
1478
1478
|
};
|
|
1479
|
-
//# sourceMappingURL=chunk-
|
|
1479
|
+
//# sourceMappingURL=chunk-4E33SWZU.js.map
|
|
@@ -160,7 +160,7 @@ var acpCommand = lazyCommand(
|
|
|
160
160
|
description: "Speak the agent-client protocol over this process\u2019s stdio",
|
|
161
161
|
passThrough: true
|
|
162
162
|
},
|
|
163
|
-
async () => (await import("./acp-
|
|
163
|
+
async () => (await import("./acp-TYPW7WFK.js")).acpCommand
|
|
164
164
|
);
|
|
165
165
|
var computerCommand = lazyCommand(
|
|
166
166
|
{
|
|
@@ -170,13 +170,15 @@ var computerCommand = lazyCommand(
|
|
|
170
170
|
},
|
|
171
171
|
async () => (await import("./computer-GXDY4H35.js")).computerCommand
|
|
172
172
|
);
|
|
173
|
-
var
|
|
173
|
+
var workspacesCommand = lazyCommand(
|
|
174
174
|
{
|
|
175
|
-
name: "
|
|
175
|
+
name: "workspaces",
|
|
176
|
+
// The name from before the rename; deprecated, removed in the next major.
|
|
177
|
+
aliases: ["spaces"],
|
|
176
178
|
description: "Run Namzu sessions side by side in one terminal (preview)",
|
|
177
179
|
passThrough: true
|
|
178
180
|
},
|
|
179
|
-
async () => (await import("./
|
|
181
|
+
async () => (await import("./workspaces-5ZKKOX4X.js")).workspacesCommand
|
|
180
182
|
);
|
|
181
183
|
var archiveCommand = lazyCommand(
|
|
182
184
|
{
|
|
@@ -192,7 +194,7 @@ var doctorCommand = lazyCommand(
|
|
|
192
194
|
description: "Run health checks against the local Namzu environment",
|
|
193
195
|
passThrough: true
|
|
194
196
|
},
|
|
195
|
-
async () => (await import("./doctor-
|
|
197
|
+
async () => (await import("./doctor-LCRG5FBA.js")).doctorCommand
|
|
196
198
|
);
|
|
197
199
|
var execCommand = lazyCommand(
|
|
198
200
|
{
|
|
@@ -201,7 +203,7 @@ var execCommand = lazyCommand(
|
|
|
201
203
|
description: "Run a single prompt headlessly: print the reply, or stream events with --json",
|
|
202
204
|
passThrough: true
|
|
203
205
|
},
|
|
204
|
-
async () => (await import("./exec-
|
|
206
|
+
async () => (await import("./exec-ELIM7XVY.js")).execCommand
|
|
205
207
|
);
|
|
206
208
|
var residentCommand = lazyCommand(
|
|
207
209
|
{
|
|
@@ -209,7 +211,7 @@ var residentCommand = lazyCommand(
|
|
|
209
211
|
description: "Deprecated: persistent resident work, removed in the next major release (namzu learn stays)",
|
|
210
212
|
passThrough: true
|
|
211
213
|
},
|
|
212
|
-
async () => (await import("./resident-
|
|
214
|
+
async () => (await import("./resident-NGQORA2W.js")).residentCommand
|
|
213
215
|
);
|
|
214
216
|
var learnCommand = lazyCommand(
|
|
215
217
|
{
|
|
@@ -217,7 +219,7 @@ var learnCommand = lazyCommand(
|
|
|
217
219
|
description: "Learn from what conversations kept, now; list or undo what was learned",
|
|
218
220
|
passThrough: true
|
|
219
221
|
},
|
|
220
|
-
async () => (await import("./learn-
|
|
222
|
+
async () => (await import("./learn-Y5IBBZDY.js")).learnCommand
|
|
221
223
|
);
|
|
222
224
|
var learningCommand = lazyCommand(
|
|
223
225
|
{
|
|
@@ -225,7 +227,7 @@ var learningCommand = lazyCommand(
|
|
|
225
227
|
description: "Inspect learning experiments and the observations they start from",
|
|
226
228
|
passThrough: true
|
|
227
229
|
},
|
|
228
|
-
async () => (await import("./learn-
|
|
230
|
+
async () => (await import("./learn-Y5IBBZDY.js")).learningCommand
|
|
229
231
|
);
|
|
230
232
|
var loginCommand = lazyCommand(
|
|
231
233
|
{
|
|
@@ -245,7 +247,7 @@ var logoutCommand = lazyCommand(
|
|
|
245
247
|
);
|
|
246
248
|
var mcpCommand = lazyCommand(
|
|
247
249
|
{ name: "mcp", description: "Manage user tool servers", passThrough: true },
|
|
248
|
-
async () => (await import("./mcp-
|
|
250
|
+
async () => (await import("./mcp-5RQSD6QV.js")).mcpCommand
|
|
249
251
|
);
|
|
250
252
|
var drainCommand = lazyCommand(
|
|
251
253
|
{
|
|
@@ -253,7 +255,7 @@ var drainCommand = lazyCommand(
|
|
|
253
255
|
description: "Continue a turn another process left behind (one pass, then exit)",
|
|
254
256
|
passThrough: true
|
|
255
257
|
},
|
|
256
|
-
async () => (await import("./drain-
|
|
258
|
+
async () => (await import("./drain-47IMDCI5.js")).drainCommand
|
|
257
259
|
);
|
|
258
260
|
var evalCommand = lazyCommand(
|
|
259
261
|
{ name: "eval", description: "Run eval suites and set an exit code", passThrough: true },
|
|
@@ -265,7 +267,7 @@ var historyCommand = lazyCommand(
|
|
|
265
267
|
description: "Print a session's persisted messages as JSON (for host UIs)",
|
|
266
268
|
passThrough: true
|
|
267
269
|
},
|
|
268
|
-
async () => (await import("./host-queries-
|
|
270
|
+
async () => (await import("./host-queries-5H765XNX.js")).historyCommand
|
|
269
271
|
);
|
|
270
272
|
var skillsCommand = lazyCommand(
|
|
271
273
|
{
|
|
@@ -281,7 +283,7 @@ var skillsJSONCommand = lazyCommand(
|
|
|
281
283
|
description: "Print discovered skills as JSON (for host UIs)",
|
|
282
284
|
passThrough: true
|
|
283
285
|
},
|
|
284
|
-
async () => (await import("./host-queries-
|
|
286
|
+
async () => (await import("./host-queries-5H765XNX.js")).skillsJSONCommand
|
|
285
287
|
);
|
|
286
288
|
var providersJSONCommand = lazyCommand(
|
|
287
289
|
{
|
|
@@ -289,7 +291,7 @@ var providersJSONCommand = lazyCommand(
|
|
|
289
291
|
description: "Print providers + per-provider models as JSON (for host UIs)",
|
|
290
292
|
passThrough: true
|
|
291
293
|
},
|
|
292
|
-
async () => (await import("./host-queries-
|
|
294
|
+
async () => (await import("./host-queries-5H765XNX.js")).providersJSONCommand
|
|
293
295
|
);
|
|
294
296
|
var upgradeCommand = lazyCommand(
|
|
295
297
|
{
|
|
@@ -297,7 +299,7 @@ var upgradeCommand = lazyCommand(
|
|
|
297
299
|
description: "Update the active global Namzu installation",
|
|
298
300
|
passThrough: true
|
|
299
301
|
},
|
|
300
|
-
async () => (await import("./upgrade-
|
|
302
|
+
async () => (await import("./upgrade-LN6TFWDW.js")).upgradeCommand
|
|
301
303
|
);
|
|
302
304
|
var serveCommand = lazyCommand(
|
|
303
305
|
{
|
|
@@ -320,7 +322,7 @@ var scheduleCommand = lazyCommand(
|
|
|
320
322
|
description: "Scheduled jobs that run while namzu is closed, and the service that runs them",
|
|
321
323
|
passThrough: true
|
|
322
324
|
},
|
|
323
|
-
async () => (await import("./schedule-
|
|
325
|
+
async () => (await import("./schedule-4L4DTRC5.js")).scheduleCommand
|
|
324
326
|
);
|
|
325
327
|
var browserCommand = lazyCommand(
|
|
326
328
|
{
|
|
@@ -345,7 +347,7 @@ function createLazyPalCommand(resumeCommand) {
|
|
|
345
347
|
description: "Create and operate persistent Pals with their own local virtual computers",
|
|
346
348
|
passThrough: true
|
|
347
349
|
},
|
|
348
|
-
async () => (await import("./pal-
|
|
350
|
+
async () => (await import("./pal-WXN4O3DD.js")).createPalCommand(resumeCommand)
|
|
349
351
|
);
|
|
350
352
|
}
|
|
351
353
|
__name(createLazyPalCommand, "createLazyPalCommand");
|
|
@@ -374,6 +376,77 @@ function collectFlagValue(value, previous) {
|
|
|
374
376
|
return [...previous ?? [], value];
|
|
375
377
|
}
|
|
376
378
|
__name(collectFlagValue, "collectFlagValue");
|
|
379
|
+
function addLaunchOptions(command) {
|
|
380
|
+
return command.option(
|
|
381
|
+
"--output-schema <path>",
|
|
382
|
+
"Constrain TUI answers to a JSON Schema file using native structured output (for exec, pass it after the command)"
|
|
383
|
+
).option(
|
|
384
|
+
"--dangerously-skip-permissions",
|
|
385
|
+
"Start in bypass mode: run tools without asking, except for what always needs a person. Only use in a sandbox or a folder you fully trust."
|
|
386
|
+
).option("--yolo", "Alias of --dangerously-skip-permissions.").option(
|
|
387
|
+
"--allow-dangerously-skip-permissions",
|
|
388
|
+
"Let Shift+Tab reach bypass mode, without starting in it."
|
|
389
|
+
).option(
|
|
390
|
+
"--provider <id>",
|
|
391
|
+
"Start the interactive session on this provider for this launch only; the saved choice is untouched."
|
|
392
|
+
).option(
|
|
393
|
+
"--account <label>",
|
|
394
|
+
"Start the interactive session on this account for this launch only: a label from /auth, or provider:label. The saved choice is untouched."
|
|
395
|
+
).option(
|
|
396
|
+
"--model <id>",
|
|
397
|
+
"Start the interactive session on this model for this launch only. With --provider it models that provider; alone it re-models the saved primary."
|
|
398
|
+
).addOption(
|
|
399
|
+
new Option(
|
|
400
|
+
"--max-output-tokens <n>",
|
|
401
|
+
"Output allowance per model call for this launch, including reasoning; overrides NAMZU_MAX_OUTPUT_TOKENS and limits.maxResponseTokens."
|
|
402
|
+
).argParser((value) => {
|
|
403
|
+
try {
|
|
404
|
+
return positiveTokenCount(value, "--max-output-tokens");
|
|
405
|
+
} catch (error) {
|
|
406
|
+
throw new CommanderError(EX_USAGE, "commander.invalidArgument", error.message);
|
|
407
|
+
}
|
|
408
|
+
})
|
|
409
|
+
).addOption(
|
|
410
|
+
new Option(
|
|
411
|
+
"--effort <level>",
|
|
412
|
+
"Reasoning effort for this launch only. A level the model does not offer is reported and the default stays."
|
|
413
|
+
).choices(REASONING_EFFORT_LEVELS)
|
|
414
|
+
).addOption(
|
|
415
|
+
new Option(
|
|
416
|
+
"--permission-mode <mode>",
|
|
417
|
+
"Permission mode for this launch only; wins over --yolo. auto lets a second model check each call; bypass runs without asking. /permissions changes it from inside."
|
|
418
|
+
).choices(PERMISSION_MODE_NAMES)
|
|
419
|
+
).option(
|
|
420
|
+
"--append-system-prompt <text|@file>",
|
|
421
|
+
"Add standing instructions for this launch only; @file reads them from a file. They go after the cached part of the prompt, so the cache is untouched."
|
|
422
|
+
).option(
|
|
423
|
+
"--allowed-tools <list>",
|
|
424
|
+
'Allow these tools without asking for this launch, e.g. "edit bash(git status*)"; repeatable. A deny rule still wins.',
|
|
425
|
+
collectFlagValue
|
|
426
|
+
).option(
|
|
427
|
+
"--disallowed-tools <list>",
|
|
428
|
+
'Refuse these tools for this launch, e.g. "bash(rm *)"; repeatable.',
|
|
429
|
+
collectFlagValue
|
|
430
|
+
).option(
|
|
431
|
+
"--fallback-model <provider/model[,\u2026]>",
|
|
432
|
+
"Models to fall over to, in order, when the first cannot answer; replaces the saved fallbacks for this launch.",
|
|
433
|
+
collectFlagValue
|
|
434
|
+
).option(
|
|
435
|
+
"--add-dir <path>",
|
|
436
|
+
"Let the file tools reach another directory this session; repeatable. /add-dir does the same from inside.",
|
|
437
|
+
(value, previous) => [...previous, value],
|
|
438
|
+
[]
|
|
439
|
+
).option(
|
|
440
|
+
"--plugin-dir <path>",
|
|
441
|
+
"Load the plugin in this folder for this launch, without turning plugins on in the configuration; repeatable. It runs the plugin\u2019s code, so name only folders you trust.",
|
|
442
|
+
(value, previous) => [...previous, value],
|
|
443
|
+
[]
|
|
444
|
+
).option(
|
|
445
|
+
"--profile <name>",
|
|
446
|
+
"Apply a named profile from the config files. A name no file declares is refused, not ignored."
|
|
447
|
+
);
|
|
448
|
+
}
|
|
449
|
+
__name(addLaunchOptions, "addLaunchOptions");
|
|
377
450
|
var EX_USAGE = 64;
|
|
378
451
|
var REMOVED_COMMANDS = {
|
|
379
452
|
run: '`namzu run` was replaced by `namzu exec "<prompt>"`, which takes the same options.',
|
|
@@ -426,9 +499,6 @@ async function runCli(opts) {
|
|
|
426
499
|
"json",
|
|
427
500
|
"yaml"
|
|
428
501
|
])
|
|
429
|
-
).option(
|
|
430
|
-
"--output-schema <path>",
|
|
431
|
-
"Constrain TUI answers to a JSON Schema file using native structured output (for exec, pass it after the command)"
|
|
432
502
|
).option("-q, --quiet", "Suppress non-essential output; also raises the log floor to warn").addOption(
|
|
433
503
|
new Option("-v, --verbose", "Emit debug-level log records to stderr").conflicts("quiet")
|
|
434
504
|
).option("--debug", "Show technical details when something goes wrong (same as NAMZU_DEBUG=1)").addOption(
|
|
@@ -436,57 +506,6 @@ async function runCli(opts) {
|
|
|
436
506
|
"--log-format <format>",
|
|
437
507
|
"Log record format for exec/drain/TUI-flush output: pretty (default) or json. namzu exec --json always writes json, regardless of this flag."
|
|
438
508
|
).choices(["pretty", "json"])
|
|
439
|
-
).option(
|
|
440
|
-
"--dangerously-skip-permissions",
|
|
441
|
-
"Start in bypass mode: run tools without asking, except for what always needs a person. Only use in a sandbox or a folder you fully trust."
|
|
442
|
-
).option("--yolo", "Alias of --dangerously-skip-permissions.").option(
|
|
443
|
-
"--allow-dangerously-skip-permissions",
|
|
444
|
-
"Let Shift+Tab reach bypass mode, without starting in it."
|
|
445
|
-
).option(
|
|
446
|
-
"--provider <id>",
|
|
447
|
-
"Start the interactive session on this provider for this launch only; the saved choice is untouched."
|
|
448
|
-
).option(
|
|
449
|
-
"--account <label>",
|
|
450
|
-
"Start the interactive session on this account for this launch only: a label from /auth, or provider:label. The saved choice is untouched."
|
|
451
|
-
).option(
|
|
452
|
-
"--model <id>",
|
|
453
|
-
"Start the interactive session on this model for this launch only. With --provider it models that provider; alone it re-models the saved primary."
|
|
454
|
-
).addOption(
|
|
455
|
-
new Option(
|
|
456
|
-
"--max-output-tokens <n>",
|
|
457
|
-
"Output allowance per model call for this launch, including reasoning; overrides NAMZU_MAX_OUTPUT_TOKENS and limits.maxResponseTokens."
|
|
458
|
-
).argParser((value) => {
|
|
459
|
-
try {
|
|
460
|
-
return positiveTokenCount(value, "--max-output-tokens");
|
|
461
|
-
} catch (error) {
|
|
462
|
-
throw new CommanderError(EX_USAGE, "commander.invalidArgument", error.message);
|
|
463
|
-
}
|
|
464
|
-
})
|
|
465
|
-
).addOption(
|
|
466
|
-
new Option(
|
|
467
|
-
"--effort <level>",
|
|
468
|
-
"Reasoning effort for this launch only. A level the model does not offer is reported and the default stays."
|
|
469
|
-
).choices(REASONING_EFFORT_LEVELS)
|
|
470
|
-
).addOption(
|
|
471
|
-
new Option(
|
|
472
|
-
"--permission-mode <mode>",
|
|
473
|
-
"Permission mode for this launch only; wins over --yolo. auto lets a second model check each call; bypass runs without asking. /permissions changes it from inside."
|
|
474
|
-
).choices(PERMISSION_MODE_NAMES)
|
|
475
|
-
).option(
|
|
476
|
-
"--append-system-prompt <text|@file>",
|
|
477
|
-
"Add standing instructions for this launch only; @file reads them from a file. They go after the cached part of the prompt, so the cache is untouched."
|
|
478
|
-
).option(
|
|
479
|
-
"--allowed-tools <list>",
|
|
480
|
-
'Allow these tools without asking for this launch, e.g. "edit bash(git status*)"; repeatable. A deny rule still wins.',
|
|
481
|
-
collectFlagValue
|
|
482
|
-
).option(
|
|
483
|
-
"--disallowed-tools <list>",
|
|
484
|
-
'Refuse these tools for this launch, e.g. "bash(rm *)"; repeatable.',
|
|
485
|
-
collectFlagValue
|
|
486
|
-
).option(
|
|
487
|
-
"--fallback-model <provider/model[,\u2026]>",
|
|
488
|
-
"Models to fall over to, in order, when the first cannot answer; replaces the saved fallbacks for this launch.",
|
|
489
|
-
collectFlagValue
|
|
490
509
|
).addOption(
|
|
491
510
|
new Option(
|
|
492
511
|
"--max-budget-usd <amount>",
|
|
@@ -501,21 +520,22 @@ async function runCli(opts) {
|
|
|
501
520
|
).option(
|
|
502
521
|
"--from-pr [value]",
|
|
503
522
|
"Open the picker with only the conversations linked to a pull request; a number or address narrows it to that one."
|
|
504
|
-
).option(
|
|
505
|
-
"--add-dir <path>",
|
|
506
|
-
"Let the file tools reach another directory this session; repeatable. /add-dir does the same from inside.",
|
|
507
|
-
(value, previous) => [...previous, value],
|
|
508
|
-
[]
|
|
509
|
-
).option(
|
|
510
|
-
"--plugin-dir <path>",
|
|
511
|
-
"Load the plugin in this folder for this launch, without turning plugins on in the configuration; repeatable. It runs the plugin\u2019s code, so name only folders you trust.",
|
|
512
|
-
(value, previous) => [...previous, value],
|
|
513
|
-
[]
|
|
514
|
-
).option(
|
|
515
|
-
"--profile <name>",
|
|
516
|
-
"Apply a named profile from the config files. A name no file declares is refused, not ignored."
|
|
517
523
|
).hook("preAction", async (command, action) => {
|
|
518
|
-
rt ??= await import("./cli-runtime-
|
|
524
|
+
rt ??= await import("./cli-runtime-QOMHGRZL.js");
|
|
525
|
+
if (action.name() === "resume") {
|
|
526
|
+
for (const option of action.options) {
|
|
527
|
+
const key = option.attributeName();
|
|
528
|
+
const source = action.getOptionValueSource(key);
|
|
529
|
+
if (source === void 0 || source === "default") continue;
|
|
530
|
+
const given = action.getOptionValue(key);
|
|
531
|
+
const before = command.getOptionValue(key);
|
|
532
|
+
command.setOptionValueWithSource(
|
|
533
|
+
key,
|
|
534
|
+
Array.isArray(given) && Array.isArray(before) ? [...before, ...given] : given,
|
|
535
|
+
source
|
|
536
|
+
);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
519
539
|
if (usesCustomNetwork(process.env)) {
|
|
520
540
|
await (await import("./install-LVQAT4QP.js")).installNetwork();
|
|
521
541
|
}
|
|
@@ -572,6 +592,7 @@ async function runCli(opts) {
|
|
|
572
592
|
// Commander's one-line complaint becomes sentences, wrapped, with a way forward.
|
|
573
593
|
outputError: /* @__PURE__ */ __name((text, write) => write(formatUsageError(text, process.stderr.columns)), "outputError")
|
|
574
594
|
});
|
|
595
|
+
addLaunchOptions(program);
|
|
575
596
|
const buildContext = /* @__PURE__ */ __name((load) => {
|
|
576
597
|
const globalOpts = program.opts();
|
|
577
598
|
const { config: loadedConfig, provenance } = load();
|
|
@@ -696,7 +717,7 @@ async function runCli(opts) {
|
|
|
696
717
|
historyCommand,
|
|
697
718
|
skillsCommand,
|
|
698
719
|
skillsJSONCommand,
|
|
699
|
-
|
|
720
|
+
workspacesCommand,
|
|
700
721
|
providersJSONCommand,
|
|
701
722
|
upgradeCommand,
|
|
702
723
|
serveCommand,
|
|
@@ -948,7 +969,7 @@ async function runCli(opts) {
|
|
|
948
969
|
tuiCtx,
|
|
949
970
|
(cwd) => buildTuiContext(resolveTrustedProjectContext(commandCtx, cwd), cwd)
|
|
950
971
|
);
|
|
951
|
-
const { launchTui } = await import("./tui-
|
|
972
|
+
const { launchTui } = await import("./tui-CCAGK7BG.js");
|
|
952
973
|
const resumeCommand = launchOpts.outputSchema ? [
|
|
953
974
|
...opts.resumeCommand ?? ["namzu"],
|
|
954
975
|
"--output-schema",
|
|
@@ -964,9 +985,11 @@ async function runCli(opts) {
|
|
|
964
985
|
"namzu \u2014 interactive TUI requires a terminal. For utility subcommands run `namzu --help`.\n"
|
|
965
986
|
);
|
|
966
987
|
}, "launchInteractiveTui");
|
|
967
|
-
|
|
968
|
-
"
|
|
969
|
-
|
|
988
|
+
addLaunchOptions(
|
|
989
|
+
program.command("resume").description("Resume an interactive conversation; without an id, choose from a list").argument(
|
|
990
|
+
"[conversation-id]",
|
|
991
|
+
"Conversation id printed when the TUI exited; leave out to pick one"
|
|
992
|
+
)
|
|
970
993
|
).action(async (conversationId) => {
|
|
971
994
|
if (conversationId === void 0) {
|
|
972
995
|
await launchInteractiveTui(void 0, true);
|
|
@@ -1025,7 +1048,7 @@ namzu will not start with an explicit config value it cannot honour. ${remediati
|
|
|
1025
1048
|
);
|
|
1026
1049
|
return EXIT_BAD_CONFIG;
|
|
1027
1050
|
}
|
|
1028
|
-
const { reportCrash } = await import("./crash-report-
|
|
1051
|
+
const { reportCrash } = await import("./crash-report-KHJZ3AKU.js");
|
|
1029
1052
|
process.stderr.write(reportCrash(err));
|
|
1030
1053
|
return EXIT_INTERNAL_ERROR;
|
|
1031
1054
|
} finally {
|
|
@@ -1088,4 +1111,4 @@ export {
|
|
|
1088
1111
|
registerAll,
|
|
1089
1112
|
runCli
|
|
1090
1113
|
};
|
|
1091
|
-
//# sourceMappingURL=chunk-
|
|
1114
|
+
//# sourceMappingURL=chunk-4WHMQBUC.js.map
|