@claudiolabs/claudin 0.5.13 → 0.6.0
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/bin/claudin +78 -20
- package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +1 -0
- package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +3 -0
- package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +1 -0
- package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +1 -0
- package/dist/chunks/REPL-0.6.0-z46m261k.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +1 -0
- package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +1 -0
- package/dist/chunks/agents-0.6.0-69xm47ft.mjs +3 -0
- package/dist/chunks/agents-0.6.0-8m3ze781.mjs +110 -0
- package/dist/chunks/api-0.6.0-3cymw2a4.mjs +1 -0
- package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +1 -0
- package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +1 -0
- package/dist/chunks/auth-0.6.0-6j97pezz.mjs +1 -0
- package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +1 -0
- package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +1 -0
- package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +4 -0
- package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +1 -0
- package/dist/chunks/btw-0.6.0-9pm632qb.mjs +1 -0
- package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +3 -0
- package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +4 -0
- package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +1 -0
- package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +1 -0
- package/dist/chunks/clear-0.6.0-g494jnyj.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +1 -0
- package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +2 -0
- package/dist/chunks/cli-0.6.0-0yb835ch.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1bzempk2.mjs +12 -0
- package/dist/chunks/cli-0.6.0-1cfghz45.mjs +20 -0
- package/dist/chunks/cli-0.6.0-1d77dayv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1hxw8522.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1jem05z7.mjs +45 -0
- package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +17 -0
- package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +2 -0
- package/dist/chunks/cli-0.6.0-295jdx7b.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2age3kgh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2c7skznf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2h139nq7.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2hnyx7jy.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2kvggf16.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2m8k6622.mjs +18 -0
- package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-32mypc03.mjs +4 -0
- package/dist/chunks/cli-0.6.0-363zfcx9.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3kbabt72.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +16 -0
- package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +2 -0
- package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-592v9jcz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-59hncecf.mjs +17 -0
- package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +2 -0
- package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +18 -0
- package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +2 -0
- package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +3 -0
- package/dist/chunks/cli-0.6.0-6hak6gny.mjs +2 -0
- package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +2 -0
- package/dist/chunks/cli-0.6.0-6w72esaf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7m760mbp.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +12 -0
- package/dist/chunks/cli-0.6.0-7shwamwq.mjs +4 -0
- package/dist/chunks/cli-0.6.0-855c2tef.mjs +2 -0
- package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-8meqksnp.mjs +9 -0
- package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +3 -0
- package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-91exkfnc.mjs +2 -0
- package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +2 -0
- package/dist/chunks/cli-0.6.0-9faq31pe.mjs +4 -0
- package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +133 -0
- package/dist/chunks/cli-0.6.0-9qdj830c.mjs +4 -0
- package/dist/chunks/cli-0.6.0-9rq760gd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-9rxskyst.mjs +5 -0
- package/dist/chunks/cli-0.6.0-9zx9qdaq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a21pffqx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +15 -0
- package/dist/chunks/cli-0.6.0-aqestr3c.mjs +193 -0
- package/dist/chunks/cli-0.6.0-awtw1t27.mjs +2 -0
- package/dist/chunks/cli-0.6.0-b6tgentw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +4 -0
- package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +2 -0
- package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +3 -0
- package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +2 -0
- package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +2 -0
- package/dist/chunks/cli-0.6.0-da98vnek.mjs +3 -0
- package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +2 -0
- package/dist/chunks/cli-0.6.0-djm9knfa.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-e05hymmk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-e8a59m32.mjs +2 -0
- package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +4 -0
- package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +3 -0
- package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g7exm24t.mjs +3 -0
- package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gassmthg.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +4 -0
- package/dist/chunks/cli-0.6.0-gw1zy408.mjs +2 -0
- package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hchy51xn.mjs +15 -0
- package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hraw3dez.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +6 -0
- package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +34 -0
- package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +7 -0
- package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +50 -0
- package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +67 -0
- package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +9 -0
- package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +8 -0
- package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +6 -0
- package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +5 -0
- package/dist/chunks/cli-0.6.0-m47zataq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +4 -0
- package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +58 -0
- package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +42 -0
- package/dist/chunks/cli-0.6.0-pbegwent.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pk4x582t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-qnby905t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +6 -0
- package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +59 -0
- package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +4 -0
- package/dist/chunks/cli-0.6.0-rrp10514.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rytp9dva.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s2w74466.mjs +15 -0
- package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +2 -0
- package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +21 -0
- package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ssdst17p.mjs +2 -0
- package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +12 -0
- package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-t93n2gev.mjs +3 -0
- package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +3 -0
- package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +2 -0
- package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-tz34279s.mjs +3 -0
- package/dist/chunks/cli-0.6.0-v56hqc26.mjs +25 -0
- package/dist/chunks/cli-0.6.0-v7kten40.mjs +2 -0
- package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +2 -0
- package/dist/chunks/cli-0.6.0-vcvchaan.mjs +2 -0
- package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +5321 -0
- package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +4 -0
- package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +18 -0
- package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +133 -0
- package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +10 -0
- package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +2 -0
- package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +39 -0
- package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +1 -0
- package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +24 -0
- package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zabvyppx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zngss8r1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +5 -0
- package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +24 -0
- package/dist/chunks/client-0.6.0-djg9p1rh.mjs +1 -0
- package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +1 -0
- package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +3 -0
- package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +1 -0
- package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +1 -0
- package/dist/chunks/constants-0.6.0-qe49df42.mjs +1 -0
- package/dist/chunks/context-0.6.0-t33461h9.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +1 -0
- package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +1 -0
- package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +9 -0
- package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +1 -0
- package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +1 -0
- package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +1365 -0
- package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +1 -0
- package/dist/chunks/detection-0.6.0-8thkktsw.mjs +1 -0
- package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +1 -0
- package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +1 -0
- package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +10 -0
- package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +1 -0
- package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +1 -0
- package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +1 -0
- package/dist/chunks/exit-0.6.0-xys34kqe.mjs +1 -0
- package/dist/chunks/export-0.6.0-135ccc8z.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +1 -0
- package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +1 -0
- package/dist/chunks/feedback-0.6.0-j898w96j.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +1 -0
- package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +1 -0
- package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +4 -0
- package/dist/chunks/grove-0.6.0-bge298jb.mjs +1 -0
- package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +1 -0
- package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +2 -0
- package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +6 -0
- package/dist/chunks/help-0.6.0-krmgwd6p.mjs +1 -0
- package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +3 -0
- package/dist/chunks/hooks-0.6.0-652920vq.mjs +79 -0
- package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +1 -0
- package/dist/chunks/ide-0.6.0-j84km85e.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +1 -0
- package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +1 -0
- package/dist/chunks/index-0.6.0-33tqx1q0.mjs +1 -0
- package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +2 -0
- package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +2 -0
- package/dist/chunks/index-0.6.0-9br46rw2.mjs +1 -0
- package/dist/chunks/index-0.6.0-apr64dfb.mjs +1 -0
- package/dist/chunks/index-0.6.0-e79va7fg.mjs +9 -0
- package/dist/chunks/index-0.6.0-f35c7dte.mjs +1 -0
- package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +1 -0
- package/dist/chunks/index-0.6.0-gxd56xhn.mjs +1 -0
- package/dist/chunks/index-0.6.0-kbwkgp90.mjs +5 -0
- package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +1 -0
- package/dist/chunks/index-0.6.0-mxm4er0h.mjs +1 -0
- package/dist/chunks/index-0.6.0-nny5a3rt.mjs +30 -0
- package/dist/chunks/index-0.6.0-nst006cq.mjs +17 -0
- package/dist/chunks/index-0.6.0-rv4pntam.mjs +1 -0
- package/dist/chunks/index-0.6.0-scwzrsg7.mjs +1 -0
- package/dist/chunks/index-0.6.0-w2djrw2s.mjs +9 -0
- package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +1 -0
- package/dist/chunks/index-0.6.0-wjesenkh.mjs +1 -0
- package/dist/chunks/index-0.6.0-y9ppfz99.mjs +1 -0
- package/dist/chunks/index-0.6.0-zem7h5vp.mjs +1 -0
- package/dist/chunks/init-0.6.0-1770vy5g.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +1 -0
- package/dist/chunks/ink-0.6.0-qwcph42h.mjs +1 -0
- package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +870 -0
- package/dist/chunks/install-0.6.0-26gqe0fd.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +1 -0
- package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +2 -0
- package/dist/chunks/knowledge-0.6.0-ew766111.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +1 -0
- package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +1 -0
- package/dist/chunks/main-0.6.0-rzx5483p.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +1 -0
- package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +4 -0
- package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +1 -0
- package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +17 -0
- package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +1 -0
- package/dist/chunks/memory-0.6.0-wzcpareq.mjs +3 -0
- package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +2 -0
- package/dist/chunks/model-0.6.0-2ncemzh6.mjs +1 -0
- package/dist/chunks/model-0.6.0-tefdsge4.mjs +2 -0
- package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +12 -0
- package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +14 -0
- package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +1 -0
- package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +1 -0
- package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +1 -0
- package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +3 -0
- package/dist/chunks/plan-0.6.0-v60h02ep.mjs +1 -0
- package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +1 -0
- package/dist/chunks/plugin-0.6.0-43b045ac.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +1 -0
- package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +2 -0
- package/dist/chunks/print-0.6.0-09j4e2ec.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +1 -0
- package/dist/chunks/process-0.6.0-194s5ayw.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +9 -0
- package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +1 -0
- package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +1 -0
- package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +13 -0
- package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +34 -0
- package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +1 -0
- package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +2 -0
- package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +1 -0
- package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +1 -0
- package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +2 -0
- package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +1 -0
- package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +1 -0
- package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +1 -0
- package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +5 -0
- package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +1 -0
- package/dist/chunks/skills-0.6.0-78btd7cr.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +1 -0
- package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +1 -0
- package/dist/chunks/stats-0.6.0-w163rgvd.mjs +6 -0
- package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +1 -0
- package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +1 -0
- package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +1 -0
- package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +1 -0
- package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +1 -0
- package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +1 -0
- package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +1 -0
- package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +4 -0
- package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +86 -0
- package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +1 -0
- package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +1 -0
- package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +1 -0
- package/dist/chunks/utils-0.6.0-pf338f8r.mjs +1 -0
- package/dist/chunks/vim-0.6.0-xr4692km.mjs +1 -0
- package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +1 -0
- package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +132 -0
- package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +1 -0
- package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +0 -1
- package/dist/chunks/App-0.5.13-h8h37pzk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +0 -3
- package/dist/chunks/Doctor-0.5.13-335trspw.mjs +0 -1
- package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +0 -1
- package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +0 -1
- package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +0 -1
- package/dist/chunks/agents-0.5.13-manb7tcq.mjs +0 -3
- package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +0 -110
- package/dist/chunks/api-0.5.13-q2anppzf.mjs +0 -1
- package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +0 -1
- package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +0 -1
- package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +0 -1
- package/dist/chunks/auth-0.5.13-jn53extx.mjs +0 -1
- package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +0 -1
- package/dist/chunks/branch-0.5.13-qmyekghp.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +0 -1
- package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +0 -1
- package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +0 -3
- package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +0 -4
- package/dist/chunks/caches-0.5.13-75dr0q42.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +0 -1
- package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +0 -1
- package/dist/chunks/clear-0.5.13-k8q15yen.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +0 -1
- package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-055v20cs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-061m60f2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +0 -3
- package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-15kmd08p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-16khcs2m.mjs +0 -3
- package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-1qt91z42.mjs +0 -2
- package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +0 -45
- package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +0 -5276
- package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-426cpksk.mjs +0 -4
- package/dist/chunks/cli-0.5.13-4at49cv9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +0 -2
- package/dist/chunks/cli-0.5.13-50cwkg00.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +0 -6
- package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-62qasgve.mjs +0 -2
- package/dist/chunks/cli-0.5.13-667jxcab.mjs +0 -18
- package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6yehabyw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +0 -4
- package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +0 -2
- package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-77mqds6w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7fzk2679.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7je48sax.mjs +0 -15
- package/dist/chunks/cli-0.5.13-898bb5x7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-9r26f53q.mjs +0 -8
- package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +0 -3
- package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +0 -6
- package/dist/chunks/cli-0.5.13-acgafbm9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-adphma77.mjs +0 -2
- package/dist/chunks/cli-0.5.13-atfk3e81.mjs +0 -2
- package/dist/chunks/cli-0.5.13-athb0q85.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b2593ngv.mjs +0 -4
- package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b6aefc28.mjs +0 -1
- package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cnzars85.mjs +0 -5
- package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +0 -39
- package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +0 -24
- package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d6bw823x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +0 -15
- package/dist/chunks/cli-0.5.13-ddpterr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +0 -24
- package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +0 -34
- package/dist/chunks/cli-0.5.13-epjykaww.mjs +0 -17
- package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +0 -10
- package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f1e673b2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f6tattxs.mjs +0 -4
- package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +0 -3
- package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fgckevv1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-frerk7s6.mjs +0 -2
- package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gb0363rs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +0 -15
- package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gw433gw1.mjs +0 -9
- package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +0 -17
- package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +0 -2
- package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +0 -25
- package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +0 -4
- package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j97wk70q.mjs +0 -2
- package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +0 -3
- package/dist/chunks/cli-0.5.13-jqns71dy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-khtf0a93.mjs +0 -9
- package/dist/chunks/cli-0.5.13-kry2fk76.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +0 -6
- package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mwrgy706.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nc37z94b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +0 -133
- package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +0 -16
- package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +0 -193
- package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qfxggvke.mjs +0 -18
- package/dist/chunks/cli-0.5.13-qkjyj942.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qrn019we.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +0 -3
- package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +0 -2
- package/dist/chunks/cli-0.5.13-r442vgxt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rd990xfy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +0 -58
- package/dist/chunks/cli-0.5.13-rrqv533k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s005ka5h.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s58vke8w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s719y89z.mjs +0 -2
- package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +0 -4
- package/dist/chunks/cli-0.5.13-sww17qtj.mjs +0 -42
- package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +0 -3
- package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-teedketa.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-thgp6asf.mjs +0 -21
- package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tr9s34te.mjs +0 -59
- package/dist/chunks/cli-0.5.13-tvfs784w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ve50w85d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vee98ybt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +0 -2
- package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +0 -5
- package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +0 -5
- package/dist/chunks/cli-0.5.13-xvg417w8.mjs +0 -7
- package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +0 -67
- package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +0 -20
- package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yskavx3s.mjs +0 -12
- package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +0 -4
- package/dist/chunks/cli-0.5.13-z0f17269.mjs +0 -2
- package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +0 -2
- package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +0 -3
- package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +0 -4
- package/dist/chunks/cli-0.5.13-zms1a287.mjs +0 -50
- package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +0 -133
- package/dist/chunks/client-0.5.13-wkzv25nn.mjs +0 -1
- package/dist/chunks/color-0.5.13-yd46yzt2.mjs +0 -1
- package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +0 -3
- package/dist/chunks/config-0.5.13-mwq6ejza.mjs +0 -1
- package/dist/chunks/config-0.5.13-t1bvsttc.mjs +0 -1
- package/dist/chunks/context-0.5.13-zffaf66t.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +0 -1
- package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +0 -1
- package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +0 -9
- package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +0 -1
- package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +0 -1
- package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +0 -1177
- package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +0 -1
- package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +0 -1
- package/dist/chunks/diff-0.5.13-515a1hs6.mjs +0 -1
- package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +0 -1
- package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +0 -10
- package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +0 -1
- package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +0 -1
- package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +0 -1
- package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +0 -1
- package/dist/chunks/export-0.5.13-d2yz4k76.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +0 -1
- package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +0 -1
- package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +0 -1
- package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +0 -1
- package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +0 -1
- package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +0 -1
- package/dist/chunks/headless-0.5.13-05rns8kj.mjs +0 -2
- package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +0 -6
- package/dist/chunks/help-0.5.13-8pfrra9q.mjs +0 -1
- package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +0 -3
- package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +0 -1
- package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +0 -79
- package/dist/chunks/ide-0.5.13-r40xcg67.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +0 -1
- package/dist/chunks/index-0.5.13-06mj6naw.mjs +0 -1
- package/dist/chunks/index-0.5.13-12hemzfc.mjs +0 -1
- package/dist/chunks/index-0.5.13-4559xg8z.mjs +0 -17
- package/dist/chunks/index-0.5.13-5gmbch0k.mjs +0 -9
- package/dist/chunks/index-0.5.13-5qstd1y9.mjs +0 -1
- package/dist/chunks/index-0.5.13-5zhr2qys.mjs +0 -1
- package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +0 -1
- package/dist/chunks/index-0.5.13-9zz559q7.mjs +0 -1
- package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +0 -1
- package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +0 -2
- package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +0 -1
- package/dist/chunks/index-0.5.13-ej6cywk8.mjs +0 -30
- package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +0 -1
- package/dist/chunks/index-0.5.13-fertw6vb.mjs +0 -1
- package/dist/chunks/index-0.5.13-jwf634zt.mjs +0 -1
- package/dist/chunks/index-0.5.13-nny2e7sx.mjs +0 -5
- package/dist/chunks/index-0.5.13-np7s1rcw.mjs +0 -1
- package/dist/chunks/index-0.5.13-qkvpat3t.mjs +0 -9
- package/dist/chunks/index-0.5.13-qq60ettc.mjs +0 -1
- package/dist/chunks/index-0.5.13-rty9gaxf.mjs +0 -2
- package/dist/chunks/index-0.5.13-yqdcztr9.mjs +0 -1
- package/dist/chunks/index-0.5.13-zhze2z09.mjs +0 -1
- package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +0 -1
- package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +0 -1
- package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +0 -870
- package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +0 -1
- package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +0 -2
- package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +0 -1
- package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +0 -1
- package/dist/chunks/main-0.5.13-n87gjwzq.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +0 -1
- package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +0 -4
- package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +0 -17
- package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +0 -1
- package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +0 -1
- package/dist/chunks/memory-0.5.13-exfd915f.mjs +0 -3
- package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +0 -2
- package/dist/chunks/model-0.5.13-02rcx381.mjs +0 -1
- package/dist/chunks/model-0.5.13-nn224m13.mjs +0 -2
- package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +0 -12
- package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +0 -14
- package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +0 -1
- package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +0 -1
- package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +0 -1
- package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +0 -3
- package/dist/chunks/plan-0.5.13-837bdxnq.mjs +0 -1
- package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +0 -1
- package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +0 -1
- package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +0 -2
- package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +0 -1
- package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +0 -9
- package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +0 -1
- package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +0 -1
- package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +0 -13
- package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +0 -34
- package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +0 -1
- package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +0 -2
- package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +0 -1
- package/dist/chunks/rename-0.5.13-c388bb34.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +0 -1
- package/dist/chunks/resume-0.5.13-zwms595g.mjs +0 -2
- package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +0 -1
- package/dist/chunks/session-0.5.13-ef059m1s.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +0 -1
- package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +0 -1
- package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +0 -5
- package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +0 -1
- package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +0 -1
- package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +0 -1
- package/dist/chunks/stats-0.5.13-6083a1n1.mjs +0 -6
- package/dist/chunks/status-0.5.13-043z2z1k.mjs +0 -1
- package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +0 -1
- package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +0 -1
- package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +0 -1
- package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +0 -1
- package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +0 -1
- package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +0 -1
- package/dist/chunks/tools-0.5.13-jd6408d0.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +0 -4
- package/dist/chunks/update-0.5.13-r5daertf.mjs +0 -86
- package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +0 -1
- package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +0 -1
- package/dist/chunks/util-0.5.13-f4gpmja3.mjs +0 -1
- package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +0 -1
- package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +0 -1
- package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +0 -1
- package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +0 -132
- package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +0 -1
- package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +0 -7
- /package/dist/chunks/{cli-0.5.13-epw9z05w.mjs → cli-0.6.0-hcx40dgf.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-07hv5jdz.mjs → cli-0.6.0-ktf52b8k.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-c4q1pthh.mjs → cli-0.6.0-td7dsace.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ch as W,Dh as B}from"./cli-0.6.0-hms5fdyd.mjs";import{p0 as U,r0 as J}from"./cli-0.6.0-ycj7gxxz.mjs";import{P0 as V,Q0 as v}from"./cli-0.6.0-t93n2gev.mjs";import{D4 as R,Y4 as $,x1 as N,y1 as _,y4 as Q}from"./cli-0.6.0-3qpvyrpf.mjs";import{Gda as Z,yda as K}from"./cli-0.6.0-aqestr3c.mjs";import{fpa as Y}from"./cli-0.6.0-szxjcmcn.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();v();Z();B();J()});
|
|
2
|
+
export{w as Hb,E as Ib};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Jba as P,N7 as Q,P7 as M,bca as R}from"./cli-0.6.0-aqestr3c.mjs";import{cha as G,fha as C}from"./cli-0.6.0-kr9jt2p9.mjs";import{fpa as j}from"./cli-0.6.0-szxjcmcn.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
|
|
2
|
+
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
+
export{g as O0,w as P0,f as Q0};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{RW as t,RY as o,_W as p,iY as j,jY as s,kY as F,mY as V}from"./cli-0.6.0-r5tyrw7e.mjs";import{p0 as w,q0 as g,r0 as y}from"./cli-0.6.0-ycj7gxxz.mjs";import{D7 as _,E7 as n,w7 as $,x7 as a}from"./cli-0.6.0-aqestr3c.mjs";import{bpa as i,fpa as v}from"./cli-0.6.0-szxjcmcn.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
|
|
2
|
+
`)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
|
|
3
|
+
export{Hq as xf,Mq as yf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$7 as E,Gda as m,R8 as F,V8 as f,_7 as K,yda as U}from"./cli-0.6.0-aqestr3c.mjs";import{mfa as v,nfa as x}from"./cli-0.6.0-xyv90m2s.mjs";import{Qga as D,Uga as g}from"./cli-0.6.0-kr9jt2p9.mjs";import{fpa as S}from"./cli-0.6.0-szxjcmcn.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
|
|
2
|
+
export{P as jh,o as kh,h as lh,C as mh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{fpa as j}from"./cli-0.6.0-szxjcmcn.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
|
|
2
|
+
export{x as f0,y as g0,z as h0,A as i0,B as j0,C as k0,D as l0,k as m0};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$n as i,Ym as E,Zm as m,Zn as l,_m as Xq,_n as Rq,ao as Aq,tn as S,yn as Zq}from"./cli-0.6.0-vj1q5vmq.mjs";import{A$ as vq,Gda as Qq,p$ as u,r$ as g,u$ as h,v$ as n,yda as D}from"./cli-0.6.0-aqestr3c.mjs";import{Lea as d,Nea as Uq}from"./cli-0.6.0-jfft7zdk.mjs";import{Hga as P,Iga as v,Mga as f,Qga as M,Uga as y,cha as V,fha as e}from"./cli-0.6.0-kr9jt2p9.mjs";import{Dha as _,wha as W,xha as O,yha as C}from"./cli-0.6.0-nxpvznpz.mjs";import{Ioa as qq,qoa as p}from"./cli-0.6.0-5m6h57jc.mjs";import{fpa as N}from"./cli-0.6.0-szxjcmcn.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
+
export{Fq as Hc,r as Ic,nq as Jc,lq as Kc,Oq as Lc,QQ as Mc,XQ as Nc,Dq as Oc};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Xf as d,Yf as Vq}from"./cli-0.6.0-zxckyy4s.mjs";import{GQ as Oq,_O as a,aP as yq,eQ as l}from"./cli-0.6.0-vj1q5vmq.mjs";import{GY as $,RW as Zq,RY as Gq,kY as T,mY as R}from"./cli-0.6.0-r5tyrw7e.mjs";import{IZ as t,KZ as v,NZ as e}from"./cli-0.6.0-rrp10514.mjs";import{p0 as P,q0 as N,r0 as S}from"./cli-0.6.0-ycj7gxxz.mjs";import{s0 as Yq}from"./cli-0.6.0-0p3mkd59.mjs";import{P0 as u,Q0 as Aq}from"./cli-0.6.0-t93n2gev.mjs";import{N7 as G,O9 as s,P7 as o,s9 as j}from"./cli-0.6.0-aqestr3c.mjs";import{mfa as w,nfa as r}from"./cli-0.6.0-xyv90m2s.mjs";import{cha as L,fha as n}from"./cli-0.6.0-kr9jt2p9.mjs";import{Dha as Xq,wha as c}from"./cli-0.6.0-nxpvznpz.mjs";import{wna as i,xja as f}from"./cli-0.6.0-qnby905t.mjs";import{bpa as I,fpa as h}from"./cli-0.6.0-szxjcmcn.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
|
|
2
|
+
Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
|
|
3
|
+
export{mq as Vf,Bq as Wf};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{$6 as el,G6 as nt,H6 as hl,I6 as bl,J6 as ml,K6 as fn,L6 as $c,M6 as fu,N6 as Al,O6 as ys,P6 as El,Q6 as st,R6 as hs,S6 as k,T6 as ur,U6 as Qc,V6 as Bc,W6 as ra,X6 as Xc,Y6 as Yc,Z6 as Zc,_6 as Jc,a7 as Hc,b7 as cr,c7 as Cc,d7 as Ts,e7 as gl}from"./cli-0.6.0-1cfghz45.mjs";import{f7 as ie}from"./cli-0.6.0-g7exm24t.mjs";import{Soa as kc,Toa as Le}from"./cli-0.6.0-jpsf0t8a.mjs";import{Voa as Vc}from"./cli-0.6.0-r8g9yjbx.mjs";import{$oa as De,Xoa as Fe,Yoa as ve,apa as ee}from"./cli-0.6.0-59hncecf.mjs";import{dpa as E,gpa as Bs}from"./cli-0.6.0-szxjcmcn.mjs";var _t=E((S)=>{Object.defineProperty(S,"__esModule",{value:!0});S.resolveHttpHandlerRuntimeConfig=S.getHttpHandlerExtensionConfiguration=S.isValidHostname=S.HttpResponse=S.HttpRequest=S.Fields=S.Field=void 0;var N=ee();Object.defineProperty(S,"Field",{enumerable:!0,get:function(){return N.Field}});Object.defineProperty(S,"Fields",{enumerable:!0,get:function(){return N.Fields}});Object.defineProperty(S,"HttpRequest",{enumerable:!0,get:function(){return N.HttpRequest}});Object.defineProperty(S,"HttpResponse",{enumerable:!0,get:function(){return N.HttpResponse}});Object.defineProperty(S,"isValidHostname",{enumerable:!0,get:function(){return N.isValidHostname}});Object.defineProperty(S,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return N.getHttpHandlerExtensionConfiguration}});Object.defineProperty(S,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return N.resolveHttpHandlerRuntimeConfig}})});var Ot=E((c)=>{Object.defineProperty(c,"__esModule",{value:!0});c.createAggregatedClient=c.convertMap=c._json=c.ServiceException=c.SENSITIVE_STRING=c.NoOpLogger=c.Command=c.Client=c.strictParseShort=c.strictParseLong=c.strictParseInt32=c.strictParseInt=c.strictParseFloat32=c.strictParseFloat=c.strictParseDouble=c.strictParseByte=c.splitHeader=c.splitEvery=c.quoteHeader=c.parseRfc7231DateTime=c.parseRfc3339DateTimeWithOffset=c.parseRfc3339DateTime=c.parseEpochTimestamp=c.parseBoolean=c.nv=c.logger=c.limitedParseFloat32=c.limitedParseFloat=c.limitedParseDouble=c.handleFloat=c.generateIdempotencyToken=c.expectUnion=c.expectString=c.expectShort=c.expectObject=c.expectNumber=c.expectNonNull=c.expectLong=c.expectInt32=c.expectInt=c.expectFloat32=c.expectByte=c.expectBoolean=c.dateToUtcString=c.copyDocumentWithTransform=c._parseRfc7231DateTime=c._parseRfc3339DateTimeWithOffset=c._parseEpochTimestamp=c.NumericValue=c.LazyJsonString=void 0;c.resolvedPath=c.extendedEncodeURIComponent=c.collectBody=c.withBaseException=c.throwDefaultError=c.take=c.serializeFloat=c.serializeDateTime=c.resolveDefaultRuntimeConfig=c.map=c.loadConfigsForDefaultMode=c.isSerializableHeaderValue=c.getValueFromTextNode=c.getDefaultExtensionConfiguration=c.getDefaultClientConfiguration=c.getArrayIfSingleItem=c.emitWarningIfUnsupportedVersion=c.decorateServiceException=void 0;var p=De();Object.defineProperty(c,"LazyJsonString",{enumerable:!0,get:function(){return p.LazyJsonString}});Object.defineProperty(c,"NumericValue",{enumerable:!0,get:function(){return p.NumericValue}});Object.defineProperty(c,"_parseEpochTimestamp",{enumerable:!0,get:function(){return p._parseEpochTimestamp}});Object.defineProperty(c,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p._parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return p._parseRfc7231DateTime}});Object.defineProperty(c,"copyDocumentWithTransform",{enumerable:!0,get:function(){return p.copyDocumentWithTransform}});Object.defineProperty(c,"dateToUtcString",{enumerable:!0,get:function(){return p.dateToUtcString}});Object.defineProperty(c,"expectBoolean",{enumerable:!0,get:function(){return p.expectBoolean}});Object.defineProperty(c,"expectByte",{enumerable:!0,get:function(){return p.expectByte}});Object.defineProperty(c,"expectFloat32",{enumerable:!0,get:function(){return p.expectFloat32}});Object.defineProperty(c,"expectInt",{enumerable:!0,get:function(){return p.expectInt}});Object.defineProperty(c,"expectInt32",{enumerable:!0,get:function(){return p.expectInt32}});Object.defineProperty(c,"expectLong",{enumerable:!0,get:function(){return p.expectLong}});Object.defineProperty(c,"expectNonNull",{enumerable:!0,get:function(){return p.expectNonNull}});Object.defineProperty(c,"expectNumber",{enumerable:!0,get:function(){return p.expectNumber}});Object.defineProperty(c,"expectObject",{enumerable:!0,get:function(){return p.expectObject}});Object.defineProperty(c,"expectShort",{enumerable:!0,get:function(){return p.expectShort}});Object.defineProperty(c,"expectString",{enumerable:!0,get:function(){return p.expectString}});Object.defineProperty(c,"expectUnion",{enumerable:!0,get:function(){return p.expectUnion}});Object.defineProperty(c,"generateIdempotencyToken",{enumerable:!0,get:function(){return p.generateIdempotencyToken}});Object.defineProperty(c,"handleFloat",{enumerable:!0,get:function(){return p.handleFloat}});Object.defineProperty(c,"limitedParseDouble",{enumerable:!0,get:function(){return p.limitedParseDouble}});Object.defineProperty(c,"limitedParseFloat",{enumerable:!0,get:function(){return p.limitedParseFloat}});Object.defineProperty(c,"limitedParseFloat32",{enumerable:!0,get:function(){return p.limitedParseFloat32}});Object.defineProperty(c,"logger",{enumerable:!0,get:function(){return p.logger}});Object.defineProperty(c,"nv",{enumerable:!0,get:function(){return p.nv}});Object.defineProperty(c,"parseBoolean",{enumerable:!0,get:function(){return p.parseBoolean}});Object.defineProperty(c,"parseEpochTimestamp",{enumerable:!0,get:function(){return p.parseEpochTimestamp}});Object.defineProperty(c,"parseRfc3339DateTime",{enumerable:!0,get:function(){return p.parseRfc3339DateTime}});Object.defineProperty(c,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p.parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"parseRfc7231DateTime",{enumerable:!0,get:function(){return p.parseRfc7231DateTime}});Object.defineProperty(c,"quoteHeader",{enumerable:!0,get:function(){return p.quoteHeader}});Object.defineProperty(c,"splitEvery",{enumerable:!0,get:function(){return p.splitEvery}});Object.defineProperty(c,"splitHeader",{enumerable:!0,get:function(){return p.splitHeader}});Object.defineProperty(c,"strictParseByte",{enumerable:!0,get:function(){return p.strictParseByte}});Object.defineProperty(c,"strictParseDouble",{enumerable:!0,get:function(){return p.strictParseDouble}});Object.defineProperty(c,"strictParseFloat",{enumerable:!0,get:function(){return p.strictParseFloat}});Object.defineProperty(c,"strictParseFloat32",{enumerable:!0,get:function(){return p.strictParseFloat32}});Object.defineProperty(c,"strictParseInt",{enumerable:!0,get:function(){return p.strictParseInt}});Object.defineProperty(c,"strictParseInt32",{enumerable:!0,get:function(){return p.strictParseInt32}});Object.defineProperty(c,"strictParseLong",{enumerable:!0,get:function(){return p.strictParseLong}});Object.defineProperty(c,"strictParseShort",{enumerable:!0,get:function(){return p.strictParseShort}});var A=ve();Object.defineProperty(c,"Client",{enumerable:!0,get:function(){return A.Client}});Object.defineProperty(c,"Command",{enumerable:!0,get:function(){return A.Command}});Object.defineProperty(c,"NoOpLogger",{enumerable:!0,get:function(){return A.NoOpLogger}});Object.defineProperty(c,"SENSITIVE_STRING",{enumerable:!0,get:function(){return A.SENSITIVE_STRING}});Object.defineProperty(c,"ServiceException",{enumerable:!0,get:function(){return A.ServiceException}});Object.defineProperty(c,"_json",{enumerable:!0,get:function(){return A._json}});Object.defineProperty(c,"convertMap",{enumerable:!0,get:function(){return A.convertMap}});Object.defineProperty(c,"createAggregatedClient",{enumerable:!0,get:function(){return A.createAggregatedClient}});Object.defineProperty(c,"decorateServiceException",{enumerable:!0,get:function(){return A.decorateServiceException}});Object.defineProperty(c,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return A.emitWarningIfUnsupportedVersion}});Object.defineProperty(c,"getArrayIfSingleItem",{enumerable:!0,get:function(){return A.getArrayIfSingleItem}});Object.defineProperty(c,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return A.getDefaultClientConfiguration}});Object.defineProperty(c,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return A.getDefaultExtensionConfiguration}});Object.defineProperty(c,"getValueFromTextNode",{enumerable:!0,get:function(){return A.getValueFromTextNode}});Object.defineProperty(c,"isSerializableHeaderValue",{enumerable:!0,get:function(){return A.isSerializableHeaderValue}});Object.defineProperty(c,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return A.loadConfigsForDefaultMode}});Object.defineProperty(c,"map",{enumerable:!0,get:function(){return A.map}});Object.defineProperty(c,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return A.resolveDefaultRuntimeConfig}});Object.defineProperty(c,"serializeDateTime",{enumerable:!0,get:function(){return A.serializeDateTime}});Object.defineProperty(c,"serializeFloat",{enumerable:!0,get:function(){return A.serializeFloat}});Object.defineProperty(c,"take",{enumerable:!0,get:function(){return A.take}});Object.defineProperty(c,"throwDefaultError",{enumerable:!0,get:function(){return A.throwDefaultError}});Object.defineProperty(c,"withBaseException",{enumerable:!0,get:function(){return A.withBaseException}});var Ie=ee();Object.defineProperty(c,"collectBody",{enumerable:!0,get:function(){return Ie.collectBody}});Object.defineProperty(c,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return Ie.extendedEncodeURIComponent}});Object.defineProperty(c,"resolvedPath",{enumerable:!0,get:function(){return Ie.resolvedPath}})});var xt=E((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});Nt.toStream=Ys;var Xs=Bs("node:stream");function Ys(e){return Xs.Readable.from(Buffer.from(e))}});var jt=E((ro)=>{var Js=(e)=>typeof e==="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6,eo=(e)=>{let t=e.split(":");if(t.length<6||t[0]!=="arn")throw Error("Malformed ARN");let[,r,n,s,o,...a]=t;return{partition:r,service:n,region:s,accountId:o,resource:a.join(":")}},to=(e)=>{let{partition:t="aws",service:r,region:n,accountId:s,resource:o}=e;if([r,n,s,o].some((a)=>typeof a!=="string"))throw Error("Input ARN object is invalid");return`arn:${t}:${r}:${n}:${s}:${o}`};ro.build=to;ro.parse=eo;ro.validate=Js});var or=E((ho)=>{var v=De(),$t=ve(),W=ee();class Mt{format(e){let t=[];for(let s of Object.keys(e)){let o=v.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=v.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(_e.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!ao.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(v.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Ht;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Ht||(Ht={}));var ao=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)Ct(t);return new _e(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Ct(e);return parseInt(v.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ct(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Ft="X-Amz-Algorithm",Lt="X-Amz-Credential",Oe="X-Amz-Date",Gt="X-Amz-SignedHeaders",Wt="X-Amz-Expires",Ne="X-Amz-Signature",xe="X-Amz-Security-Token",io="X-Amz-Region-Set",je="authorization",$e=Oe.toLowerCase(),Kt="date",zt=[je,$e,Kt],qt=Ne.toLowerCase(),oe="x-amz-content-sha256",Vt=xe.toLowerCase(),uo="host",kt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qt=/^proxy-/,Bt=/^sec-/,co=[/^proxy-/i,/^sec-/i],te="AWS4-HMAC-SHA256",lo="AWS4-ECDSA-P256-SHA256",Xt="AWS4-HMAC-SHA256-PAYLOAD",Yt="UNSIGNED-PAYLOAD",Zt=50,He="aws4_request",Jt=604800,er=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===qt)continue;let s=W.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${W.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${W.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},po=(e)=>fo(e).toISOString().replace(/\.\d{3}Z$/,"Z"),fo=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ce{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=$t.normalizeProvider(r),this.credentialProvider=$t.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
2
|
+
${this.getCanonicalPath(e)}
|
|
3
|
+
${er(e)}
|
|
4
|
+
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
5
|
+
`)}
|
|
6
|
+
|
|
7
|
+
${n.join(";")}
|
|
8
|
+
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(v.toUint8Array(r));let o=await s.digest();return`${n}
|
|
9
|
+
${e}
|
|
10
|
+
${t}
|
|
11
|
+
${v.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return W.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=po(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var G={},re=[],ne=(e,t,r)=>`${e}/${t}/${r}/${He}`,tr=async(e,t,r,n,s)=>{let o=await Ut(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${v.toHex(o)}:${t.sessionToken}`;if(a in G)return G[a];re.push(a);while(re.length>Zt)delete G[re.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,He])u=await Ut(e,u,i);return G[a]=u},go=()=>{re.length=0,Object.keys(G).forEach((e)=>{delete G[e]})},Ut=(e,t,r)=>{let n=new e(t);return n.update(v.toUint8Array(r)),n.digest()},Te=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in kt||t?.has(o)||Qt.test(o)||Bt.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},se=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===oe)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||v.isArrayBuffer(t)){let n=new r;return n.update(v.toUint8Array(t)),v.toHex(await n.digest())}return Yt},rr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},nr=(e,t={})=>{let{headers:r,query:n={}}=W.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},Se=(e)=>{e=W.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(zt.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class sr extends Ce{headerFormatter=new Mt;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Jt)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=ne(h,b,d??this.service),g=nr(Se(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[xe]=l.sessionToken;g.query[Ft]=te,g.query[Lt]=`${l.accessKeyId}/${R}`,g.query[Oe]=y,g.query[Wt]=n.toString(10);let T=Te(g,s,a);return g.query[Gt]=this.getCanonicalHeaderList(T),g.query[Ne]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await se(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=ne(i,u,o??this.service),b=await se({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=v.toHex(await y.digest()),R=[Xt,d,l,n,h,b].join(`
|
|
12
|
+
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(v.toUint8Array(e)),v.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=Se(e),{longDate:d,shortDate:l}=this.formatDate(t),b=ne(l,u,o??this.service);if(i.headers[$e]=d,a.sessionToken)i.headers[Vt]=a.sessionToken;let y=await se(i,this.sha256);if(!rr(oe,i.headers)&&this.applyChecksum)i.headers[oe]=y;let h=Te(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[je]=`${te} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,te),o=new this.sha256(await r);return o.update(v.toUint8Array(s)),v.toHex(await o.digest())}getSigningKey(e,t,r,n){return tr(this.sha256,e,r,t,n||this.service)}}var yo={SignatureV4a:null};ho.ALGORITHM_IDENTIFIER=te;ho.ALGORITHM_IDENTIFIER_V4A=lo;ho.ALGORITHM_QUERY_PARAM=Ft;ho.ALWAYS_UNSIGNABLE_HEADERS=kt;ho.AMZ_DATE_HEADER=$e;ho.AMZ_DATE_QUERY_PARAM=Oe;ho.AUTH_HEADER=je;ho.CREDENTIAL_QUERY_PARAM=Lt;ho.DATE_HEADER=Kt;ho.EVENT_ALGORITHM_IDENTIFIER=Xt;ho.EXPIRES_QUERY_PARAM=Wt;ho.GENERATED_HEADERS=zt;ho.HOST_HEADER=uo;ho.KEY_TYPE_IDENTIFIER=He;ho.MAX_CACHE_SIZE=Zt;ho.MAX_PRESIGNED_TTL=Jt;ho.PROXY_HEADER_PATTERN=Qt;ho.REGION_SET_PARAM=io;ho.SEC_HEADER_PATTERN=Bt;ho.SHA256_HEADER=oe;ho.SIGNATURE_HEADER=qt;ho.SIGNATURE_QUERY_PARAM=Ne;ho.SIGNED_HEADERS_QUERY_PARAM=Gt;ho.SignatureV4=sr;ho.SignatureV4Base=Ce;ho.TOKEN_HEADER=Vt;ho.TOKEN_QUERY_PARAM=xe;ho.UNSIGNABLE_PATTERNS=co;ho.UNSIGNED_PAYLOAD=Yt;ho.clearCredentialCache=go;ho.createScope=ne;ho.getCanonicalHeaders=Te;ho.getCanonicalQuery=er;ho.getPayloadHash=se;ho.getSigningKey=tr;ho.hasHeader=rr;ho.moveHeadersToQuery=nr;ho.prepareRequest=Se;ho.signatureV4aContainer=yo});var _r=E(($a)=>{var X=_t(),lr=Ot(),na=xt(),sa=jt(),oa=cr(),aa=Fe(),ia=or(),ae=ra(),ua=Le(),dr=ie(),ca=ur(),la="content-length",da="x-amz-decoded-content-length";function pr(){return(e,t)=>async(r)=>{let{request:n}=r;if(X.HttpRequest.isInstance(n)){if(!(la in n.headers)&&!(da in n.headers))if(typeof t?.logger?.warn==="function"&&!(t.logger instanceof lr.NoOpLogger))t.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return e({...r})}}var fr={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(pr(),fr)}}),gr=(e)=>{return(t,r)=>async(n)=>{let s=await e.region(),o=e.region,a=()=>{};if(r.__s3RegionRedirect)Object.defineProperty(e,"region",{writable:!1,value:async()=>{return r.__s3RegionRedirect}}),a=()=>Object.defineProperty(e,"region",{writable:!0,value:o});try{let u=await t(n);if(r.__s3RegionRedirect){a();let i=await e.region();if(s!==i)throw Error("Region was not restored following S3 region redirect.")}return u}catch(u){throw a(),u}}},yr={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function hr(e){return(t,r)=>async(n)=>{try{return await t(n)}catch(s){if(e.followRegionRedirects){let o=s?.$metadata?.httpStatusCode,a=r.commandName==="HeadBucketCommand",u=s?.$response?.headers?.["x-amz-bucket-region"];if(u){if(o===301||o===400&&(s?.name==="IllegalLocationConstraintException"||a)){try{let i=u;r.logger?.debug(`Redirecting from ${await e.region()} to ${i}`),r.__s3RegionRedirect=i}catch(i){throw Error("Region redirect failed: "+i)}return t(n)}}}throw s}}}var br={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},fa=(e)=>({applyToStack:(t)=>{t.add(hr(e),br),t.addRelativeTo(gr(e),yr)}}),mr=(e)=>{return(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(X.HttpResponse.isInstance(o)){if(o.headers.expires){o.headers.expiresstring=o.headers.expires;try{lr.parseRfc7231DateTime(o.headers.expires)}catch(a){r.logger?.warn(`AWS SDK Warning for ${r.clientName}::${r.commandName} response parsing (${o.headers.expires}): ${a}`),delete o.headers.expires}}}return s}},Ar={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},ga=(e)=>({applyToStack:(t)=>{t.addRelativeTo(mr(),Ar)}});class ue{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(!t)return;return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(this.lastPurgeTime+ue.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e)return;for(let t in this.data){let r=this.data[t];if(!r.isRefreshing){let n=await r.identity;if(n.expiration){if(n.expiration.getTime()<e)delete this.data[t]}}}}}class B{_identity;isRefreshing;accessed;constructor(e,t=!1,r=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}}class ce{createSessionFn;cache;static REFRESH_WINDOW_MS=60000;constructor(e,t=new ue){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){let r=t.Bucket,{cache:n}=this,s=n.get(r);if(s)return s.identity.then((o)=>{if((o.expiration?.getTime()??0)<Date.now())return n.set(r,new B(this.getIdentity(r))).identity;if((o.expiration?.getTime()??0)<Date.now()+ce.REFRESH_WINDOW_MS&&!s.isRefreshing)s.isRefreshing=!0,this.getIdentity(r).then((i)=>{n.set(r,new B(Promise.resolve(i)))});return o});return n.set(r,new B(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch((n)=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
|
|
13
|
+
`+n)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}var ya="Directory",ha="S3Express",ba="sigv4-s3express",Ue="X-Amz-S3session-Token",Me=Ue.toLowerCase(),ma="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",Aa="s3_disable_express_session_auth",Ea={environmentVariableSelector:(e)=>ae.booleanSelector(e,ma,ae.SelectorType.ENV),configFileSelector:(e)=>ae.booleanSelector(e,Aa,ae.SelectorType.CONFIG),default:!1};class Er extends ia.SignatureV4{async signWithCredentials(e,t,r){let n=ar(t);e.headers[Me]=t.sessionToken;let s=this;return ir(s,n),s.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=ar(t);return delete e.headers[Me],e.headers[Ue]=t.sessionToken,e.query=e.query??{},e.query[Ue]=t.sessionToken,ir(this,n),this.presign(e,r)}}function ar(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function ir(e,t){let r=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),n=e.credentialProvider,s=()=>{return clearTimeout(r),e.credentialProvider=n,Promise.resolve(t)};e.credentialProvider=s}var Rr=(e)=>{return(t,r)=>async(n)=>{if(r.endpointV2){let s=r.endpointV2,o=s.properties?.authSchemes?.[0]?.name===ba;if(s.properties?.backend===ha||s.properties?.bucketType===ya)ua.setFeature(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0;if(o){let u=n.input.Bucket;if(u){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:u});if(r.s3ExpressIdentity=i,X.HttpRequest.isInstance(n.request)&&i.sessionToken)n.request.headers[Me]=i.sessionToken}}}return t(n)}},wr={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Ra=(e)=>({applyToStack:(t)=>{t.add(Rr(e),wr)}}),wa=async(e,t,r,n)=>{let s=await n.signWithCredentials(r,e,{});if(s.headers["X-Amz-Security-Token"]||s.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.");return s},Pa=(e)=>(t)=>{throw t},va=(e,t)=>{},Da=dr.httpSigningMiddlewareOptions,Pr=(e)=>(t,r)=>async(n)=>{if(!X.HttpRequest.isInstance(n.request))return t(n);let o=ca.getSmithyContext(r).selectedHttpAuthScheme;if(!o)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:a={}},identity:u,signer:i}=o,d;if(r.s3ExpressIdentity)d=await wa(r.s3ExpressIdentity,a,n.request,await e.signer());else d=await i.sign(n.request,u,a);let l=await t({...n,request:d}).catch((i.errorHandler||Pa)(a));return(i.successHandler||va)(l.response,a),l},Ia=(e)=>({applyToStack:(t)=>{t.addRelativeTo(Pr(e),dr.httpSigningMiddlewareOptions)}}),Ta=(e,{session:t})=>{let[r,n]=t,{forcePathStyle:s,useAccelerateEndpoint:o,disableMultiregionAccessPoints:a,followRegionRedirects:u,s3ExpressIdentityProvider:i,bucketEndpoint:d,expectContinueHeader:l}=e;return Object.assign(e,{forcePathStyle:s??!1,useAccelerateEndpoint:o??!1,disableMultiregionAccessPoints:a??!1,followRegionRedirects:u??!1,s3ExpressIdentityProvider:i??new ce(async(b)=>r().send(new n({Bucket:b}))),bucketEndpoint:d??!1,expectContinueHeader:l??2097152})},Sa={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},vr=(e)=>(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(!X.HttpResponse.isInstance(o))return s;let{statusCode:a,body:u}=o;if(a<200||a>=300)return s;let i=await _a(u,e);if(o.body=na.toStream(i),i.length===0&&Sa[r.commandName]){let l=Error("S3 aborted request");throw l.$metadata={httpStatusCode:503},l.name="InternalError",l}let d=e.utf8Encoder(i.subarray(i.length-16));if(d&&d.endsWith("</Error>"))o.statusCode=503;return s},_a=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Promise.resolve(e);return t.streamCollector(e)||Promise.resolve(new Uint8Array)},Dr={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Oa=(e)=>({applyToStack:(t)=>{t.addRelativeTo(vr(e),Dr)}});function Na(e){return(t,r)=>async(n)=>{if(e.bucketEndpoint){let s=r.endpointV2;if(s){let o=n.input.Bucket;if(typeof o==="string")try{let a=new URL(o);r.endpointV2={...s,url:a}}catch(a){let u=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${o} could not be parsed as URL.`;if(r.logger?.constructor?.name==="NoOpLogger")console.warn(u);else r.logger?.warn?.(u);throw a}}}return t(n)}}var xa={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function Ir({bucketEndpoint:e}){return(t)=>async(r)=>{let{input:{Bucket:n}}=r;if(!e&&typeof n==="string"&&!sa.validate(n)&&n.indexOf("/")>=0){let s=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw s.name="InvalidBucketName",s}return t({...r})}}var Tr={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},ja=(e)=>({applyToStack:(t)=>{t.add(Ir(e),Tr),t.addRelativeTo(Na(e),xa)}});class Sr extends oa.AwsRestXmlProtocol{async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r),s=aa.NormalizedSchema.of(e.input),o=s.getSchema(),a=0,u=o[6]??0;if(t&&typeof t==="object")for(let[i,d]of s.structIterator()){if(++a>u)break;if(i==="Bucket"){if(!t.Bucket&&d.getMergedTraits().httpLabel)throw Error("No value provided for input HTTP label: Bucket.");break}}return n}}$a.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS=Ea;$a.S3ExpressIdentityCache=ue;$a.S3ExpressIdentityCacheEntry=B;$a.S3ExpressIdentityProviderImpl=ce;$a.S3RestXmlProtocol=Sr;$a.SignatureV4S3Express=Er;$a.checkContentLengthHeader=pr;$a.checkContentLengthHeaderMiddlewareOptions=fr;$a.getCheckContentLengthHeaderPlugin=pa;$a.getRegionRedirectMiddlewarePlugin=fa;$a.getS3ExpiresMiddlewarePlugin=ga;$a.getS3ExpressHttpSigningPlugin=Ia;$a.getS3ExpressPlugin=Ra;$a.getThrow200ExceptionsPlugin=Oa;$a.getValidateBucketNamePlugin=ja;$a.regionRedirectEndpointMiddleware=gr;$a.regionRedirectEndpointMiddlewareOptions=yr;$a.regionRedirectMiddleware=hr;$a.regionRedirectMiddlewareOptions=br;$a.resolveS3Config=Ta;$a.s3ExpiresMiddleware=mr;$a.s3ExpiresMiddlewareOptions=Ar;$a.s3ExpressHttpSigningMiddleware=Pr;$a.s3ExpressHttpSigningMiddlewareOptions=Da;$a.s3ExpressMiddleware=Rr;$a.s3ExpressMiddlewareOptions=wr;$a.throw200ExceptionsMiddleware=vr;$a.throw200ExceptionsMiddlewareOptions=Dr;$a.validateBucketNameMiddleware=Ir;$a.validateBucketNameMiddlewareOptions=Tr});var tn=E((Ei)=>{var D=De(),Or=ve(),z=ee();class $r{format(e){let t=[];for(let s of Object.keys(e)){let o=D.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=D.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(Ke.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!di.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(D.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Nr;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Nr||(Nr={}));var di=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Ke{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)xr(t);return new Ke(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)xr(e);return parseInt(D.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function xr(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Hr="X-Amz-Algorithm",Cr="X-Amz-Credential",ze="X-Amz-Date",Ur="X-Amz-SignedHeaders",Mr="X-Amz-Expires",qe="X-Amz-Signature",Ve="X-Amz-Security-Token",pi="X-Amz-Region-Set",ke="authorization",Qe=ze.toLowerCase(),Fr="date",Lr=[ke,Qe,Fr],Gr=qe.toLowerCase(),ge="x-amz-content-sha256",Wr=Ve.toLowerCase(),fi="host",Kr={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},zr=/^proxy-/,qr=/^sec-/,gi=[/^proxy-/i,/^sec-/i],le="AWS4-HMAC-SHA256",yi="AWS4-ECDSA-P256-SHA256",Vr="AWS4-HMAC-SHA256-PAYLOAD",kr="UNSIGNED-PAYLOAD",Qr=50,Be="aws4_request",Br=604800,Xr=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===Gr)continue;let s=z.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${z.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${z.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},hi=(e)=>bi(e).toISOString().replace(/\.\d{3}Z$/,"Z"),bi=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Xe{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=Or.normalizeProvider(r),this.credentialProvider=Or.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
14
|
+
${this.getCanonicalPath(e)}
|
|
15
|
+
${Xr(e)}
|
|
16
|
+
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
17
|
+
`)}
|
|
18
|
+
|
|
19
|
+
${n.join(";")}
|
|
20
|
+
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(D.toUint8Array(r));let o=await s.digest();return`${n}
|
|
21
|
+
${e}
|
|
22
|
+
${t}
|
|
23
|
+
${D.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return z.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=hi(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var K={},de=[],pe=(e,t,r)=>`${e}/${t}/${r}/${Be}`,Yr=async(e,t,r,n,s)=>{let o=await jr(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${D.toHex(o)}:${t.sessionToken}`;if(a in K)return K[a];de.push(a);while(de.length>Qr)delete K[de.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,Be])u=await jr(e,u,i);return K[a]=u},mi=()=>{de.length=0,Object.keys(K).forEach((e)=>{delete K[e]})},jr=(e,t,r)=>{let n=new e(t);return n.update(D.toUint8Array(r)),n.digest()},Ge=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in Kr||t?.has(o)||zr.test(o)||qr.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},fe=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===ge)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||D.isArrayBuffer(t)){let n=new r;return n.update(D.toUint8Array(t)),D.toHex(await n.digest())}return kr},Zr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},Jr=(e,t={})=>{let{headers:r,query:n={}}=z.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},We=(e)=>{e=z.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(Lr.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class en extends Xe{headerFormatter=new $r;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Br)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=pe(h,b,d??this.service),g=Jr(We(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[Ve]=l.sessionToken;g.query[Hr]=le,g.query[Cr]=`${l.accessKeyId}/${R}`,g.query[ze]=y,g.query[Mr]=n.toString(10);let T=Ge(g,s,a);return g.query[Ur]=this.getCanonicalHeaderList(T),g.query[qe]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await fe(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=pe(i,u,o??this.service),b=await fe({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=D.toHex(await y.digest()),R=[Vr,d,l,n,h,b].join(`
|
|
24
|
+
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(D.toUint8Array(e)),D.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=We(e),{longDate:d,shortDate:l}=this.formatDate(t),b=pe(l,u,o??this.service);if(i.headers[Qe]=d,a.sessionToken)i.headers[Wr]=a.sessionToken;let y=await fe(i,this.sha256);if(!Zr(ge,i.headers)&&this.applyChecksum)i.headers[ge]=y;let h=Ge(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[ke]=`${le} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,le),o=new this.sha256(await r);return o.update(D.toUint8Array(s)),D.toHex(await o.digest())}getSigningKey(e,t,r,n){return Yr(this.sha256,e,r,t,n||this.service)}}var Ai={SignatureV4a:null};Ei.ALGORITHM_IDENTIFIER=le;Ei.ALGORITHM_IDENTIFIER_V4A=yi;Ei.ALGORITHM_QUERY_PARAM=Hr;Ei.ALWAYS_UNSIGNABLE_HEADERS=Kr;Ei.AMZ_DATE_HEADER=Qe;Ei.AMZ_DATE_QUERY_PARAM=ze;Ei.AUTH_HEADER=ke;Ei.CREDENTIAL_QUERY_PARAM=Cr;Ei.DATE_HEADER=Fr;Ei.EVENT_ALGORITHM_IDENTIFIER=Vr;Ei.EXPIRES_QUERY_PARAM=Mr;Ei.GENERATED_HEADERS=Lr;Ei.HOST_HEADER=fi;Ei.KEY_TYPE_IDENTIFIER=Be;Ei.MAX_CACHE_SIZE=Qr;Ei.MAX_PRESIGNED_TTL=Br;Ei.PROXY_HEADER_PATTERN=zr;Ei.REGION_SET_PARAM=pi;Ei.SEC_HEADER_PATTERN=qr;Ei.SHA256_HEADER=ge;Ei.SIGNATURE_HEADER=Gr;Ei.SIGNATURE_QUERY_PARAM=qe;Ei.SIGNED_HEADERS_QUERY_PARAM=Ur;Ei.SignatureV4=en;Ei.SignatureV4Base=Xe;Ei.TOKEN_HEADER=Wr;Ei.TOKEN_QUERY_PARAM=Ve;Ei.UNSIGNABLE_PATTERNS=gi;Ei.UNSIGNED_PAYLOAD=kr;Ei.clearCredentialCache=mi;Ei.createScope=pe;Ei.getCanonicalHeaders=Ge;Ei.getCanonicalQuery=Xr;Ei.getPayloadHash=fe;Ei.getSigningKey=Yr;Ei.hasHeader=Zr;Ei.moveHeadersToQuery=Jr;Ei.prepareRequest=We;Ei.signatureV4aContainer=Ai});var Ye=E((iu)=>{var au=_r(),rn=tn(),Y={CrtSignerV4:null};class nn{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof Y.CrtSignerV4==="function")return"crt";else if(typeof rn.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(e){this.sigv4Signer=new au.SignatureV4S3Express(e),this.signerOptions=e}async sign(e,t={}){if(t.signingRegion==="*")return this.getSigv4aSigner().sign(e,t);return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if(r.signingRegion==="*"){let n=this.getSigv4aSigner(),s=Y.CrtSignerV4;if(s&&n instanceof s)return n.signWithCredentials(e,t,r);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if(t.signingRegion==="*"){let r=this.getSigv4aSigner(),n=Y.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if(r.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Y.CrtSignerV4,t=rn.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&typeof e==="function")this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==="function")this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||typeof t!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}iu.SignatureV4MultiRegion=nn;iu.signatureV4CrtContainer=Y});var bn=E((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});yn.bdd=void 0;var lu=fn(),V="ref",x=-1,Z=!0,sn="isSet",gn="PartitionResult",J="booleanEquals",w="stringEquals",Ze="getAttr",on="us-east-1",an="sigv4",un="sts",cn="https://sts.{Region}.{PartitionResult#dnsSuffix}",ln={[V]:"Endpoint"},P={[V]:"Region"},Je={[V]:gn},q={},dn=[P],pn={conditions:[[sn,[ln]],[sn,dn],["aws.partition",dn,gn],[J,[{[V]:"UseFIPS"},Z]],[J,[{[V]:"UseDualStack"},Z]],[w,[P,"aws-global"]],[J,[{[V]:"UseGlobalEndpoint"},Z]],[w,[P,"eu-central-1"]],[J,[{fn:Ze,argv:[Je,"supportsDualStack"]},Z]],[J,[{fn:Ze,argv:[Je,"supportsFIPS"]},Z]],[w,[P,"ap-south-1"]],[w,[P,"eu-north-1"]],[w,[P,"eu-west-1"]],[w,[P,"eu-west-2"]],[w,[P,"eu-west-3"]],[w,[P,"sa-east-1"]],[w,[P,on]],[w,[P,"us-east-2"]],[w,[P,"us-west-2"]],[w,[P,"us-west-1"]],[w,[P,"ca-central-1"]],[w,[P,"ap-southeast-1"]],[w,[P,"ap-northeast-1"]],[w,[P,"ap-southeast-2"]],[w,[{fn:Ze,argv:[Je,"name"]},"aws-us-gov"]]],results:[[x],["https://sts.amazonaws.com",{authSchemes:[{name:an,signingName:un,signingRegion:on}]}],[cn,{authSchemes:[{name:an,signingName:un,signingRegion:"{Region}"}]}],[x,"Invalid Configuration: FIPS and custom endpoint are not supported"],[x,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ln,q],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",q],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",q],[x,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"DualStack is enabled but this partition does not support DualStack"],[cn,q],[x,"Invalid Configuration: Missing Region"]]},du=2,f=1e8,pu=new Int32Array([-1,1,-1,0,30,3,1,4,f+14,2,5,f+14,3,25,6,4,24,7,5,f+1,8,6,9,f+13,7,f+1,10,10,f+1,11,11,f+1,12,12,f+1,13,13,f+1,14,14,f+1,15,15,f+1,16,16,f+1,17,17,f+1,18,18,f+1,19,19,f+1,20,20,f+1,21,21,f+1,22,22,f+1,23,23,f+1,f+2,8,f+11,f+12,4,28,26,9,27,f+10,24,f+8,f+9,8,29,f+7,9,f+6,f+7,3,f+3,31,4,f+4,f+5]);yn.bdd=lu.BinaryDecisionDiagram.from(pu,du,pn.conditions,pn.results)});var tt=E((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.defaultEndpointResolver=void 0;var gu=fu(),et=fn(),yu=bn(),hu=new et.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),bu=(e,t={})=>{return hu.get(e,()=>(0,et.decideEndpoint)(yu.bdd,{endpointParams:e,logger:t.logger}))};mn.defaultEndpointResolver=bu;et.customEndpointFunctions.aws=gu.awsEndpointFunctions});var ot=E((Pn)=>{Object.defineProperty(Pn,"__esModule",{value:!0});Pn.resolveHttpAuthSchemeConfig=Pn.resolveStsAuthConfig=Pn.defaultSTSHttpAuthSchemeProvider=Pn.defaultSTSHttpAuthSchemeParametersProvider=void 0;var En=nt(),mu=Ye(),Au=st(),ye=ur(),Eu=tt(),Ru=at(),wu=(e)=>async(t,r,n)=>{if(!n)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let s=await e(t,r,n),o=(0,ye.getSmithyContext)(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!o)throw Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let a=await(0,Au.resolveParams)(n,{getEndpointParameterInstructions:o},t);return Object.assign(s,a)},Pu=async(e,t,r)=>{return{operation:(0,ye.getSmithyContext)(t).operation,region:await(0,ye.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};Pn.defaultSTSHttpAuthSchemeParametersProvider=wu(Pu);function Rn(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function rt(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function wn(e){return{schemeId:"smithy.api#noAuth"}}var vu=(e,t,r)=>{return(s)=>{let a=e(s).properties?.authSchemes;if(!a)return t(s);let u=[];for(let i of a){let{name:d,properties:l={},...b}=i,y=d.toLowerCase();if(d!==y)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${d}' to '${y}'`);let h;if(y==="sigv4a"){h="aws.auth#sigv4a";let T=a.find((Pe)=>{let St=Pe.name.toLowerCase();return St!=="sigv4a"&&St.startsWith("sigv4")});if(mu.SignatureV4MultiRegion.sigv4aDependency()==="none"&&T)continue}else if(y.startsWith("sigv4"))h="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${y}'`);let R=r[h];if(!R)throw Error(`Could not find HttpAuthOption create function for '${h}'`);let g=R(s);g.schemeId=h,g.signingProperties={...g.signingProperties||{},...b,...l},u.push(g)}return u}},Du=(e)=>{let t=[];switch(e.operation){case"AssumeRoleWithWebIdentity":{t.push(wn(e)),t.push(rt(e));break}default:t.push(Rn(e)),t.push(rt(e))}return t};Pn.defaultSTSHttpAuthSchemeProvider=vu(Eu.defaultEndpointResolver,Du,{"aws.auth#sigv4":Rn,"aws.auth#sigv4a":rt,"smithy.api#noAuth":wn});var Iu=(e)=>Object.assign(e,{stsClientCtor:Ru.STSClient});Pn.resolveStsAuthConfig=Iu;var Tu=(e)=>{let t=Pn.resolveStsAuthConfig(e),r=(0,En.resolveAwsSdkSigV4Config)(t),n=(0,En.resolveAwsSdkSigV4AConfig)(r);return Object.assign(n,{authSchemePreference:(0,ye.normalizeProvider)(e.authSchemePreference??[])})};Pn.resolveHttpAuthSchemeConfig=Tu});var it=E((In)=>{Object.defineProperty(In,"__esModule",{value:!0});In.commonParams=In.resolveClientEndpointParameters=void 0;var Ou=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"})};In.resolveClientEndpointParameters=Ou;In.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}});var he=E((ct)=>{Object.defineProperty(ct,"__esModule",{value:!0});ct.STSServiceException=ct.__ServiceException=void 0;var Sn=k();Object.defineProperty(ct,"__ServiceException",{enumerable:!0,get:function(){return Sn.ServiceException}});class ut extends Sn.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ut.prototype)}}ct.STSServiceException=ut});var bt=E((On)=>{Object.defineProperty(On,"__esModule",{value:!0});On.IDPCommunicationErrorException=On.InvalidIdentityTokenException=On.IDPRejectedClaimException=On.RegionDisabledException=On.PackedPolicyTooLargeException=On.MalformedPolicyDocumentException=On.ExpiredTokenException=void 0;var j=he();class lt extends j.STSServiceException{name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,lt.prototype)}}On.ExpiredTokenException=lt;class dt extends j.STSServiceException{name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,dt.prototype)}}On.MalformedPolicyDocumentException=dt;class pt extends j.STSServiceException{name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});Object.setPrototypeOf(this,pt.prototype)}}On.PackedPolicyTooLargeException=pt;class ft extends j.STSServiceException{name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});Object.setPrototypeOf(this,ft.prototype)}}On.RegionDisabledException=ft;class gt extends j.STSServiceException{name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});Object.setPrototypeOf(this,gt.prototype)}}On.IDPRejectedClaimException=gt;class yt extends j.STSServiceException{name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});Object.setPrototypeOf(this,yt.prototype)}}On.InvalidIdentityTokenException=yt;class ht extends j.STSServiceException{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});Object.setPrototypeOf(this,ht.prototype)}}On.IDPCommunicationErrorException=ht});var Pt=E((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.AssumeRoleWithWebIdentity$=Wn.AssumeRole$=Wn.Tag$=Wn.ProvidedContext$=Wn.PolicyDescriptorType$=Wn.Credentials$=Wn.AssumeRoleWithWebIdentityResponse$=Wn.AssumeRoleWithWebIdentityRequest$=Wn.AssumeRoleResponse$=Wn.AssumeRoleRequest$=Wn.AssumedRoleUser$=Wn.errorTypeRegistries=Wn.RegionDisabledException$=Wn.PackedPolicyTooLargeException$=Wn.MalformedPolicyDocumentException$=Wn.InvalidIdentityTokenException$=Wn.IDPRejectedClaimException$=Wn.IDPCommunicationErrorException$=Wn.ExpiredTokenException$=Wn.STSServiceException$=void 0;var Mu="Arn",Fu="AccessKeyId",Lu="AssumeRole",Gu="AssumedRoleId",Wu="AssumeRoleRequest",Ku="AssumeRoleResponse",mt="AssumedRoleUser",zu="AssumeRoleWithWebIdentity",qu="AssumeRoleWithWebIdentityRequest",Vu="AssumeRoleWithWebIdentityResponse",ku="Audience",At="Credentials",Qu="ContextAssertion",xn="DurationSeconds",Bu="Expiration",Xu="ExternalId",Yu="ExpiredTokenException",Zu="IDPCommunicationErrorException",Ju="IDPRejectedClaimException",ec="InvalidIdentityTokenException",tc="Key",rc="MalformedPolicyDocumentException",jn="Policy",$n="PolicyArns",nc="ProviderArn",sc="ProvidedContexts",oc="ProvidedContextsListType",ac="ProvidedContext",ic="PolicyDescriptorType",uc="ProviderId",Hn="PackedPolicySize",cc="PackedPolicyTooLargeException",lc="Provider",Cn="RoleArn",dc="RegionDisabledException",Un="RoleSessionName",pc="SecretAccessKey",fc="SubjectFromWebIdentityToken",Et="SourceIdentity",gc="SerialNumber",yc="SessionToken",hc="Tags",bc="TokenCode",mc="TransitiveTagKeys",Ac="Tag",Ec="Value",Rc="WebIdentityToken",wc="arn",Pc="accessKeySecretType",$="awsQueryError",H="client",vc="clientTokenType",C="error",U="httpError",M="message",Dc="policyDescriptorListType",Mn="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ic="tagListType",m="com.amazonaws.sts",Fn=Fe(),F=bt(),Tc=he(),Ln=Fn.TypeRegistry.for(Mn);Wn.STSServiceException$=[-3,Mn,"STSServiceException",0,[],[]];Ln.registerError(Wn.STSServiceException$,Tc.STSServiceException);var _=Fn.TypeRegistry.for(m);Wn.ExpiredTokenException$=[-3,m,Yu,{[$]:["ExpiredTokenException",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.ExpiredTokenException$,F.ExpiredTokenException);Wn.IDPCommunicationErrorException$=[-3,m,Zu,{[$]:["IDPCommunicationError",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.IDPCommunicationErrorException$,F.IDPCommunicationErrorException);Wn.IDPRejectedClaimException$=[-3,m,Ju,{[$]:["IDPRejectedClaim",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.IDPRejectedClaimException$,F.IDPRejectedClaimException);Wn.InvalidIdentityTokenException$=[-3,m,ec,{[$]:["InvalidIdentityToken",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.InvalidIdentityTokenException$,F.InvalidIdentityTokenException);Wn.MalformedPolicyDocumentException$=[-3,m,rc,{[$]:["MalformedPolicyDocument",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.MalformedPolicyDocumentException$,F.MalformedPolicyDocumentException);Wn.PackedPolicyTooLargeException$=[-3,m,cc,{[$]:["PackedPolicyTooLarge",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.PackedPolicyTooLargeException$,F.PackedPolicyTooLargeException);Wn.RegionDisabledException$=[-3,m,dc,{[$]:["RegionDisabledException",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.RegionDisabledException$,F.RegionDisabledException);Wn.errorTypeRegistries=[Ln,_];var Sc=[0,m,Pc,8,0],_c=[0,m,vc,8,0];Wn.AssumedRoleUser$=[3,m,mt,0,[Gu,Mu],[0,0],2];Wn.AssumeRoleRequest$=[3,m,Wu,0,[Cn,Un,$n,jn,xn,hc,mc,Xu,gc,bc,Et,sc],[0,0,()=>Gn,0,1,()=>Nc,64,0,0,0,0,()=>Oc],2];Wn.AssumeRoleResponse$=[3,m,Ku,0,[At,mt,Hn,Et],[[()=>Wn.Credentials$,0],()=>Wn.AssumedRoleUser$,1,0]];Wn.AssumeRoleWithWebIdentityRequest$=[3,m,qu,0,[Cn,Un,Rc,uc,$n,jn,xn],[0,0,[()=>_c,0],0,()=>Gn,0,1],3];Wn.AssumeRoleWithWebIdentityResponse$=[3,m,Vu,0,[At,fc,mt,Hn,lc,ku,Et],[[()=>Wn.Credentials$,0],0,()=>Wn.AssumedRoleUser$,1,0,0,0]];Wn.Credentials$=[3,m,At,0,[Fu,pc,yc,Bu],[0,[()=>Sc,0],0,4],4];Wn.PolicyDescriptorType$=[3,m,ic,0,[wc],[0]];Wn.ProvidedContext$=[3,m,ac,0,[nc,Qu],[0,0]];Wn.Tag$=[3,m,Ac,0,[tc,Ec],[0,0],2];var Gn=[1,m,Dc,0,()=>Wn.PolicyDescriptorType$],Oc=[1,m,oc,0,()=>Wn.ProvidedContext$],Nc=[1,m,Ic,0,()=>Wn.Tag$];Wn.AssumeRole$=[9,m,Lu,0,()=>Wn.AssumeRoleRequest$,()=>Wn.AssumeRoleResponse$];Wn.AssumeRoleWithWebIdentity$=[9,m,zu,0,()=>Wn.AssumeRoleWithWebIdentityRequest$,()=>Wn.AssumeRoleWithWebIdentityResponse$]});var ls=E((us)=>{Object.defineProperty(us,"__esModule",{value:!0});us.getRuntimeConfig=void 0;var os=nt(),Uc=cr(),Mc=Ye(),Fc=ie(),Lc=k(),Gc=$c(),as=Cc(),is=Hc(),Wc=ot(),Kc=tt(),zc=Pt(),qc=(e)=>{return{apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??as.fromBase64,base64Encoder:e?.base64Encoder??as.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Kc.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Wc.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new os.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new os.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fc.NoAuthSigner}],logger:e?.logger??new Lc.NoOpLogger,protocol:e?.protocol??Uc.AwsQueryProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:zc.errorTypeRegistries,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",signerConstructor:e?.signerConstructor??Mc.SignatureV4MultiRegion,urlParser:e?.urlParser??Gc.parseUrl,utf8Decoder:e?.utf8Decoder??is.fromUtf8,utf8Encoder:e?.utf8Encoder??is.toUtf8}};us.getRuntimeConfig=qc});var As=E((bs)=>{Object.defineProperty(bs,"__esModule",{value:!0});bs.getRuntimeConfig=void 0;var tl=Qc(),rl=tl.__importDefault(Bc()),nl=Le(),be=nt(),ds=Xc(),me=ys(),sl=ie(),ol=Yc(),ps=hs(),O=Zc(),fs=Vc(),gs=k(),al=Jc(),il=el(),ul=kc(),cl=ls(),ll=(e)=>{(0,gs.emitWarningIfUnsupportedVersion)(process.version);let t=(0,il.resolveDefaultsModeConfig)(e),r=()=>t().then(gs.loadConfigsForDefaultMode),n=(0,cl.getRuntimeConfig)(e);(0,nl.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:n.logger};return{...n,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,O.loadConfig)(be.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??al.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ds.createDefaultUserAgentProvider)({serviceId:n.serviceId,clientVersion:rl.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4")||(async(a)=>await e.credentialDefaultProvider(a?.__config||{})()),signer:new be.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4a"),signer:new be.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(o)=>o.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new sl.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,O.loadConfig)(ps.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,O.loadConfig)(me.NODE_REGION_CONFIG_OPTIONS,{...me.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:fs.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,O.loadConfig)({...ps.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||ul.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??ol.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??(0,O.loadConfig)(be.NODE_SIGV4A_CONFIG_OPTIONS,s),streamCollector:e?.streamCollector??fs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,O.loadConfig)(me.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,O.loadConfig)(me.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,O.loadConfig)(ds.NODE_APP_ID_CONFIG_OPTIONS,s)}};bs.getRuntimeConfig=ll});var ws=E((Es)=>{Object.defineProperty(Es,"__esModule",{value:!0});Es.resolveHttpAuthRuntimeConfig=Es.getHttpAuthExtensionConfiguration=void 0;var dl=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:n}=e;return{setHttpAuthScheme(s){let o=t.findIndex((a)=>a.schemeId===s.schemeId);if(o===-1)t.push(s);else t.splice(o,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){r=s},httpAuthSchemeProvider(){return r},setCredentials(s){n=s},credentials(){return n}}};Es.getHttpAuthExtensionConfiguration=dl;var pl=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};Es.resolveHttpAuthRuntimeConfig=pl});var Os=E((Ss)=>{Object.defineProperty(Ss,"__esModule",{value:!0});Ss.resolveRuntimeExtensions=void 0;var Ps=Ts(),vs=gl(),Ds=k(),Is=ws(),yl=(e,t)=>{let r=Object.assign((0,Ps.getAwsRegionExtensionConfiguration)(e),(0,Ds.getDefaultExtensionConfiguration)(e),(0,vs.getHttpHandlerExtensionConfiguration)(e),(0,Is.getHttpAuthExtensionConfiguration)(e));return t.forEach((n)=>n.configure(r)),Object.assign(e,(0,Ps.resolveAwsRegionExtensionConfiguration)(r),(0,Ds.resolveDefaultRuntimeConfig)(r),(0,vs.resolveHttpHandlerRuntimeConfig)(r),(0,Is.resolveHttpAuthRuntimeConfig)(r))};Ss.resolveRuntimeExtensions=yl});var at=E((Dt)=>{Object.defineProperty(Dt,"__esModule",{value:!0});Dt.STSClient=Dt.__Client=void 0;var Ns=hl(),Rl=bl(),wl=ml(),xs=Al(),Pl=ys(),vt=ie(),vl=Fe(),Dl=El(),Il=st(),js=hs(),Hs=k();Object.defineProperty(Dt,"__Client",{enumerable:!0,get:function(){return Hs.Client}});var $s=ot(),Tl=it(),Sl=As(),_l=Os();class Cs extends Hs.Client{config;constructor(...[e]){let t=(0,Sl.getRuntimeConfig)(e||{});super(t);this.initConfig=t;let r=(0,Tl.resolveClientEndpointParameters)(t),n=(0,xs.resolveUserAgentConfig)(r),s=(0,js.resolveRetryConfig)(n),o=(0,Pl.resolveRegionConfig)(s),a=(0,Ns.resolveHostHeaderConfig)(o),u=(0,Il.resolveEndpointConfig)(a),i=(0,$s.resolveHttpAuthSchemeConfig)(u),d=(0,_l.resolveRuntimeExtensions)(i,e?.extensions||[]);this.config=d,this.middlewareStack.use((0,vl.getSchemaSerdePlugin)(this.config)),this.middlewareStack.use((0,xs.getUserAgentPlugin)(this.config)),this.middlewareStack.use((0,js.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Dl.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,Ns.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Rl.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,wl.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,vt.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:$s.defaultSTSHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(l)=>new vt.DefaultIdentityProviderConfig({"aws.auth#sigv4":l.credentials,"aws.auth#sigv4a":l.credentials})})),this.middlewareStack.use((0,vt.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}}Dt.STSClient=Cs});var zl=E((I)=>{var L=at(),Ee=k(),Ms=st(),Fs=it(),Q=Pt(),Ae=bt(),It=Le(),Ol=Ts(),Nl=he();class Re extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Q.AssumeRole$).build(){}class we extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Q.AssumeRoleWithWebIdentity$).build(){}var xl={AssumeRoleCommand:Re,AssumeRoleWithWebIdentityCommand:we};class Tt extends L.STSClient{}Ee.createAggregatedClient(xl,Tt);var Ls=(e)=>{if(typeof e?.Arn==="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}return},Gs=async(e,t,r,n={})=>{let s=typeof e==="function"?await e():e,o=typeof t==="function"?await t():t,a="",u=s??o??(a=await Ol.stsRegionDefaultResolver(n)());return r?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${s} (credential provider clientConfig)`,`${o} (contextual client)`,`${a} (STS default: AWS_REGION, profile region, or us-east-1)`),u},jl=(e,t)=>{let r,n;return async(s,o)=>{if(n=s,!r){let{logger:l=e?.parentClientConfig?.logger,profile:b=e?.parentClientConfig?.profile,region:y,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:R,userAgentAppId:g=e?.parentClientConfig?.userAgentAppId}=e,T=await Gs(y,e?.parentClientConfig?.region,R,{logger:l,profile:b}),Pe=!Ws(h);r=new t({...e,userAgentAppId:g,profile:b,credentialDefaultProvider:()=>async()=>n,region:T,requestHandler:Pe?h:void 0,logger:l})}let{Credentials:a,AssumedRoleUser:u}=await r.send(new Re(o));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${o.RoleArn}`);let i=Ls(u),d={accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,...a.CredentialScope&&{credentialScope:a.CredentialScope},...i&&{accountId:i}};return It.setCredentialFeature(d,"CREDENTIALS_STS_ASSUME_ROLE","i"),d}},$l=(e,t)=>{let r;return async(n)=>{if(!r){let{logger:i=e?.parentClientConfig?.logger,profile:d=e?.parentClientConfig?.profile,region:l,requestHandler:b=e?.parentClientConfig?.requestHandler,credentialProviderLogger:y,userAgentAppId:h=e?.parentClientConfig?.userAgentAppId}=e,R=await Gs(l,e?.parentClientConfig?.region,y,{logger:i,profile:d}),g=!Ws(b);r=new t({...e,userAgentAppId:h,profile:d,region:R,requestHandler:g?b:void 0,logger:i})}let{Credentials:s,AssumedRoleUser:o}=await r.send(new we(n));if(!s||!s.AccessKeyId||!s.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`);let a=Ls(o),u={accessKeyId:s.AccessKeyId,secretAccessKey:s.SecretAccessKey,sessionToken:s.SessionToken,expiration:s.Expiration,...s.CredentialScope&&{credentialScope:s.CredentialScope},...a&&{accountId:a}};if(a)It.setCredentialFeature(u,"RESOLVED_ACCOUNT_ID","T");return It.setCredentialFeature(u,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),u}},Ws=(e)=>{return e?.metadata?.handlerProtocol==="h2"},Ks=(e,t)=>{if(!t)return e;else return class extends e{constructor(n){super(n);for(let s of t)this.middlewareStack.use(s)}}},zs=(e={},t)=>jl(e,Ks(L.STSClient,t)),qs=(e={},t)=>$l(e,Ks(L.STSClient,t)),Hl=(e)=>(t)=>e({roleAssumer:zs(t),roleAssumerWithWebIdentity:qs(t),...t});I.$Command=Ee.Command;I.STSServiceException=Nl.STSServiceException;I.AssumeRoleCommand=Re;I.AssumeRoleWithWebIdentityCommand=we;I.STS=Tt;I.decorateDefaultCredentialProvider=Hl;I.getDefaultRoleAssumer=zs;I.getDefaultRoleAssumerWithWebIdentity=qs;Object.prototype.hasOwnProperty.call(L,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:L.__proto__});Object.keys(L).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=L[e]});Object.prototype.hasOwnProperty.call(Q,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Q.__proto__});Object.keys(Q).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Q[e]});Object.prototype.hasOwnProperty.call(Ae,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Ae.__proto__});Object.keys(Ae).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Ae[e]})});
|
|
25
|
+
export{zl as F6};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Zoa as n}from"./cli-0.6.0-59hncecf.mjs";import{dpa as r}from"./cli-0.6.0-szxjcmcn.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
|
+
export{i as g7};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hc as L,ic as m}from"./cli-0.6.0-7qwx1xwm.mjs";import{oc as O,pc as G,qc as u}from"./cli-0.6.0-r3kd85yw.mjs";import{Y4 as E,h4 as U,l4 as k,q4 as A}from"./cli-0.6.0-3qpvyrpf.mjs";import{Gaa as N,Gba as F,Gda as C,Jba as D,Qba as Q,Taa as g,V_ as K,W_ as Z,a$ as P,bca as h,jca as R,pca as _,qca as $,yca as x,yda as y}from"./cli-0.6.0-aqestr3c.mjs";import{Dha as f,vha as Y}from"./cli-0.6.0-nxpvznpz.mjs";import{Kka as J,wna as b}from"./cli-0.6.0-qnby905t.mjs";import{fpa as T}from"./cli-0.6.0-szxjcmcn.mjs";function n(){V=!0}function M(){if(!V)return!1;return V=!1,!0}function a(j){return(z)=>({...z,...typeof j.permission_mode==="string"?{toolPermissionContext:{...z.toolPermissionContext,mode:Z(j.permission_mode)}}:{},...typeof j.is_ultraplan_mode==="boolean"?{isUltraplanMode:j.is_ultraplan_mode}:{}})}function t({newState:j,oldState:z}){let W=M(),X=z.toolPermissionContext.mode,H=j.toolPermissionContext.mode;if(X!==H){let q=K(X),B=K(H);if(q!==B){let I=B==="plan"&&j.isUltraplanMode&&!z.isUltraplanMode?!0:null;O({permission_mode:B,is_ultraplan_mode:I})}G(H)}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel===null){if(J(null),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:void 0}));else N("userSettings",{model:void 0}),$()}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel!==null){if(J(j.mainLoopModel),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:j.mainLoopModel??void 0}));else N("userSettings",{model:j.mainLoopModel}),_(j.mainLoopModel)}if(j.expandedView!==z.expandedView){let q=j.expandedView==="tasks",B=j.expandedView==="teammates";if(D().showExpandedTodos!==q||D().showSpinnerTree!==B)F((I)=>({...I,showExpandedTodos:q,showSpinnerTree:B}))}if(j.verbose!==z.verbose&&D().verbose!==j.verbose){let q=j.verbose;F((B)=>({...B,verbose:q}))}if(j.collapseSubagentProgress!==z.collapseSubagentProgress&&D().collapseSubagentProgress!==j.collapseSubagentProgress){let q=j.collapseSubagentProgress;F((B)=>({...B,collapseSubagentProgress:q}))}if(j.settings!==z.settings)try{if(U(),k(),A(),j.settings.env!==z.settings.env)L()}catch(q){y(Y(q))}}var V=!1;var c=T(()=>{b();E();h();f();C();m();x();P();u();g()});
|
|
2
|
+
export{n as cc,a as dc,t as ec,c as fc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{od as Jq,sd as Tq}from"./cli-0.6.0-7shwamwq.mjs";import{Ad as bq,zd as zq}from"./cli-0.6.0-sh2rvpbt.mjs";import{$I as qq,BI as s,CI as _q,GI as a,JI as l,NI as t,SI as e,TF as u,UF as fq,UI as Rq,dJ as Fq,gE as r,hE as Gq,nI as S,qI as Nq,tJ as D,wJ as Cq,xm as n,ym as yq}from"./cli-0.6.0-vj1q5vmq.mjs";import{HW as i,IW as Kq,RW as Bq,RY as Oq,kY as F,mY as C}from"./cli-0.6.0-r5tyrw7e.mjs";import{p0 as v,q0 as R,r0 as p}from"./cli-0.6.0-ycj7gxxz.mjs";import{s0 as Lq}from"./cli-0.6.0-0p3mkd59.mjs";import{B7 as g,C7 as Zq,Gda as wq,K8 as o,L8 as Hq,N7 as $,O9 as vq,P7 as Xq,s9 as x,yda as m}from"./cli-0.6.0-aqestr3c.mjs";import{cha as B,fha as Yq}from"./cli-0.6.0-kr9jt2p9.mjs";import{Dha as Wq,vha as P,yha as h}from"./cli-0.6.0-nxpvznpz.mjs";import{bpa as d,fpa as Vq}from"./cli-0.6.0-szxjcmcn.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(h(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(h(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(u,{}),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 uq(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:hq}[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(u,{}),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(uq,{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.',hq='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 ed,Yz as fd,Dq as gd};
|