@claudiolabs/claudin 1.1.27 → 1.1.28
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.28-hdgcephe.mjs +1 -0
- package/dist/chunks/App-1.1.28-rdhr58j6.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +6 -0
- package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +1 -0
- package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +1 -0
- package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +1 -0
- package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +110 -0
- package/dist/chunks/agents-1.1.28-4qdh001q.mjs +3 -0
- package/dist/chunks/api-1.1.28-znpy0eyy.mjs +1 -0
- package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +1 -0
- package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +1 -0
- package/dist/chunks/auth-1.1.28-bw7dane8.mjs +1 -0
- package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +1 -0
- package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +1 -0
- package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +4 -0
- package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +1 -0
- package/dist/chunks/btw-1.1.28-p1tk901s.mjs +1 -0
- package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +4 -0
- package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +1 -0
- package/dist/chunks/cd-1.1.28-84z1kqam.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +1 -0
- package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +1 -0
- package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +1 -0
- package/dist/chunks/cli-1.1.28-01g60h7m.mjs +2 -0
- package/dist/chunks/cli-1.1.28-040xb4f8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +24 -0
- package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +60 -0
- package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +24 -0
- package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +58 -0
- package/dist/chunks/cli-1.1.28-130w2y17.mjs +50 -0
- package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-14abe08r.mjs +4 -0
- package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1mscaejt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1q409efb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +5 -0
- package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +34 -0
- package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +6 -0
- package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +4 -0
- package/dist/chunks/cli-1.1.28-347ygvzg.mjs +6 -0
- package/dist/chunks/cli-1.1.28-36891pwy.mjs +2 -0
- package/dist/chunks/cli-1.1.28-36y6830c.mjs +2 -0
- package/dist/chunks/cli-1.1.28-37rkgevh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3bj091x6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3fssr567.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4kda7s33.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +9 -0
- package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +3 -0
- package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +6 -0
- package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +206 -0
- package/dist/chunks/cli-1.1.28-638dshxx.mjs +42 -0
- package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +17 -0
- package/dist/chunks/cli-1.1.28-75thpvfa.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7amn29ks.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7g65bppm.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +4 -0
- package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +25 -0
- package/dist/chunks/cli-1.1.28-7x94aewp.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +2 -0
- package/dist/chunks/cli-1.1.28-83k0knzj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +4 -0
- package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8v2vx373.mjs +2 -0
- package/dist/chunks/cli-1.1.28-943993zt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +5 -0
- package/dist/chunks/cli-1.1.28-95fs05hq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-a00k75hj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +16 -0
- package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +2 -0
- package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +15 -0
- package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +15 -0
- package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +3 -0
- package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-brh6rw23.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +2 -0
- package/dist/chunks/cli-1.1.28-by5acg3a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +7 -0
- package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +2 -0
- package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +24 -0
- package/dist/chunks/cli-1.1.28-davs3ve8.mjs +58 -0
- package/dist/chunks/cli-1.1.28-denmqz0s.mjs +2 -0
- package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +3 -0
- package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-egskcwa5.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ek683x01.mjs +2 -0
- package/dist/chunks/cli-1.1.28-epzkhgww.mjs +2 -0
- package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +6 -0
- package/dist/chunks/cli-1.1.28-es8var4t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +24 -0
- package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +12 -0
- package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +39 -0
- package/dist/chunks/cli-1.1.28-fetsedc8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +8 -0
- package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +2 -0
- package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hb02sa63.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hkfays5k.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +17 -0
- package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +3 -0
- package/dist/chunks/cli-1.1.28-j6nysca9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +3 -0
- package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +2 -0
- package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +20 -0
- package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +3 -0
- package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +2 -0
- package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +2 -0
- package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +3 -0
- package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-knfg26kb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mdexghj2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +4 -0
- package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +3 -0
- package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mx413hqd.mjs +3 -0
- package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +2 -0
- package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +2 -0
- package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +10 -0
- package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +4 -0
- package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +2 -0
- package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +25 -0
- package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-prd0t983.mjs +9 -0
- package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +4 -0
- package/dist/chunks/cli-1.1.28-q14qmewe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-q43r6snq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qb921m5a.mjs +3 -0
- package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +3 -0
- package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +45 -0
- package/dist/chunks/cli-1.1.28-qj312jgw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +4 -0
- package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-r81y1681.mjs +3 -0
- package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +4 -0
- package/dist/chunks/cli-1.1.28-rez81jab.mjs +6 -0
- package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rt0aect8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rwfwz209.mjs +2 -0
- package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +3 -0
- package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +2 -0
- package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +2 -0
- package/dist/chunks/cli-1.1.28-smb1frk6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +12 -0
- package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +2 -0
- package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-t5yawarz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-tt0c354s.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +133 -0
- package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vje1ac31.mjs +7 -0
- package/dist/chunks/cli-1.1.28-vphadsag.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +3 -0
- package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +2 -0
- package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +20 -0
- package/dist/chunks/cli-1.1.28-wew8jymx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wvj52k91.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wze93r29.mjs +2 -0
- package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +18 -0
- package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-x13sctb2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-y173v5ak.mjs +133 -0
- package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +2 -0
- package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +15 -0
- package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yyk292aq.mjs +6 -0
- package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +21 -0
- package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +2 -0
- package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +1 -0
- package/dist/chunks/cli-1.1.28-zhftjycn.mjs +5553 -0
- package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +2 -0
- package/dist/chunks/client-1.1.28-59t63af8.mjs +1 -0
- package/dist/chunks/color-1.1.28-gmbrq89g.mjs +1 -0
- package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +3 -0
- package/dist/chunks/config-1.1.28-b69ey9g1.mjs +1 -0
- package/dist/chunks/config-1.1.28-cryax439.mjs +1 -0
- package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +1 -0
- package/dist/chunks/context-1.1.28-09kfp2sa.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +1 -0
- package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +1 -0
- package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +9 -0
- package/dist/chunks/cost-1.1.28-507xt42s.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +1 -0
- package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +1 -0
- package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +1534 -0
- package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +1 -0
- package/dist/chunks/detection-1.1.28-06p2mev8.mjs +1 -0
- package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +1 -0
- package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +1 -0
- package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +13 -0
- package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +1 -0
- package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +1 -0
- package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +1 -0
- package/dist/chunks/errors-1.1.28-eysc80qa.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +1 -0
- package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +1 -0
- package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +1 -0
- package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +1 -0
- package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +1 -0
- package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +1 -0
- package/dist/chunks/git-1.1.28-ktf61jaz.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +1 -0
- package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +4 -0
- package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +1 -0
- package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +2 -0
- package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +6 -0
- package/dist/chunks/help-1.1.28-yhrv28x1.mjs +1 -0
- package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +3 -0
- package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +79 -0
- package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +1 -0
- package/dist/chunks/ide-1.1.28-27vb56tk.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +1 -0
- package/dist/chunks/import-1.1.28-bqs6ebec.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +1 -0
- package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +23 -0
- package/dist/chunks/index-1.1.28-30ges9rx.mjs +1 -0
- package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +1 -0
- package/dist/chunks/index-1.1.28-76ztpb54.mjs +1 -0
- package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +1 -0
- package/dist/chunks/index-1.1.28-ac1sbem8.mjs +9 -0
- package/dist/chunks/index-1.1.28-axnrgqkq.mjs +1 -0
- package/dist/chunks/index-1.1.28-b5b1qact.mjs +1 -0
- package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +1 -0
- package/dist/chunks/index-1.1.28-bt937784.mjs +1 -0
- package/dist/chunks/index-1.1.28-bxtzy977.mjs +2 -0
- package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +9 -0
- package/dist/chunks/index-1.1.28-dtfxav1q.mjs +1 -0
- package/dist/chunks/index-1.1.28-gk3v69b8.mjs +1 -0
- package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +1 -0
- package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +1 -0
- package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +1 -0
- package/dist/chunks/index-1.1.28-w2a4k4md.mjs +2 -0
- package/dist/chunks/index-1.1.28-wajajmmp.mjs +1 -0
- package/dist/chunks/index-1.1.28-xaw4tf13.mjs +30 -0
- package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +1 -0
- package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +5 -0
- package/dist/chunks/index-1.1.28-z85wbmey.mjs +1 -0
- package/dist/chunks/init-1.1.28-vt168swt.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +1 -0
- package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +1 -0
- package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +870 -0
- package/dist/chunks/install-1.1.28-azeaj14w.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +1 -0
- package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +2 -0
- package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +1 -0
- package/dist/chunks/log-1.1.28-744tvnnz.mjs +1 -0
- package/dist/chunks/main-1.1.28-ngd4qj24.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +1 -0
- package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +17 -0
- package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +1 -0
- package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +4 -0
- package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +1 -0
- package/dist/chunks/memory-1.1.28-437zyh3m.mjs +77 -0
- package/dist/chunks/model-1.1.28-1weg50dg.mjs +2 -0
- package/dist/chunks/model-1.1.28-qbnnaa17.mjs +1 -0
- package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +15 -0
- package/dist/chunks/node-1.1.28-q18jbvyv.mjs +1 -0
- package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +14 -0
- package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +1 -0
- package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +1 -0
- package/dist/chunks/parser-1.1.28-hahczgmc.mjs +1 -0
- package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +1 -0
- package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +1 -0
- package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +3 -0
- package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +1 -0
- package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +1 -0
- package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +1 -0
- package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +2 -0
- package/dist/chunks/print-1.1.28-g8smjzce.mjs +57 -0
- package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +9 -0
- package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +1 -0
- package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +1 -0
- package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +13 -0
- package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +26 -0
- package/dist/chunks/registry-1.1.28-a9wz892f.mjs +1 -0
- package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +2 -0
- package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +1 -0
- package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +1 -0
- package/dist/chunks/resume-1.1.28-mr6necqk.mjs +2 -0
- package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +1 -0
- package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +1 -0
- package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +1 -0
- package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +12 -0
- package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +1 -0
- package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +1 -0
- package/dist/chunks/state-1.1.28-fd27gqw0.mjs +1 -0
- package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +1 -0
- package/dist/chunks/status-1.1.28-67a4bkc3.mjs +1 -0
- package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +1 -0
- package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +1 -0
- package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +1 -0
- package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +1 -0
- package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +1 -0
- package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +1 -0
- package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +69 -0
- package/dist/chunks/types-1.1.28-51fcbp8c.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +4 -0
- package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +72 -0
- package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +1 -0
- package/dist/chunks/upload-1.1.28-whe18m8m.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +1 -0
- package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +1 -0
- package/dist/chunks/util-1.1.28-cvpx898d.mjs +1 -0
- package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +1 -0
- package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +13 -0
- package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +1 -0
- package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +132 -0
- package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +1 -0
- package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +1 -0
- package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.27-db5m9gzv.mjs +0 -1
- package/dist/chunks/App-1.1.27-jz9pzpv7.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.27-b5mwy6bs.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.27-2kwhe57h.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.27-g5rhes32.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.27-jxn4ptdz.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.27-2veddc9s.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.27-mt31pcwm.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.27-ts2drs72.mjs +0 -6
- package/dist/chunks/Doctor-1.1.27-mh9ttzx4.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.27-qh4nye9z.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.27-054hfzze.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.27-gyk98cx3.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.27-agv9khdv.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.27-fhzyv0es.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.27-e7a3yzxe.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.27-zc2zrqpt.mjs +0 -1
- package/dist/chunks/REPL-1.1.27-zm25dsxc.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.27-93vdmd0g.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.27-rcmc5990.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.27-7mwc4ntd.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.27-jyjyshza.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.27-g4s9ej88.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.27-bfqad2sg.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.27-b39dysny.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.27-nerfy2hh.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.27-7akd7pzq.mjs +0 -1
- package/dist/chunks/add-dir-1.1.27-jfd8t81g.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.27-gvc8sgz1.mjs +0 -1
- package/dist/chunks/agents-1.1.27-pdcva4bt.mjs +0 -110
- package/dist/chunks/agents-1.1.27-vdvjpsev.mjs +0 -3
- package/dist/chunks/api-1.1.27-v0jrrv5d.mjs +0 -1
- package/dist/chunks/asciicast-1.1.27-a6ydv5ce.mjs +0 -1
- package/dist/chunks/assistant-1.1.27-gazcm6s7.mjs +0 -1
- package/dist/chunks/auth-1.1.27-d561ngfq.mjs +0 -1
- package/dist/chunks/auth-1.1.27-gp1b9bvj.mjs +0 -1
- package/dist/chunks/autoMode-1.1.27-187c13xb.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.27-v3ap18cy.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.27-hty6t0t8.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.27-efmykd33.mjs +0 -1
- package/dist/chunks/branch-1.1.27-d16zzy8m.mjs +0 -4
- package/dist/chunks/bridge-1.1.27-3znqrqgh.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.27-bbn4xfe7.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.27-hky0jg83.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.27-j9tfnew8.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.27-95k3w0tb.mjs +0 -1
- package/dist/chunks/btw-1.1.27-wx6yv865.mjs +0 -1
- package/dist/chunks/buddy-1.1.27-9afpekx4.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.27-f84tajyp.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.27-g9qwr4y9.mjs +0 -4
- package/dist/chunks/caches-1.1.27-fw7fsfx6.mjs +0 -1
- package/dist/chunks/cd-1.1.27-y9t4zyf7.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.27-182n35a2.mjs +0 -1
- package/dist/chunks/claudemd-1.1.27-gp9ndxg8.mjs +0 -1
- package/dist/chunks/clear-1.1.27-rrvq1asb.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.27-6esk4j27.mjs +0 -1
- package/dist/chunks/cli-1.1.27-090g18py.mjs +0 -2
- package/dist/chunks/cli-1.1.27-0h1xdjxp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-0rz9qd34.mjs +0 -4
- package/dist/chunks/cli-1.1.27-0wv0k9sb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-14xp8pk4.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1hdrfsqd.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1qrkn0zf.mjs +0 -25
- package/dist/chunks/cli-1.1.27-1rztfj2j.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1vmmkyhn.mjs +0 -3
- package/dist/chunks/cli-1.1.27-1yvzf2v8.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1yyef8w3.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1ztbchyz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-22f6jd6a.mjs +0 -2
- package/dist/chunks/cli-1.1.27-2922x4n2.mjs +0 -5
- package/dist/chunks/cli-1.1.27-2e7wwbbp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-2mtc2dbf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-3cjhx8c4.mjs +0 -4
- package/dist/chunks/cli-1.1.27-3eax0jv3.mjs +0 -6
- package/dist/chunks/cli-1.1.27-3mpdw95c.mjs +0 -2
- package/dist/chunks/cli-1.1.27-3qx1npht.mjs +0 -2
- package/dist/chunks/cli-1.1.27-42wr3qtg.mjs +0 -2
- package/dist/chunks/cli-1.1.27-48ezce33.mjs +0 -206
- package/dist/chunks/cli-1.1.27-4ch8wq6c.mjs +0 -3
- package/dist/chunks/cli-1.1.27-4cjm0m5c.mjs +0 -24
- package/dist/chunks/cli-1.1.27-4pm4y79r.mjs +0 -2
- package/dist/chunks/cli-1.1.27-4xegg6js.mjs +0 -2
- package/dist/chunks/cli-1.1.27-51sqdnt6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-55evh9sy.mjs +0 -21
- package/dist/chunks/cli-1.1.27-575dbhvc.mjs +0 -2
- package/dist/chunks/cli-1.1.27-5jvkkbcy.mjs +0 -2
- package/dist/chunks/cli-1.1.27-5vejs4bz.mjs +0 -3
- package/dist/chunks/cli-1.1.27-6dm0tj1c.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6f5wmt15.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6g67vpnz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6s7e0eyt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6spv5ha8.mjs +0 -60
- package/dist/chunks/cli-1.1.27-704q0rhh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-79504h3t.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7a101p3z.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7gnbh46g.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7hws4y92.mjs +0 -4
- package/dist/chunks/cli-1.1.27-7jakzfss.mjs +0 -24
- package/dist/chunks/cli-1.1.27-7jc0gzqt.mjs +0 -4
- package/dist/chunks/cli-1.1.27-7wrz865m.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7zpnm6dn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-83exfkej.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8em170zt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8fve969w.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8gsqhqyf.mjs +0 -42
- package/dist/chunks/cli-1.1.27-8vkygf4q.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8vrv0ver.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8zkr609d.mjs +0 -4
- package/dist/chunks/cli-1.1.27-91eh3cyz.mjs +0 -3
- package/dist/chunks/cli-1.1.27-9427t707.mjs +0 -2
- package/dist/chunks/cli-1.1.27-94qc7asn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-96ccvbyj.mjs +0 -2
- package/dist/chunks/cli-1.1.27-96yksxag.mjs +0 -2
- package/dist/chunks/cli-1.1.27-98bpezgc.mjs +0 -45
- package/dist/chunks/cli-1.1.27-9chfrr9e.mjs +0 -2
- package/dist/chunks/cli-1.1.27-9d0bkxf6.mjs +0 -15
- package/dist/chunks/cli-1.1.27-9m09gcqr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-9sswt66t.mjs +0 -12
- package/dist/chunks/cli-1.1.27-a454a3rb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-aahmf6wc.mjs +0 -2
- package/dist/chunks/cli-1.1.27-b0s2nhr1.mjs +0 -24
- package/dist/chunks/cli-1.1.27-b3bkjfyh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-b42yen3p.mjs +0 -2
- package/dist/chunks/cli-1.1.27-bpbp93hw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-bwc1f1yx.mjs +0 -15
- package/dist/chunks/cli-1.1.27-byba8306.mjs +0 -20
- package/dist/chunks/cli-1.1.27-byxgdj3w.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cth2wwrh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cth3rq9k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cw1p9ac2.mjs +0 -3
- package/dist/chunks/cli-1.1.27-cw9bqwta.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cxy3fqs0.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d0k9rgj1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d1zgycfk.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d4km9s81.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d4w9gqgs.mjs +0 -50
- package/dist/chunks/cli-1.1.27-d5q76t7c.mjs +0 -3
- package/dist/chunks/cli-1.1.27-d7r6x0ew.mjs +0 -2
- package/dist/chunks/cli-1.1.27-dfww0knt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-dhzbmaf3.mjs +0 -2
- package/dist/chunks/cli-1.1.27-e2p4abq5.mjs +0 -2
- package/dist/chunks/cli-1.1.27-e53f6at7.mjs +0 -2
- package/dist/chunks/cli-1.1.27-eag2dgb4.mjs +0 -2
- package/dist/chunks/cli-1.1.27-es2rn3j6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-eypype7d.mjs +0 -8
- package/dist/chunks/cli-1.1.27-f218cppx.mjs +0 -34
- package/dist/chunks/cli-1.1.27-f3cv6wk1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fary910g.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fc1my4zp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fdhry9qy.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fr8vw4x1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fw9r8cwg.mjs +0 -4
- package/dist/chunks/cli-1.1.27-fxmty4t4.mjs +0 -5
- package/dist/chunks/cli-1.1.27-g8n6nr2e.mjs +0 -1
- package/dist/chunks/cli-1.1.27-gan2msv5.mjs +0 -3
- package/dist/chunks/cli-1.1.27-ge84mp6e.mjs +0 -2
- package/dist/chunks/cli-1.1.27-ggg6m9qt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-gmknn4xh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-gnhg7s3x.mjs +0 -2
- package/dist/chunks/cli-1.1.27-gnvm8gat.mjs +0 -2
- package/dist/chunks/cli-1.1.27-h7ytc7jg.mjs +0 -9
- package/dist/chunks/cli-1.1.27-hafa2nxa.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hcnrf84n.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hh78rvvf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hhkkts5k.mjs +0 -6
- package/dist/chunks/cli-1.1.27-hrwxg46q.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hs6hv3bh.mjs +0 -20
- package/dist/chunks/cli-1.1.27-j362egg2.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jcn2gvsw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jfqvck1y.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jg3tymed.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jh817v59.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jm7jbypb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jmegwyzr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jmz9pczh.mjs +0 -3
- package/dist/chunks/cli-1.1.27-jt1gb6nf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jvs6enw9.mjs +0 -2
- package/dist/chunks/cli-1.1.27-k115ge4q.mjs +0 -6
- package/dist/chunks/cli-1.1.27-k2fyp83y.mjs +0 -2
- package/dist/chunks/cli-1.1.27-k6dwtkrp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-k9jt24bv.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kdv6nw9e.mjs +0 -12
- package/dist/chunks/cli-1.1.27-kerbk21s.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kgpk1m6k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kkt8se1z.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kpqha1ce.mjs +0 -2
- package/dist/chunks/cli-1.1.27-krtd4rf3.mjs +0 -3
- package/dist/chunks/cli-1.1.27-m2n4m352.mjs +0 -2
- package/dist/chunks/cli-1.1.27-m5wtrd2b.mjs +0 -2
- package/dist/chunks/cli-1.1.27-m6ne80zc.mjs +0 -2
- package/dist/chunks/cli-1.1.27-maxx6jt7.mjs +0 -4
- package/dist/chunks/cli-1.1.27-me6jhh1k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-mqt20a61.mjs +0 -2
- package/dist/chunks/cli-1.1.27-mr1wxvzb.mjs +0 -3
- package/dist/chunks/cli-1.1.27-n09bs0db.mjs +0 -2
- package/dist/chunks/cli-1.1.27-n3fg97y6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-n6vfvfw4.mjs +0 -2
- package/dist/chunks/cli-1.1.27-nbgxr715.mjs +0 -10
- package/dist/chunks/cli-1.1.27-njcbrvnc.mjs +0 -58
- package/dist/chunks/cli-1.1.27-nmp82pea.mjs +0 -3
- package/dist/chunks/cli-1.1.27-nx2yxmg9.mjs +0 -3
- package/dist/chunks/cli-1.1.27-nxkc7nfr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-ny95570d.mjs +0 -133
- package/dist/chunks/cli-1.1.27-p1sh0ft2.mjs +0 -2
- package/dist/chunks/cli-1.1.27-p7kjkqhn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-p99q7a22.mjs +0 -133
- package/dist/chunks/cli-1.1.27-pab2avnw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-pyjha53q.mjs +0 -2
- package/dist/chunks/cli-1.1.27-q2msmggk.mjs +0 -2
- package/dist/chunks/cli-1.1.27-q830jx95.mjs +0 -2
- package/dist/chunks/cli-1.1.27-qcvp3n4v.mjs +0 -2
- package/dist/chunks/cli-1.1.27-qkzc0vzs.mjs +0 -2
- package/dist/chunks/cli-1.1.27-qnzhd86k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-r32k5nw7.mjs +0 -4
- package/dist/chunks/cli-1.1.27-r335xv52.mjs +0 -6
- package/dist/chunks/cli-1.1.27-r3r36jvq.mjs +0 -25
- package/dist/chunks/cli-1.1.27-r4ck0s0j.mjs +0 -2
- package/dist/chunks/cli-1.1.27-r9jjyax0.mjs +0 -7
- package/dist/chunks/cli-1.1.27-rct7c74m.mjs +0 -2
- package/dist/chunks/cli-1.1.27-rnwaxvgf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-rqdq9mhj.mjs +0 -2
- package/dist/chunks/cli-1.1.27-ryd2t3vk.mjs +0 -2
- package/dist/chunks/cli-1.1.27-s62prq89.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sbj1hdj9.mjs +0 -2
- package/dist/chunks/cli-1.1.27-scfswqdr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sdw0p0c4.mjs +0 -58
- package/dist/chunks/cli-1.1.27-sngxwsap.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sr4a2gd6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sw6tnehx.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t13xq38e.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t1dxp2pw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t32zh7r1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t4rm4dqf.mjs +0 -6
- package/dist/chunks/cli-1.1.27-tc4b7enb.mjs +0 -17
- package/dist/chunks/cli-1.1.27-tpefzkds.mjs +0 -4
- package/dist/chunks/cli-1.1.27-tw693ept.mjs +0 -2
- package/dist/chunks/cli-1.1.27-v24sqtag.mjs +0 -24
- package/dist/chunks/cli-1.1.27-v49qz5nz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-v9dwxgsv.mjs +0 -15
- package/dist/chunks/cli-1.1.27-vh1r16sd.mjs +0 -6
- package/dist/chunks/cli-1.1.27-vhdd7ed4.mjs +0 -39
- package/dist/chunks/cli-1.1.27-w0jz23zw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-w8pwj9ef.mjs +0 -5522
- package/dist/chunks/cli-1.1.27-wbtq2bbb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-wj32ftfy.mjs +0 -2
- package/dist/chunks/cli-1.1.27-wpnpp1vg.mjs +0 -2
- package/dist/chunks/cli-1.1.27-wtthtmes.mjs +0 -3
- package/dist/chunks/cli-1.1.27-wz24bwzn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-x6dqasdj.mjs +0 -17
- package/dist/chunks/cli-1.1.27-xdfkhk5m.mjs +0 -16
- package/dist/chunks/cli-1.1.27-xjabxtdd.mjs +0 -7
- package/dist/chunks/cli-1.1.27-xx0q9f0f.mjs +0 -2
- package/dist/chunks/cli-1.1.27-y6pe4jk6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-y712t8h2.mjs +0 -2
- package/dist/chunks/cli-1.1.27-y935z28w.mjs +0 -2
- package/dist/chunks/cli-1.1.27-yghv5btz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-z32qkf2d.mjs +0 -18
- package/dist/chunks/cli-1.1.27-zbbzy1ze.mjs +0 -2
- package/dist/chunks/cli-1.1.27-zgweqxf0.mjs +0 -9
- package/dist/chunks/cli-1.1.27-zq9wak2z.mjs +0 -2
- package/dist/chunks/cli-1.1.27-zr523fbq.mjs +0 -3
- package/dist/chunks/client-1.1.27-ex7wh5hg.mjs +0 -1
- package/dist/chunks/color-1.1.27-58s1yrz1.mjs +0 -1
- package/dist/chunks/compact-1.1.27-c1wgqww4.mjs +0 -3
- package/dist/chunks/config-1.1.27-7vwe1qph.mjs +0 -1
- package/dist/chunks/config-1.1.27-ymfcbn84.mjs +0 -1
- package/dist/chunks/constants-1.1.27-3r2715sd.mjs +0 -1
- package/dist/chunks/context-1.1.27-yznf0qn9.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.27-g15en4j2.mjs +0 -1
- package/dist/chunks/conversation-1.1.27-jmmsnhbw.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.27-g0p5y9rf.mjs +0 -1
- package/dist/chunks/copy-1.1.27-pr6pzthk.mjs +0 -9
- package/dist/chunks/cost-1.1.27-q1yqmxr9.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.27-4cwnpwje.mjs +0 -1
- package/dist/chunks/createSession-1.1.27-xdq80vrv.mjs +0 -1
- package/dist/chunks/debug-1.1.27-42bn4afg.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.27-t14xxt79.mjs +0 -1534
- package/dist/chunks/desktop-1.1.27-c8h6b96d.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.27-qx3djtsx.mjs +0 -1
- package/dist/chunks/detection-1.1.27-0974kbef.mjs +0 -1
- package/dist/chunks/diff-1.1.27-1cb81w47.mjs +0 -1
- package/dist/chunks/doctor-1.1.27-5ky6nxzq.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.27-jcx2c92k.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.27-btzh8ch0.mjs +0 -1
- package/dist/chunks/effort-1.1.27-5yvfxd52.mjs +0 -13
- package/dist/chunks/engine-1.1.27-xcjbgefa.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.27-tdwb5zkz.mjs +0 -1
- package/dist/chunks/envUtils-1.1.27-r07jyd3m.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.27-dr64k9he.mjs +0 -1
- package/dist/chunks/environments-1.1.27-s1z96vy8.mjs +0 -1
- package/dist/chunks/errors-1.1.27-bm50fpjg.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.27-wnw6egjm.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.27-evt4sr84.mjs +0 -1
- package/dist/chunks/exit-1.1.27-vgdg65b7.mjs +0 -1
- package/dist/chunks/explorer-1.1.27-zkb8zkpf.mjs +0 -1
- package/dist/chunks/export-1.1.27-tda60v40.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.27-2bmjnc65.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.27-m7byqk30.mjs +0 -1
- package/dist/chunks/fast-1.1.27-8bjn4w16.mjs +0 -1
- package/dist/chunks/feedback-1.1.27-vzfx84xw.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.27-57d5r280.mjs +0 -1
- package/dist/chunks/git-1.1.27-pe9yjmar.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.27-r2w00yyn.mjs +0 -1
- package/dist/chunks/goal-1.1.27-da40b321.mjs +0 -4
- package/dist/chunks/growthbook-1.1.27-rmhw14zh.mjs +0 -1
- package/dist/chunks/headless-1.1.27-gwzekzne.mjs +0 -2
- package/dist/chunks/heapdump-1.1.27-0702z5xd.mjs +0 -6
- package/dist/chunks/help-1.1.27-gwcwagyv.mjs +0 -1
- package/dist/chunks/hookChains-1.1.27-jyc4rzjs.mjs +0 -3
- package/dist/chunks/hooks-1.1.27-8p1xt4z2.mjs +0 -1
- package/dist/chunks/hooks-1.1.27-vvzpa77q.mjs +0 -79
- package/dist/chunks/ide-1.1.27-w2am9w2t.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.27-fk490n21.mjs +0 -1
- package/dist/chunks/import-1.1.27-69zkqd7t.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.27-7whcznny.mjs +0 -1
- package/dist/chunks/index-1.1.27-03qtf3bh.mjs +0 -9
- package/dist/chunks/index-1.1.27-2w3eyz3g.mjs +0 -1
- package/dist/chunks/index-1.1.27-4td4kk2r.mjs +0 -2
- package/dist/chunks/index-1.1.27-72s4gvww.mjs +0 -1
- package/dist/chunks/index-1.1.27-7rmx1z0f.mjs +0 -9
- package/dist/chunks/index-1.1.27-949q66tk.mjs +0 -1
- package/dist/chunks/index-1.1.27-9w6rbss1.mjs +0 -1
- package/dist/chunks/index-1.1.27-9w6y0sqf.mjs +0 -5
- package/dist/chunks/index-1.1.27-9za77x22.mjs +0 -2
- package/dist/chunks/index-1.1.27-av965j5w.mjs +0 -1
- package/dist/chunks/index-1.1.27-dpf9bwn3.mjs +0 -1
- package/dist/chunks/index-1.1.27-dzzkz91c.mjs +0 -1
- package/dist/chunks/index-1.1.27-ed0cj234.mjs +0 -30
- package/dist/chunks/index-1.1.27-fz6pezpj.mjs +0 -1
- package/dist/chunks/index-1.1.27-haym7ds6.mjs +0 -1
- package/dist/chunks/index-1.1.27-k2zye2ba.mjs +0 -1
- package/dist/chunks/index-1.1.27-ktav82bw.mjs +0 -1
- package/dist/chunks/index-1.1.27-qj3j1rkb.mjs +0 -1
- package/dist/chunks/index-1.1.27-r6ypg71x.mjs +0 -1
- package/dist/chunks/index-1.1.27-r8jqe3yp.mjs +0 -1
- package/dist/chunks/index-1.1.27-rcxd3h0n.mjs +0 -23
- package/dist/chunks/index-1.1.27-spc0z43g.mjs +0 -1
- package/dist/chunks/index-1.1.27-xvd24vg3.mjs +0 -1
- package/dist/chunks/init-1.1.27-kbwzggfn.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.27-r8gnhged.mjs +0 -1
- package/dist/chunks/ink-1.1.27-btbyg6z5.mjs +0 -1
- package/dist/chunks/insights-1.1.27-r17n37gt.mjs +0 -870
- package/dist/chunks/install-1.1.27-rst7c5sr.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.27-qe83k348.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.27-9btj28ve.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.27-zs5yatff.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.27-vkw6dmnx.mjs +0 -1
- package/dist/chunks/keybindings-1.1.27-1sx34z24.mjs +0 -2
- package/dist/chunks/knowledge-1.1.27-3vda7yge.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.27-8vg474pc.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.27-ax53z9hj.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.27-34tp38m5.mjs +0 -1
- package/dist/chunks/log-1.1.27-trbh6pmv.mjs +0 -1
- package/dist/chunks/main-1.1.27-y8ep0qqz.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.27-xf362k5y.mjs +0 -1
- package/dist/chunks/mcp-1.1.27-af12t0f2.mjs +0 -1
- package/dist/chunks/mcp-1.1.27-qzntdrh6.mjs +0 -17
- package/dist/chunks/mcp-1.1.27-vsgp33q0.mjs +0 -4
- package/dist/chunks/mcpb-1.1.27-m9bw286t.mjs +0 -1
- package/dist/chunks/memory-1.1.27-tzff1b9e.mjs +0 -72
- package/dist/chunks/model-1.1.27-968y8qcm.mjs +0 -2
- package/dist/chunks/model-1.1.27-p2b82a7t.mjs +0 -1
- package/dist/chunks/node-1.1.27-bghx5g4n.mjs +0 -1
- package/dist/chunks/node-1.1.27-rjfnqhpk.mjs +0 -15
- package/dist/chunks/oauth-1.1.27-19qatx62.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.27-p50pa80m.mjs +0 -14
- package/dist/chunks/output-style-1.1.27-6h4astb5.mjs +0 -1
- package/dist/chunks/package-OS7RONXY-1.1.27-nvbtkqpn.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.27-3gy61f1e.mjs +0 -1
- package/dist/chunks/parser-1.1.27-6m7zhkr7.mjs +0 -1
- package/dist/chunks/passes-1.1.27-2n9jw11x.mjs +0 -1
- package/dist/chunks/permissions-1.1.27-ah7j2bj9.mjs +0 -3
- package/dist/chunks/permissions-1.1.27-qnhk36mh.mjs +0 -1
- package/dist/chunks/plan-1.1.27-vkhc8mq9.mjs +0 -1
- package/dist/chunks/plist-1.1.27-vg4h3pf9.mjs +0 -1
- package/dist/chunks/plugin-1.1.27-benemmgh.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.27-tyd8w4ay.mjs +0 -1
- package/dist/chunks/plugins-1.1.27-er0je2r7.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.27-8w2hxz61.mjs +0 -2
- package/dist/chunks/print-1.1.27-nf4vjdv0.mjs +0 -57
- package/dist/chunks/process-1.1.27-1en4vj8c.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.27-y2nx754j.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.27-mert7w0e.mjs +0 -9
- package/dist/chunks/prompt-1.1.27-0qqepg5j.mjs +0 -1
- package/dist/chunks/prompt-1.1.27-40pnv6x7.mjs +0 -1
- package/dist/chunks/prompts-1.1.27-kvtvsbhd.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.27-27de09ht.mjs +0 -13
- package/dist/chunks/provider-1.1.27-g4r1c84c.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.27-tp6zknw0.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.27-ntakvdzk.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.27-fvdwd7xd.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.27-5pprq81w.mjs +0 -26
- package/dist/chunks/registry-1.1.27-vccj3rtk.mjs +0 -1
- package/dist/chunks/release-notes-1.1.27-a7x9237x.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.27-7yf3667k.mjs +0 -2
- package/dist/chunks/remote-env-1.1.27-2vdhr1s9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.27-0qn70btv.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.27-21n6mx7d.mjs +0 -1
- package/dist/chunks/rename-1.1.27-x0qfjvj2.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.27-661m032k.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.27-48an8y55.mjs +0 -1
- package/dist/chunks/resume-1.1.27-0n7jaz71.mjs +0 -2
- package/dist/chunks/rewind-1.1.27-0dhz50d0.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.27-8k0jbnfk.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.27-3a15vms4.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.27-j8pr6jz7.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.27-r1nrcxaz.mjs +0 -1
- package/dist/chunks/session-1.1.27-bv5zha49.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.27-z50hzta3.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.27-vc8ajjh0.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.27-0vfss5b6.mjs +0 -1
- package/dist/chunks/settings-1.1.27-jar0d6ey.mjs +0 -1
- package/dist/chunks/setup-1.1.27-ggnhb2c8.mjs +0 -12
- package/dist/chunks/sinks-1.1.27-qevt5nft.mjs +0 -1
- package/dist/chunks/skills-1.1.27-wjq94pk8.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.27-q5yb3a35.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.27-k3spb2gh.mjs +0 -1
- package/dist/chunks/state-1.1.27-fpyqkxby.mjs +0 -1
- package/dist/chunks/stats-1.1.27-xb10zj7e.mjs +0 -1
- package/dist/chunks/status-1.1.27-7vscpczw.mjs +0 -1
- package/dist/chunks/stickers-1.1.27-j4em7gfg.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.27-0dm2v5n5.mjs +0 -1
- package/dist/chunks/tasks-1.1.27-a7d9cx1a.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.27-2jkv3830.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.27-8vmyznjc.mjs +0 -1
- package/dist/chunks/teleport-1.1.27-d6bgvctx.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.27-8k6bdqzf.mjs +0 -1
- package/dist/chunks/theme-1.1.27-dzme81zx.mjs +0 -1
- package/dist/chunks/thinkback-1.1.27-8hrqe8zc.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.27-7pf0t9jk.mjs +0 -1
- package/dist/chunks/toolPool-1.1.27-yndm4vnc.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.27-m1tpg8zj.mjs +0 -1
- package/dist/chunks/tools-1.1.27-f6v2cxn6.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.27-bkp7wbqw.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.27-ev0anxmd.mjs +0 -69
- package/dist/chunks/types-1.1.27-pgjcgwmr.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.27-fzpef911.mjs +0 -4
- package/dist/chunks/update-1.1.27-0rwrmj8m.mjs +0 -72
- package/dist/chunks/upgrade-1.1.27-zacn9g92.mjs +0 -1
- package/dist/chunks/upload-1.1.27-9natjvcx.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.27-484n2sck.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.27-e0vf9zwd.mjs +0 -1
- package/dist/chunks/usage-1.1.27-qdx2zhbe.mjs +0 -1
- package/dist/chunks/util-1.1.27-m60qqy4m.mjs +0 -1
- package/dist/chunks/utils-1.1.27-bpj1f9q9.mjs +0 -1
- package/dist/chunks/vim-1.1.27-dvj5bk5p.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.27-1vydfkzw.mjs +0 -13
- package/dist/chunks/watcher-1.1.27-jxayr96k.mjs +0 -1
- package/dist/chunks/wiki-1.1.27-t7nxcbah.mjs +0 -132
- package/dist/chunks/workflows-1.1.27-7bdgxjth.mjs +0 -1
- package/dist/chunks/worktree-1.1.27-6kkgvwks.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.27-ax7kv7qq.mjs +0 -1
- package/dist/chunks/wrapper-1.1.27-q9kmdf61.mjs +0 -7
- /package/dist/chunks/{cli-1.1.27-f8njyndt.mjs → cli-1.1.28-43p679k7.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-4an77vdm.mjs → cli-1.1.28-7d7hz6b4.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-5mn2zxpk.mjs → cli-1.1.28-f658tc1w.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-097en7tp.mjs → cli-1.1.28-m37hk495.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-sgvc7y72.mjs → cli-1.1.28-m7x3ax7z.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-r2qyxh4t.mjs → cli-1.1.28-qzdtd4w8.mjs} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Eg as IJ,Fg as bQ}from"./cli-1.1.28-4sx3zr2c.mjs";import{Pg as eq,Qg as sq,Rg as aJ}from"./cli-1.1.28-vje1ac31.mjs";import{Sg as AJ,Tg as OQ}from"./cli-1.1.28-fnd6z5bq.mjs";import{Ug as vJ,Vg as AQ}from"./cli-1.1.28-kaddwxsy.mjs";import{Wg as nq,Xg as rJ}from"./cli-1.1.28-qj312jgw.mjs";import{Yg as wq,Zg as tq,_g as oJ}from"./cli-1.1.28-qvr8rkg2.mjs";import{$g as bJ,ah as hQ}from"./cli-1.1.28-ek683x01.mjs";import{Ay as jq,CU as ZJ,Cy as _q,DH as kq,Dy as jJ,EH as RQ,FH as LJ,FU as zJ,GH as PJ,Gp as h,HH as WJ,Hp as lq,IH as PQ,JR as QJ,LR as qQ,QU as QQ,_R as Iq,bS as JQ,hK as hJ,iK as OJ,jK as WQ,jp as NJ,kp as BQ,ku as BJ,lu as UQ,mu as UJ,nu as wJ,ou as wQ,oy as g,ry as FQ,zU as Fq,zy as pq}from"./cli-1.1.28-zhftjycn.mjs";import{sV as FJ,uV as HJ,xV as HQ}from"./cli-1.1.28-avxe0zxq.mjs";import{KX as RJ,OX as LQ}from"./cli-1.1.28-mvkxhjmj.mjs";import{lZ as XJ,mZ as XQ,pZ as yJ,qZ as yQ,yZ as Cq,zZ as NQ}from"./cli-1.1.28-n2jx5w3n.mjs";import{L1 as N,N1 as Q,m0 as Oq,q2 as bq}from"./cli-1.1.28-0njtm2nf.mjs";import{a5 as R,b5 as K,c5 as Z,d5 as c}from"./cli-1.1.28-v5ypq0r2.mjs";import{e5 as VQ}from"./cli-1.1.28-yv5gzenz.mjs";import{F7 as oq,M7 as KJ,d8 as iq,t8 as VJ,u8 as KQ}from"./cli-1.1.28-ak2bzv1v.mjs";import{A$ as $,B$ as zQ,Cea as xJ,Wba as YQ,cfa as GJ,pfa as GQ,qea as aq,rea as gJ,uea as Aq,zba as Mq}from"./cli-1.1.28-5y1xeh89.mjs";import{oma as YJ,zma as ZQ}from"./cli-1.1.28-khcgtk4a.mjs";import{csa as rq,joa as Hq}from"./cli-1.1.28-wvj52k91.mjs";import{Rta as Bq,Vta as Uq}from"./cli-1.1.28-3fssr567.mjs";function Tq(){let J=dq.c(2);if(!pq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=_q();if(G.length===0){V=null;break q}let Y=G.filter(cJ),X=G.filter(TJ);q=Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,color:Y.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(N,{children:[K(Q,{dimColor:!0,children:"Location: "}),K(Q,{dimColor:!0,children:jq()})]}),Z(N,{marginLeft:1,flexDirection:"column",marginTop:1,children:[Y.map(dJ),X.map(_J)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function _J(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function dJ(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function TJ(J){return J.severity==="warning"}function cJ(J){return J.severity==="error"}var dq;var cq=Uq(()=>{bq();jJ();c();dq=Bq(Oq(),1)});function gq(){let J=$q.c(2);if(!h.isSupportedPlatform())return null;if(!h.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=h.checkDependencies(),Y=G.errors.length>0,X=G.warnings.length>0;if(!Y&&!X){V=null;break q}q=Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",K(Q,{color:Y?"error":"warning",children:Y?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map($J),G.warnings.map(lJ),Y&&K(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function lJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function $J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var $q;var xq=Uq(()=>{bq();lq();c();$q=Bq(Oq(),1)});async function iJ(){let J=zJ(await ZJ());if(J.length===0)return null;let q=J.sort((G,Y)=>Y.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function nJ(J){if(!J)return null;let q=tq(J);if(q<=wq)return null;let V=J.activeAgents.filter((Y)=>Y.source!=="built-in").map((Y)=>{let X=`${Y.agentType}: ${Y.whenToUse}`;return{name:Y.agentType,tokens:Iq(X)}}).sort((Y,X)=>X.tokens-Y.tokens),G=V.slice(0,5).map((Y)=>`${Y.name}: ~${Y.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function eJ(J,q,V){let G=J.filter((Y)=>Y.isMcp);if(G.length===0)return null;try{let Y=oq(),{mcpToolTokens:X,mcpToolDetails:U}=await QJ(J,q,V,Y);if(X<=l)return null;let B=new Map;for(let L of U){let x=L.name.split("__")[1]||"unknown",y=B.get(x)||{count:0,tokens:0};B.set(x,{count:y.count+1,tokens:y.tokens+L.tokens})}let H=Array.from(B.entries()).sort((L,w)=>w[1].tokens-L[1].tokens),z=H.slice(0,5).map(([L,w])=>`${L}: ${w.count} tools (~${w.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(Y){let X=G.reduce((U,B)=>{let H=(B.name?.length||0)+B.description.length;return U+Iq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function sJ(J){let q=await J(),V=h.isSandboxingEnabled()&&h.isAutoAllowBashIfSandboxedEnabled(),G=nq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let Y=G.flatMap((X)=>[`${aq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${Aq(G.length,"unreachable permission rule")} detected`,details:Y,currentValue:G.length,threshold:0}}async function tJ(){let J=Hq(),{findings:q}=await eq({root:J});if(q.length===0)return null;let V=q.filter((Y)=>Y.severity==="error"),G=q.map((Y)=>`${sq(J,Y.file)}: ${Y.message}`);return{type:"rule_files",severity:V.length>0?"error":"warning",message:`${q.length} rule ${Aq(q.length,"file problem")} detected`,details:G,currentValue:q.length,threshold:0}}async function qJ(J,q,V){let[G,Y,X,U,B]=await Promise.all([iJ(),nJ(q),eJ(J,V,q),sJ(V),tJ()]);return{claudeMdWarning:G,agentWarning:Y,mcpWarning:X,unreachableRulesWarning:U,ruleFilesWarning:B}}var l=25000;var JJ=Uq(()=>{rq();JQ();qQ();QQ();iq();gJ();rJ();aJ();lq();oJ();xJ()});import{join as vq}from"path";function IQ(J){let q=Dq.c(8),{promise:V}=J,G=F.use(V);if(!G.latest){let B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=K(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=B;else B=q[0];return B}let Y;if(q[1]!==G.stable)Y=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=Y;else Y=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let U;if(q[5]!==Y||q[6]!==X)U=Z(R,{children:[Y,X]}),q[5]=Y,q[6]=X,q[7]=U;else U=q[7];return U}function xZ(J){let q=Dq.c(84),{onDone:V}=J,G=g(rQ),Y=g(xQ),X=g(gQ),U=g($Q);yJ();let B;if(q[0]!==Y)B=Y||[],q[0]=Y,q[1]=B;else B=q[1];let H=B,[z,L]=F.useState(null),[w,x]=F.useState(null),[y,MJ]=F.useState(null),[W,Sq]=F.useState(null),Rq=vJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=kq().then(cQ),q[2]=r;else r=q[2];let CJ=r,kJ=GJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Rq)a=Rq.filter(TQ),q[3]=Rq,q[4]=a;else a=q[4];let o=a,i;if(q[5]===Symbol.for("react.memo_cache_sentinel"))i=[{name:"BASH_MAX_OUTPUT_LENGTH",default:wJ,upperLimit:UJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:OJ,upperLimit:hJ},{name:"CLAUDIN_MAX_OUTPUT_TOKENS",...VJ(KJ())}].map(dQ).filter(_Q),q[5]=i;else i=q[5];let Eq=i,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{kq().then(L),(async()=>{let P=vq(YJ(),"agents"),fq=vq(Hq(),".claudin","agents"),{activeAgents:uq,allAgents:DJ,failedFiles:mq}=G,[SJ,EJ]=await Promise.all([Mq(P),Mq(fq)]),fJ={activeAgents:uq.map(jQ),userAgentsDir:P,projectAgentsDir:fq,userDirExists:SJ,projectDirExists:EJ,failedFiles:mq};x(fJ);let uJ=await qJ(H,{activeAgents:uq,allAgents:DJ,failedFiles:mq},async()=>X);if(MJ(uJ),LJ()){let hq=vq(RJ(),"claude","locks"),mJ=WJ(hq),pJ=PJ(hq);Sq({enabled:!0,locks:pJ,locksDir:hq,staleLocksCleaned:mJ})}else Sq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];F.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claudin diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(XJ(qq,Jq),!z){let P;if(q[16]===Symbol.for("react.memo_cache_sentinel"))P=K(Cq,{children:K(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=P;else P=q[16];return P}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=K(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let b;if(q[21]!==z.packageManager)b=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=b;else b=q[22];let A;if(q[23]!==z.installationPath)A=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=A;else A=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let v;if(q[27]!==z.configInstallMethod)v=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=v;else v=q[28];let Lq=z.ripgrepStatus.working?"OK":"Not working",Pq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",M;if(q[29]!==Lq||q[30]!==Pq)M=Z(Q,{children:["└ Search: ",Lq," (",Pq,")"]}),q[29]=Lq,q[30]=Pq,q[31]=M;else M=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(R,{children:[K(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
|
|
2
|
+
`)[0]]}),K(Q,{dimColor:!0,children:z.recommendation.split(`
|
|
3
|
+
`)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(R,{children:[K(Q,{}),K(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(pQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(R,{children:[K(Q,{}),z.warnings.map(mQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==o)S=o.length>0&&Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,children:"Invalid Settings"}),K(IJ,{errors:o})]}),q[38]=o,q[39]=S;else S=q[39];let E;if(q[40]!==O||q[41]!==b||q[42]!==A||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)E=Z(N,{flexDirection:"column",children:[Qq,O,b,A,I,v,M,C,k,D,S]}),q[40]=O,q[41]=b,q[42]=A,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=E;else E=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=K(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let Wq=z.packageManager?"Managed by package manager":z.autoUpdates,f;if(q[52]!==Wq)f=Z(Q,{children:["└ Auto-updates:"," ",Wq]}),q[52]=Wq,q[53]=f;else f=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",kJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=K(F.Suspense,{fallback:null,children:K(IQ,{promise:CJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==f||q[59]!==u)m=Z(N,{flexDirection:"column",children:[Zq,f,u,zq,Yq]}),q[58]=f,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=K(gq,{}),Kq=K(bJ,{}),Vq=K(Tq,{}),Xq=Eq.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Environment Variables"}),Eq.map(uQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==W)p=W?.enabled&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Version Locks"}),W.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",W.staleLocksCleaned," stale lock(s)"]}),W.locks.length===0?K(Q,{dimColor:!0,children:"└ No active version locks"}):W.locks.map(fQ)]}),q[65]=W,q[66]=p;else p=q[66];let j;if(q[67]!==w)j=w?.failedFiles&&w.failedFiles.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",w.failedFiles.length," agent file(s):"]}),w.failedFiles.map(EQ)]}),q[67]=w,q[68]=j;else j=q[68];let _;if(q[69]!==U)_=U.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",U.length," plugin error(s) detected:"]}),U.map(SQ)]}),q[69]=U,q[70]=_;else _=q[70];let d;if(q[71]!==y)d=y?.unreachableRulesWarning&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.unreachableRulesWarning.message]})]}),y.unreachableRulesWarning.details.map(DQ)]}),q[71]=y,q[72]=d;else d=q[72];let T;if(q[73]!==y)T=y&&(y.claudeMdWarning||y.agentWarning||y.mcpWarning||y.ruleFilesWarning)&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Context Usage Warnings"}),y.claudeMdWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),y.claudeMdWarning.details.map(kQ)]}),y.agentWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),y.agentWarning.details.map(CQ)]}),y.mcpWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),y.mcpWarning.details.map(MQ)]}),y.ruleFilesWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:y.ruleFilesWarning.severity==="error"?"error":"warning",children:[$.warning," ",y.ruleFilesWarning.message]})]}),Z(Q,{children:[" ","└ Rules:"]}),y.ruleFilesWarning.details.map(vQ)]})]}),q[73]=y,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=K(N,{children:K(AJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==E||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Cq,{children:[E,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=E,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function vQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function CQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function kQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function DQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function SQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",NJ(J)]},q)}function EQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function fQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?K(Q,{children:"(running)"}):K(Q,{color:"warning",children:"(stale)"})]},q)}function uQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",K(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function mQ(J,q){return Z(N,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function pQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function jQ(J){return{agentType:J.agentType,source:J.source}}function _Q(J){return J.status!=="valid"}function dQ(J){let q=process.env[J.name],V=BJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function TQ(J){return J.mcpErrorMetadata===void 0}function cQ(J){return(J.installationType==="native"?HJ:FJ)().catch(lQ)}function lQ(){return{latest:null,stable:null}}function $Q(J){return J.plugins.errors}function gQ(J){return J.toolPermissionContext}function xQ(J){return J.mcp.tools}function rQ(J){return J.agentDefinitions}var Dq,F;var aQ=Uq(()=>{zQ();cq();hQ();KQ();iq();ZQ();rq();NQ();OQ();xq();bQ();AQ();yQ();bq();XQ();FQ();BQ();HQ();JJ();RQ();UQ();YQ();PQ();GQ();wQ();WQ();LQ();c();Dq=Bq(Oq(),1),F=Bq(VQ(),1)});
|
|
4
|
+
export{xZ as Cg,aQ as Dg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Be as Tq,xe as Jq}from"./cli-1.1.28-14abe08r.mjs";import{Ge as zq,He as bq}from"./cli-1.1.28-wze93r29.mjs";import{AM as _q,EM as a,HM as l,LM as t,Mo as n,No as yq,OI as h,PI as fq,QM as e,SM as Rq,WG as r,XG as Gq,ZM as qq,bN as Fq,lM as S,oM as Nq,rN as D,uN as Cq,zM as s}from"./cli-1.1.28-zhftjycn.mjs";import{L1 as F,N1 as C,c0 as i,d0 as Kq,m0 as Bq,q2 as Oq}from"./cli-1.1.28-0njtm2nf.mjs";import{b5 as v,c5 as R,d5 as p}from"./cli-1.1.28-v5ypq0r2.mjs";import{e5 as Lq}from"./cli-1.1.28-yv5gzenz.mjs";import{$ha as m,E$ as g,F$ as Zq,R$ as $,Raa as o,Saa as Hq,T$ as Xq,Wba as vq,hia as wq,zba as x}from"./cli-1.1.28-5y1xeh89.mjs";import{Gla as B,Jla as Yq}from"./cli-1.1.28-2esp2ssp.mjs";import{dma as P,gma as u,lma as Wq}from"./cli-1.1.28-pykx8k1j.mjs";import{Rta as d,Vta as Vq}from"./cli-1.1.28-3fssr567.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(u(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(u(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(h,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function hq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:uq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(h,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(hq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',uq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
|
|
2
|
+
export{Iq as ne,Yz as oe,Dq as pe};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bga as R,dga as H,gga as J}from"./cli-1.1.28-5y1xeh89.mjs";import{Vta as Q}from"./cli-1.1.28-3fssr567.mjs";function M(q){return U(J(),q)}function S(q,z){let B=L[q],D=T(M(q),z);return H((P)=>({...P,[B]:D})),D.includes(z)}function X(q,z){return{list:()=>M(q),toggle:(B)=>{S(q,B)},keyOf:z}}function T(q,z){return q.includes(z)?q.filter((B)=>B!==z):[...q,z]}function U(q,z){let B=q[L[z]];return Array.isArray(B)?B.filter((D)=>typeof D==="string"):[]}var L;var V=Q(()=>{R();L={model:"favoriteModels",providerProfile:"favoriteProviderProfiles"}});
|
|
2
|
+
export{X as ci,V as di};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Wb as d}from"./cli-1.1.28-m37hk495.mjs";import{$m as t,$t as h,DU as F,Ev as zj,Fv as w,Gv as Bj,ID as I,JD as Hj,Jm as s,MT as m,NT as S,OT as A,PS as Qj,QU as Xj,Wm as y,Wz as C,Xz as D,ZT as c,Zk as $,_k as n,aA as Gj,bu as qj,eU as p,fL as f,fU as X,gl as v,hl as r,om as P,pm as R,qk as O,rn as E,sU as Vj,sk as o,sn as e,vv as k,xF as Jj,yv as V}from"./cli-1.1.28-zhftjycn.mjs";import{FW as jj,qW as W}from"./cli-1.1.28-cfq2wwx5.mjs";import{$X as Kj,YX as x}from"./cli-1.1.28-d5h3kve6.mjs";import{Y7 as T,d8 as u}from"./cli-1.1.28-ak2bzv1v.mjs";import{Pja as Z,Rja as i}from"./cli-1.1.28-4kda7s33.mjs";import{Gla as b,Jla as l}from"./cli-1.1.28-2esp2ssp.mjs";import{csa as g,doa as U,goa as _,loa as Y,qpa as M,spa as N,yra as K}from"./cli-1.1.28-wvj52k91.mjs";g();e();Gj();zj();r();o();import{dirname as Yj}from"path";Xj();Jj();Kj();i();l();qj();Qj();u();t();n();Hj();Vj();jj();Bj();s();function Zj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=w().safeParse(G.todos);return H.success?H.data:[]}return[]}function aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)h(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!W()&&j.messages&&j.messages.length>0){let B=Zj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function $j(j){return}function Pj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Rj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function yj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:k(H)}}function Ej(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function gj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function lj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(f(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Yj(q.transcriptPath):null),await d(),await S(),!C(Q))D(j.messages)}}else if(j.contentReplacements?.length)await m(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Ej(j.worktreeSession),A();let{agentDefinition:G,agentType:H}=Rj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?$j(j):void 0,L=Pj(j.agentName,j.agentColor);x(j.agentName);let a=await yj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
|
|
2
|
+
export{aj as lb,Pj as mb,Rj as nb,Ej as ob,gj as pb,lj as qb};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{$K as Vq,AK as R,BK as Xq,EK as p,Ev as Wq,FK as k,GK as zq,HK as Bq,IK as I,JK as b,QK as Gq,RK as Jq,VK as hq,YK as Qq,ZK as Oq,dS as Zq,dy as e,ey as Hq,jC as qq,jS as yq,kC as Nq,nL as Pq,sl as r,sv as s,uL as Yq,ul as vq,wL as Uq,xq as a,yv as t,zK as S,zq as Kq}from"./cli-1.1.28-zhftjycn.mjs";import{$ha as w,hia as Fq}from"./cli-1.1.28-5y1xeh89.mjs";import{Pja as o,Rja as Lq}from"./cli-1.1.28-4kda7s33.mjs";import{Zla as y,lma as jq}from"./cli-1.1.28-pykx8k1j.mjs";import{Vta as M}from"./cli-1.1.28-3fssr567.mjs";function x(B,z){let G=m[z]??1,Y=B!==void 0?m[B]:void 0;if(Y===void 0)return z;return Y<=G?B:z}var m;var g=M(()=>{m={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
|
|
2
|
+
…[truncated ${B.length-z} chars]`}function u(B,z,G,Y){let V=[];if(V.push(`You are a worker agent in the "${B.name}" workflow, phase "${Y.name}".`),B.instructions.trim())V.push(`Workflow instructions:
|
|
3
|
+
${B.instructions.trim()}`);if(V.push(`Task:
|
|
4
|
+
${z}`),G.trim())V.push(`Work so far (accumulated artifact from earlier phases):
|
|
5
|
+
${C(G.trim(),$q)}`);return V.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),V.join(`
|
|
6
|
+
|
|
7
|
+
`)}function c(B,z){let G=[];if(G.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())G.push(`Workflow instructions:
|
|
8
|
+
${z.instructions.trim()}`);G.push(`Task:
|
|
9
|
+
${B.task}`);let Y=z.steps.findIndex((Q)=>Q.name===B.currentStep),V=z.steps.map((Q,J)=>{let j=J<Y?"[done]":J===Y?"[current]":"[pending]",W=I(Q)?" (terminal)":"";return` ${J+1}. ${Q.name} ${j}${W}`}).join(`
|
|
10
|
+
`);if(G.push(`Phases:
|
|
11
|
+
${V}`),B.history.length>0){let Q=B.history.map((J)=>{let j=J.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
|
|
12
|
+
${C(q.output,f).split(`
|
|
13
|
+
`).map((H)=>` ${H}`).join(`
|
|
14
|
+
`)}`}).join(`
|
|
15
|
+
`),W=J.decision?` decision: ${J.decision.decision}${J.decision.target?` → ${J.decision.target}`:""} — ${J.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${J.step}":
|
|
16
|
+
${j}
|
|
17
|
+
${J.synthesis?` synthesis: ${C(J.synthesis,f)}
|
|
18
|
+
`:""}${W}`}).join(`
|
|
19
|
+
|
|
20
|
+
`);G.push(`History (all phases so far):
|
|
21
|
+
${Q}`)}let $=z.steps[Y]?.handbackTo??[];return G.push($.length>0?`From the current phase you may hand back to: ${$.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),G.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),G.join(`
|
|
22
|
+
|
|
23
|
+
`)}var f=4000,$q=6000;var l=M(()=>{b()});function d(B,z,G){let Y=G.steps,V=Y.findIndex((j)=>j.name===B.currentStep),Z={...B.refineCounts},$=B.transitions+1,Q=B.currentStep,J="running";if(z.decision==="advance"){let j=Y[V+1];if(I(j)){if(J="done",j)Q=j.name}else Q=j.name}else if(z.decision==="refine"){if(Z[Q]=(Z[Q]??0)+1,Z[Q]>k)J="stalled"}else{let j=Y[V]?.handbackTo??[];if(!z.target||!j.includes(z.target))J="stalled";else if(Z[z.target]=(Z[z.target]??0)+1,Z[z.target]>k)J="stalled";else Q=z.target}if(J==="running"&&$>=p)J="stalled";return{...B,currentStep:Q,status:J,refineCounts:Z,transitions:$,updatedAt:Date.now()}}var i=M(()=>{b()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function wq(B){let z="",G=0;for(let V=B.length-1;V>=0;V--){let Z=B[V];if(Z.type!=="assistant"||!Z.message)continue;if(!z){let $=(Z.message.content??[]).filter((Q)=>Q.type==="text"&&Q.text);if($.length>0)z=$.map((Q)=>Q.text??"").join(`
|
|
24
|
+
`)}if(G===0&&Z.message.usage)G=Zq(Z.message.usage);if(z&&G)break}let Y=e(B);return{text:z,tokens:G,tools:Y}}async function n(B){let{label:z,agentDef:G,promptText:Y,toolUseContext:V,canUseTool:Z,extraTools:$,runId:Q}=B,J=Date.now(),j=V.getAppState(),W=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(G.permissionMode,W)},L=Yq(q,j.mcp.tools);if($&&$.length>0)L=[...L,...$];let H=G.model??String(V.options.mainLoopModel??""),F=[],N,P=!1;try{let K=qq({agentDefinition:G,promptMessages:[Vq({content:Y})],toolUseContext:V,canUseTool:Z,isAsync:!1,querySource:a(G.agentType,s(G)),availableTools:L,transcriptSubdir:`workflows/${Q}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let h of K)if(F.push(h),h.type==="attachment"&&h.attachment?.type==="structured_output")N=h.attachment.data}catch(K){if(y(K))throw K;w(K),P=!0}let{text:E,tokens:_,tools:X}=wq(F);return{run:{label:z,model:H,tokens:_,tools:X,ms:Date.now()-J,output:P?"":E,failed:P},structuredOutput:N}}async function tq(B){let{def:z,task:G,toolUseContext:Y,canUseTool:V,onProgress:Z,signal:$}=B,{allAgents:Q}=await t(o()),J=new Map(Q.map((H)=>[H.agentType,H]));J.set(S,R);let j=J.get(z.main??S)??R,W=new AbortController;if($)if($.aborted)W.abort();else $.addEventListener("abort",()=>W.abort(),{once:!0});let q=await Gq({workflow:z.name,description:z.description,task:G,firstStep:z.steps[0].name});Z?.(q);let L=async()=>{await Jq(q),Z?.(q)};while(q.status==="running"){if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let H=z.steps.findIndex((v)=>v.name===q.currentStep),F=z.steps[H];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let N;try{N=(await Qq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=J.get(O);A=D?await n({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,G,q.artifact,F),toolUseContext:Y,canUseTool:V,runId:q.runId,abortController:W}):T}catch(D){if(y(D))throw D;w(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let P={step:F.name,stepIndex:H,agents:N,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+N.reduce((v,O)=>v+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&N.every((v)=>v.failed)){w(Error(`workflow phase "${F.name}": all ${N.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){w(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],X;try{X=await n({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Y,canUseTool:V,extraTools:_,runId:q.runId,abortController:W})}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let K=zq.safeParse(X.structuredOutput),h=[...q.history];if(h[h.length-1]={...P,synthesis:X.run.output,decision:K.success?K.data:null,agents:[...N,X.run]},q={...q,history:h,artifact:X.run.output.trim()?X.run.output:q.artifact,totalTokens:q.totalTokens+X.run.tokens,updatedAt:Date.now()},!K.success){w(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Wq();Hq();Nq();vq();Lq();jq();Fq();Pq();Kq();yq();Xq();g();l();hq();i();b()});
|
|
25
|
+
export{tq as Ri,Eq as Si};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{rma as z,zma as J}from"./cli-1.1.28-khcgtk4a.mjs";import{Vta as F}from"./cli-1.1.28-3fssr567.mjs";function V(b){D=b}function W(){let b=D?.()??{};if(!z(process.env.CLAUDIN_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let q={...process.env,...b};for(let w of L)delete q[w],delete q[`INPUT_${w}`];return q}var L,D;var M=F(()=>{J();L=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
+
export{V as jW,W as kW,M as lW};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{Mta as V_,Nta as su,Pta as K_,Qta as f_}from"./cli-1.1.28-6y7vtevf.mjs";import{Tta as H,Wta as $_}from"./cli-1.1.28-3fssr567.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
+
versions published after the first week of January 2027
|
|
3
|
+
will require node >=${E}. You are running node ${_}.
|
|
4
|
+
|
|
5
|
+
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
+
and security updates please upgrade to node >=${E}.
|
|
7
|
+
|
|
8
|
+
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
+
export{W_ as $_,D_ as a$,yu as b$,ou as c$};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Hsa as Q,Isa as V,Jsa as W,Ksa as X,Lsa as Y,Msa as Z,eta as w}from"./cli-1.1.28-638dshxx.mjs";import{Vta as v}from"./cli-1.1.28-3fssr567.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
+
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
+
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
+
export{B as Qla,L as Rla,_ as Sla,S as Tla,k as Ula,F as Vla,D as Wla,P as Xla,x as Yla,y as Zla,T as _la,O as $la,R as ama,U as bma,f as cma,N as dma,I as ema,$ as fma,A as gma,p as hma,C as ima,h as jma,E as kma,b as lma};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{vb as c}from"./cli-1.1.28-1q409efb.mjs";import{Fc as v,Jc as Wq}from"./cli-1.1.28-t5yawarz.mjs";import{Mc as I,Nc as S,Oc as $,Pc as Xq}from"./cli-1.1.28-v6ewa1y0.mjs";import{$L as f,Kz as A,Lz as Bq,Pz as _,Rz as Gq,Tp as C,Vp as r,aM as Tq,bv as N,cv as e,jG as E,kG as Qq,mE as M,oy as L,py as h,rN as P,ry as qq,sE as Jq,uN as Vq}from"./cli-1.1.28-zhftjycn.mjs";import{e5 as s}from"./cli-1.1.28-yv5gzenz.mjs";import{$ha as F,M$ as D,O$ as n,hia as a,uba as w,wba as t}from"./cli-1.1.28-5y1xeh89.mjs";import{Dka as x,Gka as d}from"./cli-1.1.28-knfg26kb.mjs";import{Gla as j,Jla as o}from"./cli-1.1.28-2esp2ssp.mjs";import{dma as y,lma as l}from"./cli-1.1.28-pykx8k1j.mjs";import{Rta as p}from"./cli-1.1.28-3fssr567.mjs";Qq();d();Gq();qq();Xq();t();o();n();l();a();e();Tq();Jq();Bq();r();var V=p(s(),1);Wq();Vq();function hq({enabled:W=!0}={}){let b=V.useSyncExternalStore(S,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=E(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await P();await c();let X=v();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await f(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await M()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDIN_PLUGIN_CACHE_DIR};x("",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
+
export{hq as ub};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Vta as M}from"./cli-1.1.28-3fssr567.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
|
|
2
|
+
export{W as tka,Q as uka,K as vka,X as wka,Y as xka,Z as yka,y as zka,G as Aka,h as Bka,w as Cka};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a1 as O,b1 as V,c1 as I,e1 as W,f1 as p,t1 as v,u1 as X,v1 as D}from"./cli-1.1.28-0njtm2nf.mjs";import{b5 as N,d5 as T}from"./cli-1.1.28-v5ypq0r2.mjs";import{e5 as H}from"./cli-1.1.28-yv5gzenz.mjs";import{csa as F,lpa as U}from"./cli-1.1.28-wvj52k91.mjs";import{Rta as A,Vta as C}from"./cli-1.1.28-3fssr567.mjs";function h({children:Y,ref:Z,stickyScroll:_,...G}){let w=E.useRef(null),[,$]=E.useState(0),J=E.useRef(new Set),K=E.useRef(!1),P=()=>{for(let g of J.current)g()};function L(g){if(U(),O(g),W(),P(),K.current)return;K.current=!0,queueMicrotask(()=>{K.current=!1,V(g)})}return E.useImperativeHandle(Z,()=>({scrollTo(g){let q=w.current;if(!q)return;q.stickyScroll=!1,q.pendingScrollDelta=void 0,q.scrollAnchor=void 0,q.scrollTop=Math.max(0,Math.floor(g)),L(q)},scrollToElement(g,q=0){let z=w.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor={el:g,offset:q},L(z)},scrollBy(g){let q=w.current;if(!q)return;q.stickyScroll=!1,q.scrollAnchor=void 0,q.pendingScrollDelta=(q.pendingScrollDelta??0)+Math.floor(g),L(q)},scrollToBottom(){let g=w.current;if(!g)return;g.pendingScrollDelta=void 0,g.stickyScroll=!0,O(g),P(),$((q)=>q+1)},getScrollTop(){return w.current?.scrollTop??0},getPendingDelta(){return w.current?.pendingScrollDelta??0},getScrollHeight(){return w.current?.scrollHeight??0},getFreshScrollHeight(){return w.current?.childNodes[0]?.yogaNode?.getComputedHeight()??w.current?.scrollHeight??0},getViewportHeight(){return w.current?.scrollViewportHeight??0},getViewportTop(){return w.current?.scrollViewportTop??0},isSticky(){let g=w.current;if(!g)return!1;return g.stickyScroll??Boolean(g.attributes.stickyScroll)},subscribe(g){return J.current.add(g),()=>J.current.delete(g)},setClampBounds(g,q){let z=w.current;if(!z)return;z.scrollClampMin=g,z.scrollClampMax=q}}),[]),N("ink-box",{ref:(g)=>{if(w.current=g,g)g.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:G.flexDirection??"row",flexGrow:G.flexGrow??0,flexShrink:G.flexShrink??1,...G,overflowX:"scroll",overflowY:"scroll"},..._?{stickyScroll:!0}:{},children:N(X,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:Y})})}var E,a;var B=C(()=>{F();I();p();v();D();T();E=A(H(),1);a=h});
|
|
2
|
+
export{a as Ii,B as Ji};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Vta as z}from"./cli-1.1.28-3fssr567.mjs";import{execFile as B}from"child_process";import{promisify as E}from"util";async function N(v){try{let{stdout:q}=await G("git",["worktree","list","--porcelain"],{cwd:v,timeout:5000});if(!q)return[];return q.split(`
|
|
2
|
+
`).filter((j)=>j.startsWith("worktree ")).map((j)=>j.slice(9).normalize("NFC"))}catch{return[]}}var G;var H=z(()=>{G=E(B)});
|
|
3
|
+
export{N as cX,H as dX};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{J3 as k,L3 as w}from"./cli-1.1.28-zarbrcn7.mjs";import{O9 as v,u9 as j}from"./cli-1.1.28-ak2bzv1v.mjs";import{fja as d,qja as h,rja as s}from"./cli-1.1.28-es8var4t.mjs";import{zma as q}from"./cli-1.1.28-khcgtk4a.mjs";import{Vta as p}from"./cli-1.1.28-3fssr567.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
+
Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
|
|
3
|
+
export{x as wX,O as xX,P as yX,Q as zX,R as AX,U as BX,W as CX,X as DX,z as EX};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import{of as BY,pf as Bz}from"./cli-1.1.28-f1n8p9v2.mjs";import{Ah as qY,Bh as qz}from"./cli-1.1.28-7pmtq82j.mjs";import{$G as yz,Eo as UJ,Fo as UY,Go as jJ,Ho as XY,Io as NJ,JQ as rY,Jo as VY,KQ as Lz,Ks as Zz,Ls as KK,MG as uY,NG as wz,OI as cY,PI as mz,RT as nY,Vu as eY,WG as B0,Wu as JK,XG as MY,YG as hY,ZG as Tz,_G as $Y,_P as gY,rL as GY,rQ as iY,sU as V0,uQ as XJ,vQ as GZ,wL as Gz,wQ as X0}from"./cli-1.1.28-zhftjycn.mjs";import{YY as _Y,ZY as jz,kZ as $J,mZ as KY,pZ as SY,qZ as Az,wZ as pY,xZ as Fz}from"./cli-1.1.28-n2jx5w3n.mjs";import{C0 as IY,D0 as Rz,G1 as fY,I1 as Ez,L1 as b,N1 as N,f2 as xY,m0 as f0,p1 as bY,q2 as U0,v0 as LY}from"./cli-1.1.28-0njtm2nf.mjs";import{b5 as U,c5 as m,d5 as bJ}from"./cli-1.1.28-v5ypq0r2.mjs";import{e5 as b0}from"./cli-1.1.28-yv5gzenz.mjs";import{B7 as tY,d8 as ez}from"./cli-1.1.28-ak2bzv1v.mjs";import{i_ as $0,j_ as Cz}from"./cli-1.1.28-erqn7gwg.mjs";import{$ha as l0,Paa as Mz,Yha as fJ,hia as mY,uba as r0,wba as tz,xaa as yY}from"./cli-1.1.28-5y1xeh89.mjs";import{Aia as zY,Bia as c0,Eia as I0,mia as S0,nia as Hz,pia as G0}from"./cli-1.1.28-8avwqt1z.mjs";import{Dka as $,Gka as Nz}from"./cli-1.1.28-knfg26kb.mjs";import{Gla as CJ,Jla as oz,kla as oY,ola as sz}from"./cli-1.1.28-2esp2ssp.mjs";import{csa as TY,doa as wY,joa as H0}from"./cli-1.1.28-wvj52k91.mjs";import{Rta as UZ,Vta as XZ}from"./cli-1.1.28-3fssr567.mjs";function QY(Z){let J=HY.c(33),{log:K,onExit:B,onSelect:G}=Z,[Q,v]=L0.default.useState(null),F,T;if(J[0]!==K)F=()=>{if(v(null),GZ(K))X0(K).then(v)},T=[K],J[0]=K,J[1]=F,J[2]=T;else F=J[1],T=J[2];L0.default.useEffect(F,T);let i=GZ(K)&&Q===null,X=Q??K,W;if(J[3]!==X)W=XJ(X)||"",J[3]=X,J[4]=W;else W=J[4];let O=W,S;if(J[5]===Symbol.for("react.memo_cache_sentinel"))S=GY(),J[5]=S;else S=J[5];let C=S,JJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))JJ={context:"Confirmation"},J[6]=JJ;else JJ=J[6];$J("confirm:no",B,JJ);let L;if(J[7]!==Q||J[8]!==K||J[9]!==G)L=()=>{G(Q??K)},J[7]=Q,J[8]=K,J[9]=G,J[10]=L;else L=J[10];let f=L,E;if(J[11]===Symbol.for("react.memo_cache_sentinel"))E={context:"Confirmation"},J[11]=E;else E=J[11];if($J("confirm:yes",f,E),i){let c;if(J[12]===Symbol.for("react.memo_cache_sentinel"))c=U(qY,{message:"Loading session…"}),J[12]=c;else c=J[12];let BJ;if(J[13]===Symbol.for("react.memo_cache_sentinel"))BJ=m(b,{flexDirection:"column",padding:1,children:[c,U(N,{dimColor:!0,children:U(NJ,{children:U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})})})]}),J[13]=BJ;else BJ=J[13];return BJ}let y;if(J[14]===Symbol.for("react.memo_cache_sentinel"))y=[],J[14]=y;else y=J[14];let w,r;if(J[15]===Symbol.for("react.memo_cache_sentinel"))r=[],w=new Set,J[15]=w,J[16]=r;else w=J[15],r=J[16];let p;if(J[17]===Symbol.for("react.memo_cache_sentinel"))p=[],J[17]=p;else p=J[17];let l;if(J[18]!==O||J[19]!==X.messages)l=U(BY,{messages:X.messages,tools:C,commands:y,verbose:!0,toolJSX:null,toolUseConfirmQueue:r,inProgressToolUseIDs:w,isMessageSelectorVisible:!1,conversationId:O,screen:"transcript",streamingToolUses:p,showAllInTranscript:!0,isLoading:!1}),J[18]=O,J[19]=X.messages,J[20]=l;else l=J[20];let s;if(J[21]!==X.modified)s=zY(X.modified),J[21]=X.modified,J[22]=s;else s=J[22];let o=X.gitBranch?` · ${X.gitBranch}`:"",_;if(J[23]!==X.messageCount||J[24]!==s||J[25]!==o)_=m(N,{children:[s," ·"," ",X.messageCount," messages",o]}),J[23]=X.messageCount,J[24]=s,J[25]=o,J[26]=_;else _=J[26];let VJ;if(J[27]===Symbol.for("react.memo_cache_sentinel"))VJ=U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"resume"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}),J[27]=VJ;else VJ=J[27];let M;if(J[28]!==_)M=m(b,{flexShrink:0,flexDirection:"column",borderTopDimColor:!0,borderBottom:!1,borderLeft:!1,borderRight:!1,borderStyle:"single",paddingLeft:2,children:[_,VJ]}),J[28]=_,J[29]=M;else M=J[29];let AJ;if(J[30]!==l||J[31]!==M)AJ=m(b,{flexDirection:"column",children:[l,M]}),J[30]=l,J[31]=M,J[32]=AJ;else AJ=J[32];return AJ}var HY,L0;var OY=XZ(()=>{U0();KY();Gz();I0();V0();XY();VY();UY();qz();Bz();bJ();HY=UZ(f0(),1),L0=UZ(b0(),1)});function Dz(Z,J){if(Z===x0)return x0.length+qZ;let K=S0(Z),B=J?Math.min(K,J-qZ-_0):K;return Math.max(0,B)+qZ+_0}function kz(Z,J){let K=J-qZ-_0;if(S0(Z)<=K)return Z;if(K<=1)return Z.charAt(0);return G0(Z,K)}function NY({tabs:Z,selectedIndex:J,availableWidth:K,showAllProjects:B=!1}){let G=B?"Resume (All Projects)":"Resume",Q=G.length+1,v=Math.max(Oz,Pz),F=K-Q-v-2,T=Math.max(0,Math.min(J,Z.length-1)),i=Math.max(20,Math.floor(F/2)),X=Z.map((E)=>Dz(E,i)),W=0,O=Z.length;if(X.reduce((E,y,w)=>E+y+(w<X.length-1?1:0),0)>F){let E=F-Qz,y=X[T]??0;W=T,O=T+1;while(W>0||O<Z.length){let w=W>0,r=O<Z.length;if(w){let p=(X[W-1]??0)+1;if(y+p<=E){W--,y+=p;continue}}if(r){let p=(X[O]??0)+1;if(y+p<=E){O++,y+=p;continue}}break}}let C=W,JJ=Z.length-O,L=Z.slice(W,O),f=L.map((E,y)=>W+y);return m(b,{flexDirection:"row",gap:1,children:[U(N,{color:"suggestion",children:G}),C>0&&m(N,{dimColor:!0,children:[PY,C]}),L.map((E,y)=>{let r=f[y]===T,p=E===x0?E:`#${kz(E,i-qZ)}`;return m(N,{backgroundColor:r?"suggestion":void 0,color:r?"inverseText":void 0,bold:r,children:[" ",p," "]},E)}),JJ>0?m(N,{dimColor:!0,children:[DY,JJ,kY]}):U(N,{dimColor:!0,children:WY})]})}var x0="All",qZ=2,_0=1,PY="← ",DY="→",kY=" (tab to cycle)",WY="(tab to cycle)",vY=2,Qz,Oz,Pz;var CY=XZ(()=>{Hz();U0();I0();bJ();Qz=PY.length+vY+1,Oz=DY.length+vY+kY.length,Pz=WY.length});function EY(Z){let J=RY.c(48),{nodes:K,onSelect:B,onCancel:G,onFocus:Q,focusNodeId:v,visibleOptionCount:F,layout:T,isDisabled:i,hideIndexes:X,isNodeExpanded:W,onExpand:O,onCollapse:S,getParentPrefix:C,getChildPrefix:JJ,onUpFromFirstItem:L}=Z,f=T===void 0?"expanded":T,E=i===void 0?!1:i,y=X===void 0?!1:X,w;if(J[0]===Symbol.for("react.memo_cache_sentinel"))w=new Set,J[0]=w;else w=J[0];let[r,p]=q0.default.useState(w),l=q0.default.useRef(!1),s=q0.default.useRef(null),o;if(J[1]!==r||J[2]!==W)o=(H)=>{if(W)return W(H);return r.has(H)},J[1]=r,J[2]=W,J[3]=o;else o=J[3];let _=o,VJ;if(J[4]!==_||J[5]!==K){let H=function(k,qJ,TJ){let xJ=!!k.children&&k.children.length>0,_J=_(k.id);if(VJ.push({node:k,depth:qJ,isExpanded:_J,hasChildren:xJ,parentId:TJ}),xJ&&_J&&k.children)for(let V of k.children)H(V,qJ+1,k.id)};VJ=[];for(let k of K)H(k,0);J[4]=_,J[5]=K,J[6]=VJ}else VJ=J[6];let M=VJ,AJ=vz,c=Wz,BJ=C??AJ,d=JJ??c,cJ;if(J[7]!==d||J[8]!==BJ)cJ=(H)=>{let k="";if(H.hasChildren)k=BJ(H.isExpanded);else if(H.depth>0)k=d(H.depth);return k+H.node.label},J[7]=d,J[8]=BJ,J[9]=cJ;else cJ=J[9];let n=cJ,gJ;if(J[10]!==n||J[11]!==M)gJ=M.map((H)=>({label:n(H),description:H.node.description,dimDescription:H.node.dimDescription??!0,value:H.node.id})),J[10]=n,J[11]=M,J[12]=gJ;else gJ=J[12];let FJ=gJ,MJ;if(J[13]!==M)MJ=new Map,M.forEach((H)=>MJ.set(H.node.id,H.node)),J[13]=M,J[14]=MJ;else MJ=J[14];let g=MJ,HJ;if(J[15]!==M)HJ=(H)=>M.find((k)=>k.node.id===H),J[15]=M,J[16]=HJ;else HJ=J[16];let QJ=HJ,iJ;if(J[17]!==QJ||J[18]!==S||J[19]!==O)iJ=(H,k)=>{let qJ=QJ(H);if(!qJ||!qJ.hasChildren)return;if(k)if(O)O(H);else p((TJ)=>new Set(TJ).add(H));else if(S)S(H);else p((TJ)=>{let xJ=new Set(TJ);return xJ.delete(H),xJ})},J[17]=QJ,J[18]=S,J[19]=O,J[20]=iJ;else iJ=J[20];let OJ=iJ,GJ;if(J[21]!==QJ||J[22]!==v||J[23]!==E||J[24]!==g||J[25]!==Q||J[26]!==OJ)GJ=(H)=>{if(!v||E)return;let k=QJ(v);if(!k)return;if(H.key==="right"&&k.hasChildren)H.preventDefault(),OJ(v,!0);else if(H.key==="left"){if(k.hasChildren&&k.isExpanded)H.preventDefault(),OJ(v,!1);else if(k.parentId!==void 0){if(H.preventDefault(),l.current=!0,OJ(k.parentId,!1),Q){let qJ=g.get(k.parentId);if(qJ)Q(qJ)}}}},J[21]=QJ,J[22]=v,J[23]=E,J[24]=g,J[25]=Q,J[26]=OJ,J[27]=GJ;else GJ=J[27];let rJ=GJ,PJ;if(J[28]!==g||J[29]!==B)PJ=(H)=>{let k=g.get(H);if(!k)return;B(k)},J[28]=g,J[29]=B,J[30]=PJ;else PJ=J[30];let wJ=PJ,ZJ;if(J[31]!==g||J[32]!==Q)ZJ=(H)=>{if(l.current){l.current=!1;return}if(s.current===H)return;if(s.current=H,Q){let k=g.get(H);if(k)Q(k)}},J[31]=g,J[32]=Q,J[33]=ZJ;else ZJ=J[33];let lJ=ZJ,P;if(J[34]!==v||J[35]!==wJ||J[36]!==lJ||J[37]!==y||J[38]!==E||J[39]!==f||J[40]!==G||J[41]!==L||J[42]!==FJ||J[43]!==F)P=U(B0,{options:FJ,onChange:wJ,onFocus:lJ,onCancel:G,defaultFocusValue:v,visibleOptionCount:F,layout:f,isDisabled:E,hideIndexes:y,onUpFromFirstItem:L}),J[34]=v,J[35]=wJ,J[36]=lJ,J[37]=y,J[38]=E,J[39]=f,J[40]=G,J[41]=L,J[42]=FJ,J[43]=F,J[44]=P;else P=J[44];let h;if(J[45]!==rJ||J[46]!==P)h=U(b,{tabIndex:0,autoFocus:!0,onKeyDown:rJ,children:P}),J[45]=rJ,J[46]=P,J[47]=h;else h=J[47];return h}function Wz(Z){return" ▸ "}function vz(Z){return Z?"▼ ":"▶ "}var RY,q0;var jY=XZ(()=>{U0();MY();bJ();RY=UZ(f0(),1),q0=UZ(b0(),1)});function dY(Z,J){let K=Z.replace(/\s+/g," ").trim();return G0(K,J)}function p0({before:Z,match:J,after:K},B){return $0.dim(Z)+B(J)+$0.dim(K)}function Sz(Z,J,K){let B=Z.toLowerCase().indexOf(J.toLowerCase());if(B===-1)return null;let G=B+J.length,Q=Math.max(0,B-K),v=Math.min(Z.length,G+K),F=Z.slice(Q,B),T=Z.slice(B,G),i=Z.slice(G,v);return{before:(Q>0?"…":"")+F.replace(/\s+/g," ").trimStart(),match:T.trim(),after:i.replace(/\s+/g," ").trimEnd()+(v<Z.length?"…":"")}}function u0(Z,J,K){let{isGroupHeader:B=!1,isChild:G=!1,forkCount:Q=0}=K||{},v=B&&Q>0?Iz:G?bz:0,F=B&&Q>0?` (+${Q} other ${Q===1?"session":"sessions"})`:"",T=Z.isSidechain?" (sidechain)":"",i=J-v-T.length-F.length;return`${dY(fJ(Z),i)}${T}${F}`}function h0(Z,J){let{isChild:K=!1,showProjectPath:B=!1}=J||{},G=K?" ":"",Q=c0(Z),v=B&&Z.projectPath?` · ${Z.projectPath}`:"";return G+Q+v}function YU(Z){let J=lY.c(247),{logs:K,maxHeight:B,forceWidth:G,onCancel:Q,onSelect:v,onLogsChanged:F,onLoadMore:T,initialSearchQuery:i,showAllProjects:X,onToggleAllProjects:W,onAgenticSearch:O}=Z,S=B===void 0?1/0:B,C=X===void 0?!1:X,JJ=_Y(),L=G===void 0?JJ.columns:G,f=SY(Q),E=bY(),y;if(J[0]===Symbol.for("react.memo_cache_sentinel"))y=iY(),J[0]=y;else y=J[0];let w=y,r=!1,[p]=LY(),l;if(J[1]!==p)l=fY(p),J[1]=p,J[2]=l;else l=J[2];let s=l,o;if(J[3]!==s.warning)o=(Y)=>IY(Y,s.warning),J[3]=s.warning,J[4]=o;else o=J[4];let _=o,VJ=!1,[M,AJ]=R.default.useState(null),[c,BJ]=R.default.useState(!1),[d,cJ]=R.default.useState(!1),[n,gJ]=R.default.useState(!1),FJ;if(J[5]===Symbol.for("react.memo_cache_sentinel"))FJ=H0(),J[5]=FJ;else FJ=J[5];let MJ=FJ,[g,HJ]=R.default.useState(""),[QJ,iJ]=R.default.useState(0),OJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))OJ=new Set,J[6]=OJ;else OJ=J[6];let[GJ,rJ]=R.default.useState(OJ),[PJ,wJ]=R.default.useState(null),[ZJ,lJ]=R.default.useState(1),[P,h]=R.default.useState("list"),[H,k]=R.default.useState(null),qJ=R.default.useRef(null),[TJ,xJ]=R.default.useState(0),_J;if(J[7]===Symbol.for("react.memo_cache_sentinel"))_J={status:"idle"},J[7]=_J;else _J=J[7];let[V,VZ]=R.default.useState(_J),[t,BZ]=R.default.useState(!1),HZ=R.default.useRef(null),Q0=P==="search"&&V.status!=="searching",QZ,OZ,PZ;if(J[8]===Symbol.for("react.memo_cache_sentinel"))QZ=()=>{h("list"),$("",{enabled:!1})},OZ=()=>{h("list"),$("",{enabled:!1})},PZ=["n"],J[8]=QZ,J[9]=OZ,J[10]=PZ;else QZ=J[8],OZ=J[9],PZ=J[10];let O0=i||"",DZ;if(J[11]!==O0||J[12]!==Q0)DZ={isActive:Q0,onExit:QZ,onExitUp:OZ,passthroughCtrlKeys:PZ,initialQuery:O0},J[11]=O0,J[12]=Q0,J[13]=DZ;else DZ=J[13];let{query:j,setQuery:dJ,cursorOffset:P0}=hY(DZ),yJ=R.default.useDeferredValue(j),[YJ,d0]=R.default.useState(""),kZ,WZ;if(J[14]!==yJ)kZ=()=>{if(!yJ){d0("");return}let Y=setTimeout(d0,300,yJ);return()=>clearTimeout(Y)},WZ=[yJ],J[14]=yJ,J[15]=kZ,J[16]=WZ;else kZ=J[15],WZ=J[16];R.default.useEffect(kZ,WZ);let[mJ,n0]=R.default.useState(null),[D0,a0]=R.default.useState(!1),vZ,NZ;if(J[17]===Symbol.for("react.memo_cache_sentinel"))vZ=()=>{yY().then((Y)=>AJ(Y)),rY(MJ).then((Y)=>{gJ(Y.length>1)})},NZ=[MJ],J[17]=vZ,J[18]=NZ;else vZ=J[17],NZ=J[18];R.default.useEffect(vZ,NZ);let XK=new Map(K.map(iz)),Yz;Yz=null;let CZ;if(J[19]!==K)CZ=nz(K),J[19]=K,J[20]=CZ;else CZ=J[20];let SJ=CZ,DJ=SJ.length>0,MZ;if(J[21]!==DJ||J[22]!==SJ)MZ=DJ?["All",...SJ]:[],J[21]=DJ,J[22]=SJ,J[23]=MZ;else MZ=J[23];let zJ=MZ,RZ=zJ.length>0&&TJ<zJ.length?TJ:0,s0=zJ[RZ],nJ=s0==="All"?void 0:s0,zz=DJ?1:0,a=K;if(w){let Y;if(J[24]!==K)Y=K.filter(gz),J[24]=K,J[25]=Y;else Y=J[25];a=Y}if(nJ!==void 0){let Y;if(J[26]!==a||J[27]!==nJ){let z;if(J[29]!==nJ)z=(q)=>q.tag===nJ,J[29]=nJ,J[30]=z;else z=J[30];Y=a.filter(z),J[26]=a,J[27]=nJ,J[28]=Y}else Y=J[28];a=Y}if(c&&M){let Y;if(J[31]!==M||J[32]!==a){let z;if(J[34]!==M)z=(q)=>q.gitBranch===M,J[34]=M,J[35]=z;else z=J[35];Y=a.filter(z),J[31]=M,J[32]=a,J[33]=Y}else Y=J[33];a=Y}if(n&&!d){let Y;if(J[36]!==a){let z;if(J[38]===Symbol.for("react.memo_cache_sentinel"))z=(q)=>q.projectPath===MJ,J[38]=z;else z=J[38];Y=a.filter(z),J[36]=a,J[37]=Y}else Y=J[37];a=Y}let EZ=a,k0;J:{if(!j){k0=EZ;break J}let Y;if(J[39]!==EZ||J[40]!==j){let z=j.toLowerCase();Y=EZ.filter((q)=>{let A=fJ(q).toLowerCase(),x=(q.gitBranch||"").toLowerCase(),u=(q.tag||"").toLowerCase(),hJ=q.prNumber?`pr #${q.prNumber} ${q.prRepository||""}`.toLowerCase():"";return A.includes(z)||x.includes(z)||u.includes(z)||hJ.includes(z)}),J[39]=EZ,J[40]=j,J[41]=Y}else Y=J[41];k0=Y}let W0=k0,jZ,AZ;if(J[42]!==YJ||J[43]!==yJ)jZ=()=>{},AZ=[yJ,YJ,!1],J[42]=YJ,J[43]=yJ,J[44]=jZ,J[45]=AZ;else jZ=J[44],AZ=J[45];R.default.useEffect(jZ,AZ);let FZ,wZ;if(J[46]!==YJ)FZ=()=>{n0(null),a0(!1);return},wZ=[YJ,null,!1],J[46]=YJ,J[47]=FZ,J[48]=wZ;else FZ=J[47],wZ=J[48];R.default.useEffect(FZ,wZ);let e,pJ;if(J[49]!==YJ||J[50]!==mJ||J[51]!==W0){if(pJ=new Map,e=W0,mJ&&YJ&&mJ.query===YJ){for(let A of mJ.results)if(A.searchableText){let x=Sz(A.searchableText,YJ,_z);if(x)pJ.set(A.log,x)}let Y;if(J[54]!==e)Y=new Set(e.map(uz)),J[54]=e,J[55]=Y;else Y=J[55];let z=Y,q;if(J[56]!==mJ.results||J[57]!==e||J[58]!==z){let A;if(J[60]!==z)A=(u)=>!z.has(u.messages[0]?.uuid),J[60]=z,J[61]=A;else A=J[61];let x=mJ.results.map(pz).filter(A);q=[...e,...x],J[56]=mJ.results,J[57]=e,J[58]=z,J[59]=q}else q=J[59];e=q}J[49]=YJ,J[50]=mJ,J[51]=W0,J[52]=e,J[53]=pJ}else e=J[52],pJ=J[53];let TZ;if(J[62]!==e||J[63]!==pJ)TZ={filteredLogs:e,snippets:pJ},J[62]=e,J[63]=pJ,J[64]=TZ;else TZ=J[64];let{filteredLogs:uJ,snippets:RJ}=TZ,v0;J:{if(V.status==="results"&&V.results.length>0){v0=V.results;break J}v0=uJ}let D=v0,kJ=Math.max(30,L-4),N0;J:{if(!w){let z;if(J[65]===Symbol.for("react.memo_cache_sentinel"))z=[],J[65]=z;else z=J[65];N0=z;break J}let Y;if(J[66]!==D||J[67]!==_||J[68]!==kJ||J[69]!==C||J[70]!==RJ){let z=dz(D);Y=Array.from(z.entries()).map((q)=>{let[A,x]=q,u=x[0],hJ=D.indexOf(u),LJ=RJ.get(u),EJ=LJ?p0(LJ,_):null;if(x.length===1){let IJ=h0(u,{showProjectPath:C});return{id:`log:${A}:0`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ),description:EJ?`${IJ}
|
|
2
|
+
${EJ}`:IJ,dimDescription:!0}}let z0=x.length-1,K0=x.slice(1).map((IJ,Xz)=>{let Vz=D.indexOf(IJ),JY=RJ.get(IJ),ZY=JY?p0(JY,_):null,YY=h0(IJ,{isChild:!0,showProjectPath:C});return{id:`log:${A}:${Xz+1}`,value:{log:IJ,indexInFiltered:Vz},label:u0(IJ,kJ,{isChild:!0}),description:ZY?`${YY}
|
|
3
|
+
${ZY}`:YY,dimDescription:!0}}),e0=h0(u,{showProjectPath:C});return{id:`group:${A}`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ,{isGroupHeader:!0,forkCount:z0}),description:EJ?`${e0}
|
|
4
|
+
${EJ}`:e0,dimDescription:!0,children:K0}}),J[66]=D,J[67]=_,J[68]=kJ,J[69]=C,J[70]=RJ,J[71]=Y}else Y=J[71];N0=Y}let WJ=N0,C0;J:{if(w){let z;if(J[72]===Symbol.for("react.memo_cache_sentinel"))z=[],J[72]=z;else z=J[72];C0=z;break J}let Y;if(J[73]!==D||J[74]!==_||J[75]!==kJ||J[76]!==C||J[77]!==RJ){let z;if(J[79]!==_||J[80]!==kJ||J[81]!==C||J[82]!==RJ)z=(q,A)=>{let u=fJ(q)+(q.isSidechain?" (sidechain)":""),hJ=dY(u,kJ),LJ=c0(q),EJ=C&&q.projectPath?` · ${q.projectPath}`:"",z0=RJ.get(q),K0=z0?p0(z0,_):null;return{label:hJ,description:K0?`${LJ}${EJ}
|
|
5
|
+
${K0}`:LJ+EJ,dimDescription:!0,value:A.toString()}},J[79]=_,J[80]=kJ,J[81]=C,J[82]=RJ,J[83]=z;else z=J[83];Y=D.map(z),J[73]=D,J[74]=_,J[75]=kJ,J[76]=C,J[77]=RJ,J[78]=Y}else Y=J[78];C0=Y}let M0=C0,I=PJ?.value.log??null,yZ;if(J[84]!==D||J[85]!==GJ||J[86]!==I)yZ=()=>{if(!w||!I)return"";let Y=XJ(I);if(!Y)return"";let z=D.filter((u)=>XJ(u)===Y);if(!(z.length>1))return"";let A=GJ.has(Y);if(z.indexOf(I)>0)return"← to collapse";return A?"← to collapse":"→ to expand"},J[84]=D,J[85]=GJ,J[86]=I,J[87]=yZ;else yZ=J[87];let mZ=yZ,LZ;if(J[88]!==I||J[89]!==F||J[90]!==g)LZ=async()=>{let Y=I?XJ(I):void 0;if(!I||!Y){h("list"),HJ("");return}if(g.trim()){if(await nY(Y,g.trim(),I.fullPath),w&&F)F()}h("list"),HJ("")},J[88]=I,J[89]=F,J[90]=g,J[91]=LZ;else LZ=J[91];let R0=LZ,IZ;if(J[92]===Symbol.for("react.memo_cache_sentinel"))IZ=()=>{h("list"),$("",{enabled:!1})},J[92]=IZ;else IZ=J[92];let Kz=IZ,bZ;if(J[93]===Symbol.for("react.memo_cache_sentinel"))bZ=()=>{h("search"),$("",{enabled:!0})},J[93]=bZ;else bZ=J[93];let o0=bZ,fZ;if(J[94]!==K||J[95]!==O||J[96]!==j)fZ=async()=>{j.trim();return},J[94]=K,J[95]=O,J[96]=j,J[97]=fZ;else fZ=J[97];let E0=fZ,xZ;if(J[98]!==V.query||J[99]!==V.status||J[100]!==j)xZ=()=>{if(V.status!=="idle"&&V.status!=="searching"){if(V.status==="results"&&V.query!==j||V.status==="error")VZ({status:"idle"})}},J[98]=V.query,J[99]=V.status,J[100]=j,J[101]=xZ;else xZ=J[101];let _Z;if(J[102]!==V||J[103]!==j)_Z=[j,V],J[102]=V,J[103]=j,J[104]=_Z;else _Z=J[104];R.default.useEffect(xZ,_Z);let SZ,pZ;if(J[105]===Symbol.for("react.memo_cache_sentinel"))SZ=()=>()=>{HZ.current?.abort()},pZ=[],J[105]=SZ,J[106]=pZ;else SZ=J[105],pZ=J[106];R.default.useEffect(SZ,pZ);let t0=R.default.useRef(V.status),uZ;if(J[107]!==V.status||J[108]!==D[0]||J[109]!==D.length||J[110]!==WJ)uZ=()=>{let Y=t0.current;if(t0.current=V.status,Y==="searching"&&V.status==="results"){if(w&&WJ.length>0)wJ(WJ[0]);else if(!w&&D.length>0){let z=D[0];wJ({id:"0",value:{log:z,indexInFiltered:0},label:""})}}},J[107]=V.status,J[108]=D[0],J[109]=D.length,J[110]=WJ,J[111]=uZ;else uZ=J[111];let hZ;if(J[112]!==V.status||J[113]!==D||J[114]!==WJ)hZ=[V.status,w,WJ,D],J[112]=V.status,J[113]=D,J[114]=WJ,J[115]=hZ;else hZ=J[115];R.default.useEffect(uZ,hZ);let $Z;if(J[116]!==D)$Z=(Y)=>{let z=parseInt(Y,10),q=D[z];if(!q||qJ.current===z.toString())return;qJ.current=z.toString(),wJ({id:z.toString(),value:{log:q,indexInFiltered:z},label:""}),lJ(z+1)},J[116]=D,J[117]=$Z;else $Z=J[117];let j0=$Z,cZ;if(J[118]!==D)cZ=(Y)=>{wJ(Y);let z=D.findIndex((q)=>XJ(q)===XJ(Y.value.log));if(z>=0)lJ(z+1)},J[118]=D,J[119]=cZ;else cZ=J[119];let A0=cZ,gZ;if(J[120]===Symbol.for("react.memo_cache_sentinel"))gZ=()=>{HZ.current?.abort(),VZ({status:"idle"}),$("",{})},J[120]=gZ;else gZ=J[120];let F0=P!=="preview"&&V.status==="searching",iZ;if(J[121]!==F0)iZ={context:"Confirmation",isActive:F0},J[121]=F0,J[122]=iZ;else iZ=J[122];$J("confirm:no",gZ,iZ);let rZ;if(J[123]===Symbol.for("react.memo_cache_sentinel"))rZ=()=>{h("list"),HJ("")},J[123]=rZ;else rZ=J[123];let w0=P==="rename"&&V.status!=="searching",lZ;if(J[124]!==w0)lZ={context:"Settings",isActive:w0},J[124]=w0,J[125]=lZ;else lZ=J[125];$J("confirm:no",rZ,lZ);let dZ;if(J[126]!==Q||J[127]!==dJ)dZ=()=>{dJ(""),BZ(!1),Q?.()},J[126]=Q,J[127]=dJ,J[128]=dZ;else dZ=J[128];let T0=P!=="preview"&&P!=="rename"&&P!=="search"&&t&&V.status!=="searching",nZ;if(J[129]!==T0)nZ={context:"Confirmation",isActive:T0},J[129]=T0,J[130]=nZ;else nZ=J[130];$J("confirm:no",dZ,nZ);let aZ;if(J[131]!==V.status||J[132]!==c||J[133]!==I||J[134]!==E0||J[135]!==n||J[136]!==DJ||J[137]!==t||J[138]!==O||J[139]!==W||J[140]!==j||J[141]!==dJ||J[142]!==C||J[143]!==d||J[144]!==zJ||J[145]!==SJ||J[146]!==P)aZ=(Y,z)=>{if(P==="preview")return;if(V.status==="searching")return;if(P==="rename");else if(P==="search"){if(Y.toLowerCase()==="n"&&z.ctrl)Kz();else if(z.return||z.downArrow)j.trim()}else{if(t){if(z.return){E0(),BZ(!1);return}else if(z.downArrow){BZ(!1);return}else if(z.upArrow){h("search"),BZ(!1);return}}if(DJ&&z.tab){let x=z.shift?-1:1;xJ((u)=>{let LJ=((u<zJ.length?u:0)+zJ.length+x)%zJ.length,EJ=zJ[LJ];return $("",{is_all:EJ==="All",tag_count:SJ.length}),LJ});return}let q=!z.ctrl&&!z.meta,A=Y.toLowerCase();if(A==="a"&&z.ctrl&&W)W(),$("",{enabled:!C});else if(A==="b"&&z.ctrl){let x=!c;BJ(x),$("",{enabled:x})}else if(A==="w"&&z.ctrl&&n){let x=!d;cJ(x),$("",{enabled:x})}else if(A==="/"&&q)h("search"),$("",{enabled:!0});else if(A==="r"&&z.ctrl&&I)h("rename"),HJ(""),$("",{});else if(A==="v"&&z.ctrl&&I)k(I),h("preview"),$("",{messageCount:I.messageCount});else if(I&&q&&Y.length>0&&!/^\s+$/.test(Y))h("search"),dJ(Y),$("",{enabled:!0})}},J[131]=V.status,J[132]=c,J[133]=I,J[134]=E0,J[135]=n,J[136]=DJ,J[137]=t,J[138]=O,J[139]=W,J[140]=j,J[141]=dJ,J[142]=C,J[143]=d,J[144]=zJ,J[145]=SJ,J[146]=P,J[147]=aZ;else aZ=J[147];let sZ;if(J[148]===Symbol.for("react.memo_cache_sentinel"))sZ={isActive:!0},J[148]=sZ;else sZ=J[148];xY(aZ,sZ);let vJ;if(J[149]!==c||J[150]!==M||J[151]!==n||J[152]!==d){if(vJ=[],c&&M)vJ.push(M);if(n&&!d)vJ.push("current worktree");J[149]=c,J[150]=M,J[151]=n,J[152]=d,J[153]=vJ}else vJ=J[153];let Uz=8+(vJ.length>0&&P!=="search"?1:0)+zz,KJ=Math.max(1,Math.floor((S-Uz-2)/3)),oZ,tZ;if(J[154]!==D.length||J[155]!==ZJ||J[156]!==T||J[157]!==KJ)oZ=()=>{if(!T)return;let Y=KJ*2;if(ZJ+Y>=D.length)T(KJ*3)},tZ=[ZJ,KJ,D.length,T],J[154]=D.length,J[155]=ZJ,J[156]=T,J[157]=KJ,J[158]=oZ,J[159]=tZ;else oZ=J[158],tZ=J[159];if(R.default.useEffect(oZ,tZ),K.length===0)return null;if(P==="preview"&&H&&w){let Y;if(J[160]===Symbol.for("react.memo_cache_sentinel"))Y=()=>{h("list"),k(null)},J[160]=Y;else Y=J[160];let z;if(J[161]!==v||J[162]!==H)z=U(QY,{log:H,onExit:Y,onSelect:v}),J[161]=v,J[162]=H,J[163]=z;else z=J[163];return z}let y0=S-1,eZ;if(J[164]===Symbol.for("react.memo_cache_sentinel"))eZ=U(b,{flexShrink:0,children:U(pY,{color:"suggestion"})}),J[164]=eZ;else eZ=J[164];let J0;if(J[165]===Symbol.for("react.memo_cache_sentinel"))J0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[165]=J0;else J0=J[165];let aJ;if(J[166]!==L||J[167]!==D.length||J[168]!==RZ||J[169]!==ZJ||J[170]!==DJ||J[171]!==C||J[172]!==zJ||J[173]!==P||J[174]!==KJ)aJ=DJ?U(NY,{tabs:zJ,selectedIndex:RZ,availableWidth:L,showAllProjects:C}):U(b,{flexShrink:0,children:m(N,{bold:!0,color:"suggestion",children:["Resume Session",P==="list"&&D.length>KJ&&m(N,{dimColor:!0,children:[" ","(",ZJ," of ",D.length,")"]})]})}),J[166]=L,J[167]=D.length,J[168]=RZ,J[169]=ZJ,J[170]=DJ,J[171]=C,J[172]=zJ,J[173]=P,J[174]=KJ,J[175]=aJ;else aJ=J[175];let m0=P==="search",sJ;if(J[176]!==E||J[177]!==P0||J[178]!==j||J[179]!==m0)sJ=U($Y,{query:j,isFocused:m0,isTerminalFocused:E,cursorOffset:P0}),J[176]=E,J[177]=P0,J[178]=j,J[179]=m0,J[180]=sJ;else sJ=J[180];let oJ;if(J[181]!==vJ||J[182]!==P)oJ=vJ.length>0&&P!=="search"&&U(b,{flexShrink:0,paddingLeft:2,children:U(N,{dimColor:!0,children:U(NJ,{children:vJ})})}),J[181]=vJ,J[182]=P,J[183]=oJ;else oJ=J[183];let Z0;if(J[184]===Symbol.for("react.memo_cache_sentinel"))Z0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[184]=Z0;else Z0=J[184];let tJ;if(J[185]!==V.status)tJ=V.status==="searching"&&m(b,{paddingLeft:1,flexShrink:0,children:[U(cY,{}),U(N,{children:" Searching…"})]}),J[185]=V.status,J[186]=tJ;else tJ=J[186];let eJ;if(J[187]!==V.results||J[188]!==V.status)eJ=V.status==="results"&&V.results.length>0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"Claude found these results:"})}),J[187]=V.results,J[188]=V.status,J[189]=eJ;else eJ=J[189];let JZ;if(J[190]!==V.results||J[191]!==V.status||J[192]!==uJ)JZ=V.status==="results"&&V.results.length===0&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[190]=V.results,J[191]=V.status,J[192]=uJ,J[193]=JZ;else JZ=J[193];let ZZ;if(J[194]!==V.status||J[195]!==uJ)ZZ=V.status==="error"&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[194]=V.status,J[195]=uJ,J[196]=ZZ;else ZZ=J[196];let YZ;if(J[197]!==V.status||J[198]!==t||J[199]!==O||J[200]!==j)YZ=Boolean(j.trim())&&O&&!1,J[197]=V.status,J[198]=t,J[199]=O,J[200]=j,J[201]=YZ;else YZ=J[201];let zZ;if(J[202]!==V.status||J[203]!==c||J[204]!==L||J[205]!==D||J[206]!==GJ||J[207]!==M0||J[208]!==I||J[209]!==PJ?.id||J[210]!==j0||J[211]!==R0||J[212]!==A0||J[213]!==t||J[214]!==Q||J[215]!==v||J[216]!==QJ||J[217]!==g||J[218]!==WJ||J[219]!==P||J[220]!==KJ)zZ=V.status==="searching"?null:P==="rename"&&I?m(b,{paddingLeft:2,flexDirection:"column",children:[U(N,{bold:!0,children:"Rename session:"}),U(b,{paddingTop:1,children:U(uY,{value:g,onChange:HJ,onSubmit:R0,placeholder:fJ(I,"Enter new session name"),columns:L,cursorOffset:QJ,onChangeCursorOffset:iJ,showCursor:!0})})]}):w?U(EY,{nodes:WJ,onSelect:(Y)=>{v(Y.value.log)},onFocus:A0,onCancel:Q,focusNodeId:PJ?.id,visibleOptionCount:KJ,layout:"expanded",isDisabled:P==="search"||t,hideIndexes:!1,isNodeExpanded:(Y)=>{if(P==="search"||c)return!0;let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;return z?GJ.has(z):!1},onExpand:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>new Set(q).add(z)),$("",{})},onCollapse:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>{let A=new Set(q);return A.delete(z),A})},onUpFromFirstItem:o0}):U(B0,{options:M0,onChange:(Y)=>{let z=parseInt(Y,10),q=D[z];if(q)v(q)},visibleOptionCount:KJ,onCancel:Q,onFocus:j0,defaultFocusValue:PJ?.id.toString(),layout:"expanded",isDisabled:P==="search"||t,onUpFromFirstItem:o0}),J[202]=V.status,J[203]=c,J[204]=L,J[205]=D,J[206]=GJ,J[207]=M0,J[208]=I,J[209]=PJ?.id,J[210]=j0,J[211]=R0,J[212]=A0,J[213]=t,J[214]=Q,J[215]=v,J[216]=QJ,J[217]=g,J[218]=WJ,J[219]=P,J[220]=KJ,J[221]=zZ;else zZ=J[221];let KZ;if(J[222]!==V.status||J[223]!==M||J[224]!==f.keyName||J[225]!==f.pending||J[226]!==mZ||J[227]!==n||J[228]!==t||J[229]!==D0||J[230]!==W||J[231]!==C||J[232]!==d||J[233]!==P)KZ=U(b,{paddingLeft:2,children:f.pending?m(N,{dimColor:!0,children:["Press ",f.keyName," again to exit"]}):P==="rename"?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"save"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):V.status==="searching"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Searching with Claude…"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):t?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"search"}),U(UJ,{shortcut:"↓",action:"skip"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):P==="search"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Type to Search"}),U(UJ,{shortcut:"Enter",action:"select"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"clear"})]})}):U(N,{dimColor:!0,children:m(NJ,{children:[W&&U(UJ,{shortcut:"Ctrl+A",action:`show ${C?"current dir":"all projects"}`}),M&&U(UJ,{shortcut:"Ctrl+B",action:"toggle branch"}),n&&U(UJ,{shortcut:"Ctrl+W",action:`show ${d?"current worktree":"all worktrees"}`}),U(UJ,{shortcut:"Ctrl+V",action:"preview"}),U(UJ,{shortcut:"Ctrl+R",action:"rename"}),U(N,{children:"Type to search"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"}),mZ()&&U(N,{children:mZ()})]})})}),J[222]=V.status,J[223]=M,J[224]=f.keyName,J[225]=f.pending,J[226]=mZ,J[227]=n,J[228]=t,J[229]=D0,J[230]=W,J[231]=C,J[232]=d,J[233]=P,J[234]=KZ;else KZ=J[234];let Y0;if(J[235]!==y0||J[236]!==aJ||J[237]!==sJ||J[238]!==oJ||J[239]!==tJ||J[240]!==eJ||J[241]!==JZ||J[242]!==ZZ||J[243]!==YZ||J[244]!==zZ||J[245]!==KZ)Y0=m(b,{flexDirection:"column",height:y0,children:[eZ,J0,aJ,sJ,oJ,Z0,tJ,eJ,JZ,ZZ,YZ,zZ,KZ]}),J[235]=y0,J[236]=aJ,J[237]=sJ,J[238]=oJ,J[239]=tJ,J[240]=eJ,J[241]=JZ,J[242]=ZZ,J[243]=YZ,J[244]=zZ,J[245]=KZ,J[246]=Y0;else Y0=J[246];return Y0}function pz(Z){return Z.log}function uz(Z){return Z.messages[0]?.uuid}function hz(Z,J,K,B){if(!Z)return;let G=Z.search(J);G.sort(cz),K({results:G.map($z),query:J}),B(!1)}function $z(Z){return{log:Z.item.log,score:Z.score,searchableText:Z.item.searchableText}}function cz(Z,J){let K=new Date(Z.item.log.modified).getTime(),G=new Date(J.item.log.modified).getTime()-K;if(Math.abs(G)>xz)return G;return(Z.score??1)-(J.score??1)}function gz(Z){let J=wY(),K=XJ(Z);if(J&&K===J)return!0;if(Z.customTitle)return!0;if(gY(Z.messages))return!0;if(Z.firstPrompt||Z.customTitle)return!0;return!1}function iz(Z){return[Z,lz(Z)]}function rz(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function lz(Z){let K=(Z.messages.length<=fz?Z.messages:[...Z.messages.slice(0,AY),...Z.messages.slice(-AY)]).map(rz).filter(Boolean).join(" "),G=`${[Z.customTitle,Z.summary,Z.firstPrompt,Z.gitBranch,Z.tag,Z.prNumber?`PR #${Z.prNumber}`:void 0,Z.prRepository].filter(Boolean).join(" ")} ${K}`.trim();return G.length>FY?G.slice(0,FY):G}function dz(Z){let J=new Map;for(let K of Z){let B=XJ(K);if(B){let G=J.get(B);if(G)G.push(K);else J.set(B,[K])}}return J.forEach((K)=>K.sort((B,G)=>new Date(G.modified).getTime()-new Date(B.modified).getTime())),J}function nz(Z){let J=new Set;for(let K of Z)if(K.tag)J.add(K.tag);return Array.from(J).sort((K,B)=>K.localeCompare(B))}var lY,R,Iz=2,bz=4,fz=2000,AY=1000,FY=50000,xz=60000,_z=50;var az=XZ(()=>{Cz();TY();Az();Tz();jz();Rz();U0();KY();Nz();I0();Lz();Mz();mY();V0();Ez();XY();MY();VY();Fz();UY();yz();OY();mz();CY();wz();jY();bJ();lY=UZ(f0(),1),R=UZ(b0(),1)});function YK(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function Jz(Z){if(Z.length===0)return"";let K=(Z.length<=g0?Z:[...Z.slice(0,g0/2),...Z.slice(-g0/2)]).map(YK).filter(Boolean).join(" ").replace(/\s+/g," ").trim();return K.length>aY?K.slice(0,aY)+"…":K}function sY(Z,J){if(fJ(Z).toLowerCase().includes(J))return!0;if(Z.customTitle?.toLowerCase().includes(J))return!0;if(Z.tag?.toLowerCase().includes(J))return!0;if(Z.gitBranch?.toLowerCase().includes(J))return!0;if(Z.summary?.toLowerCase().includes(J))return!0;if(Z.firstPrompt?.toLowerCase().includes(J))return!0;if(Z.messages&&Z.messages.length>0){if(Jz(Z.messages).toLowerCase().includes(J))return!0}return!1}async function QU(Z,J,K){if(!Z.trim()||J.length===0)return[];let B=Z.toLowerCase(),G=J.filter((X)=>sY(X,B)),Q;if(G.length>=i0)Q=G.slice(0,i0);else{let X=J.filter((O)=>!sY(O,B)),W=i0-G.length;Q=[...G,...X.slice(0,W)]}CJ(`Agentic search: ${Q.length}/${J.length} logs, query="${Z}", matching: ${G.length}, with messages: ${r0(Q,(X)=>X.messages?.length>0)}`);let v=Q.map(async(X)=>{if(GZ(X))try{return await X0(X)}catch(W){return l0(W),X}return X}),F=await Promise.all(v);CJ(`Agentic search: loaded ${r0(F,(X)=>X.messages?.length>0)}/${Q.length} logs with transcripts`);let i=`Sessions:
|
|
6
|
+
${F.map((X,W)=>{let O=[`${W}:`],S=fJ(X);if(O.push(S),X.customTitle&&X.customTitle!==S)O.push(`[custom title: ${X.customTitle}]`);if(X.tag)O.push(`[tag: ${X.tag}]`);if(X.gitBranch)O.push(`[branch: ${X.gitBranch}]`);if(X.summary)O.push(`- Summary: ${X.summary}`);if(X.firstPrompt&&X.firstPrompt!=="No prompt")O.push(`- First message: ${X.firstPrompt.slice(0,300)}`);if(X.messages&&X.messages.length>0){let C=Jz(X.messages);if(C)O.push(`- Transcript: ${C}`)}return O.join(" ")}).join(`
|
|
7
|
+
`)}
|
|
8
|
+
|
|
9
|
+
Search query: "${Z}"
|
|
10
|
+
|
|
11
|
+
Find the sessions that are most relevant to this query.`;CJ(`Agentic search prompt (first 500 chars): ${i.slice(0,500)}...`);try{let X=tY();CJ(`Agentic search using model: ${X}`);let O=(await eY({model:X,system:ZK,messages:[{role:"user",content:i}],signal:K,querySource:"session_search"})).content.find((f)=>f.type==="text");if(!O||O.type!=="text")return CJ("No text content in agentic search response"),[];CJ(`Agentic search response: ${O.text}`);let S=O.text.match(/\{[\s\S]*\}/);if(!S)return CJ("Could not find JSON in agentic search response"),[];let L=(oY(S[0]).relevant_indices||[]).filter((f)=>f>=0&&f<F.length).map((f)=>F[f]);return CJ(`Agentic search found ${L.length} relevant sessions`),L}catch(X){return l0(X),CJ(`Agentic search error: ${X}`),[]}}var aY=2000,g0=100,i0=100,ZK=`Your goal is to find relevant sessions based on a user's search query.
|
|
12
|
+
|
|
13
|
+
You will be given a list of sessions with their metadata and a search query. Identify which sessions are most relevant to the query.
|
|
14
|
+
|
|
15
|
+
Each session may include:
|
|
16
|
+
- Title (display name or custom title)
|
|
17
|
+
- Tag (user-assigned category, shown as [tag: name] - users tag sessions with /tag command to categorize them)
|
|
18
|
+
- Branch (git branch name, shown as [branch: name])
|
|
19
|
+
- Summary (AI-generated summary)
|
|
20
|
+
- First message (beginning of the conversation)
|
|
21
|
+
- Transcript (excerpt of conversation content)
|
|
22
|
+
|
|
23
|
+
IMPORTANT: Tags are user-assigned labels that indicate the session's topic or category. If the query matches a tag exactly or partially, those sessions should be highly prioritized.
|
|
24
|
+
|
|
25
|
+
For each session, consider (in order of priority):
|
|
26
|
+
1. Exact tag matches (highest priority - user explicitly categorized this session)
|
|
27
|
+
2. Partial tag matches or tag-related terms
|
|
28
|
+
3. Title matches (custom titles or first message content)
|
|
29
|
+
4. Branch name matches
|
|
30
|
+
5. Summary and transcript content matches
|
|
31
|
+
6. Semantic similarity and related concepts
|
|
32
|
+
|
|
33
|
+
CRITICAL: Be VERY inclusive in your matching. Include sessions that:
|
|
34
|
+
- Contain the query term anywhere in any field
|
|
35
|
+
- Are semantically related to the query (e.g., "testing" matches sessions about "tests", "unit tests", "QA", etc.)
|
|
36
|
+
- Discuss topics that could be related to the query
|
|
37
|
+
- Have transcripts that mention the concept even in passing
|
|
38
|
+
|
|
39
|
+
When in doubt, INCLUDE the session. It's better to return too many results than too few. The user can easily scan through results, but missing relevant sessions is frustrating.
|
|
40
|
+
|
|
41
|
+
Return sessions ordered by relevance (most relevant first). If truly no sessions have ANY connection to the query, return an empty array - but this should be rare.
|
|
42
|
+
|
|
43
|
+
Respond with ONLY the JSON object, no markdown formatting:
|
|
44
|
+
{"relevant_indices": [2, 5, 0]}`;var zK=XZ(()=>{tz();oz();mY();ez();V0();JK();sz()});function WU(Z,J,K){let B=H0();if(!J||!Z.projectPath||Z.projectPath===B)return{isCrossProject:!1};let G=XJ(Z);return{isCrossProject:!0,isSameRepoWorktree:!1,command:`cd ${Zz([Z.projectPath])} && claude --resume ${G}`,projectPath:Z.projectPath}}var UK=XZ(()=>{TY();KK();V0()});
|
|
45
|
+
export{YU as _e,az as $e,QU as af,zK as bf,WU as cf,UK as df};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{eP as O,fP as P,gP as Q,hP as U,kP as X,xj as M,yj as W}from"./cli-1.1.28-zhftjycn.mjs";import{Vta as V}from"./cli-1.1.28-3fssr567.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
+
export{F as Wg,$ as Xg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Xe as V,Ze as B}from"./cli-1.1.28-b2jq83aj.mjs";import{Fk as L,Kx as Q,Lx as q,PS as F,XO as U,ZO as w}from"./cli-1.1.28-zhftjycn.mjs";import{aca as K,fca as k}from"./cli-1.1.28-5y1xeh89.mjs";import{Gla as I,Jla as $}from"./cli-1.1.28-2esp2ssp.mjs";import{ema as G,lma as _}from"./cli-1.1.28-pykx8k1j.mjs";import{Vta as Z}from"./cli-1.1.28-3fssr567.mjs";async function C(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:Q(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=L(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var D=Z(()=>{w();$();_();k();F();B();q()});
|
|
2
|
+
export{C as Ve,D as We};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ld as z,Md as K}from"./cli-1.1.28-c9nh8cpr.mjs";import{uL as w,wL as J}from"./cli-1.1.28-zhftjycn.mjs";import{e5 as H}from"./cli-1.1.28-yv5gzenz.mjs";import{Rta as E,Vta as G}from"./cli-1.1.28-3fssr567.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
|
|
2
|
+
export{V as Hd,N as Id};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{At as D,BF as k,Bt as hJ,CF as HJ,aq as G,dq as a,qo as R,ro as BJ}from"./cli-1.1.28-zhftjycn.mjs";import{O9 as bJ,o9 as ZJ,z9 as $J}from"./cli-1.1.28-ak2bzv1v.mjs";import{Zea as WJ,dba as C,eba as GJ,fba as h,gba as FJ,hba as u,iba as kJ,pfa as jJ}from"./cli-1.1.28-5y1xeh89.mjs";import{fja as x,rja as gJ}from"./cli-1.1.28-es8var4t.mjs";import{Jja as q,Kja as s,Lja as Y,Mja as r}from"./cli-1.1.28-12g8qyfk.mjs";import{nka as M,ska as yJ}from"./cli-1.1.28-4kda7s33.mjs";import{Ska as o,Tka as CJ,ala as n,bla as EJ,gla as l,hla as TJ}from"./cli-1.1.28-2esp2ssp.mjs";import{Cna as c,Dna as OJ,Gna as H,Hna as F,Ina as I,Ira as QJ,Jna as YJ,Kma as g,Kna as P,Lma as zJ,Lna as XJ,Mma as A,Nma as wJ,Yma as f,Zma as PJ,csa as mJ}from"./cli-1.1.28-wvj52k91.mjs";import{lsa as K,msa as DJ}from"./cli-1.1.28-fetsedc8.mjs";import{Vta as B}from"./cli-1.1.28-3fssr567.mjs";function UJ(J,Q){return Q.length<2?J:P(J,R(Q,0,-1))}var z;var L=B(()=>{XJ();BJ();z=UJ});function xJ(J,Q){Q=H(Q,J);var W=-1,$=Q.length;if(!$)return!0;while(++W<$){var Z=I(Q[W]);if(Z==="__proto__"&&!KJ.call(J,"__proto__"))return!1;if((Z==="constructor"||Z==="prototype")&&W<$-1)return!1}var X=z(J,Q);return X==null||delete X[I(k(Q))]}var IJ,KJ,N;var O=B(()=>{F();HJ();L();YJ();IJ=Object.prototype,KJ=IJ.hasOwnProperty;N=xJ});function MJ(J){return C(J)?void 0:J}var E;var T=B(()=>{GJ();E=MJ});function RJ(J){return A(J)||f(J)||!!(S&&J&&J[S])}var S,d;var _=B(()=>{DJ();PJ();wJ();S=K?K.isConcatSpreadable:void 0;d=RJ});function v(J,Q,W,$,Z){var X=-1,V=J.length;W||(W=d),Z||(Z=[]);while(++X<V){var U=J[X];if(Q>0&&W(U))if(Q>1)v(U,Q-1,W,$,Z);else g(Z,U);else if(!$)Z[Z.length]=U}return Z}var m;var j=B(()=>{zJ();_();m=v});function LJ(J){var Q=J==null?0:J.length;return Q?m(J,1):[]}var y;var b=B(()=>{j();y=LJ});function NJ(J){return u(h(J,void 0,y),J+"")}var i;var p=B(()=>{b();FJ();kJ();i=NJ});var SJ=1,AJ=2,fJ=4,dJ,NQ;var _J=B(()=>{OJ();TJ();O();F();CJ();T();p();EJ();dJ=i(function(J,Q){var W={};if(J==null)return W;var $=!1;if(Q=c(Q,function(X){return X=H(X,J),$||($=X.length>1),X}),o(J,n(J),W),$)W=l(W,SJ|AJ|fJ,E);var Z=Q.length;while(Z--)N(W,Q[Z]);return W}),NQ=dJ});function t(){let J=x("tengu_harbor_ledger",[]),Q=vJ().safeParse(J);return Q.success?Q.data:[]}function e(){return x("tengu_harbor",!1)}var vJ;var JJ=B(()=>{s();r();a();gJ();vJ=Y(()=>q.array(q.object({marketplace:q.string(),plugin:q.string()})))});function uQ(J,Q,W){let $=Object.entries(W??{}).filter(([Z])=>iJ.test(Z)).map(([Z,X])=>` ${Z}="${D(X)}"`).join("");return`<${M} source="${D(J)}"${$}>
|
|
2
|
+
${Q}
|
|
3
|
+
</${M}>`}function pJ(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:t(),source:"ledger"}}function cJ(J,Q){let W=J.split(":");return Q.find(($)=>$.kind==="server"?J===$.name:W[0]==="plugin"&&W[1]===$.name)}function iQ(J,Q,W){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!e())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!ZJ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let $=$J(),Z=$==="team"||$==="enterprise",X=Z?WJ("policySettings"):void 0;if(Z&&X?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let V=cJ(J,QJ());if(!V)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if(V.kind==="plugin"){let U=W?G(W).marketplace:void 0;if(U!==V.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${V.name}@${V.marketplace} but the installed ${V.name} plugin is from ${U??"an unknown source"}`};if(!V.dev){let{entries:qJ,source:VJ}=pJ($,X?.allowedChannelPlugins);if(!qJ.some((w)=>w.plugin===V.name&&w.marketplace===V.marketplace))return{action:"skip",kind:"allowlist",reason:VJ==="org"?`plugin ${V.name}@${V.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${V.name}@${V.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!V.dev)return{action:"skip",kind:"allowlist",reason:`server ${V.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var bQ,uJ="notifications/claude/channel/permission",hQ,iJ;var oJ=B(()=>{s();mJ();yJ();bJ();r();a();jJ();hJ();JJ();bQ=Y(()=>q.object({method:q.literal("notifications/claude/channel"),params:q.object({content:q.string(),meta:q.record(q.string(),q.string()).optional()})})),hQ=Y(()=>q.object({method:q.literal(uJ),params:q.object({request_id:q.string(),behavior:q.enum(["allow","deny"])})})),iJ=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
|
|
4
|
+
export{NQ as Ff,_J as Gf,JJ as Hf,bQ as If,uQ as Jf,cJ as Kf,iQ as Lf,oJ as Mf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_R as x,bS as B}from"./cli-1.1.28-zhftjycn.mjs";import{Vta as z}from"./cli-1.1.28-3fssr567.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
|
|
2
|
+
export{G as Yg,H as Zg,A as _g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{N1 as K,m0 as Z,q2 as k}from"./cli-1.1.28-0njtm2nf.mjs";import{c5 as J,d5 as H}from"./cli-1.1.28-v5ypq0r2.mjs";import{A$ as v,B$ as Y}from"./cli-1.1.28-5y1xeh89.mjs";import{Rta as V,Vta as X}from"./cli-1.1.28-3fssr567.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
|
|
2
|
+
export{N as li,C as mi};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{G3 as S,H3 as D,L3 as N}from"./cli-1.1.28-zarbrcn7.mjs";import{$ha as X,Bfa as H,Bga as d,Cfa as P,dga as B,gga as O,hia as E}from"./cli-1.1.28-5y1xeh89.mjs";import{dma as U,lma as f}from"./cli-1.1.28-pykx8k1j.mjs";import{oma as W,zma as b}from"./cli-1.1.28-khcgtk4a.mjs";import{Upa as T,csa as M}from"./cli-1.1.28-wvj52k91.mjs";import{fta as j,xta as y}from"./cli-1.1.28-ev0gfjgf.mjs";import{Rta as R,Vta as p}from"./cli-1.1.28-3fssr567.mjs";import{mkdir as G,readFile as m,writeFile as _}from"fs/promises";import{dirname as F,join as u}from"path";function I(){return u(W(),"cache","changelog.md")}async function Jq(){let J=O();if(!J.cachedChangelog)return;let q=I();try{await G(F(q),{recursive:!0}),await _(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}B(({cachedChangelog:Y,...z})=>z)}async function C(){if(T())return;if(H())return;let J=await j.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=I();await G(F(Y),{recursive:!0}),await _(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();B((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=I();try{let q=await m(J,"utf-8");return $=q,q}catch{return $="",""}}function A(){return $??""}function L(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
|
|
2
|
+
`);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let x=K.slice(1).filter((k)=>k.trim().startsWith("- ")).map((k)=>k.trim().substring(2).trim()).filter(Boolean);if(x.length>0)q[Z]=x}return q}catch(q){return X(U(q)),{}}}function l(J,q,Y=A()){try{let z=L(Y),K=w.coerce(J),Q=q?w.coerce(q):null;if(!Q||K&&D(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||D(Z,Q.version)).sort(([Z],[x])=>D(Z,x)?-1:1).flatMap(([Z,x])=>x).filter(Boolean).slice(0,V)}catch(z){return X(U(z)),[]}return[]}function Kq(J=A()){try{let q=L(J);return Object.keys(q).sort((z,K)=>D(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return X(U(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>X(U(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var w,V=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var c=p(()=>{y();M();d();b();f();E();P();N();w=R(S(),1)});
|
|
3
|
+
export{zq as Nf,Jq as Of,C as Pf,h as Qf,Kq as Rf,Qq as Sf,c as Tf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Mha as B,Pha as K,aha as $,bha as y,eaa as Z,gaa as f}from"./cli-1.1.28-5y1xeh89.mjs";import{tma as Y,zma as E}from"./cli-1.1.28-khcgtk4a.mjs";import{Vta as N,Wta as x}from"./cli-1.1.28-3fssr567.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
|
|
2
|
+
export{D as Zi,s as _i,g as $i};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Qta as Z}from"./cli-1.1.28-6y7vtevf.mjs";import{Tta as Y,Wta as O}from"./cli-1.1.28-3fssr567.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
|
|
2
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
|
|
4
|
+
export{ye as Jta};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Ai as Jq,Bi as Zq,Ci as vq,zi as qq}from"./cli-1.1.28-f3rdt4zg.mjs";import{Di as $q,Ei as Pq}from"./cli-1.1.28-by5acg3a.mjs";import{gA as m,hA as y,mA as p}from"./cli-1.1.28-zhftjycn.mjs";import{L1 as F,N1 as K,q2 as Iq}from"./cli-1.1.28-0njtm2nf.mjs";import{b5 as Y,c5 as D,d5 as Xq}from"./cli-1.1.28-v5ypq0r2.mjs";import{e5 as j}from"./cli-1.1.28-yv5gzenz.mjs";import{A$ as I,B$ as e,Cea as Vq,Paa as Uq,oaa as w,qaa as f,uea as a,xaa as c}from"./cli-1.1.28-5y1xeh89.mjs";import{Eia as Eq,pia as Mq,qia as g}from"./cli-1.1.28-8avwqt1z.mjs";import{Rta as T,Vta as L}from"./cli-1.1.28-3fssr567.mjs";function u(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,B=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:B,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var h=L(()=>{p();b=T(j(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),B=q.join(`
|
|
2
|
+
`),X=J.join(`
|
|
3
|
+
`);O.useEffect(()=>{let V=!1;M(!0);async function N(){let _=B?B.split(`
|
|
4
|
+
`):[],v=X?X.split(`
|
|
5
|
+
`):[],E=(await Promise.all(v.map((G)=>f(G)))).flat(),P=w(E).filter((G)=>!_.includes(G)).sort((G,C)=>S(G).localeCompare(S(C))),k=w([..._,...P]),Yq=await Promise.all(k.map(async(G)=>{let[C,x,Aq]=await Promise.all([m(G),y(G),c(G)]);return{root:G,name:S(G),branch:Aq,files:C?u(C,x):[],hunks:x}}));if(!V)z(Yq),Z(k),M(!1)}return N().catch(()=>{if(!V)z([]),Z([]),M(!1)}),()=>{V=!0}},[B,X,U]);let W=O.useCallback(()=>H((V)=>V+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=L(()=>{Uq();p();h();O=T(j(),1)});import{basename as n}from"path";function d(q,J,$){if(q===0)return"";return J.join("")+($?Bq:l)}function r(q){return{name:q,dirs:new Map,files:[]}}function Nq(q){let J=r("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=r(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function i(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>n(X.path).localeCompare(n(W.path))),B=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],V=W.name,N=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;V=`${V}/${P.name}`,N=`${N}/${P.name}`,W=P}let _=X===U.length-1&&!B,v=`${Q}\x00${N}`,E=z.has(v);if(A.push({kind:"dir",key:v,label:V,depth:$,collapsed:E,guides:d($,M,_)}),!E){let P=$>=1?[...M,_?Gq:l]:M;i(W,N,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],V=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:d($,M,V)})}}function _q(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${a(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}i(Nq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var l="│ ",Bq="└ ",Gq=" ";var o=L(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return R[Math.abs(J)%R.length]}function t(q){let J=R.length;return R[(q%J+J)%J]}var R;var s=L(()=>{R=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function zq(){let q=$q();return{enabled:q,fileIcon:(J)=>q?Zq(J):"",folderIcon:(J)=>q?J?Jq:qq:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var Qq=L(()=>{e();vq();Pq()});import{basename as Dq}from"path";function Lq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function ZJ(q){return q.flatMap((J)=>J.files)}function $J({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo(zq,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Lq(M,J,$),B=[];for(let X=U;X<H;X++){let W=q[X];B.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return D(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),B,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let _=J?`${z.pointer} `:" ",v=q.collapsed?I.triangleRight:I.triangleDown;return D(K,{dimColor:!J,bold:J,children:[`${_}${v} `,z.repoIcon&&Y(K,{color:t(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let _=q.collapsed?I.triangleRight:I.triangleDown,v=z.folderIcon(!q.collapsed),E=v?`${v} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=g(q.label,P);return D(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:D(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${_} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),B=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,V=Math.max(4,$-U-X.length-(B?2:0)-W-1),N=q.label?g(q.label,V):Mq(Dq(q.file.path),V);return D(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:D(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,B,Q&&!J?Y(K,{color:Q,children:N}):N]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq,JJ=80;var Rq=L(()=>{e();Iq();Eq();s();o();Qq();Xq();Wq=T(j(),1)});
|
|
6
|
+
export{wq as qg,Hq as rg,zq as sg,Qq as tg,hq as ug,s as vg,_q as wg,o as xg,JJ as yg,ZJ as zg,$J as Ag,Rq as Bg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{eg as A,fg as J,gg as $,jg as G}from"./cli-1.1.28-z5mbbt38.mjs";import{Aga as b,Bga as w,Fga as S,Gga as C,Nga as x,Zga as h,dga as O,gga as R}from"./cli-1.1.28-5y1xeh89.mjs";import{Cka as m,tka as N}from"./cli-1.1.28-q43r6snq.mjs";import{oma as F,zma as D}from"./cli-1.1.28-khcgtk4a.mjs";import{Vta as E}from"./cli-1.1.28-3fssr567.mjs";import{existsSync as T}from"fs";import{dirname as f}from"path";function M(q,z,Q={}){if(!T(q))return{outcome:"noSource",copiedKeys:0};let B=A(q);if(!B)return{outcome:"unparseableSource",copiedKeys:0};let L=T(z),U=L?A(z)??{}:{},I={...U},W=0;for(let V of Q.keys??Object.keys(B)){if(!(V in B))continue;if(V in U)continue;I[V]=B[V],W+=1}if(W===0&&L)return{outcome:"merged",copiedKeys:0};try{$(f(z)),J(z,I)}catch(V){return{outcome:"writeFailed",copiedKeys:0,message:V instanceof Error?V.message:String(V)}}return{outcome:"merged",copiedKeys:W}}var k=E(()=>{G()});import{chmodSync as v,existsSync as _,readFileSync as j,writeFileSync as y}from"fs";import{homedir as H}from"os";import{join as Z}from"path";function P(q){return Z(q,".claude")}function d(q,z,Q,B){let L=Z(q,".credentials.json"),U=Z(z,".credentials.json");if(!_(L))return 0;try{if(_(U)){let W=j(L),V=j(U);if(W.equals(V))return v(U,384),0;return B.push(`${U} already exists with different content — kept new file untouched`),0}$(z);let I=j(L);return y(U,I),v(U,384),g(I)}catch(I){return Q.push(`failed to copy .credentials.json: ${I instanceof Error?I.message:String(I)}`),0}}function g(q){try{let z=JSON.parse(q.toString("utf8"));if(z&&typeof z==="object")return Object.keys(z).length}catch{}return 1}function c(q,z,Q){let B=M(Z(q,"settings.json"),Z(z,"settings.json"),{keys:u});if(B.outcome==="unparseableSource")Q.push("legacy settings.json could not be parsed; skipped");else if(B.outcome==="writeFailed")Q.push(`failed to write settings.json: ${B.message}`);return B.copiedKeys}function K(q){return Z(q,`.claude${N()}.json`)}function l(q){return Z(q,`config${N()}.json`)}function p(q,z,Q){let B=K(q),L=l(z),U=M(B,L);if(U.outcome==="unparseableSource")return Q.push(`legacy ${B} could not be parsed; skipped`),0;if(U.outcome==="writeFailed")return Q.push(`failed to write ${L}: ${U.message}`),0;if(U.outcome==="noSource")return 0;return b(null),U.copiedKeys}function a(){let z=R().claudeToClaudinMigratedAt;if(typeof z==="string"&&z.length>0)return{migrated:!0,at:z};return{migrated:!1}}function n(q){O((z)=>({...z,claudeToClaudinMigratedAt:q}))}async function Zq(q={}){let z=q.homeDir??H(),Q=P(z),B=q.newDir??F(),L=[],U=[],I={tokens:0,settingsKeys:0,globalConfigKeys:0,anthropicProfileCreated:!1,errors:L,warnings:U,alreadyMigrated:!1,legacyDir:Q,newDir:B},W=_(K(z));if(!_(Q)&&!W)return I;let V=a();if(V.migrated&&!q.force)return I.alreadyMigrated=!0,I.migratedAt=V.at,I;try{$(B)}catch(Y){return L.push(`failed to create ${B}: ${Y instanceof Error?Y.message:String(Y)}`),I}if(_(Q))I.tokens=d(Q,B,L,U),I.settingsKeys=c(Q,B,L);if(I.globalConfigKeys=p(z,B,U),I.anthropicProfileCreated=i(B,I.tokens,U),L.length===0){let Y=new Date().toISOString();n(Y),I.migratedAt=Y}return I}function i(q,z,Q){if(z<=0)return!1;let B=Z(q,".credentials.json"),L;try{L=JSON.parse(j(B,"utf8"))}catch(X){return Q.push(`failed to read migrated .credentials.json for profile bootstrap: ${X instanceof Error?X.message:String(X)}`),!1}let I=L?.claudeAiOauth?.accessToken;if(typeof I!=="string"||I.length===0)return!1;let W=C();if(W.some((X)=>X.provider==="anthropic"))return!1;let V=S("anthropic"),Y={provider:"anthropic",name:V.name,baseUrl:V.baseUrl,model:V.model};try{if(!x(Y,{makeActive:W.length===0}))return Q.push("anthropic profile could not be saved after migration"),!1;return!0}catch(X){return Q.push(`failed to create anthropic profile: ${X instanceof Error?X.message:String(X)}`),!1}}function _q(q){if(q.alreadyMigrated)return`nothing to do (last run: ${q.migratedAt??"unknown"}). Pass --force to re-run.`;let z=[];z.push(`${q.tokens} token${q.tokens===1?"":"s"}`),z.push(`${q.settingsKeys} settings key${q.settingsKeys===1?"":"s"}`),z.push(`${q.globalConfigKeys} global config key${q.globalConfigKeys===1?"":"s"}`),z.push(q.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let Q=z.join(", "),B=`. ${q.legacyDir} kept untouched. Run /import to bring skills, MCP servers, agents and commands.`,L=`${Q}${B}`;if(q.warnings.length>0)L+=` Warnings: ${q.warnings.join("; ")}`;if(q.errors.length>0)L+=` Errors: ${q.errors.join("; ")}`;return L}function o(q=H()){return _(P(q))}function t(q=H()){return _(K(q))}function $q(q=H()){let z=R();if(z.claudeToClaudinMigratedAt)return!1;if(z.legacyMigrationSkipped===!0)return!1;return o(q)||t(q)}function jq(){O((q)=>({...q,legacyMigrationSkipped:!0}))}var u;var s=E(()=>{m();w();G();k();D();h();u=["customApiKeyResponses","providerProfiles","activeProviderProfileId"]});
|
|
2
|
+
export{Zq as gd,_q as hd,o as id,$q as jd,jq as kd,s as ld};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Paa as $,zaa as T}from"./cli-1.1.28-5y1xeh89.mjs";import{Pja as J,Rja as Y}from"./cli-1.1.28-4kda7s33.mjs";import{Gla as E,Jla as X}from"./cli-1.1.28-2esp2ssp.mjs";import{Vta as V}from"./cli-1.1.28-3fssr567.mjs";function j(){B.clear()}async function P(){let q=await Z();if(!q)return null;if(q.host!=="github.com")return null;return`${q.owner}/${q.name}`}async function Z(){let q=J();if(B.has(q))return B.get(q)??null;try{let x=await T();if(E(`Git remote URL: ${x}`),!x)return E("No git remote URL found"),B.set(q,null),null;let z=Q(x);return E(`Parsed repository: ${z?`${z.host}/${z.owner}/${z.name}`:null} from URL: ${x}`),B.set(q,z),z}catch(x){return E(`Error detecting repository: ${x}`),B.set(q,null),null}}function S(){let q=B.get(J());if(!q||q.host!=="github.com")return null;return`${q.owner}/${q.name}`}function Q(q){let x=q.trim(),z=x.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]){if(!O(z[1]))return null;return{host:z[1],owner:z[2],name:z[3]}}let A=x.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(A?.[1]&&A[2]&&A[3]&&A[4]){let I=A[1],K=A[2],N=K.split(":")[0]??"";if(!O(N))return null;return{host:I==="https"||I==="http"?K:N,owner:A[3],name:A[4]}}return null}function D(q){let x=q.trim(),z=Q(x);if(z){if(z.host!=="github.com")return null;return`${z.owner}/${z.name}`}if(!x.includes("://")&&!x.includes("@")&&x.includes("/")){let A=x.split("/");if(A.length===2&&A[0]&&A[1]){let I=A[1].replace(/\.git$/,"");return`${A[0]}/${I}`}}return E(`Could not parse repository from: ${x}`),null}function O(q){if(!q.includes("."))return!1;let x=q.split(".").pop();if(!x)return!1;return/^[a-zA-Z]+$/.test(x)}var B;var _=V(()=>{Y();X();$();B=new Map});
|
|
2
|
+
export{j as l$,P as m$,Z as n$,S as o$,Q as p$,D as q$,_ as r$};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Cc as t,Dc as DJ}from"./cli-1.1.28-y5w3ev7m.mjs";import{mh as r,nh as IJ}from"./cli-1.1.28-davs3ve8.mjs";import{$m as _J,Ez as c,Fz as MJ,Gm as g,Jm as UJ,Lx as XJ,MH as s,PS as h,QE as YJ,QH as yJ,RH as l,SH as TJ,Wm as d,XE as jJ,YE as PJ,ZO as $J,_j as p,bF as o,cF as xJ,kn as m,nG as a,oG as LJ,qn as wJ,sU as bJ,xo as JJ}from"./cli-1.1.28-zhftjycn.mjs";import{FW as BJ,tW as u,uW as f}from"./cli-1.1.28-cfq2wwx5.mjs";import{d8 as QJ}from"./cli-1.1.28-ak2bzv1v.mjs";import{$ha as U,Sha as A,Tha as NJ,cfa as I,hia as k,ofa as D,pfa as zJ,wba as KJ}from"./cli-1.1.28-5y1xeh89.mjs";import{rja as GJ}from"./cli-1.1.28-es8var4t.mjs";import{Dka as b,Gka as C}from"./cli-1.1.28-knfg26kb.mjs";import{Gla as y,Jla as WJ,ola as qJ,sla as W,wla as VJ}from"./cli-1.1.28-2esp2ssp.mjs";import{lma as e}from"./cli-1.1.28-pykx8k1j.mjs";import{oma as _,zma as ZJ}from"./cli-1.1.28-khcgtk4a.mjs";import{Vpa as F,csa as S,kpa as H}from"./cli-1.1.28-wvj52k91.mjs";import{Sta as CJ}from"./cli-1.1.28-3fssr567.mjs";xJ();IJ();S();GJ();C();KJ();h();QJ();qJ();$J();JJ();k();e();h();XJ();YJ();function j(){}S();C();NJ();WJ();ZJ();VJ();MJ();k();LJ();_J();bJ();TJ();BJ();zJ();wJ();UJ();import{join as Z}from"path";var AJ=30;function N(){let q=((I()||{}).cleanupPeriodDays??AJ)*24*60*60*1000;return new Date(Date.now()-q)}function i(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function vJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function P(X,J,q){let $={messages:0,errors:0};try{let G=await W().readdir(X);for(let K of G)try{if(vJ(K.name)<J)if(await W().unlink(Z(X,K.name)),q)$.messages++;else $.errors++}catch(Y){U(Y)}}catch(G){if(G instanceof Error&&"code"in G&&G.code!=="ENOENT")U(G)}return $}async function HJ(){let X=W(),J=N(),q=A.errors(),$=A.baseLogs(),G=await P(q,J,!1);try{let K;try{K=await X.readdir($)}catch{return G}let Y=K.filter((Q)=>Q.isDirectory()&&Q.name.startsWith("mcp-logs-")).map((Q)=>Z($,Q.name));for(let Q of Y)G=i(G,await P(Q,J,!0)),await V(Q,X)}catch(K){if(K instanceof Error&&"code"in K&&K.code!=="ENOENT")U(K)}return G}async function w(X,J,q){if((await q.stat(X)).mtime<J)return await q.unlink(X),!0;return!1}async function V(X,J){try{await J.rmdir(X)}catch{}}async function FJ(){let X=N(),J={messages:0,errors:0},q=p(),$=W(),G;try{G=await $.readdir(q)}catch{return J}for(let K of G){if(!K.isDirectory())continue;let Y=Z(q,K.name),Q;try{Q=await $.readdir(Y)}catch{J.errors++;continue}for(let z of Q)if(z.isFile()){if(!z.name.endsWith(".jsonl")&&!z.name.endsWith(".cast"))continue;try{if(await w(Z(Y,z.name),X,$))J.messages++}catch{J.errors++}}else if(z.isDirectory()){let L=Z(Y,z.name),B=Z(L,m),O;try{O=await $.readdir(B)}catch{await V(L,$);continue}for(let M of O)if(M.isFile())try{if(await w(Z(B,M.name),X,$))J.messages++}catch{J.errors++}else if(M.isDirectory()){let T=Z(B,M.name),R;try{R=await $.readdir(T)}catch{continue}for(let E of R){if(!E.isFile())continue;try{if(await w(Z(T,E.name),X,$))J.messages++}catch{J.errors++}}await V(T,$)}await V(B,$),await V(L,$)}await V(Y,$)}return J}async function x(X,J,q=!0){let $=N(),G={messages:0,errors:0},K=W(),Y;try{Y=await K.readdir(X)}catch{return G}for(let Q of Y){if(!Q.isFile()||!Q.name.endsWith(J))continue;try{if(await w(Z(X,Q.name),$,K))G.messages++}catch{G.errors++}}if(q)await V(X,K);return G}async function OJ(){let X=d(),J=await x(X,".md"),q=Z(_(),"plans");if(q!==X){let $=await x(q,".md");return i(J,$)}return J}async function RJ(){let X=N(),J={messages:0,errors:0},q=W();try{let $=_(),G=Z($,"file-history"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Q)=>Q.isDirectory()).map((Q)=>Z(G,Q.name));await Promise.all(Y.map(async(Q)=>{try{if((await q.stat(Q)).mtime<X)await q.rm(Q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await V(G,q)}catch($){U($)}return J}async function EJ(){let X=N(),J={messages:0,errors:0},q=W();try{let $=_(),G=Z($,"session-env"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Q)=>Q.isDirectory()).map((Q)=>Z(G,Q.name));for(let Q of Y)try{if((await q.stat(Q)).mtime<X)await q.rm(Q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await V(G,q)}catch($){U($)}return J}async function kJ(){let X=N(),J={messages:0,errors:0},q=W();try{let $=Z(_(),"tasks"),G=f(u()),K;try{K=await q.readdir($)}catch{return J}for(let Y of K){if(!Y.isDirectory()||Y.name===G)continue;let Q=Z($,Y.name);try{if(await hJ(Q,q)<X)await q.rm(Q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}}await V($,q)}catch($){U($)}return J}async function hJ(X,J){let q=(await J.stat(X)).mtime,$=await J.readdir(X).catch(()=>[]);for(let G of $){if(!G.isFile())continue;try{let{mtime:K}=await J.stat(Z(X,G.name));if(K>q)q=K}catch{}}return q}async function SJ(){let X=N(),J={messages:0,errors:0},q=W(),$=Z(_(),"debug"),G;try{G=await q.readdir($)}catch{return J}for(let K of G){if(!K.isFile()||!K.name.endsWith(".txt")||K.name==="latest")continue;try{if(await w(Z($,K.name),X,q))J.messages++}catch{J.errors++}}return J}async function n(){let{errors:X}=l();if(X.length>0&&D("cleanupPeriodDays")){y("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await HJ(),await FJ(),await OJ(),await RJ(),await EJ(),await kJ(),await SJ(),await c(),await a(N());let J=await g(N());if(J>0)b("",{removed:J})}yJ();DJ();var pJ=(PJ(),CJ(jJ));var v=600000;function mX(){r(),j(),pJ.initExtractMemories(),o(),t();let X=!0;async function J(){if(F()&&H()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await n();if(F()&&H()>Date.now()-60000){setTimeout(J,v).unref();return}await s()}setTimeout(J,v).unref()}
|
|
2
|
+
export{mX as Pa};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{JV as O,KV as S}from"./cli-1.1.28-ffy07rnm.mjs";import{$ha as G,Bga as k,Nca as R,Paa as I,Pca as _,S$ as D,T$ as x,hia as y,mga as z,nga as A,raa as B,saa as M}from"./cli-1.1.28-5y1xeh89.mjs";import{Pja as q,Rja as v}from"./cli-1.1.28-4kda7s33.mjs";import{Bsa as K,Csa as W}from"./cli-1.1.28-fetsedc8.mjs";W();v();k();_();x();I();y();S();var b=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function F(L){return!b.some((Q)=>Q.test(L))}function P(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!F(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function N(){if(R.platform==="win32")return[];if(!await M())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
|
|
2
|
+
`)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(B(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return P(U,5)}catch(L){return G(L),[]}}var T=604800000;function E(L){let Q=z(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=z(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>T)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
|
|
3
|
+
export{P as rb,d as sb,p as tb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{rd as k,sd as P}from"./cli-1.1.28-040xb4f8.mjs";import{Ad as f,yd as O,zd as A}from"./cli-1.1.28-w0kxa99b.mjs";import{O9 as E,Z8 as U,b9 as V,g9 as j}from"./cli-1.1.28-ak2bzv1v.mjs";import{$ha as K,Bga as G,Iga as I,Zga as h,dga as N,gga as J,hia as b,nga as Y,oda as X,pda as H,vda as x}from"./cli-1.1.28-5y1xeh89.mjs";import{dma as F,lma as L}from"./cli-1.1.28-pykx8k1j.mjs";import{csa as T,spa as W}from"./cli-1.1.28-wvj52k91.mjs";import{Vta as y}from"./cli-1.1.28-3fssr567.mjs";function d(){Z=!0}function m(){if(!Z)return!1;return Z=!1,!0}function l(q){return(B)=>({...B,...typeof q.permission_mode==="string"?{toolPermissionContext:{...B.toolPermissionContext,mode:H(q.permission_mode)}}:{},...typeof q.is_ultraplan_mode==="boolean"?{isUltraplanMode:q.is_ultraplan_mode}:{}})}function S({newState:q,oldState:B}){let _=m(),$=B.toolPermissionContext.mode,Q=q.toolPermissionContext.mode;if($!==Q){let z=X($),D=X(Q);if(z!==D){let R=D==="plan"&&q.isUltraplanMode&&!B.isUltraplanMode?!0:null;O({permission_mode:D,is_ultraplan_mode:R})}A(Q)}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel===null){if(W(null),!_)Y((z)=>({...z,activeModelForProject:void 0,activeModelForProjectProfileId:void 0}))}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel!==null){if(W(q.mainLoopModel),!_){let z=I()?.id;Y((D)=>({...D,activeModelForProject:q.mainLoopModel??void 0,activeModelForProjectProfileId:z}))}}if(q.expandedView!==B.expandedView){let z=q.expandedView==="tasks",D=q.expandedView==="teammates";if(J().showExpandedTodos!==z||J().showSpinnerTree!==D)N((R)=>({...R,showExpandedTodos:z,showSpinnerTree:D}))}if(q.verbose!==B.verbose&&J().verbose!==q.verbose){let z=q.verbose;N((D)=>({...D,verbose:z}))}if(q.collapseSubagentProgress!==B.collapseSubagentProgress&&J().collapseSubagentProgress!==q.collapseSubagentProgress){let z=q.collapseSubagentProgress;N((D)=>({...D,collapseSubagentProgress:z}))}if(q.settings!==B.settings)try{if(U(),V(),j(),q.settings.env!==B.settings.env)k()}catch(z){K(F(z))}}var Z=!1;var u=y(()=>{T();E();G();L();b();P();h();x();f()});
|
|
2
|
+
export{d as md,l as nd,S as od,u as pd};
|