@claudiolabs/claudin 1.1.18 → 1.1.20
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/README.md +15 -0
- package/dist/chunks/AgentTool-1.1.20-gy68hszg.mjs +1 -0
- package/dist/chunks/App-1.1.20-10ggpxf4.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.20-6y0zcy4y.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.20-yebtqpwm.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.20-4t2txe84.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.20-6w697wvx.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.20-c3kyqfq3.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.20-87nay89d.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.20-wcg0gh1k.mjs +6 -0
- package/dist/chunks/Doctor-1.1.20-gq08p6c4.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.20-njwmt292.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.20-86szt9a8.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.20-yw03wzhm.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.20-b8bpx0av.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.20-xc1ete3w.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.20-ytp8f67t.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.20-qvj570ty.mjs +1 -0
- package/dist/chunks/REPL-1.1.20-1wqc3hyp.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.20-78gpsm6z.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.20-qzvapr16.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.20-tjphzty6.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.20-d63k8snr.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.20-k1pa6f9a.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.20-8mc5wrxb.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.20-xkwtgqwd.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.20-7p5t0a25.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.20-n88f7vxe.mjs +1 -0
- package/dist/chunks/add-dir-1.1.20-mkjy6mne.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.20-mf4dz2fp.mjs +1 -0
- package/dist/chunks/agents-1.1.20-eb13erze.mjs +110 -0
- package/dist/chunks/agents-1.1.20-ps3c6vj2.mjs +3 -0
- package/dist/chunks/api-1.1.20-11grpy2c.mjs +1 -0
- package/dist/chunks/asciicast-1.1.20-bqm28655.mjs +1 -0
- package/dist/chunks/assistant-1.1.20-xny4y49f.mjs +1 -0
- package/dist/chunks/auth-1.1.20-kyscffqe.mjs +1 -0
- package/dist/chunks/auth-1.1.20-ygabh4dg.mjs +1 -0
- package/dist/chunks/autoMode-1.1.20-6ehbhthd.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.20-skjmdzhq.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.20-n7vch4bv.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.20-a3snmx4e.mjs +1 -0
- package/dist/chunks/branch-1.1.20-849br2fw.mjs +4 -0
- package/dist/chunks/bridge-1.1.20-ec0z61jb.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.20-wks1jhmc.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.20-1nza3j0t.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.20-6dks41qc.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.20-tecp8fmk.mjs +1 -0
- package/dist/chunks/btw-1.1.20-mdw6bncw.mjs +1 -0
- package/dist/chunks/buddy-1.1.20-cmmgv2nf.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.20-62xx6y5w.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.20-j7kbrtbn.mjs +4 -0
- package/dist/chunks/caches-1.1.20-ykvsw24v.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.20-dhcfye38.mjs +1 -0
- package/dist/chunks/claudemd-1.1.20-0km3pc8d.mjs +1 -0
- package/dist/chunks/clear-1.1.20-rkzhan9n.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.20-h9nb94gb.mjs +1 -0
- package/dist/chunks/cli-1.1.20-003ssrqs.mjs +2 -0
- package/dist/chunks/cli-1.1.20-08kdg42c.mjs +2 -0
- package/dist/chunks/cli-1.1.20-0a8jwwrh.mjs +2 -0
- package/dist/chunks/cli-1.1.20-0cxx0azc.mjs +2 -0
- package/dist/chunks/cli-1.1.20-0hr449k2.mjs +6 -0
- package/dist/chunks/cli-1.1.20-0sgvc4nn.mjs +2 -0
- package/dist/chunks/cli-1.1.20-0yjr70td.mjs +2 -0
- package/dist/chunks/cli-1.1.20-11yx2x29.mjs +2 -0
- package/dist/chunks/cli-1.1.20-14z9f90d.mjs +4 -0
- package/dist/chunks/cli-1.1.20-16js342k.mjs +3 -0
- package/dist/chunks/cli-1.1.20-1804zgnt.mjs +2 -0
- package/dist/chunks/cli-1.1.20-1axwpgex.mjs +3 -0
- package/dist/chunks/cli-1.1.20-1jzypzba.mjs +2 -0
- package/dist/chunks/cli-1.1.20-2189wy4p.mjs +2 -0
- package/dist/chunks/cli-1.1.20-25hfpkfc.mjs +34 -0
- package/dist/chunks/cli-1.1.20-28njwehy.mjs +2 -0
- package/dist/chunks/cli-1.1.20-2c8v6etd.mjs +2 -0
- package/dist/chunks/cli-1.1.20-2c9529sa.mjs +4 -0
- package/dist/chunks/cli-1.1.20-2epx2qhj.mjs +4 -0
- package/dist/chunks/cli-1.1.20-2kmxyr07.mjs +2 -0
- package/dist/chunks/cli-1.1.20-2tzzh4zx.mjs +3 -0
- package/dist/chunks/cli-1.1.20-2xfbht26.mjs +2 -0
- package/dist/chunks/cli-1.1.20-3awkxvmy.mjs +2 -0
- package/dist/chunks/cli-1.1.20-3d1z8rpz.mjs +58 -0
- package/dist/chunks/cli-1.1.20-3xgnb054.mjs +2 -0
- package/dist/chunks/cli-1.1.20-3xt27qam.mjs +2 -0
- package/dist/chunks/cli-1.1.20-3ya9b3gp.mjs +2 -0
- package/dist/chunks/cli-1.1.20-41jpan4m.mjs +2 -0
- package/dist/chunks/cli-1.1.20-44e5kpwx.mjs +8 -0
- package/dist/chunks/cli-1.1.20-456jkny0.mjs +2 -0
- package/dist/chunks/cli-1.1.20-45ymf6ss.mjs +2 -0
- package/dist/chunks/cli-1.1.20-4dnyt1jx.mjs +2 -0
- package/dist/chunks/cli-1.1.20-4fckza8j.mjs +133 -0
- package/dist/chunks/cli-1.1.20-4ns5w1w9.mjs +2 -0
- package/dist/chunks/cli-1.1.20-4rera9rk.mjs +2 -0
- package/dist/chunks/cli-1.1.20-4rzj958h.mjs +2 -0
- package/dist/chunks/cli-1.1.20-4t5sspt7.mjs +2 -0
- package/dist/chunks/cli-1.1.20-4wm04f49.mjs +2 -0
- package/dist/chunks/cli-1.1.20-50162v14.mjs +2 -0
- package/dist/chunks/cli-1.1.20-62a99cp9.mjs +2 -0
- package/dist/chunks/cli-1.1.20-6ev0yp0d.mjs +6 -0
- package/dist/chunks/cli-1.1.20-6jbvby2b.mjs +20 -0
- package/dist/chunks/cli-1.1.20-6xmv43xj.mjs +3 -0
- package/dist/chunks/cli-1.1.20-6yk3v95f.mjs +39 -0
- package/dist/chunks/cli-1.1.20-70wc36rc.mjs +2 -0
- package/dist/chunks/cli-1.1.20-751bmsqk.mjs +2 -0
- package/dist/chunks/cli-1.1.20-7732c5qg.mjs +2 -0
- package/dist/chunks/cli-1.1.20-7c1w166r.mjs +2 -0
- package/dist/chunks/cli-1.1.20-7rxmh5n8.mjs +3 -0
- package/dist/chunks/cli-1.1.20-7v6hhn2t.mjs +2 -0
- package/dist/chunks/cli-1.1.20-80v7e5s8.mjs +2 -0
- package/dist/chunks/cli-1.1.20-83btfm1z.mjs +2 -0
- package/dist/chunks/cli-1.1.20-83vhyp8j.mjs +2 -0
- package/dist/chunks/cli-1.1.20-8kjhy0wv.mjs +2 -0
- package/dist/chunks/cli-1.1.20-8s1w9hdq.mjs +2 -0
- package/dist/chunks/cli-1.1.20-93dztzcq.mjs +2 -0
- package/dist/chunks/cli-1.1.20-9c4avkb0.mjs +2 -0
- package/dist/chunks/cli-1.1.20-9g552760.mjs +2 -0
- package/dist/chunks/cli-1.1.20-9h5643kr.mjs +2 -0
- package/dist/chunks/cli-1.1.20-9nj6n1xg.mjs +2 -0
- package/dist/chunks/cli-1.1.20-9p9rns5w.mjs +2 -0
- package/dist/chunks/cli-1.1.20-9sv4xcek.mjs +2 -0
- package/dist/chunks/cli-1.1.20-a9fgbqdg.mjs +2 -0
- package/dist/chunks/cli-1.1.20-admbe52d.mjs +2 -0
- package/dist/chunks/cli-1.1.20-ahqsg433.mjs +2 -0
- package/dist/chunks/cli-1.1.20-atv9jh9v.mjs +2 -0
- package/dist/chunks/cli-1.1.20-azb7xdf4.mjs +2 -0
- package/dist/chunks/cli-1.1.20-b09qhwrn.mjs +2 -0
- package/dist/chunks/cli-1.1.20-b0ehcdrw.mjs +18 -0
- package/dist/chunks/cli-1.1.20-bbb9fqyn.mjs +2 -0
- package/dist/chunks/cli-1.1.20-bgbsr3de.mjs +3 -0
- package/dist/chunks/cli-1.1.20-bk95x5hv.mjs +25 -0
- package/dist/chunks/cli-1.1.20-bs9520ht.mjs +2 -0
- package/dist/chunks/cli-1.1.20-c2g9cejz.mjs +2 -0
- package/dist/chunks/cli-1.1.20-cbehaby4.mjs +2 -0
- package/dist/chunks/cli-1.1.20-cfbterne.mjs +2 -0
- package/dist/chunks/cli-1.1.20-cgqjf8mh.mjs +6 -0
- package/dist/chunks/cli-1.1.20-chzjjxkj.mjs +2 -0
- package/dist/chunks/cli-1.1.20-ckdgd8ze.mjs +45 -0
- package/dist/chunks/cli-1.1.20-csmgax19.mjs +21 -0
- package/dist/chunks/cli-1.1.20-d3ep1y0e.mjs +3 -0
- package/dist/chunks/cli-1.1.20-d5yrsevx.mjs +2 -0
- package/dist/chunks/cli-1.1.20-d6ghx4vg.mjs +15 -0
- package/dist/chunks/cli-1.1.20-d7jg0nb4.mjs +24 -0
- package/dist/chunks/cli-1.1.20-dhn7hn4q.mjs +12 -0
- package/dist/chunks/cli-1.1.20-dhqn7976.mjs +2 -0
- package/dist/chunks/cli-1.1.20-dws48g78.mjs +2 -0
- package/dist/chunks/cli-1.1.20-e49ygqc9.mjs +2 -0
- package/dist/chunks/cli-1.1.20-edmcts0d.mjs +15 -0
- package/dist/chunks/cli-1.1.20-ef6rjnnr.mjs +2 -0
- package/dist/chunks/cli-1.1.20-emfhskxb.mjs +7 -0
- package/dist/chunks/cli-1.1.20-emjnkdmv.mjs +1 -0
- package/dist/chunks/cli-1.1.20-eza9aynd.mjs +2 -0
- package/dist/chunks/cli-1.1.20-ezsprsc5.mjs +2 -0
- package/dist/chunks/cli-1.1.20-f55khzsq.mjs +25 -0
- package/dist/chunks/cli-1.1.20-far01hg1.mjs +42 -0
- package/dist/chunks/cli-1.1.20-ffffyhx3.mjs +3 -0
- package/dist/chunks/cli-1.1.20-fwfjvfmd.mjs +12 -0
- package/dist/chunks/cli-1.1.20-g0w1ksxt.mjs +2 -0
- package/dist/chunks/cli-1.1.20-g41hgcbn.mjs +2 -0
- package/dist/chunks/cli-1.1.20-g68fwrp1.mjs +2 -0
- package/dist/chunks/cli-1.1.20-gd4g9gr0.mjs +3 -0
- package/dist/chunks/cli-1.1.20-geey2q0s.mjs +2 -0
- package/dist/chunks/cli-1.1.20-ghdeh455.mjs +2 -0
- package/dist/chunks/cli-1.1.20-gkc4ptt0.mjs +6 -0
- package/dist/chunks/cli-1.1.20-gmw9jarz.mjs +2 -0
- package/dist/chunks/cli-1.1.20-gtk0ea9e.mjs +2 -0
- package/dist/chunks/cli-1.1.20-h5qtp5v0.mjs +4 -0
- package/dist/chunks/cli-1.1.20-hnvxzngf.mjs +24 -0
- package/dist/chunks/cli-1.1.20-hrw31bb0.mjs +206 -0
- package/dist/chunks/cli-1.1.20-hw1raza2.mjs +2 -0
- package/dist/chunks/cli-1.1.20-j1r8r4kb.mjs +2 -0
- package/dist/chunks/cli-1.1.20-j4a7q58c.mjs +2 -0
- package/dist/chunks/cli-1.1.20-jerx0cvb.mjs +9 -0
- package/dist/chunks/cli-1.1.20-jm6p2cdx.mjs +2 -0
- package/dist/chunks/cli-1.1.20-jsasy45b.mjs +2 -0
- package/dist/chunks/cli-1.1.20-jwgjrhwv.mjs +17 -0
- package/dist/chunks/cli-1.1.20-jy9v0t3f.mjs +5 -0
- package/dist/chunks/cli-1.1.20-k31p3ab5.mjs +2 -0
- package/dist/chunks/cli-1.1.20-ka6crh5z.mjs +2 -0
- package/dist/chunks/cli-1.1.20-kbw4j273.mjs +3 -0
- package/dist/chunks/cli-1.1.20-kdcqs5pc.mjs +2 -0
- package/dist/chunks/cli-1.1.20-keawhead.mjs +5 -0
- package/dist/chunks/cli-1.1.20-kmjn4pys.mjs +2 -0
- package/dist/chunks/cli-1.1.20-kqncmabm.mjs +4 -0
- package/dist/chunks/cli-1.1.20-m1j9gb5j.mjs +2 -0
- package/dist/chunks/cli-1.1.20-m1rmtfx0.mjs +2 -0
- package/dist/chunks/cli-1.1.20-m90d7k90.mjs +133 -0
- package/dist/chunks/cli-1.1.20-m9x20s8d.mjs +2 -0
- package/dist/chunks/cli-1.1.20-mg71dz16.mjs +2 -0
- package/dist/chunks/cli-1.1.20-mmvz3csm.mjs +2 -0
- package/dist/chunks/cli-1.1.20-mtdrx7xp.mjs +2 -0
- package/dist/chunks/cli-1.1.20-n0e2f4pd.mjs +2 -0
- package/dist/chunks/cli-1.1.20-n23sb1sw.mjs +2 -0
- package/dist/chunks/cli-1.1.20-n9ja4mee.mjs +66 -0
- package/dist/chunks/cli-1.1.20-nbpvejz7.mjs +2 -0
- package/dist/chunks/cli-1.1.20-nk2jvm1z.mjs +2 -0
- package/dist/chunks/cli-1.1.20-nkrcdd4b.mjs +2 -0
- package/dist/chunks/cli-1.1.20-nmnzdvrw.mjs +2 -0
- package/dist/chunks/cli-1.1.20-nqwt6n3q.mjs +2 -0
- package/dist/chunks/cli-1.1.20-p0jj07wv.mjs +2 -0
- package/dist/chunks/cli-1.1.20-pfqkbt31.mjs +2 -0
- package/dist/chunks/cli-1.1.20-pg7cfgsa.mjs +2 -0
- package/dist/chunks/cli-1.1.20-psbfz74f.mjs +2 -0
- package/dist/chunks/cli-1.1.20-py0s55wt.mjs +2 -0
- package/dist/chunks/cli-1.1.20-q4bfnf9w.mjs +2 -0
- package/dist/chunks/cli-1.1.20-qbmhpfn5.mjs +15 -0
- package/dist/chunks/cli-1.1.20-qkdde9ck.mjs +2 -0
- package/dist/chunks/cli-1.1.20-r4xfymtx.mjs +60 -0
- package/dist/chunks/cli-1.1.20-r55gwcq5.mjs +2 -0
- package/dist/chunks/cli-1.1.20-r7y2pq10.mjs +2 -0
- package/dist/chunks/cli-1.1.20-rdjbzkh4.mjs +2 -0
- package/dist/chunks/cli-1.1.20-rmvq7swt.mjs +2 -0
- package/dist/chunks/cli-1.1.20-rsrj8q6n.mjs +3 -0
- package/dist/chunks/cli-1.1.20-rvch3wwj.mjs +2 -0
- package/dist/chunks/cli-1.1.20-rvn2axad.mjs +16 -0
- package/dist/chunks/cli-1.1.20-ry7grtff.mjs +2 -0
- package/dist/chunks/cli-1.1.20-ryb6r2jj.mjs +2 -0
- package/dist/chunks/cli-1.1.20-se0125ky.mjs +2 -0
- package/dist/chunks/cli-1.1.20-snwfck2n.mjs +2 -0
- package/dist/chunks/cli-1.1.20-swewj6d5.mjs +2 -0
- package/dist/chunks/cli-1.1.20-sx7811qs.mjs +5419 -0
- package/dist/chunks/cli-1.1.20-sykpdv9k.mjs +4 -0
- package/dist/chunks/cli-1.1.20-t4zen7fz.mjs +2 -0
- package/dist/chunks/cli-1.1.20-t9y64aq1.mjs +2 -0
- package/dist/chunks/cli-1.1.20-tbtnrzgn.mjs +6 -0
- package/dist/chunks/cli-1.1.20-tgpt56rj.mjs +2 -0
- package/dist/chunks/cli-1.1.20-thtv1xqb.mjs +2 -0
- package/dist/chunks/cli-1.1.20-twysxm6j.mjs +2 -0
- package/dist/chunks/cli-1.1.20-txm7z2xq.mjs +2 -0
- package/dist/chunks/cli-1.1.20-ty0gqe2q.mjs +2 -0
- package/dist/chunks/cli-1.1.20-v6kdm8qp.mjs +2 -0
- package/dist/chunks/cli-1.1.20-vf1ea98p.mjs +2 -0
- package/dist/chunks/cli-1.1.20-vxrv3y7w.mjs +9 -0
- package/dist/chunks/cli-1.1.20-w24tmpq4.mjs +7 -0
- package/dist/chunks/cli-1.1.20-w6gv2drs.mjs +2 -0
- package/dist/chunks/cli-1.1.20-wadq5w8t.mjs +2 -0
- package/dist/chunks/cli-1.1.20-we3ekctq.mjs +2 -0
- package/dist/chunks/cli-1.1.20-wn9t9syd.mjs +2 -0
- package/dist/chunks/cli-1.1.20-wr994817.mjs +18 -0
- package/dist/chunks/cli-1.1.20-wrat5rtg.mjs +2 -0
- package/dist/chunks/cli-1.1.20-wszdp4dg.mjs +3 -0
- package/dist/chunks/cli-1.1.20-wt0ygwrd.mjs +6 -0
- package/dist/chunks/cli-1.1.20-wtxwvcad.mjs +4 -0
- package/dist/chunks/cli-1.1.20-wx90y3jb.mjs +24 -0
- package/dist/chunks/cli-1.1.20-wxxphhy4.mjs +2 -0
- package/dist/chunks/cli-1.1.20-wz4h58mp.mjs +2 -0
- package/dist/chunks/cli-1.1.20-x2y5vr9b.mjs +3 -0
- package/dist/chunks/cli-1.1.20-x3cdhjtp.mjs +24 -0
- package/dist/chunks/cli-1.1.20-x3sn0d4f.mjs +2 -0
- package/dist/chunks/cli-1.1.20-x4ezs1pz.mjs +2 -0
- package/dist/chunks/cli-1.1.20-xk4edb6r.mjs +3 -0
- package/dist/chunks/cli-1.1.20-xkatp3rd.mjs +2 -0
- package/dist/chunks/cli-1.1.20-xmkwnf9c.mjs +2 -0
- package/dist/chunks/cli-1.1.20-xvytevdy.mjs +4 -0
- package/dist/chunks/cli-1.1.20-y4b0v8se.mjs +50 -0
- package/dist/chunks/cli-1.1.20-y9jwxk0y.mjs +17 -0
- package/dist/chunks/cli-1.1.20-yh2kxsxg.mjs +4 -0
- package/dist/chunks/cli-1.1.20-yq2kjrr2.mjs +2 -0
- package/dist/chunks/cli-1.1.20-z4ndf118.mjs +2 -0
- package/dist/chunks/cli-1.1.20-zgg887a7.mjs +4 -0
- package/dist/chunks/cli-1.1.20-zhn44mv6.mjs +2 -0
- package/dist/chunks/cli-1.1.20-zvce3e9x.mjs +2 -0
- package/dist/chunks/client-1.1.20-yzk4md3m.mjs +1 -0
- package/dist/chunks/color-1.1.20-nvfrt651.mjs +1 -0
- package/dist/chunks/compact-1.1.20-t1p5wzzx.mjs +3 -0
- package/dist/chunks/config-1.1.20-f5vnf3mj.mjs +1 -0
- package/dist/chunks/config-1.1.20-fyrs9k0m.mjs +1 -0
- package/dist/chunks/constants-1.1.20-2p88w4e8.mjs +1 -0
- package/dist/chunks/context-1.1.20-q5c07f98.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.20-m97bd3hc.mjs +1 -0
- package/dist/chunks/conversation-1.1.20-2tdp5wat.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.20-6bf1fkfp.mjs +1 -0
- package/dist/chunks/copy-1.1.20-jx18zafs.mjs +9 -0
- package/dist/chunks/cost-1.1.20-cvh7ag89.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.20-yrms9nqw.mjs +1 -0
- package/dist/chunks/createSession-1.1.20-c72cffnc.mjs +1 -0
- package/dist/chunks/debug-1.1.20-2fqdvvvc.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.20-hwtzy20f.mjs +1534 -0
- package/dist/chunks/desktop-1.1.20-mgz7c45r.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.20-d5fezv23.mjs +1 -0
- package/dist/chunks/detection-1.1.20-b17bg403.mjs +1 -0
- package/dist/chunks/diff-1.1.20-rgydsj6p.mjs +1 -0
- package/dist/chunks/doctor-1.1.20-jk5ar7pz.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.20-0q5qfybh.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.20-w47zy9sy.mjs +1 -0
- package/dist/chunks/effort-1.1.20-hy8t94kh.mjs +13 -0
- package/dist/chunks/engine-1.1.20-4etdjq40.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.20-1c7pmf1x.mjs +1 -0
- package/dist/chunks/envUtils-1.1.20-8687estk.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.20-vtn95gpz.mjs +1 -0
- package/dist/chunks/environments-1.1.20-n27s3sfh.mjs +1 -0
- package/dist/chunks/errors-1.1.20-a30dbhvw.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.20-97zbp5r8.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.20-zvnsd219.mjs +1 -0
- package/dist/chunks/exit-1.1.20-g7dar7aa.mjs +1 -0
- package/dist/chunks/explorer-1.1.20-m606rm48.mjs +1 -0
- package/dist/chunks/export-1.1.20-mgwvg841.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.20-baf3f8zp.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.20-60c2b66b.mjs +1 -0
- package/dist/chunks/fast-1.1.20-0cv5rvjb.mjs +1 -0
- package/dist/chunks/feedback-1.1.20-cn6v1mdj.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.20-26b3hvex.mjs +1 -0
- package/dist/chunks/git-1.1.20-16amvfft.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.20-g1tq2ecq.mjs +1 -0
- package/dist/chunks/goal-1.1.20-k5akp14a.mjs +4 -0
- package/dist/chunks/growthbook-1.1.20-yrs6qd7c.mjs +1 -0
- package/dist/chunks/headless-1.1.20-ab6xrkks.mjs +2 -0
- package/dist/chunks/heapdump-1.1.20-7ty4e4da.mjs +6 -0
- package/dist/chunks/help-1.1.20-drmq3b45.mjs +1 -0
- package/dist/chunks/hookChains-1.1.20-9xe50nmq.mjs +3 -0
- package/dist/chunks/hooks-1.1.20-ea0rjbyd.mjs +1 -0
- package/dist/chunks/hooks-1.1.20-h3ac1ems.mjs +79 -0
- package/dist/chunks/ide-1.1.20-e5k4xqrh.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.20-yxmq33b1.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.20-2e8y4p87.mjs +1 -0
- package/dist/chunks/index-1.1.20-2gxqgc08.mjs +1 -0
- package/dist/chunks/index-1.1.20-3vkfmzw3.mjs +30 -0
- package/dist/chunks/index-1.1.20-7esm5m4s.mjs +23 -0
- package/dist/chunks/index-1.1.20-bszeeg1q.mjs +1 -0
- package/dist/chunks/index-1.1.20-cv1fhrne.mjs +1 -0
- package/dist/chunks/index-1.1.20-e27z5gwd.mjs +1 -0
- package/dist/chunks/index-1.1.20-hzw72qk9.mjs +1 -0
- package/dist/chunks/index-1.1.20-mmt768hj.mjs +5 -0
- package/dist/chunks/index-1.1.20-ms7qs4m6.mjs +1 -0
- package/dist/chunks/index-1.1.20-nkjdz68f.mjs +1 -0
- package/dist/chunks/index-1.1.20-ptjvr4qj.mjs +1 -0
- package/dist/chunks/index-1.1.20-qa9tjj42.mjs +2 -0
- package/dist/chunks/index-1.1.20-r3h0dypg.mjs +1 -0
- package/dist/chunks/index-1.1.20-rcx2fneb.mjs +1 -0
- package/dist/chunks/index-1.1.20-rdm3n4y9.mjs +2 -0
- package/dist/chunks/index-1.1.20-rm6ekqj7.mjs +9 -0
- package/dist/chunks/index-1.1.20-s7fb4knz.mjs +1 -0
- package/dist/chunks/index-1.1.20-s7x9dsyr.mjs +1 -0
- package/dist/chunks/index-1.1.20-t9j801bt.mjs +9 -0
- package/dist/chunks/index-1.1.20-vvmarmb0.mjs +1 -0
- package/dist/chunks/index-1.1.20-w3efr5jj.mjs +1 -0
- package/dist/chunks/index-1.1.20-y78x64xh.mjs +1 -0
- package/dist/chunks/index-1.1.20-z42w2g06.mjs +1 -0
- package/dist/chunks/init-1.1.20-1md8nn1q.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.20-5zfa29sw.mjs +1 -0
- package/dist/chunks/ink-1.1.20-4rp0112s.mjs +1 -0
- package/dist/chunks/insights-1.1.20-fs1yxv8w.mjs +870 -0
- package/dist/chunks/install-1.1.20-g8hq9z8r.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.20-t1etxwvv.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.20-x4r2g8jm.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.20-8axp9w08.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.20-w1c5qa1c.mjs +1 -0
- package/dist/chunks/keybindings-1.1.20-t46j6vqd.mjs +2 -0
- package/dist/chunks/knowledge-1.1.20-fay2dby4.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.20-18wdnnqq.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.20-ja86yn75.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.20-rpwz8enf.mjs +1 -0
- package/dist/chunks/log-1.1.20-jab23qgp.mjs +1 -0
- package/dist/chunks/main-1.1.20-1tszrrj3.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.20-jhwtkzzq.mjs +1 -0
- package/dist/chunks/mcp-1.1.20-b3j31d37.mjs +17 -0
- package/dist/chunks/mcp-1.1.20-ggtdpb22.mjs +4 -0
- package/dist/chunks/mcp-1.1.20-r35rcax5.mjs +1 -0
- package/dist/chunks/mcpb-1.1.20-nmxsjrst.mjs +1 -0
- package/dist/chunks/memory-1.1.20-2fbhrnrk.mjs +72 -0
- package/dist/chunks/model-1.1.20-2nstg3gs.mjs +2 -0
- package/dist/chunks/model-1.1.20-ag4na6w9.mjs +1 -0
- package/dist/chunks/node-1.1.20-7meq917d.mjs +14 -0
- package/dist/chunks/oauth-1.1.20-xkcs3s0v.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.20-1jxfjf9e.mjs +14 -0
- package/dist/chunks/output-style-1.1.20-m38djt42.mjs +1 -0
- package/dist/chunks/package-ZOVFJE7Z-1.1.20-83n7wkxr.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.20-372zdrpd.mjs +1 -0
- package/dist/chunks/parser-1.1.20-gxyz7x28.mjs +1 -0
- package/dist/chunks/passes-1.1.20-ytgbf2dw.mjs +1 -0
- package/dist/chunks/permissions-1.1.20-s9ae41qy.mjs +3 -0
- package/dist/chunks/permissions-1.1.20-y9c9w35s.mjs +1 -0
- package/dist/chunks/plan-1.1.20-wbg3rbe5.mjs +1 -0
- package/dist/chunks/plist-1.1.20-ammve61n.mjs +1 -0
- package/dist/chunks/plugin-1.1.20-kprz45ck.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.20-0s19k556.mjs +1 -0
- package/dist/chunks/plugins-1.1.20-zcnf29dz.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.20-q1vqezxz.mjs +2 -0
- package/dist/chunks/print-1.1.20-jtj5dvm1.mjs +57 -0
- package/dist/chunks/process-1.1.20-gvna1rw4.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.20-4gf4hf9q.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.20-x7cpvyb1.mjs +9 -0
- package/dist/chunks/prompt-1.1.20-44tt0aay.mjs +1 -0
- package/dist/chunks/prompt-1.1.20-kd8b5z70.mjs +1 -0
- package/dist/chunks/prompts-1.1.20-p30n6333.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.20-k4c3bckj.mjs +13 -0
- package/dist/chunks/provider-1.1.20-x6r7w9y0.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.20-qr1eh5g1.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.20-whqrd8y7.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.20-hjftrz50.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.20-rspt0fgv.mjs +26 -0
- package/dist/chunks/registry-1.1.20-0mggqvzs.mjs +1 -0
- package/dist/chunks/release-notes-1.1.20-vb0mr5sj.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.20-vh7daesv.mjs +2 -0
- package/dist/chunks/remote-env-1.1.20-sarjwtd8.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.20-wn384wtw.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.20-v6xk4jcm.mjs +1 -0
- package/dist/chunks/rename-1.1.20-f8mjn6dk.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.20-rgnef71a.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.20-gtmq90n0.mjs +1 -0
- package/dist/chunks/resume-1.1.20-6azc4a6d.mjs +2 -0
- package/dist/chunks/rewind-1.1.20-y79g5sa8.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.20-j01mdex3.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.20-rjt6cc5k.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.20-2fy5bxtc.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.20-3fhx4jz1.mjs +1 -0
- package/dist/chunks/session-1.1.20-56bsxwcm.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.20-5awvar7p.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.20-p0m1trtr.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.20-kzwv0rca.mjs +1 -0
- package/dist/chunks/settings-1.1.20-qq5nh010.mjs +1 -0
- package/dist/chunks/setup-1.1.20-rxx0xk5h.mjs +12 -0
- package/dist/chunks/sinks-1.1.20-r3j94336.mjs +1 -0
- package/dist/chunks/skills-1.1.20-rj3k67vs.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.20-28r68j3h.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.20-na2gc2z0.mjs +1 -0
- package/dist/chunks/state-1.1.20-87k38gkf.mjs +1 -0
- package/dist/chunks/stats-1.1.20-4f0k42ck.mjs +6 -0
- package/dist/chunks/status-1.1.20-4q8drpbw.mjs +1 -0
- package/dist/chunks/stickers-1.1.20-6zrpy168.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.20-ay4xqbmj.mjs +1 -0
- package/dist/chunks/tasks-1.1.20-94bxr0pm.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.20-2wx4ycs3.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.20-84jswprz.mjs +1 -0
- package/dist/chunks/teleport-1.1.20-szer4192.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.20-6c6rr077.mjs +1 -0
- package/dist/chunks/theme-1.1.20-h0j5bxzv.mjs +1 -0
- package/dist/chunks/thinkback-1.1.20-xx7byjz0.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.20-y7e52jdn.mjs +1 -0
- package/dist/chunks/toolPool-1.1.20-3z7k5za6.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.20-60qd9jdb.mjs +1 -0
- package/dist/chunks/tools-1.1.20-x11zs4y1.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.20-2xcp041p.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.20-cvck081c.mjs +69 -0
- package/dist/chunks/types-1.1.20-143w1akg.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.20-0ahamh6w.mjs +4 -0
- package/dist/chunks/update-1.1.20-yy0y40m9.mjs +72 -0
- package/dist/chunks/upgrade-1.1.20-wk6398hc.mjs +1 -0
- package/dist/chunks/upload-1.1.20-x7890nxj.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.20-9fag2s50.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.20-98f7t8ex.mjs +1 -0
- package/dist/chunks/usage-1.1.20-x3t5jqtp.mjs +1 -0
- package/dist/chunks/util-1.1.20-6yg0jab0.mjs +1 -0
- package/dist/chunks/utils-1.1.20-eextgt51.mjs +1 -0
- package/dist/chunks/vim-1.1.20-45mkg766.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.20-m6zydt8m.mjs +13 -0
- package/dist/chunks/watcher-1.1.20-qtj8t09d.mjs +1 -0
- package/dist/chunks/wiki-1.1.20-3mvcvdfe.mjs +132 -0
- package/dist/chunks/workflows-1.1.20-19kpvc6v.mjs +1 -0
- package/dist/chunks/worktree-1.1.20-mj9bm0pg.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.20-gyvs55qh.mjs +1 -0
- package/dist/chunks/wrapper-1.1.20-8rckzejb.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.18-8r539yq1.mjs +0 -1
- package/dist/chunks/App-1.1.18-9qegazdp.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.18-75srd2ah.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.18-8s0prsvd.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.18-8908as3d.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.18-hzr5qznb.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.18-11b01q4g.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.18-gdmxhc4c.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.18-0ve87kmt.mjs +0 -6
- package/dist/chunks/Doctor-1.1.18-bm9y9hp0.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.18-s5gycf8y.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.18-ck22r980.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.18-k4rxj60y.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.18-7jtsdcvz.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.18-79c4xptb.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.18-at9smz0c.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.18-fmn6pds0.mjs +0 -1
- package/dist/chunks/REPL-1.1.18-ethctbw9.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.18-7jny2tma.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.18-4tt9s4sx.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.18-9y6kadd2.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.18-0zp920qr.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.18-ywhxqdw4.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.18-cfmzwnnw.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.18-7czxxmxn.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.18-q46q6gnr.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.18-0s9sbdx0.mjs +0 -1
- package/dist/chunks/add-dir-1.1.18-2v7nqdda.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.18-5tbxn6cp.mjs +0 -1
- package/dist/chunks/agents-1.1.18-1zj1bttk.mjs +0 -110
- package/dist/chunks/agents-1.1.18-n28gzp6b.mjs +0 -3
- package/dist/chunks/api-1.1.18-kb26phxt.mjs +0 -1
- package/dist/chunks/asciicast-1.1.18-q0418p4r.mjs +0 -1
- package/dist/chunks/assistant-1.1.18-ky0pcnme.mjs +0 -1
- package/dist/chunks/auth-1.1.18-4de9sj97.mjs +0 -1
- package/dist/chunks/auth-1.1.18-6yqhszf3.mjs +0 -1
- package/dist/chunks/autoMode-1.1.18-63jx6p2w.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.18-bk6w4529.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.18-bg5z208x.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.18-3m48d47f.mjs +0 -1
- package/dist/chunks/branch-1.1.18-sgfz4w61.mjs +0 -4
- package/dist/chunks/bridge-1.1.18-ewtwajff.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.18-6aeg22kg.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.18-2ybc4ee8.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.18-pt5dztgy.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.18-w72zdv7w.mjs +0 -1
- package/dist/chunks/btw-1.1.18-w43t3mem.mjs +0 -1
- package/dist/chunks/buddy-1.1.18-zfhza9df.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.18-ap6m4e42.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.18-gcvx2d6q.mjs +0 -4
- package/dist/chunks/caches-1.1.18-warrda1f.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.18-v3ghw0k9.mjs +0 -1
- package/dist/chunks/claudemd-1.1.18-b6tnjsjw.mjs +0 -1
- package/dist/chunks/clear-1.1.18-8abstaz1.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.18-wgv6q897.mjs +0 -1
- package/dist/chunks/cli-1.1.18-018bk764.mjs +0 -2
- package/dist/chunks/cli-1.1.18-049a81dd.mjs +0 -25
- package/dist/chunks/cli-1.1.18-0aakxjsk.mjs +0 -2
- package/dist/chunks/cli-1.1.18-0h118vrj.mjs +0 -2
- package/dist/chunks/cli-1.1.18-0tg14dph.mjs +0 -2
- package/dist/chunks/cli-1.1.18-0xknnw9q.mjs +0 -2
- package/dist/chunks/cli-1.1.18-0y6qt71a.mjs +0 -2
- package/dist/chunks/cli-1.1.18-0yhfm17h.mjs +0 -2
- package/dist/chunks/cli-1.1.18-0z5526z3.mjs +0 -4
- package/dist/chunks/cli-1.1.18-12tzkcxz.mjs +0 -2
- package/dist/chunks/cli-1.1.18-18rbpjbc.mjs +0 -2
- package/dist/chunks/cli-1.1.18-1c8pr80a.mjs +0 -2
- package/dist/chunks/cli-1.1.18-1spz0azv.mjs +0 -3
- package/dist/chunks/cli-1.1.18-1t3rb5a8.mjs +0 -2
- package/dist/chunks/cli-1.1.18-251zfmjp.mjs +0 -5
- package/dist/chunks/cli-1.1.18-27b82jjj.mjs +0 -3
- package/dist/chunks/cli-1.1.18-2ach0t0d.mjs +0 -7
- package/dist/chunks/cli-1.1.18-2gvrr93b.mjs +0 -2
- package/dist/chunks/cli-1.1.18-2k96kgmz.mjs +0 -2
- package/dist/chunks/cli-1.1.18-2qvvz2tv.mjs +0 -2
- package/dist/chunks/cli-1.1.18-2vdwwm5f.mjs +0 -3
- package/dist/chunks/cli-1.1.18-2w9274tq.mjs +0 -59
- package/dist/chunks/cli-1.1.18-2wsf8n3w.mjs +0 -3
- package/dist/chunks/cli-1.1.18-3b5j4jfq.mjs +0 -2
- package/dist/chunks/cli-1.1.18-3pn5knk8.mjs +0 -2
- package/dist/chunks/cli-1.1.18-3rm83ba2.mjs +0 -2
- package/dist/chunks/cli-1.1.18-3rxhxwbk.mjs +0 -4
- package/dist/chunks/cli-1.1.18-3s03nva1.mjs +0 -2
- package/dist/chunks/cli-1.1.18-3w57qes2.mjs +0 -2
- package/dist/chunks/cli-1.1.18-3y4pftxb.mjs +0 -206
- package/dist/chunks/cli-1.1.18-3z65nz4z.mjs +0 -2
- package/dist/chunks/cli-1.1.18-417wb57s.mjs +0 -2
- package/dist/chunks/cli-1.1.18-462kn9pt.mjs +0 -2
- package/dist/chunks/cli-1.1.18-4c3jqppx.mjs +0 -2
- package/dist/chunks/cli-1.1.18-4f2ncqzp.mjs +0 -45
- package/dist/chunks/cli-1.1.18-4h2r40da.mjs +0 -2
- package/dist/chunks/cli-1.1.18-4jy396p1.mjs +0 -6
- package/dist/chunks/cli-1.1.18-553zzrge.mjs +0 -2
- package/dist/chunks/cli-1.1.18-56vce0gb.mjs +0 -2
- package/dist/chunks/cli-1.1.18-5dw1bb8m.mjs +0 -2
- package/dist/chunks/cli-1.1.18-5fhws40c.mjs +0 -2
- package/dist/chunks/cli-1.1.18-5mr13yxz.mjs +0 -2
- package/dist/chunks/cli-1.1.18-5pa0bk59.mjs +0 -2
- package/dist/chunks/cli-1.1.18-5s8f8gd5.mjs +0 -3
- package/dist/chunks/cli-1.1.18-6hjdcw80.mjs +0 -2
- package/dist/chunks/cli-1.1.18-6nxyz9v3.mjs +0 -2
- package/dist/chunks/cli-1.1.18-6w9m5m4s.mjs +0 -2
- package/dist/chunks/cli-1.1.18-6wrbe4ft.mjs +0 -4
- package/dist/chunks/cli-1.1.18-703emt7y.mjs +0 -16
- package/dist/chunks/cli-1.1.18-70jytem3.mjs +0 -2
- package/dist/chunks/cli-1.1.18-70ktef72.mjs +0 -2
- package/dist/chunks/cli-1.1.18-71zz07m4.mjs +0 -3
- package/dist/chunks/cli-1.1.18-7g6xwfbz.mjs +0 -2
- package/dist/chunks/cli-1.1.18-7nsrr2k0.mjs +0 -2
- package/dist/chunks/cli-1.1.18-7pcfwrhj.mjs +0 -2
- package/dist/chunks/cli-1.1.18-7set7d4d.mjs +0 -3
- package/dist/chunks/cli-1.1.18-7wccrsx9.mjs +0 -2
- package/dist/chunks/cli-1.1.18-7xc4d1d9.mjs +0 -2
- package/dist/chunks/cli-1.1.18-86jznh5v.mjs +0 -2
- package/dist/chunks/cli-1.1.18-8fpwak2g.mjs +0 -4
- package/dist/chunks/cli-1.1.18-8thyc5yy.mjs +0 -2
- package/dist/chunks/cli-1.1.18-8vxrthte.mjs +0 -4
- package/dist/chunks/cli-1.1.18-8zrm4yfd.mjs +0 -2
- package/dist/chunks/cli-1.1.18-948h21gh.mjs +0 -2
- package/dist/chunks/cli-1.1.18-99wvb94x.mjs +0 -2
- package/dist/chunks/cli-1.1.18-9cpcw7fg.mjs +0 -2
- package/dist/chunks/cli-1.1.18-9jkqy8de.mjs +0 -2
- package/dist/chunks/cli-1.1.18-9zvacjd0.mjs +0 -2
- package/dist/chunks/cli-1.1.18-a888prq4.mjs +0 -6
- package/dist/chunks/cli-1.1.18-aek1gddg.mjs +0 -2
- package/dist/chunks/cli-1.1.18-af7txyky.mjs +0 -133
- package/dist/chunks/cli-1.1.18-aj93qvyc.mjs +0 -3
- package/dist/chunks/cli-1.1.18-avas0dtp.mjs +0 -2
- package/dist/chunks/cli-1.1.18-avhbxgh1.mjs +0 -2
- package/dist/chunks/cli-1.1.18-awvejq1d.mjs +0 -2
- package/dist/chunks/cli-1.1.18-b4azpwk0.mjs +0 -18
- package/dist/chunks/cli-1.1.18-b5h22srd.mjs +0 -2
- package/dist/chunks/cli-1.1.18-bfzft69m.mjs +0 -2
- package/dist/chunks/cli-1.1.18-c9h4ga5f.mjs +0 -2
- package/dist/chunks/cli-1.1.18-cahfd7zp.mjs +0 -15
- package/dist/chunks/cli-1.1.18-ccbh77pf.mjs +0 -2
- package/dist/chunks/cli-1.1.18-cd5r9mfb.mjs +0 -2
- package/dist/chunks/cli-1.1.18-cj8tr93q.mjs +0 -2
- package/dist/chunks/cli-1.1.18-cjkn7t4k.mjs +0 -2
- package/dist/chunks/cli-1.1.18-cphcr3xr.mjs +0 -15
- package/dist/chunks/cli-1.1.18-cqmjby3t.mjs +0 -24
- package/dist/chunks/cli-1.1.18-crpxak5f.mjs +0 -2
- package/dist/chunks/cli-1.1.18-cxg522yt.mjs +0 -4
- package/dist/chunks/cli-1.1.18-cy0ypdkd.mjs +0 -2
- package/dist/chunks/cli-1.1.18-dcrg5hwd.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ddreb78e.mjs +0 -2
- package/dist/chunks/cli-1.1.18-dq2vate5.mjs +0 -2
- package/dist/chunks/cli-1.1.18-dvyh5qzn.mjs +0 -2
- package/dist/chunks/cli-1.1.18-dzbn08g2.mjs +0 -2
- package/dist/chunks/cli-1.1.18-e107yrwx.mjs +0 -2
- package/dist/chunks/cli-1.1.18-e8stczm5.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ecds9fxm.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ek85fj6n.mjs +0 -2
- package/dist/chunks/cli-1.1.18-erjpjwnr.mjs +0 -4
- package/dist/chunks/cli-1.1.18-esvp6n4e.mjs +0 -66
- package/dist/chunks/cli-1.1.18-ezpyhrzw.mjs +0 -133
- package/dist/chunks/cli-1.1.18-f2j32mha.mjs +0 -2
- package/dist/chunks/cli-1.1.18-f5ggv7be.mjs +0 -2
- package/dist/chunks/cli-1.1.18-f6m259he.mjs +0 -2
- package/dist/chunks/cli-1.1.18-f7jag2rr.mjs +0 -2
- package/dist/chunks/cli-1.1.18-f8sy5pe3.mjs +0 -3
- package/dist/chunks/cli-1.1.18-fh3h37zy.mjs +0 -8
- package/dist/chunks/cli-1.1.18-fr4nmsgv.mjs +0 -3
- package/dist/chunks/cli-1.1.18-fst0kx9m.mjs +0 -24
- package/dist/chunks/cli-1.1.18-gdvh8p4h.mjs +0 -2
- package/dist/chunks/cli-1.1.18-gnd39prj.mjs +0 -18
- package/dist/chunks/cli-1.1.18-gvzkraze.mjs +0 -2
- package/dist/chunks/cli-1.1.18-gz2c86d2.mjs +0 -2
- package/dist/chunks/cli-1.1.18-hbv881pn.mjs +0 -2
- package/dist/chunks/cli-1.1.18-heh8xz6x.mjs +0 -2
- package/dist/chunks/cli-1.1.18-hg5srcxb.mjs +0 -7
- package/dist/chunks/cli-1.1.18-hgn94jwm.mjs +0 -2
- package/dist/chunks/cli-1.1.18-hjp96a36.mjs +0 -2
- package/dist/chunks/cli-1.1.18-hphxdvpd.mjs +0 -17
- package/dist/chunks/cli-1.1.18-hsqq1hdd.mjs +0 -9
- package/dist/chunks/cli-1.1.18-hvd9yyb4.mjs +0 -2
- package/dist/chunks/cli-1.1.18-j1ryg6qv.mjs +0 -2
- package/dist/chunks/cli-1.1.18-j372h4fv.mjs +0 -4
- package/dist/chunks/cli-1.1.18-j461dthr.mjs +0 -2
- package/dist/chunks/cli-1.1.18-j5zh2pdx.mjs +0 -17
- package/dist/chunks/cli-1.1.18-jcqz5j7y.mjs +0 -2
- package/dist/chunks/cli-1.1.18-jgwwkx62.mjs +0 -58
- package/dist/chunks/cli-1.1.18-jjekxppq.mjs +0 -25
- package/dist/chunks/cli-1.1.18-jp0phw3q.mjs +0 -2
- package/dist/chunks/cli-1.1.18-k05shz35.mjs +0 -2
- package/dist/chunks/cli-1.1.18-k11n6026.mjs +0 -3
- package/dist/chunks/cli-1.1.18-k1pkc44n.mjs +0 -2
- package/dist/chunks/cli-1.1.18-kj7gj6vk.mjs +0 -3
- package/dist/chunks/cli-1.1.18-kkr6w2g7.mjs +0 -2
- package/dist/chunks/cli-1.1.18-m04wmdz7.mjs +0 -9
- package/dist/chunks/cli-1.1.18-mfjtdkn6.mjs +0 -20
- package/dist/chunks/cli-1.1.18-mg0s34rf.mjs +0 -2
- package/dist/chunks/cli-1.1.18-mg7jmbh9.mjs +0 -2
- package/dist/chunks/cli-1.1.18-mhy7qzsz.mjs +0 -21
- package/dist/chunks/cli-1.1.18-mm8bkmax.mjs +0 -2
- package/dist/chunks/cli-1.1.18-mqwcfz14.mjs +0 -2
- package/dist/chunks/cli-1.1.18-mrrbn0jj.mjs +0 -6
- package/dist/chunks/cli-1.1.18-mwevzyy2.mjs +0 -2
- package/dist/chunks/cli-1.1.18-mycrby1p.mjs +0 -2
- package/dist/chunks/cli-1.1.18-mz10pywc.mjs +0 -2
- package/dist/chunks/cli-1.1.18-n05vxdaj.mjs +0 -2
- package/dist/chunks/cli-1.1.18-n7dkmrv9.mjs +0 -24
- package/dist/chunks/cli-1.1.18-ndct9t5e.mjs +0 -4
- package/dist/chunks/cli-1.1.18-npdweafk.mjs +0 -6
- package/dist/chunks/cli-1.1.18-ns45fmht.mjs +0 -2
- package/dist/chunks/cli-1.1.18-p0ey1z9w.mjs +0 -2
- package/dist/chunks/cli-1.1.18-p28wy0mz.mjs +0 -2
- package/dist/chunks/cli-1.1.18-p3yf1aq6.mjs +0 -42
- package/dist/chunks/cli-1.1.18-p5rqk1qq.mjs +0 -2
- package/dist/chunks/cli-1.1.18-pbdm30bs.mjs +0 -2
- package/dist/chunks/cli-1.1.18-psb6qqc1.mjs +0 -2
- package/dist/chunks/cli-1.1.18-pt16bxrm.mjs +0 -2
- package/dist/chunks/cli-1.1.18-pzeg2p3k.mjs +0 -2
- package/dist/chunks/cli-1.1.18-q7qp6pv5.mjs +0 -2
- package/dist/chunks/cli-1.1.18-qrz1vgy2.mjs +0 -2
- package/dist/chunks/cli-1.1.18-qs28eyy1.mjs +0 -2
- package/dist/chunks/cli-1.1.18-qykcs1fr.mjs +0 -4
- package/dist/chunks/cli-1.1.18-r50x1ezt.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ra67yknr.mjs +0 -6
- package/dist/chunks/cli-1.1.18-rbfhhwym.mjs +0 -2
- package/dist/chunks/cli-1.1.18-rbkz8pj4.mjs +0 -2
- package/dist/chunks/cli-1.1.18-rnqtkprk.mjs +0 -2
- package/dist/chunks/cli-1.1.18-rp84hvn4.mjs +0 -2
- package/dist/chunks/cli-1.1.18-rykfqnyd.mjs +0 -2
- package/dist/chunks/cli-1.1.18-s5nhwqft.mjs +0 -2
- package/dist/chunks/cli-1.1.18-sdsvkqmn.mjs +0 -2
- package/dist/chunks/cli-1.1.18-sq93n51h.mjs +0 -2
- package/dist/chunks/cli-1.1.18-t526ry94.mjs +0 -34
- package/dist/chunks/cli-1.1.18-ta6r8qry.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ts8ermsd.mjs +0 -2
- package/dist/chunks/cli-1.1.18-v42h6ekh.mjs +0 -15
- package/dist/chunks/cli-1.1.18-v4gc446r.mjs +0 -2
- package/dist/chunks/cli-1.1.18-v5btk93t.mjs +0 -3
- package/dist/chunks/cli-1.1.18-v75xqnbv.mjs +0 -2
- package/dist/chunks/cli-1.1.18-vgfpa3bs.mjs +0 -5
- package/dist/chunks/cli-1.1.18-vnsqk2vn.mjs +0 -2
- package/dist/chunks/cli-1.1.18-vx2rxj7b.mjs +0 -2
- package/dist/chunks/cli-1.1.18-vymgw42z.mjs +0 -2
- package/dist/chunks/cli-1.1.18-vzrv28w4.mjs +0 -24
- package/dist/chunks/cli-1.1.18-wp7r00wk.mjs +0 -2
- package/dist/chunks/cli-1.1.18-wzpxr762.mjs +0 -50
- package/dist/chunks/cli-1.1.18-x0bha3jf.mjs +0 -2
- package/dist/chunks/cli-1.1.18-x7jyxff1.mjs +0 -3
- package/dist/chunks/cli-1.1.18-x7k6y949.mjs +0 -39
- package/dist/chunks/cli-1.1.18-xfb4pete.mjs +0 -5410
- package/dist/chunks/cli-1.1.18-xpxkw4js.mjs +0 -2
- package/dist/chunks/cli-1.1.18-y0eah2b9.mjs +0 -2
- package/dist/chunks/cli-1.1.18-y89tqne6.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ybazgea3.mjs +0 -1
- package/dist/chunks/cli-1.1.18-ybfayy4j.mjs +0 -2
- package/dist/chunks/cli-1.1.18-yk1f4vsx.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ypcye8ae.mjs +0 -6
- package/dist/chunks/cli-1.1.18-ythtynpe.mjs +0 -12
- package/dist/chunks/cli-1.1.18-yymp5d28.mjs +0 -12
- package/dist/chunks/cli-1.1.18-yysexesh.mjs +0 -2
- package/dist/chunks/cli-1.1.18-zd969gzb.mjs +0 -2
- package/dist/chunks/cli-1.1.18-zdx4ywwf.mjs +0 -2
- package/dist/chunks/cli-1.1.18-ztyf20j1.mjs +0 -2
- package/dist/chunks/client-1.1.18-zdqzxpen.mjs +0 -1
- package/dist/chunks/color-1.1.18-qt7znj00.mjs +0 -1
- package/dist/chunks/compact-1.1.18-qev191am.mjs +0 -3
- package/dist/chunks/config-1.1.18-9kjysdvn.mjs +0 -1
- package/dist/chunks/config-1.1.18-am3webex.mjs +0 -1
- package/dist/chunks/constants-1.1.18-hdfyvthe.mjs +0 -1
- package/dist/chunks/context-1.1.18-ywdzshyf.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.18-ncf3febd.mjs +0 -1
- package/dist/chunks/conversation-1.1.18-h1q8gp2k.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.18-t0s2718z.mjs +0 -1
- package/dist/chunks/copy-1.1.18-66cbtmsa.mjs +0 -9
- package/dist/chunks/cost-1.1.18-350gegdk.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.18-vgmc8evp.mjs +0 -1
- package/dist/chunks/createSession-1.1.18-0e04rk8g.mjs +0 -1
- package/dist/chunks/debug-1.1.18-c4v63z13.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.18-jg2xdcgn.mjs +0 -1534
- package/dist/chunks/desktop-1.1.18-sghgn08z.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.18-m0xvtgqt.mjs +0 -1
- package/dist/chunks/detection-1.1.18-d7kpetjp.mjs +0 -1
- package/dist/chunks/diff-1.1.18-y9e1gbv0.mjs +0 -1
- package/dist/chunks/doctor-1.1.18-me0b6eyh.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.18-d85k2x5j.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.18-6jzg1a3e.mjs +0 -1
- package/dist/chunks/effort-1.1.18-kzqkmbjd.mjs +0 -13
- package/dist/chunks/engine-1.1.18-z5jbth81.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.18-1cqrnkp2.mjs +0 -1
- package/dist/chunks/envUtils-1.1.18-x298f5cb.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.18-6k9hzg6p.mjs +0 -1
- package/dist/chunks/environments-1.1.18-r0dv94mx.mjs +0 -1
- package/dist/chunks/errors-1.1.18-q6s6h2zs.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.18-0zc9623h.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.18-spcbfmbw.mjs +0 -1
- package/dist/chunks/exit-1.1.18-zvcsa8gc.mjs +0 -1
- package/dist/chunks/explorer-1.1.18-wf8yy5vj.mjs +0 -1
- package/dist/chunks/export-1.1.18-qeyf86rn.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.18-t0cm4v50.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.18-w6zswndv.mjs +0 -1
- package/dist/chunks/fast-1.1.18-c6bbr2sj.mjs +0 -1
- package/dist/chunks/feedback-1.1.18-8c9j05d9.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.18-mk3qv1p1.mjs +0 -1
- package/dist/chunks/git-1.1.18-716sc7rw.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.18-60dnzg1p.mjs +0 -1
- package/dist/chunks/goal-1.1.18-8em4jke5.mjs +0 -4
- package/dist/chunks/growthbook-1.1.18-b3tgw6y3.mjs +0 -1
- package/dist/chunks/headless-1.1.18-b5szxwsw.mjs +0 -2
- package/dist/chunks/heapdump-1.1.18-vjq0hc7v.mjs +0 -6
- package/dist/chunks/help-1.1.18-21j0mh6r.mjs +0 -1
- package/dist/chunks/hookChains-1.1.18-hptz3v0e.mjs +0 -3
- package/dist/chunks/hooks-1.1.18-0zec4dds.mjs +0 -1
- package/dist/chunks/hooks-1.1.18-ha1g38hn.mjs +0 -79
- package/dist/chunks/ide-1.1.18-rkvs3qqd.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.18-nakzgnn7.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.18-qxn6m4rg.mjs +0 -1
- package/dist/chunks/index-1.1.18-0ha3tnh6.mjs +0 -1
- package/dist/chunks/index-1.1.18-18y0bk36.mjs +0 -1
- package/dist/chunks/index-1.1.18-1kzcw8rj.mjs +0 -9
- package/dist/chunks/index-1.1.18-3yaj9awp.mjs +0 -1
- package/dist/chunks/index-1.1.18-427vyn1s.mjs +0 -1
- package/dist/chunks/index-1.1.18-5aebjh6r.mjs +0 -2
- package/dist/chunks/index-1.1.18-7qw763sw.mjs +0 -1
- package/dist/chunks/index-1.1.18-9p90ysn2.mjs +0 -23
- package/dist/chunks/index-1.1.18-a31cga5m.mjs +0 -1
- package/dist/chunks/index-1.1.18-awg146jw.mjs +0 -1
- package/dist/chunks/index-1.1.18-bsk8rb63.mjs +0 -1
- package/dist/chunks/index-1.1.18-cvzxd0hz.mjs +0 -1
- package/dist/chunks/index-1.1.18-ejew46p1.mjs +0 -1
- package/dist/chunks/index-1.1.18-gdwz7smf.mjs +0 -1
- package/dist/chunks/index-1.1.18-hcwn8mp8.mjs +0 -1
- package/dist/chunks/index-1.1.18-j843bxtx.mjs +0 -9
- package/dist/chunks/index-1.1.18-jhj8ae5j.mjs +0 -30
- package/dist/chunks/index-1.1.18-k9471m74.mjs +0 -1
- package/dist/chunks/index-1.1.18-kvv48kwq.mjs +0 -5
- package/dist/chunks/index-1.1.18-n6ntpnas.mjs +0 -1
- package/dist/chunks/index-1.1.18-n8a9f3dp.mjs +0 -2
- package/dist/chunks/index-1.1.18-ppwdm9bc.mjs +0 -1
- package/dist/chunks/index-1.1.18-zaqj0a20.mjs +0 -1
- package/dist/chunks/init-1.1.18-kgjtv56b.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.18-we3h7znp.mjs +0 -1
- package/dist/chunks/ink-1.1.18-s45xz0d5.mjs +0 -1
- package/dist/chunks/insights-1.1.18-qxdn050x.mjs +0 -870
- package/dist/chunks/install-1.1.18-hrtjazqa.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.18-9y1kn2dm.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.18-yfeb37pz.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.18-0s0n0snp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.18-vsnpskhb.mjs +0 -1
- package/dist/chunks/keybindings-1.1.18-6zbse835.mjs +0 -2
- package/dist/chunks/knowledge-1.1.18-6ex2a771.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.18-8dq1wk9a.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.18-4vpps6mn.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.18-4j6dvx4m.mjs +0 -1
- package/dist/chunks/log-1.1.18-ft9dg3fj.mjs +0 -1
- package/dist/chunks/main-1.1.18-s1hnrh3q.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.18-jqjx86ng.mjs +0 -1
- package/dist/chunks/mcp-1.1.18-24906cg4.mjs +0 -1
- package/dist/chunks/mcp-1.1.18-7t3h9h66.mjs +0 -4
- package/dist/chunks/mcp-1.1.18-ast61twg.mjs +0 -17
- package/dist/chunks/mcpb-1.1.18-snfk9dz9.mjs +0 -1
- package/dist/chunks/memory-1.1.18-7k51bcr6.mjs +0 -72
- package/dist/chunks/model-1.1.18-0njn3xdn.mjs +0 -2
- package/dist/chunks/model-1.1.18-ny459y9j.mjs +0 -1
- package/dist/chunks/node-1.1.18-gk5h7jp4.mjs +0 -12
- package/dist/chunks/oauth-1.1.18-w9bt5qvg.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.18-xzt8j2wx.mjs +0 -14
- package/dist/chunks/output-style-1.1.18-q591t8v1.mjs +0 -1
- package/dist/chunks/package-KQCMZM5L-1.1.18-whakyscr.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.18-bwgbwc1r.mjs +0 -1
- package/dist/chunks/parser-1.1.18-qad863f5.mjs +0 -1
- package/dist/chunks/passes-1.1.18-t0hq8ewm.mjs +0 -1
- package/dist/chunks/permissions-1.1.18-5a7765tc.mjs +0 -1
- package/dist/chunks/permissions-1.1.18-ed8ysk2a.mjs +0 -3
- package/dist/chunks/plan-1.1.18-4hc85kck.mjs +0 -1
- package/dist/chunks/plist-1.1.18-7sdbzzm0.mjs +0 -1
- package/dist/chunks/plugin-1.1.18-9tkb7bap.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.18-j31xzm3k.mjs +0 -1
- package/dist/chunks/plugins-1.1.18-ab7msm6m.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.18-dkhj1e0v.mjs +0 -2
- package/dist/chunks/print-1.1.18-j2g7hv0n.mjs +0 -57
- package/dist/chunks/process-1.1.18-fvq9b7q3.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.18-vq69a3e4.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.18-n1yqhpgg.mjs +0 -9
- package/dist/chunks/prompt-1.1.18-acbj3trk.mjs +0 -1
- package/dist/chunks/prompt-1.1.18-wh5jv6ay.mjs +0 -1
- package/dist/chunks/prompts-1.1.18-m0az7ynn.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.18-k2shdefe.mjs +0 -13
- package/dist/chunks/provider-1.1.18-g384d5y0.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.18-sehcrk96.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.18-ge2ffym5.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.18-9dst3c2h.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.18-7t053hjx.mjs +0 -26
- package/dist/chunks/registry-1.1.18-xrd7m0b5.mjs +0 -1
- package/dist/chunks/release-notes-1.1.18-ayafp97j.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.18-hmvtf1f4.mjs +0 -2
- package/dist/chunks/remote-env-1.1.18-w9k53dqm.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.18-ex403g4q.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.18-4axy7j90.mjs +0 -1
- package/dist/chunks/rename-1.1.18-2v175525.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.18-z7ttbjsb.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.18-4z8q3518.mjs +0 -1
- package/dist/chunks/resume-1.1.18-7s9nkn6h.mjs +0 -2
- package/dist/chunks/rewind-1.1.18-wwasabaf.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.18-drrms6kn.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.18-grdmbjgn.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.18-4290hdqx.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.18-859vsbae.mjs +0 -1
- package/dist/chunks/session-1.1.18-ndwcefxm.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.18-mqhk62gm.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.18-2ypck9c4.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.18-w8jyzxb1.mjs +0 -1
- package/dist/chunks/settings-1.1.18-8tv1qyh6.mjs +0 -1
- package/dist/chunks/setup-1.1.18-frcmhac0.mjs +0 -12
- package/dist/chunks/sinks-1.1.18-zxg6qwxv.mjs +0 -1
- package/dist/chunks/skills-1.1.18-zxh8yk9d.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.18-h7ey8bj0.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.18-bws73cnz.mjs +0 -1
- package/dist/chunks/state-1.1.18-12hrspsf.mjs +0 -1
- package/dist/chunks/stats-1.1.18-kmhwdmq9.mjs +0 -6
- package/dist/chunks/status-1.1.18-4aep2t86.mjs +0 -1
- package/dist/chunks/stickers-1.1.18-20nhxd0w.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.18-a6f6xtx7.mjs +0 -1
- package/dist/chunks/tasks-1.1.18-5brzcp4c.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.18-ewst0n42.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.18-n1rgqqyr.mjs +0 -1
- package/dist/chunks/teleport-1.1.18-e63krqkp.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.18-6nf0ex7b.mjs +0 -1
- package/dist/chunks/theme-1.1.18-egp4mwdb.mjs +0 -1
- package/dist/chunks/thinkback-1.1.18-wphxbpgs.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.18-rjmn2eej.mjs +0 -1
- package/dist/chunks/toolPool-1.1.18-s1ssr2ef.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.18-c9cwkafr.mjs +0 -1
- package/dist/chunks/tools-1.1.18-1dqtpknx.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.18-3h8z5wdy.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.18-e9b2pss1.mjs +0 -69
- package/dist/chunks/types-1.1.18-31emf7xp.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.18-x96n2df3.mjs +0 -4
- package/dist/chunks/update-1.1.18-rfhbgb3x.mjs +0 -72
- package/dist/chunks/upgrade-1.1.18-5dd5b35g.mjs +0 -1
- package/dist/chunks/upload-1.1.18-6rcbt5xr.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.18-xx3jrk14.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.18-y4e042py.mjs +0 -1
- package/dist/chunks/usage-1.1.18-q3y9c6vk.mjs +0 -1
- package/dist/chunks/util-1.1.18-2vgfzdph.mjs +0 -1
- package/dist/chunks/utils-1.1.18-8tjbjr7v.mjs +0 -1
- package/dist/chunks/vim-1.1.18-44eqnfwb.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.18-c2shb8qc.mjs +0 -13
- package/dist/chunks/watcher-1.1.18-cb1x3sr6.mjs +0 -1
- package/dist/chunks/wiki-1.1.18-r1abckjp.mjs +0 -132
- package/dist/chunks/workflows-1.1.18-jtx40wvq.mjs +0 -1
- package/dist/chunks/worktree-1.1.18-ds3kez7h.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.18-2wj8e6bc.mjs +0 -1
- package/dist/chunks/wrapper-1.1.18-shbmq2kg.mjs +0 -7
- /package/dist/chunks/{cli-1.1.18-z2dx0w6b.mjs → cli-1.1.20-c0p4wjw7.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.18-zhq044yz.mjs → cli-1.1.20-c4ktmkk3.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.18-tm7nmhz8.mjs → cli-1.1.20-cypawma9.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.18-4j0hy93x.mjs → cli-1.1.20-e4h3mrxr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.18-qfz5keqx.mjs → cli-1.1.20-nr5scd4y.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.18-x9wfjwnm.mjs → cli-1.1.20-sfrzvte7.mjs} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{$sa as x,bta as y,fta as C}from"./cli-1.1.18-j5zh2pdx.mjs";import{ita as k}from"./cli-1.1.18-hvd9yyb4.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as g_};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kta as o}from"./cli-1.1.18-hvd9yyb4.mjs";var t=3,n=1,i=32,_="generativelanguage.googleapis.com",s,c="api.kimi.com",p,r,a,E;var e=o(()=>{s=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),r=new Set(["api.deepseek.com"]),a={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
-
export{t as u9,n as v9,i as w9,_ as x9,s as y9,c as z9,p as A9,r as B9,a as C9,E as D9,e as E9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{gp as Q,lp as f}from"./cli-1.1.18-xfb4pete.mjs";import{Wga as B,cha as M}from"./cli-1.1.18-3y4pftxb.mjs";import{Fka as W,Gka as Z,Kka as X,Oka as $,Ska as Y,ala as b,dla as A}from"./cli-1.1.18-ypcye8ae.mjs";import{kta as U}from"./cli-1.1.18-hvd9yyb4.mjs";import{randomBytes as G}from"crypto";import{readFile as L,rename as N,unlink as j,writeFile as S}from"fs/promises";import{join as T}from"path";function R(){return T(Q(),_)}function E(q){let v=Z(q);if(typeof v!=="object"||v===null||!("plugins"in v)||typeof v.plugins!=="object"||v.plugins===null)return{};let x=v.plugins,C={};for(let[J,H]of Object.entries(x))if(H&&typeof H==="object"&&"flaggedAt"in H&&typeof H.flaggedAt==="string"){let V={flaggedAt:H.flaggedAt};if("seenAt"in H&&typeof H.seenAt==="string")V.seenAt=H.seenAt;C[J]=V}return C}async function K(){try{let q=await L(R(),{encoding:"utf-8"});return E(q)}catch{return{}}}async function O(q){let v=R(),x=`${v}.${G(8).toString("hex")}.tmp`;try{await $().mkdir(Q());let C=W({plugins:q},null,2);await S(x,C,{encoding:"utf-8",mode:384}),await N(x,v),z=q}catch(C){B(C);try{await j(x)}catch{}}}async function u(){let q=await K(),v=Date.now(),x=!1;for(let[C,J]of Object.entries(q))if(J.seenAt&&v-new Date(J.seenAt).getTime()>=w)delete q[C],x=!0;if(z=q,x)await O(q)}function p(){return z??{}}async function c(q){if(z===null)z=await K();let v={...z,[q]:{flaggedAt:new Date().toISOString()}};await O(v),b(`Flagged plugin: ${q}`)}async function g(q){if(z===null)z=await K();let v=new Date().toISOString(),x=!1,C={...z};for(let J of q){let H=C[J];if(H&&!H.seenAt)C[J]={...H,seenAt:v},x=!0}if(x)await O(C)}async function d(q){if(z===null)z=await K();if(!(q in z))return;let{[q]:v,...x}=z;z=x,await O(x)}var _="flagged-plugins.json",w=172800000,z=null;var k=U(()=>{A();Y();M();X();f()});
|
|
2
|
-
export{u as ud,p as vd,c as wd,g as xd,d as yd,k as zd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hb as S,Ib as R}from"./cli-1.1.18-2ach0t0d.mjs";import{Nb as j}from"./cli-1.1.18-6hjdcw80.mjs";import{KW as W,LW as A}from"./cli-1.1.18-ccbh77pf.mjs";import{K7 as T,L7 as F}from"./cli-1.1.18-703emt7y.mjs";import{ala as Q,dla as P}from"./cli-1.1.18-ypcye8ae.mjs";import{Ala as z,Hla as x}from"./cli-1.1.18-cxg522yt.mjs";P();x();A();function f(G){return{write:(J)=>G.write(J),writeBatch:(J)=>G.writeBatch(J),close:()=>G.close(),isConnectedStatus:()=>G.isConnectedStatus(),getStateLabel:()=>G.getStateLabel(),setOnData:(J)=>G.setOnData(J),setOnClose:(J)=>G.setOnClose(J),setOnConnect:(J)=>G.setOnConnect(J),connect:()=>void G.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return G.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function m(G){let{sessionUrl:J,ingressToken:X,sessionId:V,initialSequenceNum:_,getAuthToken:$}=G,O;if($)O=()=>{let B=$();if(!B)return{};return{Authorization:`Bearer ${B}`}};else W(X);let Y=G.epoch??await j(J,X);Q(`[bridge:repl] CCR v2: worker sessionId=${V} epoch=${Y}${G.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let Z=new URL(J);Z.pathname=Z.pathname.replace(/\/$/,"")+"/worker/events/stream";let L=new R(Z,{},V,void 0,_,O),q,K=new S(L,new URL(J),{getAuthHeaders:O,heartbeatIntervalMs:G.heartbeatIntervalMs,heartbeatJitterFraction:G.heartbeatJitterFraction,onEpochMismatch:()=>{Q("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{K.close(),L.close(),q?.(4090)}catch(B){Q(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${z(B)}`,{level:"error"})}throw Error("epoch superseded")}});L.setOnEvent((B)=>{K.reportDelivery(B.event_id,"received"),K.reportDelivery(B.event_id,"processed")});let H,E=!1,M=!1;return{write(B){return K.writeEvent(B)},async writeBatch(B){for(let N of B){if(M)break;await K.writeEvent(N)}},close(){M=!0,K.close(),L.close()},isConnectedStatus(){return E},getStateLabel(){if(L.isClosedStatus())return"closed";if(L.isConnectedStatus())return E?"connected":"init";return"connecting"},setOnData(B){L.setOnData(B)},setOnClose(B){q=B,L.setOnClose((N)=>{K.close(),B(N??4092)})},setOnConnect(B){H=B},getLastSequenceNum(){return L.getLastSequenceNum()},droppedBatchCount:0,reportState(B){K.reportState(B)},reportMetadata(B){K.reportMetadata(B)},reportDelivery(B,N){K.reportDelivery(B,N)},flush(){return K.flush()},connect(){if(!G.outboundOnly)L.connect();K.initialize(Y).then(()=>{E=!0,Q(`[bridge:repl] v2 transport ready for writes (epoch=${Y}, sse=${L.isConnectedStatus()?"open":"opening"})`),H?.()},(B)=>{Q(`[bridge:repl] CCR v2 initialize failed: ${z(B)}`,{level:"error"}),K.close(),L.close(),q?.(4091)})}}}class U{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...G){if(!this._active)return!1;return this._pending.push(...G),!0}drop(){this._active=!1;let G=this._pending.length;return this._pending.length=0,G}deactivate(){this._active=!1}}P();F();var g={maxAttempts:5,baseDelayMs:500,jitterFraction:0.25,maxDelayMs:4000};function I(G,J,X=Math.random){let V=J.baseDelayMs*2**(G-1),_=V*J.jitterFraction*(2*X()-1);return Math.min(V+_,J.maxDelayMs)}async function b(G,J){let{label:X,logPrefix:V="[bridge]",signal:_,isRetryable:$}=J;for(let O=1;O<=J.maxAttempts;O++){let Y=await G();if(Y!==null)return Y;if($&&!$())return Q(`${V} ${X} failed permanently on attempt ${O}/${J.maxAttempts}, not retrying`),null;if(_?.aborted)return Q(`${V} ${X} aborted after attempt ${O}/${J.maxAttempts}`),null;if(O<J.maxAttempts){let Z=I(O,J);Q(`${V} ${X} failed (attempt ${O}/${J.maxAttempts}), retrying in ${Math.round(Z)}ms`),await T(Z)}}return null}
|
|
2
|
-
export{f as Ab,m as Bb,U as Cb,g as Db,b as Eb};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{wJ as Q,zJ as F}from"./cli-1.1.18-xfb4pete.mjs";import{ala as b,dla as y}from"./cli-1.1.18-ypcye8ae.mjs";import{Cla as x,Hla as f}from"./cli-1.1.18-cxg522yt.mjs";import{Kla as w,Vla as R}from"./cli-1.1.18-3s03nva1.mjs";import{Dna as $,Gna as j,yra as K}from"./cli-1.1.18-4c3jqppx.mjs";import{kta as v}from"./cli-1.1.18-hvd9yyb4.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
|
|
2
|
-
|
|
3
|
-
`:"",B=k===G?`
|
|
4
|
-
|
|
5
|
-
${c}`:"";return`Scheduled loop tick.
|
|
6
|
-
|
|
7
|
-
${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
|
|
8
|
-
|
|
9
|
-
If .claudin/loop.md exists, read it and follow it.
|
|
10
|
-
Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
|
|
11
|
-
Otherwise:
|
|
12
|
-
- continue any unfinished work from the conversation
|
|
13
|
-
- tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
|
|
14
|
-
- run cleanup passes such as bug hunts or simplification when nothing else is pending
|
|
15
|
-
|
|
16
|
-
Do not start new initiatives outside that scope.
|
|
17
|
-
Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
|
|
18
|
-
export{Y as di,G as ei,D as fi,g as gi,M as hi,U as ii};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{J_ as B,L_ as E}from"./cli-1.1.18-3y4pftxb.mjs";import{Zja as C,aka as y}from"./cli-1.1.18-hbv881pn.mjs";import{Gka as T,Kka as M,ala as O,dla as p}from"./cli-1.1.18-ypcye8ae.mjs";import{Ala as L,Hla as x}from"./cli-1.1.18-cxg522yt.mjs";y();p();E();x();M();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function F(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function c(W){let Z=F(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var h=300000,j=1800000,H=3,R=60000;function t({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=h}){let J=new Map,Y=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=c(Q);if(!$){O(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let V=J.get(q);if(V)clearTimeout(V);let v=U(q),X=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){O(`[${z}:token] Token for sessionId=${q} expires=${X} (past or within buffer), refreshing immediately`),K(q,v);return}O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${X}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,v);J.set(q,k)}function D(q,Q){let $=J.get(q);if($)clearTimeout($);let V=U(q),v=Math.max(Q*1000-P,30000);O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(v)} (expires_in=${Q}s, buffer=${P/1000}s)`);let X=setTimeout(K,v,q,V);J.set(q,X)}async function K(q,Q){let $;try{$=await W()}catch(v){O(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(v)}`,{level:"error"})}if(w.get(q)!==Q){O(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let v=(Y.get(q)??0)+1;if(Y.set(q,v),O(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${v}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),v<H){let X=setTimeout(K,R,q,Q);J.set(q,X)}return}Y.delete(q),O(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("",{}),Z(q,$);let V=setTimeout(K,j,q,Q);J.set(q,V),O(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=J.get(q);if(Q)clearTimeout(Q),J.delete(q);Y.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of J.values())clearTimeout(q);J.clear(),Y.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
|
|
2
|
-
export{c as Ob,t as Pb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Afa as v,Bfa as P,Ifa as k,Ufa as f,_ea as M,bfa as L,vfa as G,wfa as h}from"./cli-1.1.18-3y4pftxb.mjs";import{Pja as E,Yja as x}from"./cli-1.1.18-k05shz35.mjs";import{Kla as T,Vla as u}from"./cli-1.1.18-3s03nva1.mjs";import{kta as C}from"./cli-1.1.18-hvd9yyb4.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudinMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudinMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudinMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
|
|
2
|
-
export{Vj as wc,Wj as xc,e as yc,Xj as zc,Yj as Ac,jj as Bc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kta as H}from"./cli-1.1.18-hvd9yyb4.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
-
export{F as Jha,K as Kha,M as Lha,N as Mha,O as Nha,P as Oha,J as Pha};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{eS as b,qO as V,rk as J,sO as z,vx as L,wx as v}from"./cli-1.1.18-xfb4pete.mjs";import{Xaa as F,aba as X}from"./cli-1.1.18-3y4pftxb.mjs";import{cja as Y,eja as A,fja as H,gja as k}from"./cli-1.1.18-esvp6n4e.mjs";import{Zja as W,aka as R}from"./cli-1.1.18-hbv881pn.mjs";import{ala as D,dla as f}from"./cli-1.1.18-ypcye8ae.mjs";import{opa as q,yra as M}from"./cli-1.1.18-4c3jqppx.mjs";import{kta as C}from"./cli-1.1.18-hvd9yyb4.mjs";function T(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
|
|
2
|
-
`);return G.length>$?G.slice(-$):G}async function p(U,Q){let G=U.trim();if(!G)return null;try{let w=await V({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=I().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
|
|
3
|
-
|
|
4
|
-
Return JSON with a single "title" field.
|
|
5
|
-
|
|
6
|
-
Good examples:
|
|
7
|
-
{"title": "Fix login button on mobile"}
|
|
8
|
-
{"title": "Add OAuth authentication"}
|
|
9
|
-
{"title": "Debug failing CI tests"}
|
|
10
|
-
{"title": "Refactor API client error handling"}
|
|
11
|
-
|
|
12
|
-
Bad (too vague): {"title": "Code changes"}
|
|
13
|
-
Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
|
|
14
|
-
Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,I;var _=C(()=>{A();M();R();z();f();X();k();b();v();I=H(()=>Y.object({title:Y.string()}))});
|
|
15
|
-
export{T as me,p as ne,_ as oe};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{A5 as H,B5 as _,C5 as Y,D5 as y}from"./cli-1.1.18-703emt7y.mjs";import{J_ as M,L_ as f}from"./cli-1.1.18-3y4pftxb.mjs";import{Oka as P,Ska as p,ala as x,dka as F,dla as S,fka as b}from"./cli-1.1.18-ypcye8ae.mjs";import{Ala as V,Hla as R}from"./cli-1.1.18-cxg522yt.mjs";import{Nla as U,Vla as g}from"./cli-1.1.18-3s03nva1.mjs";import{Kpa as D,Lpa as W,yra as A}from"./cli-1.1.18-4c3jqppx.mjs";import{kta as L}from"./cli-1.1.18-hvd9yyb4.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function o(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function s(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var m=L(()=>{b();f();g();Z=new Map});var $q;var h=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
|
|
2
|
-
export{k as IW,o as JW,s as KW,u as LW,e as MW,qq as NW,Gq as OW,Jq as PW,Kq as QW,Qq as RW,m as SW,$q as TW,h as UW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Uh as S,Vh as gJ}from"./cli-1.1.18-6w9m5m4s.mjs";import{$x as bq,Ay as Sq,BG as BJ,By as _q,Cy as EJ,DG as ZQ,Sn as IJ,Tn as rJ,Wq as xq,Yq as s,Zq as jJ,ay as FJ,co as RJ,cy as QQ,do as aJ,eo as DJ,fo as tJ,go as LJ,gr as NJ,ho as eJ,jr as TJ,lr as OJ,ox as wJ,pr as QJ,px as JQ,rr as fq,ur as MJ,vr as ZJ}from"./cli-1.1.18-xfb4pete.mjs";import{CY as AJ,DY as oJ,GY as PJ,HY as lJ,PY as VJ,QY as qQ}from"./cli-1.1.18-0h118vrj.mjs";import{DZ as sJ,H1 as hJ,a1 as M,c1 as V,e1 as sq,f1 as yJ}from"./cli-1.1.18-2w9274tq.mjs";import{c4 as GJ,d4 as R,e4 as T,f4 as YJ}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as dJ}from"./cli-1.1.18-cjkn7t4k.mjs";import{O6 as uq,Q6 as h,Q8 as GQ,X5 as mq,Y5 as WJ,_5 as gq,_6 as p,b7 as Cq,f7 as nJ,k6 as HJ,p6 as pJ,r7 as SJ,v8 as _J,w7 as HQ}from"./cli-1.1.18-703emt7y.mjs";import{k9 as X,l9 as xJ}from"./cli-1.1.18-mrrbn0jj.mjs";import{Rba as aq,Sba as tq,Tba as vq,Uba as eq,Vba as qJ,Wba as JJ,fca as fJ}from"./cli-1.1.18-3y4pftxb.mjs";import{Zja as UJ,aka as iJ}from"./cli-1.1.18-hbv881pn.mjs";import{gta as XJ,kta as Dq}from"./cli-1.1.18-hvd9yyb4.mjs";function rq(J){let q=J.messageActionsBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function $J(J){let q=J.userMessageBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function Y(J,q,Q){if(q.startsWith("ansi:")){let z=q.slice(5),K=J;if(Q==="fg")return K[z]??J;let U=`bg${z[0].toUpperCase()}${z.slice(1)}`;return K[U]??J}if(q.startsWith("#"))return Q==="fg"?J.hex(q):J.bgHex(q);if(q.startsWith("ansi256(")){let z=parseInt(q.slice(8));return Q==="fg"?J.ansi256(z):J.bgAnsi256(z)}let Z=bJ.exec(q);if(Z){let[z,K,U]=[+Z[1],+Z[2],+Z[3]];return Q==="fg"?J.rgb(z,K,U):J.bgRgb(z,K,U)}return J}function LQ(J,q,Q,Z,z){if(!S())return uJ(J,q,Q,Z,z);let{suggestion:K,messageActionsBackground:U}=z,H=U==="ansi:white"||U==="ansi:whiteBright"?z.inactive:U,G=z.inverseText,A=z.suggestion,D=Y(Y(X,K,"bg"),G,"fg").bold,I=Y(Y(X,K,"fg"),H,"bg"),P=Y(Y(X,H,"bg"),A,"fg"),L=Y(X,H,"fg"),w=Y(X,K,"fg"),j=D(` ${J} `);if(q){if(j+=I(B),j+=P(` ${hq} ${q}`),Q>0||Z>0){if(j+=P(" ("),Q>0)j+=Y(Y(X,H,"bg"),z.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)j+=P(" ");if(Z>0)j+=Y(Y(X,H,"bg"),z.warning,"fg")(`↓${Z}`);j+=P(")")}j+=P(" "),j+=L(B)}else j+=w(B);return j}function VQ(J,q,Q){if(!S()){let H=Y(X,q.suggestion,"fg").bold;return`[ ${H(J)} ]`}let{suggestion:Z,inverseText:z}=q,K=Y(Y(X,Z,"bg"),z,"fg").bold,U=Q?Y(Y(X,Q,"bg"),Z,"fg"):Y(X,Z,"fg");return K(` ${J} `)+U(B)}function jQ(J,q,Q){if(!J)return"";if(!S()){let H=Y(X,q.suggestion,"fg").bold;return`[ ${H(J.trim())} ]`}let{suggestion:Z,inverseText:z}=q,K=Y(Y(X,Z,"bg"),z,"fg").bold,U=Q?Y(Y(X,Q,"bg"),Z,"fg"):Y(X,Z,"fg");return K(` ${J}`)+U(B)}function NQ(J,q,Q){if(!J)return"";if(!S())return`[ ${Y(X,q.suggestion,"fg")(J.trim())} ]`;let Z=rq(q),z=q.suggestion,K=Y(Y(X,Z,"bg"),z,"fg"),U=Q?Y(Y(X,Q,"bg"),Z,"fg"):Y(X,Z,"fg");return K(` ${J}`)+U(B)}function oq(J,q,Q){if(!J)return"";if(!S())return`[ ${J} ]`;let Z=Y(Y(X,q,"bg"),Q.inverseText,"fg").bold,z=Y(X,q,"fg");return Z(` ${J} `)+z(B)}function mJ(J,q,Q,Z){if(!S())return"";let z=J+q;if(z<=0)return"";let K=Math.round(J/z*kq);return Q(nq.repeat(K))+Z(nq.repeat(kq-K))}function TQ(J,q,Q=Number.POSITIVE_INFINITY){let Z=Y(X,q.success,"fg"),z=Y(X,q.error,"fg"),K=Y(X,q.inactive,"fg"),U=J.branch,H=U?{count:U,ref:U.base}:J.uncommitted?{count:J.uncommitted,ref:"HEAD"}:{count:J.session},{count:G,ref:A}=H;if(G.added<=0&&G.removed<=0)return null;let D=[],I=0;if(A)D.push(K(A)),I+=A.length;if(G.added>0){let w=`+${G.added}`;D.push(Z(w)),I+=w.length}if(G.removed>0){let w=`-${G.removed}`;D.push(z(w)),I+=w.length}let P=mJ(G.added,G.removed,Z,z);if(P)D.push(P),I+=kq;let L=I+D.length-1+4;if(L>Q)return null;return{text:`${K("[")} ${D.join(" ")} ${K("]")}`,width:L}}function OQ(J,q,Q,Z,z){if(!J)return"";if(!S()){let I=Y(X,Z.suggestion,"fg")(J);if(q>0||Q>0){if(I+=" (",q>0)I+=Y(X,Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)I+=" ";if(Q>0)I+=Y(X,Z.warning,"fg")(`↓${Q}`);I+=")"}return`[ ${I} ]`}let K=rq(Z),U=Z.suggestion,H=Y(Y(X,K,"bg"),U,"fg"),G=z?Y(Y(X,z,"bg"),K,"fg"):Y(X,K,"fg"),A=H(` ${hq} ${J}`);if(q>0||Q>0){if(A+=H(" ("),q>0)A+=Y(Y(X,K,"bg"),Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)A+=H(" ");if(Q>0)A+=Y(Y(X,K,"bg"),Z.warning,"fg")(`↓${Q}`);A+=H(")")}return A+=H(" "),A+=G(B),A}function dq(J,q){if(!q||!sq())return J;return`${Sq}${q}${_q}${J}${Sq}${_q}`}function MQ(J,q,Q,Z="PR",z){if(!S()){let D=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,I=dq(Y(X,D,"fg")(`#${J}`),z);return`[ ${Y(X,Q.inactive,"fg")(Z)} ${I} ]`}let K=$J(Q),U=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,H=Y(Y(X,K,"bg"),Q.inactive,"fg"),G=Y(Y(X,K,"bg"),U,"fg"),A=Y(X,K,"fg");return H(` ${CJ} `)+dq(G(`#${J}`),z)+H(" ")+A(B)}function uJ(J,q,Q,Z,z){let K=Y(X,z.suggestion,"fg").bold,U=`[ ${K(J)} ]`;if(q){let G=Y(X,z.suggestion,"fg")(q);if(Q>0||Z>0){if(G+=" (",Q>0)G+=Y(X,z.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)G+=" ";if(Z>0)G+=Y(X,z.warning,"fg")(`↓${Z}`);G+=")"}U+=` [ ${G} ]`}return U}var B="",hq="",CJ="",bJ,kq=4,nq="■";var lq=Dq(()=>{xJ();yJ();EJ();gJ();bJ=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/});function cJ(J,q){if(xq(J))return q.suggestion;switch(J){case"low":return q.inactive;case"medium":return q.warning;case"high":return q.claude;case"xhigh":return q.error;case"max":return q.merged;default:return q.error}}function _Q(J,q,Q){if(!s(q))return;let Z=QJ(q,J),z=cJ(Z,Q);return{pill:oq(`${yq(Z)} ${Z}`,z,Q),bg:z}}function yq(J){if(xq(J))return JJ;switch(J){case"low":return aq;case"medium":return tq;case"high":return vq;case"xhigh":return eq;case"max":return qJ;default:return vq}}var zJ=Dq(()=>{fJ();ZJ();lq()});function rQ(J){let q=cq.c(82),{initial:Q,sessionModel:Z,onSelect:z,onCancel:K,isStandaloneCommand:U,showFastModeNotice:H,headerText:G,skipSettingsWrite:A}=J,D=FJ(),I=PJ(),P=Q===null?r:Q,[L,w]=Lq.useState(P),j=bq(XQ),[_,kJ]=Lq.useState(!1),k=bq(KQ),o;if(q[0]!==k)o=k!==void 0?fq(k):void 0,q[0]=k,q[1]=o;else o=q[1];let[v,iq]=Lq.useState(o),Vq=j??!1,l;if(q[2]!==Vq)l=wJ(Vq),q[2]=Vq,q[3]=l;else l=q[3];let n=l,jq;q:{if(Q!==null&&!n.some((W)=>{if(W.value===Q)return!0;if(W.value===null)return!1;try{return h(p(String(W.value)))===h(p(Q))}catch{return!1}})){let W;if(q[4]!==Q)W=Cq(Q),q[4]=Q,q[5]=W;else W=q[5];let N;if(q[6]!==Q||q[7]!==W)N={value:Q,label:W,description:"Current model"},q[6]=Q,q[7]=W,q[8]=N;else N=q[8];let x;if(q[9]!==n||q[10]!==N)x=[...n,N],q[9]=n,q[10]=N,q[11]=x;else x=q[11];jq=x;break q}jq=n}let Nq=jq,a;if(q[12]!==Nq)a=Nq.map(YQ),q[12]=Nq,q[13]=a;else a=q[13];let O=a,t;if(q[14]!==P||q[15]!==O)t=O.find((W)=>{if(W.value===P)return!0;if(P===r||W.value===null)return!1;try{return h(p(String(W.value)))===h(p(String(P)))}catch{return!1}})?.value??O[0]?.value??void 0,q[14]=P,q[15]=O,q[16]=t;else t=q[16];let Tq=t,e=Math.min(10,O.length),qq=Math.max(0,O.length-e),Jq;if(q[17]!==L||q[18]!==O)Jq=O.find((W)=>W.value===L)?.label,q[17]=L,q[18]=O,q[19]=Jq;else Jq=q[19];let Qq=Jq,F,Zq;if(q[20]!==L){let W=$q(L);F=W?s(W):!1,Zq=W?jJ(W):!1,q[20]=L,q[21]=F,q[22]=Zq}else F=q[21],Zq=q[22];let zq=Zq,Yq;if(q[23]!==L)Yq=Eq(L),q[23]=L,q[24]=Yq;else Yq=q[24];let y=Yq,d=v==="max"&&!zq?"high":v,Kq;if(q[25]!==k||q[26]!==_)Kq=(W)=>{if(w(W),!_&&k===void 0)iq(Eq(W))},q[25]=k,q[26]=_,q[27]=Kq;else Kq=q[27];let Oq=Kq,Xq;if(q[28]!==y||q[29]!==F||q[30]!==zq)Xq=(W)=>{if(!F)return;iq((N)=>UQ(N??y,W,zq)),kJ(!0)},q[28]=y,q[29]=F,q[30]=zq,q[31]=Xq;else Xq=q[31];let Uq=Xq,Wq;if(q[32]!==Uq)Wq={"modelPicker:decreaseEffort":()=>Uq("left"),"modelPicker:increaseEffort":()=>Uq("right")},q[32]=Uq,q[33]=Wq;else Wq=q[33];let Hq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))Hq={context:"ModelPicker"},q[34]=Hq;else Hq=q[34];AJ(Wq,Hq);let Gq;if(q[35]!==v||q[36]!==_||q[37]!==z||q[38]!==D||q[39]!==A)Gq=function(N){if(UJ("",{effort:v}),!A){let Bq=OJ(v,Eq(N),TJ(),_);if(Bq!==void 0)NJ(Bq);D((vJ)=>({...vJ,effortValue:Bq}))}let x=$q(N),pq=_&&x&&s(x)?v:void 0;if(N===r){z(null,pq);return}z(N,pq)},q[35]=v,q[36]=_,q[37]=z,q[38]=D,q[39]=A,q[40]=Gq;else Gq=q[40];let Mq=Gq,Iq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Iq=R(V,{color:"remember",bold:!0,children:"Select model"}),q[41]=Iq;else Iq=q[41];let wq=G??"Switch between Claude models. Applies to this session and future Claudin sessions. For other/previous model names, specify with --model.",E;if(q[42]!==wq)E=R(V,{dimColor:!0,children:wq}),q[42]=wq,q[43]=E;else E=q[43];let g;if(q[44]!==Z)g=Z&&T(V,{dimColor:!0,children:["Currently using ",Cq(Z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Z,q[45]=g;else g=q[45];let C;if(q[46]!==E||q[47]!==g)C=T(M,{marginBottom:1,flexDirection:"column",children:[Iq,E,g]}),q[46]=E,q[47]=g,q[48]=C;else C=q[48];let Fq=K??zQ,b;if(q[49]!==Oq||q[50]!==Mq||q[51]!==Tq||q[52]!==P||q[53]!==O||q[54]!==Fq||q[55]!==e)b=R(M,{flexDirection:"column",children:R(BJ,{defaultValue:P,defaultFocusValue:Tq,options:O,onChange:Mq,onFocus:Oq,onCancel:Fq,visibleOptionCount:e})}),q[49]=Oq,q[50]=Mq,q[51]=Tq,q[52]=P,q[53]=O,q[54]=Fq,q[55]=e,q[56]=b;else b=q[56];let $;if(q[57]!==qq)$=qq>0&&R(M,{paddingLeft:3,children:T(V,{dimColor:!0,children:["and ",qq," more…"]})}),q[57]=qq,q[58]=$;else $=q[58];let m;if(q[59]!==b||q[60]!==$)m=T(M,{flexDirection:"column",marginBottom:1,children:[b,$]}),q[59]=b,q[60]=$,q[61]=m;else m=q[61];let u;if(q[62]!==d||q[63]!==y||q[64]!==Qq||q[65]!==F)u=R(M,{marginBottom:1,flexDirection:"column",children:F?T(V,{dimColor:!0,children:[R(KJ,{effort:d})," ",IJ(d)," effort",d===y?" (default)":""," ",R(V,{color:"subtle",children:"← → to adjust"})]}):T(V,{color:"subtle",children:[R(KJ,{effort:void 0})," Effort not supported",Qq?` for ${Qq}`:""]})}),q[62]=d,q[63]=y,q[64]=Qq,q[65]=F,q[66]=u;else u=q[66];let f;if(q[67]!==H)f=mq()?H?R(M,{marginBottom:1,children:T(V,{dimColor:!0,children:["Fast mode is ",R(V,{bold:!0,children:"ON"})," and available with"," ",gq," only (/fast). Switching to other models turn off fast mode."]})}):WJ()&&!HJ()?R(M,{marginBottom:1,children:T(V,{dimColor:!0,children:["Use ",R(V,{bold:!0,children:"/fast"})," to turn on Fast mode (",gq," only)."]})}):null:null,q[67]=H,q[68]=f;else f=q[68];let c;if(q[69]!==C||q[70]!==m||q[71]!==u||q[72]!==f)c=T(M,{flexDirection:"column",children:[C,m,u,f]}),q[69]=C,q[70]=m,q[71]=u,q[72]=f,q[73]=c;else c=q[73];let i;if(q[74]!==I||q[75]!==U)i=U&&R(V,{dimColor:!0,italic:!0,children:I.pending?T(GJ,{children:["Press ",I.keyName," again to exit"]}):T(LJ,{children:[R(RJ,{shortcut:"Enter",action:"confirm"}),R(DJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=I,q[75]=U,q[76]=i;else i=q[76];let Aq;if(q[77]!==c||q[78]!==i)Aq=T(M,{flexDirection:"column",children:[c,i]}),q[77]=c,q[78]=i,q[79]=Aq;else Aq=q[79];let Pq=Aq;if(!U)return Pq;let Rq;if(q[80]!==Pq)Rq=R(VJ,{color:"permission",children:Pq}),q[80]=Pq,q[81]=Rq;else Rq=q[81];return Rq}function zQ(){}function YQ(J){return{...J,value:J.value===null?r:J.value}}function KQ(J){return J.effortValue}function XQ(J){return mq()?J.fastMode:!1}function $q(J){if(!J)return;return J===r?uq():p(J)}function KJ(J){let q=cq.c(5),{effort:Q}=J,Z=Q?"claude":"subtle",z=Q??"low",K;if(q[0]!==z)K=yq(z),q[0]=z,q[1]=K;else K=q[1];let U;if(q[2]!==Z||q[3]!==K)U=R(V,{color:Z,children:K}),q[2]=Z,q[3]=K,q[4]=U;else U=q[4];return U}function UQ(J,q,Q){let Z=Q?["low","medium","high","max"]:["low","medium","high"],z=Z.indexOf(J),K=z!==-1?z:Z.indexOf("high");if(q==="right")return Z[(K+1)%Z.length];else return Z[(K-1+Z.length)%Z.length]}function Eq(J){let q=$q(J)??uq(),Q=MJ(q);return Q!==void 0?fq(Q):"high"}var cq,Lq,r="__NO_PREFERENCE__";var WQ=Dq(()=>{rJ();lJ();iJ();pJ();hJ();oJ();QQ();ZJ();nJ();JQ();tJ();ZQ();eJ();aJ();qQ();zJ();YJ();cq=XJ(sJ(),1),Lq=XJ(dJ(),1)});function eQ(J,q,Q){if(!_J())return!1;if(q)return!0;if(J===null||!SJ(J))return!1;let Z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),z=Z==="opus"||Z.includes("opus-4-6")||Z.includes("opus-4-7"),K=Z==="sonnet"||Z.includes("sonnet-4-6");if(z&&Q)return!1;return z||K}var IQ=Dq(()=>{GQ();HQ()});
|
|
2
|
-
export{rq as ah,$J as bh,LQ as ch,VQ as dh,jQ as eh,NQ as fh,TQ as gh,OQ as hh,MQ as ih,lq as jh,_Q as kh,yq as lh,zJ as mh,rQ as nh,WQ as oh,eQ as ph,IQ as qh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Fna as z,Jna as F,yra as I}from"./cli-1.1.18-4c3jqppx.mjs";import{kta as E}from"./cli-1.1.18-hvd9yyb4.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",k="task-type",p="output-file",u="status",v="summary",y="worktree",f="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="channel",h="fork-boilerplate",l="Your directive: ",w,c;var N=E(()=>{w=["help","-h","--help"],c=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
|
|
2
|
-
export{U as hja,K as ija,V as jja,W as kja,M as lja,Y as mja,Z as nja,$ as oja,j as pja,q as qja,B as rja,L as sja,R as tja,_ as uja,b as vja,x as wja,A as xja,T as yja,k as zja,p as Aja,u as Bja,v as Cja,y as Dja,f as Eja,C as Fja,S as Gja,O as Hja,m as Ija,g as Jja,h as Kja,l as Lja,w as Mja,c as Nja,N as Oja};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ita as j}from"./cli-1.1.18-hvd9yyb4.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.8"});
|
|
2
|
-
export{Lt as g4};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{C2 as VJ,z2 as qJ}from"./cli-1.1.18-ztyf20j1.mjs";import{Bba as U,Dba as E,Iba as ZJ,Kba as TJ,O$ as YJ,P$ as jJ,P_ as W,Q_ as f,Wga as q,Zda as $J,_ea as w,cha as u,kea as AJ,wfa as m}from"./cli-1.1.18-3y4pftxb.mjs";import{Zja as F,aka as xJ}from"./cli-1.1.18-hbv881pn.mjs";import{Fka as b,Gka as x,Kka as P,Oka as y,Ska as D,ala as K,dla as NJ}from"./cli-1.1.18-ypcye8ae.mjs";import{Bla as M,Cla as B,Fla as n,Hla as T,kla as QJ}from"./cli-1.1.18-cxg522yt.mjs";import{Kla as O,Vla as k}from"./cli-1.1.18-3s03nva1.mjs";import{kta as j}from"./cli-1.1.18-hvd9yyb4.mjs";import{access as d,chmod as BJ,writeFile as GJ}from"fs/promises";import{homedir as h}from"os";import{join as v}from"path";function A(){return v(O(),"local")}function RJ(J=h()){return v(J,".claude","local")}function p(J){let Q=J?.homeDir??h(),Y=J?.configHomeDir??O();return Array.from(new Set([v(Y,"local"),RJ(Q)]))}function c(J){return[v(J,"node_modules",".bin","claudin"),v(J,"node_modules",".bin","claude")]}function _J(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function V(){return v(A(),"claudin")}function rJ(){return _J(U())}async function I(J,Q,Y){try{return await GJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function OJ(){try{let J=A();await y().mkdir(J),await I(v(J,"package.json"),b({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=V();if(await I(Q,`#!/bin/sh
|
|
2
|
-
exec "${J}/node_modules/.bin/claudin" "$@"`,493))await BJ(Q,493);return!0}catch(J){return q(J),!1}}async function JQ(J,Q){try{if(!await OJ())return"install_failed";let Z=await W("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:A(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return w(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function QQ(){for(let J of p())for(let Q of c(J))try{return await d(Q),!0}catch{}return!1}async function YQ(){for(let J of p())for(let Q of c(J))try{return await d(Q),J}catch{}return null}function ZQ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var g=j(()=>{E();m();k();T();f();D();u();P()});import{open as MJ,readFile as yJ,stat as UJ}from"fs/promises";import{homedir as t}from"os";import{join as C}from"path";function S(J){let Q=J?.homedir??t(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:C(Z,".zshrc"),bash:C(Q,".bashrc"),fish:C(Q,".config/fish/config.fish")}}function a(J){let Q=!1;return{filtered:J.filter((Z)=>{if(s.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===V())return Q=!0,!1}}return!0}),hadAlias:Q}}async function L(J){try{return(await yJ(J,{encoding:"utf8"})).split(`
|
|
3
|
-
`)}catch(Q){if(n(Q))return null;throw Q}}async function l(J,Q){let Y=await MJ(J,"w");try{await Y.writeFile(Q.join(`
|
|
4
|
-
`),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function wJ(J){let Q=S(J);for(let Y of Object.values(Q)){let Z=await L(Y);if(!Z)continue;for(let $ of Z)if(s.test($)){let X=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(X&&X[1])return X[1]}}return null}async function HQ(J){let Q=await wJ(J);if(!Q)return null;let Y=J?.homedir??t(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await UJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var s;var o=j(()=>{T();g();s=/^\s*alias\s+claude\s*=/});import{constants as KJ}from"fs";import{access as WJ,readFile as CJ,stat as SJ,writeFile as i}from"fs/promises";import{homedir as z}from"os";import{join as H}from"path";function LJ(){let J=U();if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}function XJ(){return LJ()?"bun":"npm"}function zJ(){let J=process.env.BUN_INSTALL||H(z(),".bun");return H(J,"install","global","node_modules","@claudiolabs/claudin")}async function kJ(){let J=await W("npm",["-g","config","get","prefix"],{cwd:z()});if(J.code!==0)return null;let Q=J.stdout.trim();if(!Q)return null;return YJ()==="windows"?H(Q,"node_modules","@claudiolabs/claudin"):H(Q,"lib","node_modules","@claudiolabs/claudin")}async function e(J){try{let Q=await CJ(H(J,"package.json"),"utf8"),Y=x(Q);return typeof Y.version==="string"?Y.version:null}catch(Q){if(!B(Q))q(Q);return null}}function r(J){return J==="bun"?Promise.resolve(zJ()):kJ()}async function bJ(J,Q,Y){let Z=J==="npm"?"bun":"npm",$=await r(Z);if(!$)return;let X=await e($);if(!X)return;let R=await r(J),_=R?await e(R):null;if(_&&X===_)return;K(`update: repairing stale ${Z} install ${X} at ${$}`);let N=await W(Z,Z==="npm"?["install","-g","--force",Q]:["install","-g",Q],{cwd:z()});if(N.code!==0){q(new G(`Failed to refresh the ${Z} global install at ${$}: ${N.stdout} ${N.stderr}`));return}if(Z==="bun")await HJ();Y?.(`Repaired old version ${X} at ${$}`)}async function PJ(J,Q){let Y=await W("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!IJ.test(Y.error??""))return q(new G(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await W("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new G(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function HJ(){let J=zJ(),Q=H(J,"install.cjs"),Y=H(J,"bin","claudin.exe");try{await WJ(Q,KJ.F_OK)}catch(Z){if(!B(Z))q(Z);return!1}try{if((await SJ(Y)).size>FJ)return!1}catch(Z){if(!B(Z))return q(Z),!1}if(!await PJ(Q,J))return!1;return K("update: repaired Bun global launcher via install.cjs"),!0}async function IQ(){}async function kQ(){return}async function bQ(){return}function PQ(J){let Y=$J()?.minimumVersion;if(!Y)return!1;let Z=!qJ(J,Y);if(Z)K(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function vJ(){return H(O(),".update.lock")}async function DJ(){let J=y(),Q=vJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<JJ)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<JJ)return!1;await J.unlink(Q)}catch($){if(!B($))return q($),!1}}catch(Y){if(!B(Y))return q(Y),!1}try{return await i(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(O()),await i(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function fJ(){let J=y(),Q=vJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(B(Y))return;q(Y)}}async function EJ(){let J=XJ()==="bun",Q=null;if(J)Q=await W("bun",["pm","bin","-g"],{cwd:z()});else Q=await W("npm",["-g","config","get","prefix"],{cwd:z()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function mJ(){try{let J=await EJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await WJ(J,KJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new G("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function DQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await W("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:z()});if($.code!==0){if(K(`npm view failed with code ${$.code}`),$.stderr)K(`npm stderr: ${$.stderr.trim()}`);else K("npm stderr: (empty)");if($.stdout)K(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function fQ(){let J=await W("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:z()});if(J.code!==0)return K(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=x(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return K(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function EQ(J){return null}async function mQ(){return{latest:null,stable:null}}async function uQ(J){let Y=await W("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:z()});if(Y.code!==0){if(K(`npm view versions failed with code ${Y.code}`),Y.stderr)K(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return x(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return K(`Failed to parse version history: ${Z}`),[]}}async function dQ(J,Q){if(!await DJ())return q(new G("Another process is currently installing an update")),F("",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{await uJ();let Y=XJ();if(Y==="npm"&&ZJ.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),F("",{currentVersion:"99.0.0"}),console.error(`
|
|
5
|
-
Error: Windows NPM detected in WSL
|
|
6
|
-
|
|
7
|
-
You're running Claudin in WSL but using the Windows NPM installation from /mnt/c/.
|
|
8
|
-
This configuration is not supported for updates.
|
|
9
|
-
|
|
10
|
-
To fix this issue:
|
|
11
|
-
1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
|
|
12
|
-
2. Make sure Linux NPM is in your PATH before the Windows version
|
|
13
|
-
3. Try updating again with 'claudin update'
|
|
14
|
-
`),"install_failed";let{hasPermissions:Z}=await mJ();if(!Z)return"no_permissions";let $=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",R=await W(Y,Y==="npm"?["install","-g","--force",$]:["install","-g",$],{cwd:z()});if(R.code!==0){let _=new G(`Failed to install new version of claude: ${R.stdout} ${R.stderr}`);return q(_),"install_failed"}return await HJ(),await bJ(Y,$,Q?.onProgress),w((_)=>({..._,installMethod:"global"})),"success"}finally{await fJ()}}async function uJ(){let J=S();for(let[,Q]of Object.entries(J))try{let Y=await L(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=a(Y);if($)await l(Q,Z),K(`Removed claude alias from ${Q}`)}catch(Y){K(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var G,FJ=4096,IJ,JJ=300000;var dJ=j(()=>{xJ();E();m();NJ();TJ();k();T();f();D();u();jJ();VJ();AJ();o();P();G=class G extends QJ{};IJ=/ENOENT/i});
|
|
15
|
-
export{rJ as uU,JQ as vU,QQ as wU,YQ as xU,ZQ as yU,g as zU,S as AU,a as BU,L as CU,l as DU,wJ as EU,HQ as FU,o as GU,zJ as HU,HJ as IU,IQ as JU,kQ as KU,bQ as LU,PQ as MU,vJ as NU,mJ as OU,DQ as PU,fQ as QU,EQ as RU,mQ as SU,uQ as TU,dQ as UU,dJ as VU};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{Kg as _Q,Mg as iQ}from"./cli-1.1.18-251zfmjp.mjs";import{Di as WQ,Ei as zX}from"./cli-1.1.18-049a81dd.mjs";import{Np as ZQ,Op as uQ,Vs as CQ,XJ as JJ,YJ as mJ,dK as GQ,dt as qX,eK as KQ,fK as VQ,gK as OQ,iK as NQ,lK as IJ,mK as nJ,nK as rJ,oK as gQ,rG as SJ,sG as YQ}from"./cli-1.1.18-xfb4pete.mjs";import{BY as BQ,DY as ZX,GY as FQ,HY as $X,NY as zJ,OY as iJ,nY as bJ,oY as aJ}from"./cli-1.1.18-0h118vrj.mjs";import{H1 as WJ,MZ as BJ,X0 as FJ,Y0 as CJ,Z0 as oJ,a1 as N,c1 as M,m1 as t,tZ as LJ,uZ as lJ,w1 as e}from"./cli-1.1.18-2w9274tq.mjs";import{d4 as q,e4 as _,f4 as s}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as AJ}from"./cli-1.1.18-cjkn7t4k.mjs";import{k9 as i,l9 as dJ}from"./cli-1.1.18-mrrbn0jj.mjs";import{Wga as x,cha as DJ}from"./cli-1.1.18-3y4pftxb.mjs";import{hha as f,iha as pJ,kha as n,oha as uJ,tha as vJ,zha as kQ}from"./cli-1.1.18-ndct9t5e.mjs";import{jja as UQ,lja as aQ}from"./cli-1.1.18-cj8tr93q.mjs";import{gta as OJ,kta as qJ,lta as oQ}from"./cli-1.1.18-hvd9yyb4.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let A of HJ(H.agents))if(K+=1,!A.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((A)=>!A.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",A=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return A+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),A=eJ(J),W=Math.min(U,Math.max(0,A.length-1)),X=A[W],{done:I,total:w}=tJ(J),[S]=BJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=A.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[A,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...A.filter(($)=>$.runId!==J.runId)]:A).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((B)=>Math.max(0,B-1));else if(Y.downArrow)O(),S((B)=>Math.min(Math.max(0,P-1),B+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(AJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),A=J.instructions.trim();return`---
|
|
2
|
-
${H}
|
|
3
|
-
---
|
|
4
|
-
${A?`${A}
|
|
5
|
-
`:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((A,W)=>({...A,name:W===U?K:A.name,handbackTo:A.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[A]=BJ(),W=FJ(A),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.1.18-5tbxn6cp.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),B=C-1,u=X&&B>=0?X.steps[B]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
|
|
6
|
-
`:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,B).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,B,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&B>=0)P((G)=>({...G,steps:qQ(G.steps,B,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,B,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&B>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===B?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&B>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===B?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,B,P]),jQ=E.useCallback(()=>{if(B<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==B)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,B,P]),gJ=E.useCallback((Q)=>{if(!X||B<0)return;let Z=B+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(B,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,B,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
|
|
7
|
-
`):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(AJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,A]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{A(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((B)=>Math.max(0,B-1));else if(P.downArrow)w((B)=>Math.min(H.length-1,B+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let B=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,B?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
|
|
8
|
-
name: ${J}
|
|
9
|
-
description: What this workflow does
|
|
10
|
-
steps:
|
|
11
|
-
- name: explore
|
|
12
|
-
agents: [explorer]
|
|
13
|
-
- name: synthesize
|
|
14
|
-
agents: [synthesizer]
|
|
15
|
-
handbackTo: [explore]
|
|
16
|
-
- name: done
|
|
17
|
-
---
|
|
18
|
-
Describe the goal and any house rules for this workflow.
|
|
19
|
-
`;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(AJ(),1)});function AQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return BQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[A,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
|
|
20
|
-
<status>${c.status}</status>
|
|
21
|
-
<summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
|
|
22
|
-
<result>${$}</result>
|
|
23
|
-
</task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:A==="running",inverse:A==="running",children:[" ","Running"," "]}),_(M,{bold:A==="library",inverse:A==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(A==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(AQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(AQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(AJ(),1)});
|
|
24
|
-
export{NZ as Xb,YX as Yb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{hX as H,jX as M}from"./cli-1.1.18-pbdm30bs.mjs";import{Uda as B,Zda as D,bba as y,kba as K,kea as L}from"./cli-1.1.18-3y4pftxb.mjs";import{kta as J}from"./cli-1.1.18-hvd9yyb4.mjs";async function Z(){let b=await H();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let x=D()?.remote?.defaultEnvironmentId,z=b.find((q)=>q.kind!=="bridge")??b[0],A=null;if(x){let q=b.find((k)=>k.environment_id===x);if(q){z=q;for(let k=y.length-1;k>=0;k--){let w=y[k];if(!w||w==="flagSettings")continue;if(B(w)?.remote?.defaultEnvironmentId===x){A=w;break}}}}return{availableEnvironments:b,selectedEnvironment:z,selectedEnvironmentSource:A}}var P=J(()=>{K();L();M()});
|
|
2
|
-
export{Z as Zb,P as _b};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{bsa as Q,csa as V,dsa as W,esa as X,fsa as Y,gsa as Z,rsa as w}from"./cli-1.1.18-p3yf1aq6.mjs";import{kta as v}from"./cli-1.1.18-hvd9yyb4.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
-
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{B as kla,L as lla,_ as mla,S as nla,k as ola,F as pla,D as qla,P as rla,x as sla,y as tla,T as ula,O as vla,R as wla,U as xla,f as yla,N as zla,I as Ala,$ as Bla,A as Cla,p as Dla,C as Ela,h as Fla,E as Gla,b as Hla};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kta as g}from"./cli-1.1.18-hvd9yyb4.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
|
|
2
|
-
export{Bq as kW,d as lW,$J as mW,DJ as nW,GJ as oW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Zja as X,aka as z}from"./cli-1.1.18-hbv881pn.mjs";import{Fka as Z,Kka as O,ala as $,dla as P}from"./cli-1.1.18-ypcye8ae.mjs";import{Ala as Y,Hla as H}from"./cli-1.1.18-cxg522yt.mjs";import{kta as x}from"./cli-1.1.18-hvd9yyb4.mjs";function y(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function U(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function j(q){let K=typeof q==="string"?q:Z(q),J=y(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function h(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function m(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var A=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
|
|
2
|
-
export{U as pf,j as qf,h as rf,m as sf,D as tf,L as uf,A as vf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{K7 as b,L7 as l,Q8 as c,q8 as S,w5 as j,z5 as h}from"./cli-1.1.18-703emt7y.mjs";import{n_ as F,o_ as D}from"./cli-1.1.18-f6m259he.mjs";import{Wga as y,cha as I}from"./cli-1.1.18-3y4pftxb.mjs";import{dja as $,eja as R,fja as _,gja as E}from"./cli-1.1.18-esvp6n4e.mjs";import{Xja as v,Yja as m}from"./cli-1.1.18-k05shz35.mjs";import{Fka as M,Kka as U,ala as W,dla as z}from"./cli-1.1.18-ypcye8ae.mjs";import{Ala as q,Hla as O,zla as k}from"./cli-1.1.18-cxg522yt.mjs";import{Ksa as T,ssa as Y}from"./cli-1.1.18-vzrv28w4.mjs";import{kta as A}from"./cli-1.1.18-hvd9yyb4.mjs";import{randomUUID as d}from"crypto";function u(J){if(!Y.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function p(J,B){let N;for(let K=0;K<=x;K++)try{return await Y.get(J,B)}catch(Q){if(N=Q,!u(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${q(Q)}`),Q;let V=f[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${q(Q)}`),await b(V)}throw N}async function C(){let J=S()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function BJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${v().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await p(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let X=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(X?.url){let G=F(X.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:X.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function NJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${v().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await Y.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let X=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(X||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function WJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function GJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${v().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??d(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await Y.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${q(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${v().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await Y.patch(Q,{title:B},{headers:V,validateStatus:(X)=>X<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${q(N)}`),!1}}var f,x,$J;var g=A(()=>{T();m();h();R();c();z();D();O();E();I();l();U();f=[2000,4000,8000,16000],x=f.length;$J=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
|
|
2
|
-
export{u as t4,p as u4,$J as v4,C as w4,BJ as x4,L as y4,NJ as z4,WJ as A4,GJ as B4,XJ as C4,g as D4};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{JF as L,KF as h,Wx as J,Xx as Z,rH as z,sH as M}from"./cli-1.1.18-xfb4pete.mjs";import{DZ as X}from"./cli-1.1.18-2w9274tq.mjs";import{g4 as W}from"./cli-1.1.18-cjkn7t4k.mjs";import{Vqa as H,yra as V}from"./cli-1.1.18-4c3jqppx.mjs";import{gta as D,kta as U}from"./cli-1.1.18-hvd9yyb4.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
|
|
2
|
-
export{v as yg,A as zg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ji as j,li as l}from"./cli-1.1.18-jgwwkx62.mjs";import{pi as W,vi as i}from"./cli-1.1.18-0z5526z3.mjs";import{Ax as U,Bx as m,DD as L,DQ as s,ED as h,Ev as _,IC as d,MC as E,Mw as B,NC as C,Rv as $,Rw as p,Sv as D,Uw as N,VO as b,VT as G,Vw as g,WO as o,ak as Z,bk as P,ej as Y,fU as r,fj as A,gU as R,hU as f,iU as F,jU as u,kU as t,nz as V,pz as S,tQ as x,uO as M,wO as n}from"./cli-1.1.18-xfb4pete.mjs";import{i_ as Q,o_ as k}from"./cli-1.1.18-f6m259he.mjs";import{T_ as O,__ as I,uaa as X,vaa as v}from"./cli-1.1.18-3y4pftxb.mjs";import{$qa as K,Pqa as J,yra as T}from"./cli-1.1.18-4c3jqppx.mjs";import{kta as y,lta as w}from"./cli-1.1.18-hvd9yyb4.mjs";function Mq(H=new Set){let z=H.size>0;if(u.cache.clear?.(),F.cache.clear?.(),f.cache.clear?.(),Y.cache.clear?.(),W(),x(),!z)N();if(R(null),K(null),b(),_(),G("session_start"),V(),X.clear(),Z(),!z)B();if(Q(),M(),!z)U();J(H),O(),L(),$(),j(),E(),import("./utils-1.1.18-8tjbjr7v.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.18-7czxxmxn.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.18-4vpps6mn.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.18-wh5jv6ay.mjs").then(({clearPromptCache:q})=>q())}var c=y(()=>{T();s();A();t();i();p();m();g();P();o();D();l();h();d();n();r();k();I();v();S();C()});
|
|
2
|
-
export{Mq as bi,c as ci};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{DZ as f}from"./cli-1.1.18-2w9274tq.mjs";import{d4 as n,f4 as i}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as M}from"./cli-1.1.18-cjkn7t4k.mjs";import{gta as o}from"./cli-1.1.18-hvd9yyb4.mjs";i();var p=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=p.c(3),{getFpsMetrics:s,children:c}=F,t;if(e[0]!==c||e[1]!==s)t=n(d.Provider,{value:s,children:c}),e[0]=c,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
|
|
2
|
-
export{a as mb,l as nb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hga as B,Kga as K,Xfa as $,Yfa as y,b$ as Z,d$ as f}from"./cli-1.1.18-3y4pftxb.mjs";import{Pla as Y,Vla as E}from"./cli-1.1.18-3s03nva1.mjs";import{kta as N,lta as x}from"./cli-1.1.18-hvd9yyb4.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
|
|
2
|
-
export{D as Li,s as Mi,g as Ni};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{k4 as J,m4 as Y}from"./cli-1.1.18-0aakxjsk.mjs";import{q4 as G,s4 as X}from"./cli-1.1.18-948h21gh.mjs";import{Q8 as W,q8 as B,u5 as z,v8 as D,w8 as F,z5 as V}from"./cli-1.1.18-703emt7y.mjs";import{Xja as w,Yja as N}from"./cli-1.1.18-k05shz35.mjs";import{Ksa as Q,ssa as y}from"./cli-1.1.18-vzrv28w4.mjs";import{kta as M}from"./cli-1.1.18-hvd9yyb4.mjs";async function f(){if(!D()||!F())return{};let q=B();if(q&&z(q.expiresAt))return null;let m=J();if(m.error)throw Error(`Auth error: ${m.error}`);let K={"Content-Type":"application/json","User-Agent":G(),...m.headers},L=`${w().BASE_API_URL}/api/oauth/usage`;return(await y.get(L,{headers:K,timeout:5000})).data}var Z=M(()=>{Q();N();W();Y();X();V()});
|
|
2
|
-
export{f as cj,Z as dj};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kta as $}from"./cli-1.1.18-hvd9yyb4.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 N1,Y as O1,h as P1,j as Q1,H as R1,w as S1,L as T1,A as U1,N as V1,m as W1,J as X1,g as Y1,I as Z1,_ as _1,u as $1,R as a2,C as b2,v as c2,b as d2,S as e2,K as f2,l as g2,o as h2,y as i2,a as j2,c as k2,t as l2,n as m2,i as n2,r as o2,e as p2,s as q2,zz as r2,Jz as s2,X as t2,T as u2,Zz as v2,f as w2};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{DN as Q,EN as $}from"./cli-1.1.18-xfb4pete.mjs";import{gma as V,hma as P,ina as W,jna as E}from"./cli-1.1.18-4c3jqppx.mjs";import{kta as L}from"./cli-1.1.18-hvd9yyb4.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
-
export{v as bd,C as cd};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Wd as c,_d as Eq}from"./cli-1.1.18-7g6xwfbz.mjs";import{AM as Lq,Ap as A,Cp as D,DM as Hq,Dp as Aq,EM as Jq,Ep as h,Fp as S,GL as v,GM as vq,Gp as Fq,HL as m,HM as y,IM as Qq,JL as Oq,JM as Xq,KM as Yq,LM as $q,MM as d,PM as Dq,Rt as l,St as wq,aM as n,gM as e,hM as P,kp as s,lM as jq,lp as Tq,mM as O,nM as qq,op as t,pM as I,qM as Gq,qp as Mq,up as i,wM as Cq,wp as Rq,zM as b}from"./cli-1.1.18-xfb4pete.mjs";import{Uda as F,Wda as L,Wga as a,cha as Bq,kea as _q,pda as V,xda as Kq}from"./cli-1.1.18-3y4pftxb.mjs";import{Oka as p,Ska as xq}from"./cli-1.1.18-ypcye8ae.mjs";import{Cla as N,Hla as Wq,zla as o}from"./cli-1.1.18-cxg522yt.mjs";import{Fna as f,yra as Uq}from"./cli-1.1.18-4c3jqppx.mjs";import{kta as Zq}from"./cli-1.1.18-hvd9yyb4.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(U){a(o(U));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,x=`${Z.name}@${Y}`,Q=await Jq({pluginId:x,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${x} (scope: ${H})${Q.depNote}`,pluginId:x,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),x=F(Z),Q,$;if(z)Q=Object.keys(x?.enabledPlugins??{}).find((W)=>W===q||W===z.name||W.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let W=yq(q);if(!W)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=W.pluginId,$=W.pluginName}let B=zq(H),U=O().plugins[Q],M=U?.find((W)=>W.scope===H&&W.projectPath===B);if(!M){let{scope:W}=kq(Q);if(W!==H&&U&&U.length>0){if(W==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${W} scope, not ${H}. Use --scope ${W} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...x?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),x=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&x===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?x===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:U}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(U)return{success:!1,message:`Failed to ${X} plugin: ${U.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
|
|
2
|
-
${G.join(`
|
|
3
|
-
`)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function UG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),x=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let U=await Yq(G.source,{manifest:{name:G.name}});Q=U.path,B=!0,K=U.gitCommitSha,$=await b(q,G.source,U.manifest,U.path,G.version,U.gitCommitSha)}else{let U;try{U=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=U.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let U=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===U||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:x,alreadyUpToDate:!0,scope:Y};U=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,U,$,K),_&&_!==U){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((W)=>W.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${x||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:x,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{Uq();Rq();Wq();xq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
|
|
4
|
-
export{k as Jd,HG as Kd,JG as Ld,QG as Md,kq as Nd,XG as Od,YG as Pd,$G as Qd,zG as Rd,ZG as Sd,UG as Td,hq as Ud};
|