@claudiolabs/claudin 1.1.37 → 1.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/App-1.1.39-k3pzg19w.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.39-bycvt1g5.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.39-4j00w97q.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.39-38wypq07.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.39-edm7rsre.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.39-my209qf5.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.39-dt5qmt50.mjs +6 -0
- package/dist/chunks/Doctor-1.1.39-kv2tpcs1.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.39-d5t22ss6.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.39-z3zx6y4m.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.39-nwstppyf.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.39-pfjzxc4p.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.39-3mpd0tbf.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.39-r5976zwt.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.39-dzacd3pt.mjs +1 -0
- package/dist/chunks/REPL-1.1.39-ww7zvk7k.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.39-mdn16ej3.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.39-tnhzkmtn.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.39-vz4td3jg.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.39-rfjygmym.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.39-vbqywsj7.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.39-bb46mna1.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.39-b57dgsm7.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.39-jgfyp0cs.mjs +1 -0
- package/dist/chunks/add-dir-1.1.39-1wp8d118.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.39-0x20gy8e.mjs +1 -0
- package/dist/chunks/agents-1.1.39-b3k5kxn7.mjs +110 -0
- package/dist/chunks/agents-1.1.39-nt8wcmtp.mjs +3 -0
- package/dist/chunks/api-1.1.39-tn9g67g0.mjs +1 -0
- package/dist/chunks/asciicast-1.1.39-22byg1gm.mjs +1 -0
- package/dist/chunks/auth-1.1.39-1x1eer36.mjs +1 -0
- package/dist/chunks/auth-1.1.39-vz0zkq99.mjs +1 -0
- package/dist/chunks/autoMode-1.1.39-sjezrxh7.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.39-e6gvda2k.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.39-cz95xv2n.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.39-vsn9w5k2.mjs +1 -0
- package/dist/chunks/branch-1.1.39-e0ww5bkp.mjs +4 -0
- package/dist/chunks/bridge-1.1.39-k5vb0mmb.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.39-6czf6nvj.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.39-crv4d7xn.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.39-488k7mc8.mjs +64 -0
- package/dist/chunks/bridgePointer-1.1.39-xb9s18xx.mjs +1 -0
- package/dist/chunks/btw-1.1.39-n1psbg89.mjs +1 -0
- package/dist/chunks/buddy-1.1.39-ms13d421.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.39-j0aybz93.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.39-dg202ye5.mjs +4 -0
- package/dist/chunks/caches-1.1.39-v3nps0e9.mjs +1 -0
- package/dist/chunks/cd-1.1.39-awhhtq1z.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.39-azj9es6w.mjs +1 -0
- package/dist/chunks/claudemd-1.1.39-7a02xhkm.mjs +1 -0
- package/dist/chunks/clear-1.1.39-k197h5f0.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.39-twgf5kky.mjs +1 -0
- package/dist/chunks/cli-1.1.39-01qgb22d.mjs +4 -0
- package/dist/chunks/cli-1.1.39-07d1v3y9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-0k9p4g5p.mjs +2 -0
- package/dist/chunks/cli-1.1.39-0mtb82ww.mjs +2 -0
- package/dist/chunks/cli-1.1.39-0rsjfyh1.mjs +9 -0
- package/dist/chunks/cli-1.1.39-0s0eqwsn.mjs +2 -0
- package/dist/chunks/cli-1.1.39-10wrcybe.mjs +2 -0
- package/dist/chunks/cli-1.1.39-111vm2e1.mjs +24 -0
- package/dist/chunks/cli-1.1.39-14jxs3k5.mjs +3 -0
- package/dist/chunks/cli-1.1.39-15jr1t97.mjs +2 -0
- package/dist/chunks/cli-1.1.39-17mj2gq0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1es853x9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1m7bzjpd.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1mpe0mv2.mjs +17 -0
- package/dist/chunks/cli-1.1.39-1q43eavk.mjs +4 -0
- package/dist/chunks/cli-1.1.39-1r1cbvk8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1tcqp8ky.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1wg6zvk6.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1yysfg6y.mjs +2 -0
- package/dist/chunks/cli-1.1.39-212q1ba2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-24z9gjkg.mjs +6 -0
- package/dist/chunks/cli-1.1.39-2gzgjcxr.mjs +6 -0
- package/dist/chunks/cli-1.1.39-2hgsp1ry.mjs +2 -0
- package/dist/chunks/cli-1.1.39-2k0w4c3v.mjs +6 -0
- package/dist/chunks/cli-1.1.39-2vf0yc3g.mjs +2 -0
- package/dist/chunks/cli-1.1.39-2x3kj4gh.mjs +2 -0
- package/dist/chunks/cli-1.1.39-2xmkpvn8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-31e9rw45.mjs +2 -0
- package/dist/chunks/cli-1.1.39-3g0p54p8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-3mghgnn1.mjs +24 -0
- package/dist/chunks/cli-1.1.39-3yy2wxqa.mjs +24 -0
- package/dist/chunks/cli-1.1.39-4bdssx8e.mjs +2 -0
- package/dist/chunks/cli-1.1.39-4he45b53.mjs +2 -0
- package/dist/chunks/cli-1.1.39-4p4c56cn.mjs +2 -0
- package/dist/chunks/cli-1.1.39-4w5sz267.mjs +2 -0
- package/dist/chunks/cli-1.1.39-52k1fj82.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5gdtmek1.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5ge6mqxz.mjs +63 -0
- package/dist/chunks/cli-1.1.39-5h7tfgqc.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5r6zjkfz.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5t4113gt.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5xkhxv1a.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5yxt37n7.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5zc15zgx.mjs +2 -0
- package/dist/chunks/cli-1.1.39-6pkc868v.mjs +2 -0
- package/dist/chunks/cli-1.1.39-6y7dsvjs.mjs +2 -0
- package/dist/chunks/cli-1.1.39-70t1q2pm.mjs +2 -0
- package/dist/chunks/cli-1.1.39-75gxbxsn.mjs +7 -0
- package/dist/chunks/cli-1.1.39-7ck7pqh0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7d9k8cma.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7hm6zgk1.mjs +15 -0
- package/dist/chunks/cli-1.1.39-7jhstkb2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7kjnzaa8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7tchegvs.mjs +5 -0
- package/dist/chunks/cli-1.1.39-7tgaawmj.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7xc1qp70.mjs +2 -0
- package/dist/chunks/cli-1.1.39-89e5xfsc.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8e62hz1p.mjs +3 -0
- package/dist/chunks/cli-1.1.39-8gscnd8w.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8jw8s604.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8k3rh435.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8xf0xfkw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-905jk7a7.mjs +133 -0
- package/dist/chunks/cli-1.1.39-9afxesb0.mjs +3 -0
- package/dist/chunks/cli-1.1.39-9bh2t20k.mjs +3 -0
- package/dist/chunks/cli-1.1.39-9dfw3wt9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-9j9vfcg0.mjs +10 -0
- package/dist/chunks/cli-1.1.39-9qsdqnm7.mjs +6 -0
- package/dist/chunks/cli-1.1.39-9yg363zk.mjs +2 -0
- package/dist/chunks/cli-1.1.39-a1rc9y55.mjs +3 -0
- package/dist/chunks/cli-1.1.39-a40ak4sd.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ay2p31kb.mjs +39 -0
- package/dist/chunks/cli-1.1.39-b1gewbgs.mjs +2 -0
- package/dist/chunks/cli-1.1.39-b314axe0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-b3geta93.mjs +21 -0
- package/dist/chunks/cli-1.1.39-bd66bjj3.mjs +2 -0
- package/dist/chunks/cli-1.1.39-brzpjtja.mjs +2 -0
- package/dist/chunks/cli-1.1.39-c4c832m5.mjs +2 -0
- package/dist/chunks/cli-1.1.39-c6mm3w1n.mjs +135 -0
- package/dist/chunks/cli-1.1.39-c86mbrv2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-chveh83h.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cjc01sak.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ck0k3rxx.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ckty7bt1.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cq5nwqfw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cvbzp08c.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cyx7zw76.mjs +50 -0
- package/dist/chunks/cli-1.1.39-czh4aj72.mjs +4 -0
- package/dist/chunks/cli-1.1.39-d25xsy5x.mjs +2 -0
- package/dist/chunks/cli-1.1.39-dfrms96j.mjs +2 -0
- package/dist/chunks/cli-1.1.39-djtdv45d.mjs +4 -0
- package/dist/chunks/cli-1.1.39-dm5rqr07.mjs +8 -0
- package/dist/chunks/cli-1.1.39-dvfdgp8r.mjs +2 -0
- package/dist/chunks/cli-1.1.39-dwfknzds.mjs +2 -0
- package/dist/chunks/cli-1.1.39-dwgjp6zp.mjs +2 -0
- package/dist/chunks/cli-1.1.39-e4p7vgrg.mjs +2 -0
- package/dist/chunks/cli-1.1.39-e98w7pr4.mjs +2 -0
- package/dist/chunks/cli-1.1.39-en8a3nq6.mjs +11 -0
- package/dist/chunks/cli-1.1.39-epktaska.mjs +3 -0
- package/dist/chunks/cli-1.1.39-esp4w3m4.mjs +2 -0
- package/dist/chunks/cli-1.1.39-evs7a20p.mjs +9 -0
- package/dist/chunks/cli-1.1.39-eyp8d7vv.mjs +2 -0
- package/dist/chunks/cli-1.1.39-f0wf0m0n.mjs +2 -0
- package/dist/chunks/cli-1.1.39-f1schffw.mjs +25 -0
- package/dist/chunks/cli-1.1.39-f2qc1x1n.mjs +2 -0
- package/dist/chunks/cli-1.1.39-f5azyvet.mjs +2 -0
- package/dist/chunks/cli-1.1.39-fka8qdkr.mjs +2 -0
- package/dist/chunks/cli-1.1.39-fm08hbtj.mjs +2 -0
- package/dist/chunks/cli-1.1.39-fqsaf1st.mjs +2 -0
- package/dist/chunks/cli-1.1.39-g751n1kp.mjs +2 -0
- package/dist/chunks/cli-1.1.39-g7mbr2ky.mjs +2 -0
- package/dist/chunks/cli-1.1.39-g9rcf6cw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ghja51c5.mjs +2 -0
- package/dist/chunks/cli-1.1.39-gnkk8fs7.mjs +2 -0
- package/dist/chunks/cli-1.1.39-gtm67f9z.mjs +2 -0
- package/dist/chunks/cli-1.1.39-h06axtf8.mjs +4 -0
- package/dist/chunks/cli-1.1.39-h8ahn5vw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-h90nz8dv.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ha8fn1m0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-hgm87yas.mjs +10 -0
- package/dist/chunks/cli-1.1.39-j6nvja1z.mjs +2 -0
- package/dist/chunks/cli-1.1.39-jmh4b6db.mjs +2 -0
- package/dist/chunks/cli-1.1.39-jncrq8d3.mjs +2 -0
- package/dist/chunks/cli-1.1.39-jq1a84j4.mjs +2 -0
- package/dist/chunks/cli-1.1.39-k8n2ksgh.mjs +2 -0
- package/dist/chunks/cli-1.1.39-kcq7gw24.mjs +60 -0
- package/dist/chunks/cli-1.1.39-kfztpa2h.mjs +2 -0
- package/dist/chunks/cli-1.1.39-kkgyntg1.mjs +7 -0
- package/dist/chunks/cli-1.1.39-kw258d7x.mjs +4 -0
- package/dist/chunks/cli-1.1.39-mhv15208.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ms0zz1pq.mjs +2 -0
- package/dist/chunks/cli-1.1.39-mtdpf384.mjs +2 -0
- package/dist/chunks/cli-1.1.39-n8j5q839.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nc39g50q.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nde8mxzw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ne2jz4j1.mjs +12 -0
- package/dist/chunks/cli-1.1.39-nhgqks5q.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nk9xnj41.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nkv70wmc.mjs +10 -0
- package/dist/chunks/cli-1.1.39-nmm4w3bh.mjs +16 -0
- package/dist/chunks/cli-1.1.39-nnc7eg6p.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nsgjkze0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nxv718fh.mjs +3 -0
- package/dist/chunks/cli-1.1.39-p2sg5g92.mjs +250 -0
- package/dist/chunks/cli-1.1.39-pc9dgxhx.mjs +5 -0
- package/dist/chunks/cli-1.1.39-q8q90rxq.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rfkva6dd.mjs +42 -0
- package/dist/chunks/cli-1.1.39-rhqy2d5w.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rjxm15hw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rp6sehng.mjs +3 -0
- package/dist/chunks/cli-1.1.39-rprv5zq8.mjs +25 -0
- package/dist/chunks/cli-1.1.39-rqs6bqnm.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rxpy9zgc.mjs +2 -0
- package/dist/chunks/cli-1.1.39-s4g9xyv5.mjs +2 -0
- package/dist/chunks/cli-1.1.39-srjkdp3j.mjs +2 -0
- package/dist/chunks/cli-1.1.39-swktejeb.mjs +2 -0
- package/dist/chunks/cli-1.1.39-t2jqv0s9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-t4a22cet.mjs +6 -0
- package/dist/chunks/cli-1.1.39-tc87f2ta.mjs +2 -0
- package/dist/chunks/cli-1.1.39-tjpdjpp5.mjs +15 -0
- package/dist/chunks/cli-1.1.39-tveshzdb.mjs +2 -0
- package/dist/chunks/cli-1.1.39-v92y62n9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-vh86jjp2.mjs +4 -0
- package/dist/chunks/cli-1.1.39-vhqah8m7.mjs +2 -0
- package/dist/chunks/cli-1.1.39-vtt2tmb9.mjs +18 -0
- package/dist/chunks/cli-1.1.39-wdctfdbb.mjs +4 -0
- package/dist/chunks/cli-1.1.39-whzghgxz.mjs +2 -0
- package/dist/chunks/cli-1.1.39-x6jkg8mf.mjs +20 -0
- package/dist/chunks/cli-1.1.39-xg4cr6x8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-xm6k98xf.mjs +2 -0
- package/dist/chunks/cli-1.1.39-xyddt40c.mjs +2 -0
- package/dist/chunks/cli-1.1.39-y341qw3m.mjs +2 -0
- package/dist/chunks/cli-1.1.39-yjwk9mw8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ypma7nx9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ytvr80fj.mjs +15 -0
- package/dist/chunks/cli-1.1.39-yyqx9zb5.mjs +5522 -0
- package/dist/chunks/cli-1.1.39-z1akavz2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-z21b507j.mjs +2 -0
- package/dist/chunks/cli-1.1.39-z6fepfnh.mjs +2 -0
- package/dist/chunks/cli-1.1.39-z8ts6axr.mjs +2 -0
- package/dist/chunks/cli-1.1.39-zc1b8zf6.mjs +2 -0
- package/dist/chunks/cli-1.1.39-zdsdsv4h.mjs +3 -0
- package/dist/chunks/cli-1.1.39-zfb5hcs0.mjs +34 -0
- package/dist/chunks/client-1.1.39-zrdzybfj.mjs +1 -0
- package/dist/chunks/color-1.1.39-qsgg6xt0.mjs +1 -0
- package/dist/chunks/compact-1.1.39-ye5nj18m.mjs +2 -0
- package/dist/chunks/config-1.1.39-cfgcj726.mjs +1 -0
- package/dist/chunks/config-1.1.39-nsgxmahr.mjs +1 -0
- package/dist/chunks/constants-1.1.39-s4anaxa3.mjs +1 -0
- package/dist/chunks/context-1.1.39-a93qe83k.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.39-2428zhce.mjs +1 -0
- package/dist/chunks/conversation-1.1.39-x581tx1z.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.39-bnzefwe6.mjs +1 -0
- package/dist/chunks/copy-1.1.39-tqab4hm1.mjs +9 -0
- package/dist/chunks/cost-1.1.39-ak71khd3.mjs +1 -0
- package/dist/chunks/createSession-1.1.39-yv7a37ye.mjs +1 -0
- package/dist/chunks/debug-1.1.39-50dvjcn3.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.39-483fm6xk.mjs +1458 -0
- package/dist/chunks/desktop-1.1.39-hbx627a1.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.39-nq1yyp24.mjs +1 -0
- package/dist/chunks/detection-1.1.39-myz8dcyc.mjs +1 -0
- package/dist/chunks/diff-1.1.39-zwwd0sxq.mjs +1 -0
- package/dist/chunks/doctor-1.1.39-bw8w0sdj.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.39-x9azkqjy.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.39-3wtxyym8.mjs +1 -0
- package/dist/chunks/effort-1.1.39-4r28x4kv.mjs +13 -0
- package/dist/chunks/engine-1.1.39-jjwgtndr.mjs +1 -0
- package/dist/chunks/envUtils-1.1.39-azqd5ff8.mjs +1 -0
- package/dist/chunks/errors-1.1.39-z6wpc1z1.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.39-fhwx5xxp.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.39-raa250pr.mjs +1 -0
- package/dist/chunks/exit-1.1.39-vwjekv6v.mjs +1 -0
- package/dist/chunks/explorer-1.1.39-rs5cjdex.mjs +1 -0
- package/dist/chunks/export-1.1.39-eg5q8fpq.mjs +2 -0
- package/dist/chunks/fast-1.1.39-j8zrdcv9.mjs +1 -0
- package/dist/chunks/feedback-1.1.39-tt17q1d1.mjs +16 -0
- package/dist/chunks/git-1.1.39-hf1cm8nf.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.39-yb2392an.mjs +1 -0
- package/dist/chunks/goal-1.1.39-6q6twvx9.mjs +4 -0
- package/dist/chunks/headless-1.1.39-e745sf98.mjs +2 -0
- package/dist/chunks/heapdump-1.1.39-1mf2vt2g.mjs +6 -0
- package/dist/chunks/help-1.1.39-szdr1nvx.mjs +1 -0
- package/dist/chunks/hooks-1.1.39-5pws6gsg.mjs +79 -0
- package/dist/chunks/hooks-1.1.39-6tz18s8r.mjs +1 -0
- package/dist/chunks/ide-1.1.39-nk0vmfg1.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.39-rx4ypf8k.mjs +1 -0
- package/dist/chunks/import-1.1.39-eyddkf9v.mjs +260 -0
- package/dist/chunks/inboundAttachments-1.1.39-g0fjztwj.mjs +1 -0
- package/dist/chunks/index-1.1.39-1wfhz9pz.mjs +1 -0
- package/dist/chunks/index-1.1.39-27vjd0t1.mjs +1 -0
- package/dist/chunks/index-1.1.39-3mp0kdhv.mjs +1 -0
- package/dist/chunks/index-1.1.39-aj2fb3nf.mjs +30 -0
- package/dist/chunks/index-1.1.39-ajb8kk03.mjs +1 -0
- package/dist/chunks/index-1.1.39-bznxqgpz.mjs +1 -0
- package/dist/chunks/index-1.1.39-cf96agzw.mjs +2 -0
- package/dist/chunks/index-1.1.39-d4j661cs.mjs +1 -0
- package/dist/chunks/index-1.1.39-dapcfrje.mjs +1 -0
- package/dist/chunks/index-1.1.39-e9fjpss8.mjs +1 -0
- package/dist/chunks/index-1.1.39-eg0vw6jg.mjs +1 -0
- package/dist/chunks/index-1.1.39-eqm0e7bk.mjs +1 -0
- package/dist/chunks/index-1.1.39-frzv879p.mjs +23 -0
- package/dist/chunks/index-1.1.39-fthy3yb2.mjs +1 -0
- package/dist/chunks/index-1.1.39-h7tvkmm7.mjs +9 -0
- package/dist/chunks/index-1.1.39-hn7czx81.mjs +5 -0
- package/dist/chunks/index-1.1.39-jeg0xvtv.mjs +1 -0
- package/dist/chunks/index-1.1.39-qh6j97r3.mjs +2 -0
- package/dist/chunks/index-1.1.39-szfdrv3c.mjs +9 -0
- package/dist/chunks/index-1.1.39-t358fdhx.mjs +1 -0
- package/dist/chunks/index-1.1.39-w73ez3fh.mjs +1 -0
- package/dist/chunks/index-1.1.39-xcj56xfg.mjs +1 -0
- package/dist/chunks/index-1.1.39-zy7eyf9r.mjs +1 -0
- package/dist/chunks/init-1.1.39-fm3907f2.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.39-76qw9tbk.mjs +1 -0
- package/dist/chunks/ink-1.1.39-f9cyw022.mjs +1 -0
- package/dist/chunks/insights-1.1.39-ee2ra979.mjs +870 -0
- package/dist/chunks/install-1.1.39-1hv4f4fk.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.39-tg2jfpvx.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.39-69fgekh2.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.39-5caf0pb7.mjs +1 -0
- package/dist/chunks/latestVersionCache-1.1.39-31bygz1b.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.39-1jtdv1bq.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.39-4xw48447.mjs +1 -0
- package/dist/chunks/log-1.1.39-50bfm8j0.mjs +1 -0
- package/dist/chunks/main-1.1.39-f3n951kv.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.39-bwtexcjv.mjs +1 -0
- package/dist/chunks/mcp-1.1.39-15sz3hsq.mjs +1 -0
- package/dist/chunks/mcp-1.1.39-h4h304ze.mjs +4 -0
- package/dist/chunks/mcp-1.1.39-rdsgsc15.mjs +17 -0
- package/dist/chunks/mcpb-1.1.39-5qywjc26.mjs +1 -0
- package/dist/chunks/memory-1.1.39-8edv180p.mjs +128 -0
- package/dist/chunks/model-1.1.39-95b780x9.mjs +2 -0
- package/dist/chunks/model-1.1.39-a5xmtpbv.mjs +1 -0
- package/dist/chunks/new-1.1.39-9476r8p1.mjs +1 -0
- package/dist/chunks/node-1.1.39-pqhskkn0.mjs +15 -0
- package/dist/chunks/node-1.1.39-xgvdgvgj.mjs +1 -0
- package/dist/chunks/oauth-1.1.39-5h69g0mf.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.39-jnp9fkcv.mjs +14 -0
- package/dist/chunks/output-style-1.1.39-e5qsw51y.mjs +1 -0
- package/dist/chunks/package-V72LKFNW-1.1.39-0gcw2fkh.mjs +1 -0
- package/dist/chunks/permissions-1.1.39-0m2h5ctr.mjs +3 -0
- package/dist/chunks/permissions-1.1.39-djt32qkn.mjs +1 -0
- package/dist/chunks/plan-1.1.39-qcq9a7rg.mjs +1 -0
- package/dist/chunks/plist-1.1.39-esb4db3e.mjs +1 -0
- package/dist/chunks/plugin-1.1.39-xztkvc83.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.39-pzynd625.mjs +1 -0
- package/dist/chunks/plugins-1.1.39-2vnnwfwq.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.39-w6ay049g.mjs +2 -0
- package/dist/chunks/print-1.1.39-m20hre3d.mjs +57 -0
- package/dist/chunks/process-1.1.39-7pp4m6p6.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.39-z8xyxzeb.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.39-025rdqc4.mjs +9 -0
- package/dist/chunks/prompt-1.1.39-8cves1th.mjs +1 -0
- package/dist/chunks/prompt-1.1.39-vys3tszv.mjs +1 -0
- package/dist/chunks/prompts-1.1.39-agk5ys12.mjs +1 -0
- package/dist/chunks/provider-1.1.39-ezn3013z.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.39-c20aqfkp.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.39-5bwc03ac.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.39-tg42q4mt.mjs +26 -0
- package/dist/chunks/registry-1.1.39-69kg9048.mjs +1 -0
- package/dist/chunks/release-notes-1.1.39-vm602996.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.39-hq5jb4fe.mjs +2 -0
- package/dist/chunks/remote-env-1.1.39-b742xwt8.mjs +1 -0
- package/dist/chunks/rename-1.1.39-37583s4r.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.39-x7vm725e.mjs +1 -0
- package/dist/chunks/resume-1.1.39-7x78pwef.mjs +2 -0
- package/dist/chunks/rewind-1.1.39-36y4s8ng.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.39-ns1nx8k9.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.39-8p1cbkrx.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.39-bt6cm9af.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.39-a3p74qsk.mjs +1 -0
- package/dist/chunks/session-1.1.39-qgpx4589.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.39-fp105vvb.mjs +1 -0
- package/dist/chunks/settings-1.1.39-qe258cgb.mjs +1 -0
- package/dist/chunks/setup-1.1.39-4zjv96k3.mjs +12 -0
- package/dist/chunks/sinks-1.1.39-6xx75cg6.mjs +1 -0
- package/dist/chunks/skills-1.1.39-2d5tfynf.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.39-jcvdrk17.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.39-43maz2ha.mjs +1 -0
- package/dist/chunks/state-1.1.39-4sbpam9q.mjs +1 -0
- package/dist/chunks/stats-1.1.39-8p35mm3v.mjs +1 -0
- package/dist/chunks/status-1.1.39-1qcsfp99.mjs +1 -0
- package/dist/chunks/stickers-1.1.39-hppwbrtb.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.39-hp2bbefp.mjs +1 -0
- package/dist/chunks/tasks-1.1.39-qs8xddg1.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.39-qnvqd2j1.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.39-pr2vnqzw.mjs +1 -0
- package/dist/chunks/teleport-1.1.39-zt8tze77.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.39-715qq4cf.mjs +1 -0
- package/dist/chunks/theme-1.1.39-gnxdfpcb.mjs +1 -0
- package/dist/chunks/toolPool-1.1.39-77884kvy.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.39-b2k8yjaz.mjs +1 -0
- package/dist/chunks/tools-1.1.39-7nbe7hrf.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.39-h0gz7em7.mjs +69 -0
- package/dist/chunks/types-1.1.39-jcqnbyss.mjs +1 -0
- package/dist/chunks/update-1.1.39-1w75psfh.mjs +72 -0
- package/dist/chunks/upload-1.1.39-z8ymn737.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.39-j1d74feb.mjs +14 -0
- package/dist/chunks/usage-1.1.39-s31k5fep.mjs +1 -0
- package/dist/chunks/util-1.1.39-ad8sk0dp.mjs +1 -0
- package/dist/chunks/utils-1.1.39-ya8kcrhm.mjs +1 -0
- package/dist/chunks/vim-1.1.39-b6pfmpbz.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.39-h3bxe3p9.mjs +13 -0
- package/dist/chunks/wiki-1.1.39-5aj4xh5m.mjs +132 -0
- package/dist/chunks/workflows-1.1.39-f31ham8r.mjs +1 -0
- package/dist/chunks/worktree-1.1.39-sf55cdqj.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.39-4ja3es46.mjs +1 -0
- package/dist/chunks/wrapper-1.1.39-r1fj52tb.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help.txt +1 -1
- package/package.json +9 -9
- package/dist/chunks/App-1.1.37-gvacrdsk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.37-rnnbn40a.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.37-g6ta4m2v.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.37-pk4aghdz.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.37-hymvtk1w.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.37-p8fwd4tm.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.37-hb26z7b7.mjs +0 -6
- package/dist/chunks/Doctor-1.1.37-g60gf1vr.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.37-w0ek8efz.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.37-tp4qnkf7.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.37-5ds363er.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.37-qaz2nf35.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.37-cxe5gn9z.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.37-jsrbvfaa.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.37-kmfet3bc.mjs +0 -1
- package/dist/chunks/REPL-1.1.37-mx8g4asq.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.37-1j1egpzv.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.37-s6gpj3tk.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.37-06r6s8k3.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.37-vk5478hq.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.37-08ypek7f.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.37-j3j1tnac.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.37-dy4r3sef.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.37-r4p9gt6p.mjs +0 -1
- package/dist/chunks/add-dir-1.1.37-hsgnnqm5.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.37-e0zrjgxd.mjs +0 -1
- package/dist/chunks/agents-1.1.37-770krh9a.mjs +0 -110
- package/dist/chunks/agents-1.1.37-n5gk09na.mjs +0 -3
- package/dist/chunks/api-1.1.37-bwy6n0v8.mjs +0 -1
- package/dist/chunks/asciicast-1.1.37-t7zpdmt1.mjs +0 -1
- package/dist/chunks/auth-1.1.37-apskerg1.mjs +0 -1
- package/dist/chunks/auth-1.1.37-t0yjn0qg.mjs +0 -1
- package/dist/chunks/autoMode-1.1.37-a94rgbvb.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.37-8g5tdnzc.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.37-pe8hzmys.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.37-r98mdthk.mjs +0 -1
- package/dist/chunks/branch-1.1.37-1a761dqp.mjs +0 -4
- package/dist/chunks/bridge-1.1.37-djx2nh0s.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.37-wsz2v4gw.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.37-pht9tpgd.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.37-btaaq723.mjs +0 -64
- package/dist/chunks/bridgePointer-1.1.37-97bjx2gt.mjs +0 -1
- package/dist/chunks/btw-1.1.37-kzbnzfwv.mjs +0 -1
- package/dist/chunks/buddy-1.1.37-r155thdv.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.37-szdjedc6.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.37-zcq6bfv7.mjs +0 -4
- package/dist/chunks/caches-1.1.37-m3bsp8q4.mjs +0 -1
- package/dist/chunks/cd-1.1.37-bgh3jr0j.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.37-d5rmp7j9.mjs +0 -1
- package/dist/chunks/claudemd-1.1.37-zqxz2brp.mjs +0 -1
- package/dist/chunks/clear-1.1.37-a28jd9f5.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.37-1vwtn9rv.mjs +0 -1
- package/dist/chunks/cli-1.1.37-07v28734.mjs +0 -24
- package/dist/chunks/cli-1.1.37-0g18ppvn.mjs +0 -2
- package/dist/chunks/cli-1.1.37-0t8trtcs.mjs +0 -135
- package/dist/chunks/cli-1.1.37-160hvn22.mjs +0 -2
- package/dist/chunks/cli-1.1.37-16r2w6eh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-16ycb15m.mjs +0 -2
- package/dist/chunks/cli-1.1.37-1esm8vyn.mjs +0 -2
- package/dist/chunks/cli-1.1.37-1nx0h24b.mjs +0 -34
- package/dist/chunks/cli-1.1.37-1sn4ganc.mjs +0 -6
- package/dist/chunks/cli-1.1.37-22erav9m.mjs +0 -2
- package/dist/chunks/cli-1.1.37-240c02km.mjs +0 -4
- package/dist/chunks/cli-1.1.37-26cht952.mjs +0 -4
- package/dist/chunks/cli-1.1.37-2gsgt0yq.mjs +0 -2
- package/dist/chunks/cli-1.1.37-2xne39h9.mjs +0 -6
- package/dist/chunks/cli-1.1.37-37swmf5n.mjs +0 -2
- package/dist/chunks/cli-1.1.37-39bw2pz6.mjs +0 -2
- package/dist/chunks/cli-1.1.37-3j7g0j34.mjs +0 -2
- package/dist/chunks/cli-1.1.37-3k4d07av.mjs +0 -2
- package/dist/chunks/cli-1.1.37-3pyzesy7.mjs +0 -2
- package/dist/chunks/cli-1.1.37-41q5f236.mjs +0 -63
- package/dist/chunks/cli-1.1.37-45phxq6t.mjs +0 -2
- package/dist/chunks/cli-1.1.37-46pcgpjk.mjs +0 -5
- package/dist/chunks/cli-1.1.37-4829k99z.mjs +0 -8
- package/dist/chunks/cli-1.1.37-4cwzzzkp.mjs +0 -2
- package/dist/chunks/cli-1.1.37-4cyg3kha.mjs +0 -15
- package/dist/chunks/cli-1.1.37-4s29t03n.mjs +0 -2
- package/dist/chunks/cli-1.1.37-519yanf4.mjs +0 -2
- package/dist/chunks/cli-1.1.37-51efrsrh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-58pbecmv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-5gj77q8j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-5k40cazp.mjs +0 -2
- package/dist/chunks/cli-1.1.37-5ppknhpq.mjs +0 -50
- package/dist/chunks/cli-1.1.37-67ncf860.mjs +0 -2
- package/dist/chunks/cli-1.1.37-6k9f1kb2.mjs +0 -6
- package/dist/chunks/cli-1.1.37-6pcx2j1q.mjs +0 -2
- package/dist/chunks/cli-1.1.37-72ezs6b8.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7483gf56.mjs +0 -3
- package/dist/chunks/cli-1.1.37-7614bfhm.mjs +0 -25
- package/dist/chunks/cli-1.1.37-7f3hdq3p.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7h3edez5.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7prgb5qb.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7qda9cmg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-8n5vy3kh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-8v3e4pnr.mjs +0 -2
- package/dist/chunks/cli-1.1.37-8wfxbqcm.mjs +0 -20
- package/dist/chunks/cli-1.1.37-944j3qt1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-94bfnv5a.mjs +0 -2
- package/dist/chunks/cli-1.1.37-96sf5t1p.mjs +0 -2
- package/dist/chunks/cli-1.1.37-9x24mgyx.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a3xp4gqs.mjs +0 -3
- package/dist/chunks/cli-1.1.37-a489vqjv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a5ddx2f0.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a6pppj4k.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a7jrq85d.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ayhzfa69.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ayqpwfm4.mjs +0 -2
- package/dist/chunks/cli-1.1.37-b26at90a.mjs +0 -4
- package/dist/chunks/cli-1.1.37-be0x6tdq.mjs +0 -18
- package/dist/chunks/cli-1.1.37-bkp0a6f1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-cmbtcpwy.mjs +0 -2
- package/dist/chunks/cli-1.1.37-crpgw5qe.mjs +0 -133
- package/dist/chunks/cli-1.1.37-cw718qh8.mjs +0 -42
- package/dist/chunks/cli-1.1.37-d1fcgxg0.mjs +0 -2
- package/dist/chunks/cli-1.1.37-d23vxnm9.mjs +0 -2
- package/dist/chunks/cli-1.1.37-d6n91ex7.mjs +0 -15
- package/dist/chunks/cli-1.1.37-dj2tqhmt.mjs +0 -2
- package/dist/chunks/cli-1.1.37-dt1m5cht.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ecm5tm4s.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ekft3ygw.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ev14s3y6.mjs +0 -4
- package/dist/chunks/cli-1.1.37-ex5tn3t8.mjs +0 -6
- package/dist/chunks/cli-1.1.37-f4cc288j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-f7e57y66.mjs +0 -2
- package/dist/chunks/cli-1.1.37-f9mv7jky.mjs +0 -2
- package/dist/chunks/cli-1.1.37-fdkc3sf9.mjs +0 -2
- package/dist/chunks/cli-1.1.37-fksjv0et.mjs +0 -2
- package/dist/chunks/cli-1.1.37-fsjyvbbb.mjs +0 -2
- package/dist/chunks/cli-1.1.37-g7m905sy.mjs +0 -3
- package/dist/chunks/cli-1.1.37-g9d8qc79.mjs +0 -2
- package/dist/chunks/cli-1.1.37-gfbpxehy.mjs +0 -2
- package/dist/chunks/cli-1.1.37-gpk56nss.mjs +0 -2
- package/dist/chunks/cli-1.1.37-grsmntjy.mjs +0 -5557
- package/dist/chunks/cli-1.1.37-gswxz7xc.mjs +0 -25
- package/dist/chunks/cli-1.1.37-h0jx10pf.mjs +0 -11
- package/dist/chunks/cli-1.1.37-h4spe8tn.mjs +0 -16
- package/dist/chunks/cli-1.1.37-h7r11vsm.mjs +0 -15
- package/dist/chunks/cli-1.1.37-he99jbx1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-hef24tpw.mjs +0 -3
- package/dist/chunks/cli-1.1.37-hgz1n58h.mjs +0 -2
- package/dist/chunks/cli-1.1.37-htprtn3s.mjs +0 -2
- package/dist/chunks/cli-1.1.37-hwan9xgw.mjs +0 -2
- package/dist/chunks/cli-1.1.37-j1vf4g9d.mjs +0 -4
- package/dist/chunks/cli-1.1.37-j6kremq2.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jb5tx7mz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jbqk7r70.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jfqs1fqm.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jr1vseya.mjs +0 -4
- package/dist/chunks/cli-1.1.37-jr69vbpp.mjs +0 -3
- package/dist/chunks/cli-1.1.37-jv2bhmv9.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jz75ctqt.mjs +0 -4
- package/dist/chunks/cli-1.1.37-kahw2epk.mjs +0 -39
- package/dist/chunks/cli-1.1.37-kb946f3c.mjs +0 -2
- package/dist/chunks/cli-1.1.37-kemsps6y.mjs +0 -60
- package/dist/chunks/cli-1.1.37-khfxdt5q.mjs +0 -2
- package/dist/chunks/cli-1.1.37-kn42c81a.mjs +0 -3
- package/dist/chunks/cli-1.1.37-kwaccfak.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m1fep5be.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m456xrwv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m5yt8y0j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m6gntr6v.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ma9krcyk.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mexv9k9t.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mf2q6gmp.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mqc9bwxe.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mrvnfwyz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mw2jz1zw.mjs +0 -7
- package/dist/chunks/cli-1.1.37-n183zk9b.mjs +0 -24
- package/dist/chunks/cli-1.1.37-n5rtec8d.mjs +0 -2
- package/dist/chunks/cli-1.1.37-n96tca8q.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ncfrm58b.mjs +0 -2
- package/dist/chunks/cli-1.1.37-nhcj6483.mjs +0 -2
- package/dist/chunks/cli-1.1.37-nmaxyg7j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-nzbxb3mg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-p6s3mz30.mjs +0 -9
- package/dist/chunks/cli-1.1.37-pek0pwba.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ptf1j7na.mjs +0 -2
- package/dist/chunks/cli-1.1.37-pvh445g5.mjs +0 -3
- package/dist/chunks/cli-1.1.37-pw36zafa.mjs +0 -2
- package/dist/chunks/cli-1.1.37-q1053cc2.mjs +0 -17
- package/dist/chunks/cli-1.1.37-qcn1j79h.mjs +0 -2
- package/dist/chunks/cli-1.1.37-qq29akkh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-qx20qhv7.mjs +0 -2
- package/dist/chunks/cli-1.1.37-rdmqbzqh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-rwsh9ddm.mjs +0 -3
- package/dist/chunks/cli-1.1.37-ryrmx9mz.mjs +0 -10
- package/dist/chunks/cli-1.1.37-s09fpmwg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-s66bx6wx.mjs +0 -24
- package/dist/chunks/cli-1.1.37-sf9mv58v.mjs +0 -10
- package/dist/chunks/cli-1.1.37-sm7wj6sf.mjs +0 -4
- package/dist/chunks/cli-1.1.37-sqyyjrzq.mjs +0 -5
- package/dist/chunks/cli-1.1.37-ss1k0v1c.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ssstmvw3.mjs +0 -3
- package/dist/chunks/cli-1.1.37-sxzqtyda.mjs +0 -2
- package/dist/chunks/cli-1.1.37-syfanvjj.mjs +0 -2
- package/dist/chunks/cli-1.1.37-sygz2s62.mjs +0 -2
- package/dist/chunks/cli-1.1.37-tkdarzaz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-tntw41wr.mjs +0 -2
- package/dist/chunks/cli-1.1.37-tqgcfdy1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-v43zxjn1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-v7ra9bdg.mjs +0 -10
- package/dist/chunks/cli-1.1.37-v901k2xy.mjs +0 -2
- package/dist/chunks/cli-1.1.37-v90enr9t.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vfcg5s15.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vg7rr3sv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vhmf8afh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vhmsvame.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vrdgh1e0.mjs +0 -2
- package/dist/chunks/cli-1.1.37-w0tvj01c.mjs +0 -2
- package/dist/chunks/cli-1.1.37-wm28b2wb.mjs +0 -2
- package/dist/chunks/cli-1.1.37-wv9phckk.mjs +0 -9
- package/dist/chunks/cli-1.1.37-x03y4qkg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-x0nz472y.mjs +0 -2
- package/dist/chunks/cli-1.1.37-x27pf2df.mjs +0 -2
- package/dist/chunks/cli-1.1.37-x363x6yv.mjs +0 -12
- package/dist/chunks/cli-1.1.37-xqs4w5xj.mjs +0 -2
- package/dist/chunks/cli-1.1.37-xxa2yvvm.mjs +0 -2
- package/dist/chunks/cli-1.1.37-y101rdsg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-y2c4zsfh.mjs +0 -6
- package/dist/chunks/cli-1.1.37-y3knvtaz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ye5hkqff.mjs +0 -2
- package/dist/chunks/cli-1.1.37-yx7j10g7.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z0tedaby.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z414tkgs.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z4wav0zf.mjs +0 -251
- package/dist/chunks/cli-1.1.37-z6pkdynf.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z9fbkmx6.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zb319x4t.mjs +0 -21
- package/dist/chunks/cli-1.1.37-zdpyj00a.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zmvkkbkz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zp02yw3a.mjs +0 -7
- package/dist/chunks/cli-1.1.37-zv5qmddr.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zyh3q51q.mjs +0 -2
- package/dist/chunks/client-1.1.37-xgmkbazy.mjs +0 -1
- package/dist/chunks/color-1.1.37-y730edtg.mjs +0 -1
- package/dist/chunks/compact-1.1.37-w4h4spv3.mjs +0 -2
- package/dist/chunks/config-1.1.37-kw2by168.mjs +0 -1
- package/dist/chunks/config-1.1.37-nxkma2y7.mjs +0 -1
- package/dist/chunks/constants-1.1.37-ctp81rsa.mjs +0 -1
- package/dist/chunks/context-1.1.37-ayxgyhvf.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.37-9fnpakkn.mjs +0 -1
- package/dist/chunks/conversation-1.1.37-c5qptech.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.37-2jh9xkzj.mjs +0 -1
- package/dist/chunks/copy-1.1.37-3x6yh3re.mjs +0 -9
- package/dist/chunks/cost-1.1.37-k4egf2cb.mjs +0 -1
- package/dist/chunks/createSession-1.1.37-ps0330f5.mjs +0 -1
- package/dist/chunks/debug-1.1.37-rg6428fc.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.37-0p69kpbf.mjs +0 -1458
- package/dist/chunks/desktop-1.1.37-vw4rzhtp.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.37-de5st3z1.mjs +0 -1
- package/dist/chunks/detection-1.1.37-2ah57ykf.mjs +0 -1
- package/dist/chunks/diff-1.1.37-h35ry5bf.mjs +0 -1
- package/dist/chunks/doctor-1.1.37-4sdv75rj.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.37-aj2q1yxr.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.37-f1bz41ba.mjs +0 -1
- package/dist/chunks/effort-1.1.37-qme7s71h.mjs +0 -13
- package/dist/chunks/engine-1.1.37-vhnerrj8.mjs +0 -1
- package/dist/chunks/envUtils-1.1.37-jmnztajb.mjs +0 -1
- package/dist/chunks/errors-1.1.37-gx18q68s.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.37-jeewe5zp.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.37-9znv87jk.mjs +0 -1
- package/dist/chunks/exit-1.1.37-g21nsxb0.mjs +0 -1
- package/dist/chunks/explorer-1.1.37-x26rvwxm.mjs +0 -1
- package/dist/chunks/export-1.1.37-f9367qzp.mjs +0 -2
- package/dist/chunks/fast-1.1.37-66kcejyq.mjs +0 -1
- package/dist/chunks/feedback-1.1.37-cmzfc89p.mjs +0 -16
- package/dist/chunks/git-1.1.37-2v8rmfsp.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.37-qa9ahy75.mjs +0 -1
- package/dist/chunks/goal-1.1.37-qxqx92gp.mjs +0 -4
- package/dist/chunks/headless-1.1.37-dkg8aqth.mjs +0 -2
- package/dist/chunks/heapdump-1.1.37-4hzv26jg.mjs +0 -6
- package/dist/chunks/help-1.1.37-94a27s9t.mjs +0 -1
- package/dist/chunks/hooks-1.1.37-ekx4v46c.mjs +0 -79
- package/dist/chunks/hooks-1.1.37-yeewd50h.mjs +0 -1
- package/dist/chunks/ide-1.1.37-knedgvva.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.37-cdpery4t.mjs +0 -1
- package/dist/chunks/import-1.1.37-e6j4yen6.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.37-jjm28zc3.mjs +0 -1
- package/dist/chunks/index-1.1.37-21b053j0.mjs +0 -1
- package/dist/chunks/index-1.1.37-3v1qr5g5.mjs +0 -9
- package/dist/chunks/index-1.1.37-5jd6yv91.mjs +0 -1
- package/dist/chunks/index-1.1.37-5m0x7mgr.mjs +0 -2
- package/dist/chunks/index-1.1.37-7p4s9e93.mjs +0 -5
- package/dist/chunks/index-1.1.37-8d8wz2jd.mjs +0 -1
- package/dist/chunks/index-1.1.37-8nj0y31t.mjs +0 -1
- package/dist/chunks/index-1.1.37-9mdrpppp.mjs +0 -1
- package/dist/chunks/index-1.1.37-fsrw22yr.mjs +0 -1
- package/dist/chunks/index-1.1.37-gbkrjwx2.mjs +0 -1
- package/dist/chunks/index-1.1.37-j22mymj3.mjs +0 -1
- package/dist/chunks/index-1.1.37-j7mg2v2z.mjs +0 -1
- package/dist/chunks/index-1.1.37-jt0qvhqx.mjs +0 -9
- package/dist/chunks/index-1.1.37-kqbx8bd4.mjs +0 -1
- package/dist/chunks/index-1.1.37-md3nqn7b.mjs +0 -1
- package/dist/chunks/index-1.1.37-nvrt1jkm.mjs +0 -1
- package/dist/chunks/index-1.1.37-qs532q75.mjs +0 -2
- package/dist/chunks/index-1.1.37-vrf2sks4.mjs +0 -1
- package/dist/chunks/index-1.1.37-w2vtqz1f.mjs +0 -30
- package/dist/chunks/index-1.1.37-wtf428dj.mjs +0 -1
- package/dist/chunks/index-1.1.37-x3qnjdnj.mjs +0 -23
- package/dist/chunks/index-1.1.37-xvds1tk7.mjs +0 -1
- package/dist/chunks/index-1.1.37-ycghwm8a.mjs +0 -1
- package/dist/chunks/init-1.1.37-rej95xjh.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.37-fg8xhcbg.mjs +0 -1
- package/dist/chunks/ink-1.1.37-9hasxe0p.mjs +0 -1
- package/dist/chunks/insights-1.1.37-t8pdcny6.mjs +0 -870
- package/dist/chunks/install-1.1.37-3qw7jywz.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.37-xxm8pfc7.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.37-k2gvh481.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.37-65a5va0g.mjs +0 -1
- package/dist/chunks/latestVersionCache-1.1.37-3a47ekt3.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.37-tacjzkxh.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.37-xp0k0sev.mjs +0 -1
- package/dist/chunks/log-1.1.37-zxjr2p0h.mjs +0 -1
- package/dist/chunks/main-1.1.37-z5knsc2c.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.37-v6d9x7gc.mjs +0 -1
- package/dist/chunks/mcp-1.1.37-2f8vksgy.mjs +0 -1
- package/dist/chunks/mcp-1.1.37-t42e1h6v.mjs +0 -17
- package/dist/chunks/mcp-1.1.37-z5yx7ce8.mjs +0 -4
- package/dist/chunks/mcpb-1.1.37-nxn1ew24.mjs +0 -1
- package/dist/chunks/memory-1.1.37-e17frzj2.mjs +0 -128
- package/dist/chunks/model-1.1.37-415ebhh8.mjs +0 -2
- package/dist/chunks/model-1.1.37-51zfsc21.mjs +0 -1
- package/dist/chunks/new-1.1.37-qmpxmvhh.mjs +0 -1
- package/dist/chunks/node-1.1.37-60r1zc7a.mjs +0 -1
- package/dist/chunks/node-1.1.37-bzzjhz9b.mjs +0 -15
- package/dist/chunks/oauth-1.1.37-an1mr5z0.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.37-d7tbje1m.mjs +0 -14
- package/dist/chunks/output-style-1.1.37-ky7bh1p8.mjs +0 -1
- package/dist/chunks/package-F6O7J2XI-1.1.37-cpdvge3d.mjs +0 -1
- package/dist/chunks/permissions-1.1.37-jfdwfjhx.mjs +0 -1
- package/dist/chunks/permissions-1.1.37-xa1rr619.mjs +0 -3
- package/dist/chunks/plan-1.1.37-mkad4kke.mjs +0 -1
- package/dist/chunks/plist-1.1.37-jp82073r.mjs +0 -1
- package/dist/chunks/plugin-1.1.37-4y7stngn.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.37-mb876t1m.mjs +0 -1
- package/dist/chunks/plugins-1.1.37-vgwj76jr.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.37-y5x9wxpb.mjs +0 -2
- package/dist/chunks/print-1.1.37-39471kxm.mjs +0 -57
- package/dist/chunks/process-1.1.37-0sxw7yj7.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.37-3a9hjw0c.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.37-qkdzw4bn.mjs +0 -9
- package/dist/chunks/prompt-1.1.37-7ty4xbzv.mjs +0 -1
- package/dist/chunks/prompt-1.1.37-t1pkc4hm.mjs +0 -1
- package/dist/chunks/prompts-1.1.37-vc8tkqtx.mjs +0 -1
- package/dist/chunks/provider-1.1.37-d5ky3fex.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.37-qds9eqzt.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.37-njz9qc5m.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.37-mh25jf7y.mjs +0 -26
- package/dist/chunks/registry-1.1.37-j99mgf8f.mjs +0 -1
- package/dist/chunks/release-notes-1.1.37-9gkg8tfr.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.37-4sptja72.mjs +0 -2
- package/dist/chunks/remote-env-1.1.37-t2zt0dx6.mjs +0 -1
- package/dist/chunks/rename-1.1.37-r3rf1zcp.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.37-q72zpdec.mjs +0 -1
- package/dist/chunks/resume-1.1.37-7y7v8kjq.mjs +0 -2
- package/dist/chunks/rewind-1.1.37-g7g9fq2x.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.37-gab9zhq2.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.37-hfkacx24.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.37-0z182pcd.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.37-qpef07xe.mjs +0 -1
- package/dist/chunks/session-1.1.37-23e3vg40.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.37-80sj7d1y.mjs +0 -1
- package/dist/chunks/settings-1.1.37-9ydtb00s.mjs +0 -1
- package/dist/chunks/setup-1.1.37-zw16kqhk.mjs +0 -12
- package/dist/chunks/sinks-1.1.37-zfyvj9zb.mjs +0 -1
- package/dist/chunks/skills-1.1.37-k5m03dxr.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.37-c215kgmn.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.37-gkvkp8j3.mjs +0 -1
- package/dist/chunks/state-1.1.37-n5ptmgvs.mjs +0 -1
- package/dist/chunks/stats-1.1.37-aa4vr5s9.mjs +0 -1
- package/dist/chunks/status-1.1.37-ay3wwhz4.mjs +0 -1
- package/dist/chunks/stickers-1.1.37-9s6a0we7.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.37-j60ejzj9.mjs +0 -1
- package/dist/chunks/tasks-1.1.37-0kkyatcs.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.37-bh946f2s.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.37-hvr3p8hm.mjs +0 -1
- package/dist/chunks/teleport-1.1.37-r8pztaf5.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.37-db8a6fsx.mjs +0 -1
- package/dist/chunks/theme-1.1.37-syjd1g1y.mjs +0 -1
- package/dist/chunks/toolPool-1.1.37-99ckwfft.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.37-w702g2e2.mjs +0 -1
- package/dist/chunks/tools-1.1.37-q0g8gdy1.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.37-p3av7xdw.mjs +0 -69
- package/dist/chunks/types-1.1.37-0zw1rq84.mjs +0 -1
- package/dist/chunks/update-1.1.37-njeg6bcd.mjs +0 -72
- package/dist/chunks/upload-1.1.37-gzm0qpn7.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.37-v8bpt97q.mjs +0 -14
- package/dist/chunks/usage-1.1.37-b2a8dppj.mjs +0 -1
- package/dist/chunks/util-1.1.37-psbfj1x5.mjs +0 -1
- package/dist/chunks/utils-1.1.37-efqgjtyn.mjs +0 -1
- package/dist/chunks/vim-1.1.37-3vwhey1j.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.37-hmgj516c.mjs +0 -13
- package/dist/chunks/wiki-1.1.37-y24wnewk.mjs +0 -132
- package/dist/chunks/workflows-1.1.37-eywdbk9a.mjs +0 -1
- package/dist/chunks/worktree-1.1.37-k9y7x7fq.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.37-bq8bmkt7.mjs +0 -1
- package/dist/chunks/wrapper-1.1.37-mam70w68.mjs +0 -7
- /package/dist/chunks/{cli-1.1.37-6defhmsy.mjs → cli-1.1.39-avfsydnr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-g7xfccj8.mjs → cli-1.1.39-erbg35qn.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-tfvyj3nx.mjs → cli-1.1.39-hn5s43sr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-422098yx.mjs → cli-1.1.39-jsnryd3j.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-tb7ktts9.mjs → cli-1.1.39-qnem4654.mjs} +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{$7 as Ts,C7 as nt,D7 as hl,E7 as bl,F7 as ml,G7 as fn,H7 as $c,I7 as fu,J7 as Al,K7 as ys,L7 as El,M7 as st,N7 as hs,O7 as k,P7 as ur,Q7 as Qc,R7 as Bc,S7 as ra,T7 as Xc,U7 as Yc,V7 as Zc,W7 as Jc,X7 as el,Y7 as Hc,Z7 as cr,_7 as Cc,a8 as gl}from"./cli-1.1.37-8wfxbqcm.mjs";import{b8 as ie}from"./cli-1.1.37-hef24tpw.mjs";import{e8 as kc,f8 as Le}from"./cli-1.1.37-wv9phckk.mjs";import{Wpa as Vc}from"./cli-1.1.37-b26at90a.mjs";import{Ypa as Fe,Zpa as ve,aqa as De,bqa as ee}from"./cli-1.1.37-q1053cc2.mjs";import{eqa as E,hqa as Bs}from"./cli-1.1.37-5k40cazp.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 B7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Af as ED,Bf as oD}from"./cli-1.1.37-ss1k0v1c.mjs";import{$F as lD,AO as aD,Az as x,By as ZD,Bz as a,Cy as uD,Cz as vD,Dz as ID,Gz as mD,Hz as o,Iz as s,Jw as gD,Jz as i,Kz as g,Lz as c,Qy as zD,Ry as LD,Rz as C,Ty as fD,Vz as pD,ZF as KD,_F as WD,_y as VD,dz as kD,mz as dD,oz as qD,pz as BD,uw as QD,uz as l,vw as XD,xO as _D,yO as bD,yz as jD,zO as UD,zw as YD}from"./cli-1.1.37-grsmntjy.mjs";import{ZV as nD}from"./cli-1.1.37-kemsps6y.mjs";import{s1 as hD,u1 as wD}from"./cli-1.1.37-z414tkgs.mjs";import{v1 as OD}from"./cli-1.1.37-v90enr9t.mjs";import{Mfa as A,Nfa as _,Pfa as SD,dca as JD,ica as CD}from"./cli-1.1.37-z4wav0zf.mjs";import{Qia as HD,Tia as ND}from"./cli-1.1.37-sqyyjrzq.mjs";import{oja as R,vja as MD}from"./cli-1.1.37-240c02km.mjs";import{Uoa as TD,pka as GD}from"./cli-1.1.37-ekft3ygw.mjs";import{cqa as r,gqa as d}from"./cli-1.1.37-5k40cazp.mjs";function t(F){v.add(F)}function m(F){v.delete(F)}function p(F){return v.has(F)}var v;var e=d(()=>{v=new Set});function DD(F){let G="plugin"in F?F.plugin:"no-plugin";return`${F.type}:${F.source}:${G}`}function FD(F,G){if(G.length===0)return;F((q)=>{let w=new Set(q.plugins.errors.map((L)=>DD(L))),b=G.filter((L)=>!w.has(DD(L)));if(b.length===0)return q;return{...q,plugins:{...q.plugins,errors:[...q.plugins.errors,...b]}}})}function cD(F,G,q,w){let b=G==="disabled"?w??[]:w;if(b===void 0)return F;let L=new Map;for(let z of b)if(z.name!==void 0)L.set(z.name,z);let X=[],y=new Set;for(let z of F){if(!z.name?.startsWith(q)){X.push(z);continue}let K=L.get(z.name);if(K)X.push(K),y.add(z.name)}for(let z of b)if(z.name===void 0||!y.has(z.name))X.push(z);return X}function $D(F,G=!1){let q=UD(),w=j.useSyncExternalStore(KD,WD),b=_D((D)=>D.mcp.pluginReconnectKey),L=bD(),X=j.useRef(new Map),y=16,z=j.useRef([]),K=j.useRef(null),E=j.useCallback(()=>{K.current=null;let D=z.current;if(D.length===0)return;z.current=[],L((H)=>{let J=H.mcp;for(let V of D){let{tools:Q,commands:I,resources:U,...Y}=V,B=Y.type==="disabled"||Y.type==="failed"?I??[]:I,O=Y.type==="disabled"||Y.type==="failed"?U??[]:U,Z=JD(Y.name),P=J.clients.findIndex((T)=>T.name===Y.name)===-1?[...J.clients,Y]:J.clients.map((T)=>T.name===Y.name?Y:T),S=cD(J.tools,Y.type,Z,Q),h=B===void 0?J.commands:[...ZD(J.commands,(T)=>VD(T,Y.name)),...B],f=O===void 0?J.resources:{...J.resources,...O.length>0?{[Y.name]:O}:ED(J.resources,Y.name)};J={...J,clients:P,tools:S,commands:h,resources:f}}return{...H,mcp:J}})},[L]),W=j.useCallback((D)=>{if(z.current.push(D),K.current===null)K.current=setTimeout(E,16)},[E]),$=j.useCallback(({client:D,tools:H,commands:J,resources:V})=>{switch(W({...D,tools:H,commands:J,resources:V}),D.type){case"connected":{if(ID(D.client,D.name,L),D.client.onclose=()=>{let Q=D.config.type??"stdio";if(C(D.name,D.config).catch(()=>{HD(`Failed to invalidate the server cache: ${D.name}`)}),x(D.name)||p(D.name)){_(D.name,"Server is disabled, skipping automatic reconnection");return}if(Q!=="stdio"&&Q!=="sdk"){let I=rD(Q);_(D.name,`${I} transport closed/disconnected, attempting automatic reconnection`);let U=X.current.get(D.name);if(U)clearTimeout(U),X.current.delete(D.name);(async()=>{for(let B=1;B<=M;B++){if(x(D.name)||p(D.name)){_(D.name,"Server disabled during reconnection, stopping retry"),X.current.delete(D.name);return}W({...D,type:"pending",reconnectAttempt:B,maxReconnectAttempts:M});let O=Date.now();try{let k=await g(D.name,D.config),P=Date.now()-O;if(k.client.type==="connected"){_(D.name,`${I} reconnection successful after ${P}ms (attempt ${B})`),X.current.delete(D.name),$(k);return}if(_(D.name,`${I} reconnection attempt ${B} completed with status: ${k.client.type}`),B===M){_(D.name,`Max reconnection attempts (${M}) reached, giving up`),X.current.delete(D.name),$(k);return}}catch(k){let P=Date.now()-O;if(A(D.name,`${I} reconnection attempt ${B} failed after ${P}ms: ${k}`),B===M){_(D.name,`Max reconnection attempts (${M}) reached, giving up`),X.current.delete(D.name),W({...D,type:"failed"});return}}let Z=Math.min(sD*Math.pow(2,B-1),iD);_(D.name,`Scheduling reconnection attempt ${B+1} in ${Z}ms`),await new Promise((k)=>{let P=setTimeout(k,Z);X.current.set(D.name,P)})}})()}else W({...D,type:"failed"})},D.capabilities?.tools?.listChanged)D.client.setNotificationHandler(YD,async()=>{_(D.name,"Received tools/list_changed notification, refreshing tools");try{o.cache.delete(D.name);let Q=await o(D);W({...D,tools:Q})}catch(Q){A(D.name,`Failed to refresh tools after list_changed notification: ${R(Q)}`)}});if(D.capabilities?.prompts?.listChanged)D.client.setNotificationHandler(XD,async()=>{_(D.name,"Received prompts/list_changed notification, refreshing prompts");try{i.cache.delete(D.name);let Q=await i(D);W({...D,commands:[...Q]})}catch(Q){A(D.name,`Failed to refresh prompts after list_changed notification: ${R(Q)}`)}});if(D.capabilities?.resources?.listChanged)D.client.setNotificationHandler(QD,async()=>{_(D.name,"Received resources/list_changed notification, refreshing resources");try{s.cache.delete(D.name);let Q=await s(D);W({...D,resources:Q})}catch(Q){A(D.name,`Failed to refresh resources after list_changed notification: ${R(Q)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[W]),n=GD();j.useEffect(()=>{async function D(){let{servers:H,errors:J}=G?{servers:{},errors:[]}:await l(F),V={...H,...F};FD(L,J),L((Q)=>{let{stale:I,...U}=kD(Q.mcp,V);for(let O of I){let Z=X.current.get(O.name);if(Z)clearTimeout(Z),X.current.delete(O.name);if(O.type==="connected")O.client.onclose=void 0,C(O.name,O.config).catch(()=>{})}let Y=new Set(U.clients.map((O)=>O.name)),B=Object.entries(V).filter(([O])=>!Y.has(O)).map(([O,Z])=>({name:O,type:x(O)?"disabled":"pending",config:Z}));if(B.length===0&&I.length===0)return Q;return{...Q,mcp:{...Q.mcp,...U,clients:[...U.clients,...B]}}})}D().catch((H)=>{A("useManageMCPConnections",`Failed to initialize servers as pending: ${R(H)}`)})},[G,F,L,n,b]),j.useEffect(()=>{let D=!1;async function H(){let J;if(G||jD())J=Promise.resolve({});else LD(),J=zD();let{servers:V,errors:Q}=G?{servers:{},errors:[]}:await l(F,J);if(D)return;FD(L,Q);let I={...V,...F},U=Object.fromEntries(Object.entries(I).filter(([Z])=>!x(Z)));c($,U).catch((Z)=>{A("useManageMcpConnections",`Failed to get MCP resources: ${R(Z)}`)});let Y={};if(!G){if(Y=BD(await J).allowed,D)return;if(Object.keys(Y).length>0){let{servers:Z}=qD(Y,I);Y=Z}if(Object.keys(Y).length>0){L((k)=>{let P=new Set(k.mcp.clients.map((h)=>h.name)),S=Object.entries(Y).filter(([h])=>!P.has(h)).map(([h,f])=>({name:h,type:x(h)?"disabled":"pending",config:f}));if(S.length===0)return k;return{...k,mcp:{...k.mcp,clients:[...k.mcp.clients,...S]}}});let Z=Object.fromEntries(Object.entries(Y).filter(([k])=>!x(k)));c($,Z).catch((k)=>{A("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${R(k)}`)})}}let B={...I,...Y},O={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let Z of Object.values(B))if(Z.scope==="enterprise")O.enterprise++;else if(Z.scope==="user")O.global++;else if(Z.scope==="project")O.project++;else if(Z.scope==="local")O.user++;else if(Z.scope==="dynamic")O.plugin++;else if(Z.scope==="claudeai")O.claudeai++}return H(),()=>{D=!0}},[G,F,$,L,w,n,b]),j.useEffect(()=>{let D=X.current;return()=>{for(let H of D.values())clearTimeout(H);if(D.clear(),K.current!==null)clearTimeout(K.current),K.current=null,E()}},[E]);let yD=j.useCallback(async(D)=>{let H=q.getState().mcp.clients.find((Q)=>Q.name===D);if(!H)throw Error(`MCP server ${D} not found`);let J=X.current.get(D);if(J)clearTimeout(J),X.current.delete(D);m(D);let V=await g(D,H.config);return $(V),V},[q,$]),RD=j.useCallback(async(D)=>{let H=q.getState().mcp.clients.find((V)=>V.name===D);if(!H)throw Error(`MCP server ${D} not found`);if(H.type!=="disabled"){let V=X.current.get(D);if(V)clearTimeout(V),X.current.delete(D);if(a(D,!1),H.type==="connected")await C(D,H.config);W({name:D,type:"disabled",config:H.config})}else{a(D,!0),m(D),W({name:D,type:"pending",config:H.config});let V=await g(D,H.config);$(V)}},[q,W,$]),xD=j.useCallback(async(D)=>{let H=q.getState().mcp.clients.find((V)=>V.name===D);if(!H)throw Error(`MCP server ${D} not found`);t(D);let J=X.current.get(D);if(J)clearTimeout(J),X.current.delete(D);if(H.type==="connected")await C(D,H.config);W({name:D,type:"disabled",config:H.config})},[q,W]);return{reconnectMcpServer:yD,toggleMcpServer:RD,disconnectMcpServer:xD}}function rD(F){switch(F){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var j,M=5,sD=1000,iD=30000;var PD=d(()=>{TD();lD();pD();gD();oD();uD();vD();ND();aD();MD();SD();fD();mD();CD();e();dD();j=r(OD(),1)});function _F(){let F=N.useContext(u);if(!F)throw Error("useMcpReconnect must be used within MCPConnectionManager");return F.reconnectMcpServer}function bF(){let F=N.useContext(u);if(!F)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return F.toggleMcpServer}function UF(){let F=N.useContext(u);if(!F)throw Error("useMcpDisconnect must be used within MCPConnectionManager");return F.disconnectMcpServer}function EF(F){let G=AD.c(7),{children:q,dynamicMcpConfig:w,isStrictMcpConfig:b}=F,{reconnectMcpServer:L,toggleMcpServer:X,disconnectMcpServer:y}=$D(w,b),z;if(G[0]!==L||G[1]!==X||G[2]!==y)z={reconnectMcpServer:L,toggleMcpServer:X,disconnectMcpServer:y},G[0]=L,G[1]=X,G[2]=y,G[3]=z;else z=G[3];let K=z,E;if(G[4]!==q||G[5]!==K)E=hD(u.Provider,{value:K,children:q}),G[4]=q,G[5]=K,G[6]=E;else E=G[6];return E}var AD,N,u;var tD=d(()=>{PD();wD();AD=r(nD(),1),N=r(OD(),1),u=N.createContext(null)});
|
|
2
|
-
export{_F as vf,bF as wf,UF as xf,EF as yf,tD as zf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{EG as U,FG as w}from"./cli-1.1.37-grsmntjy.mjs";import{RX as k,ZV as f,jX as N,lX as O}from"./cli-1.1.37-kemsps6y.mjs";import{s1 as M,t1 as H,u1 as R}from"./cli-1.1.37-z414tkgs.mjs";import{cqa as Y,gqa as Z}from"./cli-1.1.37-5k40cazp.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
|
|
2
|
-
export{_ as Ng,A as Og};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{RX as f,ZV as s,lX as t}from"./cli-1.1.37-kemsps6y.mjs";import{s1 as n,t1 as c,u1 as r}from"./cli-1.1.37-z414tkgs.mjs";import{cqa as m,gqa as l}from"./cli-1.1.37-5k40cazp.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
-
export{T as rg,p as sg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ega as W,Hga as M}from"./cli-1.1.37-41q5f236.mjs";import{Cia as k,Gia as L}from"./cli-1.1.37-sqyyjrzq.mjs";import J from"node:path";import y from"node:os";import R from"node:process";var S=Object.freeze([""," ",".",".."," .",". "," ..",".. ","../","../foo","foo/../bar","foo/bar","foo\\bar","foo\x00bar"]);function x(u){if(typeof u!=="string")return!1;let O=u.trim();return O!==""&&O!=="."&&O!==".."&&!u.includes("/")&&!u.includes("\\")&&!u.includes("\x00")}function Q(u){if(typeof u!=="string")throw TypeError("Expected a string");if(!x(u))throw Error(`Unsafe filename: ${JSON.stringify(u)}`)}var U=y.homedir(),V=y.tmpdir(),{env:$}=R,w=(u)=>{let O=J.join(U,"Library");return{data:J.join(O,"Application Support",u),config:J.join(O,"Preferences",u),cache:J.join(O,"Caches",u),log:J.join(O,"Logs",u),temp:J.join(V,u)}},F=(u)=>{let O=$.APPDATA||J.join(U,"AppData","Roaming"),K=$.LOCALAPPDATA||J.join(U,"AppData","Local");return{data:J.join(K,u,"Data"),config:J.join(O,u,"Config"),cache:J.join(K,u,"Cache"),log:J.join(K,u,"Log"),temp:J.join(V,u)}},G=(u)=>{let O=J.basename(U);return{data:J.join($.XDG_DATA_HOME||J.join(U,".local","share"),u),config:J.join($.XDG_CONFIG_HOME||J.join(U,".config"),u),cache:J.join($.XDG_CACHE_HOME||J.join(U,".cache"),u),log:J.join($.XDG_STATE_HOME||J.join(U,".local","state"),u),temp:J.join(V,O,u)}};function Y(u,{suffix:O="nodejs"}={}){if(Q(u),O)u+=`-${O}`;if(Q(u),R.platform==="darwin")return w(u);if(R.platform==="win32")return F(u);return G(u)}L();M();import{join as q}from"path";var B=Y("claude-cli"),E=200;function b(u){let O=u.replace(/[^a-zA-Z0-9]/g,"-");if(O.length<=E)return O;return`${O.slice(0,E)}-${Math.abs(W(u)).toString(36)}`}function C(u){return b(u)}var A={baseLogs:()=>q(B.cache,C(k().cwd())),errors:()=>q(B.cache,C(k().cwd()),"errors"),messages:()=>q(B.cache,C(k().cwd()),"messages"),mcpLogs:(u)=>q(B.cache,C(k().cwd()),`mcp-logs-${b(u)}`)};
|
|
2
|
-
export{A as Ma};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{E6 as CJ,L6 as XQ}from"./cli-1.1.37-xqs4w5xj.mjs";import{A$ as xJ,Kfa as N,Pfa as rJ,T$ as VQ,a$ as w,c$ as nJ,j$ as DJ,k$ as QQ}from"./cli-1.1.37-z4wav0zf.mjs";import{Vga as R,Wga as _J,Xga as P,Yga as UJ}from"./cli-1.1.37-41q5f236.mjs";import{Qia as G,Tia as WJ,tia as S,uia as b,yia as RJ}from"./cli-1.1.37-sqyyjrzq.mjs";import{oja as E,pja as A,vja as KJ}from"./cli-1.1.37-240c02km.mjs";import{Bja as c,Jja as n,yja as GJ,zja as yJ}from"./cli-1.1.37-94bfnv5a.mjs";import{Hoa as l,Uoa as qJ,nka as YJ,nna as $J,oka as kJ,pka as ZJ}from"./cli-1.1.37-ekft3ygw.mjs";import{fqa as pJ,gqa as x,hqa as wJ}from"./cli-1.1.37-5k40cazp.mjs";import{AsyncLocalStorage as PJ}from"async_hooks";function B(){return k.getStore()}function JJ(J,Q){return k.run(J,Q)}function QJ(){return k.getStore()!==void 0}function VJ(J){return{...J,isInProcess:!0}}var k;var F=x(()=>{k=new PJ});var oJ={};pJ(oJ,{waitForTeammatesToBecomeIdle:()=>gJ,setDynamicTeamContext:()=>uJ,runWithTeammateContext:()=>JJ,isTeammate:()=>d,isTeamLead:()=>TJ,isPlanModeRequired:()=>NJ,isInProcessTeammate:()=>QJ,hasWorkingInProcessTeammates:()=>IJ,hasActiveInProcessTeammates:()=>lJ,getTeammateContext:()=>B,getTeammateColor:()=>cJ,getTeamName:()=>C,getParentSessionId:()=>hJ,getDynamicTeamContext:()=>FJ,getAgentName:()=>r,getAgentId:()=>XJ,createTeammateContext:()=>VJ,clearDynamicTeamContext:()=>LJ});function hJ(){let J=B();if(J)return J.parentSessionId;return U?.parentSessionId}function uJ(J){U=J}function LJ(){U=null}function FJ(){return U}function XJ(){let J=B();if(J)return J.agentId;return U?.agentId}function r(){let J=B();if(J)return J.agentName;return U?.agentName}function C(J){let Q=B();if(Q)return Q.teamName;if(U?.teamName)return U.teamName;return J?.teamName}function d(){if(B())return!0;return!!(U?.agentId&&U?.teamName)}function cJ(){let J=B();if(J)return J.color;return U?.color}function NJ(){let J=B();if(J)return J.planModeRequired;if(U!==null)return U.planModeRequired;return c(process.env.CLAUDIN_PLAN_MODE_REQUIRED)}function TJ(J){if(!J?.leadAgentId)return!1;let Q=XJ(),V=J.leadAgentId;if(Q===V)return!0;if(!Q)return!0;return!1}function lJ(J){for(let Q of Object.values(J.tasks))if(Q.type==="in_process_teammate"&&Q.status==="running")return!0;return!1}function IJ(J){for(let Q of Object.values(J.tasks))if(Q.type==="in_process_teammate"&&Q.status==="running"&&!Q.isIdle)return!0;return!1}function gJ(J,Q){let V=[];for(let[X,Z]of Object.entries(Q.tasks))if(Z.type==="in_process_teammate"&&Z.status==="running"&&!Z.isIdle)V.push(X);if(V.length===0)return Promise.resolve();return new Promise((X)=>{let Z=V.length,Y=()=>{if(Z--,Z===0)X()};J(($)=>{let q={...$.tasks};for(let K of V){let _=q[K];if(_&&_.type==="in_process_teammate")if(_.isIdle)Y();else q[K]={..._,onIdleCallbacks:[..._.onIdleCallbacks??[],Y]}}return{...$,tasks:q}})})}var U=null;var i=x(()=>{F();n();F()});import{mkdir as dJ,readdir as m,readFile as BJ,unlink as EJ,writeFile as T}from"fs/promises";import{join as p}from"path";function LQ(J){if(f===J)return;f=J,O()}function FQ(){if(f===void 0)return;f=void 0,O()}function O(){try{HJ.emit()}catch{}}function jJ(J){return p(H(J),sJ)}async function s(J){let Q=jJ(J);try{let V=(await BJ(Q,"utf-8")).trim(),X=parseInt(V,10);return isNaN(X)?0:X}catch{return 0}}async function OJ(J,Q){let V=jJ(J);await T(V,String(Q))}function NQ(){if(c(process.env.CLAUDIN_ENABLE_TASKS))return!0;return!$J()}async function TQ(J){let Q=H(J),V=await t(J),X;try{X=await w(V,h);let Z=await vJ(J);if(Z>0){let $=await s(J);if(Z>$)await OJ(J,Z)}let Y;try{Y=await m(Q)}catch{Y=[]}for(let $ of Y)if($.endsWith(".json")&&!$.startsWith(".")){let q=p(Q,$);try{await EJ(q)}catch{}}O()}finally{if(X)await X()}}async function lQ(J){let Q=await u(J),V=0;for(let X of Q){if(X.status!=="completed"||X.metadata?._internal)continue;if(await M(J,X.id,{metadata:{...X.metadata,_internal:!0}}))V++}return V}function IQ(){if(process.env.CLAUDIN_TASK_LIST_ID)return process.env.CLAUDIN_TASK_LIST_ID;let J=B();if(J)return J.teamName;return C()||f||ZJ()}function zJ(J){return J.replace(/[^a-zA-Z0-9_-]/g,"-")}function H(J){return p(GJ(),"tasks",zJ(J))}function y(J,Q){return p(H(J),`${zJ(Q)}.json`)}async function tJ(J){let Q=H(J);try{await dJ(Q,{recursive:!0})}catch{}}async function vJ(J){let Q=H(J),V;try{V=await m(Q)}catch{return 0}let X=0;for(let Z of V){if(!Z.endsWith(".json"))continue;let Y=parseInt(Z.replace(".json",""),10);if(!isNaN(Y)&&Y>X)X=Y}return X}async function aJ(J){let[Q,V]=await Promise.all([vJ(J),s(J)]);return Math.max(Q,V)}async function gQ(J,Q){let V=await t(J),X;try{X=await w(V,h);let Z=await aJ(J),Y=String(Z+1),$={id:Y,...Q},q=y(J,Y);return await T(q,S($,null,2)),O(),Y}finally{if(X)await X()}}async function z(J,Q){let V=y(J,Q);try{let X=await BJ(V,"utf-8"),Z=b(X),Y=mJ().safeParse(Z);if(!Y.success)return G(`[Tasks] Task ${Q} failed schema validation: ${Y.error.message}`),null;return Y.data}catch(X){if(A(X)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${Q}: ${E(X)}`),N(X),null}}async function MJ(J,Q,V){let X=await z(J,Q);if(!X)return null;let Z={...X,...V,id:Q},Y=y(J,Q);return await T(Y,S(Z,null,2)),O(),Z}async function M(J,Q,V){let X=y(J,Q);if(!await z(J,Q))return null;let Y;try{return Y=await w(X,h),await MJ(J,Q,V)}finally{await Y?.()}}async function oQ(J,Q){let V=y(J,Q);try{let X=parseInt(Q,10);if(!isNaN(X)){let Y=await s(J);if(X>Y)await OJ(J,X)}try{await EJ(V)}catch(Y){if(A(Y)==="ENOENT")return!1;throw Y}let Z=await u(J);for(let Y of Z){let $=Y.blocks.filter((K)=>K!==Q),q=Y.blockedBy.filter((K)=>K!==Q);if($.length!==Y.blocks.length||q.length!==Y.blockedBy.length)await M(J,Y.id,{blocks:$,blockedBy:q})}return O(),!0}catch{return!1}}async function u(J){let Q=H(J),V;try{V=await m(Q)}catch{return[]}let X=V.filter((Y)=>Y.endsWith(".json")).map((Y)=>Y.replace(".json",""));return(await Promise.all(X.map((Y)=>z(J,Y)))).filter((Y)=>Y!==null)}async function kQ(J,Q,V){let[X,Z]=await Promise.all([z(J,Q),z(J,V)]);if(!X||!Z)return!1;if(!X.blocks.includes(V))await M(J,Q,{blocks:[...X.blocks,V]});if(!Z.blockedBy.includes(Q))await M(J,V,{blockedBy:[...Z.blockedBy,Q]});return!0}function eJ(J){return p(H(J),".lock")}async function t(J){await tJ(J);let Q=eJ(J);try{await T(Q,"",{flag:"wx"})}catch{}return Q}async function nQ(J,Q,V,X={}){let Z=y(J,Q);if(!await z(J,Q))return{success:!1,reason:"task_not_found"};if(X.checkAgentBusy)return JQ(J,Q,V);let $;try{$=await w(Z,h);let q=await z(J,Q);if(!q)return{success:!1,reason:"task_not_found"};if(q.owner&&q.owner!==V)return{success:!1,reason:"already_claimed",task:q};if(q.status==="completed")return{success:!1,reason:"already_resolved",task:q};let K=await u(J),_=new Set(K.filter((D)=>D.status!=="completed").map((D)=>D.id)),o=q.blockedBy.filter((D)=>_.has(D));if(o.length>0)return{success:!1,reason:"blocked",task:q,blockedByTasks:o};return{success:!0,task:await MJ(J,Q,{owner:V})}}catch(q){return G(`[Tasks] Failed to claim task ${Q}: ${E(q)}`),N(q),{success:!1,reason:"task_not_found"}}finally{if($)await $()}}async function JQ(J,Q,V){let X=await t(J),Z;try{Z=await w(X,h);let Y=await u(J),$=Y.find((W)=>W.id===Q);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==V)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let q=new Set(Y.filter((W)=>W.status!=="completed").map((W)=>W.id)),K=$.blockedBy.filter((W)=>q.has(W));if(K.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:K};let _=Y.filter((W)=>W.status!=="completed"&&W.owner===V&&W.id!==Q);if(_.length>0)return{success:!1,reason:"agent_busy",task:$,busyWithTasks:_.map((W)=>W.id)};return{success:!0,task:await M(J,Q,{owner:V})}}catch(Y){return G(`[Tasks] Failed to claim task ${Q} with busy check: ${E(Y)}`),N(Y),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function rQ(J,Q,V,X){let Y=(await u(J)).filter((K)=>K.status!=="completed"&&(K.owner===Q||K.owner===V));for(let K of Y)await M(J,K.id,{owner:void 0,status:"pending"});if(Y.length>0)G(`[Tasks] Unassigned ${Y.length} task(s) from ${V}`);let q=`${V} ${X==="terminated"?"was terminated":"has shut down"}.`;if(Y.length>0){let K=Y.map((_)=>`#${_.id} "${_.subject}"`).join(", ");q+=` ${Y.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:Y.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:q}}var HJ,f,cQ,iJ,mJ,sJ=".highwatermark",h;var AJ=x(()=>{_J();qJ();WJ();n();KJ();UJ();nJ();rJ();kJ();RJ();i();F();HJ=YJ();cQ=HJ.subscribe;iJ=P(()=>R.enum(["pending","in_progress","completed"])),mJ=P(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:iJ(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),h={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function a(J){return J==="tmux"||J==="iterm2"}var SJ=()=>{};import{mkdirSync as YQ,readFileSync as ZQ,writeFileSync as $Q}from"fs";import{mkdir as qQ,readFile as fJ,rm as e,writeFile as GQ}from"fs/promises";import{join as L}from"path";function bJ(J){return J.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function _V(J){return J.replace(/@/g,"-")}function I(J){return L(yJ(),bJ(J))}function g(J){return L(I(J),"config.json")}function j(J){try{let Q=ZQ(g(J),"utf-8");return b(Q)}catch(Q){if(A(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${E(Q)}`),null}}async function KQ(J){try{let Q=await fJ(g(J),"utf-8");return b(Q)}catch(Q){if(A(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${E(Q)}`),null}}function v(J,Q){let V=I(J);YQ(V,{recursive:!0}),$Q(g(J),S(Q,null,2))}async function RQ(J,Q){let V=I(J);await qQ(V,{recursive:!0}),await GQ(g(J),S(Q,null,2))}function UV(J,Q){let V=Q.agentId||Q.name;if(!V)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let X=j(J);if(!X)return G(`[TeammateTool] Cannot remove teammate ${V}: failed to read team file for "${J}"`),!1;let Z=X.members.length;if(X.members=X.members.filter((Y)=>{if(Q.agentId&&Y.agentId===Q.agentId)return!1;if(Q.name&&Y.name===Q.name)return!1;return!0}),X.members.length===Z)return G(`[TeammateTool] Teammate ${V} not found in team file for "${J}"`),!1;return v(J,X),G(`[TeammateTool] Removed teammate from team file: ${V}`),!0}function BV(J,Q){let V=j(J);if(!V)return!1;let X=V.hiddenPaneIds??[];if(!X.includes(Q))X.push(Q),V.hiddenPaneIds=X,v(J,V),G(`[TeammateTool] Added ${Q} to hidden panes for team ${J}`);return!0}function EV(J,Q){let V=j(J);if(!V)return!1;let X=V.hiddenPaneIds??[],Z=X.indexOf(Q);if(Z!==-1)X.splice(Z,1),V.hiddenPaneIds=X,v(J,V),G(`[TeammateTool] Removed ${Q} from hidden panes for team ${J}`);return!0}function HV(J,Q){let V=j(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.tmuxPaneId===Q);if(X===-1)return!1;if(V.members.splice(X,1),V.hiddenPaneIds){let Z=V.hiddenPaneIds.indexOf(Q);if(Z!==-1)V.hiddenPaneIds.splice(Z,1)}return v(J,V),G(`[TeammateTool] Removed member with pane ${Q} from team ${J}`),!0}function jV(J,Q){let V=j(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.agentId===Q);if(X===-1)return!1;return V.members.splice(X,1),v(J,V),G(`[TeammateTool] Removed member ${Q} from team ${J}`),!0}function WQ(J,Q,V){let X=j(J);if(!X)return!1;let Z=X.members.find(($)=>$.name===Q);if(!Z)return G(`[TeammateTool] Cannot set member mode: member ${Q} not found in team ${J}`),!1;if(Z.mode===V)return!0;let Y=X.members.map(($)=>$.name===Q?{...$,mode:V}:$);return v(J,{...X,members:Y}),G(`[TeammateTool] Set member ${Q} in team ${J} to mode: ${V}`),!0}function OV(J,Q){if(!d())return;let V=Q??C(),X=r();if(V&&X)WQ(V,X,J)}function zV(J,Q){let V=j(J);if(!V)return!1;let X=new Map(Q.map(($)=>[$.memberName,$.mode])),Z=!1,Y=V.members.map(($)=>{let q=X.get($.name);if(q!==void 0&&$.mode!==q)return Z=!0,{...$,mode:q};return $});if(Z)v(J,{...V,members:Y}),G(`[TeammateTool] Set ${Q.length} member modes in team ${J}`);return!0}async function vV(J,Q,V){let X=await KQ(J);if(!X){G(`[TeammateTool] Cannot set member active: team ${J} not found`);return}let Z=X.members.find((Y)=>Y.name===Q);if(!Z){G(`[TeammateTool] Cannot set member active: member ${Q} not found in team ${J}`);return}if(Z.isActive===V)return;Z.isActive=V,await RQ(J,X),G(`[TeammateTool] Set member ${Q} in team ${J} to ${V?"active":"idle"}`)}async function _Q(J){let Q=L(J,".git"),V=null;try{let Z=(await fJ(Q,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Z&&Z[1]){let Y=Z[1],$=L(Y,"..","..");V=L($,"..")}}catch{}if(V){let X=await DJ(xJ(),["worktree","remove","--force",J],{cwd:V});if(X.code===0){G(`[TeammateTool] Removed worktree via git: ${J}`);return}if(X.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${J}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${X.stderr}`)}try{await e(J,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${J}`)}catch(X){G(`[TeammateTool] Failed to remove worktree ${J}: ${E(X)}`)}}function MV(J){l().add(J)}function AV(J){l().delete(J)}async function SV(){let J=l();if(J.size===0)return;let Q=Array.from(J);G(`cleanupSessionTeams: removing ${Q.length} orphan team dir(s): ${Q.join(", ")}`),await Promise.allSettled(Q.map((V)=>UQ(V))),await Promise.allSettled(Q.map((V)=>BQ(V))),J.clear()}async function UQ(J){let Q=j(J);if(!Q)return;let V=Q.members.filter((q)=>q.name!==CJ&&q.tmuxPaneId&&q.backendType&&a(q.backendType));if(V.length===0)return;let[{ensureBackendsRegistered:X,getBackendByType:Z},{isInsideTmux:Y}]=await Promise.all([import("./registry-1.1.37-j99mgf8f.mjs"),import("./detection-1.1.37-2ah57ykf.mjs")]);await X();let $=!await Y();await Promise.allSettled(V.map(async(q)=>{if(!q.tmuxPaneId||!q.backendType||!a(q.backendType))return;let K=await Z(q.backendType).killPane(q.tmuxPaneId,$);G(`cleanupSessionTeams: killPane ${q.name} (${q.backendType} ${q.tmuxPaneId}) → ${K}`)}))}async function BQ(J){let Q=bJ(J),V=j(J),X=[];if(V){for(let $ of V.members)if($.worktreePath)X.push($.worktreePath)}for(let $ of X)await _Q($);let Z=I(J);try{await e(Z,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Z}`)}catch($){G(`[TeammateTool] Failed to clean up team directory ${Z}: ${E($)}`)}let Y=H(Q);try{await e(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${Y}`),O()}catch($){G(`[TeammateTool] Failed to clean up tasks directory ${Y}: ${E($)}`)}}var WV;var EQ=x(()=>{_J();qJ();WJ();n();KJ();QQ();VQ();UJ();RJ();AJ();i();SJ();XQ();WV=P(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
|
|
2
|
-
export{B as $T,JJ as aU,QJ as bU,VJ as cU,F as dU,hJ as eU,FJ as fU,XJ as gU,r as hU,C as iU,d as jU,cJ as kU,NJ as lU,TJ as mU,lJ as nU,IJ as oU,gJ as pU,oJ as qU,i as rU,LQ as sU,FQ as tU,cQ as uU,iJ as vU,NQ as wU,TQ as xU,lQ as yU,IQ as zU,zJ as AU,H as BU,tJ as CU,gQ as DU,z as EU,M as FU,oQ as GU,u as HU,kQ as IU,nQ as JU,rQ as KU,AJ as LU,a as MU,SJ as NU,WV as OU,bJ as PU,_V as QU,I as RU,g as SU,j as TU,KQ as UU,RQ as VU,UV as WU,BV as XU,EV as YU,HV as ZU,jV as _U,WQ as $U,OV as aV,zV as bV,vV as cV,MV as dV,AV as eV,SV as fV,BQ as gV,EQ as hV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bja as B,Cja as H,Jja as V}from"./cli-1.1.37-94bfnv5a.mjs";import{gqa as Q}from"./cli-1.1.37-5k40cazp.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
|
|
2
|
-
export{$ as Ci,Y as Di};
|