@claudiolabs/claudin 1.1.16 → 1.1.17
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.17-c0szwp8n.mjs +1 -0
- package/dist/chunks/App-1.1.17-02e9gv69.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.17-jxfbym1r.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.17-6yp2beyh.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.17-w9xsetq9.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.17-84z0pr68.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.17-q46af0nw.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.17-ew4a8tt8.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.17-rmqcdxg8.mjs +6 -0
- package/dist/chunks/Doctor-1.1.17-hg2xast7.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.17-9bpc3q6s.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.17-k5e62crs.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.17-dsnkhped.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.17-kvhxeef5.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.17-a4rrxzp6.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.17-4rfmem0t.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.17-e9mp9qde.mjs +1 -0
- package/dist/chunks/REPL-1.1.17-4wy9nbxj.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.17-yqrt4v79.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.17-3sr5b9tz.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.17-dkwbndzq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.17-f8qa4fjm.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.17-21kb50xj.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.17-0kmr0pvg.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.17-8beq3avk.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.17-z786dzeg.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.17-x2aq5sx0.mjs +1 -0
- package/dist/chunks/add-dir-1.1.17-2s13eqzw.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.17-ct1sy6xb.mjs +1 -0
- package/dist/chunks/agents-1.1.17-550b7p8x.mjs +110 -0
- package/dist/chunks/agents-1.1.17-r5c8tpkr.mjs +3 -0
- package/dist/chunks/api-1.1.17-75x5tmes.mjs +1 -0
- package/dist/chunks/asciicast-1.1.17-79trcjfv.mjs +1 -0
- package/dist/chunks/assistant-1.1.17-dbbtqfan.mjs +1 -0
- package/dist/chunks/auth-1.1.17-8f3fach8.mjs +1 -0
- package/dist/chunks/auth-1.1.17-m8h26316.mjs +1 -0
- package/dist/chunks/autoMode-1.1.17-qc59qrkd.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.17-eget172p.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.17-hn3tt3zt.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.17-v11kpga8.mjs +1 -0
- package/dist/chunks/branch-1.1.17-w3zktkvs.mjs +4 -0
- package/dist/chunks/bridge-1.1.17-x5r3w789.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.17-kce97mnv.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.17-75j54src.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.17-4mqk6cqv.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.17-tnq9hpp2.mjs +1 -0
- package/dist/chunks/btw-1.1.17-45g5jhjr.mjs +1 -0
- package/dist/chunks/buddy-1.1.17-axejc0a1.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.17-x0n3bj9h.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.17-54ab6ndm.mjs +4 -0
- package/dist/chunks/caches-1.1.17-tqxvw7fb.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.17-rrzswj35.mjs +1 -0
- package/dist/chunks/claudemd-1.1.17-y5mkq5gq.mjs +1 -0
- package/dist/chunks/clear-1.1.17-6eyrsqrw.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.17-22ezdweq.mjs +1 -0
- package/dist/chunks/cli-1.1.17-0511dy9y.mjs +2 -0
- package/dist/chunks/cli-1.1.17-06mdd80y.mjs +2 -0
- package/dist/chunks/cli-1.1.17-09c1vkqx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-0d7fthp5.mjs +58 -0
- package/dist/chunks/cli-1.1.17-0p0ak3zs.mjs +2 -0
- package/dist/chunks/cli-1.1.17-18k7783y.mjs +20 -0
- package/dist/chunks/cli-1.1.17-1fvh83yv.mjs +7 -0
- package/dist/chunks/cli-1.1.17-1nxc4dk2.mjs +12 -0
- package/dist/chunks/cli-1.1.17-1v8knfbw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-1w1dgmsf.mjs +5 -0
- package/dist/chunks/cli-1.1.17-2b4keqra.mjs +4 -0
- package/dist/chunks/cli-1.1.17-2bc3gqw5.mjs +6 -0
- package/dist/chunks/cli-1.1.17-2jv9761d.mjs +2 -0
- package/dist/chunks/cli-1.1.17-2pvpn49s.mjs +3 -0
- package/dist/chunks/cli-1.1.17-2spbpwrx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-2szs1chw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-2z1g2hjb.mjs +4 -0
- package/dist/chunks/cli-1.1.17-3bkjnp3z.mjs +25 -0
- package/dist/chunks/cli-1.1.17-3jqe0rga.mjs +3 -0
- package/dist/chunks/cli-1.1.17-3mtgr9ch.mjs +3 -0
- package/dist/chunks/cli-1.1.17-3r1p3ddm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-3sy6b0hb.mjs +4 -0
- package/dist/chunks/cli-1.1.17-3v5m3zqf.mjs +2 -0
- package/dist/chunks/cli-1.1.17-3z8hnad1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-40gj2tc0.mjs +2 -0
- package/dist/chunks/cli-1.1.17-40w0wha0.mjs +2 -0
- package/dist/chunks/cli-1.1.17-44fk8h9v.mjs +6 -0
- package/dist/chunks/cli-1.1.17-4cxy3tsf.mjs +2 -0
- package/dist/chunks/cli-1.1.17-4egkrc4y.mjs +2 -0
- package/dist/chunks/cli-1.1.17-4yvz970v.mjs +2 -0
- package/dist/chunks/cli-1.1.17-545688c0.mjs +2 -0
- package/dist/chunks/cli-1.1.17-5bbnw0z1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-5ckk64dj.mjs +3 -0
- package/dist/chunks/cli-1.1.17-5eapymd7.mjs +25 -0
- package/dist/chunks/cli-1.1.17-5h6k67gj.mjs +39 -0
- package/dist/chunks/cli-1.1.17-5rfxkg0q.mjs +2 -0
- package/dist/chunks/cli-1.1.17-5ytk3hr5.mjs +2 -0
- package/dist/chunks/cli-1.1.17-60mezybh.mjs +2 -0
- package/dist/chunks/cli-1.1.17-62yjss1h.mjs +2 -0
- package/dist/chunks/cli-1.1.17-66c4sw6g.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6e7rvf1a.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6ee0nqae.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6gfvdt7y.mjs +8 -0
- package/dist/chunks/cli-1.1.17-6jzph4h7.mjs +3 -0
- package/dist/chunks/cli-1.1.17-6rx20w90.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6wdwjtdj.mjs +7 -0
- package/dist/chunks/cli-1.1.17-6xnsg3vj.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6yqbrqsj.mjs +4 -0
- package/dist/chunks/cli-1.1.17-787fk73v.mjs +3 -0
- package/dist/chunks/cli-1.1.17-7n4s8n50.mjs +6 -0
- package/dist/chunks/cli-1.1.17-83bggr64.mjs +3 -0
- package/dist/chunks/cli-1.1.17-848t1b19.mjs +2 -0
- package/dist/chunks/cli-1.1.17-85fga8dq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-85mcc9n7.mjs +2 -0
- package/dist/chunks/cli-1.1.17-86a50dqm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-8ae45qsd.mjs +6 -0
- package/dist/chunks/cli-1.1.17-8pkspqzx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-8yryp8zt.mjs +2 -0
- package/dist/chunks/cli-1.1.17-91shm790.mjs +2 -0
- package/dist/chunks/cli-1.1.17-937ws80k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-95kegjhq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9bq6vj3x.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9dv8cb2e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9nvn8chy.mjs +21 -0
- package/dist/chunks/cli-1.1.17-9pb21bzq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9pv5wym1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9q30wadt.mjs +17 -0
- package/dist/chunks/cli-1.1.17-9rtpxyk6.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9wgw338h.mjs +2 -0
- package/dist/chunks/cli-1.1.17-adz6qec3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-amta49a1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-amvnbvkb.mjs +66 -0
- package/dist/chunks/cli-1.1.17-arwr4e36.mjs +2 -0
- package/dist/chunks/cli-1.1.17-av45k1a0.mjs +15 -0
- package/dist/chunks/cli-1.1.17-avc9ck1v.mjs +2 -0
- package/dist/chunks/cli-1.1.17-b1g8n716.mjs +2 -0
- package/dist/chunks/cli-1.1.17-b5btm8nn.mjs +5 -0
- package/dist/chunks/cli-1.1.17-b6178p3e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bg6qdrwm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bj81ampw.mjs +3 -0
- package/dist/chunks/cli-1.1.17-brvf3613.mjs +3 -0
- package/dist/chunks/cli-1.1.17-bw27qnmm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bw4gf7se.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bzw849yw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-c4wdrmzx.mjs +3 -0
- package/dist/chunks/cli-1.1.17-c858dzpc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cddbmrdk.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cek6be4z.mjs +15 -0
- package/dist/chunks/cli-1.1.17-chsbt03k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cnp784zh.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ct0r352g.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cvtpmgr1.mjs +16 -0
- package/dist/chunks/cli-1.1.17-d24yw7cv.mjs +50 -0
- package/dist/chunks/cli-1.1.17-d8zh7smn.mjs +3 -0
- package/dist/chunks/cli-1.1.17-d9y6k8vc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-db7epgkw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-dhbj7k9k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-dp5q3hgg.mjs +2 -0
- package/dist/chunks/cli-1.1.17-e8bd5mhc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-egp0jwn1.mjs +6 -0
- package/dist/chunks/cli-1.1.17-ete62cd3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-evytxpaj.mjs +4 -0
- package/dist/chunks/cli-1.1.17-f0f3ww1e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-f29ngxbd.mjs +2 -0
- package/dist/chunks/cli-1.1.17-f4eghwer.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fc8raa73.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fc9ah2rx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fn3aawry.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fpt9fhj3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-frwjbpkz.mjs +12 -0
- package/dist/chunks/cli-1.1.17-fzsavwtg.mjs +133 -0
- package/dist/chunks/cli-1.1.17-g02c88z9.mjs +2 -0
- package/dist/chunks/cli-1.1.17-g0r7knn3.mjs +9 -0
- package/dist/chunks/cli-1.1.17-g8x1ae0n.mjs +2 -0
- package/dist/chunks/cli-1.1.17-gbx2evhw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-gjjv9pf2.mjs +2 -0
- package/dist/chunks/cli-1.1.17-grwds6h6.mjs +2 -0
- package/dist/chunks/cli-1.1.17-gy86radb.mjs +6 -0
- package/dist/chunks/cli-1.1.17-gz7gazer.mjs +2 -0
- package/dist/chunks/cli-1.1.17-h68j8yr4.mjs +2 -0
- package/dist/chunks/cli-1.1.17-h899gx3g.mjs +59 -0
- package/dist/chunks/cli-1.1.17-hk50rvfx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-hv7vtr92.mjs +2 -0
- package/dist/chunks/cli-1.1.17-j0rsgbr3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-j7w7vk9q.mjs +4 -0
- package/dist/chunks/cli-1.1.17-ja7d18ym.mjs +2 -0
- package/dist/chunks/cli-1.1.17-jbg9ze8v.mjs +26 -0
- package/dist/chunks/cli-1.1.17-jbmze4s1.mjs +3 -0
- package/dist/chunks/cli-1.1.17-jd6hwz1t.mjs +18 -0
- package/dist/chunks/cli-1.1.17-jfrmnvzh.mjs +42 -0
- package/dist/chunks/cli-1.1.17-jmhry9pe.mjs +2 -0
- package/dist/chunks/cli-1.1.17-jyzpxwq4.mjs +2 -0
- package/dist/chunks/cli-1.1.17-k2ygh79g.mjs +24 -0
- package/dist/chunks/cli-1.1.17-k4cv7tcx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-k6xg5a3t.mjs +2 -0
- package/dist/chunks/cli-1.1.17-kasvn1wv.mjs +2 -0
- package/dist/chunks/cli-1.1.17-kdycyp8n.mjs +4 -0
- package/dist/chunks/cli-1.1.17-kjk1ddpc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-kk19mmhc.mjs +17 -0
- package/dist/chunks/cli-1.1.17-krb62aen.mjs +2 -0
- package/dist/chunks/cli-1.1.17-mc6hgzsa.mjs +4 -0
- package/dist/chunks/cli-1.1.17-mvgrc9gx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-n2dct122.mjs +2 -0
- package/dist/chunks/cli-1.1.17-n4xn5c5m.mjs +34 -0
- package/dist/chunks/cli-1.1.17-nes161na.mjs +2 -0
- package/dist/chunks/cli-1.1.17-nhn5qa9g.mjs +45 -0
- package/dist/chunks/cli-1.1.17-nr1fn5ws.mjs +2 -0
- package/dist/chunks/cli-1.1.17-p7mq618q.mjs +2 -0
- package/dist/chunks/cli-1.1.17-phaqkjy5.mjs +3 -0
- package/dist/chunks/cli-1.1.17-pmner0m4.mjs +206 -0
- package/dist/chunks/cli-1.1.17-q6fve29k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-q7f9amqd.mjs +2 -0
- package/dist/chunks/cli-1.1.17-qr727b7j.mjs +18 -0
- package/dist/chunks/cli-1.1.17-qwkbwe37.mjs +2 -0
- package/dist/chunks/cli-1.1.17-r47egjp3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-rak849bn.mjs +3 -0
- package/dist/chunks/cli-1.1.17-rgzfxape.mjs +2 -0
- package/dist/chunks/cli-1.1.17-rpac3qey.mjs +2 -0
- package/dist/chunks/cli-1.1.17-rv9n4f0j.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ry9v8zr7.mjs +2 -0
- package/dist/chunks/cli-1.1.17-s0w3hc9t.mjs +4 -0
- package/dist/chunks/cli-1.1.17-s6rzrasx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-s9617g9k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sa6xwtgz.mjs +1 -0
- package/dist/chunks/cli-1.1.17-sekbxc10.mjs +24 -0
- package/dist/chunks/cli-1.1.17-sf4te5vd.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sh93pnws.mjs +2 -0
- package/dist/chunks/cli-1.1.17-spygywkr.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sqnbm5cb.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ss5f6ezq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ssjqqbnv.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sx4yg7br.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sxvjn3ne.mjs +2 -0
- package/dist/chunks/cli-1.1.17-t059h154.mjs +2 -0
- package/dist/chunks/cli-1.1.17-tcxq0ah8.mjs +2 -0
- package/dist/chunks/cli-1.1.17-tjtarhk9.mjs +5408 -0
- package/dist/chunks/cli-1.1.17-tkz7x0rj.mjs +2 -0
- package/dist/chunks/cli-1.1.17-v5nv0awt.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vecw37vp.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vewrwcsz.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vj9h10jw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vpgxna04.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vya6g1gj.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vzhs0tcz.mjs +2 -0
- package/dist/chunks/cli-1.1.17-w70hp8av.mjs +2 -0
- package/dist/chunks/cli-1.1.17-w8ycz611.mjs +4 -0
- package/dist/chunks/cli-1.1.17-w9jr2baa.mjs +2 -0
- package/dist/chunks/cli-1.1.17-wmy7x7p1.mjs +3 -0
- package/dist/chunks/cli-1.1.17-wpw25vs3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-wraax29e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xmwmqrg5.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xpxk1a24.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xqsq5e1g.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xr6d85ak.mjs +24 -0
- package/dist/chunks/cli-1.1.17-xyvhfz5c.mjs +133 -0
- package/dist/chunks/cli-1.1.17-y590316j.mjs +2 -0
- package/dist/chunks/cli-1.1.17-y9v9t43m.mjs +2 -0
- package/dist/chunks/cli-1.1.17-yc5h2t8c.mjs +2 -0
- package/dist/chunks/cli-1.1.17-yexr9jg1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ymeaeqf8.mjs +15 -0
- package/dist/chunks/cli-1.1.17-ys4xrvjv.mjs +2 -0
- package/dist/chunks/cli-1.1.17-yzm3tm0n.mjs +2 -0
- package/dist/chunks/cli-1.1.17-z3nzbxwq.mjs +24 -0
- package/dist/chunks/cli-1.1.17-z8hph2r6.mjs +2 -0
- package/dist/chunks/cli-1.1.17-zeqbjpg8.mjs +2 -0
- package/dist/chunks/cli-1.1.17-zhbqhsnh.mjs +2 -0
- package/dist/chunks/cli-1.1.17-znjf3r1w.mjs +2 -0
- package/dist/chunks/cli-1.1.17-zs8ffrtz.mjs +9 -0
- package/dist/chunks/cli-1.1.17-zsygz35e.mjs +2 -0
- package/dist/chunks/client-1.1.17-nagqj7bf.mjs +1 -0
- package/dist/chunks/color-1.1.17-p6y05fhc.mjs +1 -0
- package/dist/chunks/compact-1.1.17-pzzrynbb.mjs +3 -0
- package/dist/chunks/config-1.1.17-m2ajzt0e.mjs +1 -0
- package/dist/chunks/config-1.1.17-wmdy8158.mjs +1 -0
- package/dist/chunks/constants-1.1.17-v8sj602z.mjs +1 -0
- package/dist/chunks/context-1.1.17-7e2bk0as.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.17-e84cts6x.mjs +1 -0
- package/dist/chunks/conversation-1.1.17-9xvxk3r2.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.17-fqvd03w0.mjs +1 -0
- package/dist/chunks/copy-1.1.17-easn9kr0.mjs +9 -0
- package/dist/chunks/cost-1.1.17-nxtewzxf.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.17-6ewgn22a.mjs +1 -0
- package/dist/chunks/createSession-1.1.17-86r1zzgv.mjs +1 -0
- package/dist/chunks/debug-1.1.17-z47bgb2r.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.17-jf0axhv5.mjs +1534 -0
- package/dist/chunks/desktop-1.1.17-a995qrj4.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.17-a8w7dp77.mjs +1 -0
- package/dist/chunks/detection-1.1.17-rm57w2ve.mjs +1 -0
- package/dist/chunks/diff-1.1.17-nhrc58mf.mjs +1 -0
- package/dist/chunks/doctor-1.1.17-fbcrp14n.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.17-e8d49da2.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.17-tb2wa4gd.mjs +1 -0
- package/dist/chunks/effort-1.1.17-exyt2hn8.mjs +13 -0
- package/dist/chunks/engine-1.1.17-amrae3h8.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.17-cxcxqyr2.mjs +1 -0
- package/dist/chunks/envUtils-1.1.17-74s3e3r7.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.17-r6fm53e4.mjs +1 -0
- package/dist/chunks/environments-1.1.17-eefk71xc.mjs +1 -0
- package/dist/chunks/errors-1.1.17-f3hxdv36.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.17-fq7g2dra.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.17-b5j6ewkj.mjs +1 -0
- package/dist/chunks/exit-1.1.17-69eys61s.mjs +1 -0
- package/dist/chunks/explorer-1.1.17-9rnyanfh.mjs +1 -0
- package/dist/chunks/export-1.1.17-ftdkrgt6.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.17-4d5r749p.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.17-pfnqg70z.mjs +1 -0
- package/dist/chunks/fast-1.1.17-6fhr21cx.mjs +1 -0
- package/dist/chunks/feedback-1.1.17-xsv4a0hk.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.17-ysw58c2m.mjs +1 -0
- package/dist/chunks/git-1.1.17-1t4mvmwy.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.17-em3pctn6.mjs +1 -0
- package/dist/chunks/goal-1.1.17-b6r6rv34.mjs +4 -0
- package/dist/chunks/growthbook-1.1.17-d41p6v8e.mjs +1 -0
- package/dist/chunks/headless-1.1.17-3gds2arn.mjs +2 -0
- package/dist/chunks/heapdump-1.1.17-42928w6t.mjs +6 -0
- package/dist/chunks/help-1.1.17-1ex6d9m1.mjs +1 -0
- package/dist/chunks/hookChains-1.1.17-4trtr6n3.mjs +3 -0
- package/dist/chunks/hooks-1.1.17-brmzj93f.mjs +1 -0
- package/dist/chunks/hooks-1.1.17-tmmp968z.mjs +79 -0
- package/dist/chunks/ide-1.1.17-7bswgmqh.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.17-f4q4ze0f.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.17-bqseg6s7.mjs +1 -0
- package/dist/chunks/index-1.1.17-1cxekw2k.mjs +2 -0
- package/dist/chunks/index-1.1.17-3bhv85t6.mjs +2 -0
- package/dist/chunks/index-1.1.17-3kw30gq5.mjs +1 -0
- package/dist/chunks/index-1.1.17-41dwzfym.mjs +1 -0
- package/dist/chunks/index-1.1.17-58sa6nbn.mjs +1 -0
- package/dist/chunks/index-1.1.17-5vmgm515.mjs +9 -0
- package/dist/chunks/index-1.1.17-72ghmm5v.mjs +1 -0
- package/dist/chunks/index-1.1.17-9zas5tn3.mjs +23 -0
- package/dist/chunks/index-1.1.17-c7n4hj5n.mjs +1 -0
- package/dist/chunks/index-1.1.17-dg0mbe1h.mjs +1 -0
- package/dist/chunks/index-1.1.17-dzt8xwy0.mjs +1 -0
- package/dist/chunks/index-1.1.17-gwp2t0ev.mjs +5 -0
- package/dist/chunks/index-1.1.17-j516ern1.mjs +1 -0
- package/dist/chunks/index-1.1.17-j5qnmjd0.mjs +30 -0
- package/dist/chunks/index-1.1.17-m909k4gz.mjs +1 -0
- package/dist/chunks/index-1.1.17-mvtaa82m.mjs +1 -0
- package/dist/chunks/index-1.1.17-nntqe0vr.mjs +1 -0
- package/dist/chunks/index-1.1.17-nq9tejwj.mjs +1 -0
- package/dist/chunks/index-1.1.17-pfzch1bc.mjs +1 -0
- package/dist/chunks/index-1.1.17-q2g4m637.mjs +9 -0
- package/dist/chunks/index-1.1.17-s5nfh7xr.mjs +1 -0
- package/dist/chunks/index-1.1.17-tq1x9mdy.mjs +1 -0
- package/dist/chunks/index-1.1.17-vjbktr0m.mjs +1 -0
- package/dist/chunks/init-1.1.17-ezhe261a.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.17-bsr4ggsa.mjs +1 -0
- package/dist/chunks/ink-1.1.17-hnhzzxr4.mjs +1 -0
- package/dist/chunks/insights-1.1.17-8rkjk3qx.mjs +870 -0
- package/dist/chunks/install-1.1.17-bveeekwq.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.17-s7qpq92h.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.17-6p1tq8es.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.17-2n85eb8r.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.17-2qdgnemg.mjs +1 -0
- package/dist/chunks/keybindings-1.1.17-e93j288w.mjs +2 -0
- package/dist/chunks/knowledge-1.1.17-wzqw3mat.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.17-kpebzzy5.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.17-rwrehzjk.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.17-z6xentgs.mjs +1 -0
- package/dist/chunks/log-1.1.17-teh0b8bj.mjs +1 -0
- package/dist/chunks/main-1.1.17-4drs7spn.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.17-01msjcq4.mjs +1 -0
- package/dist/chunks/mcp-1.1.17-c212g273.mjs +17 -0
- package/dist/chunks/mcp-1.1.17-fmad2143.mjs +4 -0
- package/dist/chunks/mcp-1.1.17-vkg3yyj4.mjs +1 -0
- package/dist/chunks/mcpb-1.1.17-2qj85kf9.mjs +1 -0
- package/dist/chunks/memory-1.1.17-xxzfp6m3.mjs +72 -0
- package/dist/chunks/model-1.1.17-6wangfaf.mjs +1 -0
- package/dist/chunks/model-1.1.17-phx3mpre.mjs +2 -0
- package/dist/chunks/node-1.1.17-vwaj3hha.mjs +12 -0
- package/dist/chunks/oauth-1.1.17-2h7zc57g.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.17-x7d7rtnw.mjs +14 -0
- package/dist/chunks/output-style-1.1.17-4dwyxd9d.mjs +1 -0
- package/dist/chunks/package-KQCMZM5L-1.1.17-hz04t8ab.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.17-47ed65x0.mjs +1 -0
- package/dist/chunks/parser-1.1.17-tsm4t6zj.mjs +1 -0
- package/dist/chunks/passes-1.1.17-kvh566r0.mjs +1 -0
- package/dist/chunks/permissions-1.1.17-2s1jj12g.mjs +1 -0
- package/dist/chunks/permissions-1.1.17-b96tjxsb.mjs +3 -0
- package/dist/chunks/plan-1.1.17-fphg1taz.mjs +1 -0
- package/dist/chunks/plist-1.1.17-be3b59s7.mjs +1 -0
- package/dist/chunks/plugin-1.1.17-wjwcjxt0.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.17-y7rehbdx.mjs +1 -0
- package/dist/chunks/plugins-1.1.17-pvbs8x2d.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.17-sz5peb61.mjs +2 -0
- package/dist/chunks/print-1.1.17-2tqpqffd.mjs +57 -0
- package/dist/chunks/process-1.1.17-edae57bn.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.17-8x8av07q.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.17-p2hph3mq.mjs +9 -0
- package/dist/chunks/prompt-1.1.17-33ecsyvx.mjs +1 -0
- package/dist/chunks/prompt-1.1.17-pcxqswhq.mjs +1 -0
- package/dist/chunks/prompts-1.1.17-9s5a4vj5.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.17-eypg73tv.mjs +13 -0
- package/dist/chunks/provider-1.1.17-cq38y5y0.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.17-3mapa580.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.17-v4be9pkn.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.17-7akz78zn.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.17-d8515h81.mjs +26 -0
- package/dist/chunks/registry-1.1.17-vmxj31fp.mjs +1 -0
- package/dist/chunks/release-notes-1.1.17-qfx2ydx0.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.17-bxmeccet.mjs +2 -0
- package/dist/chunks/remote-env-1.1.17-5zk7dhta.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.17-dyyd9gpp.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.17-2w7c374e.mjs +1 -0
- package/dist/chunks/rename-1.1.17-m9npwq9e.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.17-f73jbyc4.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.17-89bw7egj.mjs +1 -0
- package/dist/chunks/resume-1.1.17-zcepac5h.mjs +2 -0
- package/dist/chunks/rewind-1.1.17-sz9gnvjb.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.17-cz7wggw6.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.17-mv4m2dgh.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.17-mzhxrhy6.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.17-0055tx31.mjs +1 -0
- package/dist/chunks/session-1.1.17-58155tdb.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.17-jesa43e4.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.17-v63nh4eq.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.17-db6eb6a0.mjs +1 -0
- package/dist/chunks/settings-1.1.17-r420yrj6.mjs +1 -0
- package/dist/chunks/setup-1.1.17-2c169kta.mjs +12 -0
- package/dist/chunks/sinks-1.1.17-qy1xy52h.mjs +1 -0
- package/dist/chunks/skills-1.1.17-179vy7j6.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.17-2jre48fe.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.17-18vwb94e.mjs +1 -0
- package/dist/chunks/state-1.1.17-jj648yt9.mjs +1 -0
- package/dist/chunks/stats-1.1.17-87688vm6.mjs +6 -0
- package/dist/chunks/status-1.1.17-qfgx5stw.mjs +1 -0
- package/dist/chunks/stickers-1.1.17-6qwzrjbk.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.17-agk55s1k.mjs +1 -0
- package/dist/chunks/tasks-1.1.17-kbw9ds53.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.17-4adaqsmb.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.17-9ts2pfkc.mjs +1 -0
- package/dist/chunks/teleport-1.1.17-bzmdxawh.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.17-dqhqjty9.mjs +1 -0
- package/dist/chunks/theme-1.1.17-85pv1732.mjs +1 -0
- package/dist/chunks/thinkback-1.1.17-hepbvmjv.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.17-v9aftsq7.mjs +1 -0
- package/dist/chunks/toolPool-1.1.17-9czwnxh0.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.17-16zef2se.mjs +1 -0
- package/dist/chunks/tools-1.1.17-k9mnpc70.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.17-jh3tsws1.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.17-nccrmbyj.mjs +69 -0
- package/dist/chunks/types-1.1.17-h1a2dqs3.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.17-qcn2523f.mjs +4 -0
- package/dist/chunks/update-1.1.17-qrbvhrw3.mjs +72 -0
- package/dist/chunks/upgrade-1.1.17-5r2kvcht.mjs +1 -0
- package/dist/chunks/upload-1.1.17-9wg0zeh8.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.17-g55vw948.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.17-3z57zpg6.mjs +1 -0
- package/dist/chunks/usage-1.1.17-fpqbestm.mjs +1 -0
- package/dist/chunks/util-1.1.17-afkkcjd2.mjs +1 -0
- package/dist/chunks/utils-1.1.17-pmry0sgf.mjs +1 -0
- package/dist/chunks/vim-1.1.17-favcd60m.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.17-8xwhaj6s.mjs +13 -0
- package/dist/chunks/watcher-1.1.17-1jrrt63m.mjs +1 -0
- package/dist/chunks/wiki-1.1.17-gsgtzkbe.mjs +132 -0
- package/dist/chunks/workflows-1.1.17-d88y5b3p.mjs +1 -0
- package/dist/chunks/worktree-1.1.17-aym2veht.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.17-e80q0zp5.mjs +1 -0
- package/dist/chunks/wrapper-1.1.17-mqzzgw84.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.16-d8xg1846.mjs +0 -1
- package/dist/chunks/App-1.1.16-1qyat349.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.16-gphm4kr9.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.16-ae0771hz.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.16-ntf57kwj.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.16-z8km64vb.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.16-9c1nen0b.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.16-e52dm35b.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.16-frav7jtc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.16-rnr2zeqm.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.16-32sa07f8.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.16-wcn0wvqj.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.16-ptpv0yby.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.16-2c80150t.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.16-xf5ytnvw.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.16-mq6axxmv.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.16-df81g99v.mjs +0 -1
- package/dist/chunks/REPL-1.1.16-67e78vej.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.16-nfz9vfxh.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.16-nmypjs9s.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.16-8xp4cat6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.16-b873egjf.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.16-p12j7gbz.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.16-wfj4hbxa.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.16-t59p4sqb.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.16-6gnr1pgn.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.16-pz7hzyed.mjs +0 -1
- package/dist/chunks/add-dir-1.1.16-whsjbedt.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.16-7fxyjypa.mjs +0 -1
- package/dist/chunks/agents-1.1.16-1d6y0xda.mjs +0 -3
- package/dist/chunks/agents-1.1.16-s5e41ewr.mjs +0 -110
- package/dist/chunks/api-1.1.16-k1mytgsx.mjs +0 -1
- package/dist/chunks/asciicast-1.1.16-bxvyntn8.mjs +0 -1
- package/dist/chunks/assistant-1.1.16-acqmddet.mjs +0 -1
- package/dist/chunks/auth-1.1.16-7nwthv6n.mjs +0 -1
- package/dist/chunks/auth-1.1.16-c46k0chb.mjs +0 -1
- package/dist/chunks/autoMode-1.1.16-t7thnrw0.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.16-5k3bxrjz.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.16-nhb6p8p3.mjs +0 -1
- package/dist/chunks/branch-1.1.16-72eesr6a.mjs +0 -4
- package/dist/chunks/bridge-1.1.16-8n6h1b8c.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.16-jmz78ab3.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.16-nwrn0y9j.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.16-04vqwa21.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.16-krkxjxkj.mjs +0 -1
- package/dist/chunks/btw-1.1.16-h0jqrzph.mjs +0 -1
- package/dist/chunks/buddy-1.1.16-k6dwkrbz.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.16-rk6d7v9j.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.16-f3tggvs4.mjs +0 -4
- package/dist/chunks/caches-1.1.16-kxkg6hxt.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.16-jggzvahb.mjs +0 -1
- package/dist/chunks/claudemd-1.1.16-7dtnkedr.mjs +0 -1
- package/dist/chunks/clear-1.1.16-qrpawrqq.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.16-hcv9w964.mjs +0 -1
- package/dist/chunks/cli-1.1.16-00hws7wd.mjs +0 -15
- package/dist/chunks/cli-1.1.16-02ynr76s.mjs +0 -2
- package/dist/chunks/cli-1.1.16-06f5zq2n.mjs +0 -3
- package/dist/chunks/cli-1.1.16-07smcaht.mjs +0 -2
- package/dist/chunks/cli-1.1.16-08mt7pd3.mjs +0 -26
- package/dist/chunks/cli-1.1.16-0chc168e.mjs +0 -2
- package/dist/chunks/cli-1.1.16-0w56n0k6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-11vm4ckb.mjs +0 -3
- package/dist/chunks/cli-1.1.16-14fn34eq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-14qj3fgz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-16cpmrsq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-1p0006m7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-1rw7f88z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-21rqtmb8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2c672gb7.mjs +0 -12
- package/dist/chunks/cli-1.1.16-2mzk1cmm.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2ssqta47.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2v8aceee.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2xgcx2pv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-3ha615b6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-3k3hzdbv.mjs +0 -9
- package/dist/chunks/cli-1.1.16-3wey4s8m.mjs +0 -2
- package/dist/chunks/cli-1.1.16-48pfhgz1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-49bqpfq6.mjs +0 -16
- package/dist/chunks/cli-1.1.16-4azerbgs.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4eszpnge.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4kbzs997.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4pr1991p.mjs +0 -8
- package/dist/chunks/cli-1.1.16-4qysqchs.mjs +0 -24
- package/dist/chunks/cli-1.1.16-4v9hjjtt.mjs +0 -3
- package/dist/chunks/cli-1.1.16-50vqanyq.mjs +0 -4
- package/dist/chunks/cli-1.1.16-54087k9r.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5a4a2nqs.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5bx6tpmw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5dtt0nsq.mjs +0 -15
- package/dist/chunks/cli-1.1.16-5hfex73v.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5vc6gf8n.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5wsywzcq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-65skb0g1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-67hp7vy9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-67yh08z2.mjs +0 -2
- package/dist/chunks/cli-1.1.16-69ma6qdv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-6fekr49f.mjs +0 -2
- package/dist/chunks/cli-1.1.16-6ptafg83.mjs +0 -59
- package/dist/chunks/cli-1.1.16-72wxrwg0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7aatqp3z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7c9cj19v.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7j9fntrz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7k62y2m1.mjs +0 -45
- package/dist/chunks/cli-1.1.16-7k7w1py7.mjs +0 -39
- package/dist/chunks/cli-1.1.16-7xaxs3ra.mjs +0 -18
- package/dist/chunks/cli-1.1.16-7z989ymx.mjs +0 -24
- package/dist/chunks/cli-1.1.16-892pqd2m.mjs +0 -3
- package/dist/chunks/cli-1.1.16-8azzqa5w.mjs +0 -2
- package/dist/chunks/cli-1.1.16-8brzp1nw.mjs +0 -6
- package/dist/chunks/cli-1.1.16-8efk3qjx.mjs +0 -2
- package/dist/chunks/cli-1.1.16-8pms22dq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-90p1j6wj.mjs +0 -3
- package/dist/chunks/cli-1.1.16-9bvj95e0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9gc3v32k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9mjvq93j.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9vaffwrt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9wfv4nx7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9zybbj79.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a09ca16c.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a2heems6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a6z5s072.mjs +0 -58
- package/dist/chunks/cli-1.1.16-aae4w645.mjs +0 -42
- package/dist/chunks/cli-1.1.16-acbajet0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-amvj9fsw.mjs +0 -3
- package/dist/chunks/cli-1.1.16-b06spwrg.mjs +0 -21
- package/dist/chunks/cli-1.1.16-b7t8n05k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-b80x5mp6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c6ydw1c8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c839tmen.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c9b05x0s.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cc5chgna.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cddsh2r4.mjs +0 -25
- package/dist/chunks/cli-1.1.16-cmfztzmq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cmw3ar20.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cnwnk7gb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cs3aeka5.mjs +0 -12
- package/dist/chunks/cli-1.1.16-d6tf8dzn.mjs +0 -20
- package/dist/chunks/cli-1.1.16-df44y8yq.mjs +0 -3
- package/dist/chunks/cli-1.1.16-dfr9axye.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dh0eqfrb.mjs +0 -25
- package/dist/chunks/cli-1.1.16-dn98cknd.mjs +0 -6
- package/dist/chunks/cli-1.1.16-dqwre8s7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dqxwanh1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dtwt84pe.mjs +0 -6
- package/dist/chunks/cli-1.1.16-dtyn1qwz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dxyq8q3t.mjs +0 -18
- package/dist/chunks/cli-1.1.16-e0fmjnmt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-e15bgq0q.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eabt3s19.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eatavqvn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eg2wh4gb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-egxjzfe2.mjs +0 -34
- package/dist/chunks/cli-1.1.16-ejy0gvv1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-f3tex0kv.mjs +0 -24
- package/dist/chunks/cli-1.1.16-f6arq2qw.mjs +0 -3
- package/dist/chunks/cli-1.1.16-f9d79a6c.mjs +0 -2
- package/dist/chunks/cli-1.1.16-fd7yx131.mjs +0 -2
- package/dist/chunks/cli-1.1.16-g0z56bnb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-g2m8cf2k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gqgat9ps.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gtw5ckd8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gyw71nnw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gze584gt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-h1rfrt5t.mjs +0 -1
- package/dist/chunks/cli-1.1.16-haqxs2zy.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hbzd5k64.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hd541yqt.mjs +0 -5
- package/dist/chunks/cli-1.1.16-hf9kpgyk.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hq7j37g9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-htk59n0r.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hwr77b8n.mjs +0 -5469
- package/dist/chunks/cli-1.1.16-hyxvna5x.mjs +0 -2
- package/dist/chunks/cli-1.1.16-j1hg5tkr.mjs +0 -3
- package/dist/chunks/cli-1.1.16-jcye29qq.mjs +0 -202
- package/dist/chunks/cli-1.1.16-k7hg3739.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kf5fv5t0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kndxajhc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kpxhnxpz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kxckvss5.mjs +0 -4
- package/dist/chunks/cli-1.1.16-kz0jkcdc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-m0b6tw88.mjs +0 -3
- package/dist/chunks/cli-1.1.16-m68wgnx0.mjs +0 -50
- package/dist/chunks/cli-1.1.16-manqzza5.mjs +0 -2
- package/dist/chunks/cli-1.1.16-mbr5p7h4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-n37yee4e.mjs +0 -5
- package/dist/chunks/cli-1.1.16-n9r7jwvf.mjs +0 -4
- package/dist/chunks/cli-1.1.16-nbxzev2y.mjs +0 -3
- package/dist/chunks/cli-1.1.16-nh0pt7e0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-njacmwr1.mjs +0 -4
- package/dist/chunks/cli-1.1.16-p0fj6fyd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-pdga6t1k.mjs +0 -133
- package/dist/chunks/cli-1.1.16-pj3sbyjh.mjs +0 -2
- package/dist/chunks/cli-1.1.16-pzq1a8yw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-q827fp1q.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qh481y6y.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qwgc24yv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qy3897dn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qyhfqd1t.mjs +0 -4
- package/dist/chunks/cli-1.1.16-r0tgqw2k.mjs +0 -4
- package/dist/chunks/cli-1.1.16-r102pkgg.mjs +0 -3
- package/dist/chunks/cli-1.1.16-r2q5qzd6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-r3n44d17.mjs +0 -2
- package/dist/chunks/cli-1.1.16-r41v96xz.mjs +0 -6
- package/dist/chunks/cli-1.1.16-rb7paxmn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-rmn7pfkz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-rvyqa9q1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-s404wy1x.mjs +0 -6
- package/dist/chunks/cli-1.1.16-s73aeg9m.mjs +0 -3
- package/dist/chunks/cli-1.1.16-sbck6gp1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-sk0nvcb8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-sk5cfvaa.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t0vza3m9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t3hq60ht.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t52j6pb6.mjs +0 -6
- package/dist/chunks/cli-1.1.16-t7jxtkz8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-the4daty.mjs +0 -17
- package/dist/chunks/cli-1.1.16-tjqwb7e1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-tjzxdkkt.mjs +0 -17
- package/dist/chunks/cli-1.1.16-tpxwx276.mjs +0 -2
- package/dist/chunks/cli-1.1.16-tv4kjnwq.mjs +0 -24
- package/dist/chunks/cli-1.1.16-tv97myza.mjs +0 -7
- package/dist/chunks/cli-1.1.16-v2e4pd3g.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vchwnr3f.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vf5x3nc4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vhwypfn6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vkc2wbwd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vngrsrs8.mjs +0 -3
- package/dist/chunks/cli-1.1.16-vq6g4ncg.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vra6hr5d.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vzv60xz8.mjs +0 -4
- package/dist/chunks/cli-1.1.16-w4zy236d.mjs +0 -2
- package/dist/chunks/cli-1.1.16-w5ns6t4b.mjs +0 -2
- package/dist/chunks/cli-1.1.16-way1d0g7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wbzh2wm5.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wpgdph2x.mjs +0 -7
- package/dist/chunks/cli-1.1.16-wv6e57r1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wxyxm2zp.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wysnfmek.mjs +0 -4
- package/dist/chunks/cli-1.1.16-wzzrc1xq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x0gywt7y.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x1r7521q.mjs +0 -133
- package/dist/chunks/cli-1.1.16-x4k8bzvc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x9m0y8t1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xaye0g9z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xe8wmqtk.mjs +0 -15
- package/dist/chunks/cli-1.1.16-xfke0ngj.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xqk1znpb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-y11gejtr.mjs +0 -9
- package/dist/chunks/cli-1.1.16-y1vrwcq4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-y4qp7bb2.mjs +0 -2
- package/dist/chunks/cli-1.1.16-ynvgphfk.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yqaq6eek.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yv8wazsp.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yymrc4dd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yzrxqdz1.mjs +0 -4
- package/dist/chunks/cli-1.1.16-z56ew2eh.mjs +0 -66
- package/dist/chunks/cli-1.1.16-z93174n6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zedxs5mz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zgwt3v22.mjs +0 -2
- package/dist/chunks/cli-1.1.16-ztv6fvbq.mjs +0 -4
- package/dist/chunks/cli-1.1.16-zx2pqyak.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zy1hy3m7.mjs +0 -3
- package/dist/chunks/cli-1.1.16-zzc307e7.mjs +0 -2
- package/dist/chunks/client-1.1.16-mxfnn25v.mjs +0 -1
- package/dist/chunks/color-1.1.16-kxb5k02m.mjs +0 -1
- package/dist/chunks/compact-1.1.16-zn3r524w.mjs +0 -3
- package/dist/chunks/config-1.1.16-866900pg.mjs +0 -1
- package/dist/chunks/config-1.1.16-pnqk3e4x.mjs +0 -1
- package/dist/chunks/constants-1.1.16-y8q2q4nx.mjs +0 -1
- package/dist/chunks/context-1.1.16-g23rxjdc.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.16-cccdk7gt.mjs +0 -1
- package/dist/chunks/conversation-1.1.16-b3c8ysvx.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.16-n2gqvrz3.mjs +0 -1
- package/dist/chunks/copy-1.1.16-evtbz4pr.mjs +0 -9
- package/dist/chunks/cost-1.1.16-je2dhky8.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.16-7bjctayt.mjs +0 -1
- package/dist/chunks/createSession-1.1.16-q7ezgde2.mjs +0 -1
- package/dist/chunks/debug-1.1.16-rwekwqaz.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.16-drefjcq7.mjs +0 -1534
- package/dist/chunks/desktop-1.1.16-s5p2s8z1.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.16-0mj2v70d.mjs +0 -1
- package/dist/chunks/detection-1.1.16-a6g1ea8w.mjs +0 -1
- package/dist/chunks/diff-1.1.16-5c3cx6ex.mjs +0 -1
- package/dist/chunks/doctor-1.1.16-41p56y0f.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.16-w0td1z7t.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.16-fb3qxbjk.mjs +0 -1
- package/dist/chunks/effort-1.1.16-9gw3x1mz.mjs +0 -13
- package/dist/chunks/engine-1.1.16-35cg9rmx.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.16-1d34y7k2.mjs +0 -1
- package/dist/chunks/envUtils-1.1.16-4t6p0jjh.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.16-63yqca4b.mjs +0 -1
- package/dist/chunks/environments-1.1.16-zg1cebes.mjs +0 -1
- package/dist/chunks/errors-1.1.16-5ry90xtn.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.16-gctdwyey.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.16-ja5wfnqk.mjs +0 -1
- package/dist/chunks/exit-1.1.16-gp3attw5.mjs +0 -1
- package/dist/chunks/explorer-1.1.16-ksz2kh3r.mjs +0 -1
- package/dist/chunks/export-1.1.16-4q6eppsd.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.16-gtvkswnt.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.16-y936p9yp.mjs +0 -1
- package/dist/chunks/fast-1.1.16-9d3xqrpf.mjs +0 -1
- package/dist/chunks/feedback-1.1.16-3va6ar52.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.16-rzm5ms2c.mjs +0 -1
- package/dist/chunks/git-1.1.16-wxjpazsv.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.16-8db65cwz.mjs +0 -1
- package/dist/chunks/goal-1.1.16-n6zn5hv0.mjs +0 -4
- package/dist/chunks/growthbook-1.1.16-595crq4b.mjs +0 -1
- package/dist/chunks/headless-1.1.16-ngrfttd2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.16-xeq6wdmt.mjs +0 -6
- package/dist/chunks/help-1.1.16-cr6p1e9d.mjs +0 -1
- package/dist/chunks/hookChains-1.1.16-9h14zpb6.mjs +0 -3
- package/dist/chunks/hooks-1.1.16-1g8bmj2c.mjs +0 -79
- package/dist/chunks/hooks-1.1.16-n1gmh33c.mjs +0 -1
- package/dist/chunks/ide-1.1.16-9vtwyzje.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.16-xs3s51me.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.16-c6drgpf3.mjs +0 -1
- package/dist/chunks/index-1.1.16-18yhpv52.mjs +0 -23
- package/dist/chunks/index-1.1.16-2rsmxhr2.mjs +0 -30
- package/dist/chunks/index-1.1.16-2xc5zjwe.mjs +0 -5
- package/dist/chunks/index-1.1.16-3cscsx0v.mjs +0 -1
- package/dist/chunks/index-1.1.16-3vpat7c1.mjs +0 -9
- package/dist/chunks/index-1.1.16-3zhbr1qd.mjs +0 -1
- package/dist/chunks/index-1.1.16-54nbfa3c.mjs +0 -1
- package/dist/chunks/index-1.1.16-6f495kq6.mjs +0 -1
- package/dist/chunks/index-1.1.16-82gx3ah5.mjs +0 -1
- package/dist/chunks/index-1.1.16-ap17zed0.mjs +0 -1
- package/dist/chunks/index-1.1.16-b07w4tdb.mjs +0 -1
- package/dist/chunks/index-1.1.16-cca87zba.mjs +0 -9
- package/dist/chunks/index-1.1.16-dxjx9gq8.mjs +0 -1
- package/dist/chunks/index-1.1.16-ehk0dpk3.mjs +0 -1
- package/dist/chunks/index-1.1.16-g6p5h9x8.mjs +0 -1
- package/dist/chunks/index-1.1.16-hsmqsx4f.mjs +0 -2
- package/dist/chunks/index-1.1.16-n1gyvm02.mjs +0 -1
- package/dist/chunks/index-1.1.16-ppkq03k8.mjs +0 -1
- package/dist/chunks/index-1.1.16-qpdm2q81.mjs +0 -1
- package/dist/chunks/index-1.1.16-qww85f6n.mjs +0 -1
- package/dist/chunks/index-1.1.16-s5e31nps.mjs +0 -1
- package/dist/chunks/index-1.1.16-v1zrqah7.mjs +0 -2
- package/dist/chunks/index-1.1.16-vbj2a5jp.mjs +0 -1
- package/dist/chunks/init-1.1.16-6wdrdz2r.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.16-6bhkywe8.mjs +0 -1
- package/dist/chunks/ink-1.1.16-e7whmjxf.mjs +0 -1
- package/dist/chunks/insights-1.1.16-s2czmsxt.mjs +0 -870
- package/dist/chunks/install-1.1.16-hm3j0jqe.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.16-xmkdh35y.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.16-1a8z176x.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.16-5tqqjvsb.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.16-49sn5m39.mjs +0 -1
- package/dist/chunks/keybindings-1.1.16-c6n8k84r.mjs +0 -2
- package/dist/chunks/knowledge-1.1.16-08yzaswd.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.16-a0dks1p1.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.16-jbfc3ync.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.16-0pym4ad2.mjs +0 -1
- package/dist/chunks/log-1.1.16-yahqz556.mjs +0 -1
- package/dist/chunks/main-1.1.16-2egj6bns.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.16-tgd635vq.mjs +0 -1
- package/dist/chunks/mcp-1.1.16-fkx2awnj.mjs +0 -17
- package/dist/chunks/mcp-1.1.16-n7sgsh7q.mjs +0 -1
- package/dist/chunks/mcp-1.1.16-ry6g2t33.mjs +0 -4
- package/dist/chunks/mcpb-1.1.16-74c05aj3.mjs +0 -1
- package/dist/chunks/memory-1.1.16-6jbqggnn.mjs +0 -72
- package/dist/chunks/model-1.1.16-3bvzfbem.mjs +0 -2
- package/dist/chunks/model-1.1.16-sjpwhja7.mjs +0 -1
- package/dist/chunks/node-1.1.16-gsj0fpm7.mjs +0 -12
- package/dist/chunks/oauth-1.1.16-bt9x98w7.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.16-8gems3mz.mjs +0 -14
- package/dist/chunks/output-style-1.1.16-embrry9v.mjs +0 -1
- package/dist/chunks/package-KQCMZM5L-1.1.16-d3m1d21p.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.16-zffe39j3.mjs +0 -1
- package/dist/chunks/parser-1.1.16-3ps9dtdr.mjs +0 -1
- package/dist/chunks/passes-1.1.16-n0a3pvdf.mjs +0 -1
- package/dist/chunks/permissions-1.1.16-jk4pmrmf.mjs +0 -3
- package/dist/chunks/permissions-1.1.16-wnz2vr3h.mjs +0 -1
- package/dist/chunks/plan-1.1.16-rtkh7eh3.mjs +0 -1
- package/dist/chunks/plist-1.1.16-t71wt7sc.mjs +0 -1
- package/dist/chunks/plugin-1.1.16-t9jaj1gv.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.16-c6cf7tmk.mjs +0 -1
- package/dist/chunks/plugins-1.1.16-73hwgvfk.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.16-nthzxbp9.mjs +0 -2
- package/dist/chunks/print-1.1.16-armgf1aq.mjs +0 -57
- package/dist/chunks/process-1.1.16-3ct2vh70.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.16-89y7gsbx.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.16-1kjtbhx2.mjs +0 -9
- package/dist/chunks/prompt-1.1.16-0386v4at.mjs +0 -1
- package/dist/chunks/prompt-1.1.16-k5y0dpf7.mjs +0 -1
- package/dist/chunks/prompts-1.1.16-xsnbw92m.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.16-yx039y6v.mjs +0 -13
- package/dist/chunks/provider-1.1.16-m0kk3yhs.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.16-2v2pwv6d.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.16-282tqjjx.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.16-avgds6pk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.16-mzwjj9v6.mjs +0 -26
- package/dist/chunks/registry-1.1.16-n34j5qfk.mjs +0 -1
- package/dist/chunks/release-notes-1.1.16-8q4sx928.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.16-7znfn6r1.mjs +0 -2
- package/dist/chunks/remote-env-1.1.16-pv7edzf2.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.16-jv7q72cp.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.16-mmf3btpt.mjs +0 -1
- package/dist/chunks/rename-1.1.16-m3xv2hvc.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.16-0vph2kjs.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.16-g5z9jade.mjs +0 -1
- package/dist/chunks/resume-1.1.16-40c9ahqr.mjs +0 -2
- package/dist/chunks/rewind-1.1.16-tpy93a43.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.16-3apcbhbp.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.16-ejyeyghc.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.16-xb7gb62s.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.16-pm4wkyc5.mjs +0 -1
- package/dist/chunks/session-1.1.16-vrf7bvfv.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.16-e919fb36.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.16-6sbxmck5.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.16-1pd52qxc.mjs +0 -1
- package/dist/chunks/settings-1.1.16-0twvg2yc.mjs +0 -1
- package/dist/chunks/setup-1.1.16-mhj053ej.mjs +0 -12
- package/dist/chunks/sinks-1.1.16-10wxx1a3.mjs +0 -1
- package/dist/chunks/skills-1.1.16-r7v633j2.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.16-mmrhkw7p.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.16-8tj1n7gt.mjs +0 -1
- package/dist/chunks/state-1.1.16-8zy52d2r.mjs +0 -1
- package/dist/chunks/stats-1.1.16-mrmhzc8j.mjs +0 -6
- package/dist/chunks/status-1.1.16-qpanvb67.mjs +0 -1
- package/dist/chunks/stickers-1.1.16-0d4zm7x4.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.16-3pz224am.mjs +0 -1
- package/dist/chunks/tasks-1.1.16-cv8bsqt6.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.16-yrkqrc58.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.16-xgaxxh5q.mjs +0 -1
- package/dist/chunks/teleport-1.1.16-rhtckzvp.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.16-fptwmgph.mjs +0 -1
- package/dist/chunks/theme-1.1.16-4tskjw6p.mjs +0 -1
- package/dist/chunks/thinkback-1.1.16-d1x5jsx0.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.16-54xyd092.mjs +0 -1
- package/dist/chunks/toolPool-1.1.16-ga5s9f1k.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.16-xw1xa379.mjs +0 -1
- package/dist/chunks/tools-1.1.16-h2yhp23r.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.16-nrdjhk2z.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.16-4yvp9q16.mjs +0 -69
- package/dist/chunks/types-1.1.16-47y90s0f.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.16-ej1e8hkt.mjs +0 -4
- package/dist/chunks/update-1.1.16-rtkcq95j.mjs +0 -72
- package/dist/chunks/upgrade-1.1.16-52bm5sf9.mjs +0 -1
- package/dist/chunks/upload-1.1.16-m2wyhzek.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.16-vwczyqak.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.16-qa109pxx.mjs +0 -1
- package/dist/chunks/usage-1.1.16-yqk04de2.mjs +0 -1
- package/dist/chunks/util-1.1.16-5f2kcd2a.mjs +0 -1
- package/dist/chunks/utils-1.1.16-pgvxvt37.mjs +0 -1
- package/dist/chunks/vim-1.1.16-9pd3j7qj.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.16-wdxk66eb.mjs +0 -13
- package/dist/chunks/watcher-1.1.16-cd9fad12.mjs +0 -1
- package/dist/chunks/wiki-1.1.16-8290ftnh.mjs +0 -132
- package/dist/chunks/workflows-1.1.16-f4k926bs.mjs +0 -1
- package/dist/chunks/worktree-1.1.16-4s4hp83q.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.16-je59whhd.mjs +0 -1
- package/dist/chunks/wrapper-1.1.16-dfsehczs.mjs +0 -7
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jta as $}from"./cli-1.1.17-6ee0nqae.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function A(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function N(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function m(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function q(z=1){return z===0?"":J(z,"A")}function D(z=1){return z===0?"":J(z,"B")}function M(z=1){return z===0?"":J(z,"C")}function W(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function b(z,Q){let V="";if(z<0)V+=W(-z);else if(z>0)V+=M(z);if(Q<0)V+=q(-Q);else if(Q>0)V+=D(Q);return V}function S(){return J("K")}function l(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=q(1);return Q+=k,Q}function o(z=1){return z===0?"":J(z,"S")}function y(z=1){return z===0?"":J(z,"T")}function a(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,k,v,F,K,E,c,t,n,i,r,e,s,zz,Jz;var X=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];k=J("G");v=J("H");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");c=J("r"),t=J("200~"),n=J("201~"),i=J("I"),r=J("O"),e=J(">1u"),s=J("<u"),zz=J(">4;2m"),Jz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+v}var P,Zz;var f=$(()=>{X();P=J(0,"f");Zz=T()});
|
|
2
|
+
export{d as M1,Y as N1,h as O1,j as P1,H as Q1,w as R1,L as S1,A as T1,N as U1,m as V1,J as W1,g as X1,I as Y1,_ as Z1,u as _1,R as $1,C as a2,v as b2,b as c2,S as d2,K as e2,l as f2,o as g2,y as h2,a as i2,c as j2,t as k2,n as l2,i as m2,r as n2,e as o2,s as p2,zz as q2,Jz as r2,X as s2,T as t2,Zz as u2,f as v2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ita as Q,jta as U}from"./cli-1.1.17-6ee0nqae.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
|
|
2
|
+
export{K as Ssa,w as Tsa,L as Usa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{afa as P,vfa as y}from"./cli-1.1.17-pmner0m4.mjs";import{jta as U}from"./cli-1.1.17-6ee0nqae.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
|
|
2
|
+
export{G as jX,M as kX,N as lX,Y as mX,C as nX,_ as oX,R as pX,E as qX,I as rX,f as sX,k as tX,A as uX,h as vX,b as wX,u as xX,T as yX,p as zX,m as AX,e as BX,W as CX,a as DX,s as EX,r as FX,g as GX};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{FS as jJ,GS as $V,Xo as IJ,Zo as pJ,fj as cJ,gS as UJ,mL as DJ,nL as BJ,oL as lJ}from"./cli-1.1.17-tjtarhk9.mjs";import{L$ as mJ,O_ as p,P_ as fJ,U$ as qJ,Vga as G,Y$ as gJ,Yda as m,afa as YJ,bha as dJ,i$ as WJ,jea as uJ,n$ as l,vfa as hJ}from"./cli-1.1.17-pmner0m4.mjs";import{ija as U,kja as PJ}from"./cli-1.1.17-gbx2evhw.mjs";import{$ja as SJ,Yja as f}from"./cli-1.1.17-h68j8yr4.mjs";import{$ka as Q,Nka as VJ,Rka as bJ,cla as kJ}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as yJ,zla as JJ}from"./cli-1.1.17-w8ycz611.mjs";import{una as AJ,vna as zJ}from"./cli-1.1.17-d9y6k8vc.mjs";import{fta as wJ,jta as _J}from"./cli-1.1.17-6ee0nqae.mjs";class c{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],q=-1/0,{paths:I,lowerPaths:A,charBits:F,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((F[M]&$)!==$)continue;let B=Z?I[M]:A[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let N=1;N<Y;N++){if(E=B.indexOf(X[N],h+1),E===-1)continue J;y[N]=E;let K=E-h-1;if(K===0)u+=4;else C+=3+K*1;h=E}if(H.length===W&&_+u-C<=q)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let N=1;N<Y;N++)T+=HJ(S,y[N],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((N,K)=>N.fuzzScore-K.fuzzScore),q=H[0].fuzzScore}else if(T>q){let N=0,K=H.length;while(N<K){let d=N+K>>1;if(H[d].fuzzScore<T)N=d+1;else K=d}H.splice(N,0,{path:S,fuzzScore:T}),H.shift(),q=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!x)x=new c;return x}function vV(){x=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function FJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!x||L.length===0)return;let W=await KJ(J),Z=[...L,...$J,...XJ,...J,...W],V=FJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await x.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=xJ.default(),_=!1,H=X.flatMap((A)=>Y.map((F)=>O.join(A,F))),q=await Promise.all(H.map((A)=>V.readFile(A,{encoding:"utf8"}).catch(()=>null)));for(let[A,F]of q.entries()){if(F===null)continue;$.add(F),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[A]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await p(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
|
|
2
|
+
`).filter(Boolean),H=OJ(_,V,Y),q=await EJ(V,Y);if(q){let A=H.length;H=q.filter(H),Q(`[FileIndex] applied ignore patterns: ${A} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let A=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],F=R;k=p(l(),A,{timeout:1e4,cwd:V}).then(async(j)=>{if(F!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
|
|
3
|
+
`).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function KJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],q=await KJ(H);XJ=q;let I=[...q,...H],A=FJ(I);if(A!==r)await W.loadFromFileListAsync(I).done,r=A,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function NJ(){if(v)return;let J=sJ();if(x){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return NJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;NJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=qJ(Y);let $=x?VV(x,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var xJ,x=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();pJ();uJ();zJ();xJ=wJ(cJ(),1);ZJ=AJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
|
|
4
|
+
export{c as li,MJ as mi,jV as ni,vV as oi,RV as pi,GV as qi,NJ as ri,CV as si,LV as ti,ZV as ui};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jta as s}from"./cli-1.1.17-6ee0nqae.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.1.17 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
+
export{c as p4,i as q4,r as r4};
|
|
@@ -0,0 +1,26 @@
|
|
|
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};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Og as p,Pg as Aq}from"./cli-1.1.17-b6178p3e.mjs";import{IT as bq,KS as l,MS as Rq,wT as a}from"./cli-1.1.17-tjtarhk9.mjs";import{$0 as j,CZ as Zq,G1 as yq,b1 as K,v1 as c}from"./cli-1.1.17-h899gx3g.mjs";import{B2 as e,w2 as t,y2 as L}from"./cli-1.1.17-tcxq0ah8.mjs";import{c4 as B,d4 as M,e4 as S}from"./cli-1.1.17-545688c0.mjs";import{f4 as Yq}from"./cli-1.1.17-40gj2tc0.mjs";import{E4 as $,F4 as Gq}from"./cli-1.1.17-2pvpn49s.mjs";import{N_ as y,P_ as o,Saa as s,vaa as m}from"./cli-1.1.17-pmner0m4.mjs";import{ija as w,kja as r}from"./cli-1.1.17-gbx2evhw.mjs";import{$ka as U,cla as n}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as Xq,zla as D}from"./cli-1.1.17-w8ycz611.mjs";import{xra as i,yna as T}from"./cli-1.1.17-d9y6k8vc.mjs";import{fta as I,jta as h}from"./cli-1.1.17-6ee0nqae.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return m("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await y("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await y("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await y("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>V.coerce(W)!==null).sort((W,P)=>{let A=V.coerce(W),R=V.coerce(P);return A.compare(R)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function v(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=V.coerce(q);if(!z||!L(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(U(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await y("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await y("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await y("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await y("cmd",["/c","start","",H]);return z===0}return!1}async function k(){let H=T();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var V,Hq="1.1.2396";var x=h(()=>{i();r();n();o();s();e();V=I(t(),1)});function Vq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function kq(H){let q=d.c(20),{onDone:z}=H,[Q,Y]=G.useState("checking"),[W,P]=G.useState(null),[A,R]=G.useState(""),b;if(q[0]!==W||q[1]!==z||q[2]!==Q)b=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")$(Vq()).catch(Kq),z(`Starting download. Re-run /desktop once you’ve installed the app.
|
|
2
|
+
Learn more at ${u}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${u}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=b;else b=q[3];c(b);let O,E;if(q[4]!==z)O=()=>{(async function(){Y("checking");let X=await v();if(X.status==="not-installed"){R("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){R(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await a(),Y("opening");let f=await k();if(!f.success){P(f.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Bq,500,z)})().catch((Z)=>{P(D(Z)),Y("error")})},E=[z],q[4]=z,q[5]=O,q[6]=E;else O=q[5],E=q[6];if(G.useEffect(O,E),Q==="error"){let J;if(q[7]!==W)J=M(K,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=B(K,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=M(j,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==A)J=B(K,{children:A}),q[12]=A,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=B(K,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=M(j,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let N=C[Q],F;if(q[18]!==N)F=B(p,{message:N}),q[18]=N,q[19]=F;else F=q[19];return F}async function Bq(H){H("Session transferred to Claude Desktop",{display:"system"}),await l(0,"other")}function Kq(){}var d,G,u="https://clau.de/desktop";var Pq=h(()=>{yq();Gq();x();Xq();Rq();bq();Aq();S();d=I(Zq(),1),G=I(Yq(),1)});
|
|
3
|
+
export{kq as Mg,Pq as Ng};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{Se as kZ,Ye as XX}from"./cli-1.1.17-xmwmqrg5.mjs";import{af as YZ,bf as SQ}from"./cli-1.1.17-t059h154.mjs";import{$n as VQ,$x as FQ,AB as ZX,AG as g0,BG as QX,Ck as d0,Cw as HQ,Cy as KZ,Dk as mJ,Dy as iQ,EI as mZ,Fl as GQ,Gk as cZ,HI as kJ,Hk as tQ,Hl as MX,II as JZ,Is as aZ,Iw as yX,JI as OJ,KI as NJ,LI as ZZ,Ls as RX,MI as QZ,Mk as r0,Ms as TJ,NI as XZ,NK as $0,Nn as PJ,Ns as fQ,Ok as VZ,On as DQ,PI as m0,Pk as LJ,QI as _0,QK as RZ,Qq as MZ,RA as R0,RI as UJ,SA as i0,SB as IX,TA as qJ,TB as DX,Tq as lQ,Tx as NQ,UA as BX,UR as lZ,Us as L0,Ux as bX,ZR as iZ,_x as zJ,ao as EX,bo as l,by as AX,bz as HZ,co as A0,ct as hQ,cz as rQ,dS as fZ,fo as Z0,fz as a0,gI as NZ,go as B0,gz as yZ,hI as FZ,ht as c0,iI as s0,jk as WZ,jo as n,kI as MJ,ko as I0,kt as vQ,nF as PQ,qF as vX,uG as OQ,wt as WQ,xG as SX,yE as RQ,zB as pZ,zE as hX,zt as CX}from"./cli-1.1.17-tjtarhk9.mjs";import{BY as G0,CY as S0,mY as QJ,nY as nZ}from"./cli-1.1.17-yexr9jg1.mjs";import{$0 as y,CZ as F0,G1 as q0,LZ as l0,b1 as W,f1 as JJ,p1 as wZ}from"./cli-1.1.17-h899gx3g.mjs";import{r3 as vJ,y3 as KX}from"./cli-1.1.17-6rx20w90.mjs";import{b4 as o,c4 as q,d4 as N,e4 as $}from"./cli-1.1.17-545688c0.mjs";import{f4 as o0}from"./cli-1.1.17-40gj2tc0.mjs";import{C4 as MQ,s4 as pJ}from"./cli-1.1.17-q7f9amqd.mjs";import{E4 as DJ,F4 as JX}from"./cli-1.1.17-2pvpn49s.mjs";import{J7 as HJ,K7 as wQ,T4 as tJ,U4 as IQ}from"./cli-1.1.17-cvtpmgr1.mjs";import{$ca as dZ,Vga as eJ,Zba as z0,_ba as w0,_ca as uZ,bda as eQ,bha as BQ,eca as p0,oda as Q0,paa as qQ,qaa as M0,saa as yJ,w_ as t0,wda as IJ,x_ as TZ}from"./cli-1.1.17-pmner0m4.mjs";import{jha as K0,mha as b0,oha as oZ,qha as e0,rha as x0,yha as v0}from"./cli-1.1.17-6yqbrqsj.mjs";import{$ha as sJ,lia as AQ}from"./cli-1.1.17-gz7gazer.mjs";import{$ja as _J,Yja as t}from"./cli-1.1.17-h68j8yr4.mjs";import{$ka as D0,Pka as $Z,Rka as FX,cla as cJ}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as aJ,zla as h0}from"./cli-1.1.17-w8ycz611.mjs";import{fta as J0,gta as RJ,ita as $J,jta as a}from"./cli-1.1.17-6ee0nqae.mjs";function u0(Q){return typeof Q==="object"&&Q!==null&&"type"in Q&&Q.type==="local_agent"}function GJ(Q){return{...Q,retain:!1,messages:void 0,diskLoaded:!1,evictAfter:TJ(Q.status)?Date.now()+LQ:void 0}}function VJ(Q,J){t("",{}),J((Z)=>{let X=Z.tasks[Q],z=Z.viewingAgentTaskId,Y=z!==void 0?Z.tasks[z]:void 0,V=z!==void 0&&z!==Q&&u0(Y)&&Y.retain,G=u0(X)&&(!X.retain||X.evictAfter!==void 0),F=Z.viewingAgentTaskId!==Q||Z.viewSelectionMode!=="viewing-agent";if(!G&&!F&&!V)return Z;let R=Z.tasks;if(V||G){if(R={...Z.tasks},V)R[z]=GJ(Y);if(G)R[Q]={...X,retain:!0,evictAfter:void 0}}return{...Z,viewingAgentTaskId:Q,viewSelectionMode:"viewing-agent",tasks:R}})}function WJ(Q){t("",{}),Q((J)=>{let Z=J.viewingAgentTaskId,X={...J,viewingAgentTaskId:void 0,viewSelectionMode:"none"};if(Z===void 0)return J.viewSelectionMode==="none"?J:X;let z=J.tasks[Z];if(!u0(z)||!z.retain)return X;return{...X,tasks:{...J.tasks,[Z]:GJ(z)}}})}function xX(Q,J){J((Z)=>{let X=Z.tasks[Q];if(!u0(X))return Z;if(X.status==="running")return X.abortController?.abort(),Z;if(X.evictAfter===0)return Z;let z=Z.viewingAgentTaskId===Q;return{...Z,tasks:{...Z.tasks,[Q]:{...GJ(X),evictAfter:0}},...z&&{viewingAgentTaskId:void 0,viewSelectionMode:"none"}}})}var LQ=30000;var uJ=a(()=>{_J();fQ()});class xJ{exitPlanCalls=[];results=new Map;rejectedIds=new Set;terminated=null;rescanAfterRejection=!1;everSeenPending=!1;get rejectCount(){return this.rejectedIds.size}get hasPendingPlan(){let Q=this.exitPlanCalls.findLast((J)=>!this.rejectedIds.has(J));return Q!==void 0&&!this.results.has(Q)}ingest(Q){for(let X of Q)if(X.type==="assistant")for(let z of X.message.content){if(z.type!=="tool_use")continue;let Y=z;if(Y.name===d0)this.exitPlanCalls.push(Y.id)}else if(X.type==="user"){let z=X.message.content;if(!Array.isArray(z))continue;for(let Y of z)if(Y.type==="tool_result")this.results.set(Y.tool_use_id,Y)}else if(X.type==="result"&&X.subtype!=="success")this.terminated={subtype:X.subtype};let J=Q.length>0||this.rescanAfterRejection;this.rescanAfterRejection=!1;let Z=null;if(J){for(let X=this.exitPlanCalls.length-1;X>=0;X--){let z=this.exitPlanCalls[X];if(this.rejectedIds.has(z))continue;let Y=this.results.get(z);if(!Y)Z={kind:"pending"};else if(Y.is_error===!0){let V=CQ(Y.content);Z=V!==null?{kind:"teleport",plan:V}:{kind:"rejected",id:z}}else Z={kind:"approved",plan:yQ(Y.content)};break}if(Z?.kind==="approved"||Z?.kind==="teleport")return Z}if(Z?.kind==="rejected")this.rejectedIds.add(Z.id),this.rescanAfterRejection=!0;if(this.terminated)return{kind:"terminated",subtype:this.terminated.subtype};if(Z?.kind==="rejected")return Z;if(Z?.kind==="pending")return this.everSeenPending=!0,Z;return{kind:"unchanged"}}}async function rJ(Q,J,Z,X){let z=Date.now()+J,Y=new xJ,V=null,G=0,F="running";while(Date.now()<z){if(X?.())throw new N0("poll stopped by caller","stopped",Y.rejectCount);let R,O;try{let f=await kJ(Q,V);R=f.newEvents,V=f.lastEventId,O=f.sessionStatus,G=0}catch(f){if(!pJ(f)||++G>=KQ)throw new N0(f instanceof Error?f.message:String(f),"network_or_unknown",Y.rejectCount,{cause:f});await HJ(dJ);continue}let P;try{P=Y.ingest(R)}catch(f){throw new N0(f instanceof Error?f.message:String(f),"extract_marker_missing",Y.rejectCount)}if(P.kind==="approved")return{plan:P.plan,rejectCount:Y.rejectCount,executionTarget:"remote"};if(P.kind==="teleport")return{plan:P.plan,rejectCount:Y.rejectCount,executionTarget:"local"};if(P.kind==="terminated")throw new N0(`remote session ended (${P.subtype}) before plan approval`,"terminated",Y.rejectCount);let U=(O==="idle"||O==="requires_action")&&R.length===0,w=Y.hasPendingPlan?"plan_ready":U?"needs_input":"running";if(w!==F)D0(`[ultraplan] phase ${F} → ${w}`),F=w,Z?.(w);await HJ(dJ)}throw new N0(Y.everSeenPending?`no approval after ${J/1000}s`:`ExitPlanMode never reached after ${J/1000}s (the remote container failed to start, or session ID mismatch?)`,Y.everSeenPending?"timeout_pending":"timeout_no_plan",Y.rejectCount)}function lJ(Q){return typeof Q==="string"?Q:Array.isArray(Q)?Q.map((J)=>("text"in J)?J.text:"").join(""):""}function CQ(Q){let J=lJ(Q),Z=`${EQ}
|
|
2
|
+
`,X=J.indexOf(Z);if(X===-1)return null;return J.slice(X+Z.length).trimEnd()}function yQ(Q){let J=lJ(Q),Z=[`## Approved Plan (edited by user):
|
|
3
|
+
`,`## Approved Plan:
|
|
4
|
+
`];for(let X of Z){let z=J.indexOf(X);if(z!==-1)return J.slice(z+X.length).trimEnd()}throw Error(`ExitPlanMode approved but tool_result has no "## Approved Plan:" marker — remote may have hit the empty-plan or isAgent branch. Content preview: ${J.slice(0,200)}`)}var dJ=3000,KQ=5,N0,EQ="__ULTRAPLAN_TELEPORT_LOCAL__";var iJ=a(()=>{mJ();cJ();wQ();MQ();NJ();N0=class N0 extends Error{reason;rejectCount;constructor(Q,J,Z,X){super(Q,X);this.reason=J;this.rejectCount=Z;this.name="UltraplanPollError"}}});var oJ={};$J(oJ,{default:()=>bQ});var bQ=`This is a planning prompt stub.
|
|
5
|
+
`;var nJ=()=>{};function gQ(){return sJ("tengu_ultraplan_model",tJ.opus46.firstParty)}function uQ(Q,J){let Z=[];if(J)Z.push("Here is a draft plan to refine:","",J,"");if(Z.push(TQ),Q)Z.push("",Q);return Z.join(`
|
|
6
|
+
`)}function dQ(Q,J,Z,X,z){let Y=Date.now(),V=!1;(async()=>{try{let{plan:G,rejectCount:F,executionTarget:R}=await rJ(J,jQ,(O)=>{if(O==="needs_input")t("",{});c0(Q,z,(P)=>{if(P.status!=="running")return P;let U=O==="running"?void 0:O;return P.ultraplanPhase===U?P:{...P,ultraplanPhase:U}})},()=>X().tasks?.[Q]?.status!=="running");if(t("",{duration_ms:Date.now()-Y,plan_length:G.length,reject_count:F,execution_target:R}),R==="remote"){if(X().tasks?.[Q]?.status!=="running")return;c0(Q,z,(P)=>P.status!=="running"?P:{...P,status:"completed",endTime:Date.now()}),z((P)=>P.ultraplanSessionUrl===Z?{...P,ultraplanSessionUrl:void 0}:P),L0({value:[`Ultraplan approved — executing in Claude Code on the web. Follow along at: ${Z}`,"","Results will land as a pull request when the remote session finishes. There is nothing to do here."].join(`
|
|
7
|
+
`),mode:"task-notification"})}else z((O)=>{let P=O.tasks?.[Q];if(!P||P.status!=="running")return O;return{...O,ultraplanPendingChoice:{plan:G,sessionId:J,taskId:Q}}})}catch(G){if(X().tasks?.[Q]?.status!=="running")return;V=!0,t("",{duration_ms:Date.now()-Y,reason:G instanceof N0?G.reason:"network_or_unknown",reject_count:G instanceof N0?G.rejectCount:void 0}),L0({value:`Ultraplan failed: ${h0(G)}
|
|
8
|
+
|
|
9
|
+
Session: ${Z}`,mode:"task-notification"}),OJ(J).catch((R)=>D0(`ultraplan archive failed: ${String(R)}`)),z((R)=>R.ultraplanSessionUrl===Z?{...R,ultraplanSessionUrl:void 0}:R)}finally{if(V)c0(Q,z,(G)=>G.status!=="running"?G:{...G,status:"failed",endTime:Date.now()})}})()}function cQ(Q){let J=Q?`${YZ} `:"";return`${z0} ultraplan
|
|
10
|
+
${J}Starting Claude Code on the web…`}function pQ(Q){return`${z0} ultraplan · Monitor progress in Claude Code on the web ${Q}
|
|
11
|
+
You can continue working — when the ${z0} fills, press ↓ to view results`}function qZ(Q){return Q?`ultraplan: already polling. Open ${Q} to check status, or wait for the plan to land here.`:"ultraplan: already launching. Please wait for the session to start."}async function fJ(Q,J,Z){await m0.kill(Q,Z),Z((z)=>z.ultraplanSessionUrl||z.ultraplanPendingChoice||z.ultraplanLaunching?{...z,ultraplanSessionUrl:void 0,ultraplanPendingChoice:void 0,ultraplanLaunching:void 0}:z);let X=PJ(J,process.env.SESSION_INGRESS_URL);L0({value:`Ultraplan stopped.
|
|
12
|
+
|
|
13
|
+
Session: ${X}`,mode:"task-notification"}),L0({value:"The user stopped the ultraplan session above. Do not respond to the stop notification — wait for their next message.",mode:"task-notification",isMeta:!0})}async function mQ(Q){let{blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,disconnectedBridge:V,onSessionReady:G}=Q,{ultraplanSessionUrl:F,ultraplanLaunching:R}=X();if(F||R)return t("",{reason:F?"already_polling":"already_launching"}),qZ(F);if(!J&&!Z)return['Usage: /ultraplan \\<prompt\\>, or include "ultraplan" anywhere',"in your prompt","","Advanced multi-agent plan mode with our most powerful model","(Opus). Runs in Claude Code on the web. When the plan is ready,","you can execute it in the web session or send it back here.","Terminal stays free while the remote plans.","Requires /login.","",`Terms: ${zZ}`].join(`
|
|
14
|
+
`);return z((O)=>O.ultraplanLaunching?O:{...O,ultraplanLaunching:!0}),kQ({blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,onSessionReady:G}),cQ(V)}async function kQ(Q){let{blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,onSessionReady:V}=Q,G;try{let F=gQ(),R=await ZZ();if(!R.eligible){t("",{reason:"precondition",precondition_errors:R.errors.map((C)=>C.type).join(",")});let L=R.errors.map(QZ).join(`
|
|
15
|
+
`);L0({value:`ultraplan: cannot launch remote session —
|
|
16
|
+
${L}`,mode:"task-notification"});return}let O=uQ(J,Z),P,U=await JZ({initialMessage:O,description:J||"Refine local plan",model:F,permissionMode:"plan",ultraplan:!0,signal:Y,useDefaultEnvironment:!0,onBundleFail:(L)=>{P=L}});if(!U){t("",{reason:P?"bundle_fail":"teleport_null"}),L0({value:`ultraplan: session creation failed${P?` — ${P}`:""}. See --debug for details.`,mode:"task-notification"});return}G=U.id;let w=PJ(U.id,process.env.SESSION_INGRESS_URL);z((L)=>({...L,ultraplanSessionUrl:w,ultraplanLaunching:void 0})),V?.(pQ(w)),t("",{has_seed_plan:Boolean(Z),model:F});let{taskId:f}=XZ({remoteTaskType:"ultraplan",session:{id:U.id,title:J||"Ultraplan"},command:J,context:{abortController:new AbortController,getAppState:X,setAppState:z},isUltraplan:!0});dQ(f,U.id,w,X,z)}catch(F){if(eJ(F),t("",{reason:"unexpected_error"}),L0({value:`ultraplan: unexpected error — ${h0(F)}`,mode:"task-notification"}),G)OJ(G).catch((R)=>D0("ultraplan: failed to archive orphaned session",R)),z((R)=>R.ultraplanSessionUrl?{...R,ultraplanSessionUrl:void 0}:R)}finally{z((F)=>F.ultraplanLaunching?{...F,ultraplanLaunching:void 0}:F)}}var jQ=1800000,zZ="https://code.claude.com/docs/en/claude-code-on-the-web",FJ,_Q,TQ,xQ=async(Q,J,Z)=>{let X=Z.trim();if(!X){let V=await mQ({blurb:X,getAppState:J.getAppState,setAppState:J.setAppState,signal:J.abortController.signal});return Q(V,{display:"system"}),null}let{ultraplanSessionUrl:z,ultraplanLaunching:Y}=J.getAppState();if(z||Y)return t("",{reason:z?"already_polling":"already_launching"}),Q(qZ(z),{display:"system"}),null;return J.setAppState((V)=>({...V,ultraplanLaunchPending:{blurb:X}})),Q(void 0,{display:"skip"}),null},NY;var GZ=a(()=>{SQ();p0();DQ();AQ();_J();UJ();cJ();aJ();BQ();hQ();IQ();vQ();NJ();iJ();FJ=(nJ(),RJ(oJ)),_Q=(typeof FJ==="string"?FJ:FJ.default).trimEnd(),TQ=_Q;NY={type:"local-jsx",name:"ultraplan",description:`~10–30 min · Claude Code on the web drafts an advanced plan you can edit and approve. See ${zZ}`,argumentHint:"<prompt>",isEnabled:()=>!1,load:()=>Promise.resolve({call:xQ})}});function k0(Q,J,Z){let X=VZ(J,Q.toolName);if(!X)return Q.toolName;try{let z=X.inputSchema.safeParse(Q.input),Y=z.success?z.data:{},V=X.userFacingName(Y);if(!V)return Q.toolName;let G=X.renderToolUseMessage(Y,{theme:Z,verbose:!1});if(G)return N(W,{children:[V,"(",G,")"]});return V}catch{return Q.toolName}}var wJ=a(()=>{q0();LJ();$()});function OZ(Q){let J=PZ.c(54),{agent:Z,onDone:X,onKillAgent:z,onBack:Y}=Q,[V]=l0(),G;if(J[0]===Symbol.for("react.memo_cache_sentinel"))G=$0(r0()),J[0]=G;else G=J[0];let F=G,R=R0(Z.startTime,Z.status==="running",1000,Z.totalPausedMs??0),O;if(J[1]!==X)O={"confirm:yes":X},J[1]=X,J[2]=O;else O=J[2];let P;if(J[3]===Symbol.for("react.memo_cache_sentinel"))P={context:"Confirmation"},J[3]=P;else P=J[3];G0(O,P);let U;if(J[4]!==Z.status||J[5]!==Y||J[6]!==X||J[7]!==z)U=(S)=>{if(S.key===" ")S.preventDefault(),X();else if(S.key==="left"&&Y)S.preventDefault(),Y();else if(S.key==="x"&&Z.status==="running"&&z)S.preventDefault(),z()},J[4]=Z.status,J[5]=Y,J[6]=X,J[7]=z,J[8]=U;else U=J[8];let w=U,f;if(J[9]!==Z.prompt)f=WZ(Z.prompt,"plan"),J[9]=Z.prompt,J[10]=f;else f=J[10];let L=f,C=Z.prompt.length>300?Z.prompt.substring(0,297)+"…":Z.prompt,E=Z.result?.totalTokens??Z.progress?.tokenCount,A=Z.result?.totalToolUseCount??Z.progress?.toolUseCount,h=Z.selectedAgent?.agentType??"agent",D=Z.description||"Async agent",I;if(J[11]!==h||J[12]!==D)I=N(W,{children:[h," ›"," ",D]}),J[11]=h,J[12]=D,J[13]=I;else I=J[13];let K=I,B;if(J[14]!==Z.status)B=Z.status!=="running"&&N(W,{color:FZ(Z.status),children:[NZ(Z.status)," ",Z.status==="completed"?"Completed":Z.status==="failed"?"Failed":"Stopped"," · "]}),J[14]=Z.status,J[15]=B;else B=J[15];let p;if(J[16]!==E)p=E!==void 0&&E>0&&N(o,{children:[" · ",x0(E)," tokens"]}),J[16]=E,J[17]=p;else p=J[17];let d;if(J[18]!==A)d=A!==void 0&&A>0&&N(o,{children:[" ","· ",A," ",A===1?"tool":"tools"]}),J[18]=A,J[19]=d;else d=J[19];let j;if(J[20]!==R||J[21]!==p||J[22]!==d)j=N(W,{dimColor:!0,children:[R,p,d]}),J[20]=R,J[21]=p,J[22]=d,J[23]=j;else j=J[23];let x;if(J[24]!==j||J[25]!==B)x=N(W,{children:[B,j]}),J[24]=j,J[25]=B,J[26]=x;else x=J[26];let c=x,v;if(J[27]!==Z.status||J[28]!==Y||J[29]!==z)v=(S)=>S.pending?N(W,{children:["Press ",S.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"})]}),J[27]=Z.status,J[28]=Y,J[29]=z,J[30]=v;else v=J[30];let b;if(J[31]!==Z.progress||J[32]!==Z.status||J[33]!==V)b=Z.status==="running"&&Z.progress?.recentActivities&&Z.progress.recentActivities.length>0&&N(y,{flexDirection:"column",children:[q(W,{bold:!0,dimColor:!0,children:"Progress"}),Z.progress.recentActivities.map((S,k)=>N(W,{dimColor:k<Z.progress.recentActivities.length-1,wrap:"truncate-end",children:[k===Z.progress.recentActivities.length-1?"› ":" ",k0(S,F,V)]},k))]}),J[31]=Z.progress,J[32]=Z.status,J[33]=V,J[34]=b;else b=J[34];let m;if(J[35]!==C||J[36]!==L)m=L?q(y,{marginTop:1,children:q(HZ,{addMargin:!1,planContent:L})}):N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,dimColor:!0,children:"Prompt"}),q(W,{wrap:"wrap",children:C})]}),J[35]=C,J[36]=L,J[37]=m;else m=J[37];let T;if(J[38]!==Z.error||J[39]!==Z.status)T=Z.status==="failed"&&Z.error&&N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,color:"error",children:"Error"}),q(W,{color:"error",wrap:"wrap",children:Z.error})]}),J[38]=Z.error,J[39]=Z.status,J[40]=T;else T=J[40];let _;if(J[41]!==b||J[42]!==m||J[43]!==T)_=N(y,{flexDirection:"column",children:[b,m,T]}),J[41]=b,J[42]=m,J[43]=T,J[44]=_;else _=J[44];let g;if(J[45]!==X||J[46]!==c||J[47]!==v||J[48]!==_||J[49]!==K)g=q(n,{title:K,subtitle:c,onCancel:X,color:"background",inputGuide:v,children:_}),J[45]=X,J[46]=c,J[47]=v,J[48]=_,J[49]=K,J[50]=g;else g=J[50];let u;if(J[51]!==w||J[52]!==g)u=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:w,children:g}),J[51]=w,J[52]=g,J[53]=u;else u=J[53];return u}var PZ;var UZ=a(()=>{i0();q0();S0();LJ();RZ();v0();fZ();B0();I0();A0();rQ();wJ();MJ();$();PZ=J0(F0(),1)});function bJ(Q,J,Z,X){if(!Q)return`${J} found · ${Z} verified`;if(Q==="synthesizing"){let z=[`${Z} verified`];if(X>0)z.push(`${X} refuted`);return z.push("deduping"),z.join(" · ")}if(Q==="verifying"){let z=[`${J} found`,`${Z} verified`];if(X>0)z.push(`${X} refuted`);return z.join(" · ")}return J>0?`${J} found`:"finding"}function KJ(Q){let J=n0.c(5),{text:Z,phase:X}=Q,z=X===void 0?0:X,Y;if(J[0]!==Z)Y=[...Z],J[0]=Z,J[1]=Y;else Y=J[1];let V;if(J[2]!==z||J[3]!==Y)V=q(o,{children:Y.map((G,F)=>q(W,{color:MZ(F+z),children:G},F))}),J[2]=z,J[3]=Y,J[4]=V;else V=J[4];return V}function EJ(Q,J,Z){let X=CJ.useRef(Q),z=CJ.useRef(J);if(Z||Q<X.current)X.current=Q;else if(Q>X.current&&J!==z.current)X.current+=1,z.current=J;return X.current}function $Q(Q){let J=n0.c(15),{session:Z}=Q,z=KZ().prefersReducedMotion??!1,Y=Z.reviewProgress,V=Z.status==="running",[,G]=wZ(V&&!z?LZ:null),F=Y?.bugsFound??0,R=Y?.bugsVerified??0,O=Y?.bugsRefuted??0,P=z||!V,U=EJ(F,G,P),w=EJ(R,G,P),f=EJ(O,G,P),L=Math.floor(G/(LZ*3))%7;if(Z.status==="completed"){let B;if(J[0]===Symbol.for("react.memo_cache_sentinel"))B=N(o,{children:[N(W,{color:"background",children:[w0," "]}),q(KJ,{text:"ultrareview",phase:0}),q(W,{dimColor:!0,children:" ready · shift+↓ to view"})]}),J[0]=B;else B=J[0];return B}if(Z.status==="failed"){let B;if(J[1]===Symbol.for("react.memo_cache_sentinel"))B=N(o,{children:[N(W,{color:"background",children:[w0," "]}),q(KJ,{text:"ultrareview",phase:0}),N(W,{color:"error",dimColor:!0,children:[" · ","error"]})]}),J[1]=B;else B=J[1];return B}let C;if(J[2]!==U||J[3]!==Y||J[4]!==f||J[5]!==w)C=!Y?"setting up":bJ(Y.stage,U,w,f),J[2]=U,J[3]=Y,J[4]=f,J[5]=w,J[6]=C;else C=J[6];let E=C,A;if(J[7]===Symbol.for("react.memo_cache_sentinel"))A=N(W,{color:"background",children:[z0," "]}),J[7]=A;else A=J[7];let h=V?L:0,D;if(J[8]!==h)D=q(KJ,{text:"ultrareview",phase:h}),J[8]=h,J[9]=D;else D=J[9];let I;if(J[10]!==E)I=N(W,{dimColor:!0,children:[" · ",E]}),J[10]=E,J[11]=I;else I=J[11];let K;if(J[12]!==D||J[13]!==I)K=N(o,{children:[A,D,I]}),J[12]=D,J[13]=I,J[14]=K;else K=J[14];return K}function j0(Q){let J=n0.c(11),{session:Z}=Q;if(Z.isRemoteReview){let G;if(J[0]!==Z)G=q($Q,{session:Z}),J[0]=Z,J[1]=G;else G=J[1];return G}if(Z.status==="completed"){let G;if(J[2]===Symbol.for("react.memo_cache_sentinel"))G=q(W,{bold:!0,color:"success",dimColor:!0,children:"done"}),J[2]=G;else G=J[2];return G}if(Z.status==="failed"){let G;if(J[3]===Symbol.for("react.memo_cache_sentinel"))G=q(W,{bold:!0,color:"error",dimColor:!0,children:"error"}),J[3]=G;else G=J[3];return G}if(!Z.todoList.length){let G;if(J[4]!==Z.status)G=N(W,{dimColor:!0,children:[Z.status,"…"]}),J[4]=Z.status,J[5]=G;else G=J[5];return G}let X;if(J[6]!==Z.todoList)X=M0(Z.todoList,oQ),J[6]=Z.todoList,J[7]=X;else X=J[7];let z=X,Y=Z.todoList.length,V;if(J[8]!==z||J[9]!==Y)V=N(W,{dimColor:!0,children:[z,"/",Y]}),J[8]=z,J[9]=Y,J[10]=V;else V=J[10];return V}function oQ(Q){return Q.status==="completed"}var n0,CJ,LZ=80;var AJ=a(()=>{p0();iQ();q0();yJ();lQ();$();n0=J0(F0(),1),CJ=J0(o0(),1)});function P0(Q){let J=BJ.c(4),{status:Z,label:X,suffix:z}=Q,Y=X??Z,V=Z==="completed"?"success":Z==="failed"?"error":Z==="killed"?"warning":void 0,G;if(J[0]!==V||J[1]!==Y||J[2]!==z)G=N(W,{color:V,dimColor:!0,children:["(",Y,z,")"]}),J[0]=V,J[1]=Y,J[2]=z,J[3]=G;else G=J[3];return G}function EZ(Q){let J=BJ.c(4),{shell:Z}=Q;switch(Z.status){case"completed":{let X;if(J[0]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"completed",label:"done"}),J[0]=X;else X=J[0];return X}case"failed":{let X;if(J[1]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"failed",label:"error"}),J[1]=X;else X=J[1];return X}case"killed":{let X;if(J[2]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"killed",label:"stopped"}),J[2]=X;else X=J[2];return X}case"running":case"pending":{let X;if(J[3]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"running"}),J[3]=X;else X=J[3];return X}}}var BJ;var CZ=a(()=>{q0();$();BJ=J0(F0(),1)});function AZ(Q){let J=bZ.c(92),{task:Z,maxActivityWidth:X}=Q,z=X??40;switch(Z.type){case"local_bash":{let Y=Z.kind==="monitor"?Z.description:Z.command,V;if(J[0]!==z||J[1]!==Y)V=b0(Y,z,!0),J[0]=z,J[1]=Y,J[2]=V;else V=J[2];let G;if(J[3]!==Z)G=q(EZ,{shell:Z}),J[3]=Z,J[4]=G;else G=J[4];let F;if(J[5]!==V||J[6]!==G)F=N(W,{children:[V," ",G]}),J[5]=V,J[6]=G,J[7]=F;else F=J[7];return F}case"remote_agent":{if(Z.isRemoteReview){let U;if(J[8]!==Z)U=q(W,{children:q(j0,{session:Z})}),J[8]=Z,J[9]=U;else U=J[9];return U}let V=Z.status==="running"||Z.status==="pending"?z0:w0,G;if(J[10]!==V)G=N(W,{dimColor:!0,children:[V," "]}),J[10]=V,J[11]=G;else G=J[11];let F;if(J[12]!==z||J[13]!==Z.title)F=b0(Z.title,z,!0),J[12]=z,J[13]=Z.title,J[14]=F;else F=J[14];let R;if(J[15]===Symbol.for("react.memo_cache_sentinel"))R=q(W,{dimColor:!0,children:" · "}),J[15]=R;else R=J[15];let O;if(J[16]!==Z)O=q(j0,{session:Z}),J[16]=Z,J[17]=O;else O=J[17];let P;if(J[18]!==G||J[19]!==F||J[20]!==O)P=N(W,{children:[G,F,R,O]}),J[18]=G,J[19]=F,J[20]=O,J[21]=P;else P=J[21];return P}case"local_agent":{let Y;if(J[22]!==z||J[23]!==Z.description)Y=b0(Z.description,z,!0),J[22]=z,J[23]=Z.description,J[24]=Y;else Y=J[24];let V=Z.status==="completed"?"done":void 0,G=Z.status==="completed"&&!Z.notified?", unread":void 0,F;if(J[25]!==V||J[26]!==G||J[27]!==Z.status)F=q(P0,{status:Z.status,label:V,suffix:G}),J[25]=V,J[26]=G,J[27]=Z.status,J[28]=F;else F=J[28];let R;if(J[29]!==Y||J[30]!==F)R=N(W,{children:[Y," ",F]}),J[29]=Y,J[30]=F,J[31]=R;else R=J[31];return R}case"in_process_teammate":{let Y,V,G,F,R,O;if(J[32]!==z||J[33]!==Z){let w=s0(Z);V=W;let f;if(J[40]!==Z.identity.color)f=a0(Z.identity.color),J[40]=Z.identity.color,J[41]=f;else f=J[41];if(J[42]!==f||J[43]!==Z.identity.agentName)O=N(W,{color:f,children:["@",Z.identity.agentName]}),J[42]=f,J[43]=Z.identity.agentName,J[44]=O;else O=J[44];Y=W,G=!0,F=": ",R=b0(w,z,!0),J[32]=z,J[33]=Z,J[34]=Y,J[35]=V,J[36]=G,J[37]=F,J[38]=R,J[39]=O}else Y=J[34],V=J[35],G=J[36],F=J[37],R=J[38],O=J[39];let P;if(J[45]!==Y||J[46]!==G||J[47]!==F||J[48]!==R)P=N(Y,{dimColor:G,children:[F,R]}),J[45]=Y,J[46]=G,J[47]=F,J[48]=R,J[49]=P;else P=J[49];let U;if(J[50]!==V||J[51]!==O||J[52]!==P)U=N(V,{children:[O,P]}),J[50]=V,J[51]=O,J[52]=P,J[53]=U;else U=J[53];return U}case"local_workflow":{let Y=Z.workflowName??Z.summary??Z.description,V;if(J[54]!==z||J[55]!==Y)V=b0(Y,z,!0),J[54]=z,J[55]=Y,J[56]=V;else V=J[56];let G;if(J[57]!==Z.agentCount||J[58]!==Z.status)G=Z.status==="running"?`${Z.agentCount} ${Q0(Z.agentCount,"agent")}`:Z.status==="completed"?"done":void 0,J[57]=Z.agentCount,J[58]=Z.status,J[59]=G;else G=J[59];let F=Z.status==="completed"&&!Z.notified?", unread":void 0,R;if(J[60]!==G||J[61]!==F||J[62]!==Z.status)R=q(P0,{status:Z.status,label:G,suffix:F}),J[60]=G,J[61]=F,J[62]=Z.status,J[63]=R;else R=J[63];let O;if(J[64]!==V||J[65]!==R)O=N(W,{children:[V," ",R]}),J[64]=V,J[65]=R,J[66]=O;else O=J[66];return O}case"monitor_mcp":{let Y;if(J[67]!==z||J[68]!==Z.description)Y=b0(Z.description,z,!0),J[67]=z,J[68]=Z.description,J[69]=Y;else Y=J[69];let V=Z.status==="completed"?"done":void 0,G=Z.status==="completed"&&!Z.notified?", unread":void 0,F;if(J[70]!==V||J[71]!==G||J[72]!==Z.status)F=q(P0,{status:Z.status,label:V,suffix:G}),J[70]=V,J[71]=G,J[72]=Z.status,J[73]=F;else F=J[73];let R;if(J[74]!==Y||J[75]!==F)R=N(W,{children:[Y," ",F]}),J[74]=Y,J[75]=F,J[76]=R;else R=J[76];return R}case"dream":{let Y=Z.filesTouched.length,V;if(J[77]!==Y||J[78]!==Z.phase||J[79]!==Z.sessionsReviewing)V=Z.phase==="updating"&&Y>0?`${Y} ${Q0(Y,"file")}`:`${Z.sessionsReviewing} ${Q0(Z.sessionsReviewing,"session")}`,J[77]=Y,J[78]=Z.phase,J[79]=Z.sessionsReviewing,J[80]=V;else V=J[80];let G=V,F;if(J[81]!==G||J[82]!==Z.phase)F=N(W,{dimColor:!0,children:["· ",Z.phase," · ",G]}),J[81]=G,J[82]=Z.phase,J[83]=F;else F=J[83];let R=Z.status==="completed"?"done":void 0,O=Z.status==="completed"&&!Z.notified?", unread":void 0,P;if(J[84]!==R||J[85]!==O||J[86]!==Z.status)P=q(P0,{status:Z.status,label:R,suffix:O}),J[84]=R,J[85]=O,J[86]=Z.status,J[87]=P;else P=J[87];let U;if(J[88]!==F||J[89]!==P||J[90]!==Z.description)U=N(W,{children:[Z.description," ",F," ",P]}),J[88]=F,J[89]=P,J[90]=Z.description,J[91]=U;else U=J[91];return U}}}var bZ;var BZ=a(()=>{q0();v0();yZ();IJ();p0();AJ();CZ();MJ();$();bZ=J0(F0(),1)});function DZ(Q){let J=IZ.c(70),{task:Z,onDone:X,onBack:z,onKill:Y}=Q,V=R0(Z.startTime,Z.status==="running",1000,0),G;if(J[0]!==X)G={"confirm:yes":X},J[0]=X,J[1]=G;else G=J[1];let F;if(J[2]===Symbol.for("react.memo_cache_sentinel"))F={context:"Confirmation"},J[2]=F;else F=J[2];G0(G,F);let R;if(J[3]!==z||J[4]!==X||J[5]!==Y||J[6]!==Z.status)R=(b)=>{if(b.key===" ")b.preventDefault(),X();else if(b.key==="left"&&z)b.preventDefault(),z();else if(b.key==="x"&&Z.status==="running"&&Y)b.preventDefault(),Y()},J[3]=z,J[4]=X,J[5]=Y,J[6]=Z.status,J[7]=R;else R=J[7];let O=R,P,U,w,f,L,C,E,A,h,D,I,K,B,p,d,j;if(J[8]!==V||J[9]!==O||J[10]!==z||J[11]!==X||J[12]!==Y||J[13]!==Z.filesTouched.length||J[14]!==Z.sessionsReviewing||J[15]!==Z.status||J[16]!==Z.turns){let b=Z.turns.filter(sQ),m=b.slice(-nQ),T=b.length-m.length;w=y,E="column",A=0,h=!0,D=O,U=n,d="Memory consolidation";let _=Z.sessionsReviewing,g;if(J[33]!==Z.sessionsReviewing)g=Q0(Z.sessionsReviewing,"session"),J[33]=Z.sessionsReviewing,J[34]=g;else g=J[34];let u;if(J[35]!==Z.filesTouched.length)u=Z.filesTouched.length>0&&N(o,{children:[" ","· ",Z.filesTouched.length," ",Q0(Z.filesTouched.length,"file")," touched"]}),J[35]=Z.filesTouched.length,J[36]=u;else u=J[36];if(J[37]!==V||J[38]!==g||J[39]!==u||J[40]!==Z.sessionsReviewing)j=N(W,{dimColor:!0,children:[V," · reviewing ",_," ",g,u]}),J[37]=V,J[38]=g,J[39]=u,J[40]=Z.sessionsReviewing,J[41]=j;else j=J[41];if(f=X,L="background",J[42]!==z||J[43]!==Y||J[44]!==Z.status)C=(k)=>k.pending?N(W,{children:["Press ",k.keyName," again to exit"]}):N(Z0,{children:[z&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&Y&&q(l,{shortcut:"x",action:"stop"})]}),J[42]=z,J[43]=Y,J[44]=Z.status,J[45]=C;else C=J[45];P=y,I="column",K=1;let S;if(J[46]===Symbol.for("react.memo_cache_sentinel"))S=q(W,{bold:!0,children:"Status:"}),J[46]=S;else S=J[46];if(J[47]!==Z.status)B=N(W,{children:[S," ",Z.status==="running"?q(W,{color:"background",children:"running"}):Z.status==="completed"?q(W,{color:"success",children:Z.status}):q(W,{color:"error",children:Z.status})]}),J[47]=Z.status,J[48]=B;else B=J[48];p=m.length===0?q(W,{dimColor:!0,children:Z.status==="running"?"Starting…":"(no text output)"}):N(o,{children:[T>0&&N(W,{dimColor:!0,children:["(",T," earlier ",Q0(T,"turn"),")"]}),m.map(aQ)]}),J[8]=V,J[9]=O,J[10]=z,J[11]=X,J[12]=Y,J[13]=Z.filesTouched.length,J[14]=Z.sessionsReviewing,J[15]=Z.status,J[16]=Z.turns,J[17]=P,J[18]=U,J[19]=w,J[20]=f,J[21]=L,J[22]=C,J[23]=E,J[24]=A,J[25]=h,J[26]=D,J[27]=I,J[28]=K,J[29]=B,J[30]=p,J[31]=d,J[32]=j}else P=J[17],U=J[18],w=J[19],f=J[20],L=J[21],C=J[22],E=J[23],A=J[24],h=J[25],D=J[26],I=J[27],K=J[28],B=J[29],p=J[30],d=J[31],j=J[32];let x;if(J[49]!==P||J[50]!==I||J[51]!==K||J[52]!==B||J[53]!==p)x=N(P,{flexDirection:I,gap:K,children:[B,p]}),J[49]=P,J[50]=I,J[51]=K,J[52]=B,J[53]=p,J[54]=x;else x=J[54];let c;if(J[55]!==U||J[56]!==f||J[57]!==L||J[58]!==C||J[59]!==x||J[60]!==d||J[61]!==j)c=q(U,{title:d,subtitle:j,onCancel:f,color:L,inputGuide:C,children:x}),J[55]=U,J[56]=f,J[57]=L,J[58]=C,J[59]=x,J[60]=d,J[61]=j,J[62]=c;else c=J[62];let v;if(J[63]!==w||J[64]!==E||J[65]!==A||J[66]!==h||J[67]!==D||J[68]!==c)v=q(w,{flexDirection:E,tabIndex:A,autoFocus:h,onKeyDown:D,children:c}),J[63]=w,J[64]=E,J[65]=A,J[66]=h,J[67]=D,J[68]=c,J[69]=v;else v=J[69];return v}function aQ(Q,J){return N(y,{flexDirection:"column",children:[q(W,{wrap:"wrap",children:Q.text}),Q.toolUseCount>0&&N(W,{dimColor:!0,children:[" ","(",Q.toolUseCount," ",Q0(Q.toolUseCount,"tool"),")"]})]},J)}function sQ(Q){return Q.text!==""}var IZ,nQ=6;var hZ=a(()=>{i0();q0();S0();IJ();B0();I0();A0();$();IZ=J0(F0(),1)});function SZ(Q){let J=vZ.c(63),{teammate:Z,onDone:X,onKill:z,onBack:Y,onForeground:V}=Q,[G]=l0(),F;if(J[0]===Symbol.for("react.memo_cache_sentinel"))F=$0(r0()),J[0]=F;else F=J[0];let R=F,O=R0(Z.startTime,Z.status==="running",1000,Z.totalPausedMs??0),P;if(J[1]!==X)P={"confirm:yes":X},J[1]=X,J[2]=P;else P=J[2];let U;if(J[3]===Symbol.for("react.memo_cache_sentinel"))U={context:"Confirmation"},J[3]=U;else U=J[3];G0(P,U);let w;if(J[4]!==Y||J[5]!==X||J[6]!==V||J[7]!==z||J[8]!==Z.status)w=(M)=>{if(M.key===" ")M.preventDefault(),X();else if(M.key==="left"&&Y)M.preventDefault(),Y();else if(M.key==="x"&&Z.status==="running"&&z)M.preventDefault(),z();else if(M.key==="f"&&Z.status==="running"&&V)M.preventDefault(),V()},J[4]=Y,J[5]=X,J[6]=V,J[7]=z,J[8]=Z.status,J[9]=w;else w=J[9];let f=w,L;if(J[10]!==Z)L=s0(Z),J[10]=Z,J[11]=L;else L=J[11];let C=L,E=Z.result?.totalTokens??Z.progress?.tokenCount,A=Z.result?.totalToolUseCount??Z.progress?.toolUseCount,h;if(J[12]!==Z.prompt)h=K0(Z.prompt,300),J[12]=Z.prompt,J[13]=h;else h=J[13];let D=h,I;if(J[14]!==Z.identity.color)I=a0(Z.identity.color),J[14]=Z.identity.color,J[15]=I;else I=J[15];let K;if(J[16]!==I||J[17]!==Z.identity.agentName)K=N(W,{color:I,children:["@",Z.identity.agentName]}),J[16]=I,J[17]=Z.identity.agentName,J[18]=K;else K=J[18];let B;if(J[19]!==C)B=C&&N(W,{dimColor:!0,children:[" (",C,")"]}),J[19]=C,J[20]=B;else B=J[20];let p;if(J[21]!==K||J[22]!==B)p=N(W,{children:[K,B]}),J[21]=K,J[22]=B,J[23]=p;else p=J[23];let d=p,j;if(J[24]!==Z.status)j=Z.status!=="running"&&N(W,{color:Z.status==="completed"?"success":Z.status==="killed"?"warning":"error",children:[Z.status==="completed"?"Completed":Z.status==="failed"?"Failed":"Stopped"," · "]}),J[24]=Z.status,J[25]=j;else j=J[25];let x;if(J[26]!==E)x=E!==void 0&&E>0&&N(o,{children:[" · ",x0(E)," tokens"]}),J[26]=E,J[27]=x;else x=J[27];let c;if(J[28]!==A)c=A!==void 0&&A>0&&N(o,{children:[" ","· ",A," ",A===1?"tool":"tools"]}),J[28]=A,J[29]=c;else c=J[29];let v;if(J[30]!==O||J[31]!==x||J[32]!==c)v=N(W,{dimColor:!0,children:[O,x,c]}),J[30]=O,J[31]=x,J[32]=c,J[33]=v;else v=J[33];let b;if(J[34]!==j||J[35]!==v)b=N(W,{children:[j,v]}),J[34]=j,J[35]=v,J[36]=b;else b=J[36];let m=b,T;if(J[37]!==Y||J[38]!==V||J[39]!==z||J[40]!==Z.status)T=(M)=>M.pending?N(W,{children:["Press ",M.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"}),Z.status==="running"&&V&&q(l,{shortcut:"f",action:"foreground"})]}),J[37]=Y,J[38]=V,J[39]=z,J[40]=Z.status,J[41]=T;else T=J[41];let _;if(J[42]!==Z.progress||J[43]!==Z.status||J[44]!==G)_=Z.status==="running"&&Z.progress?.recentActivities&&Z.progress.recentActivities.length>0&&N(y,{flexDirection:"column",children:[q(W,{bold:!0,dimColor:!0,children:"Progress"}),Z.progress.recentActivities.map((M,r)=>N(W,{dimColor:r<Z.progress.recentActivities.length-1,wrap:"truncate-end",children:[r===Z.progress.recentActivities.length-1?"› ":" ",k0(M,R,G)]},r))]}),J[42]=Z.progress,J[43]=Z.status,J[44]=G,J[45]=_;else _=J[45];let g;if(J[46]===Symbol.for("react.memo_cache_sentinel"))g=q(W,{bold:!0,dimColor:!0,children:"Prompt"}),J[46]=g;else g=J[46];let u;if(J[47]!==D)u=N(y,{flexDirection:"column",marginTop:1,children:[g,q(W,{wrap:"wrap",children:D})]}),J[47]=D,J[48]=u;else u=J[48];let S;if(J[49]!==Z.error||J[50]!==Z.status)S=Z.status==="failed"&&Z.error&&N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,color:"error",children:"Error"}),q(W,{color:"error",wrap:"wrap",children:Z.error})]}),J[49]=Z.error,J[50]=Z.status,J[51]=S;else S=J[51];let k;if(J[52]!==X||J[53]!==m||J[54]!==T||J[55]!==_||J[56]!==u||J[57]!==S||J[58]!==d)k=N(n,{title:d,subtitle:m,onCancel:X,color:"background",inputGuide:T,children:[_,u,S]}),J[52]=X,J[53]=m,J[54]=T,J[55]=_,J[56]=u,J[57]=S,J[58]=d,J[59]=k;else k=J[59];let H;if(J[60]!==f||J[61]!==k)H=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:f,children:k}),J[60]=f,J[61]=k,J[62]=H;else H=J[62];return H}var vZ;var jZ=a(()=>{i0();q0();S0();LJ();RZ();v0();yZ();B0();I0();A0();wJ();MJ();$();vZ=J0(F0(),1)});function YX(Q,J){if(Q===d0)return"Review the plan in Claude Code on the web";if(!J||typeof J!=="object")return Q;if(Q===cZ&&"questions"in J){let Z=J.questions;if(Array.isArray(Z)&&Z[0]&&typeof Z[0]==="object"){let X="question"in Z[0]&&typeof Z[0].question==="string"&&Z[0].question?Z[0].question:("header"in Z[0])&&typeof Z[0].header==="string"?Z[0].header:null;if(X){let z=X.replace(/\s+/g," ").trim();return`Answer in browser: ${K0(z,50)}`}}}for(let Z of Object.values(J))if(typeof Z==="string"&&Z.trim()){let X=Z.replace(/\s+/g," ").trim();return`${Q} ${K0(X,60)}`}return Q}function GX(Q){let J=ZJ.c(70),{session:Z,onDone:X,onBack:z,onKill:Y}=Q,V=Z.status==="running"||Z.status==="pending",G=Z.ultraplanPhase,F=V?G?zX[G]:"running":Z.status,R=R0(Z.startTime,V,1000,0,Z.endTime),O=0,P=0,U=null;for(let X0 of Z.log){if(X0.type!=="assistant")continue;for(let e of X0.message.content){if(e.type!=="tool_use")continue;if(P++,U=e,e.name===uZ||e.name===dZ)O++}}let w=1+O,f;if(J[0]!==U)f=U?YX(U.name,U.input):null,J[0]=U,J[1]=f;else f=J[1];let L;if(J[2]!==P||J[3]!==w||J[4]!==f)L={agentsWorking:w,toolCalls:P,lastToolCall:f},J[2]=P,J[3]=w,J[4]=f,J[5]=L;else L=J[5];let{agentsWorking:C,toolCalls:E,lastToolCall:A}=L,h;if(J[6]!==Z.sessionId)h=_0(Z.sessionId),J[6]=Z.sessionId,J[7]=h;else h=J[7];let D=h,I;if(J[8]!==z||J[9]!==X)I=z??(()=>X("Remote session details dismissed",{display:"system"})),J[8]=z,J[9]=X,J[10]=I;else I=J[10];let K=I,[B,p]=O0.useState(!1);if(B){let X0;if(J[11]===Symbol.for("react.memo_cache_sentinel"))X0=()=>p(!1),J[11]=X0;else X0=J[11];let e;if(J[12]===Symbol.for("react.memo_cache_sentinel"))e=q(W,{dimColor:!0,children:"This will terminate the Claude Code on the web session."}),J[12]=e;else e=J[12];let y0;if(J[13]===Symbol.for("react.memo_cache_sentinel"))y0={label:"Terminate session",value:"stop"},J[13]=y0;else y0=J[13];let i;if(J[14]===Symbol.for("react.memo_cache_sentinel"))i=[y0,{label:"Back",value:"back"}],J[14]=i;else i=J[14];let f0;if(J[15]!==K||J[16]!==Y)f0=q(n,{title:"Stop ultraplan?",onCancel:X0,color:"background",children:N(y,{flexDirection:"column",gap:1,children:[e,q(g0,{options:i,onChange:(T0)=>{if(T0==="stop")Y?.(),K();else p(!1)}})]})}),J[15]=K,J[16]=Y,J[17]=f0;else f0=J[17];return f0}let d=G==="plan_ready"?w0:z0,j;if(J[18]!==d)j=N(W,{color:"background",children:[d," "]}),J[18]=d,J[19]=j;else j=J[19];let x;if(J[20]===Symbol.for("react.memo_cache_sentinel"))x=q(W,{bold:!0,children:"ultraplan"}),J[20]=x;else x=J[20];let c;if(J[21]!==R||J[22]!==F)c=N(W,{dimColor:!0,children:[" · ",R," · ",F]}),J[21]=R,J[22]=F,J[23]=c;else c=J[23];let v;if(J[24]!==j||J[25]!==c)v=N(W,{children:[j,x,c]}),J[24]=j,J[25]=c,J[26]=v;else v=J[26];let b;if(J[27]!==G)b=G==="plan_ready"&&N(W,{color:"success",children:[t0.tick," "]}),J[27]=G,J[28]=b;else b=J[28];let m;if(J[29]!==C)m=Q0(C,"agent"),J[29]=C,J[30]=m;else m=J[30];let T=G?qX[G]:"working",_;if(J[31]!==E)_=Q0(E,"call"),J[31]=E,J[32]=_;else _=J[32];let g;if(J[33]!==C||J[34]!==b||J[35]!==m||J[36]!==T||J[37]!==_||J[38]!==E)g=N(W,{children:[b,C," ",m," ",T," · ",E," tool"," ",_]}),J[33]=C,J[34]=b,J[35]=m,J[36]=T,J[37]=_,J[38]=E,J[39]=g;else g=J[39];let u;if(J[40]!==A)u=A&&q(W,{dimColor:!0,children:A}),J[40]=A,J[41]=u;else u=J[41];let S;if(J[42]!==D)S=q(W,{dimColor:!0,children:D}),J[42]=D,J[43]=S;else S=J[43];let k;if(J[44]!==D||J[45]!==S)k=q(JJ,{url:D,children:S}),J[44]=D,J[45]=S,J[46]=k;else k=J[46];let H;if(J[47]===Symbol.for("react.memo_cache_sentinel"))H={label:"Review in Claude Code on the web",value:"open"},J[47]=H;else H=J[47];let M;if(J[48]!==Y||J[49]!==V)M=Y&&V?[{label:"Stop ultraplan",value:"stop"}]:[],J[48]=Y,J[49]=V,J[50]=M;else M=J[50];let r;if(J[51]===Symbol.for("react.memo_cache_sentinel"))r={label:"Back",value:"back"},J[51]=r;else r=J[51];let s;if(J[52]!==M)s=[H,...M,r],J[52]=M,J[53]=s;else s=J[53];let Y0;if(J[54]!==K||J[55]!==X||J[56]!==D)Y0=(X0)=>{switch(X0){case"open":{DJ(D),X();return}case"stop":{p(!0);return}case"back":{K();return}}},J[54]=K,J[55]=X,J[56]=D,J[57]=Y0;else Y0=J[57];let W0;if(J[58]!==s||J[59]!==Y0)W0=q(g0,{options:s,onChange:Y0}),J[58]=s,J[59]=Y0,J[60]=W0;else W0=J[60];let H0;if(J[61]!==g||J[62]!==u||J[63]!==k||J[64]!==W0)H0=N(y,{flexDirection:"column",gap:1,children:[g,u,k,W0]}),J[61]=g,J[62]=u,J[63]=k,J[64]=W0,J[65]=H0;else H0=J[65];let C0;if(J[66]!==K||J[67]!==v||J[68]!==H0)C0=q(n,{title:v,onCancel:K,color:"background",children:H0}),J[66]=K,J[67]=v,J[68]=H0,J[69]=C0;else C0=J[69];return C0}function VX(Q){let J=ZJ.c(15),{stage:Z,completed:X,hasProgress:z}=Q,Y;if(J[0]!==Z)Y=Z?gZ.indexOf(Z):-1,J[0]=Z,J[1]=Y;else Y=J[1];let V=Y,G=!X&&!z,F;if(J[2]!==G)F=G?q(W,{color:"background",children:"Setup"}):q(W,{dimColor:!0,children:"Setup"}),J[2]=G,J[3]=F;else F=J[3];let R;if(J[4]===Symbol.for("react.memo_cache_sentinel"))R=q(W,{dimColor:!0,children:" → "}),J[4]=R;else R=J[4];let O;if(J[5]!==X||J[6]!==V||J[7]!==G)O=gZ.map((w,f)=>{let L=!X&&!G&&f===V;return N(O0.default.Fragment,{children:[f>0&&q(W,{dimColor:!0,children:" → "}),L?q(W,{color:"background",children:_Z[w]}):q(W,{dimColor:!0,children:_Z[w]})]},w)}),J[5]=X,J[6]=V,J[7]=G,J[8]=O;else O=J[8];let P;if(J[9]!==X)P=X&&q(W,{color:"success",children:" ✓"}),J[9]=X,J[10]=P;else P=J[10];let U;if(J[11]!==F||J[12]!==O||J[13]!==P)U=N(W,{children:[F,R,O,P]}),J[11]=F,J[12]=O,J[13]=P,J[14]=U;else U=J[14];return U}function WX(Q){let J=Q.reviewProgress;if(!J)return Q.status==="completed"?"done":"setting up";let Z=J.bugsVerified,X=J.bugsRefuted??0;if(Q.status==="completed"){let z=[`${Z} ${Q0(Z,"finding")}`];if(X>0)z.push(`${X} refuted`);return z.join(" · ")}return bJ(J.stage,J.bugsFound,Z,X)}function HX(Q){let J=ZJ.c(56),{session:Z,onDone:X,onBack:z,onKill:Y}=Q,V=Z.status==="completed",G=Z.status==="running"||Z.status==="pending",[F,R]=O0.useState(!1),O=R0(Z.startTime,G,1000,0,Z.endTime),P;if(J[0]!==X)P=()=>X("Remote session details dismissed",{display:"system"}),J[0]=X,J[1]=P;else P=J[1];let U=P,w=z??U,f;if(J[2]!==Z.sessionId)f=_0(Z.sessionId),J[2]=Z.sessionId,J[3]=f;else f=J[3];let L=f,C=V?"ready":G?"running":Z.status;if(F){let k;if(J[4]===Symbol.for("react.memo_cache_sentinel"))k=()=>R(!1),J[4]=k;else k=J[4];let H;if(J[5]===Symbol.for("react.memo_cache_sentinel"))H=q(W,{dimColor:!0,children:"This archives the remote session and stops local tracking. The review will not complete and any findings so far are discarded."}),J[5]=H;else H=J[5];let M;if(J[6]===Symbol.for("react.memo_cache_sentinel"))M={label:"Stop ultrareview",value:"stop"},J[6]=M;else M=J[6];let r;if(J[7]===Symbol.for("react.memo_cache_sentinel"))r=[M,{label:"Back",value:"back"}],J[7]=r;else r=J[7];let s;if(J[8]!==w||J[9]!==Y)s=q(n,{title:"Stop ultrareview?",onCancel:k,color:"background",children:N(y,{flexDirection:"column",gap:1,children:[H,q(g0,{options:r,onChange:(Y0)=>{if(Y0==="stop")Y?.(),w();else R(!1)}})]})}),J[8]=w,J[9]=Y,J[10]=s;else s=J[10];return s}let E;if(J[11]!==V||J[12]!==Y||J[13]!==G)E=V?[{label:"Open in Claude Code on the web",value:"open"},{label:"Dismiss",value:"dismiss"}]:[{label:"Open in Claude Code on the web",value:"open"},...Y&&G?[{label:"Stop ultrareview",value:"stop"}]:[],{label:"Back",value:"back"}],J[11]=V,J[12]=Y,J[13]=G,J[14]=E;else E=J[14];let A=E,h;if(J[15]!==w||J[16]!==U||J[17]!==X||J[18]!==L)h=(k)=>{J:switch(k){case"open":{DJ(L),X();break J}case"stop":{R(!0);break J}case"back":{w();break J}case"dismiss":U()}},J[15]=w,J[16]=U,J[17]=X,J[18]=L,J[19]=h;else h=J[19];let D=h,I=V?w0:z0,K;if(J[20]!==I)K=N(W,{color:"background",children:[I," "]}),J[20]=I,J[21]=K;else K=J[21];let B;if(J[22]===Symbol.for("react.memo_cache_sentinel"))B=q(W,{bold:!0,children:"ultrareview"}),J[22]=B;else B=J[22];let p;if(J[23]!==O||J[24]!==C)p=N(W,{dimColor:!0,children:[" · ",O," · ",C]}),J[23]=O,J[24]=C,J[25]=p;else p=J[25];let d;if(J[26]!==K||J[27]!==p)d=N(W,{children:[K,B,p]}),J[26]=K,J[27]=p,J[28]=d;else d=J[28];let j=Z.reviewProgress?.stage,x=!!Z.reviewProgress,c;if(J[29]!==V||J[30]!==j||J[31]!==x)c=q(VX,{stage:j,completed:V,hasProgress:x}),J[29]=V,J[30]=j,J[31]=x,J[32]=c;else c=J[32];let v;if(J[33]!==Z)v=WX(Z),J[33]=Z,J[34]=v;else v=J[34];let b;if(J[35]!==v)b=q(W,{children:v}),J[35]=v,J[36]=b;else b=J[36];let m;if(J[37]!==L)m=q(W,{dimColor:!0,children:L}),J[37]=L,J[38]=m;else m=J[38];let T;if(J[39]!==L||J[40]!==m)T=q(JJ,{url:L,children:m}),J[39]=L,J[40]=m,J[41]=T;else T=J[41];let _;if(J[42]!==b||J[43]!==T)_=N(y,{flexDirection:"column",children:[b,T]}),J[42]=b,J[43]=T,J[44]=_;else _=J[44];let g;if(J[45]!==D||J[46]!==A)g=q(g0,{options:A,onChange:D}),J[45]=D,J[46]=A,J[47]=g;else g=J[47];let u;if(J[48]!==c||J[49]!==_||J[50]!==g)u=N(y,{flexDirection:"column",gap:1,children:[c,_,g]}),J[48]=c,J[49]=_,J[50]=g,J[51]=u;else u=J[51];let S;if(J[52]!==w||J[53]!==u||J[54]!==d)S=q(n,{title:d,onCancel:w,color:"background",inputGuide:NX,children:u}),J[52]=w,J[53]=u,J[54]=d,J[55]=S;else S=J[55];return S}function NX(Q){return Q.pending?N(W,{children:["Press ",Q.keyName," again to exit"]}):N(Z0,{children:[q(l,{shortcut:"Enter",action:"select"}),q(l,{shortcut:"Esc",action:"go back"})]})}function xZ({session:Q,toolUseContext:J,onDone:Z,onBack:X,onKill:z}){let[Y,V]=O0.useState(!1),[G,F]=O0.useState(null),R=O0.useMemo(()=>{if(Q.isUltraplan||Q.isRemoteReview)return[];return lZ(kZ(Q.log)).filter((L)=>L.type!=="progress").slice(-3)},[Q]);if(Q.isUltraplan)return q(GX,{session:Q,onDone:Z,onBack:X,onKill:z});if(Q.isRemoteReview)return q(HX,{session:Q,onDone:Z,onBack:X,onKill:z});let O=()=>Z("Remote session details dismissed",{display:"system"}),P=(L)=>{if(L.key===" ")L.preventDefault(),Z("Remote session details dismissed",{display:"system"});else if(L.key==="left"&&X)L.preventDefault(),X();else if(L.key==="t"&&!Y)L.preventDefault(),U();else if(L.key==="return")L.preventDefault(),O()};async function U(){V(!0),F(null);try{await mZ(Q.sessionId)}catch(L){F(h0(L))}finally{V(!1)}}let w=K0(Q.title,50),f=Q.status==="pending"?"starting":Q.status;return q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:P,children:N(n,{title:"Remote session details",onCancel:O,color:"background",inputGuide:(L)=>L.pending?N(W,{children:["Press ",L.keyName," again to exit"]}):N(Z0,{children:[X&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),!Y&&q(l,{shortcut:"t",action:"teleport"})]}),children:[N(y,{flexDirection:"column",children:[N(W,{children:[q(W,{bold:!0,children:"Status"}),":"," ",f==="running"||f==="starting"?q(W,{color:"background",children:f}):f==="completed"?q(W,{color:"success",children:f}):q(W,{color:"error",children:f})]}),N(W,{children:[q(W,{bold:!0,children:"Runtime"}),":"," ",e0((Q.endTime??Date.now())-Q.startTime)]}),N(W,{wrap:"truncate-end",children:[q(W,{bold:!0,children:"Title"}),": ",w]}),N(W,{children:[q(W,{bold:!0,children:"Progress"}),":"," ",q(j0,{session:Q})]}),N(W,{children:[q(W,{bold:!0,children:"Session URL"}),":"," ",q(JJ,{url:_0(Q.sessionId),children:q(W,{dimColor:!0,children:_0(Q.sessionId)})})]})]}),Q.log.length>0&&N(y,{flexDirection:"column",marginTop:1,children:[N(W,{children:[q(W,{bold:!0,children:"Recent messages"}),":"]}),q(y,{flexDirection:"column",height:10,overflowY:"hidden",children:R.map((L,C)=>q(pZ,{message:L,lookups:iZ,addMargin:C>0,tools:J.options.tools,commands:J.options.commands,verbose:J.options.verbose,inProgressToolUseIDs:new Set,progressMessagesForMessage:[],shouldAnimate:!1,shouldShowDot:!1,style:"condensed",isTranscriptMode:!1,isStatic:!0},C))}),q(y,{marginTop:1,children:N(W,{dimColor:!0,italic:!0,children:["Showing last ",R.length," of ",Q.log.length," ","messages"]})})]}),G&&q(y,{marginTop:1,children:N(W,{color:"error",children:["Teleport failed: ",G]})}),Y&&q(W,{color:"background",children:"Teleporting to session…"})]})})}var ZJ,O0,zX,qX,gZ,_Z;var rZ=a(()=>{TZ();p0();i0();q0();UJ();eQ();tQ();mJ();JX();aJ();v0();XX();fZ();IJ();NJ();QX();B0();I0();A0();ZX();AJ();$();ZJ=J0(F0(),1),O0=J0(o0(),1);zX={needs_input:"input required",plan_ready:"ready"},qX={needs_input:"waiting",plan_ready:"done"};gZ=["finding","verifying","synthesizing"],_Z={finding:"Find",verifying:"Verify",synthesizing:"Dedupe"}});async function sZ(Q){let J=aZ(Q.id);try{let Z=await $Z(J,PX);return{content:Z.content,bytesTotal:Z.bytesTotal}}catch{return{content:"",bytesTotal:0}}}function eZ(Q){let J=hJ.c(57),{shell:Z,onDone:X,onKillShell:z,onBack:Y}=Q,{columns:V}=QJ(),G;if(J[0]!==Z)G=()=>sZ(Z),J[0]=Z,J[1]=G;else G=J[1];let[F,R]=V0.useState(G),O=V0.useDeferredValue(F),P;if(J[2]!==Z)P=()=>{if(Z.status!=="running")return;let r=setInterval(OX,1000,R,Z);return()=>clearInterval(r)},J[2]=Z,J[3]=P;else P=J[3];let U;if(J[4]!==Z.id||J[5]!==Z.status)U=[Z.id,Z.status],J[4]=Z.id,J[5]=Z.status,J[6]=U;else U=J[6];V0.useEffect(P,U);let w;if(J[7]!==X)w=()=>X("Shell details dismissed",{display:"system"}),J[7]=X,J[8]=w;else w=J[8];let f=w,L;if(J[9]!==f)L={"confirm:yes":f},J[9]=f,J[10]=L;else L=J[10];let C;if(J[11]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},J[11]=C;else C=J[11];G0(L,C);let E;if(J[12]!==Y||J[13]!==X||J[14]!==z||J[15]!==Z.status)E=(r)=>{if(r.key===" ")r.preventDefault(),X("Shell details dismissed",{display:"system"});else if(r.key==="left"&&Y)r.preventDefault(),Y();else if(r.key==="x"&&Z.status==="running"&&z)r.preventDefault(),z()},J[12]=Y,J[13]=X,J[14]=z,J[15]=Z.status,J[16]=E;else E=J[16];let A=E,h=Z.kind==="monitor",D;if(J[17]!==Z.command)D=K0(Z.command,280),J[17]=Z.command,J[18]=D;else D=J[18];let I=D,K=h?"Monitor details":"Shell details",B;if(J[19]!==Y||J[20]!==z||J[21]!==Z.status)B=(r)=>r.pending?N(W,{children:["Press ",r.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"})]}),J[19]=Y,J[20]=z,J[21]=Z.status,J[22]=B;else B=J[22];let p;if(J[23]===Symbol.for("react.memo_cache_sentinel"))p=q(W,{bold:!0,children:"Status:"}),J[23]=p;else p=J[23];let d;if(J[24]!==Z.result||J[25]!==Z.status)d=N(W,{children:[p," ",Z.status==="running"?N(W,{color:"background",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]}):Z.status==="completed"?N(W,{color:"success",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]}):N(W,{color:"error",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]})]}),J[24]=Z.result,J[25]=Z.status,J[26]=d;else d=J[26];let j;if(J[27]===Symbol.for("react.memo_cache_sentinel"))j=q(W,{bold:!0,children:"Runtime:"}),J[27]=j;else j=J[27];let x;if(J[28]!==Z.endTime)x=Z.endTime??Date.now(),J[28]=Z.endTime,J[29]=x;else x=J[29];let c=x-Z.startTime,v;if(J[30]!==c)v=e0(c),J[30]=c,J[31]=v;else v=J[31];let b;if(J[32]!==v)b=N(W,{children:[j," ",v]}),J[32]=v,J[33]=b;else b=J[33];let m=h?"Script:":"Command:",T;if(J[34]!==m)T=q(W,{bold:!0,children:m}),J[34]=m,J[35]=T;else T=J[35];let _;if(J[36]!==I||J[37]!==T)_=N(W,{wrap:"wrap",children:[T," ",I]}),J[36]=I,J[37]=T,J[38]=_;else _=J[38];let g;if(J[39]!==d||J[40]!==b||J[41]!==_)g=N(y,{flexDirection:"column",children:[d,b,_]}),J[39]=d,J[40]=b,J[41]=_,J[42]=g;else g=J[42];let u;if(J[43]===Symbol.for("react.memo_cache_sentinel"))u=q(W,{bold:!0,children:"Output:"}),J[43]=u;else u=J[43];let S;if(J[44]===Symbol.for("react.memo_cache_sentinel"))S=q(W,{dimColor:!0,children:"Loading output…"}),J[44]=S;else S=J[44];let k;if(J[45]!==V||J[46]!==O)k=N(y,{flexDirection:"column",children:[u,q(V0.Suspense,{fallback:S,children:q(UX,{outputPromise:O,columns:V})})]}),J[45]=V,J[46]=O,J[47]=k;else k=J[47];let H;if(J[48]!==f||J[49]!==B||J[50]!==g||J[51]!==k||J[52]!==K)H=N(n,{title:K,onCancel:f,color:"background",inputGuide:B,children:[g,k]}),J[48]=f,J[49]=B,J[50]=g,J[51]=k,J[52]=K,J[53]=H;else H=J[53];let M;if(J[54]!==A||J[55]!==H)M=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:A,children:H}),J[54]=A,J[55]=H,J[56]=M;else M=J[56];return M}function OX(Q,J){return Q(sZ(J))}function UX(Q){let J=hJ.c(19),{outputPromise:Z,columns:X}=Q,{content:z,bytesTotal:Y}=V0.use(Z);if(!z){let L;if(J[0]===Symbol.for("react.memo_cache_sentinel"))L=q(W,{dimColor:!0,children:"No output available"}),J[0]=L;else L=J[0];return L}let V,G;if(J[1]!==Y||J[2]!==z){let L=[],C=z.length;for(let E=0;E<10&&C>0;E++){let A=z.lastIndexOf(`
|
|
17
|
+
`,C-1);L.push(A+1),C=A}L.reverse(),V=Y>z.length,G=[];for(let E=0;E<L.length;E++){let A=L[E],h=E<L.length-1?L[E+1]-1:z.length,D=z.slice(A,h);if(D)G.push(D)}J[1]=Y,J[2]=z,J[3]=V,J[4]=G}else V=J[3],G=J[4];let F=X-6,R;if(J[5]!==G)R=G.map(fX),J[5]=G,J[6]=R;else R=J[6];let O;if(J[7]!==F||J[8]!==R)O=q(y,{borderStyle:"round",paddingX:1,flexDirection:"column",height:12,maxWidth:F,children:R}),J[7]=F,J[8]=R,J[9]=O;else O=J[9];let P=`Showing ${G.length} lines`,U;if(J[10]!==Y||J[11]!==V)U=V?` of ${oZ(Y)}`:"",J[10]=Y,J[11]=V,J[12]=U;else U=J[12];let w;if(J[13]!==P||J[14]!==U)w=N(W,{dimColor:!0,italic:!0,children:[P,U]}),J[13]=P,J[14]=U,J[15]=w;else w=J[15];let f;if(J[16]!==O||J[17]!==w)f=N(o,{children:[O,w]}),J[16]=O,J[17]=w,J[18]=f;else f=J[18];return f}function fX(Q,J){return q(W,{wrap:"truncate-end",children:Q},J)}var hJ,V0,PX=8192;var tZ=a(()=>{nZ();q0();S0();v0();FX();RX();B0();I0();A0();$();hJ=J0(F0(),1),V0=J0(o0(),1)});var JQ={};$J(JQ,{default:()=>wX});var LX=()=>null,wX;var ZQ=a(()=>{wX=LX});function gX(Q,J){return Object.values(Q??{}).filter(qJ).filter((X)=>!(X.type==="local_agent"&&X.id===J))}function jq({onDone:Q,toolUseContext:J,initialDetailTaskId:Z}){let X=zJ((H)=>H.tasks),z=zJ((H)=>H.foregroundedTaskId),Y=zJ((H)=>H.expandedView)==="teammates",V=FQ(),G=VQ("chat:killAgents","Chat","ctrl+x ctrl+k"),F=X,R=U0.useRef(!1),[O,P]=U0.useState(()=>{if(Z)return R.current=!0,{mode:"detail",itemId:Z};let H=gX(F,z);if(H.length===1)return R.current=!0,{mode:"detail",itemId:H[0].id};return{mode:"list"}}),[U,w]=U0.useState(0);OQ("background-tasks-dialog");let{bashTasks:f,remoteSessions:L,agentTasks:C,teammateTasks:E,workflowTasks:A,mcpMonitors:h,dreamTasks:D,allSelectableItems:I}=U0.useMemo(()=>{let r=Object.values(F??{}).filter(qJ).map(_X).sort((i,f0)=>{let T0=i.status,gJ=f0.status;if(T0==="running"&&gJ!=="running")return-1;if(T0!=="running"&&gJ==="running")return 1;let UQ="task"in i?i.task.startTime:0;return("task"in f0?f0.task.startTime:0)-UQ}),s=r.filter((i)=>i.type==="local_bash"),Y0=r.filter((i)=>i.type==="remote_agent"),W0=r.filter((i)=>i.type==="local_agent"&&i.id!==z),H0=r.filter((i)=>i.type==="local_workflow"),C0=r.filter((i)=>i.type==="monitor_mcp"),X0=r.filter((i)=>i.type==="dream"),e=Y?[]:r.filter((i)=>i.type==="in_process_teammate"),y0=e.length>0?[{id:"__leader__",type:"leader",label:`@${vJ}`,status:"running"}]:[];return{bashTasks:s,remoteSessions:Y0,agentTasks:W0,workflowTasks:H0,mcpMonitors:C0,dreamTasks:X0,teammateTasks:[...y0,...e],allSelectableItems:[...y0,...e,...s,...C0,...Y0,...W0,...H0,...X0]}},[F,z,Y]),K=I[U]??null;G0({"confirm:previous":()=>w((H)=>Math.max(0,H-1)),"confirm:next":()=>w((H)=>Math.min(I.length-1,H+1)),"confirm:yes":()=>{let H=I[U];if(H)if(H.type==="leader")WJ(V),Q("Viewing leader",{display:"system"});else P({mode:"detail",itemId:H.id})}},{context:"Confirmation",isActive:O.mode==="list"});let B=(H)=>{if(O.mode!=="list")return;if(H.key==="left"){H.preventDefault(),Q("Background tasks dialog dismissed",{display:"system"});return}let M=I[U];if(!M)return;if(H.key==="x"){if(H.preventDefault(),M.type==="local_bash"&&M.status==="running")p(M.id);else if(M.type==="local_agent"&&M.status==="running")d(M.id);else if(M.type==="in_process_teammate"&&M.status==="running")j(M.id);else if(M.type==="local_workflow"&&M.status==="running"&&XJ)XJ(M.id,V);else if(M.type==="monitor_mcp"&&M.status==="running"&&YJ)YJ(M.id,V);else if(M.type==="dream"&&M.status==="running")x(M.id);else if(M.type==="remote_agent"&&M.status==="running")if(M.task.isUltraplan)fJ(M.id,M.task.sessionId,V);else c(M.id)}if(H.key==="f"){if(M.type==="in_process_teammate"&&M.status==="running")H.preventDefault(),VJ(M.id,V),Q("Viewing teammate",{display:"system"});else if(M.type==="leader")H.preventDefault(),WJ(V),Q("Viewing leader",{display:"system"})}};async function p(H){await WQ.kill(H,V)}async function d(H){await PQ.kill(H,V)}async function j(H){await HQ.kill(H,V)}async function x(H){await RQ.kill(H,V)}async function c(H){await m0.kill(H,V)}let v=NQ(Q);U0.useEffect(()=>{if(O.mode!=="list"){let M=(F??{})[O.itemId];if(!M||M.type!=="local_workflow"&&!qJ(M))if(R.current)v("Background tasks dialog dismissed",{display:"system"});else P({mode:"list"})}let H=I.length;if(U>=H&&H>0)w(H-1)},[O,F,U,I,v]);let b=()=>{if(R.current&&I.length<=1)Q("Background tasks dialog dismissed",{display:"system"});else R.current=!1,P({mode:"list"})};if(O.mode!=="list"&&F){let H=F[O.itemId];if(!H)return null;switch(H.type){case"local_bash":return q(eZ,{shell:H,onDone:Q,onKillShell:()=>void p(H.id),onBack:b},`shell-${H.id}`);case"local_agent":return q(OZ,{agent:H,onDone:Q,onKillAgent:()=>void d(H.id),onBack:b},`agent-${H.id}`);case"remote_agent":return q(xZ,{session:H,onDone:Q,toolUseContext:J,onBack:b,onKill:H.status!=="running"?void 0:H.isUltraplan?()=>void fJ(H.id,H.sessionId,V):()=>void c(H.id)},`session-${H.id}`);case"in_process_teammate":return q(SZ,{teammate:H,onDone:Q,onKill:H.status==="running"?()=>void j(H.id):void 0,onBack:b,onForeground:H.status==="running"?()=>{VJ(H.id,V),Q("Viewing teammate",{display:"system"})}:void 0},`teammate-${H.id}`);case"local_workflow":if(!QQ)return null;return q(QQ,{workflow:H,onDone:Q,onKill:H.status==="running"&&XJ?()=>XJ(H.id,V):void 0,onSkipAgent:H.status==="running"&&XQ?(M)=>XQ(H.id,M,V):void 0,onRetryAgent:H.status==="running"&&YQ?(M)=>YQ(H.id,M,V):void 0,onBack:b},`workflow-${H.id}`);case"monitor_mcp":if(!zQ)return null;return q(zQ,{task:H,onKill:H.status==="running"&&YJ?()=>YJ(H.id,V):void 0,onBack:b},`monitor-mcp-${H.id}`);case"dream":return q(DZ,{task:H,onDone:()=>Q("Background tasks dialog dismissed",{display:"system"}),onBack:b,onKill:H.status==="running"?()=>void x(H.id):void 0},`dream-${H.id}`)}}let m=M0(f,(H)=>H.status==="running"),T=M0(L,(H)=>H.status==="running"||H.status==="pending")+M0(C,(H)=>H.status==="running"),_=M0(E,(H)=>H.status==="running"),g=qQ([..._>0?[N(W,{children:[_," ",_!==1?"agents":"agent"]},"teammates")]:[],...m>0?[N(W,{children:[m," ",m!==1?"active shells":"active shell"]},"shells")]:[],...T>0?[N(W,{children:[T," ",T!==1?"active agents":"active agent"]},"agents")]:[]],(H)=>q(W,{children:" · "},`separator-${H}`)),u=[q(l,{shortcut:"↑/↓",action:"select"},"upDown"),q(l,{shortcut:"Enter",action:"view"},"enter"),...K?.type==="in_process_teammate"&&K.status==="running"?[q(l,{shortcut:"f",action:"foreground"},"foreground")]:[],...(K?.type==="local_bash"||K?.type==="local_agent"||K?.type==="in_process_teammate"||K?.type==="local_workflow"||K?.type==="monitor_mcp"||K?.type==="dream"||K?.type==="remote_agent")&&K.status==="running"?[q(l,{shortcut:"x",action:"stop"},"kill")]:[],...C.some((H)=>H.status==="running")?[q(l,{shortcut:G,action:"stop all agents"},"kill-all")]:[],q(l,{shortcut:"←/Esc",action:"close"},"esc")],S=()=>Q("Background tasks dialog dismissed",{display:"system"});function k(H){if(H.pending)return N(W,{children:["Press ",H.keyName," again to exit"]});return q(Z0,{children:u})}return q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:B,children:q(n,{title:"Background tasks",subtitle:q(o,{children:g}),onCancel:S,color:"background",inputGuide:k,children:I.length===0?q(W,{dimColor:!0,children:"No tasks currently running"}):N(y,{flexDirection:"column",children:[E.length>0&&N(y,{flexDirection:"column",children:[(f.length>0||L.length>0||C.length>0)&&N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Agents"]})," (",M0(E,(H)=>H.type!=="leader"),")"]}),q(y,{flexDirection:"column",children:q(TX,{teammateTasks:E,currentSelectionId:K?.id})})]}),f.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0?1:0,children:[(E.length>0||L.length>0||C.length>0)&&N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Shells"]})," (",f.length,")"]}),q(y,{flexDirection:"column",children:f.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),h.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Monitors"]})," (",h.length,")"]}),q(y,{flexDirection:"column",children:h.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),L.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Remote agents"]})," (",L.length,")"]}),q(y,{flexDirection:"column",children:L.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),C.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Local agents"]})," (",C.length,")"]}),q(y,{flexDirection:"column",children:C.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),A.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0||C.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Workflows"]})," (",A.length,")"]}),q(y,{flexDirection:"column",children:A.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),D.length>0&&q(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0||C.length>0||A.length>0?1:0,children:q(y,{flexDirection:"column",children:D.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})})]})})})}function _X(Q){switch(Q.type){case"local_bash":return{id:Q.id,type:"local_bash",label:Q.kind==="monitor"?Q.description:Q.command,status:Q.status,task:Q};case"remote_agent":return{id:Q.id,type:"remote_agent",label:Q.title,status:Q.status,task:Q};case"local_agent":return{id:Q.id,type:"local_agent",label:Q.description,status:Q.status,task:Q};case"in_process_teammate":return{id:Q.id,type:"in_process_teammate",label:`@${Q.identity.agentName}`,status:Q.status,task:Q};case"local_workflow":return{id:Q.id,type:"local_workflow",label:Q.summary??Q.description,status:Q.status,task:Q};case"monitor_mcp":return{id:Q.id,type:"monitor_mcp",label:Q.description,status:Q.status,task:Q};case"dream":return{id:Q.id,type:"dream",label:Q.description,status:Q.status,task:Q};default:throw Error(`toListItem: unhandled task type ${String(Q.type)}`)}}function E0(Q){let J=SJ.c(14),{item:Z,isSelected:X}=Q,{columns:z}=QJ(),Y=Math.max(30,z-26),V;if(J[0]===Symbol.for("react.memo_cache_sentinel"))V=GQ(),J[0]=V;else V=J[0];let G=V,F=G&&X,R=X?t0.pointer+" ":" ",O;if(J[1]!==F||J[2]!==R)O=q(W,{dimColor:F,children:R}),J[1]=F,J[2]=R,J[3]=O;else O=J[3];let P=X&&!G?"suggestion":void 0,U;if(J[4]!==Z.task||J[5]!==Z.type||J[6]!==Y)U=Z.type==="leader"?N(W,{children:["@",vJ]}):q(AZ,{task:Z.task,maxActivityWidth:Y}),J[4]=Z.task,J[5]=Z.type,J[6]=Y,J[7]=U;else U=J[7];let w;if(J[8]!==P||J[9]!==U)w=q(W,{color:P,children:U}),J[8]=P,J[9]=U,J[10]=w;else w=J[10];let f;if(J[11]!==O||J[12]!==w)f=N(y,{flexDirection:"row",children:[O,w]}),J[11]=O,J[12]=w,J[13]=f;else f=J[13];return f}function TX(Q){let J=SJ.c(3),{teammateTasks:Z,currentSelectionId:X}=Q,z;if(J[0]!==X||J[1]!==Z){let Y=Z.filter(dX),V=Z.filter(uX),G=new Map;for(let R of V){let O=R.task.identity.teamName,P=G.get(O);if(P)P.push(R);else G.set(O,[R])}let F=[...G.entries()];z=q(o,{children:F.map((R)=>{let[O,P]=R,U=P.length+Y.length;return N(y,{flexDirection:"column",children:[N(W,{dimColor:!0,children:[" ","Team: ",O," (",U,")"]}),Y.map((w)=>q(E0,{item:w,isSelected:w.id===X},`${w.id}-${O}`)),P.map((w)=>q(E0,{item:w,isSelected:w.id===X},w.id))]},O)})}),J[0]=X,J[1]=Z,J[2]=z}else z=J[2];return z}function uX(Q){return Q.type==="in_process_teammate"}function dX(Q){return Q.type==="leader"}var SJ,U0,QQ=null,jJ=null,XJ,XQ,YQ,jX,YJ,zQ;var cX=a(()=>{TZ();MX();bX();nZ();AX();uJ();hX();yX();vX();CX();UJ();BX();yJ();KX();GZ();SX();q0();S0();EX();yJ();B0();I0();A0();UZ();BZ();hZ();jZ();rZ();tZ();$();SJ=J0(F0(),1),U0=J0(o0(),1),XJ=jJ?.killWorkflowTask??null,XQ=jJ?.skipWorkflowAgent??null,YQ=jJ?.retryWorkflowAgent??null,jX=(DX(),RJ(IX)),YJ=jX?.killMonitorMcp??null,zQ=(ZQ(),RJ(JQ)).MonitorMcpDetailDialog});
|
|
18
|
+
export{VJ as Je,WJ as Ke,xX as Le,uJ as Me,fJ as Ne,mQ as Oe,GZ as Pe,jq as Qe,cX as Re};
|