@claudiolabs/claudin 1.1.29 → 1.1.31
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/dist/chunks/AgentTool-1.1.31-6e06310w.mjs +1 -0
- package/dist/chunks/App-1.1.31-bp57fthj.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.31-ptx7r5x2.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.31-0d22j8k7.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.31-v2cfafqt.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.31-a8e8ar2n.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.31-zq76tmk2.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.31-r1mknqwv.mjs +6 -0
- package/dist/chunks/Doctor-1.1.31-t4n9k4nc.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.31-41a3c01z.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.31-y9f8hq45.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.31-xpdggxkf.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.31-0bg1r1g6.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.31-w8fpbc16.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.31-23zjjspn.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.31-504qgqkc.mjs +1 -0
- package/dist/chunks/REPL-1.1.31-nyzbwycm.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.31-dqkxr7bz.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.31-htqfbpbp.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.31-27h2np2z.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.31-41nwynfk.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.31-ea5827ce.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.31-jvrhermf.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.31-c0sya3fj.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.31-28w5033t.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.31-dbrkwgfw.mjs +1 -0
- package/dist/chunks/add-dir-1.1.31-r6x72g59.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.31-kb6srdzm.mjs +1 -0
- package/dist/chunks/agents-1.1.31-1jetdejb.mjs +110 -0
- package/dist/chunks/agents-1.1.31-mfr4h93c.mjs +3 -0
- package/dist/chunks/api-1.1.31-hp3y91t9.mjs +1 -0
- package/dist/chunks/asciicast-1.1.31-t0xrwnqn.mjs +1 -0
- package/dist/chunks/auth-1.1.31-76rswxwe.mjs +1 -0
- package/dist/chunks/auth-1.1.31-yhv86kw0.mjs +1 -0
- package/dist/chunks/autoMode-1.1.31-qma18egk.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.31-egrmqsva.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.31-417m125q.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.31-e5emh88x.mjs +1 -0
- package/dist/chunks/branch-1.1.31-bxrg1svq.mjs +4 -0
- package/dist/chunks/bridge-1.1.31-1rsj352r.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.31-r9vnvw71.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.31-d9mxn4g0.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.31-7sf093b0.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.31-n1t53nem.mjs +1 -0
- package/dist/chunks/btw-1.1.31-skw1dhb5.mjs +1 -0
- package/dist/chunks/buddy-1.1.31-wtmggn5p.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.31-pgss169p.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.31-af3nkg2b.mjs +4 -0
- package/dist/chunks/caches-1.1.31-yvqtsfx3.mjs +1 -0
- package/dist/chunks/cd-1.1.31-9t47yj0z.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.31-b7a99nfq.mjs +1 -0
- package/dist/chunks/claudemd-1.1.31-h72v8r12.mjs +1 -0
- package/dist/chunks/clear-1.1.31-ndp0q9t9.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.31-d6d2q7kn.mjs +1 -0
- package/dist/chunks/cli-1.1.31-03xjvk1e.mjs +3 -0
- package/dist/chunks/cli-1.1.31-0fnqd3bq.mjs +25 -0
- package/dist/chunks/cli-1.1.31-0mmyq6jx.mjs +2 -0
- package/dist/chunks/cli-1.1.31-0yagz4xw.mjs +2 -0
- package/dist/chunks/cli-1.1.31-1192t9cm.mjs +2 -0
- package/dist/chunks/cli-1.1.31-13cx7z8n.mjs +60 -0
- package/dist/chunks/cli-1.1.31-1dv9ay7v.mjs +2 -0
- package/dist/chunks/cli-1.1.31-1q4btmra.mjs +2 -0
- package/dist/chunks/cli-1.1.31-1qw0s3a8.mjs +2 -0
- package/dist/chunks/cli-1.1.31-1wxttnqr.mjs +2 -0
- package/dist/chunks/cli-1.1.31-2csxt0x3.mjs +2 -0
- package/dist/chunks/cli-1.1.31-2ffqcy85.mjs +2 -0
- package/dist/chunks/cli-1.1.31-2j93x895.mjs +24 -0
- package/dist/chunks/cli-1.1.31-2mfapzkq.mjs +2 -0
- package/dist/chunks/cli-1.1.31-2pdbmb7w.mjs +3 -0
- package/dist/chunks/cli-1.1.31-2zvm1tgs.mjs +2 -0
- package/dist/chunks/cli-1.1.31-312b3zf6.mjs +2 -0
- package/dist/chunks/cli-1.1.31-32mahfs2.mjs +2 -0
- package/dist/chunks/cli-1.1.31-3dy87m85.mjs +2 -0
- package/dist/chunks/cli-1.1.31-3ehzwm1n.mjs +2 -0
- package/dist/chunks/cli-1.1.31-3jzsv5dy.mjs +2 -0
- package/dist/chunks/cli-1.1.31-3s51hvv0.mjs +2 -0
- package/dist/chunks/cli-1.1.31-3zy5yd1t.mjs +133 -0
- package/dist/chunks/cli-1.1.31-44jshpbd.mjs +2 -0
- package/dist/chunks/cli-1.1.31-4awnya8e.mjs +2 -0
- package/dist/chunks/cli-1.1.31-4cp1xkaj.mjs +2 -0
- package/dist/chunks/cli-1.1.31-4ja5kbt5.mjs +4 -0
- package/dist/chunks/cli-1.1.31-4tneme0y.mjs +2 -0
- package/dist/chunks/cli-1.1.31-528vtf9a.mjs +2 -0
- package/dist/chunks/cli-1.1.31-52wt9w8w.mjs +15 -0
- package/dist/chunks/cli-1.1.31-556xnzb4.mjs +2 -0
- package/dist/chunks/cli-1.1.31-562nqgh7.mjs +2 -0
- package/dist/chunks/cli-1.1.31-58anwssk.mjs +2 -0
- package/dist/chunks/cli-1.1.31-5ab9cpbt.mjs +3 -0
- package/dist/chunks/cli-1.1.31-5kgkq6vm.mjs +2 -0
- package/dist/chunks/cli-1.1.31-5ma2m26d.mjs +2 -0
- package/dist/chunks/cli-1.1.31-5tgfa7xy.mjs +2 -0
- package/dist/chunks/cli-1.1.31-5xd2j6e7.mjs +2 -0
- package/dist/chunks/cli-1.1.31-612bpjx6.mjs +2 -0
- package/dist/chunks/cli-1.1.31-619zan4w.mjs +2 -0
- package/dist/chunks/cli-1.1.31-6m1k9909.mjs +2 -0
- package/dist/chunks/cli-1.1.31-6pxakyvg.mjs +2 -0
- package/dist/chunks/cli-1.1.31-6qm466ss.mjs +2 -0
- package/dist/chunks/cli-1.1.31-706cv7fx.mjs +2 -0
- package/dist/chunks/cli-1.1.31-7692zxpg.mjs +2 -0
- package/dist/chunks/cli-1.1.31-774jqp88.mjs +2 -0
- package/dist/chunks/cli-1.1.31-777381m0.mjs +34 -0
- package/dist/chunks/cli-1.1.31-7hmq6k3a.mjs +26 -0
- package/dist/chunks/cli-1.1.31-7wdp9ve5.mjs +3 -0
- package/dist/chunks/cli-1.1.31-8bcb1d1y.mjs +2 -0
- package/dist/chunks/cli-1.1.31-8esfq0f2.mjs +2 -0
- package/dist/chunks/cli-1.1.31-8h9zps1d.mjs +2 -0
- package/dist/chunks/cli-1.1.31-8sw4prf8.mjs +22 -0
- package/dist/chunks/cli-1.1.31-8syj0cmx.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9493f46x.mjs +9 -0
- package/dist/chunks/cli-1.1.31-978dpg39.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9a1gsrx2.mjs +24 -0
- package/dist/chunks/cli-1.1.31-9adq5rjd.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9d5v98td.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9e4vtbvh.mjs +3 -0
- package/dist/chunks/cli-1.1.31-9efpx64n.mjs +20 -0
- package/dist/chunks/cli-1.1.31-9gf60j86.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9gzbwjb8.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9m6ef5kb.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9m6gmh2w.mjs +2 -0
- package/dist/chunks/cli-1.1.31-9x9gaa7g.mjs +2 -0
- package/dist/chunks/cli-1.1.31-a4vvez04.mjs +2 -0
- package/dist/chunks/cli-1.1.31-a5wav9hq.mjs +2 -0
- package/dist/chunks/cli-1.1.31-a611zwj5.mjs +10 -0
- package/dist/chunks/cli-1.1.31-adnn5x8c.mjs +16 -0
- package/dist/chunks/cli-1.1.31-afzdmcrq.mjs +2 -0
- package/dist/chunks/cli-1.1.31-ahbyaapz.mjs +12 -0
- package/dist/chunks/cli-1.1.31-aqm3wayg.mjs +2 -0
- package/dist/chunks/cli-1.1.31-b2pt6rsc.mjs +2 -0
- package/dist/chunks/cli-1.1.31-b7258j1y.mjs +2 -0
- package/dist/chunks/cli-1.1.31-b8rbgfhm.mjs +2 -0
- package/dist/chunks/cli-1.1.31-bdt0j0zj.mjs +4 -0
- package/dist/chunks/cli-1.1.31-bfsa3dvr.mjs +2 -0
- package/dist/chunks/cli-1.1.31-bx3e5rv6.mjs +3 -0
- package/dist/chunks/cli-1.1.31-c17g88x0.mjs +9 -0
- package/dist/chunks/cli-1.1.31-c9707zjx.mjs +63 -0
- package/dist/chunks/cli-1.1.31-can8wyac.mjs +2 -0
- package/dist/chunks/cli-1.1.31-cpay8r5h.mjs +2 -0
- package/dist/chunks/cli-1.1.31-cpeph4zm.mjs +6 -0
- package/dist/chunks/cli-1.1.31-d9sxj86f.mjs +2 -0
- package/dist/chunks/cli-1.1.31-dc4fq4s3.mjs +2 -0
- package/dist/chunks/cli-1.1.31-dctwr6q4.mjs +5 -0
- package/dist/chunks/cli-1.1.31-dcyx3536.mjs +39 -0
- package/dist/chunks/cli-1.1.31-dhecyw04.mjs +3 -0
- package/dist/chunks/cli-1.1.31-dmghye74.mjs +4 -0
- package/dist/chunks/cli-1.1.31-ek449yjc.mjs +6 -0
- package/dist/chunks/cli-1.1.31-emhqeb1g.mjs +2 -0
- package/dist/chunks/cli-1.1.31-eqfmzrxc.mjs +2 -0
- package/dist/chunks/cli-1.1.31-eqvc58gw.mjs +2 -0
- package/dist/chunks/cli-1.1.31-ewhwdszf.mjs +2 -0
- package/dist/chunks/cli-1.1.31-f1zfyp44.mjs +2 -0
- package/dist/chunks/cli-1.1.31-f2abkvxa.mjs +4 -0
- package/dist/chunks/cli-1.1.31-fbdr0297.mjs +2 -0
- package/dist/chunks/cli-1.1.31-fdjs93ba.mjs +2 -0
- package/dist/chunks/cli-1.1.31-fdk7yhs0.mjs +2 -0
- package/dist/chunks/cli-1.1.31-fjdb444f.mjs +7 -0
- package/dist/chunks/cli-1.1.31-fk787pkf.mjs +15 -0
- package/dist/chunks/cli-1.1.31-fpqqpyrw.mjs +3 -0
- package/dist/chunks/cli-1.1.31-fr8t4a7n.mjs +2 -0
- package/dist/chunks/cli-1.1.31-fy2x8k7r.mjs +2 -0
- package/dist/chunks/cli-1.1.31-g41zancj.mjs +3 -0
- package/dist/chunks/cli-1.1.31-g58b1jfa.mjs +5473 -0
- package/dist/chunks/cli-1.1.31-ggtvemxf.mjs +2 -0
- package/dist/chunks/cli-1.1.31-gk7te1jt.mjs +2 -0
- package/dist/chunks/cli-1.1.31-gq54djk0.mjs +2 -0
- package/dist/chunks/cli-1.1.31-h102y1at.mjs +8 -0
- package/dist/chunks/cli-1.1.31-h1sv3apa.mjs +4 -0
- package/dist/chunks/cli-1.1.31-h41m4yrw.mjs +2 -0
- package/dist/chunks/cli-1.1.31-h5a78vp8.mjs +2 -0
- package/dist/chunks/cli-1.1.31-hfdt80w2.mjs +50 -0
- package/dist/chunks/cli-1.1.31-hk88wxhm.mjs +2 -0
- package/dist/chunks/cli-1.1.31-hpxjvh3j.mjs +3 -0
- package/dist/chunks/cli-1.1.31-hvnwvzhh.mjs +58 -0
- package/dist/chunks/cli-1.1.31-j0fbn8aw.mjs +2 -0
- package/dist/chunks/cli-1.1.31-jfj1gvgy.mjs +2 -0
- package/dist/chunks/cli-1.1.31-jh2sb5nk.mjs +42 -0
- package/dist/chunks/cli-1.1.31-jnyr50hq.mjs +2 -0
- package/dist/chunks/cli-1.1.31-jwa8f70w.mjs +2 -0
- package/dist/chunks/cli-1.1.31-jyzz7q1c.mjs +2 -0
- package/dist/chunks/cli-1.1.31-k0zfy1nt.mjs +2 -0
- package/dist/chunks/cli-1.1.31-kfw3q4sp.mjs +133 -0
- package/dist/chunks/cli-1.1.31-kp8hq72m.mjs +2 -0
- package/dist/chunks/cli-1.1.31-kzh4darh.mjs +2 -0
- package/dist/chunks/cli-1.1.31-m5w2d13z.mjs +2 -0
- package/dist/chunks/cli-1.1.31-m9yqg6jg.mjs +2 -0
- package/dist/chunks/cli-1.1.31-mcekc48f.mjs +2 -0
- package/dist/chunks/cli-1.1.31-mtcbc6g3.mjs +4 -0
- package/dist/chunks/cli-1.1.31-n130x03f.mjs +2 -0
- package/dist/chunks/cli-1.1.31-n305h9qd.mjs +25 -0
- package/dist/chunks/cli-1.1.31-n4g6s1bz.mjs +2 -0
- package/dist/chunks/cli-1.1.31-n5vytp0f.mjs +2 -0
- package/dist/chunks/cli-1.1.31-nh2cfavp.mjs +2 -0
- package/dist/chunks/cli-1.1.31-njfyxwfr.mjs +2 -0
- package/dist/chunks/cli-1.1.31-nvecb8c6.mjs +2 -0
- package/dist/chunks/cli-1.1.31-nyvjx813.mjs +24 -0
- package/dist/chunks/cli-1.1.31-nyvz0ev8.mjs +5 -0
- package/dist/chunks/cli-1.1.31-p99fz46k.mjs +206 -0
- package/dist/chunks/cli-1.1.31-pb50hb6v.mjs +12 -0
- package/dist/chunks/cli-1.1.31-pg2ntz9b.mjs +17 -0
- package/dist/chunks/cli-1.1.31-pgde5349.mjs +2 -0
- package/dist/chunks/cli-1.1.31-pp98t7k8.mjs +2 -0
- package/dist/chunks/cli-1.1.31-ptvddvjv.mjs +2 -0
- package/dist/chunks/cli-1.1.31-pzz7j17y.mjs +3 -0
- package/dist/chunks/cli-1.1.31-q67trvk0.mjs +2 -0
- package/dist/chunks/cli-1.1.31-q6k8ems6.mjs +21 -0
- package/dist/chunks/cli-1.1.31-qj8vksz8.mjs +2 -0
- package/dist/chunks/cli-1.1.31-qq0sng13.mjs +2 -0
- package/dist/chunks/cli-1.1.31-qsftejzk.mjs +2 -0
- package/dist/chunks/cli-1.1.31-qv6x2hht.mjs +2 -0
- package/dist/chunks/cli-1.1.31-qyztdyg2.mjs +2 -0
- package/dist/chunks/cli-1.1.31-r5g0ns02.mjs +2 -0
- package/dist/chunks/cli-1.1.31-r7jps0tn.mjs +3 -0
- package/dist/chunks/cli-1.1.31-rqyqyvdn.mjs +2 -0
- package/dist/chunks/cli-1.1.31-rspa4dsq.mjs +6 -0
- package/dist/chunks/cli-1.1.31-rw3xn3tc.mjs +4 -0
- package/dist/chunks/cli-1.1.31-s1a6vw53.mjs +2 -0
- package/dist/chunks/cli-1.1.31-s1vgm3hb.mjs +2 -0
- package/dist/chunks/cli-1.1.31-s246tb6v.mjs +15 -0
- package/dist/chunks/cli-1.1.31-satbt91m.mjs +18 -0
- package/dist/chunks/cli-1.1.31-sc82f8hw.mjs +6 -0
- package/dist/chunks/cli-1.1.31-sn0x975f.mjs +24 -0
- package/dist/chunks/cli-1.1.31-sn2bmgwr.mjs +2 -0
- package/dist/chunks/cli-1.1.31-t2y2tkme.mjs +2 -0
- package/dist/chunks/cli-1.1.31-t6m64e0q.mjs +6 -0
- package/dist/chunks/cli-1.1.31-t96rrv1m.mjs +2 -0
- package/dist/chunks/cli-1.1.31-tc6xppyr.mjs +2 -0
- package/dist/chunks/cli-1.1.31-tctd36c8.mjs +2 -0
- package/dist/chunks/cli-1.1.31-thhdw5e1.mjs +2 -0
- package/dist/chunks/cli-1.1.31-v02fpzs5.mjs +2 -0
- package/dist/chunks/cli-1.1.31-v7nswcm8.mjs +2 -0
- package/dist/chunks/cli-1.1.31-var05xaf.mjs +2 -0
- package/dist/chunks/cli-1.1.31-vbch5rht.mjs +2 -0
- package/dist/chunks/cli-1.1.31-vf004w21.mjs +2 -0
- package/dist/chunks/cli-1.1.31-vhstdnfa.mjs +7 -0
- package/dist/chunks/cli-1.1.31-vphyv007.mjs +2 -0
- package/dist/chunks/cli-1.1.31-vpkbqj90.mjs +4 -0
- package/dist/chunks/cli-1.1.31-vr977n4j.mjs +2 -0
- package/dist/chunks/cli-1.1.31-w0vfcfhs.mjs +2 -0
- package/dist/chunks/cli-1.1.31-w225x38q.mjs +2 -0
- package/dist/chunks/cli-1.1.31-war7w6d7.mjs +2 -0
- package/dist/chunks/cli-1.1.31-wba64b2s.mjs +2 -0
- package/dist/chunks/cli-1.1.31-wfv9e9p4.mjs +2 -0
- package/dist/chunks/cli-1.1.31-wmt8ywr9.mjs +2 -0
- package/dist/chunks/cli-1.1.31-wnpf6e90.mjs +2 -0
- package/dist/chunks/cli-1.1.31-x1wr5k0p.mjs +2 -0
- package/dist/chunks/cli-1.1.31-x96s38b0.mjs +2 -0
- package/dist/chunks/cli-1.1.31-xqdypd2k.mjs +6 -0
- package/dist/chunks/cli-1.1.31-xv09f0k4.mjs +2 -0
- package/dist/chunks/cli-1.1.31-yte5f9f9.mjs +45 -0
- package/dist/chunks/cli-1.1.31-yz72mhbg.mjs +2 -0
- package/dist/chunks/cli-1.1.31-z3s1pnd3.mjs +1 -0
- package/dist/chunks/cli-1.1.31-z6qe8e42.mjs +2 -0
- package/dist/chunks/cli-1.1.31-z7hdz84q.mjs +17 -0
- package/dist/chunks/cli-1.1.31-zsjs5eq0.mjs +2 -0
- package/dist/chunks/cli-1.1.31-zvbpmw2y.mjs +2 -0
- package/dist/chunks/cli-1.1.31-zy7nrvt9.mjs +2 -0
- package/dist/chunks/cli-1.1.31-zzd4cheh.mjs +2 -0
- package/dist/chunks/client-1.1.31-3bn971t2.mjs +1 -0
- package/dist/chunks/color-1.1.31-n3q45hw4.mjs +1 -0
- package/dist/chunks/compact-1.1.31-zkekkcjq.mjs +3 -0
- package/dist/chunks/config-1.1.31-1t6yz96k.mjs +1 -0
- package/dist/chunks/config-1.1.31-enwx50r9.mjs +1 -0
- package/dist/chunks/constants-1.1.31-5peb81d1.mjs +1 -0
- package/dist/chunks/context-1.1.31-9crzemp8.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.31-twqynyp7.mjs +1 -0
- package/dist/chunks/conversation-1.1.31-yw2es9kq.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.31-axfr0ar5.mjs +1 -0
- package/dist/chunks/copy-1.1.31-y97hza01.mjs +9 -0
- package/dist/chunks/cost-1.1.31-wtp1fp62.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.31-tsfe2dea.mjs +1 -0
- package/dist/chunks/createSession-1.1.31-pddv01ds.mjs +1 -0
- package/dist/chunks/debug-1.1.31-5awffxcd.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.31-6a742vb3.mjs +1480 -0
- package/dist/chunks/desktop-1.1.31-zq54hfwy.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.31-s6pe6c1x.mjs +1 -0
- package/dist/chunks/detection-1.1.31-zss1hfbq.mjs +1 -0
- package/dist/chunks/diff-1.1.31-ksj17xmk.mjs +1 -0
- package/dist/chunks/doctor-1.1.31-v4djfk2w.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.31-gs3rsn7y.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.31-s1vpzgtx.mjs +1 -0
- package/dist/chunks/effort-1.1.31-6z9vjdd8.mjs +13 -0
- package/dist/chunks/engine-1.1.31-rv1fs549.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.31-5p5f4zyz.mjs +1 -0
- package/dist/chunks/envUtils-1.1.31-ntcm9cr0.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.31-hh2weytc.mjs +1 -0
- package/dist/chunks/environments-1.1.31-yvgyx900.mjs +1 -0
- package/dist/chunks/errors-1.1.31-n434b94a.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.31-gntd6p22.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.31-s2n0jxqw.mjs +1 -0
- package/dist/chunks/exit-1.1.31-rgrjhztt.mjs +1 -0
- package/dist/chunks/explorer-1.1.31-cyken2c0.mjs +1 -0
- package/dist/chunks/export-1.1.31-nmjy9qp1.mjs +2 -0
- package/dist/chunks/fast-1.1.31-58c4aeze.mjs +1 -0
- package/dist/chunks/feedback-1.1.31-m0vj61dd.mjs +16 -0
- package/dist/chunks/git-1.1.31-9ytjvad9.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.31-7pk651pz.mjs +1 -0
- package/dist/chunks/goal-1.1.31-2a9eh1dv.mjs +4 -0
- package/dist/chunks/headless-1.1.31-btcvy308.mjs +2 -0
- package/dist/chunks/heapdump-1.1.31-3d2namke.mjs +6 -0
- package/dist/chunks/help-1.1.31-sewrb4nb.mjs +1 -0
- package/dist/chunks/hookChains-1.1.31-72mrrs9j.mjs +3 -0
- package/dist/chunks/hooks-1.1.31-0gf2fwcn.mjs +1 -0
- package/dist/chunks/hooks-1.1.31-t1v6dwz6.mjs +79 -0
- package/dist/chunks/ide-1.1.31-rfvpxf98.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.31-6m3111th.mjs +1 -0
- package/dist/chunks/import-1.1.31-n4khxgen.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.31-js74nw49.mjs +1 -0
- package/dist/chunks/index-1.1.31-1d2w0stv.mjs +1 -0
- package/dist/chunks/index-1.1.31-7xyvb71n.mjs +1 -0
- package/dist/chunks/index-1.1.31-b35axgfq.mjs +1 -0
- package/dist/chunks/index-1.1.31-bb3ds6px.mjs +5 -0
- package/dist/chunks/index-1.1.31-d8kmfk8g.mjs +1 -0
- package/dist/chunks/index-1.1.31-djqjbcj1.mjs +1 -0
- package/dist/chunks/index-1.1.31-fbcpgjqr.mjs +1 -0
- package/dist/chunks/index-1.1.31-fzj8sx04.mjs +1 -0
- package/dist/chunks/index-1.1.31-h4jmtajm.mjs +9 -0
- package/dist/chunks/index-1.1.31-hxatxhrm.mjs +1 -0
- package/dist/chunks/index-1.1.31-jjp83m1j.mjs +1 -0
- package/dist/chunks/index-1.1.31-jk9pvxkr.mjs +1 -0
- package/dist/chunks/index-1.1.31-jy33bsc3.mjs +2 -0
- package/dist/chunks/index-1.1.31-kdnrzq4a.mjs +1 -0
- package/dist/chunks/index-1.1.31-kv3bfsq2.mjs +23 -0
- package/dist/chunks/index-1.1.31-mxjtqbfj.mjs +1 -0
- package/dist/chunks/index-1.1.31-p8xpgawg.mjs +1 -0
- package/dist/chunks/index-1.1.31-phw15bz8.mjs +1 -0
- package/dist/chunks/index-1.1.31-pr2zcv22.mjs +30 -0
- package/dist/chunks/index-1.1.31-q75y58jp.mjs +2 -0
- package/dist/chunks/index-1.1.31-qhsyqcg4.mjs +1 -0
- package/dist/chunks/index-1.1.31-tzvhzkcd.mjs +1 -0
- package/dist/chunks/index-1.1.31-wgdk68t3.mjs +9 -0
- package/dist/chunks/init-1.1.31-4ayzds5h.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.31-ebns690c.mjs +1 -0
- package/dist/chunks/ink-1.1.31-rx0229yp.mjs +1 -0
- package/dist/chunks/insights-1.1.31-t8z4k64x.mjs +870 -0
- package/dist/chunks/install-1.1.31-fvw0rbqj.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.31-zmtxtda9.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.31-j04t1paw.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.31-xq2br8z8.mjs +1 -0
- package/dist/chunks/keybindings-1.1.31-a0dfh2gb.mjs +2 -0
- package/dist/chunks/knowledge-1.1.31-g087p4dy.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.31-vyesmh7x.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.31-39mbd67g.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.31-7pnfkxj8.mjs +1 -0
- package/dist/chunks/log-1.1.31-75wjvmg7.mjs +1 -0
- package/dist/chunks/main-1.1.31-htavj2vh.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.31-3t5j20s3.mjs +1 -0
- package/dist/chunks/mcp-1.1.31-g8q13cfk.mjs +1 -0
- package/dist/chunks/mcp-1.1.31-gnbrx51d.mjs +17 -0
- package/dist/chunks/mcp-1.1.31-tb2yw0fm.mjs +4 -0
- package/dist/chunks/mcpb-1.1.31-an4y7m57.mjs +1 -0
- package/dist/chunks/memory-1.1.31-6ebsap62.mjs +77 -0
- package/dist/chunks/model-1.1.31-dfs178qb.mjs +1 -0
- package/dist/chunks/model-1.1.31-yjsxjv0f.mjs +2 -0
- package/dist/chunks/node-1.1.31-4gqzhhpj.mjs +15 -0
- package/dist/chunks/node-1.1.31-bknsrjhq.mjs +1 -0
- package/dist/chunks/oauth-1.1.31-0dfgbykp.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.31-bx5cgqc0.mjs +14 -0
- package/dist/chunks/output-style-1.1.31-fqg3pscb.mjs +1 -0
- package/dist/chunks/package-D2QZMRW7-1.1.31-tbwnz9re.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.31-htt07xve.mjs +1 -0
- package/dist/chunks/parser-1.1.31-22dqq9cd.mjs +1 -0
- package/dist/chunks/permissions-1.1.31-2jt71rmf.mjs +1 -0
- package/dist/chunks/permissions-1.1.31-8eevgx6v.mjs +3 -0
- package/dist/chunks/plan-1.1.31-sgds3thc.mjs +1 -0
- package/dist/chunks/plist-1.1.31-50ff60z2.mjs +1 -0
- package/dist/chunks/plugin-1.1.31-j5n91qc0.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.31-28rvz0zj.mjs +1 -0
- package/dist/chunks/plugins-1.1.31-cq05wg0h.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.31-xmrm67ge.mjs +2 -0
- package/dist/chunks/print-1.1.31-4n5d0cdk.mjs +57 -0
- package/dist/chunks/process-1.1.31-7c3jtep7.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.31-ycb3ehgr.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.31-0bwjc7n4.mjs +9 -0
- package/dist/chunks/prompt-1.1.31-1krmkgep.mjs +1 -0
- package/dist/chunks/prompt-1.1.31-vsft6hz3.mjs +1 -0
- package/dist/chunks/prompts-1.1.31-jp2k44tp.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.31-yc5dejjn.mjs +13 -0
- package/dist/chunks/provider-1.1.31-sba30ytt.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.31-8g3p4ntd.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.31-rnj0xtqw.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.31-rtx2e9wp.mjs +26 -0
- package/dist/chunks/registry-1.1.31-ecyhakd2.mjs +1 -0
- package/dist/chunks/release-notes-1.1.31-gf017wax.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.31-de7agwmx.mjs +2 -0
- package/dist/chunks/remote-env-1.1.31-x3aaeh2d.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.31-37k3bw33.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.31-tkas2k4z.mjs +1 -0
- package/dist/chunks/rename-1.1.31-4q58stc8.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.31-64getkgv.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.31-0n74v295.mjs +1 -0
- package/dist/chunks/resume-1.1.31-btzfzzf4.mjs +2 -0
- package/dist/chunks/rewind-1.1.31-9m2a508m.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.31-bftj813f.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.31-tra2r0dx.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.31-6nyy2rag.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.31-h1n35f5k.mjs +1 -0
- package/dist/chunks/session-1.1.31-xb800b9s.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.31-gkkyesrj.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.31-s7gez2t6.mjs +1 -0
- package/dist/chunks/settings-1.1.31-w7zfpg83.mjs +1 -0
- package/dist/chunks/setup-1.1.31-b6kjgetf.mjs +12 -0
- package/dist/chunks/sinks-1.1.31-g9n7r1nh.mjs +1 -0
- package/dist/chunks/skills-1.1.31-ag9r3asv.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.31-h19httmy.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.31-f3g7de65.mjs +1 -0
- package/dist/chunks/state-1.1.31-tbc1c6c2.mjs +1 -0
- package/dist/chunks/stats-1.1.31-71xjrkax.mjs +1 -0
- package/dist/chunks/status-1.1.31-n65g11nc.mjs +1 -0
- package/dist/chunks/stickers-1.1.31-eze0atpf.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.31-r788gbdf.mjs +1 -0
- package/dist/chunks/tasks-1.1.31-tbc0x51m.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.31-yt18sjr2.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.31-f3bgkc7m.mjs +1 -0
- package/dist/chunks/teleport-1.1.31-4mvcqr5j.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.31-y574v0gj.mjs +1 -0
- package/dist/chunks/theme-1.1.31-2nth8fxb.mjs +1 -0
- package/dist/chunks/thinkback-1.1.31-yt5309kx.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.31-n61vtr8q.mjs +1 -0
- package/dist/chunks/toolPool-1.1.31-2wrjcf13.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.31-vr7hen30.mjs +1 -0
- package/dist/chunks/tools-1.1.31-xgrxwk7j.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.31-ad2f2kvj.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.31-mtgg85tg.mjs +69 -0
- package/dist/chunks/types-1.1.31-ery244ea.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.31-fs3fn2qp.mjs +4 -0
- package/dist/chunks/update-1.1.31-j79f7es2.mjs +72 -0
- package/dist/chunks/upload-1.1.31-ehqzz7x7.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.31-z70ctdj3.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.31-e0hbcnyw.mjs +1 -0
- package/dist/chunks/usage-1.1.31-qgmy1ktr.mjs +1 -0
- package/dist/chunks/util-1.1.31-jy81jvt3.mjs +1 -0
- package/dist/chunks/utils-1.1.31-3jpj59nn.mjs +1 -0
- package/dist/chunks/vim-1.1.31-wbbckx93.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.31-v994wq2d.mjs +13 -0
- package/dist/chunks/watcher-1.1.31-zr0darq0.mjs +1 -0
- package/dist/chunks/wiki-1.1.31-7gcn31zm.mjs +132 -0
- package/dist/chunks/workflows-1.1.31-ek8twhyg.mjs +1 -0
- package/dist/chunks/worktree-1.1.31-krxr11er.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.31-m3t752mj.mjs +1 -0
- package/dist/chunks/wrapper-1.1.31-037s1v4h.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.29-awhbrkah.mjs +0 -1
- package/dist/chunks/App-1.1.29-pm1xvr3g.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.29-c44twxse.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.29-f11by8v4.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.29-vnqj2te2.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.29-z2ah9t9j.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.29-30pn689g.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.29-sja8s9ck.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.29-k98h1gzp.mjs +0 -6
- package/dist/chunks/Doctor-1.1.29-ab8tjfg7.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.29-16y5q4ta.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.29-rk6hjgv2.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.29-kwjexf2x.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.29-479a268q.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.29-vshc8a59.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.29-snkzzfjw.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.29-x67swksb.mjs +0 -1
- package/dist/chunks/REPL-1.1.29-yw76hfjs.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.29-033m6wha.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.29-kbtx0xa6.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.29-dq4fkj22.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.29-x5fsxqa3.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.29-18h9wdn7.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.29-42z37x43.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.29-dkk7q8sf.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.29-944b5g4w.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.29-j7qknp7t.mjs +0 -1
- package/dist/chunks/add-dir-1.1.29-na3kdm45.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.29-fjjae3tn.mjs +0 -1
- package/dist/chunks/agents-1.1.29-gdcf24kq.mjs +0 -110
- package/dist/chunks/agents-1.1.29-hbyggbar.mjs +0 -3
- package/dist/chunks/api-1.1.29-tb280rgw.mjs +0 -1
- package/dist/chunks/asciicast-1.1.29-69mc9agv.mjs +0 -1
- package/dist/chunks/assistant-1.1.29-qmvynqfb.mjs +0 -1
- package/dist/chunks/auth-1.1.29-k2h0c136.mjs +0 -1
- package/dist/chunks/auth-1.1.29-mkh8s4y7.mjs +0 -1
- package/dist/chunks/autoMode-1.1.29-5enddc49.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.29-p4hp4dv6.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.29-sk8rt0mh.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.29-qxt8xakt.mjs +0 -1
- package/dist/chunks/branch-1.1.29-0zwfdt6s.mjs +0 -4
- package/dist/chunks/bridge-1.1.29-ee6b7cck.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.29-4wseqmtn.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.29-2r501b1s.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.29-sk2e5ssh.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.29-mjz0jnns.mjs +0 -1
- package/dist/chunks/btw-1.1.29-arf7x19m.mjs +0 -1
- package/dist/chunks/buddy-1.1.29-awsva6y8.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.29-67egf5jw.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.29-yk1h4vdq.mjs +0 -4
- package/dist/chunks/caches-1.1.29-8ryyt679.mjs +0 -1
- package/dist/chunks/cd-1.1.29-w9gepxqm.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.29-7g8vpmk4.mjs +0 -1
- package/dist/chunks/claudemd-1.1.29-z00d07f9.mjs +0 -1
- package/dist/chunks/clear-1.1.29-aj6vgn4b.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.29-95xqw9gq.mjs +0 -1
- package/dist/chunks/cli-1.1.29-09pf4n9h.mjs +0 -2
- package/dist/chunks/cli-1.1.29-0kfg7hf8.mjs +0 -2
- package/dist/chunks/cli-1.1.29-0rnfn0gy.mjs +0 -2
- package/dist/chunks/cli-1.1.29-0s73ykp6.mjs +0 -3
- package/dist/chunks/cli-1.1.29-0tf52nkw.mjs +0 -8
- package/dist/chunks/cli-1.1.29-0v2ryegc.mjs +0 -2
- package/dist/chunks/cli-1.1.29-0vpcc8vm.mjs +0 -2
- package/dist/chunks/cli-1.1.29-11hr4111.mjs +0 -2
- package/dist/chunks/cli-1.1.29-13gvy0m9.mjs +0 -25
- package/dist/chunks/cli-1.1.29-153rxzts.mjs +0 -2
- package/dist/chunks/cli-1.1.29-17kpfbq0.mjs +0 -2
- package/dist/chunks/cli-1.1.29-1dqp4d2w.mjs +0 -2
- package/dist/chunks/cli-1.1.29-1pqjxrp8.mjs +0 -2
- package/dist/chunks/cli-1.1.29-20bcsb6f.mjs +0 -15
- package/dist/chunks/cli-1.1.29-23gv5dgk.mjs +0 -2
- package/dist/chunks/cli-1.1.29-247v5hpd.mjs +0 -2
- package/dist/chunks/cli-1.1.29-252q86ck.mjs +0 -2
- package/dist/chunks/cli-1.1.29-27h8nqm5.mjs +0 -2
- package/dist/chunks/cli-1.1.29-29svre2k.mjs +0 -133
- package/dist/chunks/cli-1.1.29-2e5s8gsb.mjs +0 -24
- package/dist/chunks/cli-1.1.29-2ezms0yf.mjs +0 -2
- package/dist/chunks/cli-1.1.29-2hejf6pj.mjs +0 -2
- package/dist/chunks/cli-1.1.29-2mcxe125.mjs +0 -2
- package/dist/chunks/cli-1.1.29-2sjtk1zb.mjs +0 -2
- package/dist/chunks/cli-1.1.29-2tyhgmxe.mjs +0 -2
- package/dist/chunks/cli-1.1.29-2yev8mxw.mjs +0 -6
- package/dist/chunks/cli-1.1.29-31y8na35.mjs +0 -2
- package/dist/chunks/cli-1.1.29-34nqdrk5.mjs +0 -2
- package/dist/chunks/cli-1.1.29-35kpvqby.mjs +0 -4
- package/dist/chunks/cli-1.1.29-3776marx.mjs +0 -9
- package/dist/chunks/cli-1.1.29-37j436rz.mjs +0 -2
- package/dist/chunks/cli-1.1.29-3dnft82a.mjs +0 -2
- package/dist/chunks/cli-1.1.29-3fcr0sm5.mjs +0 -2
- package/dist/chunks/cli-1.1.29-3s4wcn65.mjs +0 -4
- package/dist/chunks/cli-1.1.29-40v483aw.mjs +0 -58
- package/dist/chunks/cli-1.1.29-4ahf2sg4.mjs +0 -2
- package/dist/chunks/cli-1.1.29-4bemzx23.mjs +0 -2
- package/dist/chunks/cli-1.1.29-4p953chd.mjs +0 -2
- package/dist/chunks/cli-1.1.29-4pdnzc5j.mjs +0 -2
- package/dist/chunks/cli-1.1.29-4q271q7a.mjs +0 -2
- package/dist/chunks/cli-1.1.29-4w9b7g8h.mjs +0 -3
- package/dist/chunks/cli-1.1.29-4xqgqvwm.mjs +0 -2
- package/dist/chunks/cli-1.1.29-4yztmbcx.mjs +0 -17
- package/dist/chunks/cli-1.1.29-55khgk00.mjs +0 -9
- package/dist/chunks/cli-1.1.29-566mygcr.mjs +0 -2
- package/dist/chunks/cli-1.1.29-57e9kkv7.mjs +0 -12
- package/dist/chunks/cli-1.1.29-57f3k3fp.mjs +0 -5
- package/dist/chunks/cli-1.1.29-5bm4np8j.mjs +0 -2
- package/dist/chunks/cli-1.1.29-5gydp5n7.mjs +0 -6
- package/dist/chunks/cli-1.1.29-5mpj7dft.mjs +0 -2
- package/dist/chunks/cli-1.1.29-5p2zzfpq.mjs +0 -4
- package/dist/chunks/cli-1.1.29-5pbjmqzt.mjs +0 -2
- package/dist/chunks/cli-1.1.29-5svhj1v0.mjs +0 -18
- package/dist/chunks/cli-1.1.29-6g47vtst.mjs +0 -2
- package/dist/chunks/cli-1.1.29-6kvtrk8a.mjs +0 -2
- package/dist/chunks/cli-1.1.29-6mbq5wth.mjs +0 -3
- package/dist/chunks/cli-1.1.29-6ngsfhk3.mjs +0 -17
- package/dist/chunks/cli-1.1.29-6q1q5fa3.mjs +0 -2
- package/dist/chunks/cli-1.1.29-6qykmvew.mjs +0 -2
- package/dist/chunks/cli-1.1.29-6t6n6ctd.mjs +0 -2
- package/dist/chunks/cli-1.1.29-71e5px3b.mjs +0 -2
- package/dist/chunks/cli-1.1.29-740d0ga1.mjs +0 -2
- package/dist/chunks/cli-1.1.29-79tgwbnn.mjs +0 -2
- package/dist/chunks/cli-1.1.29-7p975zzx.mjs +0 -2
- package/dist/chunks/cli-1.1.29-7peev9wq.mjs +0 -3
- package/dist/chunks/cli-1.1.29-7pfvq0z6.mjs +0 -60
- package/dist/chunks/cli-1.1.29-7vrxybxh.mjs +0 -15
- package/dist/chunks/cli-1.1.29-834b4680.mjs +0 -2
- package/dist/chunks/cli-1.1.29-8398r1x1.mjs +0 -2
- package/dist/chunks/cli-1.1.29-842m4sds.mjs +0 -2
- package/dist/chunks/cli-1.1.29-84fpb4zk.mjs +0 -2
- package/dist/chunks/cli-1.1.29-89nqwnk6.mjs +0 -3
- package/dist/chunks/cli-1.1.29-8c371c3k.mjs +0 -2
- package/dist/chunks/cli-1.1.29-8dsnjzad.mjs +0 -2
- package/dist/chunks/cli-1.1.29-8eeh9yez.mjs +0 -2
- package/dist/chunks/cli-1.1.29-8k2xw0ns.mjs +0 -16
- package/dist/chunks/cli-1.1.29-8s0k2ydg.mjs +0 -2
- package/dist/chunks/cli-1.1.29-8zfk7gyk.mjs +0 -2
- package/dist/chunks/cli-1.1.29-995n5c8r.mjs +0 -2
- package/dist/chunks/cli-1.1.29-9fkgjjzm.mjs +0 -2
- package/dist/chunks/cli-1.1.29-9n8sz71q.mjs +0 -6
- package/dist/chunks/cli-1.1.29-9qc9kyz8.mjs +0 -6
- package/dist/chunks/cli-1.1.29-9s3rafev.mjs +0 -2
- package/dist/chunks/cli-1.1.29-9s9kgzze.mjs +0 -2
- package/dist/chunks/cli-1.1.29-a1p2bm8x.mjs +0 -4
- package/dist/chunks/cli-1.1.29-a6pnwve8.mjs +0 -206
- package/dist/chunks/cli-1.1.29-aa81cr7r.mjs +0 -2
- package/dist/chunks/cli-1.1.29-aazftc8x.mjs +0 -4
- package/dist/chunks/cli-1.1.29-ajwqka67.mjs +0 -2
- package/dist/chunks/cli-1.1.29-akx5bp37.mjs +0 -2
- package/dist/chunks/cli-1.1.29-am1n3767.mjs +0 -5553
- package/dist/chunks/cli-1.1.29-aptcshv0.mjs +0 -2
- package/dist/chunks/cli-1.1.29-ar7jahd2.mjs +0 -2
- package/dist/chunks/cli-1.1.29-bpvwqqqm.mjs +0 -3
- package/dist/chunks/cli-1.1.29-bzfhb58d.mjs +0 -21
- package/dist/chunks/cli-1.1.29-c67xmzgw.mjs +0 -2
- package/dist/chunks/cli-1.1.29-c7eatffy.mjs +0 -7
- package/dist/chunks/cli-1.1.29-ccmw3ns3.mjs +0 -2
- package/dist/chunks/cli-1.1.29-cgska4m2.mjs +0 -2
- package/dist/chunks/cli-1.1.29-cjy4bmpv.mjs +0 -2
- package/dist/chunks/cli-1.1.29-cwngf5s4.mjs +0 -2
- package/dist/chunks/cli-1.1.29-df0crs3h.mjs +0 -2
- package/dist/chunks/cli-1.1.29-dfra4ygt.mjs +0 -2
- package/dist/chunks/cli-1.1.29-dpzd32s9.mjs +0 -2
- package/dist/chunks/cli-1.1.29-dseazhey.mjs +0 -34
- package/dist/chunks/cli-1.1.29-e7b3rw2q.mjs +0 -2
- package/dist/chunks/cli-1.1.29-enk5zgkk.mjs +0 -2
- package/dist/chunks/cli-1.1.29-eq7p29fp.mjs +0 -2
- package/dist/chunks/cli-1.1.29-erh6v56f.mjs +0 -2
- package/dist/chunks/cli-1.1.29-es8f8tm1.mjs +0 -2
- package/dist/chunks/cli-1.1.29-ex9733z1.mjs +0 -2
- package/dist/chunks/cli-1.1.29-f103mqc1.mjs +0 -133
- package/dist/chunks/cli-1.1.29-f56z0kjj.mjs +0 -2
- package/dist/chunks/cli-1.1.29-f8qh0czy.mjs +0 -24
- package/dist/chunks/cli-1.1.29-fhwjnhs2.mjs +0 -12
- package/dist/chunks/cli-1.1.29-fsht50yz.mjs +0 -2
- package/dist/chunks/cli-1.1.29-g2g0bf6s.mjs +0 -2
- package/dist/chunks/cli-1.1.29-g9nssmee.mjs +0 -2
- package/dist/chunks/cli-1.1.29-gd1bzvdb.mjs +0 -20
- package/dist/chunks/cli-1.1.29-gfwfhh3b.mjs +0 -4
- package/dist/chunks/cli-1.1.29-gfyabc3h.mjs +0 -2
- package/dist/chunks/cli-1.1.29-gycpj0z6.mjs +0 -2
- package/dist/chunks/cli-1.1.29-h0m93zmw.mjs +0 -2
- package/dist/chunks/cli-1.1.29-h1ej5qf0.mjs +0 -2
- package/dist/chunks/cli-1.1.29-h4fg85xm.mjs +0 -2
- package/dist/chunks/cli-1.1.29-hez6jzkx.mjs +0 -2
- package/dist/chunks/cli-1.1.29-hsa1qk75.mjs +0 -2
- package/dist/chunks/cli-1.1.29-j17q2nnf.mjs +0 -2
- package/dist/chunks/cli-1.1.29-j3n6rxnx.mjs +0 -2
- package/dist/chunks/cli-1.1.29-k0yj3sf0.mjs +0 -2
- package/dist/chunks/cli-1.1.29-kcfqkdev.mjs +0 -24
- package/dist/chunks/cli-1.1.29-kd96jtpb.mjs +0 -2
- package/dist/chunks/cli-1.1.29-kjbjanmr.mjs +0 -2
- package/dist/chunks/cli-1.1.29-krg96g94.mjs +0 -2
- package/dist/chunks/cli-1.1.29-ksekfz16.mjs +0 -3
- package/dist/chunks/cli-1.1.29-kywbej24.mjs +0 -3
- package/dist/chunks/cli-1.1.29-m4bwjmrm.mjs +0 -2
- package/dist/chunks/cli-1.1.29-m4j21s8k.mjs +0 -3
- package/dist/chunks/cli-1.1.29-m7rehwdd.mjs +0 -58
- package/dist/chunks/cli-1.1.29-mcacd7ag.mjs +0 -2
- package/dist/chunks/cli-1.1.29-mn3z3w8e.mjs +0 -2
- package/dist/chunks/cli-1.1.29-mwntmkzh.mjs +0 -39
- package/dist/chunks/cli-1.1.29-mxtxy5qg.mjs +0 -2
- package/dist/chunks/cli-1.1.29-mxxghqnd.mjs +0 -2
- package/dist/chunks/cli-1.1.29-nkb4dq83.mjs +0 -2
- package/dist/chunks/cli-1.1.29-nn0hkwgq.mjs +0 -2
- package/dist/chunks/cli-1.1.29-nx6ynaex.mjs +0 -6
- package/dist/chunks/cli-1.1.29-nxbgdt4q.mjs +0 -2
- package/dist/chunks/cli-1.1.29-nxvs12dw.mjs +0 -2
- package/dist/chunks/cli-1.1.29-pbydvpcy.mjs +0 -7
- package/dist/chunks/cli-1.1.29-pf67dsfj.mjs +0 -42
- package/dist/chunks/cli-1.1.29-pwsznt80.mjs +0 -2
- package/dist/chunks/cli-1.1.29-q4fv8e5e.mjs +0 -2
- package/dist/chunks/cli-1.1.29-q7nywp06.mjs +0 -2
- package/dist/chunks/cli-1.1.29-q9atby2h.mjs +0 -2
- package/dist/chunks/cli-1.1.29-qqcjvb8v.mjs +0 -3
- package/dist/chunks/cli-1.1.29-qyg6dttd.mjs +0 -2
- package/dist/chunks/cli-1.1.29-qz5zy9rd.mjs +0 -4
- package/dist/chunks/cli-1.1.29-ra7737c1.mjs +0 -2
- package/dist/chunks/cli-1.1.29-rah0vfkh.mjs +0 -1
- package/dist/chunks/cli-1.1.29-rbtgtxtr.mjs +0 -2
- package/dist/chunks/cli-1.1.29-rcf2pvf2.mjs +0 -2
- package/dist/chunks/cli-1.1.29-rd1s45en.mjs +0 -24
- package/dist/chunks/cli-1.1.29-rfz718th.mjs +0 -6
- package/dist/chunks/cli-1.1.29-rn9a55ga.mjs +0 -2
- package/dist/chunks/cli-1.1.29-rnrvwymv.mjs +0 -2
- package/dist/chunks/cli-1.1.29-rse83jw9.mjs +0 -2
- package/dist/chunks/cli-1.1.29-s7njwf37.mjs +0 -15
- package/dist/chunks/cli-1.1.29-s8attyep.mjs +0 -2
- package/dist/chunks/cli-1.1.29-sb5dzja5.mjs +0 -2
- package/dist/chunks/cli-1.1.29-scf5dmr2.mjs +0 -50
- package/dist/chunks/cli-1.1.29-sgfpybka.mjs +0 -2
- package/dist/chunks/cli-1.1.29-skjcgaw2.mjs +0 -2
- package/dist/chunks/cli-1.1.29-smn5dd7n.mjs +0 -2
- package/dist/chunks/cli-1.1.29-snxnt4nr.mjs +0 -2
- package/dist/chunks/cli-1.1.29-t64smfse.mjs +0 -2
- package/dist/chunks/cli-1.1.29-tf20f72b.mjs +0 -2
- package/dist/chunks/cli-1.1.29-tg84q1yd.mjs +0 -20
- package/dist/chunks/cli-1.1.29-tyew653x.mjs +0 -3
- package/dist/chunks/cli-1.1.29-tz817yh8.mjs +0 -2
- package/dist/chunks/cli-1.1.29-v4wsvara.mjs +0 -2
- package/dist/chunks/cli-1.1.29-v507w0kc.mjs +0 -26
- package/dist/chunks/cli-1.1.29-v6y1118n.mjs +0 -4
- package/dist/chunks/cli-1.1.29-v9bvr1aw.mjs +0 -5
- package/dist/chunks/cli-1.1.29-vd6b2ckm.mjs +0 -2
- package/dist/chunks/cli-1.1.29-vmmpxa0v.mjs +0 -2
- package/dist/chunks/cli-1.1.29-vp3z0245.mjs +0 -2
- package/dist/chunks/cli-1.1.29-vr34j6s2.mjs +0 -3
- package/dist/chunks/cli-1.1.29-vv1sy2ya.mjs +0 -25
- package/dist/chunks/cli-1.1.29-vws4vx43.mjs +0 -2
- package/dist/chunks/cli-1.1.29-vybx7rvs.mjs +0 -10
- package/dist/chunks/cli-1.1.29-we6vghby.mjs +0 -2
- package/dist/chunks/cli-1.1.29-wscghnfp.mjs +0 -2
- package/dist/chunks/cli-1.1.29-wv5r6reg.mjs +0 -2
- package/dist/chunks/cli-1.1.29-wxg06wve.mjs +0 -2
- package/dist/chunks/cli-1.1.29-xfcy5e42.mjs +0 -2
- package/dist/chunks/cli-1.1.29-xfhxkzzh.mjs +0 -2
- package/dist/chunks/cli-1.1.29-xftqnjy0.mjs +0 -4
- package/dist/chunks/cli-1.1.29-xjh2k6ex.mjs +0 -3
- package/dist/chunks/cli-1.1.29-xrwps5rg.mjs +0 -3
- package/dist/chunks/cli-1.1.29-y3v15ehz.mjs +0 -2
- package/dist/chunks/cli-1.1.29-yddrcp23.mjs +0 -2
- package/dist/chunks/cli-1.1.29-ykat6ksh.mjs +0 -2
- package/dist/chunks/cli-1.1.29-ymcd1d05.mjs +0 -2
- package/dist/chunks/cli-1.1.29-ypgjht1s.mjs +0 -2
- package/dist/chunks/cli-1.1.29-yv3r7f00.mjs +0 -2
- package/dist/chunks/cli-1.1.29-zb1qmpq0.mjs +0 -45
- package/dist/chunks/cli-1.1.29-ze1sanxc.mjs +0 -2
- package/dist/chunks/cli-1.1.29-zf1md9se.mjs +0 -2
- package/dist/chunks/cli-1.1.29-zh2qqpcy.mjs +0 -2
- package/dist/chunks/cli-1.1.29-zqccyb2h.mjs +0 -2
- package/dist/chunks/client-1.1.29-abnv29yp.mjs +0 -1
- package/dist/chunks/color-1.1.29-h2d0ea1p.mjs +0 -1
- package/dist/chunks/compact-1.1.29-071ysk4h.mjs +0 -3
- package/dist/chunks/config-1.1.29-jhy41xna.mjs +0 -1
- package/dist/chunks/config-1.1.29-wzvad2ns.mjs +0 -1
- package/dist/chunks/constants-1.1.29-5536grwb.mjs +0 -1
- package/dist/chunks/context-1.1.29-qxvktpnx.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.29-rypt767r.mjs +0 -1
- package/dist/chunks/conversation-1.1.29-yr51bv23.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.29-h3z6avxk.mjs +0 -1
- package/dist/chunks/copy-1.1.29-ze2g86qn.mjs +0 -9
- package/dist/chunks/cost-1.1.29-bn9nefss.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.29-5fe73ss4.mjs +0 -1
- package/dist/chunks/createSession-1.1.29-rscwvwx3.mjs +0 -1
- package/dist/chunks/debug-1.1.29-hsa8740f.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.29-nrkya6cw.mjs +0 -1534
- package/dist/chunks/desktop-1.1.29-wzh1a3fx.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.29-tgssqtyy.mjs +0 -1
- package/dist/chunks/detection-1.1.29-f3hp0x2s.mjs +0 -1
- package/dist/chunks/diff-1.1.29-h7fm7n04.mjs +0 -1
- package/dist/chunks/doctor-1.1.29-5ccr1m55.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.29-vmnf895k.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.29-d0ktjabf.mjs +0 -1
- package/dist/chunks/effort-1.1.29-xxzxaym4.mjs +0 -13
- package/dist/chunks/engine-1.1.29-9ekq4v2g.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.29-8c9jjpjy.mjs +0 -1
- package/dist/chunks/envUtils-1.1.29-593t90q5.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.29-g5qpphd9.mjs +0 -1
- package/dist/chunks/environments-1.1.29-x2aa2eet.mjs +0 -1
- package/dist/chunks/errors-1.1.29-jgx19cvb.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.29-wxzjn2xw.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.29-hexzsnhv.mjs +0 -1
- package/dist/chunks/exit-1.1.29-h788x2yv.mjs +0 -1
- package/dist/chunks/explorer-1.1.29-wtr7bga1.mjs +0 -1
- package/dist/chunks/export-1.1.29-42ve1rgm.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.29-y1e1m369.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.29-gq3g80nm.mjs +0 -1
- package/dist/chunks/fast-1.1.29-h6r42366.mjs +0 -1
- package/dist/chunks/feedback-1.1.29-st43crhj.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.29-ckcepqgc.mjs +0 -1
- package/dist/chunks/git-1.1.29-j563zwhc.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.29-vk8m9ket.mjs +0 -1
- package/dist/chunks/goal-1.1.29-p7hzmh24.mjs +0 -4
- package/dist/chunks/growthbook-1.1.29-3549rcjz.mjs +0 -1
- package/dist/chunks/headless-1.1.29-5vx8fpbe.mjs +0 -2
- package/dist/chunks/heapdump-1.1.29-rp203g47.mjs +0 -6
- package/dist/chunks/help-1.1.29-3y5b0e2g.mjs +0 -1
- package/dist/chunks/hookChains-1.1.29-ga4rejj3.mjs +0 -3
- package/dist/chunks/hooks-1.1.29-b38tdtzk.mjs +0 -1
- package/dist/chunks/hooks-1.1.29-ygwx2459.mjs +0 -79
- package/dist/chunks/ide-1.1.29-67nmghjh.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.29-z1xa8jsd.mjs +0 -1
- package/dist/chunks/import-1.1.29-627psf8x.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.29-9dtr0d37.mjs +0 -1
- package/dist/chunks/index-1.1.29-101dgedk.mjs +0 -9
- package/dist/chunks/index-1.1.29-3mknam1s.mjs +0 -1
- package/dist/chunks/index-1.1.29-3rjcfsf3.mjs +0 -1
- package/dist/chunks/index-1.1.29-4ye92se8.mjs +0 -1
- package/dist/chunks/index-1.1.29-568ncn0w.mjs +0 -1
- package/dist/chunks/index-1.1.29-5zbg7qfm.mjs +0 -1
- package/dist/chunks/index-1.1.29-6pe6cr8p.mjs +0 -1
- package/dist/chunks/index-1.1.29-cpvbfs32.mjs +0 -5
- package/dist/chunks/index-1.1.29-e90xbdas.mjs +0 -23
- package/dist/chunks/index-1.1.29-efsdrxv3.mjs +0 -1
- package/dist/chunks/index-1.1.29-gy6pctgv.mjs +0 -1
- package/dist/chunks/index-1.1.29-jghqwznd.mjs +0 -1
- package/dist/chunks/index-1.1.29-k42kw8w5.mjs +0 -1
- package/dist/chunks/index-1.1.29-kvaapa6z.mjs +0 -1
- package/dist/chunks/index-1.1.29-mwtftmry.mjs +0 -9
- package/dist/chunks/index-1.1.29-q7ydx0h2.mjs +0 -2
- package/dist/chunks/index-1.1.29-r4y0qs9x.mjs +0 -1
- package/dist/chunks/index-1.1.29-rgsmqr6q.mjs +0 -1
- package/dist/chunks/index-1.1.29-tfnnf0k2.mjs +0 -1
- package/dist/chunks/index-1.1.29-v640rrh6.mjs +0 -1
- package/dist/chunks/index-1.1.29-v7vcnkxr.mjs +0 -30
- package/dist/chunks/index-1.1.29-xwekv48p.mjs +0 -2
- package/dist/chunks/index-1.1.29-z8a1fx6p.mjs +0 -1
- package/dist/chunks/init-1.1.29-h07twh7g.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.29-ae1e53vd.mjs +0 -1
- package/dist/chunks/ink-1.1.29-jkk9zn2g.mjs +0 -1
- package/dist/chunks/insights-1.1.29-awyethqq.mjs +0 -870
- package/dist/chunks/install-1.1.29-yhkejpep.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.29-jsrj24s4.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.29-gts768ac.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.29-mhgk5gm7.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.29-nz689brn.mjs +0 -1
- package/dist/chunks/keybindings-1.1.29-gh9axh60.mjs +0 -2
- package/dist/chunks/knowledge-1.1.29-hfwtr4gz.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.29-hfeprnvk.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.29-m2np7bm8.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.29-zpz05b3t.mjs +0 -1
- package/dist/chunks/log-1.1.29-fw86q3jh.mjs +0 -1
- package/dist/chunks/main-1.1.29-w3b4z9p1.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.29-r7qb1f8v.mjs +0 -1
- package/dist/chunks/mcp-1.1.29-jyq80had.mjs +0 -4
- package/dist/chunks/mcp-1.1.29-rj6rmrwj.mjs +0 -17
- package/dist/chunks/mcp-1.1.29-v1dw736k.mjs +0 -1
- package/dist/chunks/mcpb-1.1.29-2eqhsr4h.mjs +0 -1
- package/dist/chunks/memory-1.1.29-f9bfe5q1.mjs +0 -77
- package/dist/chunks/model-1.1.29-3cbf7nj8.mjs +0 -1
- package/dist/chunks/model-1.1.29-65mwx0jt.mjs +0 -2
- package/dist/chunks/node-1.1.29-9gdbqzzb.mjs +0 -15
- package/dist/chunks/node-1.1.29-g8j45zsn.mjs +0 -1
- package/dist/chunks/oauth-1.1.29-rzdyddzx.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.29-3v0weah8.mjs +0 -14
- package/dist/chunks/output-style-1.1.29-kh5kpq0r.mjs +0 -1
- package/dist/chunks/package-OS7RONXY-1.1.29-wartca0p.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.29-1pk3egnf.mjs +0 -1
- package/dist/chunks/parser-1.1.29-j664c2gz.mjs +0 -1
- package/dist/chunks/passes-1.1.29-daz9sxtn.mjs +0 -1
- package/dist/chunks/permissions-1.1.29-2t8t5tw7.mjs +0 -1
- package/dist/chunks/permissions-1.1.29-yrdqzbx5.mjs +0 -3
- package/dist/chunks/plan-1.1.29-bz008b9p.mjs +0 -1
- package/dist/chunks/plist-1.1.29-35acgftn.mjs +0 -1
- package/dist/chunks/plugin-1.1.29-8f04719q.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.29-xb113h6m.mjs +0 -1
- package/dist/chunks/plugins-1.1.29-qvtkwvvz.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.29-y3pz26pa.mjs +0 -2
- package/dist/chunks/print-1.1.29-efswnrv9.mjs +0 -57
- package/dist/chunks/process-1.1.29-58f1e2bp.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.29-d1jsv2w2.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.29-b3y0q14a.mjs +0 -9
- package/dist/chunks/prompt-1.1.29-62tsknn0.mjs +0 -1
- package/dist/chunks/prompt-1.1.29-jhbfphh7.mjs +0 -1
- package/dist/chunks/prompts-1.1.29-3z4c3ek4.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.29-rdwh19s1.mjs +0 -13
- package/dist/chunks/provider-1.1.29-3zvq773g.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.29-607et4qp.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.29-yenzyrfm.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.29-298ja1r1.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.29-4jd1spvm.mjs +0 -26
- package/dist/chunks/registry-1.1.29-m25stkr0.mjs +0 -1
- package/dist/chunks/release-notes-1.1.29-22baamfx.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.29-phv53y08.mjs +0 -2
- package/dist/chunks/remote-env-1.1.29-2ey2vymh.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.29-eafsxes0.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.29-hs2wyhc3.mjs +0 -1
- package/dist/chunks/rename-1.1.29-75kb3avp.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.29-dz6hhgez.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.29-09a6pk1q.mjs +0 -1
- package/dist/chunks/resume-1.1.29-685rb92g.mjs +0 -2
- package/dist/chunks/rewind-1.1.29-7nw7f08p.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.29-9cr8rvbr.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.29-xmaezf6n.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.29-db9nwpd6.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.29-wzeynybm.mjs +0 -1
- package/dist/chunks/session-1.1.29-m8fppsh2.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.29-ast9gceq.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.29-h1eqvpq2.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.29-aykc0gmj.mjs +0 -1
- package/dist/chunks/settings-1.1.29-0c2fyzj5.mjs +0 -1
- package/dist/chunks/setup-1.1.29-y2wjm0r9.mjs +0 -12
- package/dist/chunks/sinks-1.1.29-5rs2f8yn.mjs +0 -1
- package/dist/chunks/skills-1.1.29-cp2813x4.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.29-kh45g8fh.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.29-82s33sqm.mjs +0 -1
- package/dist/chunks/state-1.1.29-p67vvgkh.mjs +0 -1
- package/dist/chunks/stats-1.1.29-by56pge2.mjs +0 -1
- package/dist/chunks/status-1.1.29-hw493zns.mjs +0 -1
- package/dist/chunks/stickers-1.1.29-8s1sjy27.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.29-qz9p5e81.mjs +0 -1
- package/dist/chunks/tasks-1.1.29-337vzgbz.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.29-85qvaaf6.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.29-k78c522w.mjs +0 -1
- package/dist/chunks/teleport-1.1.29-c44n1v9b.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.29-rrwvk8ab.mjs +0 -1
- package/dist/chunks/theme-1.1.29-y04xza5k.mjs +0 -1
- package/dist/chunks/thinkback-1.1.29-s3hjbm7q.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.29-2bhrtfq9.mjs +0 -1
- package/dist/chunks/toolPool-1.1.29-gfpcfj2x.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.29-vfnsb7j0.mjs +0 -1
- package/dist/chunks/tools-1.1.29-w11mxfwv.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.29-qwyypx3m.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.29-yxqqz6t4.mjs +0 -69
- package/dist/chunks/types-1.1.29-2v59e63g.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.29-a115pcna.mjs +0 -4
- package/dist/chunks/update-1.1.29-3zmwqt73.mjs +0 -72
- package/dist/chunks/upgrade-1.1.29-xpe0b67z.mjs +0 -1
- package/dist/chunks/upload-1.1.29-d3tkf4nc.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.29-fqatj32w.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.29-9w1d0vdc.mjs +0 -1
- package/dist/chunks/usage-1.1.29-6mr5tsjn.mjs +0 -1
- package/dist/chunks/util-1.1.29-94aahqex.mjs +0 -1
- package/dist/chunks/utils-1.1.29-jg1xnwx8.mjs +0 -1
- package/dist/chunks/vim-1.1.29-hf5m1934.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.29-7z8smp5m.mjs +0 -13
- package/dist/chunks/watcher-1.1.29-qeqe2296.mjs +0 -1
- package/dist/chunks/wiki-1.1.29-cr99gpcx.mjs +0 -132
- package/dist/chunks/workflows-1.1.29-v6f0e3am.mjs +0 -1
- package/dist/chunks/worktree-1.1.29-qf1zfstj.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.29-qxpsmfqy.mjs +0 -1
- package/dist/chunks/wrapper-1.1.29-b7y6s4vd.mjs +0 -7
- /package/dist/chunks/{cli-1.1.29-vk67t66v.mjs → cli-1.1.31-d930nxk6.mjs} +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
class H extends Error{constructor(z,J,Q){super(Q);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=J,this.exitCode=z,this.nestedError=void 0}}class K extends H{constructor(z){super(1,"commander.invalidArgument",z);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}class S{constructor(z,J){this.flags=z,this.description=J||"",this.required=z.includes("<"),this.optional=z.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(z),this.mandatory=!1;let Q=w(z);if(this.short=Q.shortFlag,this.long=Q.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0,this.helpGroupHeading=void 0}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}preset(z){return this.presetArg=z,this}conflicts(z){return this.conflictsWith=this.conflictsWith.concat(z),this}implies(z){let J=z;if(typeof z==="string")J={[z]:!0};return this.implied=Object.assign(this.implied||{},J),this}env(z){return this.envVar=z,this}argParser(z){return this.parseArg=z,this}makeOptionMandatory(z=!0){return this.mandatory=!!z,this}hideHelp(z=!0){return this.hidden=!!z,this}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){if(this.negate)return F(this.name().replace(/^no-/,""));return F(this.name())}helpGroup(z){return this.helpGroupHeading=z,this}is(z){return this.short===z||this.long===z}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class V{constructor(z){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,z.forEach((J)=>{if(J.negate)this.negativeOptions.set(J.attributeName(),J);else this.positiveOptions.set(J.attributeName(),J)}),this.negativeOptions.forEach((J,Q)=>{if(this.positiveOptions.has(Q))this.dualOptions.add(Q)})}valueFromOption(z,J){let Q=J.attributeName();if(!this.dualOptions.has(Q))return!0;let X=this.negativeOptions.get(Q).presetArg,Y=X!==void 0?X:!1;return J.negate===(Y===z)}}function F(z){return z.split("-").reduce((J,Q)=>{return J+Q[0].toUpperCase()+Q.slice(1)})}function w(z){let J,Q,X=/^-[^-]$/,Y=/^--[^-]/,Z=z.split(/[ |,]+/).concat("guard");if(X.test(Z[0]))J=Z.shift();if(Y.test(Z[0]))Q=Z.shift();if(!J&&X.test(Z[0]))J=Z.shift();if(!J&&Y.test(Z[0]))J=Q,Q=Z.shift();if(Z[0].startsWith("-")){let $=Z[0],_=`option creation failed due to '${$}' in option flags '${z}'`;if(/^-[^-][^-]/.test($))throw Error(`${_}
|
|
2
|
-
- a short flag is a single dash and a single character
|
|
3
|
-
- either use a single dash and a single character (for a short flag)
|
|
4
|
-
- or use a double dash for a long option (and can have two, like '--ws, --workspace')`);if(X.test($))throw Error(`${_}
|
|
5
|
-
- too many short flags`);if(Y.test($))throw Error(`${_}
|
|
6
|
-
- too many long flags`);throw Error(`${_}
|
|
7
|
-
- unrecognised flag format`)}if(J===void 0&&Q===void 0)throw Error(`option creation failed due to no flags found in '${z}'.`);return{shortFlag:J,longFlag:Q}}import{EventEmitter as O}from"node:events";import N from"node:child_process";import U from"node:path";import I from"node:fs";import G from"node:process";import{stripVTControlCharacters as x}from"node:util";class W{constructor(z,J){switch(this.description=J||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,z[0]){case"<":this.required=!0,this._name=z.slice(1,-1);break;case"[":this.required=!1,this._name=z.slice(1,-1);break;default:this.required=!0,this._name=z;break}if(this._name.endsWith("..."))this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}argParser(z){return this.parseArg=z,this}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function P(z){let J=z.name()+(z.variadic===!0?"...":"");return z.required?"<"+J+">":"["+J+"]"}import{stripVTControlCharacters as k}from"node:util";class j{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(z){this.helpWidth=this.helpWidth??z.helpWidth??80}visibleCommands(z){let J=z.commands.filter((X)=>!X._hidden),Q=z._getHelpCommand();if(Q&&!Q._hidden)J.push(Q);if(this.sortSubcommands)J.sort((X,Y)=>{return X.name().localeCompare(Y.name())});return J}compareOptions(z,J){let Q=(X)=>{return X.short?X.short.replace(/^-/,""):X.long.replace(/^--/,"")};return Q(z).localeCompare(Q(J))}visibleOptions(z){let J=z.options.filter((X)=>!X.hidden),Q=z._getHelpOption();if(Q&&!Q.hidden){let X=Q.short&&z._findOption(Q.short),Y=Q.long&&z._findOption(Q.long);if(!X&&!Y)J.push(Q);else if(Q.long&&!Y)J.push(z.createOption(Q.long,Q.description));else if(Q.short&&!X)J.push(z.createOption(Q.short,Q.description))}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleGlobalOptions(z){if(!this.showGlobalOptions)return[];let J=[];for(let Q=z.parent;Q;Q=Q.parent){let X=Q.options.filter((Y)=>!Y.hidden);J.push(...X)}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleArguments(z){if(z._argsDescription)z.registeredArguments.forEach((J)=>{J.description=J.description||z._argsDescription[J.name()]||""});if(z.registeredArguments.find((J)=>J.description))return z.registeredArguments;return[]}subcommandTerm(z){let J=z.registeredArguments.map((Q)=>P(Q)).join(" ");return z._name+(z._aliases[0]?"|"+z._aliases[0]:"")+(z.options.length?" [options]":"")+(J?" "+J:"")}optionTerm(z){return z.flags}argumentTerm(z){return z.name()}longestSubcommandTermLength(z,J){return J.visibleCommands(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleSubcommandTerm(J.subcommandTerm(X))))},0)}longestOptionTermLength(z,J){return J.visibleOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestGlobalOptionTermLength(z,J){return J.visibleGlobalOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestArgumentTermLength(z,J){return J.visibleArguments(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleArgumentTerm(J.argumentTerm(X))))},0)}commandUsage(z){let J=z._name;if(z._aliases[0])J=J+"|"+z._aliases[0];let Q="";for(let X=z.parent;X;X=X.parent)Q=X.name()+" "+Q;return Q+J+" "+z.usage()}commandDescription(z){return z.description()}subcommandDescription(z){return z.summary()||z.description()}optionDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0){if(z.required||z.optional||z.isBoolean()&&typeof z.defaultValue==="boolean")J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`)}if(z.presetArg!==void 0&&z.optional)J.push(`preset: ${JSON.stringify(z.presetArg)}`);if(z.envVar!==void 0)J.push(`env: ${z.envVar}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}argumentDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0)J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}formatItemList(z,J,Q){if(J.length===0)return[];return[Q.styleTitle(z),...J,""]}groupItems(z,J,Q){let X=new Map;return z.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[])}),J.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[]);X.get(Z).push(Y)}),X}formatHelp(z,J){let Q=J.padWidth(z,J),X=J.helpWidth??80;function Y(R,B){return J.formatItem(R,Q,B,J)}let Z=[`${J.styleTitle("Usage:")} ${J.styleUsage(J.commandUsage(z))}`,""],$=J.commandDescription(z);if($.length>0)Z=Z.concat([J.boxWrap(J.styleCommandDescription($),X),""]);let _=J.visibleArguments(z).map((R)=>{return Y(J.styleArgumentTerm(J.argumentTerm(R)),J.styleArgumentDescription(J.argumentDescription(R)))});if(Z=Z.concat(this.formatItemList("Arguments:",_,J)),this.groupItems(z.options,J.visibleOptions(z),(R)=>R.helpGroupHeading??"Options:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleOptionTerm(J.optionTerm(M)),J.styleOptionDescription(J.optionDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),J.showGlobalOptions){let R=J.visibleGlobalOptions(z).map((B)=>{return Y(J.styleOptionTerm(J.optionTerm(B)),J.styleOptionDescription(J.optionDescription(B)))});Z=Z.concat(this.formatItemList("Global Options:",R,J))}return this.groupItems(z.commands,J.visibleCommands(z),(R)=>R.helpGroup()||"Commands:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleSubcommandTerm(J.subcommandTerm(M)),J.styleSubcommandDescription(J.subcommandDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),Z.join(`
|
|
8
|
-
`)}displayWidth(z){return k(z).length}styleTitle(z){return z}styleUsage(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J==="[command]")return this.styleSubcommandText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleCommandText(J)}).join(" ")}styleCommandDescription(z){return this.styleDescriptionText(z)}styleOptionDescription(z){return this.styleDescriptionText(z)}styleSubcommandDescription(z){return this.styleDescriptionText(z)}styleArgumentDescription(z){return this.styleDescriptionText(z)}styleDescriptionText(z){return z}styleOptionTerm(z){return this.styleOptionText(z)}styleSubcommandTerm(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleSubcommandText(J)}).join(" ")}styleArgumentTerm(z){return this.styleArgumentText(z)}styleOptionText(z){return z}styleArgumentText(z){return z}styleSubcommandText(z){return z}styleCommandText(z){return z}padWidth(z,J){return Math.max(J.longestOptionTermLength(z,J),J.longestGlobalOptionTermLength(z,J),J.longestSubcommandTermLength(z,J),J.longestArgumentTermLength(z,J))}preformatted(z){return/\n[^\S\r\n]/.test(z)}formatItem(z,J,Q,X){let Z=" ".repeat(2);if(!Q)return Z+z;let $=z.padEnd(J+z.length-X.displayWidth(z)),_=2,q=(this.helpWidth??80)-J-_-2,R;if(q<this.minWidthToWrap||X.preformatted(Q))R=Q;else R=X.boxWrap(Q,q).replace(/\n/g,`
|
|
9
|
-
`+" ".repeat(J+_));return Z+$+" ".repeat(_)+R.replace(/\n/g,`
|
|
10
|
-
${Z}`)}boxWrap(z,J){if(J<this.minWidthToWrap)return z;let Q=z.split(/\r\n|\n/),X=/[\s]*[^\s]+/g,Y=[];return Q.forEach((Z)=>{let $=Z.match(X);if($===null){Y.push("");return}let _=[$.shift()],T=this.displayWidth(_[0]);$.forEach((q)=>{let R=this.displayWidth(q);if(T+R<=J){_.push(q),T+=R;return}Y.push(_.join(""));let B=q.trimStart();_=[B],T=this.displayWidth(B)}),Y.push(_.join(""))}),Y.join(`
|
|
11
|
-
`)}}function C(z,J){if(Math.abs(z.length-J.length)>3)return Math.max(z.length,J.length);let Q=[];for(let X=0;X<=z.length;X++)Q[X]=[X];for(let X=0;X<=J.length;X++)Q[0][X]=X;for(let X=1;X<=J.length;X++)for(let Y=1;Y<=z.length;Y++){let Z;if(z[Y-1]===J[X-1])Z=0;else Z=1;if(Q[Y][X]=Math.min(Q[Y-1][X]+1,Q[Y][X-1]+1,Q[Y-1][X-1]+Z),Y>1&&X>1&&z[Y-1]===J[X-2]&&z[Y-2]===J[X-1])Q[Y][X]=Math.min(Q[Y][X],Q[Y-2][X-2]+1)}return Q[z.length][J.length]}function D(z,J){if(!J||J.length===0)return"";J=Array.from(new Set(J));let Q=z.startsWith("--");if(Q)z=z.slice(2),J=J.map(($)=>$.slice(2));let X=[],Y=3,Z=0.4;if(J.forEach(($)=>{if($.length<=1)return;let _=C(z,$),T=Math.max(z.length,$.length);if((T-_)/T>Z){if(_<Y)Y=_,X=[$];else if(_===Y)X.push($)}}),X.sort(($,_)=>$.localeCompare(_)),Q)X=X.map(($)=>`--${$}`);if(X.length>1)return`
|
|
12
|
-
(Did you mean one of ${X.join(", ")}?)`;if(X.length===1)return`
|
|
13
|
-
(Did you mean ${X[0]}?)`;return""}class E extends O{constructor(z){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!1,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=z||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._savedState=null,this._outputConfiguration={writeOut:(J)=>G.stdout.write(J),writeErr:(J)=>G.stderr.write(J),outputError:(J,Q)=>Q(J),getOutHelpWidth:()=>G.stdout.isTTY?G.stdout.columns:void 0,getErrHelpWidth:()=>G.stderr.isTTY?G.stderr.columns:void 0,getOutHasColors:()=>A()??(G.stdout.isTTY&&G.stdout.hasColors?.()),getErrHasColors:()=>A()??(G.stderr.isTTY&&G.stderr.hasColors?.()),stripColor:(J)=>x(J)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={},this._helpGroupHeading=void 0,this._defaultCommandGroup=void 0,this._defaultOptionGroup=void 0}copyInheritedSettings(z){return this._outputConfiguration=z._outputConfiguration,this._helpOption=z._helpOption,this._helpCommand=z._helpCommand,this._helpConfiguration=z._helpConfiguration,this._exitCallback=z._exitCallback,this._storeOptionsAsProperties=z._storeOptionsAsProperties,this._combineFlagAndOptionalValue=z._combineFlagAndOptionalValue,this._allowExcessArguments=z._allowExcessArguments,this._enablePositionalOptions=z._enablePositionalOptions,this._showHelpAfterError=z._showHelpAfterError,this._showSuggestionAfterError=z._showSuggestionAfterError,this}_getCommandAndAncestors(){let z=[];for(let J=this;J;J=J.parent)z.push(J);return z}command(z,J,Q){let X=J,Y=Q;if(typeof X==="object"&&X!==null)Y=X,X=null;Y=Y||{};let[,Z,$]=z.match(/([^ ]+) *(.*)/),_=this.createCommand(Z);if(X)_.description(X),_._executableHandler=!0;if(Y.isDefault)this._defaultCommandName=_._name;if(_._hidden=!!(Y.noHelp||Y.hidden),_._executableFile=Y.executableFile||null,$)_.arguments($);if(this._registerCommand(_),_.parent=this,_.copyInheritedSettings(this),X)return this;return _}createCommand(z){return new E(z)}createHelp(){return Object.assign(new j,this.configureHelp())}configureHelp(z){if(z===void 0)return this._helpConfiguration;return this._helpConfiguration=z,this}configureOutput(z){if(z===void 0)return this._outputConfiguration;return this._outputConfiguration={...this._outputConfiguration,...z},this}showHelpAfterError(z=!0){if(typeof z!=="string")z=!!z;return this._showHelpAfterError=z,this}showSuggestionAfterError(z=!0){return this._showSuggestionAfterError=!!z,this}addCommand(z,J){if(!z._name)throw Error(`Command passed to .addCommand() must have a name
|
|
14
|
-
- specify the name in Command constructor or using .name()`);if(J=J||{},J.isDefault)this._defaultCommandName=z._name;if(J.noHelp||J.hidden)z._hidden=!0;return this._registerCommand(z),z.parent=this,z._checkForBrokenPassThrough(),this}createArgument(z,J){return new W(z,J)}argument(z,J,Q,X){let Y=this.createArgument(z,J);if(typeof Q==="function")Y.default(X).argParser(Q);else Y.default(Q);return this.addArgument(Y),this}arguments(z){return z.trim().split(/ +/).forEach((J)=>{this.argument(J)}),this}addArgument(z){let J=this.registeredArguments.slice(-1)[0];if(J?.variadic)throw Error(`only the last argument can be variadic '${J.name()}'`);if(z.required&&z.defaultValue!==void 0&&z.parseArg===void 0)throw Error(`a default value for a required argument is never used: '${z.name()}'`);return this.registeredArguments.push(z),this}helpCommand(z,J){if(typeof z==="boolean"){if(this._addImplicitHelpCommand=z,z&&this._defaultCommandGroup)this._initCommandGroup(this._getHelpCommand());return this}let Q=z??"help [command]",[,X,Y]=Q.match(/([^ ]+) *(.*)/),Z=J??"display help for command",$=this.createCommand(X);if($.helpOption(!1),Y)$.arguments(Y);if(Z)$.description(Z);if(this._addImplicitHelpCommand=!0,this._helpCommand=$,z||J)this._initCommandGroup($);return this}addHelpCommand(z,J){if(typeof z!=="object")return this.helpCommand(z,J),this;return this._addImplicitHelpCommand=!0,this._helpCommand=z,this._initCommandGroup(z),this}_getHelpCommand(){if(this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))){if(this._helpCommand===void 0)this.helpCommand(void 0,void 0);return this._helpCommand}return null}hook(z,J){let Q=["preSubcommand","preAction","postAction"];if(!Q.includes(z))throw Error(`Unexpected value for event passed to hook : '${z}'.
|
|
15
|
-
Expecting one of '${Q.join("', '")}'`);if(this._lifeCycleHooks[z])this._lifeCycleHooks[z].push(J);else this._lifeCycleHooks[z]=[J];return this}exitOverride(z){if(z)this._exitCallback=z;else this._exitCallback=(J)=>{if(J.code!=="commander.executeSubCommandAsync")throw J};return this}_exit(z,J,Q){if(this._exitCallback)this._exitCallback(new H(z,J,Q));G.exit(z)}action(z){let J=(Q)=>{let X=this.registeredArguments.length,Y=Q.slice(0,X);if(this._storeOptionsAsProperties)Y[X]=this;else Y[X]=this.opts();return Y.push(this),z.apply(this,Y)};return this._actionHandler=J,this}createOption(z,J){return new S(z,J)}_callParseArg(z,J,Q,X){try{return z.parseArg(J,Q)}catch(Y){if(Y.code==="commander.invalidArgument"){let Z=`${X} ${Y.message}`;this.error(Z,{exitCode:Y.exitCode,code:Y.code})}throw Y}}_registerOption(z){let J=z.short&&this._findOption(z.short)||z.long&&this._findOption(z.long);if(J){let Q=z.long&&this._findOption(z.long)?z.long:z.short;throw Error(`Cannot add option '${z.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${Q}'
|
|
16
|
-
- already used by option '${J.flags}'`)}this._initOptionGroup(z),this.options.push(z)}_registerCommand(z){let J=(X)=>{return[X.name()].concat(X.aliases())},Q=J(z).find((X)=>this._findCommand(X));if(Q){let X=J(this._findCommand(Q)).join("|"),Y=J(z).join("|");throw Error(`cannot add command '${Y}' as already have command '${X}'`)}this._initCommandGroup(z),this.commands.push(z)}addOption(z){this._registerOption(z);let J=z.name(),Q=z.attributeName();if(z.defaultValue!==void 0)this.setOptionValueWithSource(Q,z.defaultValue,"default");let X=(Y,Z,$)=>{if(Y==null&&z.presetArg!==void 0)Y=z.presetArg;let _=this.getOptionValue(Q);if(Y!==null&&z.parseArg)Y=this._callParseArg(z,Y,_,Z);else if(Y!==null&&z.variadic)Y=z._collectValue(Y,_);if(Y==null)if(z.negate)Y=!1;else if(z.isBoolean()||z.optional)Y=!0;else Y="";this.setOptionValueWithSource(Q,Y,$)};if(this.on("option:"+J,(Y)=>{let Z=`error: option '${z.flags}' argument '${Y}' is invalid.`;X(Y,Z,"cli")}),z.envVar)this.on("optionEnv:"+J,(Y)=>{let Z=`error: option '${z.flags}' value '${Y}' from env '${z.envVar}' is invalid.`;X(Y,Z,"env")});return this}_optionEx(z,J,Q,X,Y){if(typeof J==="object"&&J instanceof S)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let Z=this.createOption(J,Q);if(Z.makeOptionMandatory(!!z.mandatory),typeof X==="function")Z.default(Y).argParser(X);else if(X instanceof RegExp){let $=X;X=(_,T)=>{let q=$.exec(_);return q?q[0]:T},Z.default(Y).argParser(X)}else Z.default(X);return this.addOption(Z)}option(z,J,Q,X){return this._optionEx({},z,J,Q,X)}requiredOption(z,J,Q,X){return this._optionEx({mandatory:!0},z,J,Q,X)}combineFlagAndOptionalValue(z=!0){return this._combineFlagAndOptionalValue=!!z,this}allowUnknownOption(z=!0){return this._allowUnknownOption=!!z,this}allowExcessArguments(z=!0){return this._allowExcessArguments=!!z,this}enablePositionalOptions(z=!0){return this._enablePositionalOptions=!!z,this}passThroughOptions(z=!0){return this._passThroughOptions=!!z,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(z=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!z,this}getOptionValue(z){if(this._storeOptionsAsProperties)return this[z];return this._optionValues[z]}setOptionValue(z,J){return this.setOptionValueWithSource(z,J,void 0)}setOptionValueWithSource(z,J,Q){if(this._storeOptionsAsProperties)this[z]=J;else this._optionValues[z]=J;return this._optionValueSources[z]=Q,this}getOptionValueSource(z){return this._optionValueSources[z]}getOptionValueSourceWithGlobals(z){let J;return this._getCommandAndAncestors().forEach((Q)=>{if(Q.getOptionValueSource(z)!==void 0)J=Q.getOptionValueSource(z)}),J}_prepareUserArgs(z,J){if(z!==void 0&&!Array.isArray(z))throw Error("first parameter to parse must be array or undefined");if(J=J||{},z===void 0&&J.from===void 0){if(G.versions?.electron)J.from="electron";let X=G.execArgv??[];if(X.includes("-e")||X.includes("--eval")||X.includes("-p")||X.includes("--print"))J.from="eval"}if(z===void 0)z=G.argv;this.rawArgs=z.slice();let Q;switch(J.from){case void 0:case"node":this._scriptPath=z[1],Q=z.slice(2);break;case"electron":if(G.defaultApp)this._scriptPath=z[1],Q=z.slice(2);else Q=z.slice(1);break;case"user":Q=z.slice(0);break;case"eval":Q=z.slice(1);break;default:throw Error(`unexpected parse option { from: '${J.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",Q}parse(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return this._parseCommand([],Q),this}async parseAsync(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return await this._parseCommand([],Q),this}_prepareForParse(){if(this._savedState===null)this.options.filter((z)=>z.negate&&z.defaultValue===void 0&&this.getOptionValue(z.attributeName())===void 0).forEach((z)=>{let J=z.long.replace(/^--no-/,"--");if(!this._findOption(J))this.setOptionValueWithSource(z.attributeName(),!0,"default")}),this.saveStateBeforeParse();else this.restoreStateBeforeParse()}saveStateBeforeParse(){this._savedState={_name:this._name,_optionValues:{...this._optionValues},_optionValueSources:{...this._optionValueSources}}}restoreStateBeforeParse(){if(this._storeOptionsAsProperties)throw Error(`Can not call parse again when storeOptionsAsProperties is true.
|
|
17
|
-
- either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState._name,this._scriptPath=null,this.rawArgs=[],this._optionValues={...this._savedState._optionValues},this._optionValueSources={...this._savedState._optionValueSources},this.args=[],this.processedArgs=[]}_checkForMissingExecutable(z,J,Q){if(I.existsSync(z))return;let X=J?`searched for local subcommand relative to directory '${J}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",Y=`'${z}' does not exist
|
|
18
|
-
- if '${Q}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
19
|
-
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
20
|
-
- ${X}`;throw Error(Y)}_executeSubCommand(z,J){J=J.slice();let Q=[".js",".ts",".tsx",".mjs",".cjs"];function X(q,R){let B=U.resolve(q,R);if(I.existsSync(B))return B;if(Q.includes(U.extname(R)))return;let L=Q.find((M)=>I.existsSync(`${B}${M}`));if(L)return`${B}${L}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Y=z._executableFile||`${this._name}-${z._name}`,Z=this._executableDir||"";if(this._scriptPath){let q;try{q=I.realpathSync(this._scriptPath)}catch{q=this._scriptPath}Z=U.resolve(U.dirname(q),Z)}if(Z){let q=X(Z,Y);if(!q&&!z._executableFile&&this._scriptPath){let R=U.basename(this._scriptPath,U.extname(this._scriptPath));if(R!==this._name)q=X(Z,`${R}-${z._name}`)}Y=q||Y}let $=Q.includes(U.extname(Y)),_;if(G.platform!=="win32")if($)J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.argv[0],J,{stdio:"inherit"});else _=N.spawn(Y,J,{stdio:"inherit"});else this._checkForMissingExecutable(Y,Z,z._name),J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.execPath,J,{stdio:"inherit"});if(!_.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((R)=>{G.on(R,()=>{if(_.killed===!1&&_.exitCode===null)_.kill(R)})});let T=this._exitCallback;_.on("close",(q)=>{if(q=q??1,!T)G.exit(q);else T(new H(q,"commander.executeSubCommandAsync","(close)"))}),_.on("error",(q)=>{if(q.code==="ENOENT")this._checkForMissingExecutable(Y,Z,z._name);else if(q.code==="EACCES")throw Error(`'${Y}' not executable`);if(!T)G.exit(1);else{let R=new H(1,"commander.executeSubCommandAsync","(error)");R.nestedError=q,T(R)}}),this.runningCommand=_}_dispatchSubcommand(z,J,Q){let X=this._findCommand(z);if(!X)this.help({error:!0});X._prepareForParse();let Y;return Y=this._chainOrCallSubCommandHook(Y,X,"preSubcommand"),Y=this._chainOrCall(Y,()=>{if(X._executableHandler)this._executeSubCommand(X,J.concat(Q));else return X._parseCommand(J,Q)}),Y}_dispatchHelpCommand(z){if(!z)this.help();let J=this._findCommand(z);if(J&&!J._executableHandler)J.help();return this._dispatchSubcommand(z,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){if(this.registeredArguments.forEach((z,J)=>{if(z.required&&this.args[J]==null)this.missingArgument(z.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let z=(Q,X,Y)=>{let Z=X;if(X!==null&&Q.parseArg){let $=`error: command-argument value '${X}' is invalid for argument '${Q.name()}'.`;Z=this._callParseArg(Q,X,Y,$)}return Z};this._checkNumberOfArguments();let J=[];this.registeredArguments.forEach((Q,X)=>{let Y=Q.defaultValue;if(Q.variadic){if(X<this.args.length){if(Y=this.args.slice(X),Q.parseArg)Y=Y.reduce((Z,$)=>{return z(Q,$,Z)},Q.defaultValue)}else if(Y===void 0)Y=[]}else if(X<this.args.length){if(Y=this.args[X],Q.parseArg)Y=z(Q,Y,Q.defaultValue)}J[X]=Y}),this.processedArgs=J}_chainOrCall(z,J){if(z?.then&&typeof z.then==="function")return z.then(()=>J());return J()}_chainOrCallHooks(z,J){let Q=z,X=[];if(this._getCommandAndAncestors().reverse().filter((Y)=>Y._lifeCycleHooks[J]!==void 0).forEach((Y)=>{Y._lifeCycleHooks[J].forEach((Z)=>{X.push({hookedCommand:Y,callback:Z})})}),J==="postAction")X.reverse();return X.forEach((Y)=>{Q=this._chainOrCall(Q,()=>{return Y.callback(Y.hookedCommand,this)})}),Q}_chainOrCallSubCommandHook(z,J,Q){let X=z;if(this._lifeCycleHooks[Q]!==void 0)this._lifeCycleHooks[Q].forEach((Y)=>{X=this._chainOrCall(X,()=>{return Y(this,J)})});return X}_parseCommand(z,J){let Q=this.parseOptions(J);if(this._parseOptionsEnv(),this._parseOptionsImplied(),z=z.concat(Q.operands),J=Q.unknown,this.args=z.concat(J),z&&this._findCommand(z[0]))return this._dispatchSubcommand(z[0],z.slice(1),J);if(this._getHelpCommand()&&z[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(z[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(J),this._dispatchSubcommand(this._defaultCommandName,z,J);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});this._outputHelpIfRequested(Q.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let X=()=>{if(Q.unknown.length>0)this.unknownOption(Q.unknown[0])},Y=`command:${this.name()}`;if(this._actionHandler){X(),this._processArguments();let Z;if(Z=this._chainOrCallHooks(Z,"preAction"),Z=this._chainOrCall(Z,()=>this._actionHandler(this.processedArgs)),this.parent)Z=this._chainOrCall(Z,()=>{this.parent.emit(Y,z,J)});return Z=this._chainOrCallHooks(Z,"postAction"),Z}if(this.parent?.listenerCount(Y))X(),this._processArguments(),this.parent.emit(Y,z,J);else if(z.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",z,J);if(this.listenerCount("command:*"))this.emit("command:*",z,J);else if(this.commands.length)this.unknownCommand();else X(),this._processArguments()}else if(this.commands.length)X(),this.help({error:!0});else X(),this._processArguments()}_findCommand(z){if(!z)return;return this.commands.find((J)=>J._name===z||J._aliases.includes(z))}_findOption(z){return this.options.find((J)=>J.is(z))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach((z)=>{z.options.forEach((J)=>{if(J.mandatory&&z.getOptionValue(J.attributeName())===void 0)z.missingMandatoryOptionValue(J)})})}_checkForConflictingLocalOptions(){let z=this.options.filter((Q)=>{let X=Q.attributeName();if(this.getOptionValue(X)===void 0)return!1;return this.getOptionValueSource(X)!=="default"});z.filter((Q)=>Q.conflictsWith.length>0).forEach((Q)=>{let X=z.find((Y)=>Q.conflictsWith.includes(Y.attributeName()));if(X)this._conflictingOption(Q,X)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach((z)=>{z._checkForConflictingLocalOptions()})}parseOptions(z){let J=[],Q=[],X=J;function Y(q){return q.length>1&&q[0]==="-"}let Z=(q)=>{if(!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(q))return!1;return!this._getCommandAndAncestors().some((R)=>R.options.map((B)=>B.short).some((B)=>/^-\d$/.test(B)))},$=null,_=null,T=0;while(T<z.length||_){let q=_??z[T++];if(_=null,q==="--"){if(X===Q)X.push(q);X.push(...z.slice(T));break}if($&&(!Y(q)||Z(q))){this.emit(`option:${$.name()}`,q);continue}if($=null,Y(q)){let R=this._findOption(q);if(R){if(R.required){let B=z[T++];if(B===void 0)this.optionMissingArgument(R);this.emit(`option:${R.name()}`,B)}else if(R.optional){let B=null;if(T<z.length&&(!Y(z[T])||Z(z[T])))B=z[T++];this.emit(`option:${R.name()}`,B)}else this.emit(`option:${R.name()}`);$=R.variadic?R:null;continue}}if(q.length>2&&q[0]==="-"&&q[1]!=="-"){let R=this._findOption(`-${q[1]}`);if(R){if(R.required||R.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${R.name()}`,q.slice(2));else this.emit(`option:${R.name()}`),_=`-${q.slice(2)}`;continue}}if(/^--[^=]+=/.test(q)){let R=q.indexOf("="),B=this._findOption(q.slice(0,R));if(B&&(B.required||B.optional)){this.emit(`option:${B.name()}`,q.slice(R+1));continue}}if(X===J&&Y(q)&&!(this.commands.length===0&&Z(q)))X=Q;if((this._enablePositionalOptions||this._passThroughOptions)&&J.length===0&&Q.length===0){if(this._findCommand(q)){J.push(q),Q.push(...z.slice(T));break}else if(this._getHelpCommand()&&q===this._getHelpCommand().name()){J.push(q,...z.slice(T));break}else if(this._defaultCommandName){Q.push(q,...z.slice(T));break}}if(this._passThroughOptions){X.push(q,...z.slice(T));break}X.push(q)}return{operands:J,unknown:Q}}opts(){if(this._storeOptionsAsProperties){let z={},J=this.options.length;for(let Q=0;Q<J;Q++){let X=this.options[Q].attributeName();z[X]=X===this._versionOptionName?this._version:this[X]}return z}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((z,J)=>Object.assign(z,J.opts()),{})}error(z,J){if(this._outputConfiguration.outputError(`${z}
|
|
21
|
-
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
|
|
22
|
-
`);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
|
|
23
|
-
`),this.outputHelp({error:!0});let Q=J||{},X=Q.exitCode||1,Y=Q.code||"commander.error";this._exit(X,Y,z)}_parseOptionsEnv(){this.options.forEach((z)=>{if(z.envVar&&z.envVar in G.env){let J=z.attributeName();if(this.getOptionValue(J)===void 0||["default","config","env"].includes(this.getOptionValueSource(J)))if(z.required||z.optional)this.emit(`optionEnv:${z.name()}`,G.env[z.envVar]);else this.emit(`optionEnv:${z.name()}`)}})}_parseOptionsImplied(){let z=new V(this.options),J=(Q)=>{return this.getOptionValue(Q)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(Q))};this.options.filter((Q)=>Q.implied!==void 0&&J(Q.attributeName())&&z.valueFromOption(this.getOptionValue(Q.attributeName()),Q)).forEach((Q)=>{Object.keys(Q.implied).filter((X)=>!J(X)).forEach((X)=>{this.setOptionValueWithSource(X,Q.implied[X],"implied")})})}missingArgument(z){let J=`error: missing required argument '${z}'`;this.error(J,{code:"commander.missingArgument"})}optionMissingArgument(z){let J=`error: option '${z.flags}' argument missing`;this.error(J,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(z){let J=`error: required option '${z.flags}' not specified`;this.error(J,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(z,J){let Q=(Z)=>{let $=Z.attributeName(),_=this.getOptionValue($),T=this.options.find((R)=>R.negate&&$===R.attributeName()),q=this.options.find((R)=>!R.negate&&$===R.attributeName());if(T&&(T.presetArg===void 0&&_===!1||T.presetArg!==void 0&&_===T.presetArg))return T;return q||Z},X=(Z)=>{let $=Q(Z),_=$.attributeName();if(this.getOptionValueSource(_)==="env")return`environment variable '${$.envVar}'`;return`option '${$.flags}'`},Y=`error: ${X(z)} cannot be used with ${X(J)}`;this.error(Y,{code:"commander.conflictingOption"})}unknownOption(z){if(this._allowUnknownOption)return;let J="";if(z.startsWith("--")&&this._showSuggestionAfterError){let X=[],Y=this;do{let Z=Y.createHelp().visibleOptions(Y).filter(($)=>$.long).map(($)=>$.long);X=X.concat(Z),Y=Y.parent}while(Y&&!Y._enablePositionalOptions);J=D(z,X)}let Q=`error: unknown option '${z}'${J}`;this.error(Q,{code:"commander.unknownOption"})}_excessArguments(z){if(this._allowExcessArguments)return;let J=this.registeredArguments.length,Q=J===1?"":"s",X=z.length,Y=this.parent?` for '${this.name()}'`:"",Z=z.join(", "),$=`error: too many arguments${Y}. Expected ${J} argument${Q} but got ${X}: ${Z}.`;this.error($,{code:"commander.excessArguments"})}unknownCommand(){let z=this.args[0],J="";if(this._showSuggestionAfterError){let X=[];this.createHelp().visibleCommands(this).forEach((Y)=>{if(X.push(Y.name()),Y.alias())X.push(Y.alias())}),J=D(z,X)}let Q=`error: unknown command '${z}'${J}`;this.error(Q,{code:"commander.unknownCommand"})}version(z,J,Q){if(z===void 0)return this._version;this._version=z,J=J||"-V, --version",Q=Q||"output the version number";let X=this.createOption(J,Q);return this._versionOptionName=X.attributeName(),this._registerOption(X),this.on("option:"+X.name(),()=>{this._outputConfiguration.writeOut(`${z}
|
|
24
|
-
`),this._exit(0,"commander.version",z)}),this}description(z,J){if(z===void 0&&J===void 0)return this._description;if(this._description=z,J)this._argsDescription=J;return this}summary(z){if(z===void 0)return this._summary;return this._summary=z,this}alias(z){if(z===void 0)return this._aliases[0];let J=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)J=this.commands[this.commands.length-1];if(z===J._name)throw Error("Command alias can't be the same as its name");let Q=this.parent?._findCommand(z);if(Q){let X=[Q.name()].concat(Q.aliases()).join("|");throw Error(`cannot add alias '${z}' to command '${this.name()}' as already have command '${X}'`)}return J._aliases.push(z),this}aliases(z){if(z===void 0)return this._aliases;return z.forEach((J)=>this.alias(J)),this}usage(z){if(z===void 0){if(this._usage)return this._usage;let J=this.registeredArguments.map((Q)=>{return P(Q)});return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?J:[]).join(" ")}return this._usage=z,this}name(z){if(z===void 0)return this._name;return this._name=z,this}helpGroup(z){if(z===void 0)return this._helpGroupHeading??"";return this._helpGroupHeading=z,this}commandsGroup(z){if(z===void 0)return this._defaultCommandGroup??"";return this._defaultCommandGroup=z,this}optionsGroup(z){if(z===void 0)return this._defaultOptionGroup??"";return this._defaultOptionGroup=z,this}_initOptionGroup(z){if(this._defaultOptionGroup&&!z.helpGroupHeading)z.helpGroup(this._defaultOptionGroup)}_initCommandGroup(z){if(this._defaultCommandGroup&&!z.helpGroup())z.helpGroup(this._defaultCommandGroup)}nameFromFilename(z){return this._name=U.basename(z,U.extname(z)),this}executableDir(z){if(z===void 0)return this._executableDir;return this._executableDir=z,this}helpInformation(z){let J=this.createHelp(),Q=this._getOutputContext(z);J.prepareContext({error:Q.error,helpWidth:Q.helpWidth,outputHasColors:Q.hasColors});let X=J.formatHelp(this,J);if(Q.hasColors)return X;return this._outputConfiguration.stripColor(X)}_getOutputContext(z){z=z||{};let J=!!z.error,Q,X,Y;if(J)Q=($)=>this._outputConfiguration.writeErr($),X=this._outputConfiguration.getErrHasColors(),Y=this._outputConfiguration.getErrHelpWidth();else Q=($)=>this._outputConfiguration.writeOut($),X=this._outputConfiguration.getOutHasColors(),Y=this._outputConfiguration.getOutHelpWidth();return{error:J,write:($)=>{if(!X)$=this._outputConfiguration.stripColor($);return Q($)},hasColors:X,helpWidth:Y}}outputHelp(z){let J;if(typeof z==="function")J=z,z=void 0;let Q=this._getOutputContext(z),X={error:Q.error,write:Q.write,command:this};this._getCommandAndAncestors().reverse().forEach((Z)=>Z.emit("beforeAllHelp",X)),this.emit("beforeHelp",X);let Y=this.helpInformation({error:Q.error});if(J){if(Y=J(Y),typeof Y!=="string"&&!Buffer.isBuffer(Y))throw Error("outputHelp callback must return a string or a Buffer")}if(Q.write(Y),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",X),this._getCommandAndAncestors().forEach((Z)=>Z.emit("afterAllHelp",X))}helpOption(z,J){if(typeof z==="boolean"){if(z){if(this._helpOption===null)this._helpOption=void 0;if(this._defaultOptionGroup)this._initOptionGroup(this._getHelpOption())}else this._helpOption=null;return this}if(this._helpOption=this.createOption(z??"-h, --help",J??"display help for command"),z||J)this._initOptionGroup(this._helpOption);return this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(z){return this._helpOption=z,this._initOptionGroup(z),this}help(z){this.outputHelp(z);let J=Number(G.exitCode??0);if(J===0&&z&&typeof z!=="function"&&z.error)J=1;this._exit(J,"commander.help","(outputHelp)")}addHelpText(z,J){let Q=["beforeAll","before","after","afterAll"];if(!Q.includes(z))throw Error(`Unexpected value for position to addHelpText.
|
|
25
|
-
Expecting one of '${Q.join("', '")}'`);let X=`${z}Help`;return this.on(X,(Y)=>{let Z;if(typeof J==="function")Z=J({error:Y.error,command:Y.command});else Z=J;if(Z)Y.write(`${Z}
|
|
26
|
-
`)}),this}_outputHelpIfRequested(z){let J=this._getHelpOption();if(J&&z.find((X)=>J.is(X)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function y(z){return z.map((J)=>{if(!J.startsWith("--inspect"))return J;let Q,X="127.0.0.1",Y="9229",Z;if((Z=J.match(/^(--inspect(-brk)?)$/))!==null)Q=Z[1];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(Q=Z[1],/^\d+$/.test(Z[3]))Y=Z[3];else X=Z[3];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)Q=Z[1],X=Z[3],Y=Z[4];if(Q&&Y!=="0")return`${Q}=${X}:${parseInt(Y)+1}`;return J})}function A(){if(G.env.NO_COLOR||G.env.FORCE_COLOR==="0"||G.env.FORCE_COLOR==="false")return!1;if(G.env.FORCE_COLOR||G.env.CLICOLOR_FORCE!==void 0)return!0;return}var qz=new E;export{K as X,S as Y,E as Z};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Isa as Q,Jsa as V,Ksa as W,Lsa as X,Msa as Y,Nsa as Z,fta as w}from"./cli-1.1.29-pf67dsfj.mjs";import{Wta as v}from"./cli-1.1.29-4xqgqvwm.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
-
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{B as Rla,L as Sla,_ as Tla,S as Ula,k as Vla,F as Wla,D as Xla,P as Yla,x as Zla,y as _la,T as $la,O as ama,R as bma,U as cma,f as dma,N as ema,I as fma,$ as gma,A as hma,p as ima,C as jma,h as kma,E as lma,b as mma};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{ra as F}from"./cli-1.1.29-c7eatffy.mjs";import{Bt as N,Ct as b}from"./cli-1.1.29-am1n3767.mjs";import{AW as d,BW as _,CW as M,HW as I,xW as U}from"./cli-1.1.29-cgska4m2.mjs";import{T9 as z,W9 as T,b_ as x,c_ as H,h_ as v}from"./cli-1.1.29-57e9kkv7.mjs";import{N$ as Z,P$ as P}from"./cli-1.1.29-a6pnwve8.mjs";import{Eka as B,Hka as D}from"./cli-1.1.29-gycpj0z6.mjs";import{Hla as Y,Kla as A,kla as O,pla as f}from"./cli-1.1.29-rfz718th.mjs";import{Ama as S,sma as L}from"./cli-1.1.29-79tgwbnn.mjs";import{gta as y,yta as i}from"./cli-1.1.29-2e5s8gsb.mjs";import{Xta as k}from"./cli-1.1.29-4xqgqvwm.mjs";i();A();P();d();D();b();A();P();S();T();v();I();f();var u=`{"type":"keep_alive"}
|
|
2
|
-
`,C=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(C)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:z()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-1.1.29-b7y6s4vd.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...z()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)B("",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)B("",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let G=this.refreshHeaders();Object.assign(this.headers,G),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),j=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(j)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)B("",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(j)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},j)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((j)=>("uuid"in j)&&j.uuid===J);if($>=0){Q=$+1;let j=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(j),j.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${j.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:j.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let j=O($)+`
|
|
3
|
-
`;if(!this.sendLine(j)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=O(J)+`
|
|
4
|
-
`;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(u),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:j,onBatchDropped:G}=$??{};this.postUrl=r(J),this.uploader=new F({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:j,onBatchDropped:(V,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:V,failures:q}),G?.(V,q)},send:(V)=>this.postOnce(V)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=U();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
|
|
5
|
-
export{W as ca,n as da};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{eg as A,fg as J,gg as $,jg as G}from"./cli-1.1.29-rn9a55ga.mjs";import{Bga as b,Cga as w,Gga as S,Hga as C,Oga as x,_ga as h,ega as O,hga as R}from"./cli-1.1.29-a6pnwve8.mjs";import{Dka as m,uka as N}from"./cli-1.1.29-3dnft82a.mjs";import{Ama as D,pma as F}from"./cli-1.1.29-79tgwbnn.mjs";import{Wta as E}from"./cli-1.1.29-4xqgqvwm.mjs";import{existsSync as T}from"fs";import{dirname as f}from"path";function M(q,z,Q={}){if(!T(q))return{outcome:"noSource",copiedKeys:0};let B=A(q);if(!B)return{outcome:"unparseableSource",copiedKeys:0};let L=T(z),U=L?A(z)??{}:{},I={...U},W=0;for(let V of Q.keys??Object.keys(B)){if(!(V in B))continue;if(V in U)continue;I[V]=B[V],W+=1}if(W===0&&L)return{outcome:"merged",copiedKeys:0};try{$(f(z)),J(z,I)}catch(V){return{outcome:"writeFailed",copiedKeys:0,message:V instanceof Error?V.message:String(V)}}return{outcome:"merged",copiedKeys:W}}var k=E(()=>{G()});import{chmodSync as v,existsSync as _,readFileSync as j,writeFileSync as y}from"fs";import{homedir as H}from"os";import{join as Z}from"path";function P(q){return Z(q,".claude")}function d(q,z,Q,B){let L=Z(q,".credentials.json"),U=Z(z,".credentials.json");if(!_(L))return 0;try{if(_(U)){let W=j(L),V=j(U);if(W.equals(V))return v(U,384),0;return B.push(`${U} already exists with different content — kept new file untouched`),0}$(z);let I=j(L);return y(U,I),v(U,384),g(I)}catch(I){return Q.push(`failed to copy .credentials.json: ${I instanceof Error?I.message:String(I)}`),0}}function g(q){try{let z=JSON.parse(q.toString("utf8"));if(z&&typeof z==="object")return Object.keys(z).length}catch{}return 1}function c(q,z,Q){let B=M(Z(q,"settings.json"),Z(z,"settings.json"),{keys:u});if(B.outcome==="unparseableSource")Q.push("legacy settings.json could not be parsed; skipped");else if(B.outcome==="writeFailed")Q.push(`failed to write settings.json: ${B.message}`);return B.copiedKeys}function K(q){return Z(q,`.claude${N()}.json`)}function l(q){return Z(q,`config${N()}.json`)}function p(q,z,Q){let B=K(q),L=l(z),U=M(B,L);if(U.outcome==="unparseableSource")return Q.push(`legacy ${B} could not be parsed; skipped`),0;if(U.outcome==="writeFailed")return Q.push(`failed to write ${L}: ${U.message}`),0;if(U.outcome==="noSource")return 0;return b(null),U.copiedKeys}function a(){let z=R().claudeToClaudinMigratedAt;if(typeof z==="string"&&z.length>0)return{migrated:!0,at:z};return{migrated:!1}}function n(q){O((z)=>({...z,claudeToClaudinMigratedAt:q}))}async function Zq(q={}){let z=q.homeDir??H(),Q=P(z),B=q.newDir??F(),L=[],U=[],I={tokens:0,settingsKeys:0,globalConfigKeys:0,anthropicProfileCreated:!1,errors:L,warnings:U,alreadyMigrated:!1,legacyDir:Q,newDir:B},W=_(K(z));if(!_(Q)&&!W)return I;let V=a();if(V.migrated&&!q.force)return I.alreadyMigrated=!0,I.migratedAt=V.at,I;try{$(B)}catch(Y){return L.push(`failed to create ${B}: ${Y instanceof Error?Y.message:String(Y)}`),I}if(_(Q))I.tokens=d(Q,B,L,U),I.settingsKeys=c(Q,B,L);if(I.globalConfigKeys=p(z,B,U),I.anthropicProfileCreated=i(B,I.tokens,U),L.length===0){let Y=new Date().toISOString();n(Y),I.migratedAt=Y}return I}function i(q,z,Q){if(z<=0)return!1;let B=Z(q,".credentials.json"),L;try{L=JSON.parse(j(B,"utf8"))}catch(X){return Q.push(`failed to read migrated .credentials.json for profile bootstrap: ${X instanceof Error?X.message:String(X)}`),!1}let I=L?.claudeAiOauth?.accessToken;if(typeof I!=="string"||I.length===0)return!1;let W=C();if(W.some((X)=>X.provider==="anthropic"))return!1;let V=S("anthropic"),Y={provider:"anthropic",name:V.name,baseUrl:V.baseUrl,model:V.model};try{if(!x(Y,{makeActive:W.length===0}))return Q.push("anthropic profile could not be saved after migration"),!1;return!0}catch(X){return Q.push(`failed to create anthropic profile: ${X instanceof Error?X.message:String(X)}`),!1}}function _q(q){if(q.alreadyMigrated)return`nothing to do (last run: ${q.migratedAt??"unknown"}). Pass --force to re-run.`;let z=[];z.push(`${q.tokens} token${q.tokens===1?"":"s"}`),z.push(`${q.settingsKeys} settings key${q.settingsKeys===1?"":"s"}`),z.push(`${q.globalConfigKeys} global config key${q.globalConfigKeys===1?"":"s"}`),z.push(q.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let Q=z.join(", "),B=`. ${q.legacyDir} kept untouched. Run /import to bring skills, MCP servers, agents and commands.`,L=`${Q}${B}`;if(q.warnings.length>0)L+=` Warnings: ${q.warnings.join("; ")}`;if(q.errors.length>0)L+=` Errors: ${q.errors.join("; ")}`;return L}function o(q=H()){return _(P(q))}function t(q=H()){return _(K(q))}function $q(q=H()){let z=R();if(z.claudeToClaudinMigratedAt)return!1;if(z.legacyMigrationSkipped===!0)return!1;return o(q)||t(q)}function jq(){O((q)=>({...q,legacyMigrationSkipped:!0}))}var u;var s=E(()=>{m();w();G();k();D();h();u=["customApiKeyResponses","providerProfiles","activeProviderProfileId"]});
|
|
2
|
-
export{Zq as gd,_q as hd,o as id,$q as jd,jq as kd,s as ld};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hx as S,Ix as Pq,Kx as uq,Mo as Hq,No as _q}from"./cli-1.1.29-am1n3767.mjs";import{EY as Yq,FY as jq}from"./cli-1.1.29-6qykmvew.mjs";import{FZ as n,J1 as a,LZ as o,MZ as Oq,a1 as M,b1 as Cq,c1 as G,e1 as W,i1 as kq}from"./cli-1.1.29-7pfvq0z6.mjs";import{b5 as Kq,c5 as V,d5 as H,e5 as j}from"./cli-1.1.29-nxvs12dw.mjs";import{f5 as Aq}from"./cli-1.1.29-aptcshv0.mjs";import{W6 as Qq,Y6 as g,Z6 as u,_6 as Vq,a7 as T,d7 as Wq,f7 as Xq,n7 as Zq,o7 as hq,t7 as r,w7 as $,x7 as Dq}from"./cli-1.1.29-8k2xw0ns.mjs";import{j_ as l,k_ as Bq}from"./cli-1.1.29-5gydp5n7.mjs";import{Cga as Rq,Wca as f,afa as Jq,hga as s,lda as Nq,qfa as Iq}from"./cli-1.1.29-a6pnwve8.mjs";import{Fia as Lq,xia as zq}from"./cli-1.1.29-5p2zzfpq.mjs";import{Eka as m,Hka as Uq}from"./cli-1.1.29-gycpj0z6.mjs";import{Sta as x,Wta as i}from"./cli-1.1.29-4xqgqvwm.mjs";function e(z){let q=t.c(2),{cooldown:J}=z;if(J){let X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=V(W,{color:"promptBorder",dimColor:!0,children:f}),q[0]=X;else X=q[0];return X}let Q;if(q[1]===Symbol.for("react.memo_cache_sentinel"))Q=V(W,{color:"fastMode",children:f}),q[1]=Q;else Q=q[1];return Q}function _(z=!0,q=!1){if(!z)return f;let J=o(s().theme);if(q)return l.dim(M("promptBorder",J)(f));return M("fastMode",J)(f)}var t;var qq=i(()=>{Bq();Nq();a();Rq();Oq();Cq();j();t=x(n(),1)});function b(z,q){if(Xq(),Jq("userSettings",{fastMode:z?!0:void 0}),z)q((J)=>{let Q=!T(J.mainLoopModel);return{...J,...Q?{mainLoopModel:Vq(),mainLoopModelForSession:null}:{},fastMode:!0}});else q((J)=>({...J,fastMode:!1}))}function mq(z){let q=wq.c(30),{onDone:J,unavailableReason:Q}=z,X=S(Fq),k=S(vq),Y=Pq(),[Z,fq]=yq.useState(k??!1),B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=Wq(),q[0]=B;else B=q[0];let N=B,d=N.status==="cooldown",K=Q!==null,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=$(r(!0)),q[1]=R;else R=q[1];let p=R,O;if(q[2]!==Z||q[3]!==K||q[4]!==X||q[5]!==J||q[6]!==Y)O=function(){if(K)return;if(b(Z,Y),m("",{enabled:Z,source:"picker"}),Z){let F=_(Z),Gq=!T(X)?` · model set to ${u}`:"";J(`${F} Fast mode ON${Gq} · ${p}`)}else Y(cq),J("Fast mode OFF")},q[2]=Z,q[3]=K,q[4]=X,q[5]=J,q[6]=Y,q[7]=O;else O=q[7];let c=O,C;if(q[8]!==k||q[9]!==K||q[10]!==J||q[11]!==Y)C=function(){if(K){if(k)b(!1,Y);J("Fast mode OFF",{display:"system"});return}let F=k?`${_()} Kept Fast mode ON`:"Kept Fast mode OFF";J(F,{display:"system"})},q[8]=k,q[9]=K,q[10]=J,q[11]=Y,q[12]=C;else C=q[12];let v=C,U;if(q[13]!==K)U=function(){if(K)return;fq(Tq)},q[13]=K,q[14]=U;else U=q[14];let P=U,L;if(q[15]!==c||q[16]!==P)L={"confirm:yes":c,"confirm:nextField":P,"confirm:next":P,"confirm:previous":P,"confirm:cycleMode":P,"confirm:toggle":P},q[15]=c,q[16]=P,q[17]=L;else L=q[17];let I;if(q[18]===Symbol.for("react.memo_cache_sentinel"))I={context:"Confirmation"},q[18]=I;else I=q[18];Yq(L,I);let h;if(q[19]===Symbol.for("react.memo_cache_sentinel"))h=H(W,{children:[V(e,{cooldown:d})," Fast mode (research preview)"]}),q[19]=h;else h=q[19];let Eq=h,w;if(q[20]!==K)w=(E)=>E.pending?H(W,{children:["Press ",E.keyName," again to exit"]}):K?V(W,{children:"Esc to cancel"}):V(W,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),q[20]=K,q[21]=w;else w=q[21];let y;if(q[22]!==Z||q[23]!==Q)y=Q?V(G,{marginLeft:2,children:V(W,{color:"error",children:Q})}):H(Kq,{children:[V(G,{flexDirection:"column",gap:0,marginLeft:2,children:H(G,{flexDirection:"row",gap:2,children:[V(W,{bold:!0,children:"Fast mode"}),V(W,{color:Z?"fastMode":void 0,bold:Z,children:Z?"ON ":"OFF"}),V(W,{dimColor:!0,children:p})]})}),d&&N.status==="cooldown"&&V(G,{marginLeft:2,children:H(W,{color:"warning",children:[N.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",zq(N.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),q[22]=Z,q[23]=Q,q[24]=y;else y=q[24];let D;if(q[25]===Symbol.for("react.memo_cache_sentinel"))D=H(W,{dimColor:!0,children:["Learn more:"," ",V(kq,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),q[25]=D;else D=q[25];let A;if(q[26]!==v||q[27]!==y||q[28]!==w)A=H(Hq,{title:Eq,subtitle:`High-speed mode for ${u}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:v,color:"fastMode",inputGuide:w,children:[y,D]}),q[26]=v,q[27]=y,q[28]=w,q[29]=A;else A=q[29];return A}function Tq(z){return!z}function cq(z){return{...z,fastMode:!1}}function vq(z){return z.fastMode}function Fq(z){return z.mainLoopModel}async function Mq(z,q,J){let Q=g();if(Q)return`Fast mode unavailable: ${Q}`;let{mainLoopModel:X}=q();if(b(z,J),m("",{enabled:z,source:"shortcut"}),z){let k=_(!0),Y=!T(X)?` · model set to ${u}`:"",Z=$(r(!0));return`${k} Fast mode ON${Y} · ${Z}`}else return"Fast mode OFF"}async function Qz(z,q,J){if(!Qq())return null;await Zq();let Q=J?.trim().toLowerCase();if(Q==="on"||Q==="off"){let k=await Mq(Q==="on",q.getAppState,q.setAppState);return z(k),null}let X=g();return m("",{unavailable_reason:X??""}),V(mq,{onDone:z,unavailableReason:X})}var wq,yq;var xq=i(()=>{_q();qq();a();jq();Uq();uq();hq();Lq();Dq();Iq();j();wq=x(n(),1),yq=x(Aq(),1)});
|
|
2
|
-
export{_ as Wc,qq as Xc,mq as Yc,Qz as Zc,xq as _c};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ow as I,Pw as P,Tw as t,kq as W,lq as n}from"./cli-1.1.29-am1n3767.mjs";import{k5 as H,l5 as p}from"./cli-1.1.29-kd96jtpb.mjs";import{p5 as C,r5 as i}from"./cli-1.1.29-0kfg7hf8.mjs";import{P9 as l,Q8 as v,Y5 as S,c6 as c,p9 as R,v9 as V}from"./cli-1.1.29-8k2xw0ns.mjs";import{Cfa as q,Cga as O,Cha as T,Dfa as u,Eha as Y,Kha as y,Nha as k,Qha as g,aia as D,ega as E,hga as X,iia as m}from"./cli-1.1.29-a6pnwve8.mjs";import{Kja as G,Lja as f,Mja as $,Nja as h}from"./cli-1.1.29-m7rehwdd.mjs";import{Cka as _,Dka as M,xka as Z}from"./cli-1.1.29-3dnft82a.mjs";import{Hla as x,Kla as b}from"./cli-1.1.29-rfz718th.mjs";import{gta as Q,yta as A}from"./cli-1.1.29-2e5s8gsb.mjs";import{Wta as U}from"./cli-1.1.29-4xqgqvwm.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
|
|
2
|
-
export{Yj as jc,r as kc};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{I as k}from"./cli-1.1.29-skjcgaw2.mjs";import{$ha as H,Tha as $,Uha as F,_ha as z,iia as P}from"./cli-1.1.29-a6pnwve8.mjs";import{Hla as X,Ika as _,Jka as A,Kka as B,Kla as E,Mka as L,kla as O,pla as N,tla as V,xla as C}from"./cli-1.1.29-rfz718th.mjs";import{dsa as w,eoa as Z}from"./cli-1.1.29-dfra4ygt.mjs";import{gta as q,yta as y}from"./cli-1.1.29-2e5s8gsb.mjs";y();w();A();F();L();E();C();P();N();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
|
|
2
|
-
`)},flush:K.flush,dispose:K.dispose}}var R=new Map;function W(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function v(G,K){}function f(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=f(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),v(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(U)}function M(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){M(),k()}
|
|
3
|
-
export{e as G};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{$J as I,CB as qq,CR as yq,DB as Nq,GK as Pq,Lu as s,NK as Yq,PK as Uq,Ru as t,SJ as S,TJ as R,UJ as Xq,XJ as p,Xu as Wq,YJ as k,ZJ as zq,_J as Bq,aK as b,hK as Gq,iK as Jq,mK as hq,pK as Qq,qK as Oq,sK as Vq,sl as r,ul as vq,wR as Zq,wx as e,xq as a,xx as Hq,zq as Kq}from"./cli-1.1.29-am1n3767.mjs";import{aia as w,iia as Fq}from"./cli-1.1.29-a6pnwve8.mjs";import{Qja as o,Sja as Lq}from"./cli-1.1.29-4bemzx23.mjs";import{_la as y,mma as jq}from"./cli-1.1.29-v6y1118n.mjs";import{Wta as M}from"./cli-1.1.29-4xqgqvwm.mjs";function x(B,z){let G=m[z]??1,Y=B!==void 0?m[B]:void 0;if(Y===void 0)return z;return Y<=G?B:z}var m;var g=M(()=>{m={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
|
|
2
|
-
…[truncated ${B.length-z} chars]`}function u(B,z,G,Y){let V=[];if(V.push(`You are a worker agent in the "${B.name}" workflow, phase "${Y.name}".`),B.instructions.trim())V.push(`Workflow instructions:
|
|
3
|
-
${B.instructions.trim()}`);if(V.push(`Task:
|
|
4
|
-
${z}`),G.trim())V.push(`Work so far (accumulated artifact from earlier phases):
|
|
5
|
-
${C(G.trim(),$q)}`);return V.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),V.join(`
|
|
6
|
-
|
|
7
|
-
`)}function c(B,z){let G=[];if(G.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())G.push(`Workflow instructions:
|
|
8
|
-
${z.instructions.trim()}`);G.push(`Task:
|
|
9
|
-
${B.task}`);let Y=z.steps.findIndex((Q)=>Q.name===B.currentStep),V=z.steps.map((Q,J)=>{let j=J<Y?"[done]":J===Y?"[current]":"[pending]",W=I(Q)?" (terminal)":"";return` ${J+1}. ${Q.name} ${j}${W}`}).join(`
|
|
10
|
-
`);if(G.push(`Phases:
|
|
11
|
-
${V}`),B.history.length>0){let Q=B.history.map((J)=>{let j=J.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
|
|
12
|
-
${C(q.output,f).split(`
|
|
13
|
-
`).map((H)=>` ${H}`).join(`
|
|
14
|
-
`)}`}).join(`
|
|
15
|
-
`),W=J.decision?` decision: ${J.decision.decision}${J.decision.target?` → ${J.decision.target}`:""} — ${J.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${J.step}":
|
|
16
|
-
${j}
|
|
17
|
-
${J.synthesis?` synthesis: ${C(J.synthesis,f)}
|
|
18
|
-
`:""}${W}`}).join(`
|
|
19
|
-
|
|
20
|
-
`);G.push(`History (all phases so far):
|
|
21
|
-
${Q}`)}let $=z.steps[Y]?.handbackTo??[];return G.push($.length>0?`From the current phase you may hand back to: ${$.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),G.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),G.join(`
|
|
22
|
-
|
|
23
|
-
`)}var f=4000,$q=6000;var l=M(()=>{b()});function d(B,z,G){let Y=G.steps,V=Y.findIndex((j)=>j.name===B.currentStep),Z={...B.refineCounts},$=B.transitions+1,Q=B.currentStep,J="running";if(z.decision==="advance"){let j=Y[V+1];if(I(j)){if(J="done",j)Q=j.name}else Q=j.name}else if(z.decision==="refine"){if(Z[Q]=(Z[Q]??0)+1,Z[Q]>k)J="stalled"}else{let j=Y[V]?.handbackTo??[];if(!z.target||!j.includes(z.target))J="stalled";else if(Z[z.target]=(Z[z.target]??0)+1,Z[z.target]>k)J="stalled";else Q=z.target}if(J==="running"&&$>=p)J="stalled";return{...B,currentStep:Q,status:J,refineCounts:Z,transitions:$,updatedAt:Date.now()}}var i=M(()=>{b()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function wq(B){let z="",G=0;for(let V=B.length-1;V>=0;V--){let Z=B[V];if(Z.type!=="assistant"||!Z.message)continue;if(!z){let $=(Z.message.content??[]).filter((Q)=>Q.type==="text"&&Q.text);if($.length>0)z=$.map((Q)=>Q.text??"").join(`
|
|
24
|
-
`)}if(G===0&&Z.message.usage)G=Zq(Z.message.usage);if(z&&G)break}let Y=e(B);return{text:z,tokens:G,tools:Y}}async function n(B){let{label:z,agentDef:G,promptText:Y,toolUseContext:V,canUseTool:Z,extraTools:$,runId:Q}=B,J=Date.now(),j=V.getAppState(),W=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(G.permissionMode,W)},L=Yq(q,j.mcp.tools);if($&&$.length>0)L=[...L,...$];let H=G.model??String(V.options.mainLoopModel??""),F=[],N,P=!1;try{let K=qq({agentDefinition:G,promptMessages:[Vq({content:Y})],toolUseContext:V,canUseTool:Z,isAsync:!1,querySource:a(G.agentType,s(G)),availableTools:L,transcriptSubdir:`workflows/${Q}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let h of K)if(F.push(h),h.type==="attachment"&&h.attachment?.type==="structured_output")N=h.attachment.data}catch(K){if(y(K))throw K;w(K),P=!0}let{text:E,tokens:_,tools:X}=wq(F);return{run:{label:z,model:H,tokens:_,tools:X,ms:Date.now()-J,output:P?"":E,failed:P},structuredOutput:N}}async function tq(B){let{def:z,task:G,toolUseContext:Y,canUseTool:V,onProgress:Z,signal:$}=B,{allAgents:Q}=await t(o()),J=new Map(Q.map((H)=>[H.agentType,H]));J.set(S,R);let j=J.get(z.main??S)??R,W=new AbortController;if($)if($.aborted)W.abort();else $.addEventListener("abort",()=>W.abort(),{once:!0});let q=await Gq({workflow:z.name,description:z.description,task:G,firstStep:z.steps[0].name});Z?.(q);let L=async()=>{await Jq(q),Z?.(q)};while(q.status==="running"){if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let H=z.steps.findIndex((v)=>v.name===q.currentStep),F=z.steps[H];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let N;try{N=(await Qq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=J.get(O);A=D?await n({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,G,q.artifact,F),toolUseContext:Y,canUseTool:V,runId:q.runId,abortController:W}):T}catch(D){if(y(D))throw D;w(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let P={step:F.name,stepIndex:H,agents:N,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+N.reduce((v,O)=>v+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&N.every((v)=>v.failed)){w(Error(`workflow phase "${F.name}": all ${N.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){w(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],X;try{X=await n({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Y,canUseTool:V,extraTools:_,runId:q.runId,abortController:W})}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let K=zq.safeParse(X.structuredOutput),h=[...q.history];if(h[h.length-1]={...P,synthesis:X.run.output,decision:K.success?K.data:null,agents:[...N,X.run]},q={...q,history:h,artifact:X.run.output.trim()?X.run.output:q.artifact,totalTokens:q.totalTokens+X.run.tokens,updatedAt:Date.now()},!K.success){w(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Wq();Hq();Nq();vq();Lq();jq();Fq();Pq();Kq();yq();Xq();g();l();hq();i();b()});
|
|
25
|
-
export{tq as Ri,Eq as Si};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hb as Y}from"./cli-1.1.29-h0m93zmw.mjs";import{IW as N,JW as O}from"./cli-1.1.29-cgska4m2.mjs";import{Wha as A,Yha as C}from"./cli-1.1.29-a6pnwve8.mjs";import{Eka as G,Hka as K}from"./cli-1.1.29-gycpj0z6.mjs";import{Hla as X,Kla as w,lla as x,pla as j}from"./cli-1.1.29-rfz718th.mjs";import{fma as L,mma as E}from"./cli-1.1.29-v6y1118n.mjs";K();O();import{randomUUID as T}from"crypto";w();C();E();j();function h(H){return H!==null&&typeof H==="object"&&"type"in H&&typeof H.type==="string"}function P(H){return H!==null&&typeof H==="object"&&"type"in H&&H.type==="control_response"&&"response"in H}function S(H){return H!==null&&typeof H==="object"&&"type"in H&&H.type==="control_request"&&"request_id"in H&&"request"in H}function v(H){if((H.type==="user"||H.type==="assistant")&&H.isVirtual)return!1;return H.type==="user"||H.type==="assistant"||H.type==="system"&&H.subtype==="local_command"}function q(H){if(H.type!=="user"||H.isMeta||H.toolUseResult||H.isCompactSummary)return;if(H.origin&&H.origin.kind!=="human")return;let Z=H.message.content,V;if(typeof Z==="string")V=Z;else for(let $ of Z)if($.type==="text"){V=$.text;break}if(!V)return;return A(V)||void 0}function p(H,Z,V,f,$,B){try{let J=Y(x(H));if(P(J)){X("[bridge:repl] Ingress message type=control_response"),$?.(J);return}if(S(J)){X(`[bridge:repl] Inbound control_request subtype=${J.request.subtype}`),B?.(J);return}if(!h(J))return;let Q="uuid"in J&&typeof J.uuid==="string"?J.uuid:void 0;if(Q&&Z.has(Q)){X(`[bridge:repl] Ignoring echo: type=${J.type} uuid=${Q}`);return}if(Q&&V.has(Q)){X(`[bridge:repl] Ignoring re-delivered inbound: type=${J.type} uuid=${Q}`);return}if(X(`[bridge:repl] Ingress message type=${J.type}${Q?` uuid=${Q}`:""}`),J.type==="user"){if(Q)V.add(Q);G("",{is_repl:!0}),f?.(J)}else X(`[bridge:repl] Ignoring non-user inbound message: type=${J.type}`)}catch(J){X(`[bridge:repl] Failed to parse ingress message: ${L(J)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(H,Z){let{transport:V,sessionId:f,outboundOnly:$,onInterrupt:B,onSetModel:J,onSetMaxThinkingTokens:Q,onSetPermissionMode:_}=Z;if(!V){X("[bridge:repl] Cannot respond to control_request: transport not configured");return}let W;if($&&H.request.subtype!=="initialize"){W={type:"control_response",response:{subtype:"error",request_id:H.request_id,error:y}};let z={...W,session_id:f};V.write(z),X(`[bridge:repl] Rejected ${H.request.subtype} (outbound-only) request_id=${H.request_id}`);return}switch(H.request.subtype){case"initialize":W={type:"control_response",response:{subtype:"success",request_id:H.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":J?.(H.request.model),W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};break;case"set_max_thinking_tokens":Q?.(H.request.max_thinking_tokens),W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};break;case"set_permission_mode":{let z=_?.(H.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(z.ok)W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};else W={type:"control_response",response:{subtype:"error",request_id:H.request_id,error:z.error}};break}case"interrupt":B?.(),W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};break;default:W={type:"control_response",response:{subtype:"error",request_id:H.request_id,error:`REPL bridge does not handle control_request subtype: ${H.request.subtype}`}}}let k={...W,session_id:f};V.write(k),X(`[bridge:repl] Sent control_response for ${H.request.subtype} request_id=${H.request_id} result=${W.response.subtype}`)}function i(H){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:H,uuid:T()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(H){this.capacity=H,this.ring=Array(H)}add(H){if(this.set.has(H))return;let Z=this.ring[this.writeIdx];if(Z!==void 0)this.set.delete(Z);this.ring[this.writeIdx]=H,this.set.add(H),this.writeIdx=(this.writeIdx+1)%this.capacity}has(H){return this.set.has(H)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
|
|
2
|
-
export{v as Bb,q as Cb,p as Db,g as Eb,i as Fb,R as Gb};
|