@namzu/cli 48.0.0 → 49.0.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 +40 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-QUCU36XL.js → acp-2INAZYZT.js} +45 -45
- package/dist/chunks/{activity-command-W6575T4W.js → activity-command-J676MIML.js} +12 -12
- package/dist/chunks/{add-GLFGOQVN.js → add-LI4SX4YZ.js} +19 -19
- package/dist/chunks/{agent-VBCJRRQU.js → agent-LUK4L4AW.js} +35 -35
- package/dist/chunks/agent-session-5ZG6WNTC.js +69 -0
- package/dist/chunks/{archive-QEPJAF7T.js → archive-IZRS7P6C.js} +10 -10
- package/dist/chunks/{bin-main-D4Q3AFND.js → bin-main-XNB6LHOP.js} +7 -7
- package/dist/chunks/{binding-CEZSAC3K.js → binding-3EE2IYAM.js} +3 -3
- package/dist/chunks/{browser-XZZSBZG7.js → browser-NI2ZPG4N.js} +6 -6
- package/dist/chunks/{chat-ESJVUJKJ.js → chat-5OEOFTSO.js} +15 -15
- package/dist/chunks/{chunk-BYQSDH2F.js → chunk-2FMMT4JD.js} +2 -2
- package/dist/chunks/{chunk-2EPEWMI7.js → chunk-2GBI7JYG.js} +2 -2
- package/dist/chunks/{chunk-JWMBGGFY.js → chunk-43Q3E36I.js} +2 -2
- package/dist/chunks/{chunk-JIUBDOX4.js → chunk-4ET34X7Z.js} +2 -2
- package/dist/chunks/{chunk-6E63NHFK.js → chunk-4GFWZYTR.js} +5 -5
- package/dist/chunks/{chunk-6YIA342V.js → chunk-4IYPPPIR.js} +4 -4
- package/dist/chunks/{chunk-K5IWQLOE.js → chunk-4UXO3V22.js} +3 -3
- package/dist/chunks/{chunk-SJTDYH2Q.js → chunk-4WFAYG6V.js} +972 -860
- package/dist/chunks/{chunk-SJTDYH2Q.js.map → chunk-4WFAYG6V.js.map} +3 -3
- package/dist/chunks/{chunk-UXYOP32R.js → chunk-564OI5HN.js} +2 -2
- package/dist/chunks/{chunk-HAYKZJ4W.js → chunk-56IRGZRX.js} +3 -3
- package/dist/chunks/{chunk-YJV5ARUB.js → chunk-5AQVWTHV.js} +2 -2
- package/dist/chunks/{chunk-5EIUKBFJ.js → chunk-5WOHNIH4.js} +5 -2
- package/dist/chunks/chunk-5WOHNIH4.js.map +6 -0
- package/dist/chunks/{chunk-JHGICKYH.js → chunk-6CZOIEKE.js} +225 -16
- package/dist/chunks/chunk-6CZOIEKE.js.map +6 -0
- package/dist/chunks/{chunk-SPLCWH4W.js → chunk-6T7HV4J5.js} +35 -11
- package/dist/chunks/{chunk-SPLCWH4W.js.map → chunk-6T7HV4J5.js.map} +1 -1
- package/dist/chunks/{chunk-E7STKX6D.js → chunk-6TUISLKZ.js} +2 -2
- package/dist/chunks/{chunk-T5MEHPLZ.js → chunk-753B7NQX.js} +40 -33
- package/dist/chunks/chunk-753B7NQX.js.map +6 -0
- package/dist/chunks/{chunk-U6LKWLSO.js → chunk-7DSJTL5S.js} +2 -2
- package/dist/chunks/{chunk-7R42TMRR.js → chunk-AOKRFS3Z.js} +2 -2
- package/dist/chunks/{chunk-QKE5HLHV.js → chunk-BCFC5GGU.js} +12 -12
- package/dist/chunks/{chunk-26JTVEWV.js → chunk-BPW5AT4B.js} +3 -3
- package/dist/chunks/{chunk-ZEHU7KPN.js → chunk-CDOLJHIB.js} +2 -2
- package/dist/chunks/{chunk-C3F76W74.js → chunk-CDT745GI.js} +4 -4
- package/dist/chunks/{chunk-N47CNO6M.js → chunk-DKJHMWCA.js} +7 -7
- package/dist/chunks/{chunk-ZKBZZ4SV.js → chunk-E6XGUJ2I.js} +3 -3
- package/dist/chunks/{chunk-ESXU3WTP.js → chunk-EISC5X74.js} +2 -2
- package/dist/chunks/{chunk-ZSJUNNOB.js → chunk-EPS5ROMN.js} +9 -9
- package/dist/chunks/{chunk-MGLG65W5.js → chunk-G4SE3TXK.js} +10 -10
- package/dist/chunks/{chunk-RXUDOOPL.js → chunk-G5LUEMDI.js} +953 -172
- package/dist/chunks/chunk-G5LUEMDI.js.map +6 -0
- package/dist/chunks/{chunk-WYT7R7OV.js → chunk-GBRTN4AK.js} +3 -3
- package/dist/chunks/{chunk-QQM7JSEY.js → chunk-GCIBSVYX.js} +4 -4
- package/dist/chunks/{chunk-X4XZVFAV.js → chunk-GEX2EXU3.js} +4 -4
- package/dist/chunks/{chunk-HLJHOUY5.js → chunk-GXSMCKZJ.js} +3 -3
- package/dist/chunks/{chunk-MHF4AD7R.js → chunk-HNBF54TV.js} +5 -5
- package/dist/chunks/{chunk-BFBE2M7Q.js → chunk-HUUVQBZR.js} +3 -3
- package/dist/chunks/{chunk-6DTG2DJM.js → chunk-HXV7TDNY.js} +2 -2
- package/dist/chunks/{chunk-YBRLTSWM.js → chunk-KZNMCCYK.js} +3 -3
- package/dist/chunks/{chunk-HF22LWEO.js → chunk-L3VAFXRU.js} +6 -6
- package/dist/chunks/{chunk-KCVKLMKN.js → chunk-LJHHAKBL.js} +3 -3
- package/dist/chunks/{chunk-5BA47MKJ.js → chunk-LNDECWNR.js} +2 -2
- package/dist/chunks/{chunk-UYP5QIPH.js → chunk-LYSN3FIQ.js} +3 -3
- package/dist/chunks/{chunk-HMAF5UAO.js → chunk-MCTUVMMB.js} +4 -4
- package/dist/chunks/{chunk-QSIMY7WM.js → chunk-NJWCOR7Z.js} +2 -2
- package/dist/chunks/{chunk-WUSDW5Z5.js → chunk-OOWGXPY2.js} +2 -2
- package/dist/chunks/{chunk-2FHIHK3T.js → chunk-P2CHZ6FL.js} +3 -3
- package/dist/chunks/{chunk-V3MC2IFR.js → chunk-P3KXW262.js} +2 -2
- package/dist/chunks/{chunk-XRNUFV7Q.js → chunk-P7YVC6KA.js} +2 -2
- package/dist/chunks/{chunk-F3ZHJSWR.js → chunk-PVCJHQP5.js} +6 -6
- package/dist/chunks/{chunk-5NOMF3HN.js → chunk-QUKAQLNS.js} +9 -9
- package/dist/chunks/{chunk-XX6ZE5ZO.js → chunk-R2KYP3AT.js} +2 -2
- package/dist/chunks/{chunk-YVV5ZHID.js → chunk-R7TYDKKC.js} +4 -4
- package/dist/chunks/{chunk-A3H6DYWZ.js → chunk-RR3ASZMK.js} +3 -3
- package/dist/chunks/{chunk-7M3ACGKA.js → chunk-SLRBCV4D.js} +2 -2
- package/dist/chunks/{chunk-66YF5N2J.js → chunk-SMJQ7LVL.js} +2 -2
- package/dist/chunks/{chunk-DDXZZ7TR.js → chunk-SR32C4A7.js} +3 -3
- package/dist/chunks/{chunk-VRO3BSVC.js → chunk-TP62BP32.js} +9 -9
- package/dist/chunks/{chunk-X3YRAYJU.js → chunk-USIRIOSH.js} +4 -4
- package/dist/chunks/{chunk-CKAVXPSD.js → chunk-UZX4K743.js} +3 -3
- package/dist/chunks/{chunk-AHSWXUMT.js → chunk-VJAVIDVB.js} +4 -4
- package/dist/chunks/{chunk-A7RJ323Z.js → chunk-W3M3UGWQ.js} +4 -4
- package/dist/chunks/{chunk-ONLVC5X5.js → chunk-WI5ADHTS.js} +2 -2
- package/dist/chunks/{chunk-GYIRPQFB.js → chunk-WX6B7RLT.js} +2 -2
- package/dist/chunks/{chunk-LHCRLCMO.js → chunk-XK4ANTIO.js} +2 -2
- package/dist/chunks/{chunk-XD26GMKP.js → chunk-XKRU6FOU.js} +2 -2
- package/dist/chunks/{chunk-RBH5ZABR.js → chunk-Y34RP2OI.js} +6 -6
- package/dist/chunks/{chunk-NLVUDQEQ.js → chunk-YFKC2GZP.js} +4 -4
- package/dist/chunks/{chunk-UVR7C4T5.js → chunk-YJPHE4O3.js} +5 -5
- package/dist/chunks/{chunk-LE4QZ6HS.js → chunk-YJYFQW2F.js} +3 -3
- package/dist/chunks/{chunk-YRBLDFMI.js → chunk-YNJ3SWIL.js} +4 -4
- package/dist/chunks/{chunk-6EP5UWMA.js → chunk-YPKTYCDZ.js} +3 -3
- package/dist/chunks/{chunk-UT5XJ2JQ.js → chunk-YW3GNCCK.js} +3 -3
- package/dist/chunks/{chunk-IQCUP4GF.js → chunk-YYLILI2G.js} +2 -2
- package/dist/chunks/{chunk-HZU57YBL.js → chunk-ZBLTMOOD.js} +2 -2
- package/dist/chunks/{chunk-QROBMHWX.js → chunk-ZFBUNTJO.js} +3 -3
- package/dist/chunks/{chunk-FXPGZQWX.js → chunk-ZLQ5BZ4X.js} +2 -2
- package/dist/chunks/{chunk-AWRDGYDV.js → chunk-ZP4KWNIL.js} +13 -13
- package/dist/chunks/{cli-runtime-YLIWHNME.js → cli-runtime-EDDXHFSX.js} +11 -10
- package/dist/chunks/cli-runtime-EDDXHFSX.js.map +6 -0
- package/dist/chunks/{commands-WT4OLTGL.js → commands-KESYD3SM.js} +5 -5
- package/dist/chunks/{crash-report-BTL3U5HH.js → crash-report-JRRCPLE7.js} +6 -6
- package/dist/chunks/{dist-2NYSROLX.js → dist-7V7KU2WK.js} +126 -10
- package/dist/chunks/dist-7V7KU2WK.js.map +6 -0
- package/dist/chunks/{dist-OHQWXZ7N.js → dist-DLVIWPSW.js} +2 -2
- package/dist/chunks/{dist-LRK6JYLM.js → dist-EGALCLMC.js} +2 -2
- package/dist/chunks/{dist-3PNUHQCO.js → dist-F3BMUZ3P.js} +2 -2
- package/dist/chunks/{dist-N4TBL3SN.js → dist-GZSRTUES.js} +2 -2
- package/dist/chunks/{dist-3R6SQ3VB.js → dist-IEWJJJHL.js} +4 -2
- package/dist/chunks/{dist-4TCR3HDF.js → dist-ML6MP7J3.js} +2 -2
- package/dist/chunks/{dist-X7K5G5NH.js → dist-XUIAXPXU.js} +2 -2
- package/dist/chunks/{doctor-5JQK6UNK.js → doctor-URLWCDCG.js} +16 -16
- package/dist/chunks/{drain-EHO3BUHW.js → drain-XYBMXTKG.js} +9 -9
- package/dist/chunks/{entry-F2EIOWAT.js → entry-BTK3MMFH.js} +6 -6
- package/dist/chunks/{eval-7YEMHHIB.js → eval-SS6TIGOD.js} +2 -2
- package/dist/chunks/{exec-WV7BS5UD.js → exec-MGDFWPM2.js} +34 -34
- package/dist/chunks/{home-GOMDEEXP.js → home-PPWVKIU6.js} +3 -3
- package/dist/chunks/{host-MNPHBQWG.js → host-RHMJMJAH.js} +10 -10
- package/dist/chunks/{host-queries-SKWE7PF5.js → host-queries-DUR62LWA.js} +15 -15
- package/dist/chunks/{learn-BUEAUHTD.js → learn-AF7N7BLO.js} +11 -11
- package/dist/chunks/{learn-builtin-XZFBPA3W.js → learn-builtin-J7GKFBXU.js} +14 -14
- package/dist/chunks/{lifecycle-HMSOBI6F.js → lifecycle-RGXBSC3L.js} +28 -28
- package/dist/chunks/{list-HNSWMLVN.js → list-YOLX5SWE.js} +11 -10
- package/dist/chunks/list-YOLX5SWE.js.map +6 -0
- package/dist/chunks/{live-ER3OZKC6.js → live-RVNUQYAY.js} +15 -15
- package/dist/chunks/{login-EBEFMEA2.js → login-RFNV3I7R.js} +13 -13
- package/dist/chunks/{logs-5UJZYNN2.js → logs-RTREGKV5.js} +4 -4
- package/dist/chunks/{mcp-BLERKK2H.js → mcp-SPQQPLJE.js} +20 -20
- package/dist/chunks/{message-command-XH2M4BTB.js → message-command-E7V5KLFO.js} +41 -41
- package/dist/chunks/{open-ZYWPDOR6.js → open-P43XO4HN.js} +8 -8
- package/dist/chunks/{operator-tools-CZ2SXR3G.js → operator-tools-O43OOXJJ.js} +13 -13
- package/dist/chunks/{output-schema-MFZZP7GF.js → output-schema-HQ37VOZT.js} +3 -3
- package/dist/chunks/{pal-7OYQHUKF.js → pal-24C6YOEW.js} +16 -16
- package/dist/chunks/{peers-FCVTBNI5.js → peers-722AUQGX.js} +6 -6
- package/dist/chunks/{peers-V3Z3ZQSN.js → peers-IPO7XN5V.js} +7 -7
- package/dist/chunks/{providers-43RE2SWA.js → providers-5OKXU3AF.js} +11 -11
- package/dist/chunks/{pty-QSS3UQ7C.js → pty-2YQ4ASHS.js} +3 -3
- package/dist/chunks/resume-IP4SVMRZ.js +23 -0
- package/dist/chunks/{resume-command-WZY42BAB.js → resume-command-SGKIUUR7.js} +4 -4
- package/dist/chunks/{schedule-LHXNUQHJ.js → schedule-6JFYGG2R.js} +8 -8
- package/dist/chunks/{service-ZU5YIBW4.js → service-WJ5VNXQ5.js} +28 -28
- package/dist/chunks/{skills-K2MFIY4H.js → skills-PCETONZ5.js} +8 -8
- package/dist/chunks/{start-check-AODGFYJD.js → start-check-UJOG3VAS.js} +2 -2
- package/dist/chunks/{startup-failure-B6ESBTLZ.js → startup-failure-Q5I6S7KQ.js} +2 -2
- package/dist/chunks/{state-ZWXVSLS2.js → state-NUXXHBA5.js} +2 -2
- package/dist/chunks/{store-MNI5IJHC.js → store-3R5KTEP5.js} +6 -6
- package/dist/chunks/{store-JAI2RWQT.js → store-A2RYRTI6.js} +3 -3
- package/dist/chunks/{store-U6SG2CON.js → store-KO52OXSR.js} +4 -4
- package/dist/chunks/{store-NKISDMPC.js → store-XO6CFKZI.js} +10 -10
- package/dist/chunks/{tui-TM5QW6KY.js → tui-AAB7734Z.js} +1084 -98
- package/dist/chunks/tui-AAB7734Z.js.map +6 -0
- package/dist/chunks/{upgrade-27ZDBTX7.js → upgrade-NPINYN5F.js} +7 -7
- package/dist/chunks/{workspaces-X7W7ZQU3.js → workspaces-BGRV6TQ6.js} +16 -16
- package/dist/chunks/{worktree-SIA6C5NS.js → worktree-5LYQWD4H.js} +12 -12
- package/dist/cli.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +10 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/index.js +19 -19
- package/dist/integrations/decision/connection.d.ts +89 -0
- package/dist/integrations/decision/connection.d.ts.map +1 -0
- package/dist/integrations/decision/model.d.ts +21 -8
- package/dist/integrations/decision/model.d.ts.map +1 -1
- package/dist/integrations/decision/openrouter.d.ts +68 -0
- package/dist/integrations/decision/openrouter.d.ts.map +1 -0
- package/dist/integrations/decision/paste.d.ts +19 -0
- package/dist/integrations/decision/paste.d.ts.map +1 -0
- package/dist/integrations/decision/setup.d.ts +62 -0
- package/dist/integrations/decision/setup.d.ts.map +1 -0
- package/dist/integrations/decision/token.d.ts +34 -0
- package/dist/integrations/decision/token.d.ts.map +1 -0
- package/dist/memory/curation-runtime.d.ts +8 -1
- package/dist/memory/curation-runtime.d.ts.map +1 -1
- package/dist/memory/lifecycle.d.ts +62 -0
- package/dist/memory/lifecycle.d.ts.map +1 -0
- package/dist/memory/manage.d.ts +37 -2
- package/dist/memory/manage.d.ts.map +1 -1
- package/dist/memory/sweep.d.ts +66 -0
- package/dist/memory/sweep.d.ts.map +1 -0
- package/dist/memory/usage.d.ts +79 -0
- package/dist/memory/usage.d.ts.map +1 -0
- package/dist/tui/App.d.ts +23 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +5 -1
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +10 -2
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/decision-setup-flow.d.ts +57 -0
- package/dist/tui/decision-setup-flow.d.ts.map +1 -0
- package/dist/tui/fast-mode.d.ts +24 -0
- package/dist/tui/fast-mode.d.ts.map +1 -0
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/launch-settings.d.ts +2 -0
- package/dist/tui/launch-settings.d.ts.map +1 -1
- package/dist/tui/model-refusal.d.ts +3 -1
- package/dist/tui/model-refusal.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +9 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/chunks/agent-session-FZI6GVBH.js +0 -69
- package/dist/chunks/chunk-5EIUKBFJ.js.map +0 -6
- package/dist/chunks/chunk-JHGICKYH.js.map +0 -6
- package/dist/chunks/chunk-RXUDOOPL.js.map +0 -6
- package/dist/chunks/chunk-T5MEHPLZ.js.map +0 -6
- package/dist/chunks/cli-runtime-YLIWHNME.js.map +0 -6
- package/dist/chunks/dist-2NYSROLX.js.map +0 -6
- package/dist/chunks/list-HNSWMLVN.js.map +0 -6
- package/dist/chunks/resume-WN2TIOQK.js +0 -23
- package/dist/chunks/tui-TM5QW6KY.js.map +0 -6
- /package/dist/chunks/{acp-QUCU36XL.js.map → acp-2INAZYZT.js.map} +0 -0
- /package/dist/chunks/{activity-command-W6575T4W.js.map → activity-command-J676MIML.js.map} +0 -0
- /package/dist/chunks/{add-GLFGOQVN.js.map → add-LI4SX4YZ.js.map} +0 -0
- /package/dist/chunks/{agent-VBCJRRQU.js.map → agent-LUK4L4AW.js.map} +0 -0
- /package/dist/chunks/{agent-session-FZI6GVBH.js.map → agent-session-5ZG6WNTC.js.map} +0 -0
- /package/dist/chunks/{archive-QEPJAF7T.js.map → archive-IZRS7P6C.js.map} +0 -0
- /package/dist/chunks/{bin-main-D4Q3AFND.js.map → bin-main-XNB6LHOP.js.map} +0 -0
- /package/dist/chunks/{binding-CEZSAC3K.js.map → binding-3EE2IYAM.js.map} +0 -0
- /package/dist/chunks/{browser-XZZSBZG7.js.map → browser-NI2ZPG4N.js.map} +0 -0
- /package/dist/chunks/{chat-ESJVUJKJ.js.map → chat-5OEOFTSO.js.map} +0 -0
- /package/dist/chunks/{chunk-BYQSDH2F.js.map → chunk-2FMMT4JD.js.map} +0 -0
- /package/dist/chunks/{chunk-2EPEWMI7.js.map → chunk-2GBI7JYG.js.map} +0 -0
- /package/dist/chunks/{chunk-JWMBGGFY.js.map → chunk-43Q3E36I.js.map} +0 -0
- /package/dist/chunks/{chunk-JIUBDOX4.js.map → chunk-4ET34X7Z.js.map} +0 -0
- /package/dist/chunks/{chunk-6E63NHFK.js.map → chunk-4GFWZYTR.js.map} +0 -0
- /package/dist/chunks/{chunk-6YIA342V.js.map → chunk-4IYPPPIR.js.map} +0 -0
- /package/dist/chunks/{chunk-K5IWQLOE.js.map → chunk-4UXO3V22.js.map} +0 -0
- /package/dist/chunks/{chunk-UXYOP32R.js.map → chunk-564OI5HN.js.map} +0 -0
- /package/dist/chunks/{chunk-HAYKZJ4W.js.map → chunk-56IRGZRX.js.map} +0 -0
- /package/dist/chunks/{chunk-YJV5ARUB.js.map → chunk-5AQVWTHV.js.map} +0 -0
- /package/dist/chunks/{chunk-E7STKX6D.js.map → chunk-6TUISLKZ.js.map} +0 -0
- /package/dist/chunks/{chunk-U6LKWLSO.js.map → chunk-7DSJTL5S.js.map} +0 -0
- /package/dist/chunks/{chunk-7R42TMRR.js.map → chunk-AOKRFS3Z.js.map} +0 -0
- /package/dist/chunks/{chunk-QKE5HLHV.js.map → chunk-BCFC5GGU.js.map} +0 -0
- /package/dist/chunks/{chunk-26JTVEWV.js.map → chunk-BPW5AT4B.js.map} +0 -0
- /package/dist/chunks/{chunk-ZEHU7KPN.js.map → chunk-CDOLJHIB.js.map} +0 -0
- /package/dist/chunks/{chunk-C3F76W74.js.map → chunk-CDT745GI.js.map} +0 -0
- /package/dist/chunks/{chunk-N47CNO6M.js.map → chunk-DKJHMWCA.js.map} +0 -0
- /package/dist/chunks/{chunk-ZKBZZ4SV.js.map → chunk-E6XGUJ2I.js.map} +0 -0
- /package/dist/chunks/{chunk-ESXU3WTP.js.map → chunk-EISC5X74.js.map} +0 -0
- /package/dist/chunks/{chunk-ZSJUNNOB.js.map → chunk-EPS5ROMN.js.map} +0 -0
- /package/dist/chunks/{chunk-MGLG65W5.js.map → chunk-G4SE3TXK.js.map} +0 -0
- /package/dist/chunks/{chunk-WYT7R7OV.js.map → chunk-GBRTN4AK.js.map} +0 -0
- /package/dist/chunks/{chunk-QQM7JSEY.js.map → chunk-GCIBSVYX.js.map} +0 -0
- /package/dist/chunks/{chunk-X4XZVFAV.js.map → chunk-GEX2EXU3.js.map} +0 -0
- /package/dist/chunks/{chunk-HLJHOUY5.js.map → chunk-GXSMCKZJ.js.map} +0 -0
- /package/dist/chunks/{chunk-MHF4AD7R.js.map → chunk-HNBF54TV.js.map} +0 -0
- /package/dist/chunks/{chunk-BFBE2M7Q.js.map → chunk-HUUVQBZR.js.map} +0 -0
- /package/dist/chunks/{chunk-6DTG2DJM.js.map → chunk-HXV7TDNY.js.map} +0 -0
- /package/dist/chunks/{chunk-YBRLTSWM.js.map → chunk-KZNMCCYK.js.map} +0 -0
- /package/dist/chunks/{chunk-HF22LWEO.js.map → chunk-L3VAFXRU.js.map} +0 -0
- /package/dist/chunks/{chunk-KCVKLMKN.js.map → chunk-LJHHAKBL.js.map} +0 -0
- /package/dist/chunks/{chunk-5BA47MKJ.js.map → chunk-LNDECWNR.js.map} +0 -0
- /package/dist/chunks/{chunk-UYP5QIPH.js.map → chunk-LYSN3FIQ.js.map} +0 -0
- /package/dist/chunks/{chunk-HMAF5UAO.js.map → chunk-MCTUVMMB.js.map} +0 -0
- /package/dist/chunks/{chunk-QSIMY7WM.js.map → chunk-NJWCOR7Z.js.map} +0 -0
- /package/dist/chunks/{chunk-WUSDW5Z5.js.map → chunk-OOWGXPY2.js.map} +0 -0
- /package/dist/chunks/{chunk-2FHIHK3T.js.map → chunk-P2CHZ6FL.js.map} +0 -0
- /package/dist/chunks/{chunk-V3MC2IFR.js.map → chunk-P3KXW262.js.map} +0 -0
- /package/dist/chunks/{chunk-XRNUFV7Q.js.map → chunk-P7YVC6KA.js.map} +0 -0
- /package/dist/chunks/{chunk-F3ZHJSWR.js.map → chunk-PVCJHQP5.js.map} +0 -0
- /package/dist/chunks/{chunk-5NOMF3HN.js.map → chunk-QUKAQLNS.js.map} +0 -0
- /package/dist/chunks/{chunk-XX6ZE5ZO.js.map → chunk-R2KYP3AT.js.map} +0 -0
- /package/dist/chunks/{chunk-YVV5ZHID.js.map → chunk-R7TYDKKC.js.map} +0 -0
- /package/dist/chunks/{chunk-A3H6DYWZ.js.map → chunk-RR3ASZMK.js.map} +0 -0
- /package/dist/chunks/{chunk-7M3ACGKA.js.map → chunk-SLRBCV4D.js.map} +0 -0
- /package/dist/chunks/{chunk-66YF5N2J.js.map → chunk-SMJQ7LVL.js.map} +0 -0
- /package/dist/chunks/{chunk-DDXZZ7TR.js.map → chunk-SR32C4A7.js.map} +0 -0
- /package/dist/chunks/{chunk-VRO3BSVC.js.map → chunk-TP62BP32.js.map} +0 -0
- /package/dist/chunks/{chunk-X3YRAYJU.js.map → chunk-USIRIOSH.js.map} +0 -0
- /package/dist/chunks/{chunk-CKAVXPSD.js.map → chunk-UZX4K743.js.map} +0 -0
- /package/dist/chunks/{chunk-AHSWXUMT.js.map → chunk-VJAVIDVB.js.map} +0 -0
- /package/dist/chunks/{chunk-A7RJ323Z.js.map → chunk-W3M3UGWQ.js.map} +0 -0
- /package/dist/chunks/{chunk-ONLVC5X5.js.map → chunk-WI5ADHTS.js.map} +0 -0
- /package/dist/chunks/{chunk-GYIRPQFB.js.map → chunk-WX6B7RLT.js.map} +0 -0
- /package/dist/chunks/{chunk-LHCRLCMO.js.map → chunk-XK4ANTIO.js.map} +0 -0
- /package/dist/chunks/{chunk-XD26GMKP.js.map → chunk-XKRU6FOU.js.map} +0 -0
- /package/dist/chunks/{chunk-RBH5ZABR.js.map → chunk-Y34RP2OI.js.map} +0 -0
- /package/dist/chunks/{chunk-NLVUDQEQ.js.map → chunk-YFKC2GZP.js.map} +0 -0
- /package/dist/chunks/{chunk-UVR7C4T5.js.map → chunk-YJPHE4O3.js.map} +0 -0
- /package/dist/chunks/{chunk-LE4QZ6HS.js.map → chunk-YJYFQW2F.js.map} +0 -0
- /package/dist/chunks/{chunk-YRBLDFMI.js.map → chunk-YNJ3SWIL.js.map} +0 -0
- /package/dist/chunks/{chunk-6EP5UWMA.js.map → chunk-YPKTYCDZ.js.map} +0 -0
- /package/dist/chunks/{chunk-UT5XJ2JQ.js.map → chunk-YW3GNCCK.js.map} +0 -0
- /package/dist/chunks/{chunk-IQCUP4GF.js.map → chunk-YYLILI2G.js.map} +0 -0
- /package/dist/chunks/{chunk-HZU57YBL.js.map → chunk-ZBLTMOOD.js.map} +0 -0
- /package/dist/chunks/{chunk-QROBMHWX.js.map → chunk-ZFBUNTJO.js.map} +0 -0
- /package/dist/chunks/{chunk-FXPGZQWX.js.map → chunk-ZLQ5BZ4X.js.map} +0 -0
- /package/dist/chunks/{chunk-AWRDGYDV.js.map → chunk-ZP4KWNIL.js.map} +0 -0
- /package/dist/chunks/{commands-WT4OLTGL.js.map → commands-KESYD3SM.js.map} +0 -0
- /package/dist/chunks/{crash-report-BTL3U5HH.js.map → crash-report-JRRCPLE7.js.map} +0 -0
- /package/dist/chunks/{dist-OHQWXZ7N.js.map → dist-DLVIWPSW.js.map} +0 -0
- /package/dist/chunks/{dist-LRK6JYLM.js.map → dist-EGALCLMC.js.map} +0 -0
- /package/dist/chunks/{dist-3PNUHQCO.js.map → dist-F3BMUZ3P.js.map} +0 -0
- /package/dist/chunks/{dist-N4TBL3SN.js.map → dist-GZSRTUES.js.map} +0 -0
- /package/dist/chunks/{dist-3R6SQ3VB.js.map → dist-IEWJJJHL.js.map} +0 -0
- /package/dist/chunks/{dist-4TCR3HDF.js.map → dist-ML6MP7J3.js.map} +0 -0
- /package/dist/chunks/{dist-X7K5G5NH.js.map → dist-XUIAXPXU.js.map} +0 -0
- /package/dist/chunks/{doctor-5JQK6UNK.js.map → doctor-URLWCDCG.js.map} +0 -0
- /package/dist/chunks/{drain-EHO3BUHW.js.map → drain-XYBMXTKG.js.map} +0 -0
- /package/dist/chunks/{entry-F2EIOWAT.js.map → entry-BTK3MMFH.js.map} +0 -0
- /package/dist/chunks/{eval-7YEMHHIB.js.map → eval-SS6TIGOD.js.map} +0 -0
- /package/dist/chunks/{exec-WV7BS5UD.js.map → exec-MGDFWPM2.js.map} +0 -0
- /package/dist/chunks/{home-GOMDEEXP.js.map → home-PPWVKIU6.js.map} +0 -0
- /package/dist/chunks/{host-MNPHBQWG.js.map → host-RHMJMJAH.js.map} +0 -0
- /package/dist/chunks/{host-queries-SKWE7PF5.js.map → host-queries-DUR62LWA.js.map} +0 -0
- /package/dist/chunks/{learn-BUEAUHTD.js.map → learn-AF7N7BLO.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-XZFBPA3W.js.map → learn-builtin-J7GKFBXU.js.map} +0 -0
- /package/dist/chunks/{lifecycle-HMSOBI6F.js.map → lifecycle-RGXBSC3L.js.map} +0 -0
- /package/dist/chunks/{live-ER3OZKC6.js.map → live-RVNUQYAY.js.map} +0 -0
- /package/dist/chunks/{login-EBEFMEA2.js.map → login-RFNV3I7R.js.map} +0 -0
- /package/dist/chunks/{logs-5UJZYNN2.js.map → logs-RTREGKV5.js.map} +0 -0
- /package/dist/chunks/{mcp-BLERKK2H.js.map → mcp-SPQQPLJE.js.map} +0 -0
- /package/dist/chunks/{message-command-XH2M4BTB.js.map → message-command-E7V5KLFO.js.map} +0 -0
- /package/dist/chunks/{open-ZYWPDOR6.js.map → open-P43XO4HN.js.map} +0 -0
- /package/dist/chunks/{operator-tools-CZ2SXR3G.js.map → operator-tools-O43OOXJJ.js.map} +0 -0
- /package/dist/chunks/{output-schema-MFZZP7GF.js.map → output-schema-HQ37VOZT.js.map} +0 -0
- /package/dist/chunks/{pal-7OYQHUKF.js.map → pal-24C6YOEW.js.map} +0 -0
- /package/dist/chunks/{peers-FCVTBNI5.js.map → peers-722AUQGX.js.map} +0 -0
- /package/dist/chunks/{peers-V3Z3ZQSN.js.map → peers-IPO7XN5V.js.map} +0 -0
- /package/dist/chunks/{providers-43RE2SWA.js.map → providers-5OKXU3AF.js.map} +0 -0
- /package/dist/chunks/{pty-QSS3UQ7C.js.map → pty-2YQ4ASHS.js.map} +0 -0
- /package/dist/chunks/{resume-WN2TIOQK.js.map → resume-IP4SVMRZ.js.map} +0 -0
- /package/dist/chunks/{resume-command-WZY42BAB.js.map → resume-command-SGKIUUR7.js.map} +0 -0
- /package/dist/chunks/{schedule-LHXNUQHJ.js.map → schedule-6JFYGG2R.js.map} +0 -0
- /package/dist/chunks/{service-ZU5YIBW4.js.map → service-WJ5VNXQ5.js.map} +0 -0
- /package/dist/chunks/{skills-K2MFIY4H.js.map → skills-PCETONZ5.js.map} +0 -0
- /package/dist/chunks/{start-check-AODGFYJD.js.map → start-check-UJOG3VAS.js.map} +0 -0
- /package/dist/chunks/{startup-failure-B6ESBTLZ.js.map → startup-failure-Q5I6S7KQ.js.map} +0 -0
- /package/dist/chunks/{state-ZWXVSLS2.js.map → state-NUXXHBA5.js.map} +0 -0
- /package/dist/chunks/{store-JAI2RWQT.js.map → store-3R5KTEP5.js.map} +0 -0
- /package/dist/chunks/{store-MNI5IJHC.js.map → store-A2RYRTI6.js.map} +0 -0
- /package/dist/chunks/{store-NKISDMPC.js.map → store-KO52OXSR.js.map} +0 -0
- /package/dist/chunks/{store-U6SG2CON.js.map → store-XO6CFKZI.js.map} +0 -0
- /package/dist/chunks/{upgrade-27ZDBTX7.js.map → upgrade-NPINYN5F.js.map} +0 -0
- /package/dist/chunks/{workspaces-X7W7ZQU3.js.map → workspaces-BGRV6TQ6.js.map} +0 -0
- /package/dist/chunks/{worktree-SIA6C5NS.js.map → worktree-5LYQWD4H.js.map} +0 -0
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
confirmationView,
|
|
12
12
|
describeChanges,
|
|
13
13
|
permissionsChanged
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NJWCOR7Z.js";
|
|
15
15
|
import {
|
|
16
16
|
visibleScheduleMessage
|
|
17
17
|
} from "./chunk-NADQQMMG.js";
|
|
18
18
|
import {
|
|
19
19
|
selectDesktopBackend
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OOWGXPY2.js";
|
|
21
21
|
import {
|
|
22
22
|
TURN_LIMIT_FIELDS,
|
|
23
23
|
ThemeEpochContext,
|
|
@@ -54,15 +54,15 @@ import {
|
|
|
54
54
|
turnLimitCommands,
|
|
55
55
|
useThemeEpoch,
|
|
56
56
|
useThemeSubscription
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-6T7HV4J5.js";
|
|
58
58
|
import {
|
|
59
59
|
handleTerminationSignals
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2GBI7JYG.js";
|
|
61
61
|
import "./chunk-R66H2G5R.js";
|
|
62
62
|
import {
|
|
63
63
|
deleteUserConfigValue,
|
|
64
64
|
setUserConfigValue
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-SR32C4A7.js";
|
|
66
66
|
import {
|
|
67
67
|
describeAllCredentialsLogout,
|
|
68
68
|
describeApiKeyLogout,
|
|
@@ -73,16 +73,16 @@ import {
|
|
|
73
73
|
} from "./chunk-MDK4RMBQ.js";
|
|
74
74
|
import {
|
|
75
75
|
applyProviderFlags
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-RR3ASZMK.js";
|
|
77
77
|
import {
|
|
78
78
|
reportCrash
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-CDOLJHIB.js";
|
|
80
80
|
import {
|
|
81
81
|
BYPASS_CONSENT_BODY,
|
|
82
82
|
BYPASS_CONSENT_TITLE,
|
|
83
83
|
acknowledgeBypass,
|
|
84
84
|
hasAcknowledgedBypass
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-AOKRFS3Z.js";
|
|
86
86
|
import {
|
|
87
87
|
applyFallbackFlag,
|
|
88
88
|
capChoiceLines,
|
|
@@ -96,13 +96,13 @@ import {
|
|
|
96
96
|
} from "./chunk-7HYNH2U5.js";
|
|
97
97
|
import {
|
|
98
98
|
settleAnsweredPark
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-DKJHMWCA.js";
|
|
100
100
|
import "./chunk-GWQEMJFS.js";
|
|
101
101
|
import {
|
|
102
102
|
DELIVERY_READ_LIMIT,
|
|
103
103
|
readSourceDeliveryPage,
|
|
104
104
|
takeSuppressedCount
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ZP4KWNIL.js";
|
|
106
106
|
import {
|
|
107
107
|
DEFAULT_MAX_ITERATIONS,
|
|
108
108
|
DEFAULT_TIMEOUT_MS,
|
|
@@ -115,29 +115,29 @@ import {
|
|
|
115
115
|
runsPerDay,
|
|
116
116
|
scriptShellUnavailableReason,
|
|
117
117
|
verifyScheduledScript
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-GEX2EXU3.js";
|
|
119
119
|
import {
|
|
120
120
|
callsCount
|
|
121
121
|
} from "./chunk-HFY2647W.js";
|
|
122
|
-
import "./chunk-
|
|
122
|
+
import "./chunk-P7YVC6KA.js";
|
|
123
123
|
import {
|
|
124
124
|
allowsCommands,
|
|
125
125
|
compileJobPolicy,
|
|
126
126
|
compileScriptCheckPolicy,
|
|
127
127
|
isPresetName
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-W3M3UGWQ.js";
|
|
129
129
|
import "./chunk-XEUQN4JC.js";
|
|
130
130
|
import {
|
|
131
131
|
formatResumeShellCommand,
|
|
132
132
|
parkedRunWords,
|
|
133
133
|
resumeCommand
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-43Q3E36I.js";
|
|
135
135
|
import {
|
|
136
136
|
appendHistory,
|
|
137
137
|
nextFireOf,
|
|
138
138
|
readHistory,
|
|
139
139
|
readState
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-SLRBCV4D.js";
|
|
141
141
|
import {
|
|
142
142
|
callEndpoint,
|
|
143
143
|
readEndpoint
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
hostSlot,
|
|
155
155
|
hostedByHost,
|
|
156
156
|
workspacesSignal
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-ZBLTMOOD.js";
|
|
158
158
|
import {
|
|
159
159
|
motionAllowed,
|
|
160
160
|
reducedMotion,
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
openLivePeers,
|
|
173
173
|
peerMailLabel,
|
|
174
174
|
peerMailMessage
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-4UXO3V22.js";
|
|
176
176
|
import {
|
|
177
177
|
AUTO_CHOICE_ID,
|
|
178
178
|
PR_NONE,
|
|
@@ -186,24 +186,24 @@ import {
|
|
|
186
186
|
sectionHeading,
|
|
187
187
|
withAutoChoice,
|
|
188
188
|
writeConversationExport
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-56IRGZRX.js";
|
|
190
190
|
import {
|
|
191
191
|
tuiPalDefinition,
|
|
192
192
|
tuiPalEnvironment,
|
|
193
193
|
tuiPalOwner,
|
|
194
194
|
tuiPalPreferences
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-4GFWZYTR.js";
|
|
196
196
|
import {
|
|
197
197
|
isModelOnlyContext,
|
|
198
198
|
runtimeContextLabel
|
|
199
199
|
} from "./chunk-JETLWXUE.js";
|
|
200
|
-
import "./chunk-
|
|
201
|
-
import "./chunk-
|
|
202
|
-
import "./chunk-
|
|
200
|
+
import "./chunk-BPW5AT4B.js";
|
|
201
|
+
import "./chunk-G4SE3TXK.js";
|
|
202
|
+
import "./chunk-PVCJHQP5.js";
|
|
203
203
|
import {
|
|
204
204
|
claimPalConversation,
|
|
205
205
|
listPalConversations
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-CDT745GI.js";
|
|
207
207
|
import {
|
|
208
208
|
COMPACTED_HINT,
|
|
209
209
|
COMPACTING_LABEL,
|
|
@@ -213,6 +213,7 @@ import {
|
|
|
213
213
|
DEFAULT_AGENT_WORKFLOW,
|
|
214
214
|
DELETE_ALL,
|
|
215
215
|
DELETE_ALL_RECORDED,
|
|
216
|
+
DecisionError,
|
|
216
217
|
EMPTY_GROUP,
|
|
217
218
|
EXPAND_HINT,
|
|
218
219
|
HINT_INTERVAL_MS,
|
|
@@ -290,8 +291,10 @@ import {
|
|
|
290
291
|
renderStoredMemorySection,
|
|
291
292
|
renderTypedNoteResult,
|
|
292
293
|
resolveModelSwitch,
|
|
294
|
+
restoreOutcomeLine,
|
|
293
295
|
sameAllow,
|
|
294
296
|
spansText,
|
|
297
|
+
thirdPartyHost,
|
|
295
298
|
toAgentEvent,
|
|
296
299
|
turnLabel,
|
|
297
300
|
verdictOf,
|
|
@@ -303,12 +306,12 @@ import {
|
|
|
303
306
|
webLiveStatus,
|
|
304
307
|
webSettledLine,
|
|
305
308
|
withDebugDetail
|
|
306
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-G5LUEMDI.js";
|
|
307
310
|
import {
|
|
308
311
|
openManagedWorktrees,
|
|
309
312
|
worktreeOpenHint
|
|
310
|
-
} from "./chunk-
|
|
311
|
-
import "./chunk-
|
|
313
|
+
} from "./chunk-GCIBSVYX.js";
|
|
314
|
+
import "./chunk-UZX4K743.js";
|
|
312
315
|
import {
|
|
313
316
|
SAVE_SKILL_TOOL_NAME,
|
|
314
317
|
SKILL_CREATOR_SKILL,
|
|
@@ -332,25 +335,25 @@ import {
|
|
|
332
335
|
runTokens,
|
|
333
336
|
sandboxRunsShellUnasked,
|
|
334
337
|
settledElapsed
|
|
335
|
-
} from "./chunk-
|
|
336
|
-
import "./chunk-
|
|
337
|
-
import "./chunk-
|
|
338
|
+
} from "./chunk-YW3GNCCK.js";
|
|
339
|
+
import "./chunk-E6XGUJ2I.js";
|
|
340
|
+
import "./chunk-R7TYDKKC.js";
|
|
338
341
|
import {
|
|
339
342
|
MCP_OUTPUT_CHARS,
|
|
340
343
|
boundedMcpText,
|
|
341
344
|
validatePromptArguments
|
|
342
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-YNJ3SWIL.js";
|
|
343
346
|
import {
|
|
344
347
|
openInBrowser
|
|
345
|
-
} from "./chunk-
|
|
348
|
+
} from "./chunk-EISC5X74.js";
|
|
346
349
|
import {
|
|
347
350
|
describePlainInterruption,
|
|
348
351
|
describeProviderWait,
|
|
349
352
|
describeProviderWaitClock,
|
|
350
353
|
isSelfMending,
|
|
351
354
|
isSpentAllowance
|
|
352
|
-
} from "./chunk-
|
|
353
|
-
import "./chunk-
|
|
355
|
+
} from "./chunk-YJYFQW2F.js";
|
|
356
|
+
import "./chunk-MCTUVMMB.js";
|
|
354
357
|
import {
|
|
355
358
|
describeBrowserStatus
|
|
356
359
|
} from "./chunk-WHODOMXA.js";
|
|
@@ -362,7 +365,7 @@ import {
|
|
|
362
365
|
handoffContinuationNote,
|
|
363
366
|
refusalDetail,
|
|
364
367
|
retryAfterMs
|
|
365
|
-
} from "./chunk-
|
|
368
|
+
} from "./chunk-5WOHNIH4.js";
|
|
366
369
|
import {
|
|
367
370
|
MAY_BE_LIMITED_WINDOW_MS,
|
|
368
371
|
accountProductName,
|
|
@@ -382,7 +385,7 @@ import {
|
|
|
382
385
|
permissionModeDescription,
|
|
383
386
|
permissionModeLabel,
|
|
384
387
|
permissionModeName
|
|
385
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-7DSJTL5S.js";
|
|
386
389
|
import {
|
|
387
390
|
expandTabs,
|
|
388
391
|
terminalDisplayText
|
|
@@ -394,25 +397,25 @@ import {
|
|
|
394
397
|
loadSkillBody,
|
|
395
398
|
renderSkillRoster,
|
|
396
399
|
skillTierLabel
|
|
397
|
-
} from "./chunk-
|
|
400
|
+
} from "./chunk-P2CHZ6FL.js";
|
|
398
401
|
import "./chunk-ZWA2JRJV.js";
|
|
399
402
|
import "./chunk-NUGPLXVK.js";
|
|
400
403
|
import {
|
|
401
404
|
beginSubscriptionLogin,
|
|
402
405
|
parsePastedInput
|
|
403
|
-
} from "./chunk-
|
|
406
|
+
} from "./chunk-YJPHE4O3.js";
|
|
404
407
|
import {
|
|
405
408
|
apiKeyLogoutWord,
|
|
406
409
|
isApiKeyLogoutTarget
|
|
407
|
-
} from "./chunk-
|
|
410
|
+
} from "./chunk-HUUVQBZR.js";
|
|
408
411
|
import {
|
|
409
412
|
API_KEY_ACCOUNT_PROVIDERS,
|
|
410
413
|
openCliAccounts,
|
|
411
414
|
storedAccountSignedIn
|
|
412
|
-
} from "./chunk-
|
|
415
|
+
} from "./chunk-HNBF54TV.js";
|
|
413
416
|
import {
|
|
414
417
|
beginCodexDeviceLogin
|
|
415
|
-
} from "./chunk-
|
|
418
|
+
} from "./chunk-4IYPPPIR.js";
|
|
416
419
|
import {
|
|
417
420
|
ConversationIndexRefreshError,
|
|
418
421
|
activeConversationTurn,
|
|
@@ -442,29 +445,29 @@ import {
|
|
|
442
445
|
typedTextOf,
|
|
443
446
|
unansweredReviewPark,
|
|
444
447
|
unarchiveConversation
|
|
445
|
-
} from "./chunk-
|
|
446
|
-
import "./chunk-
|
|
448
|
+
} from "./chunk-Y34RP2OI.js";
|
|
449
|
+
import "./chunk-GXSMCKZJ.js";
|
|
447
450
|
import "./chunk-JQIBPPOL.js";
|
|
448
|
-
import "./chunk-
|
|
451
|
+
import "./chunk-YFKC2GZP.js";
|
|
449
452
|
import {
|
|
450
453
|
isTrusted,
|
|
451
454
|
trustDir
|
|
452
|
-
} from "./chunk-
|
|
455
|
+
} from "./chunk-6TUISLKZ.js";
|
|
453
456
|
import {
|
|
454
457
|
bindAccount,
|
|
455
458
|
findAccountByName,
|
|
456
459
|
isDefaultAccountId
|
|
457
|
-
} from "./chunk-
|
|
460
|
+
} from "./chunk-4ET34X7Z.js";
|
|
458
461
|
import {
|
|
459
462
|
startAutoUpdate
|
|
460
|
-
} from "./chunk-
|
|
463
|
+
} from "./chunk-GBRTN4AK.js";
|
|
461
464
|
import {
|
|
462
465
|
resolveNpmInvocation
|
|
463
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-XK4ANTIO.js";
|
|
464
467
|
import {
|
|
465
468
|
readManifest
|
|
466
469
|
} from "./chunk-AK2U3N2A.js";
|
|
467
|
-
import "./chunk-
|
|
470
|
+
import "./chunk-LJHHAKBL.js";
|
|
468
471
|
import {
|
|
469
472
|
ScheduleConflictError,
|
|
470
473
|
confirmationHolds,
|
|
@@ -493,7 +496,7 @@ import {
|
|
|
493
496
|
describeCacheLifetime,
|
|
494
497
|
promptCacheTtl,
|
|
495
498
|
providerOffersCacheLifetime
|
|
496
|
-
} from "./chunk-
|
|
499
|
+
} from "./chunk-ZFBUNTJO.js";
|
|
497
500
|
import "./chunk-OH6TB27S.js";
|
|
498
501
|
import {
|
|
499
502
|
COMPOSER_TRIGGER_DEFAULTS,
|
|
@@ -504,22 +507,33 @@ import {
|
|
|
504
507
|
approveShownMcpServers,
|
|
505
508
|
browserCallOrigin,
|
|
506
509
|
browserSiteRuleFor,
|
|
510
|
+
clearDecisionKey,
|
|
511
|
+
connectedPointsNotice,
|
|
512
|
+
connectionToBlock,
|
|
513
|
+
decisionStatusLine,
|
|
507
514
|
fingerprintMcpServer,
|
|
508
515
|
formatConfigSource,
|
|
509
516
|
isLargeRun,
|
|
510
517
|
loadConfigWithProvenance,
|
|
511
518
|
pendingProjectMcpServers,
|
|
512
519
|
pendingServersMessage,
|
|
520
|
+
readBoundDecisionKey,
|
|
521
|
+
readOffer,
|
|
513
522
|
readPermissionLayers,
|
|
514
|
-
|
|
515
|
-
|
|
523
|
+
readUserDecisionSetting,
|
|
524
|
+
recordOffer,
|
|
525
|
+
resolveComposerTriggers,
|
|
526
|
+
saveDecisionKey,
|
|
527
|
+
shouldOfferDecisionSetup,
|
|
528
|
+
writeConnection
|
|
529
|
+
} from "./chunk-6CZOIEKE.js";
|
|
516
530
|
import "./chunk-KONYGNG6.js";
|
|
517
531
|
import "./chunk-LCGXWCVU.js";
|
|
518
|
-
import "./chunk-
|
|
532
|
+
import "./chunk-KZNMCCYK.js";
|
|
519
533
|
import {
|
|
520
534
|
contextLogging,
|
|
521
535
|
installCliLogging
|
|
522
|
-
} from "./chunk-
|
|
536
|
+
} from "./chunk-P3KXW262.js";
|
|
523
537
|
import {
|
|
524
538
|
PROJECT_MCP_FILE,
|
|
525
539
|
parseMcpServerFile
|
|
@@ -549,7 +563,7 @@ import {
|
|
|
549
563
|
import {
|
|
550
564
|
primaryProvider,
|
|
551
565
|
writePreferences
|
|
552
|
-
} from "./chunk-
|
|
566
|
+
} from "./chunk-BCFC5GGU.js";
|
|
553
567
|
import {
|
|
554
568
|
automaticChoice,
|
|
555
569
|
automaticKind,
|
|
@@ -558,7 +572,7 @@ import {
|
|
|
558
572
|
discoverProviders,
|
|
559
573
|
hasApiCredential,
|
|
560
574
|
signedInSubscriptionProviders
|
|
561
|
-
} from "./chunk-
|
|
575
|
+
} from "./chunk-USIRIOSH.js";
|
|
562
576
|
import "./chunk-IE5XIE4W.js";
|
|
563
577
|
import {
|
|
564
578
|
ALL_PROVIDER_IDS,
|
|
@@ -572,9 +586,9 @@ import "./chunk-RI2KAZJO.js";
|
|
|
572
586
|
import {
|
|
573
587
|
isAnthropicOAuthToken,
|
|
574
588
|
readCodexCredentialFile
|
|
575
|
-
} from "./chunk-
|
|
576
|
-
import "./chunk-
|
|
577
|
-
import "./chunk-
|
|
589
|
+
} from "./chunk-2FMMT4JD.js";
|
|
590
|
+
import "./chunk-YYLILI2G.js";
|
|
591
|
+
import "./chunk-HXV7TDNY.js";
|
|
578
592
|
import "./chunk-JORONMD3.js";
|
|
579
593
|
import {
|
|
580
594
|
apiKeysPath,
|
|
@@ -593,10 +607,10 @@ import {
|
|
|
593
607
|
readStoredSubscriptionCredential,
|
|
594
608
|
writeStoredApiKey,
|
|
595
609
|
writeStoredGeminiApiKey
|
|
596
|
-
} from "./chunk-
|
|
610
|
+
} from "./chunk-ZLQ5BZ4X.js";
|
|
597
611
|
import {
|
|
598
612
|
namzuHomePath
|
|
599
|
-
} from "./chunk-
|
|
613
|
+
} from "./chunk-5AQVWTHV.js";
|
|
600
614
|
import {
|
|
601
615
|
ACCEPT_EDITS_TOOLS,
|
|
602
616
|
AccountRegistryError,
|
|
@@ -652,7 +666,7 @@ import {
|
|
|
652
666
|
validateTimeZone,
|
|
653
667
|
wakeBudgetFromEnv,
|
|
654
668
|
wrapUntrusted
|
|
655
|
-
} from "./chunk-
|
|
669
|
+
} from "./chunk-4WFAYG6V.js";
|
|
656
670
|
import {
|
|
657
671
|
__commonJS,
|
|
658
672
|
__export,
|
|
@@ -27374,18 +27388,18 @@ var wrapWord = /* @__PURE__ */ __name((rows, word, columns) => {
|
|
|
27374
27388
|
}
|
|
27375
27389
|
}, "wrapWord");
|
|
27376
27390
|
var stringVisibleTrimSpacesRight = /* @__PURE__ */ __name((string) => {
|
|
27377
|
-
const
|
|
27378
|
-
let last =
|
|
27391
|
+
const words2 = string.split(" ");
|
|
27392
|
+
let last = words2.length;
|
|
27379
27393
|
while (last > 0) {
|
|
27380
|
-
if (stringWidth(
|
|
27394
|
+
if (stringWidth(words2[last - 1]) > 0) {
|
|
27381
27395
|
break;
|
|
27382
27396
|
}
|
|
27383
27397
|
last--;
|
|
27384
27398
|
}
|
|
27385
|
-
if (last ===
|
|
27399
|
+
if (last === words2.length) {
|
|
27386
27400
|
return string;
|
|
27387
27401
|
}
|
|
27388
|
-
return
|
|
27402
|
+
return words2.slice(0, last).join(" ") + words2.slice(last).join("");
|
|
27389
27403
|
}, "stringVisibleTrimSpacesRight");
|
|
27390
27404
|
var expandTabs2 = /* @__PURE__ */ __name((line) => {
|
|
27391
27405
|
if (!line.includes(" ")) {
|
|
@@ -35597,10 +35611,10 @@ function phaseStatus(agents) {
|
|
|
35597
35611
|
__name(phaseStatus, "phaseStatus");
|
|
35598
35612
|
function wrapPhaseDetailLines(text, width) {
|
|
35599
35613
|
const safeWidth = Math.max(1, width);
|
|
35600
|
-
const
|
|
35614
|
+
const words2 = oneLine(text).split(" ").filter((word) => word.length > 0);
|
|
35601
35615
|
const lines2 = [];
|
|
35602
35616
|
let line = "";
|
|
35603
|
-
for (const word of
|
|
35617
|
+
for (const word of words2) {
|
|
35604
35618
|
const candidate = line ? `${line} ${word}` : word;
|
|
35605
35619
|
if (line && stringWidth(candidate) > safeWidth) {
|
|
35606
35620
|
lines2.push(line);
|
|
@@ -40081,6 +40095,276 @@ function notifyWorthyQuestion(input) {
|
|
|
40081
40095
|
}
|
|
40082
40096
|
__name(notifyWorthyQuestion, "notifyWorthyQuestion");
|
|
40083
40097
|
|
|
40098
|
+
// src/integrations/decision/openrouter.ts
|
|
40099
|
+
var OPENROUTER_DECISION_URL = "https://openrouter.ai/api/v1/systemone";
|
|
40100
|
+
var OPENROUTER_DECISION_MODELS_URL = "https://openrouter.ai/api/v1/models?output_modalities=decisions";
|
|
40101
|
+
var OPENROUTER_KEY_ENV = "OPENROUTER_API_KEY";
|
|
40102
|
+
var DEFAULT_OPENROUTER_DECISION_MODEL = "microsoft/microsoft-decision-1";
|
|
40103
|
+
var FALLBACK_OPENROUTER_DECISION_MODELS = [
|
|
40104
|
+
DEFAULT_OPENROUTER_DECISION_MODEL,
|
|
40105
|
+
"typesafe/jev-1.14"
|
|
40106
|
+
];
|
|
40107
|
+
var OPENROUTER_LIST_TIMEOUT_MS = 3e3;
|
|
40108
|
+
var MAX_DECISION_MODEL_ROWS = 200;
|
|
40109
|
+
var MAX_DECISION_MODEL_NAME = 80;
|
|
40110
|
+
var MAX_DECISION_LIST_BYTES = 1e6;
|
|
40111
|
+
function isValidDecisionModelId(id) {
|
|
40112
|
+
return /^[\w.\-:/]{1,128}$/.test(id);
|
|
40113
|
+
}
|
|
40114
|
+
__name(isValidDecisionModelId, "isValidDecisionModelId");
|
|
40115
|
+
function sanitizeServiceText(text, max) {
|
|
40116
|
+
const clean2 = text.replace(/\u001b(?:\[[0-?]*[ -/]*[@-~]|\][^\u0007\u001b]*(?:\u0007|\u001b\\)?|[@-Z\\-_])?/g, "").replace(/[\u0000-\u001f\u007f-\u009f\u2028\u2029]+/g, " ").replace(/ {2,}/g, " ").trim();
|
|
40117
|
+
return clean2.length > max ? `${clean2.slice(0, max - 1)}\u2026` : clean2;
|
|
40118
|
+
}
|
|
40119
|
+
__name(sanitizeServiceText, "sanitizeServiceText");
|
|
40120
|
+
function isRecord2(value) {
|
|
40121
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
40122
|
+
}
|
|
40123
|
+
__name(isRecord2, "isRecord");
|
|
40124
|
+
function parseDecisionModels(body) {
|
|
40125
|
+
const data = isRecord2(body) ? body.data : void 0;
|
|
40126
|
+
if (!Array.isArray(data)) return [];
|
|
40127
|
+
const out = [];
|
|
40128
|
+
for (const item of data.slice(0, MAX_DECISION_MODEL_ROWS)) {
|
|
40129
|
+
if (!isRecord2(item) || typeof item.id !== "string" || !isValidDecisionModelId(item.id)) continue;
|
|
40130
|
+
const price = isRecord2(item.pricing) ? Number(item.pricing.prompt) : Number.NaN;
|
|
40131
|
+
const hasPrice = Number.isFinite(price) && price >= 0;
|
|
40132
|
+
const context = Number(item.context_length);
|
|
40133
|
+
out.push({
|
|
40134
|
+
id: item.id,
|
|
40135
|
+
name: (typeof item.name === "string" ? sanitizeServiceText(item.name, MAX_DECISION_MODEL_NAME) : "") || item.id,
|
|
40136
|
+
...hasPrice ? { pricePerMillion: price * 1e6 } : {},
|
|
40137
|
+
free: hasPrice && price === 0,
|
|
40138
|
+
...Number.isFinite(context) && context > 0 ? { contextLength: context } : {}
|
|
40139
|
+
});
|
|
40140
|
+
}
|
|
40141
|
+
return out.sort((a, b) => {
|
|
40142
|
+
const pa = a.pricePerMillion ?? Number.POSITIVE_INFINITY;
|
|
40143
|
+
const pb = b.pricePerMillion ?? Number.POSITIVE_INFINITY;
|
|
40144
|
+
return pa !== pb ? pa - pb : a.name.localeCompare(b.name);
|
|
40145
|
+
});
|
|
40146
|
+
}
|
|
40147
|
+
__name(parseDecisionModels, "parseDecisionModels");
|
|
40148
|
+
function realTimeout(ms) {
|
|
40149
|
+
const controller = new AbortController();
|
|
40150
|
+
const timer = setTimeout(() => controller.abort(), ms);
|
|
40151
|
+
return { signal: controller.signal, clear: /* @__PURE__ */ __name(() => clearTimeout(timer), "clear") };
|
|
40152
|
+
}
|
|
40153
|
+
__name(realTimeout, "realTimeout");
|
|
40154
|
+
async function readCapped(res, max) {
|
|
40155
|
+
const declared = Number(res.headers?.get("content-length"));
|
|
40156
|
+
if (Number.isFinite(declared) && declared > max) return void 0;
|
|
40157
|
+
if (!res.body) {
|
|
40158
|
+
const text2 = await res.text();
|
|
40159
|
+
return text2.length > max ? void 0 : text2;
|
|
40160
|
+
}
|
|
40161
|
+
const reader = res.body.getReader();
|
|
40162
|
+
const decoder = new TextDecoder();
|
|
40163
|
+
let total = 0;
|
|
40164
|
+
let text = "";
|
|
40165
|
+
for (; ; ) {
|
|
40166
|
+
const { done, value } = await reader.read();
|
|
40167
|
+
if (done) break;
|
|
40168
|
+
total += value.byteLength;
|
|
40169
|
+
if (total > max) {
|
|
40170
|
+
await reader.cancel().catch(() => {
|
|
40171
|
+
});
|
|
40172
|
+
return void 0;
|
|
40173
|
+
}
|
|
40174
|
+
text += decoder.decode(value, { stream: true });
|
|
40175
|
+
}
|
|
40176
|
+
return text + decoder.decode();
|
|
40177
|
+
}
|
|
40178
|
+
__name(readCapped, "readCapped");
|
|
40179
|
+
async function fetchDecisionModels(deps = {}) {
|
|
40180
|
+
const timeout = (deps.startTimeout ?? realTimeout)(OPENROUTER_LIST_TIMEOUT_MS);
|
|
40181
|
+
try {
|
|
40182
|
+
const res = await (deps.fetch ?? globalThis.fetch)(OPENROUTER_DECISION_MODELS_URL, {
|
|
40183
|
+
signal: timeout.signal
|
|
40184
|
+
});
|
|
40185
|
+
if (!res.ok) return { ok: false };
|
|
40186
|
+
const text = await readCapped(res, MAX_DECISION_LIST_BYTES);
|
|
40187
|
+
if (text === void 0) return { ok: false };
|
|
40188
|
+
const models = parseDecisionModels(JSON.parse(text));
|
|
40189
|
+
return models.length > 0 ? { ok: true, models } : { ok: false };
|
|
40190
|
+
} catch {
|
|
40191
|
+
return { ok: false };
|
|
40192
|
+
} finally {
|
|
40193
|
+
timeout.clear();
|
|
40194
|
+
}
|
|
40195
|
+
}
|
|
40196
|
+
__name(fetchDecisionModels, "fetchDecisionModels");
|
|
40197
|
+
function trim(value) {
|
|
40198
|
+
return String(Number(value.toPrecision(3)));
|
|
40199
|
+
}
|
|
40200
|
+
__name(trim, "trim");
|
|
40201
|
+
function formatPrice(model) {
|
|
40202
|
+
if (model.free) return "free";
|
|
40203
|
+
if (model.pricePerMillion === void 0) return "price not listed";
|
|
40204
|
+
return `$${trim(model.pricePerMillion)} per 1M input tokens`;
|
|
40205
|
+
}
|
|
40206
|
+
__name(formatPrice, "formatPrice");
|
|
40207
|
+
function formatContext(tokens) {
|
|
40208
|
+
return tokens >= 1e6 ? `${trim(tokens / 1e6)}M context` : tokens >= 1e3 ? `${Math.round(tokens / 1e3)}k context` : `${tokens} context`;
|
|
40209
|
+
}
|
|
40210
|
+
__name(formatContext, "formatContext");
|
|
40211
|
+
function decisionModelOptions(models) {
|
|
40212
|
+
const found = models.findIndex((m) => m.id === DEFAULT_OPENROUTER_DECISION_MODEL);
|
|
40213
|
+
return {
|
|
40214
|
+
values: models.map((m) => m.id),
|
|
40215
|
+
options: models.map((m) => ({
|
|
40216
|
+
label: m.name,
|
|
40217
|
+
description: [formatPrice(m), m.contextLength ? formatContext(m.contextLength) : void 0].filter(Boolean).join(" \xB7 "),
|
|
40218
|
+
...m.id === DEFAULT_OPENROUTER_DECISION_MODEL ? { default: true } : {}
|
|
40219
|
+
})),
|
|
40220
|
+
defaultIndex: found >= 0 ? found : 0
|
|
40221
|
+
};
|
|
40222
|
+
}
|
|
40223
|
+
__name(decisionModelOptions, "decisionModelOptions");
|
|
40224
|
+
function findOpenRouterKey(env3, home, readStored = readStoredApiKey) {
|
|
40225
|
+
if (env3[OPENROUTER_KEY_ENV]) return { source: "env", env: OPENROUTER_KEY_ENV };
|
|
40226
|
+
try {
|
|
40227
|
+
const key = readStored("openrouter", home);
|
|
40228
|
+
if (key) return { source: "store", key };
|
|
40229
|
+
} catch {
|
|
40230
|
+
}
|
|
40231
|
+
return void 0;
|
|
40232
|
+
}
|
|
40233
|
+
__name(findOpenRouterKey, "findOpenRouterKey");
|
|
40234
|
+
function openRouterKeyNotice(found) {
|
|
40235
|
+
return found.source === "env" ? `Using your OpenRouter key from ${found.env}.` : "Using the OpenRouter key you already saved, and saving a copy for the decision model.";
|
|
40236
|
+
}
|
|
40237
|
+
__name(openRouterKeyNotice, "openRouterKeyNotice");
|
|
40238
|
+
|
|
40239
|
+
// src/integrations/decision/setup.ts
|
|
40240
|
+
var CONNECTION_TEST_TIMEOUT_MS = 3e3;
|
|
40241
|
+
function realTimeout2(ms) {
|
|
40242
|
+
const controller = new AbortController();
|
|
40243
|
+
const timer = setTimeout(() => controller.abort(), ms);
|
|
40244
|
+
return { signal: controller.signal, clear: /* @__PURE__ */ __name(() => clearTimeout(timer), "clear") };
|
|
40245
|
+
}
|
|
40246
|
+
__name(realTimeout2, "realTimeout");
|
|
40247
|
+
function isQuestionShapeError(error) {
|
|
40248
|
+
return error instanceof DecisionError && error.status === 400 && /(missing|null|required).*(instructions|criteria)|(instructions|criteria).*(missing|null|required)/i.test(
|
|
40249
|
+
error.message
|
|
40250
|
+
);
|
|
40251
|
+
}
|
|
40252
|
+
__name(isQuestionShapeError, "isQuestionShapeError");
|
|
40253
|
+
function explainConnectionFailure(error, timedOut) {
|
|
40254
|
+
const said = /* @__PURE__ */ __name((e) => sanitizeServiceText(e.message, 200), "said");
|
|
40255
|
+
if (timedOut) return `no answer within ${CONNECTION_TEST_TIMEOUT_MS / 1e3} s`;
|
|
40256
|
+
if (error instanceof DecisionError) {
|
|
40257
|
+
if (error.status === 401 || error.status === 403)
|
|
40258
|
+
return `the service refused the key (${error.status})`;
|
|
40259
|
+
if (isQuestionShapeError(error))
|
|
40260
|
+
return `the model does not work with Namzu's questions (${said(error)})`;
|
|
40261
|
+
if (error.status === 404) return "nothing answered at that address or deployment (404)";
|
|
40262
|
+
if (error.status !== void 0) return `the service answered ${error.status}: ${said(error)}`;
|
|
40263
|
+
return said(error);
|
|
40264
|
+
}
|
|
40265
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
40266
|
+
if (/no credential|empty|token|api.?key/i.test(message)) return `no credential: ${message}`;
|
|
40267
|
+
return `could not reach it (${message})`;
|
|
40268
|
+
}
|
|
40269
|
+
__name(explainConnectionFailure, "explainConnectionFailure");
|
|
40270
|
+
async function testDecisionConnection(cfg, env3, deps = {}) {
|
|
40271
|
+
const now = deps.now ?? Date.now;
|
|
40272
|
+
const { points: _points, ...block } = cfg;
|
|
40273
|
+
const cost = {};
|
|
40274
|
+
const baseFetch = deps.fetch ?? ((input, init) => globalThis.fetch(input, init));
|
|
40275
|
+
const model = maybeCreateDecisionModel(
|
|
40276
|
+
block,
|
|
40277
|
+
{ ...env3, NAMZU_NO_DECISION: "" },
|
|
40278
|
+
{
|
|
40279
|
+
...deps,
|
|
40280
|
+
fetch: /* @__PURE__ */ __name(async (input, init) => {
|
|
40281
|
+
const res = await baseFetch(input, init);
|
|
40282
|
+
try {
|
|
40283
|
+
const body = await res.clone().json();
|
|
40284
|
+
if (typeof body.usage?.cost === "number") cost.usd = body.usage.cost;
|
|
40285
|
+
} catch {
|
|
40286
|
+
}
|
|
40287
|
+
return res;
|
|
40288
|
+
}, "fetch")
|
|
40289
|
+
}
|
|
40290
|
+
);
|
|
40291
|
+
if (!model) return { ok: false, reason: "nothing is configured" };
|
|
40292
|
+
const timeout = (deps.startTimeout ?? realTimeout2)(CONNECTION_TEST_TIMEOUT_MS);
|
|
40293
|
+
const started = now();
|
|
40294
|
+
try {
|
|
40295
|
+
await model.yesno("ok", "Is this a connection test?", { signal: timeout.signal });
|
|
40296
|
+
return {
|
|
40297
|
+
ok: true,
|
|
40298
|
+
ms: Math.max(0, Math.round(now() - started)),
|
|
40299
|
+
...cost.usd !== void 0 ? { costUsd: cost.usd } : {}
|
|
40300
|
+
};
|
|
40301
|
+
} catch (error) {
|
|
40302
|
+
return {
|
|
40303
|
+
ok: false,
|
|
40304
|
+
reason: explainConnectionFailure(error, timeout.signal.aborted),
|
|
40305
|
+
...!timeout.signal.aborted && isQuestionShapeError(error) ? { unsupportedModel: true } : {}
|
|
40306
|
+
};
|
|
40307
|
+
} finally {
|
|
40308
|
+
timeout.clear();
|
|
40309
|
+
}
|
|
40310
|
+
}
|
|
40311
|
+
__name(testDecisionConnection, "testDecisionConnection");
|
|
40312
|
+
async function listAzureDeployments(endpoint, key, deps = {}) {
|
|
40313
|
+
const timeout = (deps.startTimeout ?? realTimeout2)(CONNECTION_TEST_TIMEOUT_MS);
|
|
40314
|
+
try {
|
|
40315
|
+
const res = await (deps.fetch ?? globalThis.fetch)(
|
|
40316
|
+
`${endpoint}/openai/deployments?api-version=2023-03-15-preview`,
|
|
40317
|
+
{ headers: { "api-key": key }, signal: timeout.signal }
|
|
40318
|
+
);
|
|
40319
|
+
if (!res.ok) return [];
|
|
40320
|
+
const body = await res.json();
|
|
40321
|
+
if (!Array.isArray(body.data)) return [];
|
|
40322
|
+
return body.data.map((item) => item && typeof item === "object" ? item.id : void 0).filter((id) => typeof id === "string" && id.length > 0);
|
|
40323
|
+
} catch {
|
|
40324
|
+
return [];
|
|
40325
|
+
} finally {
|
|
40326
|
+
timeout.clear();
|
|
40327
|
+
}
|
|
40328
|
+
}
|
|
40329
|
+
__name(listAzureDeployments, "listAzureDeployments");
|
|
40330
|
+
function draftToConnection(draft) {
|
|
40331
|
+
if (draft.kind === "azure") {
|
|
40332
|
+
return draft.endpoint && draft.deployment ? { provider: "azure", endpoint: draft.endpoint, deployment: draft.deployment } : void 0;
|
|
40333
|
+
}
|
|
40334
|
+
if (draft.kind === "openrouter") {
|
|
40335
|
+
return draft.model ? {
|
|
40336
|
+
provider: "http",
|
|
40337
|
+
url: OPENROUTER_DECISION_URL,
|
|
40338
|
+
model: draft.model,
|
|
40339
|
+
...draft.keyEnv ? { apiKeyEnv: draft.keyEnv } : {}
|
|
40340
|
+
} : void 0;
|
|
40341
|
+
}
|
|
40342
|
+
return draft.url ? { provider: "http", url: draft.url, ...draft.model ? { model: draft.model } : {} } : void 0;
|
|
40343
|
+
}
|
|
40344
|
+
__name(draftToConnection, "draftToConnection");
|
|
40345
|
+
function saveConnection(draft, opts = {}) {
|
|
40346
|
+
const connection = draftToConnection(draft);
|
|
40347
|
+
if (!connection) throw new Error("The connection is missing its address.");
|
|
40348
|
+
if (draft.key) saveDecisionKey(draft.key, opts);
|
|
40349
|
+
else clearDecisionKey(opts);
|
|
40350
|
+
writeConnection(connection, opts);
|
|
40351
|
+
const configFile = setUserConfigValue(["decision"], connectionToBlock(connection), {
|
|
40352
|
+
...opts.home ? { home: opts.home } : {},
|
|
40353
|
+
...opts.env ? { env: opts.env } : {}
|
|
40354
|
+
});
|
|
40355
|
+
return { connection, configFile };
|
|
40356
|
+
}
|
|
40357
|
+
__name(saveConnection, "saveConnection");
|
|
40358
|
+
function connectedNotice(result) {
|
|
40359
|
+
return result.ok ? `Connected \xB7 ${result.ms} ms${result.costUsd === void 0 ? "" : ` \xB7 test cost ${formatCost(result.costUsd)}`}` : `Saved, but not connected: ${result.reason}`;
|
|
40360
|
+
}
|
|
40361
|
+
__name(connectedNotice, "connectedNotice");
|
|
40362
|
+
function formatCost(usd) {
|
|
40363
|
+
if (usd <= 0) return "no charge";
|
|
40364
|
+
return `$${usd.toFixed(Math.min(10, Math.max(4, 1 - Math.floor(Math.log10(usd)))))}`;
|
|
40365
|
+
}
|
|
40366
|
+
__name(formatCost, "formatCost");
|
|
40367
|
+
|
|
40084
40368
|
// src/integrations/decision/skill.ts
|
|
40085
40369
|
var SKILL_WORTHY_REQUEST_CHARS = 600;
|
|
40086
40370
|
var SKILL_WORTHY_INSTRUCTIONS = "Is this a repeatable procedure that the person would want done the same way again on another day? Answer yes for a multi-step routine with a stable shape, such as preparing a release, setting up a project, or a recurring check. Answer no for a one-off task, an investigation into a particular problem, or work that only made sense for this one situation.";
|
|
@@ -41235,11 +41519,11 @@ __name(BrandHeader, "BrandHeader");
|
|
|
41235
41519
|
|
|
41236
41520
|
// src/tui/choice-selection.ts
|
|
41237
41521
|
function filterChoiceOptions(options, query) {
|
|
41238
|
-
const
|
|
41239
|
-
if (
|
|
41522
|
+
const words2 = query.normalize("NFKC").toLowerCase().trim().split(/\s+/).filter(Boolean);
|
|
41523
|
+
if (words2.length === 0) return options;
|
|
41240
41524
|
return options.filter((option) => {
|
|
41241
41525
|
const text = [option.label, option.description, option.searchText ?? ""].join(" ").normalize("NFKC").toLowerCase();
|
|
41242
|
-
return
|
|
41526
|
+
return words2.every((word) => text.includes(word));
|
|
41243
41527
|
});
|
|
41244
41528
|
}
|
|
41245
41529
|
__name(filterChoiceOptions, "filterChoiceOptions");
|
|
@@ -43176,14 +43460,14 @@ function compilePattern(source) {
|
|
|
43176
43460
|
}
|
|
43177
43461
|
__name(compilePattern, "compilePattern");
|
|
43178
43462
|
function firstWords(pattern) {
|
|
43179
|
-
const
|
|
43463
|
+
const words2 = /* @__PURE__ */ new Set();
|
|
43180
43464
|
for (const index of closure(pattern.states, [pattern.start])) {
|
|
43181
43465
|
for (const edge of pattern.states[index]?.edges ?? []) {
|
|
43182
43466
|
if (edge.atom.kind !== "word") return null;
|
|
43183
|
-
|
|
43467
|
+
words2.add(edge.atom.text);
|
|
43184
43468
|
}
|
|
43185
43469
|
}
|
|
43186
|
-
return
|
|
43470
|
+
return words2;
|
|
43187
43471
|
}
|
|
43188
43472
|
__name(firstWords, "firstWords");
|
|
43189
43473
|
function closure(states, seeds) {
|
|
@@ -43367,11 +43651,11 @@ function detectTriggers(draft, registry, context, options = {}) {
|
|
|
43367
43651
|
return EMPTY_DETECTION;
|
|
43368
43652
|
if (draft.length > MAX_SCANNED_DRAFT) return { hits: [], onlyTriggers: false, paused: "too-long" };
|
|
43369
43653
|
const analysis = analyze(draft);
|
|
43370
|
-
const
|
|
43654
|
+
const words2 = analysis.tokens.map((token) => token.text);
|
|
43371
43655
|
const hits = [];
|
|
43372
43656
|
const armedTokens = /* @__PURE__ */ new Set();
|
|
43373
43657
|
for (const trigger of registry.triggers) {
|
|
43374
|
-
const found = bestCandidate(trigger, analysis,
|
|
43658
|
+
const found = bestCandidate(trigger, analysis, words2, options.stats);
|
|
43375
43659
|
if (!found) continue;
|
|
43376
43660
|
const start = analysis.tokens[found.first]?.start ?? 0;
|
|
43377
43661
|
const end = analysis.tokens[found.last]?.end ?? start;
|
|
@@ -43401,7 +43685,7 @@ function detectTriggers(draft, registry, context, options = {}) {
|
|
|
43401
43685
|
return { hits, onlyTriggers };
|
|
43402
43686
|
}
|
|
43403
43687
|
__name(detectTriggers, "detectTriggers");
|
|
43404
|
-
function bestCandidate(trigger, analysis,
|
|
43688
|
+
function bestCandidate(trigger, analysis, words2, stats) {
|
|
43405
43689
|
const candidates = [];
|
|
43406
43690
|
const { tokens } = analysis;
|
|
43407
43691
|
for (let index = 0; index < tokens.length; index += 1) {
|
|
@@ -43411,7 +43695,7 @@ function bestCandidate(trigger, analysis, words, stats) {
|
|
|
43411
43695
|
candidates.push({ first: index, last: index, strict: keywordIsStrict(analysis, index) });
|
|
43412
43696
|
}
|
|
43413
43697
|
for (const phrase of trigger.phrases) {
|
|
43414
|
-
const match = matchAt(phrase.pattern,
|
|
43698
|
+
const match = matchAt(phrase.pattern, words2, index, stats)[0];
|
|
43415
43699
|
if (!match) continue;
|
|
43416
43700
|
const first = match.start;
|
|
43417
43701
|
const last = match.end - 1;
|
|
@@ -45908,11 +46192,11 @@ __name(sessionCredential, "sessionCredential");
|
|
|
45908
46192
|
|
|
45909
46193
|
// src/tui/model-search.ts
|
|
45910
46194
|
function filterModelChoices(choices2, query, headings) {
|
|
45911
|
-
const
|
|
45912
|
-
if (
|
|
46195
|
+
const words2 = query.normalize("NFKC").toLowerCase().trim().split(/\s+/).filter(Boolean);
|
|
46196
|
+
if (words2.length === 0) return choices2;
|
|
45913
46197
|
return choices2.filter((choice2) => {
|
|
45914
46198
|
const text = `${choice2.id} ${choice2.label} ${choice2.note ?? ""} ${headings?.get(choice2.id) ?? ""}`.normalize("NFKC").toLowerCase();
|
|
45915
|
-
return
|
|
46199
|
+
return words2.every((word) => text.includes(word));
|
|
45916
46200
|
});
|
|
45917
46201
|
}
|
|
45918
46202
|
__name(filterModelChoices, "filterModelChoices");
|
|
@@ -47268,8 +47552,8 @@ function HintLines({
|
|
|
47268
47552
|
color
|
|
47269
47553
|
}) {
|
|
47270
47554
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, { children: wrapChoiceText(text, width).map((line, at) => {
|
|
47271
|
-
const
|
|
47272
|
-
const key =
|
|
47555
|
+
const words2 = line.split(" ");
|
|
47556
|
+
const key = words2.indexOf(keyLetter);
|
|
47273
47557
|
if (key < 0) {
|
|
47274
47558
|
return (
|
|
47275
47559
|
// biome-ignore lint/suspicious/noArrayIndexKey: these rows have no identity of their own and hold no state, so the index is the key.
|
|
@@ -47279,9 +47563,9 @@ function HintLines({
|
|
|
47279
47563
|
return (
|
|
47280
47564
|
// biome-ignore lint/suspicious/noArrayIndexKey: these rows have no identity of their own and hold no state, so the index is the key.
|
|
47281
47565
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Text, { color, children: [
|
|
47282
|
-
`${
|
|
47566
|
+
`${words2.slice(0, key).join(" ")}${key > 0 ? " " : ""}`,
|
|
47283
47567
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: theme.accent.system, children: keyLetter }),
|
|
47284
|
-
key <
|
|
47568
|
+
key < words2.length - 1 ? ` ${words2.slice(key + 1).join(" ")}` : ""
|
|
47285
47569
|
] }, at)
|
|
47286
47570
|
);
|
|
47287
47571
|
}) });
|
|
@@ -47931,8 +48215,8 @@ function onlyLinkedToPullRequest(conversations, filter) {
|
|
|
47931
48215
|
}
|
|
47932
48216
|
__name(onlyLinkedToPullRequest, "onlyLinkedToPullRequest");
|
|
47933
48217
|
function filterConversations(conversations, query) {
|
|
47934
|
-
const
|
|
47935
|
-
if (
|
|
48218
|
+
const words2 = query.toLowerCase().split(/\s+/).filter(Boolean);
|
|
48219
|
+
if (words2.length === 0) return conversations;
|
|
47936
48220
|
return conversations.filter((conversation) => {
|
|
47937
48221
|
const haystack = [
|
|
47938
48222
|
conversation.title,
|
|
@@ -47940,7 +48224,7 @@ function filterConversations(conversations, query) {
|
|
|
47940
48224
|
conversation.preview,
|
|
47941
48225
|
conversation.pr ? `pr #${conversation.pr.number} ${conversation.pr.repository}` : void 0
|
|
47942
48226
|
].filter((part) => typeof part === "string").join("\n").toLowerCase();
|
|
47943
|
-
return
|
|
48227
|
+
return words2.every((word) => haystack.includes(word));
|
|
47944
48228
|
});
|
|
47945
48229
|
}
|
|
47946
48230
|
__name(filterConversations, "filterConversations");
|
|
@@ -48911,6 +49195,7 @@ function StatusBar({
|
|
|
48911
49195
|
provider,
|
|
48912
49196
|
model,
|
|
48913
49197
|
effort,
|
|
49198
|
+
fast = false,
|
|
48914
49199
|
goal,
|
|
48915
49200
|
state,
|
|
48916
49201
|
hint,
|
|
@@ -48949,6 +49234,7 @@ function StatusBar({
|
|
|
48949
49234
|
model,
|
|
48950
49235
|
provider,
|
|
48951
49236
|
effort: effort ?? null,
|
|
49237
|
+
fast,
|
|
48952
49238
|
hint,
|
|
48953
49239
|
notice: notice?.text ?? null,
|
|
48954
49240
|
ambient: ambient?.text ?? null,
|
|
@@ -48995,6 +49281,11 @@ function StatusBar({
|
|
|
48995
49281
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { color: theme.text.secondary, children: layout.effort }, "effort")
|
|
48996
49282
|
);
|
|
48997
49283
|
}
|
|
49284
|
+
if (layout.fast) {
|
|
49285
|
+
parts.push(
|
|
49286
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { color: theme.text.secondary, children: layout.fast }, "fast")
|
|
49287
|
+
);
|
|
49288
|
+
}
|
|
48998
49289
|
if (layout.interrupt) {
|
|
48999
49290
|
parts.push(
|
|
49000
49291
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { color: theme.text.muted, children: layout.interrupt }, "interrupt")
|
|
@@ -49089,11 +49380,13 @@ function fitStatusLine(input) {
|
|
|
49089
49380
|
let tasks = input.tasks ?? null;
|
|
49090
49381
|
let pr = input.pr ?? null;
|
|
49091
49382
|
let effort = input.effort ? `effort ${input.effort}` : null;
|
|
49383
|
+
let fast = input.fast === true ? "fast" : null;
|
|
49092
49384
|
const parts = /* @__PURE__ */ __name(() => [
|
|
49093
49385
|
mode ? `${mode}${cycleSuffix ?? ""}` : null,
|
|
49094
49386
|
pr ? `${pr.prefix ? `${pr.prefix} ` : ""}${pr.label}` : null,
|
|
49095
49387
|
shells,
|
|
49096
49388
|
effort,
|
|
49389
|
+
fast,
|
|
49097
49390
|
interrupt,
|
|
49098
49391
|
agents,
|
|
49099
49392
|
manage,
|
|
@@ -49112,6 +49405,7 @@ function fitStatusLine(input) {
|
|
|
49112
49405
|
if (over()) interrupt = null;
|
|
49113
49406
|
if (over()) cycleSuffix = null;
|
|
49114
49407
|
if (over()) manage = null;
|
|
49408
|
+
if (over()) fast = null;
|
|
49115
49409
|
if (over()) effort = null;
|
|
49116
49410
|
if (over()) shells = null;
|
|
49117
49411
|
if (over()) pr = null;
|
|
@@ -49135,6 +49429,7 @@ function fitStatusLine(input) {
|
|
|
49135
49429
|
shells,
|
|
49136
49430
|
pr,
|
|
49137
49431
|
effort,
|
|
49432
|
+
fast,
|
|
49138
49433
|
agents,
|
|
49139
49434
|
manage,
|
|
49140
49435
|
tasks,
|
|
@@ -50520,6 +50815,315 @@ function runnableCommands(source) {
|
|
|
50520
50815
|
}
|
|
50521
50816
|
__name(runnableCommands, "runnableCommands");
|
|
50522
50817
|
|
|
50818
|
+
// src/integrations/decision/paste.ts
|
|
50819
|
+
var ENDPOINT_PATTERN = /(?<=^|[\s"'`(\[{<,;]|(?:endpoint|uri|url)[=:])https:\/\/[a-z0-9][a-z0-9-]*\.(?:services\.ai|cognitiveservices)\.azure\.com(?=[\s/:?#"'`),;\]}>]|\.(?:\s|$)|$)/i;
|
|
50820
|
+
var DEPLOYMENT_IN_URL = /\/deployments\/([A-Za-z0-9][A-Za-z0-9._-]*)/;
|
|
50821
|
+
var KEY_SHAPE = /^[A-Za-z0-9+/_=-]{20,}$/;
|
|
50822
|
+
function normalizeAzureEndpoint(text) {
|
|
50823
|
+
const match = ENDPOINT_PATTERN.exec(text);
|
|
50824
|
+
return match ? match[0].toLowerCase() : void 0;
|
|
50825
|
+
}
|
|
50826
|
+
__name(normalizeAzureEndpoint, "normalizeAzureEndpoint");
|
|
50827
|
+
function strip(token) {
|
|
50828
|
+
return token.replace(/^["'`([{]+|["'`,;)\]}]+$/g, "");
|
|
50829
|
+
}
|
|
50830
|
+
__name(strip, "strip");
|
|
50831
|
+
function isUrl(token) {
|
|
50832
|
+
return /^[a-z][a-z0-9+.-]*:\/\//i.test(token);
|
|
50833
|
+
}
|
|
50834
|
+
__name(isUrl, "isUrl");
|
|
50835
|
+
function words(text) {
|
|
50836
|
+
const out = [];
|
|
50837
|
+
for (const raw of text.split(/\s+/)) {
|
|
50838
|
+
const token = strip(raw);
|
|
50839
|
+
if (token.length === 0) continue;
|
|
50840
|
+
if (isUrl(token)) {
|
|
50841
|
+
out.push(token);
|
|
50842
|
+
continue;
|
|
50843
|
+
}
|
|
50844
|
+
const at = token.search(/[:=]/);
|
|
50845
|
+
if (at > 0 && /^[A-Za-z][A-Za-z0-9 _-]*$/.test(token.slice(0, at))) {
|
|
50846
|
+
const rest = strip(token.slice(at + 1));
|
|
50847
|
+
if (rest === "" && token[at] === ":") out.push(token.slice(0, at));
|
|
50848
|
+
else if (rest === "" || /^=+$/.test(rest)) out.push(token);
|
|
50849
|
+
else out.push(token.slice(0, at), rest);
|
|
50850
|
+
} else out.push(token);
|
|
50851
|
+
}
|
|
50852
|
+
return out;
|
|
50853
|
+
}
|
|
50854
|
+
__name(words, "words");
|
|
50855
|
+
function looksLikeKey(token) {
|
|
50856
|
+
return KEY_SHAPE.test(token) && !isUrl(token) && /[0-9]/.test(token);
|
|
50857
|
+
}
|
|
50858
|
+
__name(looksLikeKey, "looksLikeKey");
|
|
50859
|
+
function parseAzurePaste(input) {
|
|
50860
|
+
const endpoint = normalizeAzureEndpoint(input);
|
|
50861
|
+
let deployment = DEPLOYMENT_IN_URL.exec(input)?.[1];
|
|
50862
|
+
const tokens = words(input);
|
|
50863
|
+
const labelled = [];
|
|
50864
|
+
let sawLabel = false;
|
|
50865
|
+
for (let i = 0; i < tokens.length; i += 1) {
|
|
50866
|
+
const word = tokens[i].toLowerCase();
|
|
50867
|
+
let at = -1;
|
|
50868
|
+
let rank = 1;
|
|
50869
|
+
if (/^(?:key|apikey|api-key|api_key|subscription-key|ocp-apim-subscription-key)[-_]?([12])?$/.test(
|
|
50870
|
+
word
|
|
50871
|
+
)) {
|
|
50872
|
+
rank = Number(/([12])$/.exec(word)?.[1] ?? 1);
|
|
50873
|
+
at = i + 1;
|
|
50874
|
+
} else if (word === "api" && (tokens[i + 1] ?? "").toLowerCase() === "key") {
|
|
50875
|
+
at = i + 2;
|
|
50876
|
+
}
|
|
50877
|
+
if (at >= 0) {
|
|
50878
|
+
sawLabel = true;
|
|
50879
|
+
let next = tokens[at];
|
|
50880
|
+
if (next !== void 0 && /^[12]$/.test(next)) {
|
|
50881
|
+
rank = Number(next);
|
|
50882
|
+
next = tokens[at + 1];
|
|
50883
|
+
}
|
|
50884
|
+
if (next !== void 0 && looksLikeKey(next)) labelled.push({ rank, value: next });
|
|
50885
|
+
} else if (deployment === void 0 && word === "deployment") {
|
|
50886
|
+
let next = tokens[i + 1];
|
|
50887
|
+
if (next?.toLowerCase() === "name") next = tokens[i + 2];
|
|
50888
|
+
if (next !== void 0 && /^[A-Za-z0-9][A-Za-z0-9._-]*$/.test(next) && !isUrl(next))
|
|
50889
|
+
deployment = next;
|
|
50890
|
+
}
|
|
50891
|
+
}
|
|
50892
|
+
labelled.sort((a, b) => a.rank - b.rank);
|
|
50893
|
+
const key = labelled[0]?.value ?? (endpoint === void 0 && !sawLabel ? tokens.find((token) => looksLikeKey(token) && !token.includes("-")) : void 0);
|
|
50894
|
+
return {
|
|
50895
|
+
...endpoint !== void 0 ? { endpoint } : {},
|
|
50896
|
+
...key !== void 0 ? { key } : {},
|
|
50897
|
+
...deployment !== void 0 ? { deployment } : {}
|
|
50898
|
+
};
|
|
50899
|
+
}
|
|
50900
|
+
__name(parseAzurePaste, "parseAzurePaste");
|
|
50901
|
+
|
|
50902
|
+
// src/tui/decision-setup-flow.ts
|
|
50903
|
+
var DECISION_OFFER_TITLE = "Use a decision model to make Namzu's small decisions more accurate?";
|
|
50904
|
+
var DECISION_OFFER_VALUES = ["yes", "later", "never"];
|
|
50905
|
+
var DECISION_OFFER_OPTIONS = [
|
|
50906
|
+
{
|
|
50907
|
+
label: "Yes",
|
|
50908
|
+
description: "Connect one. It sees short excerpts of a turn: it acts on notify and skill, and only records for memory and pick until you turn those on."
|
|
50909
|
+
},
|
|
50910
|
+
{ label: "Not now", description: "Ask again after a later model pick, at most once a day." },
|
|
50911
|
+
{ label: "Don't ask again", description: "You can still connect one by hand in the config." }
|
|
50912
|
+
];
|
|
50913
|
+
var DECISION_KIND_VALUES = ["openrouter", "azure", "http"];
|
|
50914
|
+
var DECISION_KIND_OPTIONS = [
|
|
50915
|
+
{
|
|
50916
|
+
label: "OpenRouter",
|
|
50917
|
+
description: "Pick from the decision models it lists, with prices. Uses your OpenRouter key."
|
|
50918
|
+
},
|
|
50919
|
+
{ label: "Azure AI Foundry", description: "Paste the Keys and Endpoint text from the portal." },
|
|
50920
|
+
{ label: "My own server (HTTP)", description: "An address, and a key if it wants one." }
|
|
50921
|
+
];
|
|
50922
|
+
function decisionPrompt(step, hints = {}) {
|
|
50923
|
+
switch (step) {
|
|
50924
|
+
case "openrouter-key":
|
|
50925
|
+
return {
|
|
50926
|
+
step,
|
|
50927
|
+
title: "OpenRouter key",
|
|
50928
|
+
placeholder: "Paste your OpenRouter key \xB7 it is saved privately and never shown",
|
|
50929
|
+
emptyNotice: "A key is required. Press Esc to cancel.",
|
|
50930
|
+
initialValue: "",
|
|
50931
|
+
mask: true
|
|
50932
|
+
};
|
|
50933
|
+
case "openrouter-model":
|
|
50934
|
+
return {
|
|
50935
|
+
step,
|
|
50936
|
+
title: "Decision model (the list could not be loaded)",
|
|
50937
|
+
placeholder: `Type one, for example ${FALLBACK_OPENROUTER_DECISION_MODELS.join(" or ")}`,
|
|
50938
|
+
emptyNotice: "A model is required. Press Esc to cancel.",
|
|
50939
|
+
initialValue: DEFAULT_OPENROUTER_DECISION_MODEL
|
|
50940
|
+
};
|
|
50941
|
+
case "azure-paste":
|
|
50942
|
+
return {
|
|
50943
|
+
step,
|
|
50944
|
+
title: "Azure AI Foundry",
|
|
50945
|
+
placeholder: "Paste the Keys and Endpoint text \xB7 the key is saved privately and never shown",
|
|
50946
|
+
emptyNotice: "Paste the endpoint and key, or press Esc to cancel.",
|
|
50947
|
+
initialValue: "",
|
|
50948
|
+
mask: true
|
|
50949
|
+
};
|
|
50950
|
+
case "azure-endpoint":
|
|
50951
|
+
return {
|
|
50952
|
+
step,
|
|
50953
|
+
title: "Endpoint",
|
|
50954
|
+
placeholder: "https://<resource>.services.ai.azure.com",
|
|
50955
|
+
emptyNotice: "An endpoint is required. Press Esc to cancel.",
|
|
50956
|
+
initialValue: ""
|
|
50957
|
+
};
|
|
50958
|
+
case "azure-key":
|
|
50959
|
+
return {
|
|
50960
|
+
step,
|
|
50961
|
+
title: "Key (optional)",
|
|
50962
|
+
placeholder: "Paste the key, or press Enter to use your Azure sign-in (az login)",
|
|
50963
|
+
emptyNotice: "",
|
|
50964
|
+
initialValue: "",
|
|
50965
|
+
mask: true,
|
|
50966
|
+
allowEmpty: true
|
|
50967
|
+
};
|
|
50968
|
+
case "azure-deployment": {
|
|
50969
|
+
const found = hints.deployments ?? [];
|
|
50970
|
+
return {
|
|
50971
|
+
step,
|
|
50972
|
+
title: found.length > 0 ? `Deployment (found: ${found.join(", ")})` : "Deployment name",
|
|
50973
|
+
placeholder: "The name you gave the deployment in the portal",
|
|
50974
|
+
emptyNotice: "A deployment name is required. Press Esc to cancel.",
|
|
50975
|
+
initialValue: found[0] ?? ""
|
|
50976
|
+
};
|
|
50977
|
+
}
|
|
50978
|
+
case "http-url":
|
|
50979
|
+
return {
|
|
50980
|
+
step,
|
|
50981
|
+
title: "Server address",
|
|
50982
|
+
placeholder: "http://127.0.0.1:8080/decide",
|
|
50983
|
+
emptyNotice: "An address is required. Press Esc to cancel.",
|
|
50984
|
+
initialValue: ""
|
|
50985
|
+
};
|
|
50986
|
+
case "http-key":
|
|
50987
|
+
return {
|
|
50988
|
+
step,
|
|
50989
|
+
title: "Key (optional)",
|
|
50990
|
+
placeholder: "Press Enter if the server needs none \xB7 a key is saved privately",
|
|
50991
|
+
emptyNotice: "",
|
|
50992
|
+
initialValue: "",
|
|
50993
|
+
mask: true,
|
|
50994
|
+
allowEmpty: true
|
|
50995
|
+
};
|
|
50996
|
+
case "http-model":
|
|
50997
|
+
return {
|
|
50998
|
+
step,
|
|
50999
|
+
title: "Model name (optional)",
|
|
51000
|
+
placeholder: "Press Enter to let the server choose",
|
|
51001
|
+
emptyNotice: "",
|
|
51002
|
+
initialValue: "",
|
|
51003
|
+
allowEmpty: true
|
|
51004
|
+
};
|
|
51005
|
+
}
|
|
51006
|
+
}
|
|
51007
|
+
__name(decisionPrompt, "decisionPrompt");
|
|
51008
|
+
function isLoopbackHost(hostname) {
|
|
51009
|
+
const host = hostname.replace(/^\[|\]$/g, "").toLowerCase();
|
|
51010
|
+
return host === "localhost" || host.endsWith(".localhost") || host === "::1" || /^127(?:\.\d{1,3}){3}$/.test(host);
|
|
51011
|
+
}
|
|
51012
|
+
__name(isLoopbackHost, "isLoopbackHost");
|
|
51013
|
+
function startOpenRouter(found) {
|
|
51014
|
+
const draft = { kind: "openrouter" };
|
|
51015
|
+
if (!found) return { kind: "ask", draft, step: "openrouter-key" };
|
|
51016
|
+
return {
|
|
51017
|
+
kind: "list-models",
|
|
51018
|
+
draft: found.source === "env" ? { ...draft, keyEnv: found.env } : { ...draft, key: found.key }
|
|
51019
|
+
};
|
|
51020
|
+
}
|
|
51021
|
+
__name(startOpenRouter, "startOpenRouter");
|
|
51022
|
+
function azureNext(draft) {
|
|
51023
|
+
if (!draft.endpoint) return { kind: "ask", draft, step: "azure-endpoint" };
|
|
51024
|
+
if (draft.key === void 0) return { kind: "ask", draft, step: "azure-key" };
|
|
51025
|
+
if (!draft.deployment) {
|
|
51026
|
+
return draft.key ? { kind: "list-deployments", draft } : { kind: "ask", draft, step: "azure-deployment" };
|
|
51027
|
+
}
|
|
51028
|
+
return { kind: "done", draft };
|
|
51029
|
+
}
|
|
51030
|
+
__name(azureNext, "azureNext");
|
|
51031
|
+
function advanceDecisionFlow(draft, step, value) {
|
|
51032
|
+
const text = value.trim();
|
|
51033
|
+
switch (step) {
|
|
51034
|
+
case "openrouter-key":
|
|
51035
|
+
return text ? { kind: "list-models", draft: { ...draft, key: text } } : { kind: "retry", draft, step, notice: "A key is required. Press Esc to cancel." };
|
|
51036
|
+
case "openrouter-model":
|
|
51037
|
+
if (!text)
|
|
51038
|
+
return { kind: "retry", draft, step, notice: "A model is required. Press Esc to cancel." };
|
|
51039
|
+
if (!isValidDecisionModelId(text))
|
|
51040
|
+
return {
|
|
51041
|
+
kind: "retry",
|
|
51042
|
+
draft,
|
|
51043
|
+
step,
|
|
51044
|
+
notice: "That is not a model id. Use letters, digits and . - _ : / only."
|
|
51045
|
+
};
|
|
51046
|
+
return { kind: "done", draft: { ...draft, model: text } };
|
|
51047
|
+
case "azure-paste": {
|
|
51048
|
+
const parsed = parseAzurePaste(text);
|
|
51049
|
+
if (!parsed.endpoint && !parsed.key) {
|
|
51050
|
+
return {
|
|
51051
|
+
kind: "retry",
|
|
51052
|
+
draft,
|
|
51053
|
+
step,
|
|
51054
|
+
notice: "No endpoint or key found in that text. Paste the Keys and Endpoint page, or Esc to cancel."
|
|
51055
|
+
};
|
|
51056
|
+
}
|
|
51057
|
+
return azureNext({
|
|
51058
|
+
...draft,
|
|
51059
|
+
...parsed.endpoint ? { endpoint: parsed.endpoint } : {},
|
|
51060
|
+
...parsed.key ? { key: parsed.key } : {},
|
|
51061
|
+
...parsed.deployment ? { deployment: parsed.deployment } : {}
|
|
51062
|
+
});
|
|
51063
|
+
}
|
|
51064
|
+
case "azure-endpoint": {
|
|
51065
|
+
const parsed = parseAzurePaste(text);
|
|
51066
|
+
const endpoint = normalizeAzureEndpoint(text);
|
|
51067
|
+
if (!endpoint) {
|
|
51068
|
+
return {
|
|
51069
|
+
kind: "retry",
|
|
51070
|
+
draft,
|
|
51071
|
+
step,
|
|
51072
|
+
notice: "That is not an Azure endpoint (https://<resource>.services.ai.azure.com or .cognitiveservices.azure.com)."
|
|
51073
|
+
};
|
|
51074
|
+
}
|
|
51075
|
+
return azureNext({
|
|
51076
|
+
...draft,
|
|
51077
|
+
endpoint,
|
|
51078
|
+
...parsed.deployment && !draft.deployment ? { deployment: parsed.deployment } : {}
|
|
51079
|
+
});
|
|
51080
|
+
}
|
|
51081
|
+
case "azure-key":
|
|
51082
|
+
return azureNext({ ...draft, key: text });
|
|
51083
|
+
case "azure-deployment":
|
|
51084
|
+
return azureNext({ ...draft, deployment: text });
|
|
51085
|
+
case "http-url": {
|
|
51086
|
+
let url;
|
|
51087
|
+
try {
|
|
51088
|
+
url = new URL(text);
|
|
51089
|
+
} catch {
|
|
51090
|
+
return {
|
|
51091
|
+
kind: "retry",
|
|
51092
|
+
draft,
|
|
51093
|
+
step,
|
|
51094
|
+
notice: "That is not an address (http://host:port/path)."
|
|
51095
|
+
};
|
|
51096
|
+
}
|
|
51097
|
+
if (url.protocol === "http:" && !isLoopbackHost(url.hostname)) {
|
|
51098
|
+
return {
|
|
51099
|
+
kind: "retry",
|
|
51100
|
+
draft,
|
|
51101
|
+
step,
|
|
51102
|
+
notice: "A key would travel unencrypted to that host. Use an https:// address, or http:// only for this machine (localhost)."
|
|
51103
|
+
};
|
|
51104
|
+
}
|
|
51105
|
+
if (url.protocol !== "http:" && url.protocol !== "https:") {
|
|
51106
|
+
return {
|
|
51107
|
+
kind: "retry",
|
|
51108
|
+
draft,
|
|
51109
|
+
step,
|
|
51110
|
+
notice: "The address must start with http:// or https://."
|
|
51111
|
+
};
|
|
51112
|
+
}
|
|
51113
|
+
return { kind: "ask", draft: { ...draft, url: text }, step: "http-key" };
|
|
51114
|
+
}
|
|
51115
|
+
case "http-key":
|
|
51116
|
+
return {
|
|
51117
|
+
kind: "ask",
|
|
51118
|
+
draft: { ...draft, ...text ? { key: text } : {} },
|
|
51119
|
+
step: "http-model"
|
|
51120
|
+
};
|
|
51121
|
+
case "http-model":
|
|
51122
|
+
return { kind: "done", draft: { ...draft, ...text ? { model: text } : {} } };
|
|
51123
|
+
}
|
|
51124
|
+
}
|
|
51125
|
+
__name(advanceDecisionFlow, "advanceDecisionFlow");
|
|
51126
|
+
|
|
50523
51127
|
// src/tui/edit-prompts.ts
|
|
50524
51128
|
function editablePrompts(history, transcript) {
|
|
50525
51129
|
let durableUserOrdinal = 0;
|
|
@@ -50710,6 +51314,38 @@ async function runEditorProcess(command, draftPath, options) {
|
|
|
50710
51314
|
}
|
|
50711
51315
|
__name(runEditorProcess, "runEditorProcess");
|
|
50712
51316
|
|
|
51317
|
+
// src/tui/fast-mode.ts
|
|
51318
|
+
var FAST_PROVIDER = "anthropic";
|
|
51319
|
+
async function fastModeBlocker(providerId, model, now = Date.now(), otherHost = thirdPartyHost() ?? null) {
|
|
51320
|
+
if (providerId !== FAST_PROVIDER) {
|
|
51321
|
+
return "Fast mode is available on Anthropic models only. Pick one with /model.";
|
|
51322
|
+
}
|
|
51323
|
+
if (otherHost !== null) {
|
|
51324
|
+
return `Fast mode is offered on the vendor's own endpoint only, and requests here go to ${otherHost}.`;
|
|
51325
|
+
}
|
|
51326
|
+
if (!model) return "Fast mode needs a model; pick one with /model.";
|
|
51327
|
+
const { resolveFastModeVerdict } = await import("./dist-7V7KU2WK.js");
|
|
51328
|
+
const verdict = resolveFastModeVerdict(model, now);
|
|
51329
|
+
return verdict.ok ? void 0 : verdict.reason;
|
|
51330
|
+
}
|
|
51331
|
+
__name(fastModeBlocker, "fastModeBlocker");
|
|
51332
|
+
function fastOnMessage() {
|
|
51333
|
+
return "Fast mode on: faster replies, billed at twice the standard rate. /fast off ends it.";
|
|
51334
|
+
}
|
|
51335
|
+
__name(fastOnMessage, "fastOnMessage");
|
|
51336
|
+
function fastOffMessage() {
|
|
51337
|
+
return "Fast mode off: standard speed and rate.";
|
|
51338
|
+
}
|
|
51339
|
+
__name(fastOffMessage, "fastOffMessage");
|
|
51340
|
+
function fastLaunchRefusal(reason) {
|
|
51341
|
+
return `--fast was not applied: ${reason} Continuing at standard speed.`;
|
|
51342
|
+
}
|
|
51343
|
+
__name(fastLaunchRefusal, "fastLaunchRefusal");
|
|
51344
|
+
function fastDroppedMessage(reason) {
|
|
51345
|
+
return `Fast mode turned off: ${reason}`;
|
|
51346
|
+
}
|
|
51347
|
+
__name(fastDroppedMessage, "fastDroppedMessage");
|
|
51348
|
+
|
|
50713
51349
|
// src/tui/fullscreen/FullscreenTranscript.tsx
|
|
50714
51350
|
var import_react52 = __toESM(require_react(), 1);
|
|
50715
51351
|
|
|
@@ -51873,8 +52509,8 @@ function formatToolCall(toolName, summary2, standalone = false) {
|
|
|
51873
52509
|
const plain = plainConnectorSummary(summary2);
|
|
51874
52510
|
return plain.length > 0 ? `${label}(${plain})` : label;
|
|
51875
52511
|
}
|
|
51876
|
-
const
|
|
51877
|
-
const display = DISPLAY_NAMES[toolName.toLowerCase()] ?? (
|
|
52512
|
+
const words2 = toolName.replace(/[_-]+/g, " ");
|
|
52513
|
+
const display = DISPLAY_NAMES[toolName.toLowerCase()] ?? (words2.length > 0 ? words2[0]?.toUpperCase() + words2.slice(1) : words2);
|
|
51878
52514
|
return summary2.length > 0 ? `${display}(${summary2})` : display;
|
|
51879
52515
|
}
|
|
51880
52516
|
__name(formatToolCall, "formatToolCall");
|
|
@@ -57104,7 +57740,8 @@ function AppBody({
|
|
|
57104
57740
|
beforeExit,
|
|
57105
57741
|
examplePrompts = false,
|
|
57106
57742
|
queuedHintCount,
|
|
57107
|
-
tipHistory
|
|
57743
|
+
tipHistory,
|
|
57744
|
+
decisionSetup
|
|
57108
57745
|
}) {
|
|
57109
57746
|
const trustedCwdRef = (0, import_react61.useRef)(pinTrustedProjectPath(initialCtx, initialCtx.cwd));
|
|
57110
57747
|
const [ctx, setCtx] = (0, import_react61.useState)(initialCtx);
|
|
@@ -57252,6 +57889,13 @@ function AppBody({
|
|
|
57252
57889
|
hypermodeRef.current = next;
|
|
57253
57890
|
setHypermodeState(next);
|
|
57254
57891
|
}, []);
|
|
57892
|
+
const [fastMode, setFastModeState] = (0, import_react61.useState)(false);
|
|
57893
|
+
const fastModeRef = (0, import_react61.useRef)(false);
|
|
57894
|
+
const launchFastPendingRef = (0, import_react61.useRef)(initialCtx.launchSettings?.fast === true);
|
|
57895
|
+
const setFastMode = (0, import_react61.useCallback)((next) => {
|
|
57896
|
+
fastModeRef.current = next;
|
|
57897
|
+
setFastModeState(next);
|
|
57898
|
+
}, []);
|
|
57255
57899
|
const [activeSkills, setActiveSkills] = (0, import_react61.useState)(
|
|
57256
57900
|
[]
|
|
57257
57901
|
);
|
|
@@ -57575,6 +58219,13 @@ ${blocks.join("\n\n")}`;
|
|
|
57575
58219
|
const [textPrompt, setTextPromptState] = (0, import_react61.useState)(null);
|
|
57576
58220
|
const textPromptRef = (0, import_react61.useRef)(null);
|
|
57577
58221
|
const textPromptTokenRef = (0, import_react61.useRef)(0);
|
|
58222
|
+
const decisionDraftRef = (0, import_react61.useRef)(null);
|
|
58223
|
+
const decisionOfferPendingRef = (0, import_react61.useRef)(false);
|
|
58224
|
+
const decisionStartCheckedRef = (0, import_react61.useRef)(false);
|
|
58225
|
+
const decisionChooseRef = (0, import_react61.useRef)(null);
|
|
58226
|
+
const decisionModelsRef = (0, import_react61.useRef)(null);
|
|
58227
|
+
const decisionSubmitRef = (0, import_react61.useRef)(null);
|
|
58228
|
+
const [connectedDecision, setConnectedDecision] = (0, import_react61.useState)(null);
|
|
57578
58229
|
const accountLoginRef = (0, import_react61.useRef)(null);
|
|
57579
58230
|
const accountWizardRef = (0, import_react61.useRef)(null);
|
|
57580
58231
|
const pendingAccountSwitchRef = (0, import_react61.useRef)(null);
|
|
@@ -59104,6 +59755,30 @@ ${blocks.join("\n\n")}`;
|
|
|
59104
59755
|
},
|
|
59105
59756
|
[hasUnsettledTurn, pushMessage, session, setHypermode, state]
|
|
59106
59757
|
);
|
|
59758
|
+
const applyFastMode = (0, import_react61.useCallback)(
|
|
59759
|
+
async (enabled) => {
|
|
59760
|
+
if (!session?.hasProvider) {
|
|
59761
|
+
pushMessage("system", "No model is connected yet \u2014 pick a provider with /model first.");
|
|
59762
|
+
return;
|
|
59763
|
+
}
|
|
59764
|
+
if (!enabled) {
|
|
59765
|
+
if (!fastModeRef.current) pushMessage("system", "Fast mode is off.");
|
|
59766
|
+
else {
|
|
59767
|
+
setFastMode(false);
|
|
59768
|
+
pushMessage("system", fastOffMessage());
|
|
59769
|
+
}
|
|
59770
|
+
return;
|
|
59771
|
+
}
|
|
59772
|
+
const blocker = await fastModeBlocker(session.providerId, session.modelSummary);
|
|
59773
|
+
if (blocker !== void 0) {
|
|
59774
|
+
pushMessage("system", blocker);
|
|
59775
|
+
return;
|
|
59776
|
+
}
|
|
59777
|
+
setFastMode(true);
|
|
59778
|
+
pushMessage("system", fastOnMessage());
|
|
59779
|
+
},
|
|
59780
|
+
[pushMessage, session, setFastMode]
|
|
59781
|
+
);
|
|
59107
59782
|
const toggleThinking = (0, import_react61.useCallback)(() => {
|
|
59108
59783
|
const note = /* @__PURE__ */ __name((text) => addNotice({
|
|
59109
59784
|
key: "thinking-toggle",
|
|
@@ -59524,6 +60199,10 @@ ${blocks.join("\n\n")}`;
|
|
|
59524
60199
|
}
|
|
59525
60200
|
const target = picker.target;
|
|
59526
60201
|
if (picker.step === "actions" && target) {
|
|
60202
|
+
if (value === "restore" && manage.restore) {
|
|
60203
|
+
void manage.restore(target).then((outcome) => finish(restoreOutcomeLine(target, outcome)), failed);
|
|
60204
|
+
return;
|
|
60205
|
+
}
|
|
59527
60206
|
if (value === "show") {
|
|
59528
60207
|
void manage.read(target).then(
|
|
59529
60208
|
(body) => finish(
|
|
@@ -59739,6 +60418,10 @@ ${blocks.join("\n\n")}`;
|
|
|
59739
60418
|
chooseModelRef.current(`${picker.provider}/${value}`);
|
|
59740
60419
|
return;
|
|
59741
60420
|
}
|
|
60421
|
+
if (picker.kind === "decision-setup") {
|
|
60422
|
+
decisionChooseRef.current?.(value, picker.step);
|
|
60423
|
+
return;
|
|
60424
|
+
}
|
|
59742
60425
|
if (picker.kind === "resume-goal") {
|
|
59743
60426
|
if (value === "resume" && scopeRef.current?.sessionId === picker.sessionId)
|
|
59744
60427
|
commandPickerSubmitRef.current("/goal resume");
|
|
@@ -60324,6 +61007,19 @@ ${blocks.join("\n\n")}`;
|
|
|
60324
61007
|
void previousSessionRef.current?.close();
|
|
60325
61008
|
previousSessionRef.current = s;
|
|
60326
61009
|
setSession(s);
|
|
61010
|
+
if (launchFastPendingRef.current && s.hasProvider) {
|
|
61011
|
+
launchFastPendingRef.current = false;
|
|
61012
|
+
void fastModeBlocker(s.providerId, s.modelSummary).then((blocker) => {
|
|
61013
|
+
if (blocker === void 0) setFastMode(true);
|
|
61014
|
+
else pushMessage("system", fastLaunchRefusal(blocker));
|
|
61015
|
+
});
|
|
61016
|
+
} else if (fastModeRef.current) {
|
|
61017
|
+
void fastModeBlocker(s.providerId, s.modelSummary).then((blocker) => {
|
|
61018
|
+
if (blocker === void 0) return;
|
|
61019
|
+
setFastMode(false);
|
|
61020
|
+
pushMessage("system", fastDroppedMessage(blocker));
|
|
61021
|
+
});
|
|
61022
|
+
}
|
|
60327
61023
|
const settleEffort = /* @__PURE__ */ __name(() => {
|
|
60328
61024
|
const launchEffort = launchEffortPendingRef.current;
|
|
60329
61025
|
if (launchEffort && s.hasProvider) {
|
|
@@ -60335,6 +61031,7 @@ ${blocks.join("\n\n")}`;
|
|
|
60335
61031
|
`--effort ${launchEffort} is not offered by ${primaryProvider(prefs).model ?? primaryProvider(prefs).id}; using the provider default.`
|
|
60336
61032
|
);
|
|
60337
61033
|
}
|
|
61034
|
+
if (options.chooseReasoningEffort) decisionOfferPendingRef.current = true;
|
|
60338
61035
|
if (options.chooseReasoningEffort && s.reasoningEffortLevels?.length) {
|
|
60339
61036
|
setSelectedChoice(0);
|
|
60340
61037
|
setChoicePicker(reasoningEffortPicker(s, void 0, true) ?? null);
|
|
@@ -60987,6 +61684,13 @@ ${blocks.join("\n\n")}`;
|
|
|
60987
61684
|
userCommands,
|
|
60988
61685
|
configDebug: ctx.configDebug ?? null,
|
|
60989
61686
|
webSearchSummary: session?.webSearchSummary,
|
|
61687
|
+
...decisionSetup ? {
|
|
61688
|
+
decisionSummary: decisionStatusLine({
|
|
61689
|
+
config: connectedDecision ?? ctx.decision,
|
|
61690
|
+
connected: connectedDecision !== null,
|
|
61691
|
+
env: decisionSetup.env ?? process.env
|
|
61692
|
+
})
|
|
61693
|
+
} : {},
|
|
60990
61694
|
columns: terminal.columns,
|
|
60991
61695
|
sessionId: scopeRef.current?.sessionId
|
|
60992
61696
|
};
|
|
@@ -61261,7 +61965,7 @@ ${blocks.join("\n\n")}`;
|
|
|
61261
61965
|
doctorRunningRef.current = true;
|
|
61262
61966
|
const progressId = pushMessage("system", "Checking\u2026");
|
|
61263
61967
|
try {
|
|
61264
|
-
const { runLiveDoctor } = await import("./live-
|
|
61968
|
+
const { runLiveDoctor } = await import("./live-RVNUQYAY.js");
|
|
61265
61969
|
const { describePlainDoctor } = await import("./plain-report-XVPBQDLE.js");
|
|
61266
61970
|
const report = await runLiveDoctor({
|
|
61267
61971
|
...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
|
|
@@ -61904,6 +62608,236 @@ ${blocks.join("\n\n")}`;
|
|
|
61904
62608
|
},
|
|
61905
62609
|
[materializeConversation, pushMessage, setTextPrompt, pushSystem]
|
|
61906
62610
|
);
|
|
62611
|
+
const decisionOptions = (0, import_react61.useCallback)(
|
|
62612
|
+
() => ({
|
|
62613
|
+
...decisionSetup?.home ? { home: decisionSetup.home } : {},
|
|
62614
|
+
env: decisionSetup?.env ?? process.env
|
|
62615
|
+
}),
|
|
62616
|
+
[decisionSetup]
|
|
62617
|
+
);
|
|
62618
|
+
const decisionClock = (0, import_react61.useCallback)(() => {
|
|
62619
|
+
const now = decisionSetup?.now;
|
|
62620
|
+
return now ? () => new Date(now()) : () => /* @__PURE__ */ new Date();
|
|
62621
|
+
}, [decisionSetup]);
|
|
62622
|
+
const openDecisionPrompt = (0, import_react61.useCallback)(
|
|
62623
|
+
(step, draft, hints, notice) => {
|
|
62624
|
+
decisionDraftRef.current = draft;
|
|
62625
|
+
const spec = decisionPrompt(step, hints);
|
|
62626
|
+
textPromptTokenRef.current += 1;
|
|
62627
|
+
setChoicePicker(null);
|
|
62628
|
+
setTextPrompt({
|
|
62629
|
+
token: textPromptTokenRef.current,
|
|
62630
|
+
kind: "decision-step",
|
|
62631
|
+
decisionStep: step,
|
|
62632
|
+
title: spec.title,
|
|
62633
|
+
placeholder: spec.placeholder,
|
|
62634
|
+
emptyNotice: spec.emptyNotice,
|
|
62635
|
+
initialValue: spec.initialValue,
|
|
62636
|
+
sessionId: scopeRef.current?.sessionId,
|
|
62637
|
+
...spec.mask ? { mask: true } : {},
|
|
62638
|
+
...spec.allowEmpty ? { allowEmpty: true } : {}
|
|
62639
|
+
});
|
|
62640
|
+
if (notice) pushMessage("system", notice);
|
|
62641
|
+
},
|
|
62642
|
+
[pushMessage, setChoicePicker, setTextPrompt]
|
|
62643
|
+
);
|
|
62644
|
+
const openOpenRouterModelStep = (0, import_react61.useCallback)(
|
|
62645
|
+
(draft) => {
|
|
62646
|
+
const models = decisionModelsRef.current;
|
|
62647
|
+
if (!models || models.length === 0) {
|
|
62648
|
+
openDecisionPrompt("openrouter-model", draft);
|
|
62649
|
+
return;
|
|
62650
|
+
}
|
|
62651
|
+
decisionDraftRef.current = draft;
|
|
62652
|
+
const { values, options, defaultIndex } = decisionModelOptions(models);
|
|
62653
|
+
setSelectedChoice(defaultIndex);
|
|
62654
|
+
setChoicePicker({
|
|
62655
|
+
kind: "decision-setup",
|
|
62656
|
+
step: "model",
|
|
62657
|
+
title: "Which OpenRouter decision model?",
|
|
62658
|
+
values,
|
|
62659
|
+
options
|
|
62660
|
+
});
|
|
62661
|
+
},
|
|
62662
|
+
[openDecisionPrompt, setChoicePicker, setSelectedChoice]
|
|
62663
|
+
);
|
|
62664
|
+
const finishDecisionSetup = (0, import_react61.useCallback)(
|
|
62665
|
+
async (draft) => {
|
|
62666
|
+
const opts = decisionOptions();
|
|
62667
|
+
let saved;
|
|
62668
|
+
try {
|
|
62669
|
+
saved = saveConnection(draft, opts);
|
|
62670
|
+
} catch (error) {
|
|
62671
|
+
pushSystem("error", explainFailure(error, "Could not save the decision model."));
|
|
62672
|
+
return;
|
|
62673
|
+
}
|
|
62674
|
+
pushMessage("system", "Decision model saved. Testing the connection\u2026");
|
|
62675
|
+
const deps = {
|
|
62676
|
+
readStoredKey: /* @__PURE__ */ __name((address) => readBoundDecisionKey(address, opts), "readStoredKey"),
|
|
62677
|
+
...decisionSetup?.fetch ? { fetch: decisionSetup.fetch } : {},
|
|
62678
|
+
...decisionSetup?.test
|
|
62679
|
+
};
|
|
62680
|
+
const block = connectionToBlock(saved.connection);
|
|
62681
|
+
const result = await testDecisionConnection(saved.connection, opts.env, deps);
|
|
62682
|
+
if (appLifetime.signal.aborted) return;
|
|
62683
|
+
if (!result.ok && result.unsupportedModel && draft.kind === "openrouter") {
|
|
62684
|
+
pushMessage(
|
|
62685
|
+
"system",
|
|
62686
|
+
`${draft.model} does not work with Namzu's questions (${result.reason}). Pick another model.`
|
|
62687
|
+
);
|
|
62688
|
+
openOpenRouterModelStep(draft);
|
|
62689
|
+
return;
|
|
62690
|
+
}
|
|
62691
|
+
pushMessage("system", connectedNotice(result));
|
|
62692
|
+
pushMessage("system", connectedPointsNotice(block.points));
|
|
62693
|
+
decisionPointsRef.current = createDecisionPoints({
|
|
62694
|
+
model: maybeCreateDecisionModel(block, opts.env, deps),
|
|
62695
|
+
modes: block.points
|
|
62696
|
+
});
|
|
62697
|
+
setConnectedDecision(block);
|
|
62698
|
+
},
|
|
62699
|
+
[decisionOptions, decisionSetup, pushMessage, pushSystem, appLifetime, openOpenRouterModelStep]
|
|
62700
|
+
);
|
|
62701
|
+
const handleDecisionAdvance = (0, import_react61.useCallback)(
|
|
62702
|
+
(next) => {
|
|
62703
|
+
if (next.kind === "ask") {
|
|
62704
|
+
openDecisionPrompt(next.step, next.draft);
|
|
62705
|
+
} else if (next.kind === "retry") {
|
|
62706
|
+
openDecisionPrompt(next.step, next.draft, void 0, next.notice);
|
|
62707
|
+
} else if (next.kind === "list-models") {
|
|
62708
|
+
decisionDraftRef.current = next.draft;
|
|
62709
|
+
void fetchDecisionModels({
|
|
62710
|
+
...decisionSetup?.fetch ? { fetch: decisionSetup.fetch } : {}
|
|
62711
|
+
}).then((list) => {
|
|
62712
|
+
if (appLifetime.signal.aborted) return;
|
|
62713
|
+
if (list.ok) {
|
|
62714
|
+
decisionModelsRef.current = list.models;
|
|
62715
|
+
openOpenRouterModelStep(next.draft);
|
|
62716
|
+
} else {
|
|
62717
|
+
decisionModelsRef.current = null;
|
|
62718
|
+
openDecisionPrompt(
|
|
62719
|
+
"openrouter-model",
|
|
62720
|
+
next.draft,
|
|
62721
|
+
void 0,
|
|
62722
|
+
"The decision model list could not be loaded. Type a model name."
|
|
62723
|
+
);
|
|
62724
|
+
}
|
|
62725
|
+
});
|
|
62726
|
+
} else if (next.kind === "list-deployments") {
|
|
62727
|
+
decisionDraftRef.current = null;
|
|
62728
|
+
const { endpoint, key } = next.draft;
|
|
62729
|
+
void listAzureDeployments(endpoint, key, {
|
|
62730
|
+
...decisionSetup?.fetch ? { fetch: decisionSetup.fetch } : {}
|
|
62731
|
+
}).then((names) => {
|
|
62732
|
+
if (appLifetime.signal.aborted) return;
|
|
62733
|
+
if (names.length === 1) void finishDecisionSetup({ ...next.draft, deployment: names[0] });
|
|
62734
|
+
else openDecisionPrompt("azure-deployment", next.draft, { deployments: names });
|
|
62735
|
+
});
|
|
62736
|
+
} else {
|
|
62737
|
+
decisionDraftRef.current = null;
|
|
62738
|
+
void finishDecisionSetup(next.draft);
|
|
62739
|
+
}
|
|
62740
|
+
},
|
|
62741
|
+
[appLifetime, decisionSetup, finishDecisionSetup, openDecisionPrompt, openOpenRouterModelStep]
|
|
62742
|
+
);
|
|
62743
|
+
decisionSubmitRef.current = (step, value) => {
|
|
62744
|
+
const draft = decisionDraftRef.current ?? {
|
|
62745
|
+
kind: step.startsWith("http") ? "http" : step.startsWith("openrouter") ? "openrouter" : "azure"
|
|
62746
|
+
};
|
|
62747
|
+
handleDecisionAdvance(advanceDecisionFlow(draft, step, value));
|
|
62748
|
+
};
|
|
62749
|
+
decisionChooseRef.current = (value, step) => {
|
|
62750
|
+
if (step === "offer") {
|
|
62751
|
+
if (value === "yes") {
|
|
62752
|
+
setSelectedChoice(0);
|
|
62753
|
+
setChoicePicker({
|
|
62754
|
+
kind: "decision-setup",
|
|
62755
|
+
step: "kind",
|
|
62756
|
+
title: "What do you want to connect?",
|
|
62757
|
+
values: [...DECISION_KIND_VALUES],
|
|
62758
|
+
options: DECISION_KIND_OPTIONS
|
|
62759
|
+
});
|
|
62760
|
+
return;
|
|
62761
|
+
}
|
|
62762
|
+
try {
|
|
62763
|
+
recordOffer(value === "never" ? "never" : "later", decisionOptions(), decisionClock());
|
|
62764
|
+
} catch (error) {
|
|
62765
|
+
pushSystem("error", explainFailure(error, "Could not remember that answer."));
|
|
62766
|
+
}
|
|
62767
|
+
return;
|
|
62768
|
+
}
|
|
62769
|
+
if (step === "model") {
|
|
62770
|
+
const draft = decisionDraftRef.current;
|
|
62771
|
+
decisionDraftRef.current = null;
|
|
62772
|
+
if (draft && isValidDecisionModelId(value))
|
|
62773
|
+
void finishDecisionSetup({ ...draft, model: value });
|
|
62774
|
+
return;
|
|
62775
|
+
}
|
|
62776
|
+
if (value === "openrouter") {
|
|
62777
|
+
const opts = decisionOptions();
|
|
62778
|
+
const found = findOpenRouterKey(opts.env, opts.home);
|
|
62779
|
+
if (found) pushMessage("system", openRouterKeyNotice(found));
|
|
62780
|
+
handleDecisionAdvance(startOpenRouter(found));
|
|
62781
|
+
return;
|
|
62782
|
+
}
|
|
62783
|
+
openDecisionPrompt(value === "http" ? "http-url" : "azure-paste", {
|
|
62784
|
+
kind: value === "http" ? "http" : "azure"
|
|
62785
|
+
});
|
|
62786
|
+
};
|
|
62787
|
+
(0, import_react61.useEffect)(() => {
|
|
62788
|
+
if (!decisionSetup) return;
|
|
62789
|
+
if (phase !== "ready" || choicePicker !== null || textPrompt !== null || permission !== null)
|
|
62790
|
+
return;
|
|
62791
|
+
const opts = decisionOptions();
|
|
62792
|
+
const offerPick = decisionOfferPendingRef.current;
|
|
62793
|
+
const atStart = !decisionStartCheckedRef.current;
|
|
62794
|
+
if (!offerPick && !atStart) return;
|
|
62795
|
+
decisionOfferPendingRef.current = false;
|
|
62796
|
+
decisionStartCheckedRef.current = true;
|
|
62797
|
+
if (opts.env.NAMZU_NO_DECISION === "1") return;
|
|
62798
|
+
const setting = readUserDecisionSetting(opts);
|
|
62799
|
+
if (setting === "shorthand" && ctx.decision === void 0 && atStart) {
|
|
62800
|
+
const now2 = decisionSetup.now ?? Date.now;
|
|
62801
|
+
if (!shouldOfferDecisionSetup({
|
|
62802
|
+
record: readOffer(opts),
|
|
62803
|
+
setting: "absent",
|
|
62804
|
+
env: opts.env,
|
|
62805
|
+
now: now2()
|
|
62806
|
+
}))
|
|
62807
|
+
return;
|
|
62808
|
+
setSelectedChoice(0);
|
|
62809
|
+
setChoicePicker({
|
|
62810
|
+
kind: "decision-setup",
|
|
62811
|
+
step: "kind",
|
|
62812
|
+
title: "Connect a decision model",
|
|
62813
|
+
values: [...DECISION_KIND_VALUES],
|
|
62814
|
+
options: DECISION_KIND_OPTIONS
|
|
62815
|
+
});
|
|
62816
|
+
return;
|
|
62817
|
+
}
|
|
62818
|
+
if (!offerPick) return;
|
|
62819
|
+
const now = decisionSetup.now ?? Date.now;
|
|
62820
|
+
if (!shouldOfferDecisionSetup({ record: readOffer(opts), setting, env: opts.env, now: now() }))
|
|
62821
|
+
return;
|
|
62822
|
+
setSelectedChoice(0);
|
|
62823
|
+
setChoicePicker({
|
|
62824
|
+
kind: "decision-setup",
|
|
62825
|
+
step: "offer",
|
|
62826
|
+
title: DECISION_OFFER_TITLE,
|
|
62827
|
+
values: [...DECISION_OFFER_VALUES],
|
|
62828
|
+
options: DECISION_OFFER_OPTIONS
|
|
62829
|
+
});
|
|
62830
|
+
}, [
|
|
62831
|
+
decisionSetup,
|
|
62832
|
+
decisionOptions,
|
|
62833
|
+
phase,
|
|
62834
|
+
choicePicker,
|
|
62835
|
+
textPrompt,
|
|
62836
|
+
permission,
|
|
62837
|
+
ctx.decision,
|
|
62838
|
+
setChoicePicker,
|
|
62839
|
+
setSelectedChoice
|
|
62840
|
+
]);
|
|
61907
62841
|
const submitTextPrompt = (0, import_react61.useCallback)(
|
|
61908
62842
|
(value) => {
|
|
61909
62843
|
const prompt = textPromptRef.current;
|
|
@@ -61930,6 +62864,10 @@ ${blocks.join("\n\n")}`;
|
|
|
61930
62864
|
accountActionsRef.current?.submitStep(value);
|
|
61931
62865
|
return;
|
|
61932
62866
|
}
|
|
62867
|
+
if (prompt.kind === "decision-step" && prompt.decisionStep) {
|
|
62868
|
+
decisionSubmitRef.current?.(prompt.decisionStep, value);
|
|
62869
|
+
return;
|
|
62870
|
+
}
|
|
61933
62871
|
const scope = scopeRef.current;
|
|
61934
62872
|
if (!scope || scope.sessionId !== prompt.sessionId) {
|
|
61935
62873
|
pushMessage(
|
|
@@ -61977,6 +62915,7 @@ ${blocks.join("\n\n")}`;
|
|
|
61977
62915
|
if (textPromptRef.current === prompt) setTextPrompt(null);
|
|
61978
62916
|
if (prompt?.kind === "user-question") resolveQuestion({ kind: "skip" });
|
|
61979
62917
|
if (prompt?.kind === "account-step") accountWizardRef.current = null;
|
|
62918
|
+
if (prompt?.kind === "decision-step") decisionDraftRef.current = null;
|
|
61980
62919
|
});
|
|
61981
62920
|
}, [resolveQuestion, setTextPrompt]);
|
|
61982
62921
|
const doFork = (0, import_react61.useCallback)(
|
|
@@ -62598,6 +63537,7 @@ ${plain(err)}`
|
|
|
62598
63537
|
onAutoModeLimit: handleAutoModeLimit,
|
|
62599
63538
|
limits: resolveTurnGuards(ctxRef.current.limits, turnLimitsOverrideRef.current),
|
|
62600
63539
|
...reasoningEffortRef.current !== void 0 ? { effort: reasoningEffortRef.current } : {},
|
|
63540
|
+
...fastModeRef.current ? { speed: "fast" } : {},
|
|
62601
63541
|
...hypermodeRef.current ? { hypermode: true } : {},
|
|
62602
63542
|
...ctxRef.current.refusalFallback ? { refusalFallback: ctxRef.current.refusalFallback } : {},
|
|
62603
63543
|
extraSystem: composeSkillsPrompt(activeSkills) || void 0,
|
|
@@ -63620,6 +64560,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63620
64560
|
const workflowOwns = /* @__PURE__ */ __name(() => !appLifetime.signal.aborted && previousSessionRef.current === session && conversationGenRef.current === workflowGeneration && scopeRef.current?.sessionId === workflowSessionId, "workflowOwns");
|
|
63621
64561
|
const turnReasoningEffort = reasoningEffortRef.current;
|
|
63622
64562
|
const turnHypermode = hypermodeRef.current;
|
|
64563
|
+
const turnFast = fastModeRef.current;
|
|
63623
64564
|
const turnLimits = resolveTurnGuards(ctxRef.current.limits, turnLimitsOverrideRef.current);
|
|
63624
64565
|
const askPermission = /* @__PURE__ */ __name(async (req) => {
|
|
63625
64566
|
if (!stillHere() || ac.signal.aborted || appLifetime.signal.aborted) {
|
|
@@ -63679,6 +64620,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63679
64620
|
// turn only; the session's own setting is untouched.
|
|
63680
64621
|
...(pinnedEffort ?? turnReasoningEffort) !== void 0 ? { effort: pinnedEffort ?? turnReasoningEffort } : {},
|
|
63681
64622
|
...turnHypermode ? { hypermode: true } : {},
|
|
64623
|
+
...turnFast ? { speed: "fast" } : {},
|
|
63682
64624
|
// A model picked with /model while this turn runs: read before every
|
|
63683
64625
|
// request, so the next request of the loop uses it.
|
|
63684
64626
|
liveModel: /* @__PURE__ */ __name(() => {
|
|
@@ -64032,6 +64974,17 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
64032
64974
|
);
|
|
64033
64975
|
return;
|
|
64034
64976
|
}
|
|
64977
|
+
if (fastModeRef.current) {
|
|
64978
|
+
const blocker = await fastModeBlocker(selection.id, selection.model);
|
|
64979
|
+
if (blocker !== void 0) {
|
|
64980
|
+
deferredModelRef.current = { query: target, quiet: false };
|
|
64981
|
+
pushMessage(
|
|
64982
|
+
"system",
|
|
64983
|
+
`Switching to ${selection.id} \xB7 ${selection.model} when this reply finishes. Fast mode ends then: ${blocker}`
|
|
64984
|
+
);
|
|
64985
|
+
return;
|
|
64986
|
+
}
|
|
64987
|
+
}
|
|
64035
64988
|
liveModelPickRef.current = { session, model: selection.model };
|
|
64036
64989
|
deferredModelRef.current = {
|
|
64037
64990
|
query: target,
|
|
@@ -65034,15 +65987,15 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
65034
65987
|
pushMessage("system", "Peer messaging is not ready.");
|
|
65035
65988
|
return;
|
|
65036
65989
|
}
|
|
65037
|
-
const [verb, target, ...
|
|
65990
|
+
const [verb, target, ...words2] = slash.args;
|
|
65038
65991
|
if (verb === "on" || verb === "off") {
|
|
65039
65992
|
peers.setEnabled(verb === "on");
|
|
65040
65993
|
pushMessage(
|
|
65041
65994
|
"system",
|
|
65042
65995
|
`Peer messaging is ${verb}; ${plural(peers.pending, "message")} pending.`
|
|
65043
65996
|
);
|
|
65044
|
-
} else if (verb === "send" && target &&
|
|
65045
|
-
void peers.send(target,
|
|
65997
|
+
} else if (verb === "send" && target && words2.length) {
|
|
65998
|
+
void peers.send(target, words2.join(" ")).then(
|
|
65046
65999
|
(receipt) => pushMessage(
|
|
65047
66000
|
"system",
|
|
65048
66001
|
`Peer message ${receipt.status}: ${receipt.reason ?? "accepted in the receiving inbox"}`
|
|
@@ -65634,6 +66587,21 @@ ${listMatches(found)}`
|
|
|
65634
66587
|
);
|
|
65635
66588
|
return;
|
|
65636
66589
|
}
|
|
66590
|
+
case "tidy-memory": {
|
|
66591
|
+
const manage = session?.storedMemories;
|
|
66592
|
+
if (!manage?.tidy) {
|
|
66593
|
+
pushMessage(
|
|
66594
|
+
"system",
|
|
66595
|
+
"Stored memory is not open yet; /memory tidy works once a conversation has started."
|
|
66596
|
+
);
|
|
66597
|
+
return;
|
|
66598
|
+
}
|
|
66599
|
+
void manage.tidy().then(
|
|
66600
|
+
(text) => pushMessage("system", text),
|
|
66601
|
+
(err) => pushSystem("error", explainFailure(err, "Memory was not tidied."))
|
|
66602
|
+
);
|
|
66603
|
+
return;
|
|
66604
|
+
}
|
|
65637
66605
|
case "show-memory": {
|
|
65638
66606
|
void memoryReport(session, ctx.cwd).then(
|
|
65639
66607
|
(report) => pushMemoryReport(report, pushMessage, pushSystem)
|
|
@@ -66315,6 +67283,10 @@ ${plugins.map((plugin) => {
|
|
|
66315
67283
|
);
|
|
66316
67284
|
return;
|
|
66317
67285
|
}
|
|
67286
|
+
case "fast-mode": {
|
|
67287
|
+
void applyFastMode(slash.enabled === "toggle" ? !fastModeRef.current : slash.enabled);
|
|
67288
|
+
return;
|
|
67289
|
+
}
|
|
66318
67290
|
case "hypermode": {
|
|
66319
67291
|
if (slash.via === "orchestrate") pushMessage("system", ORCHESTRATE_ALIAS_NOTICE);
|
|
66320
67292
|
const enabled = slash.enabled === "toggle" ? !hypermodeRef.current : slash.enabled;
|
|
@@ -67815,6 +68787,12 @@ ${plugins.map((plugin) => {
|
|
|
67815
68787
|
reviewChoiceInFlightRef.current = null;
|
|
67816
68788
|
setSelectedChoice(0);
|
|
67817
68789
|
setChoicePicker(key.escape ? picker.back ?? null : null);
|
|
68790
|
+
if (picker.kind === "decision-setup") {
|
|
68791
|
+
try {
|
|
68792
|
+
recordOffer("later", decisionOptions(), decisionClock());
|
|
68793
|
+
} catch {
|
|
68794
|
+
}
|
|
68795
|
+
}
|
|
67818
68796
|
if (picker.kind === "user-question") {
|
|
67819
68797
|
resolveQuestion({ kind: key.escape ? "skip" : "abort" });
|
|
67820
68798
|
}
|
|
@@ -68490,6 +69468,7 @@ ${plugins.map((plugin) => {
|
|
|
68490
69468
|
session?.account?.label
|
|
68491
69469
|
),
|
|
68492
69470
|
effort: reasoningEffort,
|
|
69471
|
+
fast: fastMode,
|
|
68493
69472
|
goal: statusGoal,
|
|
68494
69473
|
state,
|
|
68495
69474
|
hint: statusHint,
|
|
@@ -68755,9 +69734,15 @@ function memoryActionsPicker(owner, items, target) {
|
|
|
68755
69734
|
target,
|
|
68756
69735
|
title: memoryLabel(target),
|
|
68757
69736
|
notice: memoryDescription(target),
|
|
68758
|
-
values: ["show", "delete"],
|
|
69737
|
+
values: target.state ? ["show", "restore", "delete"] : ["show", "delete"],
|
|
68759
69738
|
options: [
|
|
68760
69739
|
{ label: "Show", description: "Print the whole memory." },
|
|
69740
|
+
...target.state ? [
|
|
69741
|
+
{
|
|
69742
|
+
label: "Restore",
|
|
69743
|
+
description: target.state === "set-aside" ? "Let Namzu recall it again." : "Make it active again so Namzu may recall it."
|
|
69744
|
+
}
|
|
69745
|
+
] : [],
|
|
68761
69746
|
{
|
|
68762
69747
|
label: "Delete",
|
|
68763
69748
|
description: "Remove it so Namzu does not recall it again."
|
|
@@ -69642,7 +70627,7 @@ async function launchTui(ctx, options = {}) {
|
|
|
69642
70627
|
current: null
|
|
69643
70628
|
};
|
|
69644
70629
|
const workspacesEntry = /* @__PURE__ */ __name(() => {
|
|
69645
|
-
workspaces.current ??= import("./entry-
|
|
70630
|
+
workspaces.current ??= import("./entry-BTK3MMFH.js").then(
|
|
69646
70631
|
(m) => m.createWorkspacesEntry({
|
|
69647
70632
|
proxy,
|
|
69648
70633
|
realOut: process.stdout,
|
|
@@ -69708,6 +70693,7 @@ async function launchTui(ctx, options = {}) {
|
|
|
69708
70693
|
...onConfirmExit ? { onConfirmExit } : {},
|
|
69709
70694
|
...beforeExit ? { beforeExit } : {},
|
|
69710
70695
|
examplePrompts: true,
|
|
70696
|
+
decisionSetup: {},
|
|
69711
70697
|
queuedHintCount: fileQueuedHintCount(),
|
|
69712
70698
|
tipHistory
|
|
69713
70699
|
}),
|
|
@@ -69852,4 +70838,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
69852
70838
|
* LICENSE file in the root directory of this source tree.
|
|
69853
70839
|
*)
|
|
69854
70840
|
*/
|
|
69855
|
-
//# sourceMappingURL=tui-
|
|
70841
|
+
//# sourceMappingURL=tui-AAB7734Z.js.map
|