@claudiolabs/claudin 1.1.28 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.29-awhbrkah.mjs +1 -0
- package/dist/chunks/App-1.1.29-pm1xvr3g.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.29-c44twxse.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.29-f11by8v4.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.29-vnqj2te2.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.29-z2ah9t9j.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.29-30pn689g.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.29-sja8s9ck.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.29-k98h1gzp.mjs +6 -0
- package/dist/chunks/Doctor-1.1.29-ab8tjfg7.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.29-16y5q4ta.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.29-rk6hjgv2.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.29-kwjexf2x.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.29-479a268q.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.29-vshc8a59.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.29-snkzzfjw.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.29-x67swksb.mjs +1 -0
- package/dist/chunks/REPL-1.1.29-yw76hfjs.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.29-033m6wha.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.29-kbtx0xa6.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.29-dq4fkj22.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.29-x5fsxqa3.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.29-18h9wdn7.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.29-42z37x43.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.29-dkk7q8sf.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.29-944b5g4w.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.29-j7qknp7t.mjs +1 -0
- package/dist/chunks/add-dir-1.1.29-na3kdm45.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.29-fjjae3tn.mjs +1 -0
- package/dist/chunks/agents-1.1.29-gdcf24kq.mjs +110 -0
- package/dist/chunks/agents-1.1.29-hbyggbar.mjs +3 -0
- package/dist/chunks/api-1.1.29-tb280rgw.mjs +1 -0
- package/dist/chunks/asciicast-1.1.29-69mc9agv.mjs +1 -0
- package/dist/chunks/assistant-1.1.29-qmvynqfb.mjs +1 -0
- package/dist/chunks/auth-1.1.29-k2h0c136.mjs +1 -0
- package/dist/chunks/auth-1.1.29-mkh8s4y7.mjs +1 -0
- package/dist/chunks/autoMode-1.1.29-5enddc49.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.29-p4hp4dv6.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.29-sk8rt0mh.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.29-qxt8xakt.mjs +1 -0
- package/dist/chunks/branch-1.1.29-0zwfdt6s.mjs +4 -0
- package/dist/chunks/bridge-1.1.29-ee6b7cck.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.29-4wseqmtn.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.29-2r501b1s.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.29-sk2e5ssh.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.29-mjz0jnns.mjs +1 -0
- package/dist/chunks/btw-1.1.29-arf7x19m.mjs +1 -0
- package/dist/chunks/buddy-1.1.29-awsva6y8.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.29-67egf5jw.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.29-yk1h4vdq.mjs +4 -0
- package/dist/chunks/caches-1.1.29-8ryyt679.mjs +1 -0
- package/dist/chunks/cd-1.1.29-w9gepxqm.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.29-7g8vpmk4.mjs +1 -0
- package/dist/chunks/claudemd-1.1.29-z00d07f9.mjs +1 -0
- package/dist/chunks/clear-1.1.29-aj6vgn4b.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.29-95xqw9gq.mjs +1 -0
- package/dist/chunks/cli-1.1.29-0kfg7hf8.mjs +2 -0
- package/dist/chunks/cli-1.1.29-0rnfn0gy.mjs +2 -0
- package/dist/chunks/cli-1.1.29-0s73ykp6.mjs +3 -0
- package/dist/chunks/cli-1.1.29-0tf52nkw.mjs +8 -0
- package/dist/chunks/cli-1.1.29-0v2ryegc.mjs +2 -0
- package/dist/chunks/cli-1.1.29-0vpcc8vm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-11hr4111.mjs +2 -0
- package/dist/chunks/cli-1.1.29-13gvy0m9.mjs +25 -0
- package/dist/chunks/cli-1.1.29-153rxzts.mjs +2 -0
- package/dist/chunks/cli-1.1.29-17kpfbq0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-1dqp4d2w.mjs +2 -0
- package/dist/chunks/cli-1.1.29-1pqjxrp8.mjs +2 -0
- package/dist/chunks/cli-1.1.29-20bcsb6f.mjs +15 -0
- package/dist/chunks/cli-1.1.29-23gv5dgk.mjs +2 -0
- package/dist/chunks/cli-1.1.29-247v5hpd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-252q86ck.mjs +2 -0
- package/dist/chunks/cli-1.1.29-27h8nqm5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-29svre2k.mjs +133 -0
- package/dist/chunks/cli-1.1.29-2e5s8gsb.mjs +24 -0
- package/dist/chunks/cli-1.1.29-2ezms0yf.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2hejf6pj.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2mcxe125.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2sjtk1zb.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2tyhgmxe.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2yev8mxw.mjs +6 -0
- package/dist/chunks/cli-1.1.29-31y8na35.mjs +2 -0
- package/dist/chunks/cli-1.1.29-34nqdrk5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-35kpvqby.mjs +4 -0
- package/dist/chunks/cli-1.1.29-3776marx.mjs +9 -0
- package/dist/chunks/cli-1.1.29-37j436rz.mjs +2 -0
- package/dist/chunks/cli-1.1.29-3dnft82a.mjs +2 -0
- package/dist/chunks/cli-1.1.29-3fcr0sm5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-3s4wcn65.mjs +4 -0
- package/dist/chunks/cli-1.1.29-40v483aw.mjs +58 -0
- package/dist/chunks/cli-1.1.29-4ahf2sg4.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4bemzx23.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4p953chd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4pdnzc5j.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4q271q7a.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4w9b7g8h.mjs +3 -0
- package/dist/chunks/cli-1.1.29-4xqgqvwm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4yztmbcx.mjs +17 -0
- package/dist/chunks/cli-1.1.29-55khgk00.mjs +9 -0
- package/dist/chunks/cli-1.1.29-566mygcr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-57e9kkv7.mjs +12 -0
- package/dist/chunks/cli-1.1.29-57f3k3fp.mjs +5 -0
- package/dist/chunks/cli-1.1.29-5bm4np8j.mjs +2 -0
- package/dist/chunks/cli-1.1.29-5gydp5n7.mjs +6 -0
- package/dist/chunks/cli-1.1.29-5mpj7dft.mjs +2 -0
- package/dist/chunks/cli-1.1.29-5p2zzfpq.mjs +4 -0
- package/dist/chunks/cli-1.1.29-5pbjmqzt.mjs +2 -0
- package/dist/chunks/cli-1.1.29-5svhj1v0.mjs +18 -0
- package/dist/chunks/cli-1.1.29-6g47vtst.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6kvtrk8a.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6mbq5wth.mjs +3 -0
- package/dist/chunks/cli-1.1.29-6ngsfhk3.mjs +17 -0
- package/dist/chunks/cli-1.1.29-6q1q5fa3.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6qykmvew.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6t6n6ctd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-71e5px3b.mjs +2 -0
- package/dist/chunks/cli-1.1.29-740d0ga1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-79tgwbnn.mjs +2 -0
- package/dist/chunks/cli-1.1.29-7p975zzx.mjs +2 -0
- package/dist/chunks/cli-1.1.29-7peev9wq.mjs +3 -0
- package/dist/chunks/cli-1.1.29-7pfvq0z6.mjs +60 -0
- package/dist/chunks/cli-1.1.29-7vrxybxh.mjs +15 -0
- package/dist/chunks/cli-1.1.29-834b4680.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8398r1x1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-842m4sds.mjs +2 -0
- package/dist/chunks/cli-1.1.29-84fpb4zk.mjs +2 -0
- package/dist/chunks/cli-1.1.29-89nqwnk6.mjs +3 -0
- package/dist/chunks/cli-1.1.29-8c371c3k.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8dsnjzad.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8eeh9yez.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8k2xw0ns.mjs +16 -0
- package/dist/chunks/cli-1.1.29-8s0k2ydg.mjs +2 -0
- package/dist/chunks/cli-1.1.29-995n5c8r.mjs +2 -0
- package/dist/chunks/cli-1.1.29-9fkgjjzm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-9n8sz71q.mjs +6 -0
- package/dist/chunks/cli-1.1.29-9qc9kyz8.mjs +6 -0
- package/dist/chunks/cli-1.1.29-9s3rafev.mjs +2 -0
- package/dist/chunks/cli-1.1.29-9s9kgzze.mjs +2 -0
- package/dist/chunks/cli-1.1.29-a1p2bm8x.mjs +4 -0
- package/dist/chunks/cli-1.1.29-a6pnwve8.mjs +206 -0
- package/dist/chunks/cli-1.1.29-aa81cr7r.mjs +2 -0
- package/dist/chunks/cli-1.1.29-aazftc8x.mjs +4 -0
- package/dist/chunks/cli-1.1.29-ajwqka67.mjs +2 -0
- package/dist/chunks/cli-1.1.29-akx5bp37.mjs +2 -0
- package/dist/chunks/cli-1.1.29-am1n3767.mjs +5553 -0
- package/dist/chunks/cli-1.1.29-aptcshv0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ar7jahd2.mjs +2 -0
- package/dist/chunks/cli-1.1.29-bpvwqqqm.mjs +3 -0
- package/dist/chunks/cli-1.1.29-bzfhb58d.mjs +21 -0
- package/dist/chunks/cli-1.1.29-c67xmzgw.mjs +2 -0
- package/dist/chunks/cli-1.1.29-c7eatffy.mjs +7 -0
- package/dist/chunks/cli-1.1.29-ccmw3ns3.mjs +2 -0
- package/dist/chunks/cli-1.1.29-cgska4m2.mjs +2 -0
- package/dist/chunks/cli-1.1.29-cjy4bmpv.mjs +2 -0
- package/dist/chunks/cli-1.1.29-cwngf5s4.mjs +2 -0
- package/dist/chunks/cli-1.1.29-df0crs3h.mjs +2 -0
- package/dist/chunks/cli-1.1.29-dfra4ygt.mjs +2 -0
- package/dist/chunks/cli-1.1.29-dpzd32s9.mjs +2 -0
- package/dist/chunks/cli-1.1.29-dseazhey.mjs +34 -0
- package/dist/chunks/cli-1.1.29-e7b3rw2q.mjs +2 -0
- package/dist/chunks/cli-1.1.29-enk5zgkk.mjs +2 -0
- package/dist/chunks/cli-1.1.29-eq7p29fp.mjs +2 -0
- package/dist/chunks/cli-1.1.29-erh6v56f.mjs +2 -0
- package/dist/chunks/cli-1.1.29-es8f8tm1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ex9733z1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-f103mqc1.mjs +133 -0
- package/dist/chunks/cli-1.1.29-f56z0kjj.mjs +2 -0
- package/dist/chunks/cli-1.1.29-f8qh0czy.mjs +24 -0
- package/dist/chunks/cli-1.1.29-fhwjnhs2.mjs +12 -0
- package/dist/chunks/cli-1.1.29-fsht50yz.mjs +2 -0
- package/dist/chunks/cli-1.1.29-g2g0bf6s.mjs +2 -0
- package/dist/chunks/cli-1.1.29-g9nssmee.mjs +2 -0
- package/dist/chunks/cli-1.1.29-gd1bzvdb.mjs +20 -0
- package/dist/chunks/cli-1.1.29-gfwfhh3b.mjs +4 -0
- package/dist/chunks/cli-1.1.29-gfyabc3h.mjs +2 -0
- package/dist/chunks/cli-1.1.29-gycpj0z6.mjs +2 -0
- package/dist/chunks/cli-1.1.29-h1ej5qf0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-h4fg85xm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-hez6jzkx.mjs +2 -0
- package/dist/chunks/cli-1.1.29-hsa1qk75.mjs +2 -0
- package/dist/chunks/cli-1.1.29-j17q2nnf.mjs +2 -0
- package/dist/chunks/cli-1.1.29-j3n6rxnx.mjs +2 -0
- package/dist/chunks/cli-1.1.29-k0yj3sf0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-kcfqkdev.mjs +24 -0
- package/dist/chunks/cli-1.1.29-kd96jtpb.mjs +2 -0
- package/dist/chunks/cli-1.1.29-kjbjanmr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-krg96g94.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ksekfz16.mjs +3 -0
- package/dist/chunks/cli-1.1.29-kywbej24.mjs +3 -0
- package/dist/chunks/cli-1.1.29-m4bwjmrm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-m4j21s8k.mjs +3 -0
- package/dist/chunks/cli-1.1.29-m7rehwdd.mjs +58 -0
- package/dist/chunks/cli-1.1.29-mcacd7ag.mjs +2 -0
- package/dist/chunks/cli-1.1.29-mn3z3w8e.mjs +2 -0
- package/dist/chunks/cli-1.1.29-mwntmkzh.mjs +39 -0
- package/dist/chunks/cli-1.1.29-mxtxy5qg.mjs +2 -0
- package/dist/chunks/cli-1.1.29-mxxghqnd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nkb4dq83.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nn0hkwgq.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nx6ynaex.mjs +6 -0
- package/dist/chunks/cli-1.1.29-nxbgdt4q.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nxvs12dw.mjs +2 -0
- package/dist/chunks/cli-1.1.29-pbydvpcy.mjs +7 -0
- package/dist/chunks/cli-1.1.29-pf67dsfj.mjs +42 -0
- package/dist/chunks/cli-1.1.29-pwsznt80.mjs +2 -0
- package/dist/chunks/cli-1.1.29-q4fv8e5e.mjs +2 -0
- package/dist/chunks/cli-1.1.29-q7nywp06.mjs +2 -0
- package/dist/chunks/cli-1.1.29-q9atby2h.mjs +2 -0
- package/dist/chunks/cli-1.1.29-qqcjvb8v.mjs +3 -0
- package/dist/chunks/cli-1.1.29-qyg6dttd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-qz5zy9rd.mjs +4 -0
- package/dist/chunks/cli-1.1.29-ra7737c1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rah0vfkh.mjs +1 -0
- package/dist/chunks/cli-1.1.29-rbtgtxtr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rcf2pvf2.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rd1s45en.mjs +24 -0
- package/dist/chunks/cli-1.1.29-rfz718th.mjs +6 -0
- package/dist/chunks/cli-1.1.29-rn9a55ga.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rnrvwymv.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rse83jw9.mjs +2 -0
- package/dist/chunks/cli-1.1.29-s7njwf37.mjs +15 -0
- package/dist/chunks/cli-1.1.29-s8attyep.mjs +2 -0
- package/dist/chunks/cli-1.1.29-sb5dzja5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-scf5dmr2.mjs +50 -0
- package/dist/chunks/cli-1.1.29-sgfpybka.mjs +2 -0
- package/dist/chunks/cli-1.1.29-smn5dd7n.mjs +2 -0
- package/dist/chunks/cli-1.1.29-snxnt4nr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-t64smfse.mjs +2 -0
- package/dist/chunks/cli-1.1.29-tf20f72b.mjs +2 -0
- package/dist/chunks/cli-1.1.29-tg84q1yd.mjs +20 -0
- package/dist/chunks/cli-1.1.29-tyew653x.mjs +3 -0
- package/dist/chunks/cli-1.1.29-tz817yh8.mjs +2 -0
- package/dist/chunks/cli-1.1.29-v4wsvara.mjs +2 -0
- package/dist/chunks/cli-1.1.29-v6y1118n.mjs +4 -0
- package/dist/chunks/cli-1.1.29-v9bvr1aw.mjs +5 -0
- package/dist/chunks/cli-1.1.29-vd6b2ckm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vmmpxa0v.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vp3z0245.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vr34j6s2.mjs +3 -0
- package/dist/chunks/cli-1.1.29-vv1sy2ya.mjs +25 -0
- package/dist/chunks/cli-1.1.29-vws4vx43.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vybx7rvs.mjs +10 -0
- package/dist/chunks/cli-1.1.29-we6vghby.mjs +2 -0
- package/dist/chunks/cli-1.1.29-wscghnfp.mjs +2 -0
- package/dist/chunks/cli-1.1.29-wv5r6reg.mjs +2 -0
- package/dist/chunks/cli-1.1.29-wxg06wve.mjs +2 -0
- package/dist/chunks/cli-1.1.29-xfcy5e42.mjs +2 -0
- package/dist/chunks/cli-1.1.29-xfhxkzzh.mjs +2 -0
- package/dist/chunks/cli-1.1.29-xftqnjy0.mjs +4 -0
- package/dist/chunks/cli-1.1.29-xjh2k6ex.mjs +3 -0
- package/dist/chunks/cli-1.1.29-xrwps5rg.mjs +3 -0
- package/dist/chunks/cli-1.1.29-y3v15ehz.mjs +2 -0
- package/dist/chunks/cli-1.1.29-yddrcp23.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ykat6ksh.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ymcd1d05.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ypgjht1s.mjs +2 -0
- package/dist/chunks/cli-1.1.29-yv3r7f00.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zb1qmpq0.mjs +45 -0
- package/dist/chunks/cli-1.1.29-ze1sanxc.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zf1md9se.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zh2qqpcy.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zqccyb2h.mjs +2 -0
- package/dist/chunks/client-1.1.29-abnv29yp.mjs +1 -0
- package/dist/chunks/color-1.1.29-h2d0ea1p.mjs +1 -0
- package/dist/chunks/compact-1.1.29-071ysk4h.mjs +3 -0
- package/dist/chunks/config-1.1.29-jhy41xna.mjs +1 -0
- package/dist/chunks/config-1.1.29-wzvad2ns.mjs +1 -0
- package/dist/chunks/constants-1.1.29-5536grwb.mjs +1 -0
- package/dist/chunks/context-1.1.29-qxvktpnx.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.29-rypt767r.mjs +1 -0
- package/dist/chunks/conversation-1.1.29-yr51bv23.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.29-h3z6avxk.mjs +1 -0
- package/dist/chunks/copy-1.1.29-ze2g86qn.mjs +9 -0
- package/dist/chunks/cost-1.1.29-bn9nefss.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.29-5fe73ss4.mjs +1 -0
- package/dist/chunks/createSession-1.1.29-rscwvwx3.mjs +1 -0
- package/dist/chunks/debug-1.1.29-hsa8740f.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.29-nrkya6cw.mjs +1534 -0
- package/dist/chunks/desktop-1.1.29-wzh1a3fx.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.29-tgssqtyy.mjs +1 -0
- package/dist/chunks/detection-1.1.29-f3hp0x2s.mjs +1 -0
- package/dist/chunks/diff-1.1.29-h7fm7n04.mjs +1 -0
- package/dist/chunks/doctor-1.1.29-5ccr1m55.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.29-vmnf895k.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.29-d0ktjabf.mjs +1 -0
- package/dist/chunks/effort-1.1.29-xxzxaym4.mjs +13 -0
- package/dist/chunks/engine-1.1.29-9ekq4v2g.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.29-8c9jjpjy.mjs +1 -0
- package/dist/chunks/envUtils-1.1.29-593t90q5.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.29-g5qpphd9.mjs +1 -0
- package/dist/chunks/environments-1.1.29-x2aa2eet.mjs +1 -0
- package/dist/chunks/errors-1.1.29-jgx19cvb.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.29-wxzjn2xw.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.29-hexzsnhv.mjs +1 -0
- package/dist/chunks/exit-1.1.29-h788x2yv.mjs +1 -0
- package/dist/chunks/explorer-1.1.29-wtr7bga1.mjs +1 -0
- package/dist/chunks/export-1.1.29-42ve1rgm.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.29-y1e1m369.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.29-gq3g80nm.mjs +1 -0
- package/dist/chunks/fast-1.1.29-h6r42366.mjs +1 -0
- package/dist/chunks/feedback-1.1.29-st43crhj.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.29-ckcepqgc.mjs +1 -0
- package/dist/chunks/git-1.1.29-j563zwhc.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.29-vk8m9ket.mjs +1 -0
- package/dist/chunks/goal-1.1.29-p7hzmh24.mjs +4 -0
- package/dist/chunks/growthbook-1.1.29-3549rcjz.mjs +1 -0
- package/dist/chunks/headless-1.1.29-5vx8fpbe.mjs +2 -0
- package/dist/chunks/heapdump-1.1.29-rp203g47.mjs +6 -0
- package/dist/chunks/help-1.1.29-3y5b0e2g.mjs +1 -0
- package/dist/chunks/hookChains-1.1.29-ga4rejj3.mjs +3 -0
- package/dist/chunks/hooks-1.1.29-b38tdtzk.mjs +1 -0
- package/dist/chunks/hooks-1.1.29-ygwx2459.mjs +79 -0
- package/dist/chunks/ide-1.1.29-67nmghjh.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.29-z1xa8jsd.mjs +1 -0
- package/dist/chunks/import-1.1.29-627psf8x.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.29-9dtr0d37.mjs +1 -0
- package/dist/chunks/index-1.1.29-101dgedk.mjs +9 -0
- package/dist/chunks/index-1.1.29-3mknam1s.mjs +1 -0
- package/dist/chunks/index-1.1.29-3rjcfsf3.mjs +1 -0
- package/dist/chunks/index-1.1.29-4ye92se8.mjs +1 -0
- package/dist/chunks/index-1.1.29-568ncn0w.mjs +1 -0
- package/dist/chunks/index-1.1.29-5zbg7qfm.mjs +1 -0
- package/dist/chunks/index-1.1.29-6pe6cr8p.mjs +1 -0
- package/dist/chunks/index-1.1.29-cpvbfs32.mjs +5 -0
- package/dist/chunks/index-1.1.29-e90xbdas.mjs +23 -0
- package/dist/chunks/index-1.1.29-efsdrxv3.mjs +1 -0
- package/dist/chunks/index-1.1.29-gy6pctgv.mjs +1 -0
- package/dist/chunks/index-1.1.29-jghqwznd.mjs +1 -0
- package/dist/chunks/index-1.1.29-k42kw8w5.mjs +1 -0
- package/dist/chunks/index-1.1.29-kvaapa6z.mjs +1 -0
- package/dist/chunks/index-1.1.29-mwtftmry.mjs +9 -0
- package/dist/chunks/index-1.1.29-q7ydx0h2.mjs +2 -0
- package/dist/chunks/index-1.1.29-r4y0qs9x.mjs +1 -0
- package/dist/chunks/index-1.1.29-rgsmqr6q.mjs +1 -0
- package/dist/chunks/index-1.1.29-tfnnf0k2.mjs +1 -0
- package/dist/chunks/index-1.1.29-v640rrh6.mjs +1 -0
- package/dist/chunks/index-1.1.29-v7vcnkxr.mjs +30 -0
- package/dist/chunks/index-1.1.29-xwekv48p.mjs +2 -0
- package/dist/chunks/index-1.1.29-z8a1fx6p.mjs +1 -0
- package/dist/chunks/init-1.1.29-h07twh7g.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.29-ae1e53vd.mjs +1 -0
- package/dist/chunks/ink-1.1.29-jkk9zn2g.mjs +1 -0
- package/dist/chunks/insights-1.1.29-awyethqq.mjs +870 -0
- package/dist/chunks/install-1.1.29-yhkejpep.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.29-jsrj24s4.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.29-gts768ac.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.29-mhgk5gm7.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.29-nz689brn.mjs +1 -0
- package/dist/chunks/keybindings-1.1.29-gh9axh60.mjs +2 -0
- package/dist/chunks/knowledge-1.1.29-hfwtr4gz.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.29-hfeprnvk.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.29-m2np7bm8.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.29-zpz05b3t.mjs +1 -0
- package/dist/chunks/log-1.1.29-fw86q3jh.mjs +1 -0
- package/dist/chunks/main-1.1.29-w3b4z9p1.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.29-r7qb1f8v.mjs +1 -0
- package/dist/chunks/mcp-1.1.29-jyq80had.mjs +4 -0
- package/dist/chunks/mcp-1.1.29-rj6rmrwj.mjs +17 -0
- package/dist/chunks/mcp-1.1.29-v1dw736k.mjs +1 -0
- package/dist/chunks/mcpb-1.1.29-2eqhsr4h.mjs +1 -0
- package/dist/chunks/memory-1.1.29-f9bfe5q1.mjs +77 -0
- package/dist/chunks/model-1.1.29-3cbf7nj8.mjs +1 -0
- package/dist/chunks/model-1.1.29-65mwx0jt.mjs +2 -0
- package/dist/chunks/node-1.1.29-9gdbqzzb.mjs +15 -0
- package/dist/chunks/node-1.1.29-g8j45zsn.mjs +1 -0
- package/dist/chunks/oauth-1.1.29-rzdyddzx.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.29-3v0weah8.mjs +14 -0
- package/dist/chunks/output-style-1.1.29-kh5kpq0r.mjs +1 -0
- package/dist/chunks/package-OS7RONXY-1.1.29-wartca0p.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.29-1pk3egnf.mjs +1 -0
- package/dist/chunks/parser-1.1.29-j664c2gz.mjs +1 -0
- package/dist/chunks/passes-1.1.29-daz9sxtn.mjs +1 -0
- package/dist/chunks/permissions-1.1.29-2t8t5tw7.mjs +1 -0
- package/dist/chunks/permissions-1.1.29-yrdqzbx5.mjs +3 -0
- package/dist/chunks/plan-1.1.29-bz008b9p.mjs +1 -0
- package/dist/chunks/plist-1.1.29-35acgftn.mjs +1 -0
- package/dist/chunks/plugin-1.1.29-8f04719q.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.29-xb113h6m.mjs +1 -0
- package/dist/chunks/plugins-1.1.29-qvtkwvvz.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.29-y3pz26pa.mjs +2 -0
- package/dist/chunks/print-1.1.29-efswnrv9.mjs +57 -0
- package/dist/chunks/process-1.1.29-58f1e2bp.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.29-d1jsv2w2.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.29-b3y0q14a.mjs +9 -0
- package/dist/chunks/prompt-1.1.29-62tsknn0.mjs +1 -0
- package/dist/chunks/prompt-1.1.29-jhbfphh7.mjs +1 -0
- package/dist/chunks/prompts-1.1.29-3z4c3ek4.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.29-rdwh19s1.mjs +13 -0
- package/dist/chunks/provider-1.1.29-3zvq773g.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.29-607et4qp.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.29-yenzyrfm.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.29-298ja1r1.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.29-4jd1spvm.mjs +26 -0
- package/dist/chunks/registry-1.1.29-m25stkr0.mjs +1 -0
- package/dist/chunks/release-notes-1.1.29-22baamfx.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.29-phv53y08.mjs +2 -0
- package/dist/chunks/remote-env-1.1.29-2ey2vymh.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.29-eafsxes0.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.29-hs2wyhc3.mjs +1 -0
- package/dist/chunks/rename-1.1.29-75kb3avp.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.29-dz6hhgez.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.29-09a6pk1q.mjs +1 -0
- package/dist/chunks/resume-1.1.29-685rb92g.mjs +2 -0
- package/dist/chunks/rewind-1.1.29-7nw7f08p.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.29-9cr8rvbr.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.29-xmaezf6n.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.29-db9nwpd6.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.29-wzeynybm.mjs +1 -0
- package/dist/chunks/session-1.1.29-m8fppsh2.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.29-ast9gceq.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.29-h1eqvpq2.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.29-aykc0gmj.mjs +1 -0
- package/dist/chunks/settings-1.1.29-0c2fyzj5.mjs +1 -0
- package/dist/chunks/setup-1.1.29-y2wjm0r9.mjs +12 -0
- package/dist/chunks/sinks-1.1.29-5rs2f8yn.mjs +1 -0
- package/dist/chunks/skills-1.1.29-cp2813x4.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.29-kh45g8fh.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.29-82s33sqm.mjs +1 -0
- package/dist/chunks/state-1.1.29-p67vvgkh.mjs +1 -0
- package/dist/chunks/stats-1.1.29-by56pge2.mjs +1 -0
- package/dist/chunks/status-1.1.29-hw493zns.mjs +1 -0
- package/dist/chunks/stickers-1.1.29-8s1sjy27.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.29-qz9p5e81.mjs +1 -0
- package/dist/chunks/tasks-1.1.29-337vzgbz.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.29-85qvaaf6.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.29-k78c522w.mjs +1 -0
- package/dist/chunks/teleport-1.1.29-c44n1v9b.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.29-rrwvk8ab.mjs +1 -0
- package/dist/chunks/theme-1.1.29-y04xza5k.mjs +1 -0
- package/dist/chunks/thinkback-1.1.29-s3hjbm7q.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.29-2bhrtfq9.mjs +1 -0
- package/dist/chunks/toolPool-1.1.29-gfpcfj2x.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.29-vfnsb7j0.mjs +1 -0
- package/dist/chunks/tools-1.1.29-w11mxfwv.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.29-qwyypx3m.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.29-yxqqz6t4.mjs +69 -0
- package/dist/chunks/types-1.1.29-2v59e63g.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.29-a115pcna.mjs +4 -0
- package/dist/chunks/update-1.1.29-3zmwqt73.mjs +72 -0
- package/dist/chunks/upgrade-1.1.29-xpe0b67z.mjs +1 -0
- package/dist/chunks/upload-1.1.29-d3tkf4nc.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.29-fqatj32w.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.29-9w1d0vdc.mjs +1 -0
- package/dist/chunks/usage-1.1.29-6mr5tsjn.mjs +1 -0
- package/dist/chunks/util-1.1.29-94aahqex.mjs +1 -0
- package/dist/chunks/utils-1.1.29-jg1xnwx8.mjs +1 -0
- package/dist/chunks/vim-1.1.29-hf5m1934.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.29-7z8smp5m.mjs +13 -0
- package/dist/chunks/watcher-1.1.29-qeqe2296.mjs +1 -0
- package/dist/chunks/wiki-1.1.29-cr99gpcx.mjs +132 -0
- package/dist/chunks/workflows-1.1.29-v6f0e3am.mjs +1 -0
- package/dist/chunks/worktree-1.1.29-qf1zfstj.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.29-qxpsmfqy.mjs +1 -0
- package/dist/chunks/wrapper-1.1.29-b7y6s4vd.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.28-hdgcephe.mjs +0 -1
- package/dist/chunks/App-1.1.28-rdhr58j6.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +0 -6
- package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +0 -1
- package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +0 -1
- package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +0 -1
- package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +0 -110
- package/dist/chunks/agents-1.1.28-4qdh001q.mjs +0 -3
- package/dist/chunks/api-1.1.28-znpy0eyy.mjs +0 -1
- package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +0 -1
- package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +0 -1
- package/dist/chunks/auth-1.1.28-bw7dane8.mjs +0 -1
- package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +0 -1
- package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +0 -1
- package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +0 -4
- package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +0 -1
- package/dist/chunks/btw-1.1.28-p1tk901s.mjs +0 -1
- package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +0 -4
- package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +0 -1
- package/dist/chunks/cd-1.1.28-84z1kqam.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +0 -1
- package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +0 -1
- package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +0 -1
- package/dist/chunks/cli-1.1.28-01g60h7m.mjs +0 -2
- package/dist/chunks/cli-1.1.28-040xb4f8.mjs +0 -2
- package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +0 -24
- package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +0 -60
- package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +0 -24
- package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +0 -58
- package/dist/chunks/cli-1.1.28-130w2y17.mjs +0 -50
- package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-14abe08r.mjs +0 -4
- package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1mscaejt.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1q409efb.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +0 -5
- package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +0 -34
- package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +0 -6
- package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +0 -2
- package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +0 -4
- package/dist/chunks/cli-1.1.28-347ygvzg.mjs +0 -6
- package/dist/chunks/cli-1.1.28-36891pwy.mjs +0 -2
- package/dist/chunks/cli-1.1.28-36y6830c.mjs +0 -2
- package/dist/chunks/cli-1.1.28-37rkgevh.mjs +0 -2
- package/dist/chunks/cli-1.1.28-3bj091x6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-3fssr567.mjs +0 -2
- package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4kda7s33.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +0 -9
- package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +0 -3
- package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +0 -6
- package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +0 -206
- package/dist/chunks/cli-1.1.28-638dshxx.mjs +0 -42
- package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +0 -2
- package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +0 -17
- package/dist/chunks/cli-1.1.28-75thpvfa.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7amn29ks.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7g65bppm.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +0 -4
- package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +0 -25
- package/dist/chunks/cli-1.1.28-7x94aewp.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +0 -2
- package/dist/chunks/cli-1.1.28-83k0knzj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +0 -2
- package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +0 -4
- package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +0 -2
- package/dist/chunks/cli-1.1.28-8v2vx373.mjs +0 -2
- package/dist/chunks/cli-1.1.28-943993zt.mjs +0 -2
- package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +0 -5
- package/dist/chunks/cli-1.1.28-95fs05hq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +0 -2
- package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-a00k75hj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +0 -16
- package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +0 -2
- package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +0 -15
- package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +0 -15
- package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +0 -3
- package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-brh6rw23.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +0 -2
- package/dist/chunks/cli-1.1.28-by5acg3a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +0 -7
- package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +0 -2
- package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +0 -2
- package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +0 -24
- package/dist/chunks/cli-1.1.28-davs3ve8.mjs +0 -58
- package/dist/chunks/cli-1.1.28-denmqz0s.mjs +0 -2
- package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +0 -2
- package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +0 -3
- package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-egskcwa5.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ek683x01.mjs +0 -2
- package/dist/chunks/cli-1.1.28-epzkhgww.mjs +0 -2
- package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +0 -6
- package/dist/chunks/cli-1.1.28-es8var4t.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +0 -24
- package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +0 -2
- package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +0 -12
- package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +0 -2
- package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +0 -39
- package/dist/chunks/cli-1.1.28-fetsedc8.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +0 -2
- package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +0 -2
- package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +0 -8
- package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +0 -2
- package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hb02sa63.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hkfays5k.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +0 -17
- package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +0 -3
- package/dist/chunks/cli-1.1.28-j6nysca9.mjs +0 -2
- package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +0 -3
- package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +0 -2
- package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +0 -2
- package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +0 -20
- package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +0 -3
- package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +0 -2
- package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +0 -2
- package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +0 -3
- package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-knfg26kb.mjs +0 -2
- package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mdexghj2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +0 -4
- package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +0 -3
- package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mx413hqd.mjs +0 -3
- package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +0 -2
- package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +0 -2
- package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +0 -2
- package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +0 -10
- package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +0 -4
- package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +0 -2
- package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +0 -25
- package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-prd0t983.mjs +0 -9
- package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +0 -4
- package/dist/chunks/cli-1.1.28-q14qmewe.mjs +0 -2
- package/dist/chunks/cli-1.1.28-q43r6snq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qb921m5a.mjs +0 -3
- package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +0 -3
- package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +0 -45
- package/dist/chunks/cli-1.1.28-qj312jgw.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +0 -4
- package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-r81y1681.mjs +0 -3
- package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +0 -2
- package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +0 -4
- package/dist/chunks/cli-1.1.28-rez81jab.mjs +0 -6
- package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +0 -2
- package/dist/chunks/cli-1.1.28-rt0aect8.mjs +0 -2
- package/dist/chunks/cli-1.1.28-rwfwz209.mjs +0 -2
- package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +0 -3
- package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +0 -2
- package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +0 -2
- package/dist/chunks/cli-1.1.28-smb1frk6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +0 -12
- package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +0 -2
- package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +0 -2
- package/dist/chunks/cli-1.1.28-t5yawarz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-tt0c354s.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +0 -133
- package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vje1ac31.mjs +0 -7
- package/dist/chunks/cli-1.1.28-vphadsag.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +0 -3
- package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +0 -2
- package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +0 -20
- package/dist/chunks/cli-1.1.28-wew8jymx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-wvj52k91.mjs +0 -2
- package/dist/chunks/cli-1.1.28-wze93r29.mjs +0 -2
- package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +0 -18
- package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +0 -2
- package/dist/chunks/cli-1.1.28-x13sctb2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-y173v5ak.mjs +0 -133
- package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +0 -2
- package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +0 -2
- package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +0 -15
- package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +0 -2
- package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-yyk292aq.mjs +0 -6
- package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +0 -21
- package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +0 -2
- package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +0 -1
- package/dist/chunks/cli-1.1.28-zhftjycn.mjs +0 -5553
- package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +0 -2
- package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +0 -2
- package/dist/chunks/client-1.1.28-59t63af8.mjs +0 -1
- package/dist/chunks/color-1.1.28-gmbrq89g.mjs +0 -1
- package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +0 -3
- package/dist/chunks/config-1.1.28-b69ey9g1.mjs +0 -1
- package/dist/chunks/config-1.1.28-cryax439.mjs +0 -1
- package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +0 -1
- package/dist/chunks/context-1.1.28-09kfp2sa.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +0 -1
- package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +0 -1
- package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +0 -9
- package/dist/chunks/cost-1.1.28-507xt42s.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +0 -1
- package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +0 -1
- package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +0 -1534
- package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +0 -1
- package/dist/chunks/detection-1.1.28-06p2mev8.mjs +0 -1
- package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +0 -1
- package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +0 -1
- package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +0 -13
- package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +0 -1
- package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +0 -1
- package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +0 -1
- package/dist/chunks/errors-1.1.28-eysc80qa.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +0 -1
- package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +0 -1
- package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +0 -1
- package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +0 -1
- package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +0 -1
- package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +0 -1
- package/dist/chunks/git-1.1.28-ktf61jaz.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +0 -1
- package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +0 -4
- package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +0 -1
- package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +0 -6
- package/dist/chunks/help-1.1.28-yhrv28x1.mjs +0 -1
- package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +0 -3
- package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +0 -79
- package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +0 -1
- package/dist/chunks/ide-1.1.28-27vb56tk.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +0 -1
- package/dist/chunks/import-1.1.28-bqs6ebec.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +0 -1
- package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +0 -23
- package/dist/chunks/index-1.1.28-30ges9rx.mjs +0 -1
- package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +0 -1
- package/dist/chunks/index-1.1.28-76ztpb54.mjs +0 -1
- package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +0 -1
- package/dist/chunks/index-1.1.28-ac1sbem8.mjs +0 -9
- package/dist/chunks/index-1.1.28-axnrgqkq.mjs +0 -1
- package/dist/chunks/index-1.1.28-b5b1qact.mjs +0 -1
- package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +0 -1
- package/dist/chunks/index-1.1.28-bt937784.mjs +0 -1
- package/dist/chunks/index-1.1.28-bxtzy977.mjs +0 -2
- package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +0 -9
- package/dist/chunks/index-1.1.28-dtfxav1q.mjs +0 -1
- package/dist/chunks/index-1.1.28-gk3v69b8.mjs +0 -1
- package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +0 -1
- package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +0 -1
- package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +0 -1
- package/dist/chunks/index-1.1.28-w2a4k4md.mjs +0 -2
- package/dist/chunks/index-1.1.28-wajajmmp.mjs +0 -1
- package/dist/chunks/index-1.1.28-xaw4tf13.mjs +0 -30
- package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +0 -1
- package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +0 -5
- package/dist/chunks/index-1.1.28-z85wbmey.mjs +0 -1
- package/dist/chunks/init-1.1.28-vt168swt.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +0 -1
- package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +0 -1
- package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +0 -870
- package/dist/chunks/install-1.1.28-azeaj14w.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +0 -1
- package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +0 -2
- package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +0 -1
- package/dist/chunks/log-1.1.28-744tvnnz.mjs +0 -1
- package/dist/chunks/main-1.1.28-ngd4qj24.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +0 -1
- package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +0 -17
- package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +0 -1
- package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +0 -4
- package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +0 -1
- package/dist/chunks/memory-1.1.28-437zyh3m.mjs +0 -77
- package/dist/chunks/model-1.1.28-1weg50dg.mjs +0 -2
- package/dist/chunks/model-1.1.28-qbnnaa17.mjs +0 -1
- package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +0 -15
- package/dist/chunks/node-1.1.28-q18jbvyv.mjs +0 -1
- package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +0 -14
- package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +0 -1
- package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +0 -1
- package/dist/chunks/parser-1.1.28-hahczgmc.mjs +0 -1
- package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +0 -1
- package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +0 -1
- package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +0 -3
- package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +0 -1
- package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +0 -1
- package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +0 -1
- package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +0 -2
- package/dist/chunks/print-1.1.28-g8smjzce.mjs +0 -57
- package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +0 -9
- package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +0 -1
- package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +0 -1
- package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +0 -13
- package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +0 -26
- package/dist/chunks/registry-1.1.28-a9wz892f.mjs +0 -1
- package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +0 -2
- package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +0 -1
- package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +0 -1
- package/dist/chunks/resume-1.1.28-mr6necqk.mjs +0 -2
- package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +0 -1
- package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +0 -1
- package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +0 -1
- package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +0 -12
- package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +0 -1
- package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +0 -1
- package/dist/chunks/state-1.1.28-fd27gqw0.mjs +0 -1
- package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +0 -1
- package/dist/chunks/status-1.1.28-67a4bkc3.mjs +0 -1
- package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +0 -1
- package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +0 -1
- package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +0 -1
- package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +0 -1
- package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +0 -1
- package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +0 -1
- package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +0 -69
- package/dist/chunks/types-1.1.28-51fcbp8c.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +0 -4
- package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +0 -72
- package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +0 -1
- package/dist/chunks/upload-1.1.28-whe18m8m.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +0 -1
- package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +0 -1
- package/dist/chunks/util-1.1.28-cvpx898d.mjs +0 -1
- package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +0 -1
- package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +0 -13
- package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +0 -1
- package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +0 -132
- package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +0 -1
- package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +0 -1
- package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +0 -7
- /package/dist/chunks/{cli-1.1.28-m37hk495.mjs → cli-1.1.29-09pf4n9h.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-f658tc1w.mjs → cli-1.1.29-8zfk7gyk.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-m7x3ax7z.mjs → cli-1.1.29-h0m93zmw.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-7d7hz6b4.mjs → cli-1.1.29-skjcgaw2.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-qzdtd4w8.mjs → cli-1.1.29-v507w0kc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-43p679k7.mjs → cli-1.1.29-vk67t66v.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{dh as g,eh as Uf}from"./cli-1.1.28-6x9c71q9.mjs";import{ih as A,kh as Kf}from"./cli-1.1.28-x04zkwy5.mjs";import{$m as Qf,Ht as h,ID as I,It as Yf,JD as $f,Jm as Jf,MF as v,NT as S,QS as l,TF as Df,Us as E,Uz as C,Vl as Bf,Vm as N,Vs as P,Wl as Gf,Ws as Xf,Wv as m,Xv as Zf,Yz as T,_T as p,aA as _f,ek as W,fU as k,ln as L,om as y,qT as Ff,qn as Vf,rU as Hf,rk as w,sU as d,sk as zf,tD as M,uE as u,wF as c,xE as bf,xF as jf}from"./cli-1.1.28-zhftjycn.mjs";import{$ha as R,hia as ff}from"./cli-1.1.28-5y1xeh89.mjs";import{Dka as O,Gka as e}from"./cli-1.1.28-knfg26kb.mjs";import{Tqa as H,csa as s,doa as U,eoa as q,epa as F,joa as x}from"./cli-1.1.28-wvj52k91.mjs";import{Sta as K,Vta as t}from"./cli-1.1.28-3fssr567.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await M("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),I(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:c(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await u("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();Zf();Df();Yf();zf();_f();jf();Ff();ff();Kf();Qf();$f();bf();d();Xf();Vf();Jf();Uf()});
|
|
2
|
-
export{lf as bh,xf as ch};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{B5 as $,w5 as N}from"./cli-1.1.28-brh6rw23.mjs";import{O9 as Z,o9 as M,u6 as L,x6 as Y}from"./cli-1.1.28-ak2bzv1v.mjs";import{$ha as Q,hia as X}from"./cli-1.1.28-5y1xeh89.mjs";import{Bka as J,Cka as V}from"./cli-1.1.28-q43r6snq.mjs";import{dma as P,lma as S}from"./cli-1.1.28-pykx8k1j.mjs";import{fta as K,xta as W}from"./cli-1.1.28-ev0gfjgf.mjs";import{Vta as R}from"./cli-1.1.28-3fssr567.mjs";async function f(){let F=M()?.accessToken;if(!F)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 y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
|
|
2
|
-
export{f as xY,j as yY,b as zY};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{Yg as uZ,Zg as pZ,_g as cz}from"./cli-1.1.28-qvr8rkg2.mjs";import{xi as GJ,yi as Gz}from"./cli-1.1.28-2zhmwh7t.mjs";import{Ii as LJ,Ji as Lz}from"./cli-1.1.28-q6dv65zx.mjs";import{$y as DX,AS as aQ,BS as rQ,CU as NQ,Co as xQ,DS as lZ,Do as AX,ES as oQ,FU as fZ,GS as g0,Gy as UQ,Gz as gQ,HS as tQ,Hk as IJ,Hy as MQ,Hz as EX,Ik as TJ,Iy as uQ,JS as sQ,Jt as OJ,Jy as pQ,KS as ZQ,LS as JQ,MS as eQ,NB as ZZ,NS as Zz,Nt as Ez,Ny as EQ,OB as mJ,Oy as bQ,PB as nJ,PS as AZ,Pk as dJ,QB as lJ,QU as HQ,RB as Sz,So as WQ,Uo as $Z,_K as nQ,_y as fQ,bl as nZ,cB as TZ,cl as wX,cp as qQ,dB as RZ,eB as hZ,fB as cJ,gB as mQ,gp as dz,gz as cQ,hB as gJ,hz as MX,oy as $Q,ry as PX,uo as XQ,vo as fz,wS as iQ,yk as kZ,zU as BQ,zk as hQ}from"./cli-1.1.28-zhftjycn.mjs";import{$V as UX,SV as dQ}from"./cli-1.1.28-hx5j3q23.mjs";import{YY as KZ,ZY as YJ,rZ as VJ,vZ as Bz,wZ as UZ,xZ as jX}from"./cli-1.1.28-n2jx5w3n.mjs";import{E1 as RQ,F1 as OX,K0 as c0,L1 as b,M1 as DQ,N1 as g,O1 as XX,P0 as yZ,c0 as qJ,d0 as Vz,m0 as u0,m1 as MZ,o1 as Xz,q2 as f0}from"./cli-1.1.28-0njtm2nf.mjs";import{a5 as p0,b5 as B,c5 as x,d5 as F0}from"./cli-1.1.28-v5ypq0r2.mjs";import{e5 as I0}from"./cli-1.1.28-yv5gzenz.mjs";import{C5 as BJ,D5 as HJ,E5 as Hz}from"./cli-1.1.28-j5m0kc75.mjs";import{I8 as PQ,J8 as zX,O8 as QZ,O9 as pz,R8 as zZ,j9 as QQ,t9 as zQ}from"./cli-1.1.28-ak2bzv1v.mjs";import{i_ as mZ,j_ as KX}from"./cli-1.1.28-erqn7gwg.mjs";import{A$ as y0,B$ as XJ,Bga as GQ,Cea as WJ,Qca as TQ,gga as DZ,kda as NX,uea as FZ}from"./cli-1.1.28-5y1xeh89.mjs";import{Eia as $z,mia as PZ,nia as hJ,xia as JZ}from"./cli-1.1.28-8avwqt1z.mjs";import{Pja as xZ,Rja as uz,aka as NZ,fka as wZ,gka as OZ,ska as Mz}from"./cli-1.1.28-4kda7s33.mjs";import{Gla as m0,Jla as QX}from"./cli-1.1.28-2esp2ssp.mjs";import{rma as IQ,zma as FX}from"./cli-1.1.28-khcgtk4a.mjs";import{csa as LX,zra as SQ}from"./cli-1.1.28-wvj52k91.mjs";import{Rta as w0,Vta as L0}from"./cli-1.1.28-3fssr567.mjs";function EZ(){if($0!==null)clearTimeout($0),$0=null;CZ=Date.now();for(let J of HZ)J()}function Wz(){if($0!==null)return;let J=Date.now()-CZ;if(J>=MZ){EZ();return}$0=setTimeout(EZ,MZ-J)}function iZ(){return bZ.useSyncExternalStore(e0.subscribe,e0.getSnapshot)}function $X(){return bZ.useSyncExternalStore(e0.subscribe,e0.getPresenceSnapshot)}var bZ,x0=null,HZ,$0=null,CZ=0,e0;var aZ=L0(()=>{Xz();bZ=w0(I0(),1),HZ=new Set;e0={update(J){let Z=x0;if(x0=J(Z),x0===Z)return;if(Z===null!==(x0===null))EZ();else Wz()},clear(){e0.update(()=>null)},read(){return x0},subscribe(J){return HZ.add(J),()=>{HZ.delete(J)}},getSnapshot(){return x0},getPresenceSnapshot(){return x0!==null},resetForTesting(){if($0!==null)clearTimeout($0),$0=null;x0=null,CZ=0,HZ.clear()}}});function eZ(J){let Z=GZ.c(6),{children:Q}=J,[z,X]=K0.useState(null),[W,q]=K0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(tZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(oZ.Provider,{value:X,children:B(sZ.Provider,{value:q,children:B(rZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function ZJ(){return K0.useContext(rZ)}function JJ(){return K0.useContext(tZ)}function fX(J){let Z=GZ.c(8),Q=K0.useContext(oZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}function dX(J){let Z=GZ.c(8),Q=K0.useContext(sZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}var GZ,K0,rZ,oZ,tZ,sZ;var QJ=L0(()=>{F0();GZ=w0(u0(),1),K0=w0(I0(),1),rZ=K0.createContext(null),oZ=K0.createContext(null),tZ=K0.createContext(null),sZ=K0.createContext(null)});function LZ(J){return J.type==="attachment"&&Yz.has(J.attachment.type)}var qz,Yz;var vZ=L0(()=>{qz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","bagel_console","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","todo_reminder_delta","task_reconcile","container_transition"],Yz=new Set(qz)});import{fileURLToPath as Fz}from"url";function qW(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((j)=>j===null?null:j+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function Kz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Nz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Nz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function YW(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||LZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=Kz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function VW(J){let Z=o0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:j,newMessageCount:v,onPillClick:U}=J,I=F===void 0?!1:F,e=j===void 0?!1:j,d=v===void 0?0:v,{rows:O,columns:C}=KZ(),[_,N]=q0.useState(null),P;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))P={setStickyPrompt:N},Z[0]=P;else P=Z[0];let f=P,Z0;if(Z[1]!==Y)Z0=(h)=>Y?.current?.subscribe(h)??Az,Z[1]=Y,Z[2]=Z0;else Z0=Z[2];let M=Z0,k;if(Z[3]!==K||Z[4]!==Y)k=()=>{let h=Y?.current,Q0=K?.current;if(!h||Q0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<Q0},Z[3]=K,Z[4]=Y,Z[5]=k;else k=Z[5];let H0=q0.useSyncExternalStore(M,k),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(wz,Y0),c0()){let h=e?null:_,Q0=h!=null&&h!=="clicked"&&X==null?h:null,J0=h!=null&&X==null,z0;if(Z[7]!==Q0)z0=Q0&&B(Pz,{text:Q0.text,onClick:Q0.scrollTo}),Z[7]=Q0,Z[8]=z0;else z0=Z[8];let O0=J0?0:1,T;if(Z[9]!==Q)T=B(_Z,{value:f,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let l;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)l=x(LJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:O0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=O0,Z[15]=l;else l=Z[15];let o;if(Z[16]!==I||Z[17]!==d||Z[18]!==U||Z[19]!==X||Z[20]!==H0)o=!I&&H0&&X==null&&B(jz,{count:d,onClick:U}),Z[16]=I,Z[17]=d,Z[18]=U,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(b,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let S;if(Z[24]!==l||Z[25]!==o||Z[26]!==t||Z[27]!==z0)S=x(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[z0,l,o,t]}),Z[24]=l,Z[25]=o,Z[26]=t,Z[27]=z0,Z[28]=S;else S=Z[28];let X0,w;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))X0=B(Dz,{}),w=B(Uz,{}),Z[29]=X0,Z[30]=w;else X0=Z[29],w=Z[30];let D;if(Z[31]!==z)D=x(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[X0,w,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=D;else D=Z[32];let R;if(Z[33]!==C||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(VJ,{value:{rows:O-zJ-1,columns:C-4,scrollRef:V??null},children:x(b,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-zJ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(b,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(C)})}),B(b,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=C,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==S||Z[39]!==D||Z[40]!==R)s=x(eZ,{children:[S,D,R]}),Z[38]=S,Z[39]=D,Z[40]=R,Z[41]=s;else s=Z[41];return s}let i;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)i=x(p0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=i;else i=Z[46];return i}function wz(){if(!c0())return;let J=qJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Oz,()=>{J.onHyperlinkClick=void 0}}function Oz(J){if(J.startsWith("file:"))try{BJ(Fz(J))}catch{}else HJ(J)}function Az(){}function jz(J){let Z=o0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${FZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=x(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",y0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let j;if(Z[7]!==z||Z[8]!==F)j=B(b,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(b,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=j;else j=Z[9];return j}function Pz(J){let Z=o0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=x(g,{color:"subtle",wrap:"truncate-end",children:[y0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(b,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function Dz(){let J=o0.c(4),Z=ZJ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(GJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Uz(){let J=o0.c(2),Z=JJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var o0,q0,zJ=2,_Z;var FJ=L0(()=>{XJ();Bz();QJ();YJ();Lz();Vz();f0();Hz();yZ();WJ();vZ();Gz();F0();o0=w0(u0(),1),q0=w0(I0(),1),_Z=q0.createContext({setStickyPrompt:()=>{}})});function KJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var NJ=()=>{};function wJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${NZ}`))return!1;if(kZ(Z.text,wZ)!=="completed")return!1;return kZ(Z.text,OZ)?.startsWith(OJ)??!1}function AJ(J,Z){if(!c0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(wJ(X)){let W=0;while(z<J.length&&wJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${NZ}><${wZ}>completed</${wZ}><${OZ}>${W} background commands completed</${OZ}></${NZ}>`}]}})}else Q.push(X),z++}return Q}var jJ=L0(()=>{Mz();Ez();yZ();AZ()});function PJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function DJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(PJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!PJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var UJ=()=>{};function MJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function EJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(MJ(z)){let X=0;while(Q<J.length&&MJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var bJ=()=>{};function bz(J){let Z=CJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),CJ.set(J,Z);return Z}function SZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function vJ(J,Z,Q=!1){if(Q)return{messages:J};let z=bz(Z),X=new Map;for(let F of J){let j=SZ(F);if(j&&z.has(j.toolName)){let v=`${j.messageId}:${j.toolName}`,U=X.get(v)??[];U.push(F),X.set(v,U)}}let W=new Map,q=new Set;for(let[F,j]of X)if(j.length>=2){W.set(F,j);for(let v of j){let U=SZ(v);if(U)q.add(U.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let j of F.message.content)if(j.type==="tool_result"&&q.has(j.tool_use_id))V.set(j.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let j=SZ(F);if(j){let v=`${j.messageId}:${j.toolName}`,U=W.get(v);if(U){if(!K.has(v)){K.add(v);let I=U[0],e=[];for(let O of U){let C=O.message.content[0].id,_=V.get(C);if(_)e.push(_)}let d={type:"grouped_tool_use",toolName:j.toolName,messages:U,results:e,displayMessage:I,uuid:`grouped-${I.uuid}`,timestamp:I.timestamp,messageId:j.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((U)=>U.type==="tool_result");if(v.length>0){if(v.every((I)=>q.has(I.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var CJ;var yJ=L0(()=>{CJ=new WeakMap});function jZ(J){let Z=SJ.get(J);if(Z!==void 0)return Z;let Q=Cz(J).toLowerCase();return SJ.set(J,Q),Q}function Cz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=kJ.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!kJ.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(yz(J.toolUseResult));Z=W.join(`
|
|
2
|
-
`)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[vz(W.input)];return[]}).join(`
|
|
3
|
-
`);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
|
|
4
|
-
`);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
|
|
5
|
-
`)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
|
|
6
|
-
`);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(_J,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+_J.length),z=Q.indexOf("<system-reminder>")}return Q}function vz(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
|
|
7
|
-
`)}function yz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
|
|
8
|
-
`+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
|
|
9
|
-
`))}return Q.join(`
|
|
10
|
-
`)}var _J="</system-reminder>",kJ,SJ;var IZ=L0(()=>{AZ();kJ=new Set([IJ,TJ]),SJ=new WeakMap});function xJ(J){let Z=RJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(_z)))return null;let W=PZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(b,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function _z(J){return J.type==="text"}var RJ;var $J=L0(()=>{hJ();f0();F0();RJ=w0(u0(),1)});function pJ(J){let Z=uJ.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(kz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=b,V=PZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function kz(J){return J.type==="text"}var uJ;var fJ=L0(()=>{hJ();f0();F0();uJ=w0(u0(),1)});function rJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(TZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0],V=q?.type==="tool_use"?q.input:void 0;if(TZ(W.toolName,V,Q).isCollapsible)continue}return!0}return!1}function Iz(J){let Z=iJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:j,onOpenRateLimitOptions:v,lastThinkingBlockId:U,latestBashOutputUUID:I,columns:e,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",N=Q.type==="collapsed_read_search",P;if(Z[0]!==X||Z[1]!==Y||Z[2]!==N||Z[3]!==d||Z[4]!==Q)P=N&&(hZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=N,Z[3]=d,Z[4]=Q,Z[5]=P;else P=Z[5];let f=P,Z0;if(Z[6]!==N||Z[7]!==_||Z[8]!==Q)Z0=_?Q.displayMessage:N?cJ(Q):Q,Z[6]=N,Z[7]=_,Z[8]=Q,Z[9]=Z0;else Z0=Z[9];let M=Z0,k;if(Z[10]!==N||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||N?[]:JQ(Q,O),Z[10]=N,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=k;else k=Z[14];let H0=k,Y0;if(Z[15]!==Y||Z[16]!==N||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let S=_||N?dJ:ZQ(Q,O);Y0=sJ(Q,K,Y,S,F,O),Z[15]=Y,Z[16]=N,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let i=Y0,h=!1;if(j)if(_){let S;if(Z[23]!==Y||Z[24]!==Q.messages){let X0;if(Z[26]!==Y)X0=(w)=>{let D=w.message.content[0];return D?.type==="tool_use"&&Y.has(D.id)},Z[26]=Y,Z[27]=X0;else X0=Z[27];S=Q.messages.some(X0),Z[23]=Y,Z[24]=Q.messages,Z[25]=S}else S=Z[25];h=S}else if(N){let S;if(Z[28]!==Y||Z[29]!==Q)S=hZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=S;else S=Z[30];h=S}else{let S;if(Z[31]!==Y||Z[32]!==Q){let X0=g0(Q);S=!X0||Y.has(X0),Z[31]=Y,Z[32]=Q,Z[33]=S}else S=Z[33];h=S}let Q0;if(Z[34]!==M||Z[35]!==C)Q0=C&&M.type==="assistant"&&M.message.content.some(Tz)&&(M.timestamp||M.message.model),Z[34]=M,Z[35]=C,Z[36]=Q0;else Q0=Z[36];let J0=Q0,z0=!J0,O0=J0?void 0:e,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==f||Z[40]!==i||Z[41]!==C||Z[42]!==z||Z[43]!==U||Z[44]!==I||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==z0||Z[51]!==O0||Z[52]!==W||Z[53]!==V)T=B(lJ,{message:Q,lookups:O,addMargin:z0,containerWidth:O0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:C,isStatic:i,onOpenRateLimitOptions:v,isActiveCollapsedGroup:f,isUserContinuation:z,lastThinkingBlockId:U,latestBashOutputUUID:I}),Z[37]=q,Z[38]=Y,Z[39]=f,Z[40]=i,Z[41]=C,Z[42]=z,Z[43]=U,Z[44]=I,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=z0,Z[51]=O0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let l=T;if(!J0){let S;if(Z[55]!==l)S=B(ZZ,{children:l}),Z[55]=l,Z[56]=S;else S=Z[56];return S}let o;if(Z[57]!==M||Z[58]!==C)o=x(b,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(pJ,{message:M,isTranscriptMode:C}),B(xJ,{message:M,isTranscriptMode:C})]}),Z[57]=M,Z[58]=C,Z[59]=o;else o=Z[59];let t;if(Z[60]!==e||Z[61]!==l||Z[62]!==o)t=B(ZZ,{children:x(b,{width:e,flexDirection:"column",children:[o,l]})}),Z[60]=e,Z[61]=l,Z[62]=o,Z[63]=t;else t=Z[63];return t}function Tz(J){return J.type==="text"}function hz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return RZ(J).some((X)=>Z.has(X));let Q=g0(J);return!!Q&&Z.has(Q)}function Rz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return RZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=g0(J);return!Q||Z.has(Q)}function xz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&nJ(Z.message))return!1;let X=hz(J.message,J.streamingToolUseIDs),W=Rz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var iJ,aJ,oJ;var tJ=L0(()=>{f0();gJ();AZ();Sz();$J();eJ();fJ();mJ();F0();iJ=w0(u0(),1),aJ=w0(I0(),1);oJ=aJ.memo(Iz,xz)});import{relative as gz}from"path";function YQ(J){return oz.filter((Z)=>Z.isActive(J))}var mz,nz,lz,iz,az,rz,oz;var VQ=L0(()=>{f0();HQ();XJ();uz();$z();pz();cz();dz();fz();F0();mz={id:"large-memory-files",type:"warning",isActive:(J)=>fZ(J.memoryFiles).length>0,render:(J)=>{let Z=fZ(J.memoryFiles);return B(p0,{children:Z.map((Q)=>{let z=Q.path.startsWith(xZ())?gz(xZ(),Q.path):Q.path;return x(b,{flexDirection:"row",children:[B(g,{color:"warning",children:y0.warning}),x(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",JZ(Q.content.length)," chars >"," ",JZ(BQ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},nz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=QZ();return zQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=QZ();return x(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:y0.warning}),x(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},lz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!QQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0});return x(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:y0.warning}),x(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},iz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=QZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=QZ();return x(b,{flexDirection:"column",marginTop:1,children:[x(b,{flexDirection:"row",children:[B(g,{color:"warning",children:y0.warning}),x(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),x(b,{flexDirection:"column",marginLeft:3,children:[x(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),x(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},az={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return pZ(J.agentDefinitions)>uZ},render:(J)=>{let Z=pZ(J.agentDefinitions);return x(b,{flexDirection:"row",children:[B(g,{color:"warning",children:y0.warning}),x(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",JZ(Z)," tokens >"," ",JZ(uZ),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},rz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!WQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=$Z();return Q!==null&&!XQ(Q)},render:()=>{let J=$Z(),Z=qQ(J);return x(b,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:y0.arrowUp}),x(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},oz=[mz,az,nz,lz,iz,rz]});async function tz(){if(XZ)return XZ;return XZ=NQ().then((J)=>{WZ=J}).finally(()=>{XZ=null}),XZ}function FQ(J){let Z=LQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=t0.useState(WZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(WZ.length>0){X(WZ);return}tz().then(()=>{X(WZ)})},Z[0]=W;else W=Z[0];t0.useEffect(W,[W]);let V={config:DZ(),agentDefinitions:Q,memoryFiles:z},Y=YQ(V);if(Y.length===0)return null;let K=b,F="column",j=1,v=Y.map((I)=>B(t0.Fragment,{children:I.render(V)},I.id)),U;if(Z[1]!==K||Z[2]!==v)U=B(K,{flexDirection:F,paddingLeft:j,children:v}),Z[1]=K,Z[2]=v,Z[3]=U;else U=Z[3];return U}var LQ,t0,WZ,XZ=null;var KQ=L0(()=>{f0();HQ();GQ();VQ();F0();LQ=w0(u0(),1),t0=w0(I0(),1),WZ=[]});function wQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),j=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let w=K.current/Q;K.current=Q;for(let[D,R]of z.current)z.current.set(D,Math.max(1,Math.round(R*w)));X.current++,F.current=!0,v.current=2}let U=v.current>0?j.current:null,I=m.useRef(0),e=m.useRef(null),d=m.useCallback((w)=>J.current?.subscribe(w)??JX,[J]);m.useSyncExternalStore(d,()=>{let w=J.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta(),R=Math.floor(D/ZX);return w.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,N=J.current?.isSticky()??!0;m.useMemo(()=>{let w=new Set(Z),D=!1;for(let R of z.current.keys())if(!w.has(R))z.current.delete(R),D=!0;for(let R of Y.current.keys())if(!w.has(R))Y.current.delete(R);if(D)X.current++},[Z]);let P=Z.length;if(q.current.version!==X.current||q.current.n!==P){let w=q.current.arr.length>=P+1?q.current.arr:new Float64Array(P+1);w[0]=0;for(let D=0;D<P;D++)w[D+1]=w[D]+(z.current.get(Z[D])??sz);q.current={arr:w,version:X.current,n:P}}let f=q.current.arr,Z0=f[P],M,k;if(U)[M,k]=U,M=Math.min(M,P),k=Math.min(k,P);else if(_===0||O<0)M=Math.max(0,P-ez),k=P;else{if(N){let V0=_+s0;M=P;while(M>0&&Z0-f[M-1]<V0)M--;k=P}else{let V0=I.current,G0=_*3,U0=Math.min(O,O+C),n0=Math.max(O,O+C),_0=n0-U0,P0=_0>G0?C<0?n0-G0:U0:U0,T0=P0+Math.min(_0,G0),l0=Math.max(0,P0-V0),h0=T0-V0,k0=l0-s0;{let H=0,G=P;while(H<G){let A=H+G>>1;if(f[A+1]<=k0)H=A+1;else G=A}M=H}{let H=j.current;if(H&&H[0]<M)for(let G=H[0];G<Math.min(M,H[1]);G++){let A=Z[G];if(V.current.has(A)&&!z.current.has(A)){M=G;break}}}let i0=_+2*s0,a0=Math.min(P,M+qZ),r0=0;k=M;while(k<a0&&(r0<i0||f[k]<h0+_+s0))r0+=z.current.get(Z[k])??dZ,k++}let w=_+2*s0,D=Math.max(0,k-qZ),R=0;for(let V0=M;V0<k;V0++)R+=z.current.get(Z[V0])??dZ;while(M>D&&R<w)M--,R+=z.current.get(Z[M])??dZ;let s=j.current,A0=Math.abs(O-W.current)+Math.abs(C);if(s&&A0>_*2){let[V0,G0]=s;if(M<V0-YZ)M=V0-YZ;if(k>G0+YZ)k=G0+YZ;if(M>k)k=Math.min(M+YZ,P)}W.current=O}if(v.current>0)v.current--;else j.current=[M,k];let H0=m.useDeferredValue(M),Y0=m.useDeferredValue(k),i=M<H0?H0:M,h=k>Y0?Y0:k;if(i>h||N)i=M,h=k;if(C>0)h=k;if(h-i>qZ){let w=(f[i]+f[h])/2;if(O-I.current<w)h=i+qZ;else i=h-qZ}let Q0=I.current,J0=f[i],z0=i===0?0:J0+Q0,O0=h===P?1/0:Math.max(J0,f[h]-_)+Q0;m.useLayoutEffect(()=>{if(N)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(z0,O0)}),m.useLayoutEffect(()=>{let w=e.current?.yogaNode;if(w&&w.getComputedWidth()>0)I.current=w.getComputedTop();if(F.current){F.current=!1;return}let D=!1;for(let[R,s]of V.current){let A0=s.yogaNode;if(!A0)continue;let V0=A0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),D=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),D=!0}if(D)X.current++});let T=m.useCallback((w)=>{let D=Y.current.get(w);if(!D)D=(R)=>{if(R)V.current.set(w,R);else{let s=V.current.get(w)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(w)!==A0)z.current.set(w,A0),X.current++}V.current.delete(w)}},Y.current.set(w,D);return D},[]),l=m.useCallback((w)=>{let D=V.current.get(Z[w])?.yogaNode;if(!D||D.getComputedWidth()===0)return-1;return D.getComputedTop()},[Z]),o=m.useCallback((w)=>V.current.get(Z[w])??null,[Z]),t=m.useCallback((w)=>z.current.get(Z[w]),[Z]),S=m.useCallback((w)=>{let D=q.current;if(w<0||w>=D.n)return;J.current?.scrollTo(D.arr[w]+I.current)},[J]),X0=Z0-f[h];return{range:[i,h],topSpacer:J0,bottomSpacer:X0,measureRef:T,spacerRef:e,offsets:f,getItemTop:l,getItemElement:o,getItemHeight:t,scrollToIndex:S}}var m,sz=3,s0=80,ez=30,ZX,dZ=1,qZ=300,YZ=25,JX=()=>{};var OQ=L0(()=>{m=w0(I0(),1),ZX=s0>>1});function WX(J){let Z=AQ.get(J);if(Z!==void 0)return Z;let Q=jZ(J);return AQ.set(J,Q),Q}function YX(J){let Z=jQ.get(J);if(Z!==void 0)return Z;let Q=VX(J);return jQ.set(J,Q),Q}function VX(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
|
|
11
|
-
`)}if(Z===null)return null;let Q=EQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function BX(J){let Z=CQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:j,renderItem:v}=J,U;if(Z[0]!==Q||Z[1]!==W)U=W(Q),Z[0]=Q,Z[1]=W,Z[2]=U;else U=Z[2];let I=q?"userMessageBackgroundHover":void 0,e=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(Z0)=>K(z,Z0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let C;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==j)C=Y?()=>j(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=j,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,N;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)N=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=N;else N=Z[18];let P;if(Z[19]!==_||Z[20]!==N)P=B(DQ.Provider,{value:_,children:N}),Z[19]=_,Z[20]=N,Z[21]=P;else P=Z[21];let f;if(Z[22]!==U||Z[23]!==I||Z[24]!==e||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==P)f=B(b,{ref:U,flexDirection:"column",backgroundColor:I,paddingBottom:e,onClick:d,onMouseEnter:O,onMouseLeave:C,children:P}),Z[22]=U,Z[23]=I,Z[24]=e,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=P,Z[29]=f;else f=Z[29];return f}function vQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=WX,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:j,setCursor:v,jumpRef:U,onSearchMatchesChange:I,scanElement:e,setPositions:d}){let O=y.useRef([]),C=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==C.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));C.current=J,_.current=z;let N=O.current,{range:P,topSpacer:f,bottomSpacer:Z0,measureRef:M,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:i,getItemHeight:h,scrollToIndex:Q0}=wQ(Z,N,Q),[J0,z0]=P,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return UQ(J[H])},[h,J]);y.useImperativeHandle(j,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:MQ(u)?.name}),G=F??-1,A=(u,c,r=O0)=>{for(let n=u;n>=0&&n<J.length;n+=c)if(r(n))return H(J[n]),!0;return!1},$=(u)=>O0(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,$),navigatePrev:()=>A(G-1,-1),navigateNext:()=>{if(A(G+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(G-1,-1,$),navigateNextUser:()=>A(G+1,1,$),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>G>=0?J[G]??null:null}},[J,F,v,O0]);let T=y.useRef({offsets:H0,start:J0,getItemElement:i,getItemTop:Y0,messages:J,scrollToIndex:Q0});T.current={offsets:H0,start:J0,getItemElement:i,getItemTop:Y0,messages:J,scrollToIndex:Q0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,G=H.getItemElement(F);if(G)Z.current?.scrollToElement(G,1);else H.scrollToIndex(F)},[F,Z]);let l=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),S=y.useRef(0),X0=y.useRef(0),w=y.useRef(()=>{}),D=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),A0=y.useRef(!1);function V0(H){let G=T.current.getItemTop(H);return Math.max(0,G-cZ)}function G0(H){let G=Z.current,{msgIdx:A,positions:$}=o.current;if(!G||$.length===0||A<0){d?.(null);return}let u=Math.max(0,Math.min(H,$.length-1)),c=$[u],r=T.current.getItemTop(A),n=G.getViewportTop(),W0=r-G.getScrollTop(),b0=G.getViewportHeight(),j0=n+W0+c.row;if(j0<n||j0>=n+b0)G.scrollTo(Math.max(0,r+c.row-cZ)),W0=r-G.getScrollTop(),j0=n+W0+c.row;d?.({positions:$,rowOffset:n+W0,currentIdx:u});let E0=R.current,D0=E0.prefixSum.at(-1)??0,M0=(E0.prefixSum[E0.ptr]??0)+u+1;I?.(D0,M0),m0(`highlight(i=${A}, ord=${u}/${$.length}): pos={row:${c.row},col:${c.col}} lo=${W0} screenRow=${j0} badge=${M0}/${D0}`)}D.current=G0;let[U0,n0]=y.useState(0),_0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=l.current;if(!H)return;let{idx:G,wantLast:A,tries:$}=H,u=Z.current;if(!u)return;let{getItemElement:c,getItemTop:r,scrollToIndex:n}=T.current,W0=c(G),b0=W0?.yogaNode?.getComputedHeight()??0;if(!W0||b0===0){if($>1){l.current=null,m0(`seek(i=${G}): no mount after scrollToIndex, skip`),w.current(A?-1:1);return}l.current={idx:G,wantLast:A,tries:$+1},n(G),_0();return}l.current=null,u.scrollTo(Math.max(0,r(G)-cZ));let j0=e?.(W0)??[];if(o.current={msgIdx:G,positions:j0},m0(`seek(i=${G} t=${$}): ${j0.length} positions`),j0.length===0){if(++S.current>20){S.current=0;return}w.current(A?-1:1);return}S.current=0;let E0=A?j0.length-1:0;R.current.screenOrd=E0,t.current=-1,D.current(E0);let D0=X0.current;if(D0)X0.current=0,w.current(D0)},[U0]);function P0(H,G){let A=Z.current;if(!A)return;let $=T.current,{getItemElement:u,scrollToIndex:c}=$;if(H<0||H>=$.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},l.current={idx:H,wantLast:G,tries:0};let r=u(H),n=r?.yogaNode?.getComputedHeight()??0;if(r&&n>0)A.scrollTo(V0(H));else c(H);_0()}function T0(H){let G=R.current,{matches:A,prefixSum:$}=G,u=$.at(-1)??0;if(A.length===0)return;if(l.current){X0.current=H;return}if(t.current<0)t.current=G.ptr;let{positions:c}=o.current,r=G.screenOrd+H;if(r>=0&&r<c.length){G.screenOrd=r,G0(r),t.current=-1;return}let n=(G.ptr+H+A.length)%A.length;if(n===t.current){d?.(null),t.current=-1,m0(`step: wraparound at ptr=${n}, all ${A.length} msgs phantoms`);return}G.ptr=n,G.screenOrd=0,P0(A[n],H<0);let W0=H<0?$[n+1]??u:$[n]+1;I?.(u,W0)}w.current=T0,y.useImperativeHandle(U,()=>({jumpToIndex:(H)=>{let G=Z.current;if(G)G.scrollTo(V0(H))},setSearchQuery:(H)=>{l.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let G=H.toLowerCase(),A=[],$=[0];if(G){let D0=T.current.messages;for(let M0=0;M0<D0.length;M0++){let C0=Y(D0[M0]),R0=C0.indexOf(G),L=0;while(R0>=0)L++,R0=C0.indexOf(G,R0+G.length);if(L>0)A.push(M0),$.push($.at(-1)+L)}}let u=$.at(-1),c=0,r=Z.current,{offsets:n,start:W0,getItemTop:b0}=T.current,j0=b0(W0),E0=j0>=0?j0-n[W0]:0;if(A.length>0&&r){let D0=s.current>=0?s.current:r.getScrollTop(),M0=1/0;for(let C0=0;C0<A.length;C0++){let R0=Math.abs(E0+n[A[C0]]-D0);if(R0<=M0)M0=R0,c=C0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${c} msgIdx=${A[c]} curTop=${D0} origin=${E0}`)}if(R.current={matches:A,ptr:c,screenOrd:0,prefixSum:$},A.length>0)P0(A[c],!0);else if(s.current>=0&&r)r.scrollTo(s.current);I?.(u,A.length>0?$[c+1]??u:0)},nextMatch:()=>T0(1),prevMatch:()=>T0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),l.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(A0.current)return 0;let H=T.current.messages,G=500,A=0,$=performance.now();for(let c=0;c<H.length;c+=G){await PQ(0);let r=performance.now(),n=Math.min(c+G,H.length);for(let W0=c;W0<n;W0++)Y(H[W0]);A+=performance.now()-r}let u=Math.round(performance.now()-$);return m0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(H.length/G)}`),A0.current=!0,Math.round(A)}}),[Z]);let[l0,h0]=y.useState(null),k0=y.useRef({onItemClick:W,setHoveredKey:h0});k0.current={onItemClick:W,setHoveredKey:h0};let i0=y.useCallback((H,G)=>{let A=k0.current;if(!G&&A.onItemClick)A.onItemClick(H)},[]),a0=y.useCallback((H)=>{k0.current.setHoveredKey(H)},[]),r0=y.useCallback((H)=>{k0.current.setHoveredKey((G)=>G===H?null:G)},[]);return x(p0,{children:[B(b,{ref:k,height:f,flexShrink:0}),J.slice(J0,z0).map((H,G)=>{let A=J0+G,$=N[A],u=!!W&&(q?.(H)??!0),c=u&&l0===$,r=V?.(H);return B(BX,{itemKey:$,msg:H,idx:A,measureRef:M,expanded:r,hovered:c,clickable:u,onClickK:i0,onEnterK:a0,onLeaveK:r0,renderItem:X},$)}),Z0>0&&B(b,{height:Z0,flexShrink:0}),K&&B(GX,{messages:J,start:J0,end:z0,offsets:H0,getItemTop:Y0,getItemElement:i,scrollRef:Z})]})}function GX({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(_Z),Y=y.useCallback((N)=>q.current?.subscribe(N)??HX,[q]);y.useSyncExternalStore(Y,()=>{let N=q.current;if(!N)return NaN;let P=N.getScrollTop()+N.getPendingDelta();return N.isSticky()?-1-P:P});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),j=Z,v=-1;for(let N=Q-1;N>=Z;N--){let P=X(N);if(P>=0){if(P<F)break;v=P}j=N}let U=-1,I=null;if(j>0&&!K)for(let N=j-1;N>=0;N--){let P=YX(J[N]);if(P===null)continue;let f=X(N);if(f>=0&&f+1>=F)continue;U=N,I=P;break}let e=v>=0?v-z[j]:0,d=U>=0?Math.max(0,e+z[U]):-1,O=y.useRef({idx:-1,tries:0}),C=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(C.current==="armed"){C.current="force";return}let N=C.current==="force";if(C.current="none",!N&&_.current===U)return;if(_.current=U,I===null){V(null);return}let P=I.trimStart(),f=P.search(/\n\s*\n/),Z0=(f>=0?P.slice(0,f):P).slice(0,qX).replace(/\s+/g," ").trim();if(Z0===""){V(null);return}let M=U,k=d;V({text:Z0,scrollTo:()=>{V("clicked"),C.current="armed";let H0=W(M);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(k),O.current={idx:M,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let N=W(O.current.idx);if(N)q.current?.scrollToElement(N,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var CQ,y,cZ=3,AQ,qX=500,jQ,HX=()=>{};var yQ=L0(()=>{OQ();f0();XX();FJ();QX();zX();IZ();bQ();F0();CQ=w0(u0(),1),y=w0(I0(),1),AQ=new WeakMap;jQ=new WeakMap});function yX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function _X(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function IX(J,Z,Q=kX,z=SX){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function kQ(J){return(J.type==="assistant"||J.type==="user"?g0(J):null)??J.uuid}function RX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function sJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=g0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(eQ(q,"PostToolUse",W))return!1;return KJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}return!1}var lQ,VZ,p,bX,CX=null,_Q=null,vX=null,gZ=30,kX=200,SX=50,TX=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:j=!1,agentDefinitions:v,onOpenRateLimitOptions:U,hideLogo:I=!1,isLoading:e,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:N,scrollRef:P,trackStickyPrompt:f,jumpRef:Z0,onSearchMatchesChange:M,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:i=null,setCursor:h,cursorNavRef:Q0,renderRange:J0})=>{let{columns:z0}=KZ(),O0=xQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=p.useMemo(()=>lZ(J).filter(iQ),[J]),l=p.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=p.useMemo(()=>{if(!d)return null;if(l)return"streaming";for(let L=T.length-1;L>=0;L--){let E=T[L];if(E?.type==="assistant"){let B0=E.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${E.uuid}:${a}`}else if(E?.type==="user"){if(!E.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,l]),t=p.useMemo(()=>{for(let L=T.length-1;L>=0;L--){let E=T[L];if(E?.type==="user"){let B0=E.message.content;for(let a of B0)if(a.type==="text"){let N0=a.text;if(N0.startsWith("<bash-stdout")||N0.startsWith("<bash-stderr"))return E.uuid}}}return null},[T]),S=p.useMemo(()=>Zz(T),[T]),X0=p.useMemo(()=>F.filter((L)=>!q.has(L.contentBlock.id)&&!S.has(L.contentBlock.id)),[F,q,S]),w=p.useMemo(()=>X0.flatMap((L)=>{let E=nQ({content:[L.contentBlock]});return E.uuid=hQ(L.contentBlock.id,0),lZ([E])}),[X0]),D=K==="transcript",R=p.useMemo(()=>IQ(process.env.CLAUDIN_DISABLE_VIRTUAL_SCROLL),[]),s=P!=null&&!R,A0=D&&!j&&!s,V0=p.useRef(null),{collapsed:G0,lookups:U0,hasTruncatedMessages:n0,hiddenMessageCount:_0}=p.useMemo(()=>{let L=z||c0()?T:aQ(T,{includeSnipped:!0}),E=oQ(L.filter((S0)=>S0.type!=="progress").filter((S0)=>!LZ(S0)).filter((S0)=>rQ(S0,D)),w),B0=[_Q,vX].filter((S0)=>S0!==null),a=[_Q].filter((S0)=>S0!==null),N0=B0.length>0&&!D?_?yX(E,B0):a.length>0?_X(E,a):E:E,v0=A0?N0.slice(-gZ):N0,BZ=A0&&N0.length>gZ,{messages:d0}=vJ(v0,Z,z),Jz=AJ(DJ(EJ(gQ(mQ(d0,Z)))),z),Qz=tQ(T,v0),zz=E.length-gZ;return{collapsed:Jz,lookups:Qz,hasTruncatedMessages:BZ,hiddenMessageCount:zz}},[z,T,D,w,A0,Z,_]),P0=p.useMemo(()=>{let E=!s&&!Y0?IX(G0,V0):0;return J0?G0.slice(J0[0],J0[1]):E>0?G0.slice(E):G0},[G0,J0,s,Y0]),T0=p.useMemo(()=>new Set(F.map((L)=>L.contentBlock.id)),[F]),l0=$Q((L)=>L.tasks),h0=U0.asyncLaunchedToolUseIDs,k0=p.useMemo(()=>{if(h0.size===0)return null;let L=new Set;for(let[E,B0]of h0){let a=l0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")L.add(E)}return L.size>0?L:null},[l0,h0]),i0=U0.resolvedToolUseIDs,a0=p.useMemo(()=>sQ(q,i0,k0),[q,i0,k0]),r0=p.useMemo(()=>{if(!N)return-1;let L=N.firstUnseenUuid.slice(0,24);return P0.findIndex((E)=>E.uuid.slice(0,24)===L)},[N,P0]),H=p.useMemo(()=>{if(!i)return-1;return P0.findIndex((L)=>L.uuid===i.uuid)},[i,P0]),[G,A]=p.useState(()=>new Set),$=p.useCallback((L)=>{let E=kQ(L);A((B0)=>{let a=new Set(B0);if(a.has(E))a.delete(E);else a.add(E);return a})},[]),u=p.useCallback((L)=>G.size>0&&G.has(kQ(L)),[G]),c=p.useRef(U0);c.current=U0;let r=p.useCallback((L)=>{if(L.type==="collapsed_read_search")return!0;if(L.type==="assistant"){let N0=L.message.content[0];return N0!=null&&dQ(N0)&&N0.type==="advisor_tool_result"&&N0.content.type==="advisor_result"}if(L.type!=="user")return!1;let E=L.message.content[0];if(E?.type!=="tool_result"||E.is_error||!L.toolUseResult)return!1;let B0=c.current.toolUseByToolUseID.get(E.tool_use_id)?.name;return(B0?nZ(Z,B0):void 0)?.isResultTruncated?.(L.toolUseResult)??!1},[Z]),n=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,W0=a0.size>0,{progress:b0}=RQ(),j0=p.useRef(null),E0=DZ().terminalProgressBarEnabled&&!SQ()&&!(CX?.isProactiveActive()??!1);p.useEffect(()=>{let L=E0?W0?"indeterminate":"completed":null;if(j0.current===L)return;j0.current=L,b0(L)},[b0,E0,W0]),p.useEffect(()=>{return()=>b0(null)},[b0]);let D0=p.useCallback((L)=>`${L.uuid}-${Y}`,[Y]),M0=(L,E)=>{if(L.type==="progress")return null;let B0=E>0?P0[E-1]?.type:void 0,a=L.type==="user"&&B0==="user",N0=L.type==="collapsed_read_search"&&(C||rJ(P0,E,Z,T0)),v0=D0(L),BZ=B(oJ,{message:L,isUserContinuation:a,hasContentAfter:N0,tools:Z,commands:Q,verbose:z||u(L)||i?.expanded===!0&&E===H,inProgressToolUseIDs:a0,streamingToolUseIDs:T0,screen:K,canAnimate:n,onOpenRateLimitOptions:U,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:z0,isLoading:e,lookups:U0},v0),d0=B(uQ.Provider,{value:E===H,children:BZ},v0);if(N&&E===r0)return[B(b,{marginTop:1,children:B(UZ,{title:`${N.count} new ${FZ(N.count,"message")}`,width:z0,color:"inactive"})},"unseen-divider"),d0];return d0},C0=p.useRef(new WeakMap),R0=p.useCallback((L)=>{let E=C0.current.get(L);if(E!==void 0)return E;let B0=jZ(L);if(L.type==="user"&&L.toolUseResult&&Array.isArray(L.message.content)){let N0=L.message.content.find((v0)=>v0.type==="tool_result");if(N0&&"tool_use_id"in N0){let v0=U0.toolUseByToolUseID.get(N0.tool_use_id),d0=(v0&&nZ(Z,v0.name))?.extractSearchText?.(L.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return C0.current.set(L,a),a},[Z,U0]);return x(p0,{children:[!I&&!(J0&&J0[0]>0)&&B(bX,{agentDefinitions:v}),n0&&B(UZ,{title:`${O0} to show ${mZ.bold(_0)} previous messages`,width:z0}),D&&j&&_0>0&&!Y0&&B(UZ,{title:`${O0} to hide ${mZ.bold(_0)} previous messages`,width:z0}),s?B(pQ.Provider,{value:!0,children:B(vQ,{messages:P0,scrollRef:P,columns:z0,itemKey:D0,renderItem:M0,onItemClick:$,isItemClickable:r,isItemExpanded:u,trackStickyPrompt:f,selectedIndex:H>=0?H:void 0,cursorNavRef:Q0,setCursor:h,jumpRef:Z0,onSearchMatchesChange:M,scanElement:k,setPositions:H0,extractSearchText:R0})}):P0.flatMap(M0),C&&!_&&B(hX,{}),l&&O&&!_&&B(b,{marginTop:1,children:B(cQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},hX=()=>{let J=iZ();if(!J)return null;return B(b,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:x(b,{flexDirection:"row",children:[B(b,{minWidth:2,children:B(g,{color:"text",children:TQ})}),B(b,{flexDirection:"column",children:B(fQ,{children:J})})]})})},a8;var eJ=L0(()=>{KX();NJ();LX();NX();YJ();OX();f0();AX();PX();wX();UX();jJ();UJ();EX();gJ();bJ();GQ();FX();yZ();yJ();AZ();WJ();IZ();jX();DX();aZ();tJ();bQ();MX();vZ();mJ();KQ();yQ();F0();lQ=w0(u0(),1),VZ=w0(I0(),1),p=w0(I0(),1),bX=VZ.memo(function(Z){let Q=lQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(ZZ,{children:x(b,{flexDirection:"column",gap:1,children:[X,B(VZ.Suspense,{fallback:null,children:B(FQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});a8=VZ.memo(TX,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(RX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
|
|
12
|
-
export{e0 as ef,$X as ff,aZ as gf,fX as hf,dX as if,QJ as jf,qW as kf,YW as lf,VW as mf,FJ as nf,a8 as of,eJ as pf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vta as J}from"./cli-1.1.28-3fssr567.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
-
export{K as zi,Y as Ai,Z as Bi,V as Ci};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{AS as N,KR as L,LR as w,PS as M,qx as B,rx as U}from"./cli-1.1.28-zhftjycn.mjs";import{Cea as P,ica as z,pca as F}from"./cli-1.1.28-5y1xeh89.mjs";import{Eia as v,yia as I}from"./cli-1.1.28-8avwqt1z.mjs";import{Vta as j}from"./cli-1.1.28-3fssr567.mjs";async function V(W){let{messages:J,getAppState:Q,options:{mainLoopModel:K,tools:Z,agentDefinitions:_,customSystemPrompt:X,appendSystemPrompt:Y}}=W,R=N(J),{messages:O}=await B(R),q=Q();return L(O,K,async()=>q.toolPermissionContext,Z,_,void 0,{options:{customSystemPrompt:X,appendSystemPrompt:Y}},void 0,R)}async function g(W,J){let Q=await V(J);return{type:"text",value:b(Q)}}function b(W){let{categories:J,totalTokens:Q,rawMaxTokens:K,percentage:Z,model:_,memoryFiles:X,mcpTools:Y,agents:R,skills:O}=W,q=`## Context Usage
|
|
2
|
-
|
|
3
|
-
`;q+=`**Model:** ${_}
|
|
4
|
-
`,q+=`**Tokens:** ${I(Q)} / ${I(K)} (${Z}%)
|
|
5
|
-
`,q+=`
|
|
6
|
-
`;let $=J.filter((E)=>E.tokens>0&&E.name!=="Free space"&&E.name!=="Autocompact buffer");if($.length>0){q+=`### Estimated usage by category
|
|
7
|
-
|
|
8
|
-
`,q+=`| Category | Tokens | Percentage |
|
|
9
|
-
`,q+=`|----------|--------|------------|
|
|
10
|
-
`;for(let H of $){let h=(H.tokens/K*100).toFixed(1);q+=`| ${H.name} | ${I(H.tokens)} | ${h}% |
|
|
11
|
-
`}let E=J.find((H)=>H.name==="Free space");if(E&&E.tokens>0){let H=(E.tokens/K*100).toFixed(1);q+=`| Free space | ${I(E.tokens)} | ${H}% |
|
|
12
|
-
`}let G=J.find((H)=>H.name==="Autocompact buffer");if(G&&G.tokens>0){let H=(G.tokens/K*100).toFixed(1);q+=`| Autocompact buffer | ${I(G.tokens)} | ${H}% |
|
|
13
|
-
`}q+=`
|
|
14
|
-
`}if(Y.length>0){q+=`### MCP Tools
|
|
15
|
-
|
|
16
|
-
`,q+=`| Tool | Server | Tokens |
|
|
17
|
-
`,q+=`|------|--------|--------|
|
|
18
|
-
`;for(let E of Y)q+=`| ${E.name} | ${E.serverName} | ${I(E.tokens)} |
|
|
19
|
-
`;q+=`
|
|
20
|
-
`}if(R.length>0){q+=`### Custom Agents
|
|
21
|
-
|
|
22
|
-
`,q+=`| Agent Type | Source | Tokens |
|
|
23
|
-
`,q+=`|------------|--------|--------|
|
|
24
|
-
`;for(let E of R){let G;switch(E.source){case"projectSettings":G="Project";break;case"userSettings":G="User";break;case"localSettings":G="Local";break;case"flagSettings":G="Flag";break;case"policySettings":G="Policy";break;case"plugin":G="Plugin";break;case"built-in":G="Built-in";break;default:G=String(E.source)}q+=`| ${E.agentType} | ${G} | ${I(E.tokens)} |
|
|
25
|
-
`}q+=`
|
|
26
|
-
`}if(X.length>0){q+=`### Memory Files
|
|
27
|
-
|
|
28
|
-
`,q+=`| Type | Path | Tokens |
|
|
29
|
-
`,q+=`|------|------|--------|
|
|
30
|
-
`;for(let E of X)q+=`| ${E.type} | ${E.path} | ${I(E.tokens)} |
|
|
31
|
-
`;q+=`
|
|
32
|
-
`}if(O&&O.tokens>0&&O.skillFrontmatter.length>0){q+=`### Skills
|
|
33
|
-
|
|
34
|
-
`,q+=`| Skill | Source | Tokens |
|
|
35
|
-
`,q+=`|-------|--------|--------|
|
|
36
|
-
`;for(let E of O.skillFrontmatter)q+=`| ${E.name} | ${z(E.source)} | ${I(E.tokens)} |
|
|
37
|
-
`;q+=`
|
|
38
|
-
`}return q}var A=j(()=>{U();w();v();M();F();P()});
|
|
39
|
-
export{V as ni,g as oi,A as pi};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vta as V}from"./cli-1.1.28-3fssr567.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
|
|
2
|
-
export{U0 as dsa,E0 as esa,I0 as fsa,D0 as gsa,b as hsa,T as isa,K as jsa,z as ksa,B as lsa,x as msa,k as nsa,m as osa,G as psa,O as qsa,y as rsa,l as ssa,o as tsa,i as usa,D as vsa,R as wsa,x0 as xsa,O0 as ysa,M as zsa,p0 as Asa,j6 as Bsa,nq as Csa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{F9 as f,O9 as WB,w9 as Z,z9 as T}from"./cli-1.1.28-ak2bzv1v.mjs";import{Bga as QB,E$ as O,F$ as BB,Oca as _,Pca as KB,gga as A,sga as v}from"./cli-1.1.28-5y1xeh89.mjs";import{Pja as w,Rja as JB}from"./cli-1.1.28-4kda7s33.mjs";import{rma as F,zma as e}from"./cli-1.1.28-khcgtk4a.mjs";import{Cna as M,Dna as m,Mma as S,Nma as s,csa as a,doa as R,qna as I,rna as i}from"./cli-1.1.28-wvj52k91.mjs";import{Bsa as q,Csa as t}from"./cli-1.1.28-fetsedc8.mjs";import{Vta as K}from"./cli-1.1.28-3fssr567.mjs";function u(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=u});function p(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=p});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function c(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();i();U=c});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,g.cache.clear?.()}function TB(){W=null,Q=null,g.cache.clear?.(),j.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return j()}var W=null,Q=null,g,j;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();g=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),d=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:d,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});j=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
|
|
2
|
-
export{kB as FV,r as GV,vB as HV,TB as IV,j as JV,ZB as KV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{F0 as W,I0 as Z,J0 as x,m1 as z,n1 as $,o1 as D}from"./cli-1.1.28-0njtm2nf.mjs";import{Bga as Y,gga as Q}from"./cli-1.1.28-5y1xeh89.mjs";import{Vta as C}from"./cli-1.1.28-3fssr567.mjs";function L(){let q=process.env.TERM_PROGRAM;if(q&&O.has(q))return!0;let y=process.env.TERM;if(y&&X.has(y))return!0;let J=W()?.toLowerCase();if(J===void 0)return!1;return k.some((B)=>J.startsWith(B))}function H(q){if(q===void 0||q==="")return null;let y=Number(q);if(!Number.isFinite(y)||y<d||y>w)return null;return y}function K(q){return u.get(q)??Math.max(1,Math.round(1000/q))}function I(){return H(process.env.CLAUDIN_FPS)!==null}function j(){let q=H(process.env.CLAUDIN_FPS);if(q!==null)return K(q);if(Z())return z;let y=H(Q().renderFrameRate);if(y!==null)return K(y);if(L()&&!process.env.TMUX)return h;return z}function P(){let q=j();return String(G.get(q)??Math.round(1000/q))}function S(){$(j())}var c,O,X,k,d=10,w=360,h=8,b,u,G;var N=C(()=>{D();x();Y();c=["auto","120","240","360"],O=new Set(["ghostty","kitty","WezTerm","alacritty","contour","foot","rio","WarpTerminal"]),X=new Set(["xterm-kitty","xterm-ghostty","alacritty","contour","foot","foot-extra","rio"]),k=["ghostty","kitty","wezterm","alacritty","contour","foot","rio","warp"],b=[[60,16],[120,h],[240,4],[360,3]],u=new Map(b),G=new Map(b.map(([q,y])=>[y,q]))});
|
|
2
|
-
export{c as Eh,I as Fh,P as Gh,S as Hh,N as Ih};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{N1 as t,m0 as s,q2 as f}from"./cli-1.1.28-0njtm2nf.mjs";import{b5 as n,c5 as c,d5 as r}from"./cli-1.1.28-v5ypq0r2.mjs";import{Rta as m,Vta as l}from"./cli-1.1.28-3fssr567.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
-
export{T as Sg,p as Tg};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{Ab as S}from"./cli-1.1.28-f658tc1w.mjs";import{Of as YK,Tf as iK}from"./cli-1.1.28-r81y1681.mjs";import{Dn as tz,Fn as uK,Gp as F,Hp as pK,Jp as ez,LL as bz,Np as dK,Nv as vz,SJ as lK,TJ as gK,TL as kK,TU as m,Uv as jK,VU as rK,bR as fz,cC as zK,cN as QK,dN as aK,eC as KK,fC as cK,kR as CK,sN as XK,uN as nK}from"./cli-1.1.28-zhftjycn.mjs";import{$Z as xK,WZ as Zz,a0 as $z,b0 as TK}from"./cli-1.1.28-0njtm2nf.mjs";import{A9 as Fz,C9 as kz,D7 as xz,E9 as M,H7 as Tz,L7 as Rz,M7 as oz,O9 as jz,T7 as wz,X5 as A,Y7 as D,_7 as Gz,b6 as I,d8 as E,q8 as sz,u8 as SK}from"./cli-1.1.28-ak2bzv1v.mjs";import{i_ as G,j_ as OK}from"./cli-1.1.28-erqn7gwg.mjs";import{$ea as $,$ha as W,Bga as U,E$ as Jz,F$ as IK,Fca as Yz,Iaa as az,Ica as DK,M$ as P,O$ as fK,Paa as mK,Zea as J,Zfa as iz,aca as Qz,bfa as nz,cfa as x,dga as q,fca as yK,ffa as Uz,gga as V,hia as O,jaa as Vz,laa as MK,lca as Xz,mga as Lz,nga as Az,oga as rz,pca as GK,pfa as B,saa as gz}from"./cli-1.1.28-5y1xeh89.mjs";import{Jia as f,Nia as hK}from"./cli-1.1.28-8avwqt1z.mjs";import{Pja as lz,Rja as vK}from"./cli-1.1.28-4kda7s33.mjs";import{Dka as Z,Gka as L}from"./cli-1.1.28-knfg26kb.mjs";import{mla as t,ola as LK,pla as e,sla as zz,wla as AK}from"./cli-1.1.28-2esp2ssp.mjs";import{Ola as Kz,Pla as _K}from"./cli-1.1.28-x13sctb2.mjs";import{ema as C,gma as s,lma as NK}from"./cli-1.1.28-pykx8k1j.mjs";import{qma as v,rma as u,tma as cz,zma as EK}from"./cli-1.1.28-khcgtk4a.mjs";import{Eqa as o,Upa as pz,Wna as j,_na as UK,csa as T,eqa as dz,lqa as r,qpa as R,rpa as Sz,spa as w,upa as uz}from"./cli-1.1.28-wvj52k91.mjs";import{Sta as bK}from"./cli-1.1.28-3fssr567.mjs";OK();xK();T();DK();NK();AK();yK();O();_K();GK();UK();LK();TK();import{readFileSync as RK}from"node:fs";var wK=/--inspect(-brk)?/,i=/--inspect(-brk)?|--debug(-brk)?/;function WQ(){let z=Yz()?wK:i,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&i.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function BQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Zz)}function UQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function qz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!Qz(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
|
|
2
|
-
`)),process.exit(1);X=$z("claude-settings",".json",{contentHash:z}),t(X,z,"utf8")}else{let{resolvedPath:Y}=e(zz(),K);try{RK(Y,"utf8")}catch(H){if(s(H))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
|
|
3
|
-
`)),process.exit(1);throw H}X=Y}r(X),j()}catch(z){if(z instanceof Error)W(z);process.stderr.write(G.red(`Error processing settings: ${C(z)}
|
|
4
|
-
`)),process.exit(1)}}function Hz(K){try{let z=Xz(K);o(z),j()}catch(z){if(z instanceof Error)W(z);process.stderr.write(G.red(`Error processing --setting-sources: ${C(z)}
|
|
5
|
-
`)),process.exit(1)}}async function NQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(H)=>{Q+=H};process.stdin.on("data",X);let Y=await Kz(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
-
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
-
`)}return K}hK();rK();L();uK();U();SK();fK();EK();mK();IK();MK();async function Wz(){if(!await Vz("gh"))return"not_installed";let{exitCode:z}=await Jz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}O();E();aK();dK();nK();L();U();O();B();function Bz(){let K=V();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=J("userSettings")||{};$("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",q((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...H}=Q;return H})}catch(z){W(Error(`Failed to migrate auto-updates: ${z}`)),Z("",{has_error:!0})}}L();U();O();B();function Nz(){if(!V().bypassPermissionsModeAccepted)return;try{if(!Uz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("",{}),q((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){W(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}L();U();O();B();function _z(){let K=Lz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=J("localSettings")||{},H={},N=[];if(z&&Y.enableAllProjectMcpServers===void 0)H.enableAllProjectMcpServers=K.enableAllProjectMcpServers,N.push("enableAllProjectMcpServers");else if(z)N.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let _=Y.enabledMcpjsonServers||[];H.enabledMcpjsonServers=[...new Set([..._,...K.enabledMcpjsonServers])],N.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let _=Y.disabledMcpjsonServers||[];H.disabledMcpjsonServers=[...new Set([..._,...K.disabledMcpjsonServers])],N.push("disabledMcpjsonServers")}if(Object.keys(H).length>0)$("localSettings",H);if(N.includes("enableAllProjectMcpServers")||N.includes("enabledMcpjsonServers")||N.includes("disabledMcpjsonServers"))Az((_)=>{let{enableAllProjectMcpServers:p,enabledMcpjsonServers:d,disabledMcpjsonServers:c,...k}=_;return k});Z("",{migratedCount:N.length})}catch(Y){W(Y),Z("",{})}}T();U();B();var b=new Map([["claude-fable-5","claude-fable-5-1"],["anthropic.claude-fable-5","anthropic.claude-fable-5-1"]]);function y(K){return b.get(K)??K}function PK(K){if(!K)return null;let z={};if(K.model!==void 0){let Q=y(K.model);if(Q!==K.model)z.model=Q}if(K.advisorModel!==void 0){let Q=y(K.advisorModel);if(Q!==K.advisorModel)z.advisorModel=Q}if(K.availableModels){let Q=K.availableModels.map(y);if(Q.some((X,Y)=>X!==K.availableModels?.[Y]))z.availableModels=Q}if(K.modelOverrides){let Q=Object.entries(K.modelOverrides),X=Q.filter(([Y])=>b.has(Y));if(X.length>0)z.modelOverrides={...Object.fromEntries(X.map(([Y])=>[Y,void 0])),...Object.fromEntries(Q.map(([Y,H])=>[y(Y),H]))}}return Object.keys(z).length>0?z:null}function FK(K){if(!K)return null;let Q=Object.entries(K).filter(([,Y])=>Y.activeModelForProject!==void 0&&b.has(Y.activeModelForProject));if(Q.length===0)return null;let X={...K};for(let[Y,H]of Q)X[Y]={...H,activeModelForProject:y(H.activeModelForProject)};return X}function Oz(){let K=PK(J("userSettings"));if(K)$("userSettings",K);let z=FK(V().projects);if(z)q((X)=>({...X,projects:z}));let Q=R();if(Q){let X=y(Q);if(X!==Q)w(X)}}B();function yz(){let z=J("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}L();U();E();I();B();function Dz(){if(A()!=="firstParty")return;if(!Gz())return;let K=J("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("",{from_model:K})}L();E();B();function Iz(){if(!wz())return;if(J("userSettings")?.model!=="opus")return;if(xz(Tz()))return;let z="opus[1m]",Q=D(z)===D(Rz())?void 0:z;$("userSettings",{model:Q}),Z("",{})}U();function Mz(){q((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}T();U();I();B();function Pz(){if(A()!=="firstParty")return;if(V().sonnet1m45MigrationComplete)return;if(J("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(R()==="sonnet[1m]")w("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}L();jz();U();I();B();function Cz(){if(A()!=="firstParty")return;if(!M()&&!Fz()&&!kz())return;let K=J("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),V().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("",{from_model:K,has_1m:z})}L();U();O();kK();B();function Ez(){if(V().hasResetAutoModeOptInForDefaultOffer)return;if(bz()!=="enabled")return;try{let z=J("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){W(Error(`Failed to reset auto mode opt-in: ${z}`))}}L();jz();U();I();B();function hz(){if(V().opusProMigrationComplete)return;if(A()!=="firstParty"||!M()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!0});return}if(x()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!1,had_custom_model:!0})}iK();pK();T();vK();B();CK();L();jK();async function mz(K,z){let Q=await fz(K),X=vz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}cK();function qY(){try{let K=J("policySettings");if(K){let z=nz(K);Z("",{keyCount:z.length,keys:z.join(",")})}}catch{}}function HY(){let K=D(Sz()??oz());mz(lz(),sz(K,uz())),XK().then(({enabled:z,errors:Q})=>{let X=QK();zK(z,X,ez()),KK(Q,X)}).catch((z)=>W(z))}function oK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDIN_CLIENT_CERT)K.has_client_cert=!0;if(v("--use-system-ca"))K.has_use_system_ca=!0;if(v("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function JY(){if(tz())return;let[K,z,Q]=await Promise.all([gz(),az(),Wz()]);Z("",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:F.isSandboxingEnabled(),are_unsandboxed_commands_allowed:F.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:F.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:rz(),prefers_reduced_motion:x().prefersReducedMotion??!1,...oK()})}var h=13;function VY(){if(V().migrationVersion!==h)Bz(),Nz(),_z(),hz(),Pz(),Dz(),Cz(),yz(),Iz(),Mz(),Oz(),Ez(),q((K)=>K.migrationVersion===h?K:{...K,migrationVersion:h});YK().catch(()=>{})}function WY(){if(pz()){P("info","prefetch_system_context_non_interactive"),m();return}if(iz())P("info","prefetch_system_context_has_trust"),m();else P("info","prefetch_system_context_skipped_no_trust")}function BY(){f("eagerLoadSettings_start");let K=S("--settings");if(K)qz(K);let z=S("--setting-sources");if(z!==void 0)Hz(z);f("eagerLoadSettings_end")}function UY(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(u(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function NY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:H,outputFormat:N,inputFormat:_,numAllowedTools:p,numDisallowedTools:d,mcpClientCount:c,worktreeEnabled:k,skipWebFetchPreflight:ZK,githubActionInputs:l,dangerouslySkipPermissionsPassed:$K,permissionMode:qK,modeIsBypass:HK,allowDangerouslySkipPermissionsPassed:JK,systemPromptFlag:g,appendSystemPromptFlag:a,thinkingConfig:VK,assistantActivationPath:n,isCoordinator:WK}){try{Z("",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:H,outputFormat:N,inputFormat:_,numAllowedTools:p,numDisallowedTools:d,mcpClientCount:c,worktree:k,skipWebFetchPreflight:ZK,...l&&{githubActionInputs:l},dangerouslySkipPermissionsPassed:$K,permissionMode:qK,modeIsBypass:HK,allowDangerouslySkipPermissionsPassed:JK,thinkingType:VK.type,...g&&{systemPromptFlag:g},...a&&{appendSystemPromptFlag:a},is_simple:cz()||void 0,is_coordinator:WK||void 0,...n&&{assistantActivationPath:n},autoUpdatesChannel:x().autoUpdatesChannel??"latest"})}catch(BK){W(BK)}}function LY(K){}function AY(K){return}
|
|
8
|
-
export{WQ as J,BQ as K,UQ as L,NQ as M,qY as N,HY as O,JY as P,VY as Q,WY as R,BY as S,UY as T,NY as U,LY as V,AY as W};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hb as Y}from"./cli-1.1.28-m7x3ax7z.mjs";import{pX as N,qX as O}from"./cli-1.1.28-4kxqqtpz.mjs";import{Vha as A,Xha as C}from"./cli-1.1.28-5y1xeh89.mjs";import{Dka as G,Gka as K}from"./cli-1.1.28-knfg26kb.mjs";import{Gla as X,Jla as w,kla as x,ola as j}from"./cli-1.1.28-2esp2ssp.mjs";import{ema as L,lma as E}from"./cli-1.1.28-pykx8k1j.mjs";K();O();import{randomUUID as T}from"crypto";w();C();E();j();function h(H){return H!==null&&typeof H==="object"&&"type"in H&&typeof H.type==="string"}function P(H){return H!==null&&typeof H==="object"&&"type"in H&&H.type==="control_response"&&"response"in H}function S(H){return H!==null&&typeof H==="object"&&"type"in H&&H.type==="control_request"&&"request_id"in H&&"request"in H}function v(H){if((H.type==="user"||H.type==="assistant")&&H.isVirtual)return!1;return H.type==="user"||H.type==="assistant"||H.type==="system"&&H.subtype==="local_command"}function q(H){if(H.type!=="user"||H.isMeta||H.toolUseResult||H.isCompactSummary)return;if(H.origin&&H.origin.kind!=="human")return;let Z=H.message.content,V;if(typeof Z==="string")V=Z;else for(let $ of Z)if($.type==="text"){V=$.text;break}if(!V)return;return A(V)||void 0}function p(H,Z,V,f,$,B){try{let J=Y(x(H));if(P(J)){X("[bridge:repl] Ingress message type=control_response"),$?.(J);return}if(S(J)){X(`[bridge:repl] Inbound control_request subtype=${J.request.subtype}`),B?.(J);return}if(!h(J))return;let Q="uuid"in J&&typeof J.uuid==="string"?J.uuid:void 0;if(Q&&Z.has(Q)){X(`[bridge:repl] Ignoring echo: type=${J.type} uuid=${Q}`);return}if(Q&&V.has(Q)){X(`[bridge:repl] Ignoring re-delivered inbound: type=${J.type} uuid=${Q}`);return}if(X(`[bridge:repl] Ingress message type=${J.type}${Q?` uuid=${Q}`:""}`),J.type==="user"){if(Q)V.add(Q);G("",{is_repl:!0}),f?.(J)}else X(`[bridge:repl] Ignoring non-user inbound message: type=${J.type}`)}catch(J){X(`[bridge:repl] Failed to parse ingress message: ${L(J)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(H,Z){let{transport:V,sessionId:f,outboundOnly:$,onInterrupt:B,onSetModel:J,onSetMaxThinkingTokens:Q,onSetPermissionMode:_}=Z;if(!V){X("[bridge:repl] Cannot respond to control_request: transport not configured");return}let W;if($&&H.request.subtype!=="initialize"){W={type:"control_response",response:{subtype:"error",request_id:H.request_id,error:y}};let z={...W,session_id:f};V.write(z),X(`[bridge:repl] Rejected ${H.request.subtype} (outbound-only) request_id=${H.request_id}`);return}switch(H.request.subtype){case"initialize":W={type:"control_response",response:{subtype:"success",request_id:H.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":J?.(H.request.model),W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};break;case"set_max_thinking_tokens":Q?.(H.request.max_thinking_tokens),W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};break;case"set_permission_mode":{let z=_?.(H.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(z.ok)W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};else W={type:"control_response",response:{subtype:"error",request_id:H.request_id,error:z.error}};break}case"interrupt":B?.(),W={type:"control_response",response:{subtype:"success",request_id:H.request_id}};break;default:W={type:"control_response",response:{subtype:"error",request_id:H.request_id,error:`REPL bridge does not handle control_request subtype: ${H.request.subtype}`}}}let k={...W,session_id:f};V.write(k),X(`[bridge:repl] Sent control_response for ${H.request.subtype} request_id=${H.request_id} result=${W.response.subtype}`)}function i(H){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:H,uuid:T()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(H){this.capacity=H,this.ring=Array(H)}add(H){if(this.set.has(H))return;let Z=this.ring[this.writeIdx];if(Z!==void 0)this.set.delete(Z);this.ring[this.writeIdx]=H,this.set.add(H),this.writeIdx=(this.writeIdx+1)%this.capacity}has(H){return this.set.has(H)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
|
|
2
|
-
export{v as Bb,q as Cb,p as Db,g as Eb,i as Fb,R as Gb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xY as H,zY as M}from"./cli-1.1.28-f0vrbk1t.mjs";import{Zea as B,cfa as D,gca as y,pca as K,pfa as L}from"./cli-1.1.28-5y1xeh89.mjs";import{Vta as J}from"./cli-1.1.28-3fssr567.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 lc,P as mc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Gka as f}from"./cli-1.1.28-knfg26kb.mjs";import{Jla as h}from"./cli-1.1.28-2esp2ssp.mjs";import{Vta as Z}from"./cli-1.1.28-3fssr567.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var I=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(z){if(!z||z.length>D)return null;return null}async function pz(z){if(!z||z.length>D)return null;return null}function dz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(m(J.text));else if(l.has(J.type))break}return X}function m(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,l,oz;var L=Z(()=>{f();h();I();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),l=new Set(["command_substitution","process_substitution"]);oz=Symbol("parse-aborted")});
|
|
2
|
-
export{K as b4,I as c4,kz as d4,oz as e4,pz as f4,dz as g4,L as h4};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{m$ as Z,q$ as _,r$ as w}from"./cli-1.1.28-rt0aect8.mjs";import{Bga as j,Paa as T,Wba as D,aaa as Y,baa as U,dga as W,gga as V,maa as $,zba as k}from"./cli-1.1.28-5y1xeh89.mjs";import{Gla as N,Jla as M}from"./cli-1.1.28-2esp2ssp.mjs";import{csa as O,joa as X}from"./cli-1.1.28-wvj52k91.mjs";O();j();M();w();D();U();T();import{realpath as x}from"fs/promises";async function y(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await x(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function f(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function l(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
-
export{y as Mb,f as Nb,P as Ob,d as Pb,l as Qb};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import{B8 as x,H8 as K}from"./cli-1.1.28-ak2bzv1v.mjs";import{cfa as w,pfa as J}from"./cli-1.1.28-5y1xeh89.mjs";import{fja as v,rja as I}from"./cli-1.1.28-es8var4t.mjs";import{rma as q,zma as G}from"./cli-1.1.28-khcgtk4a.mjs";import{Vta as z}from"./cli-1.1.28-3fssr567.mjs";function W(h){return h.type==="advisor_tool_result"||h.type==="server_tool_use"&&h.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDIN_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let h=j();return k()&&!N()&&h.baseModel&&h.advisorModel?{baseModel:h.baseModel,advisorModel:h.advisorModel}:void 0}function Z(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function $(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(h){let b=h.iterations;if(!b)return[];return b.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
|
|
2
|
-
|
|
3
|
-
You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
|
|
4
|
-
|
|
5
|
-
Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
|
|
6
|
-
|
|
7
|
-
Also call advisor:
|
|
8
|
-
- When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
|
|
9
|
-
- When stuck -- errors recurring, approach not converging, results that don't fit.
|
|
10
|
-
- When considering a change of approach.
|
|
11
|
-
|
|
12
|
-
On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
|
|
13
|
-
|
|
14
|
-
Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
|
|
15
|
-
|
|
16
|
-
If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
|
|
17
|
-
export{W as SV,k as TV,N as UV,X as VV,Z as WV,$ as XV,B as YV,D as ZV,F as _V,O as $V};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{je as F,me as A}from"./cli-1.1.28-8v2vx373.mjs";import{Pe as D,Se as H,Ue as _}from"./cli-1.1.28-13j6r7pz.mjs";import{fta as U,xta as P}from"./cli-1.1.28-ev0gfjgf.mjs";P();_();A();var R="environments-2025-11-01",O=/^[a-zA-Z0-9_-]+$/;function j(J,K){if(!J||!O.test(J))throw Error(`Invalid ${K}: contains unsafe characters`);return J}class L extends Error{status;errorType;constructor(J,K,Z){super(J);this.name="BridgeFatalError",this.status=K,this.errorType=Z}}function y(J){function K(q){J.onDebug?.(q)}let Z=0,V=100;function X(q){let z={Authorization:`Bearer ${q}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":R,"x-environment-runner-version":J.runnerVersion},W=J.getTrustedDeviceToken?.();if(W)z["X-Trusted-Device-Token"]=W;return z}function C(){let q=J.getAccessToken();if(!q)throw Error(F);return q}async function M(q,z){let W=C(),Q=await q(W);if(Q.status!==401)return Q;if(!J.onAuth401)return K(`[bridge:api] ${z}: 401 received, no refresh handler`),Q;if(K(`[bridge:api] ${z}: 401 received, attempting token refresh`),await J.onAuth401(W)){K(`[bridge:api] ${z}: Token refreshed, retrying request`);let $=C(),N=await q($);if(N.status!==401)return N;K(`[bridge:api] ${z}: Retry after refresh also got 401`)}else K(`[bridge:api] ${z}: Token refresh failed`);return Q}return{async registerBridgeEnvironment(q){K(`[bridge:api] POST /v1/environments/bridge bridgeId=${q.bridgeId}`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/environments/bridge`,{machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType},...q.reuseEnvironmentId&&{environment_id:q.reuseEnvironmentId}},{headers:X(W),timeout:15000,validateStatus:(Q)=>Q<500}),"Registration");return G(z.status,z.data,"Registration"),K(`[bridge:api] POST /v1/environments/bridge -> ${z.status} environment_id=${z.data.environment_id}`),K(`[bridge:api] >>> ${D({machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType}})}`),K(`[bridge:api] <<< ${D(z.data)}`),z.data},async pollForWork(q,z,W,Q){j(q,"environmentId");let Y=Z;Z=0;let $=await U.get(`${J.baseUrl}/v1/environments/${q}/work/poll`,{headers:X(z),params:Q!==void 0?{reclaim_older_than_ms:Q}:void 0,timeout:1e4,signal:W,validateStatus:(N)=>N<500});if(G($.status,$.data,"Poll"),!$.data){if(Z=Y+1,Z===1||Z%V===0)K(`[bridge:api] GET .../work/poll -> ${$.status} (no work, ${Z} consecutive empty polls)`);return null}return K(`[bridge:api] GET .../work/poll -> ${$.status} workId=${$.data.id} type=${$.data.data?.type}${$.data.data?.id?` sessionId=${$.data.data.id}`:""}`),K(`[bridge:api] <<< ${D($.data)}`),$.data},async acknowledgeWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/ack`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/ack`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"Acknowledge"),K(`[bridge:api] POST .../work/${z}/ack -> ${Q.status}`)},async stopWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/stop force=${W}`);let Q=await M((Y)=>U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/stop`,{force:W},{headers:X(Y),timeout:1e4,validateStatus:($)=>$<500}),"StopWork");G(Q.status,Q.data,"StopWork"),K(`[bridge:api] POST .../work/${z}/stop -> ${Q.status}`)},async deregisterEnvironment(q){j(q,"environmentId"),K(`[bridge:api] DELETE /v1/environments/bridge/${q}`);let z=await M((W)=>U.delete(`${J.baseUrl}/v1/environments/bridge/${q}`,{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"Deregister");G(z.status,z.data,"Deregister"),K(`[bridge:api] DELETE /v1/environments/bridge/${q} -> ${z.status}`)},async archiveSession(q){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/archive`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/sessions/${q}/archive`,{},{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"ArchiveSession");if(z.status===409){K(`[bridge:api] POST /v1/sessions/${q}/archive -> 409 (already archived)`);return}G(z.status,z.data,"ArchiveSession"),K(`[bridge:api] POST /v1/sessions/${q}/archive -> ${z.status}`)},async reconnectSession(q,z){j(q,"environmentId"),j(z,"sessionId"),K(`[bridge:api] POST /v1/environments/${q}/bridge/reconnect session_id=${z}`);let W=await M((Q)=>U.post(`${J.baseUrl}/v1/environments/${q}/bridge/reconnect`,{session_id:z},{headers:X(Q),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");G(W.status,W.data,"ReconnectSession"),K(`[bridge:api] POST .../bridge/reconnect -> ${W.status}`)},async heartbeatWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/heartbeat`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/heartbeat`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});return G(Q.status,Q.data,"Heartbeat"),K(`[bridge:api] POST .../work/${z}/heartbeat -> ${Q.status} lease_extended=${Q.data.lease_extended} state=${Q.data.state}`),Q.data},async sendPermissionResponseEvent(q,z,W){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/events type=${z.type}`);let Q=await U.post(`${J.baseUrl}/v1/sessions/${q}/events`,{events:[z]},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"SendPermissionResponseEvent"),K(`[bridge:api] POST /v1/sessions/${q}/events -> ${Q.status}`),K(`[bridge:api] >>> ${D({events:[z]})}`),K(`[bridge:api] <<< ${D(Q.data)}`)}}}function G(J,K,Z){if(J===200||J===204)return;let V=H(K),X=B(K);switch(J){case 401:throw new L(`${Z}: Authentication failed (401)${V?`: ${V}`:""}. ${F}`,401,X);case 403:throw new L(S(X)?"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.":`${Z}: Access denied (403)${V?`: ${V}`:""}. Check your organization permissions.`,403,X);case 404:throw new L(V??`${Z}: Not found (404). Remote Control may not be available for this organization.`,404,X);case 410:throw new L(V??"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.",410,X??"environment_expired");case 429:throw Error(`${Z}: Rate limited (429). Polling too frequently.`);default:throw Error(`${Z}: Failed with status ${J}${V?`: ${V}`:""}`)}}function S(J){if(!J)return!1;return J.includes("expired")||J.includes("lifetime")}function E(J){if(J.status!==403)return!1;return J.message.includes("external_poll_sessions")||J.message.includes("environments:manage")}function B(J){if(J&&typeof J==="object"){if("error"in J&&J.error&&typeof J.error==="object"&&"type"in J.error&&typeof J.error.type==="string")return J.error.type}return}function T(J){let K=new AbortController;function Z(){K.abort(),K=new AbortController}function V(){let X=new AbortController,C=()=>X.abort();if(J.aborted||K.signal.aborted)return X.abort(),{signal:X.signal,cleanup:()=>{}};J.addEventListener("abort",C,{once:!0});let M=K.signal;return M.addEventListener("abort",C,{once:!0}),{signal:X.signal,cleanup:()=>{J.removeEventListener("abort",C),M.removeEventListener("abort",C)}}}return{signal:V,wake:Z}}
|
|
2
|
-
export{j as ea,L as fa,y as ga,S as ha,E as ia,T as ja};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Mo as R,No as r,WG as h,bH as v}from"./cli-1.1.28-zhftjycn.mjs";import{L1 as U,N1 as F,R1 as I,m0 as p,q2 as E}from"./cli-1.1.28-0njtm2nf.mjs";import{b5 as Z,c5 as L,d5 as N}from"./cli-1.1.28-v5ypq0r2.mjs";import{e5 as j}from"./cli-1.1.28-yv5gzenz.mjs";import{$ea as B,pfa as S}from"./cli-1.1.28-5y1xeh89.mjs";import{Dka as H,Gka as b}from"./cli-1.1.28-knfg26kb.mjs";import{Rta as P,Vta as A}from"./cli-1.1.28-3fssr567.mjs";function l(d){let f=O.c(18),{onAccept:J,onDecline:q,declineExits:m}=d,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];T.default.useEffect(x,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(C){f:switch(C){case"accept":{H("",{}),B("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("",{}),B("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let k=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=L(U,{flexDirection:"column",gap:1,children:[Z(F,{children:u}),Z(I,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let y=m?"No, exit":"No, go back",w;if(f[7]!==y)w=[...W,X,{label:y,value:"decline"}],f[7]=y,f[8]=w;else w=f[8];let z;if(f[9]!==k)z=(M)=>k(M),f[9]=k,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(h,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=L(R,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function x(){H("",{})}var O,T,u="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";var g=A(()=>{b();E();S();v();r();N();O=P(p(),1),T=P(j(),1)});
|
|
2
|
-
export{u as pc,l as qc,g as rc};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Bga as R,R$ as Q,T$ as M,gga as P}from"./cli-1.1.28-5y1xeh89.mjs";import{Gla as G,Jla as C}from"./cli-1.1.28-2esp2ssp.mjs";import{Vta as j}from"./cli-1.1.28-3fssr567.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function k(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function U(q){let z=q.split(`
|
|
2
|
-
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of k()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function B(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return U(J)}async function N(){for(let q of v)if(await _(q))return q;return null}async function f(){if(Z!==void 0)return Z;try{let q=await B();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await N();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await f();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var m=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
-
export{g as C5,w as D5,m as E5};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bga as y,gga as P}from"./cli-1.1.28-5y1xeh89.mjs";import{Vta as U}from"./cli-1.1.28-3fssr567.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
|
|
2
|
-
export{G as AY,M as BY,N as CY,Y as DY,C as EY,_ as FY,R as GY,E as HY,I as IY,f as JY,k as KY,A as LY,h as MY,b as NY,u as OY,T as PY,p as QY,m as RY,e as SY,W as TY,a as UY,s as VY,r as WY,g as XY};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{F as x0}from"./cli-1.1.28-mkm05wf9.mjs";import{ba as d0}from"./cli-1.1.28-bfs5hmfp.mjs";import{Mb as u0}from"./cli-1.1.28-hkfays5k.mjs";import{Rb as c0}from"./cli-1.1.28-vphadsag.mjs";import{jd as y0,ld as Vf}from"./cli-1.1.28-rq49kn4q.mjs";import{od as $,pd as Uf}from"./cli-1.1.28-s2pcpdyc.mjs";import{rd as O0,sd as Lf}from"./cli-1.1.28-040xb4f8.mjs";import{Nd as q0,Od as o0}from"./cli-1.1.28-bsqgt8m4.mjs";import{Hh as m0,Ih as Rf}from"./cli-1.1.28-fjbefwwe.mjs";import{CU as _0,EN as R0,Eo as p,Fo as g0,Go as f0,Ho as S0,Io as F0,Jo as $0,MU as C0,Mo as _,No as a,ON as a0,OU as b0,QU as Yf,RH as E0,SH as Qf,TU as N0,UG as T0,VG as l0,VU as Zf,WG as n,aO as U0,bH as i0,cO as n0,gH as m,hH as Q0,iH as P0,jH as Jf,ny as E,ry as J0,sT as A0,uT as D0,wT as Xf}from"./cli-1.1.28-zhftjycn.mjs";import{E0 as K0,J0 as zf,L1 as e,N1 as A,R1 as l,m0 as u,q2 as o}from"./cli-1.1.28-0njtm2nf.mjs";import{a5 as t,b5 as q,c5 as G,d5 as w}from"./cli-1.1.28-v5ypq0r2.mjs";import{C6 as k0,D6 as qf,Y5 as I0,b6 as Tf}from"./cli-1.1.28-ak2bzv1v.mjs";import{$ea as H,Bga as X0,Mha as M0,Pha as Ff,Zfa as H0,cfa as K,dga as j,ffa as w0,gga as i,hfa as G0,iga as B0,pfa as d}from"./cli-1.1.28-5y1xeh89.mjs";import{Jia as W,Nia as e0}from"./cli-1.1.28-8avwqt1z.mjs";import{dja as W0,lja as h0,rja as ff}from"./cli-1.1.28-es8var4t.mjs";import{Dka as I,Gka as c}from"./cli-1.1.28-knfg26kb.mjs";import{Jla as s0}from"./cli-1.1.28-2esp2ssp.mjs";import{rma as S,zma as t0}from"./cli-1.1.28-khcgtk4a.mjs";import{Ooa as Y0,Uqa as Z0,csa as r0}from"./cli-1.1.28-wvj52k91.mjs";import{Rta as x,Wta as B}from"./cli-1.1.28-3fssr567.mjs";c();Xf();r0();import{appendFileSync as Wf}from"fs";Zf();zf();Q0();ff();Ff();c();d();i0();a();var s=x(u(),1);o();w();var v=x(u(),1);function D(){let T=v.c(1),f;if(T[0]===Symbol.for("react.memo_cache_sentinel"))f=G(A,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",q(l,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),T[0]=f;else f=T[0];return f}w();function r(T){let f=s.c(13),{serverName:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(h){I("",{choice:h});f:switch(h){case"yes":case"yes_all":{let M=(K()||{}).enabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{enabledMcpjsonServers:[...M,F]});if(h==="yes_all")H("localSettings",{enableAllProjectMcpServers:!0});L();break f}case"no":{let M=(K()||{}).disabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{disabledMcpjsonServers:[...M,F]});L()}}},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V=`New MCP server found in .mcp.json: ${F}`,Q;if(f[3]!==J)Q=()=>J("no"),f[3]=J,f[4]=Q;else Q=f[4];let z;if(f[5]===Symbol.for("react.memo_cache_sentinel"))z=q(D,{}),f[5]=z;else z=f[5];let R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],f[6]=R;else R=f[6];let X;if(f[7]!==J)X=q(n,{options:R,onChange:(Z)=>J(Z),onCancel:()=>J("no")}),f[7]=J,f[8]=X;else X=f[8];let Y;if(f[9]!==V||f[10]!==Q||f[11]!==X)Y=G(_,{title:V,color:"warning",onCancel:Q,children:[z,X]}),f[9]=V,f[10]=Q,f[11]=X,f[12]=Y;else Y=f[12];return Y}o0();c();o();d();S0();l0();$0();a();g0();var L0=x(u(),1);w();function z0(T){let f=L0.c(21),{serverNames:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(C){let y=K()||{},p0=y.enabledMcpjsonServers||[],j0=y.disabledMcpjsonServers||[],[b,N]=q0(F,(P)=>C.includes(P));if(I("",{approved:b.length,rejected:N.length}),b.length>0){let P=[...new Set([...p0,...b])];H("localSettings",{enabledMcpjsonServers:P})}if(N.length>0){let P=[...new Set([...j0,...N])];H("localSettings",{disabledMcpjsonServers:P})}L()},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V;if(f[3]!==L||f[4]!==F)V=()=>{let C=(K()||{}).disabledMcpjsonServers||[],y=[...new Set([...C,...F])];H("localSettings",{disabledMcpjsonServers:y}),L()},f[3]=L,f[4]=F,f[5]=V;else V=f[5];let Q=V,z=`${F.length} new MCP servers found in .mcp.json`,R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=q(D,{}),f[6]=R;else R=f[6];let X;if(f[7]!==F)X=F.map(v0),f[7]=F,f[8]=X;else X=f[8];let Y;if(f[9]!==Q||f[10]!==J||f[11]!==F||f[12]!==X)Y=q(T0,{options:X,defaultValue:F,onSubmit:J,onCancel:Q,hideIndexes:!0}),f[9]=Q,f[10]=J,f[11]=F,f[12]=X,f[13]=Y;else Y=f[13];let Z;if(f[14]!==Q||f[15]!==z||f[16]!==Y)Z=G(_,{title:z,subtitle:"Select any you wish to enable.",color:"warning",onCancel:Q,hideInputGuide:!0,children:[R,Y]}),f[14]=Q,f[15]=z,f[16]=Y,f[17]=Z;else Z=f[17];let h;if(f[18]===Symbol.for("react.memo_cache_sentinel"))h=q(e,{paddingX:1,children:q(A,{dimColor:!0,italic:!0,children:G(F0,{children:[q(p,{shortcut:"Space",action:"select"}),q(p,{shortcut:"Enter",action:"confirm"}),q(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),f[18]=h;else h=f[18];let O;if(f[19]!==Z)O=G(t,{children:[Z,h]}),f[19]=Z,f[20]=O;else O=f[20];return O}function v0(T){return{label:T,value:T}}Q0();J0();a0();n0();w();async function V0(T){let{servers:f}=R0("project"),F=Object.keys(f).filter((L)=>U0(L)==="pending");if(F.length===0)return;await new Promise((L)=>{let U=()=>void L();if(F.length===1&&F[0]!==void 0){let J=F[0];T.render(q(E,{children:q(m,{children:q(r,{serverName:J,onDone:U})})}))}else T.render(q(E,{children:q(m,{children:q(z0,{serverNames:F,onDone:U})})}))})}J0();Uf();qf();Yf();X0();Vf();X0();s0();t0();class g{frameDurations=[];firstRenderTime;lastRenderTime;record(T){let f=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=f;this.lastRenderTime=f,this.frameDurations.push(T)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let T=this.lastRenderTime-this.firstRenderTime;if(T<=0)return;let F=this.frameDurations.length/(T/1000),L=this.frameDurations.slice().sort((Q,z)=>z-Q),U=Math.max(0,Math.ceil(L.length*0.01)-1),J=L[U],V=J>0?1000/J:0;return{averageFps:Math.round(F*100)/100,low1PctFps:Math.round(V*100)/100}}}Lf();Tf();Jf();Rf();Qf();d();e0();w();function hf(){j((T)=>({...T,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function wf(T,f){return new Promise((F)=>{let L=(U)=>void F(U);T.render(f(L))})}async function x9(T,f,F){return Gf(T,f,{color:"error",beforeExit:F})}async function Gf(T,f,F){let{Text:L}=await import("./ink-1.1.28-8bcvzs97.mjs"),U=F?.color,J=F?.exitCode??1;T.render(U?q(L,{color:U,children:f}):q(L,{children:f})),T.unmount(),await F?.beforeExit?.(),process.exit(J)}function k(T,f,F){return wf(T,(L)=>q(E,{onChangeAppState:F?.onChangeAppState,children:q(m,{children:f(L)})}))}async function u9(T,f){T.render(f),x0(),await T.waitUntilExit(),await D0(0)}async function c9(T,f,F,L,U){if(S(!1)||process.env.IS_DEMO)return!1;W("setupScreens_start");let J=I0(),V=!1;if(y0()){let{MigrationDialog:z}=await import("./MigrationDialog-1.1.28-w5mh2w2b.mjs");await k(T,(R)=>q(z,{onDone:()=>void R()}))}let Q=i();if(J&&(!Q.theme||!Q.hasCompletedOnboarding)){V=!0;let{Onboarding:z}=await import("./Onboarding-1.1.28-7q9nc8c9.mjs");await k(T,(R)=>q(z,{onDone:()=>{hf(),R()}}),{onChangeAppState:$})}if(!S(process.env.CLAUBBIT)){if(J&&!H0()){let{TrustDialog:z}=await import("./TrustDialog-1.1.28-49aey2f6.mjs");await k(T,(R)=>q(z,{commands:L,onDone:R}))}if(Z0(!0),W("setupScreens_after_trust_accepted"),h0(),W0(),N0(),W("setupScreens_after_growthbook_kick"),J){let{errors:z}=E0();if(z.length===0)await V0(T);W("setupScreens_after_mcp_approvals");let R=await b0();if(W("setupScreens_after_claudemd_check"),R){let X=C0(await _0(!0)),{ClaudeMdExternalIncludesDialog:Y}=await import("./ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs");await k(T,(Z)=>q(Y,{onDone:Z,isStandaloneDialog:!0,externalIncludes:X}))}}}u0(),O0(),W("setupScreens_after_env_applied"),setImmediate(()=>d0());{let z=M0();W("setupScreens_after_tryGetActiveProvider");let R=z?.transport==="anthropic"?z.apiKey?.trim():void 0;if(R){let X=k0(R),Y=B0(X);if(W("setupScreens_after_keyStatus"),Y==="new"){let{ApproveApiKey:Z}=await import("./ApproveApiKey-1.1.28-dn460p70.mjs");await k(T,(h)=>q(Z,{customApiKeyTruncated:X,onDone:h}),{onChangeAppState:$})}}}if(W("setupScreens_after_custom_api_key"),(f==="bypassPermissions"||F)&&!w0()){let{BypassPermissionsModeDialog:z}=await import("./BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs");await k(T,(R)=>q(z,{onAccept:R}))}if(f==="auto"&&!G0()){let{AutoModeOptInDialog:z}=await import("./AutoModeOptInDialog-1.1.28-19td2te8.mjs");await k(T,(R)=>q(z,{onAccept:R,onDecline:()=>A0(1),declineExits:!0}))}return W("setupScreens_end"),V}function d9(T){m0();let f=0,F=P0(T);if(F.stdin)I("",{});let L=new g,U=c0();Y0(U);let J=process.env.CLAUDIN_FRAME_TIMING_LOG;return{getFpsMetrics:()=>L.getMetrics(),stats:U,renderOptions:{...F,onFrame:(V)=>{if(L.record(V.durationMs),U.observe("frame_duration_ms",V.durationMs),J&&V.phases){let Q=JSON.stringify({total:V.durationMs,...V.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
-
`;Wf(J,Q)}if(K0())return;for(let Q of V.flickers){if(Q.reason==="resize")continue;let z=Date.now();if(z-f<1000)I("",{desiredHeight:Q.desiredHeight,actualHeight:Q.availableHeight,reason:Q.reason});f=z}}}}}
|
|
3
|
-
export{hf as x,wf as y,x9 as z,Gf as A,k as B,u9 as C,c9 as D,d9 as E};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vta as o}from"./cli-1.1.28-3fssr567.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 l_,n as m_,i as n_,_ as o_,s as p_,c as q_,p as r_,r as s_,a as t_,E as u_,e as v_};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ta as S,ua as R}from"./cli-1.1.28-cb5wemmj.mjs";import{za as j}from"./cli-1.1.28-x0ypcq4e.mjs";import{gX as W,hX as A}from"./cli-1.1.28-4kxqqtpz.mjs";import{I8 as T,J8 as F}from"./cli-1.1.28-ak2bzv1v.mjs";import{Gla as Q,Jla as P}from"./cli-1.1.28-2esp2ssp.mjs";import{ema as z,lma as x}from"./cli-1.1.28-pykx8k1j.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 ma,m as na,U as oa,g as pa,b as qa};
|