@claudiolabs/claudin 1.1.31 → 1.1.32
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.32-x0g3m6v6.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.32-8x1yxm2f.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.32-scm9btv0.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.32-wtcy84rn.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.32-y88y88zt.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.32-kzv0tbna.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.32-4cm0cwer.mjs +6 -0
- package/dist/chunks/Doctor-1.1.32-289yb4jj.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.32-5gjqvpvs.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.32-a8pwddd1.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.32-6qdrtdpr.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.32-hwzxtdsd.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.32-yytrpays.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.32-c5yyxz32.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.32-7q71086g.mjs +1 -0
- package/dist/chunks/REPL-1.1.32-yzppvfrk.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.32-rv15raev.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.32-n3bsegx5.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.32-68xgndte.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.32-zb4vkx03.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.32-q3c5nqks.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.32-3whrqawk.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.32-33mkg42t.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.32-9brew90d.mjs +1 -0
- package/dist/chunks/add-dir-1.1.32-8hkh1hcx.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.32-ph49ernt.mjs +1 -0
- package/dist/chunks/agents-1.1.32-6ajrxrdr.mjs +110 -0
- package/dist/chunks/agents-1.1.32-6gc09pk2.mjs +3 -0
- package/dist/chunks/api-1.1.32-8qx9q5eh.mjs +1 -0
- package/dist/chunks/asciicast-1.1.32-4knajfec.mjs +1 -0
- package/dist/chunks/auth-1.1.32-9xrd6x89.mjs +1 -0
- package/dist/chunks/auth-1.1.32-s83fshpf.mjs +1 -0
- package/dist/chunks/autoMode-1.1.32-e680w683.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.32-7m1d4dy7.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.32-hhg3dezv.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.32-8ddhae4q.mjs +1 -0
- package/dist/chunks/branch-1.1.32-xaq3pb3p.mjs +4 -0
- package/dist/chunks/bridge-1.1.32-ec6fc8kh.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.32-bse7ynz2.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.32-84ntyqxd.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.32-d20ebbde.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.32-40jwkts4.mjs +1 -0
- package/dist/chunks/btw-1.1.32-kg0w3tw2.mjs +1 -0
- package/dist/chunks/buddy-1.1.32-c53wp8x4.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.32-a9jc0rn9.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.32-bh9jpngp.mjs +4 -0
- package/dist/chunks/caches-1.1.32-va3h1efn.mjs +1 -0
- package/dist/chunks/cd-1.1.32-yar6t6sg.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.32-xjcschxc.mjs +1 -0
- package/dist/chunks/claudemd-1.1.32-kb9tec8y.mjs +1 -0
- package/dist/chunks/clear-1.1.32-ywfd1kha.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.32-x7tbxm3w.mjs +1 -0
- package/dist/chunks/cli-1.1.32-06xv4rmw.mjs +2 -0
- package/dist/chunks/cli-1.1.32-0pmhmsew.mjs +42 -0
- package/dist/chunks/cli-1.1.32-1913x5jp.mjs +15 -0
- package/dist/chunks/cli-1.1.32-1c9z2mtv.mjs +2 -0
- package/dist/chunks/cli-1.1.32-1cp8vbtp.mjs +9 -0
- package/dist/chunks/cli-1.1.32-1rackf2c.mjs +4 -0
- package/dist/chunks/cli-1.1.32-1rprka6j.mjs +2 -0
- package/dist/chunks/cli-1.1.32-1t75hwdn.mjs +2 -0
- package/dist/chunks/cli-1.1.32-1yrmnphh.mjs +2 -0
- package/dist/chunks/cli-1.1.32-260jjrwt.mjs +6 -0
- package/dist/chunks/cli-1.1.32-26474ywa.mjs +2 -0
- package/dist/chunks/cli-1.1.32-28vx0a5m.mjs +2 -0
- package/dist/chunks/cli-1.1.32-28x0bz68.mjs +2 -0
- package/dist/chunks/cli-1.1.32-2k074m5f.mjs +2 -0
- package/dist/chunks/cli-1.1.32-2kd689v0.mjs +2 -0
- package/dist/chunks/cli-1.1.32-2m68a9w2.mjs +2 -0
- package/dist/chunks/cli-1.1.32-2tyhwqjh.mjs +10 -0
- package/dist/chunks/cli-1.1.32-2wcdy0zp.mjs +17 -0
- package/dist/chunks/cli-1.1.32-2x7x44mg.mjs +2 -0
- package/dist/chunks/cli-1.1.32-336t9pmv.mjs +2 -0
- package/dist/chunks/cli-1.1.32-33jnyekk.mjs +2 -0
- package/dist/chunks/cli-1.1.32-36t0985q.mjs +21 -0
- package/dist/chunks/cli-1.1.32-3gbh5q5w.mjs +2 -0
- package/dist/chunks/cli-1.1.32-3z4a0eqz.mjs +3 -0
- package/dist/chunks/cli-1.1.32-41xx49ta.mjs +2 -0
- package/dist/chunks/cli-1.1.32-46wadmxk.mjs +2 -0
- package/dist/chunks/cli-1.1.32-49sdmvtj.mjs +25 -0
- package/dist/chunks/cli-1.1.32-4ekmdczr.mjs +25 -0
- package/dist/chunks/cli-1.1.32-4ft4m446.mjs +2 -0
- package/dist/chunks/cli-1.1.32-4rsr6phf.mjs +2 -0
- package/dist/chunks/cli-1.1.32-4vdyqkkd.mjs +2 -0
- package/dist/chunks/cli-1.1.32-4yat84kg.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5a158c45.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5c5dcwk6.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5cngr1kn.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5dq711bj.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5j5n166h.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5qjjtpkh.mjs +133 -0
- package/dist/chunks/cli-1.1.32-5qwps3ts.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5v0afeqw.mjs +2 -0
- package/dist/chunks/cli-1.1.32-5xmh2b7j.mjs +2 -0
- package/dist/chunks/cli-1.1.32-60pc6r2s.mjs +2 -0
- package/dist/chunks/cli-1.1.32-6317frxz.mjs +2 -0
- package/dist/chunks/cli-1.1.32-65c5zdmx.mjs +2 -0
- package/dist/chunks/cli-1.1.32-6f9r9qcb.mjs +2 -0
- package/dist/chunks/cli-1.1.32-6jbgafh2.mjs +2 -0
- package/dist/chunks/cli-1.1.32-6jhkp60n.mjs +2 -0
- package/dist/chunks/cli-1.1.32-6jxftegx.mjs +6 -0
- package/dist/chunks/cli-1.1.32-7566j53x.mjs +2 -0
- package/dist/chunks/cli-1.1.32-76wfpwbd.mjs +2 -0
- package/dist/chunks/cli-1.1.32-7zp3b6gq.mjs +2 -0
- package/dist/chunks/cli-1.1.32-8b5ej63w.mjs +2 -0
- package/dist/chunks/cli-1.1.32-8hsb6vgz.mjs +2 -0
- package/dist/chunks/cli-1.1.32-8jkgzjh4.mjs +5 -0
- package/dist/chunks/cli-1.1.32-8t8t42xx.mjs +2 -0
- package/dist/chunks/cli-1.1.32-8yc37yqa.mjs +34 -0
- package/dist/chunks/cli-1.1.32-97e0qadj.mjs +2 -0
- package/dist/chunks/cli-1.1.32-9c0an85r.mjs +2 -0
- package/dist/chunks/cli-1.1.32-9fe7efg9.mjs +2 -0
- package/dist/chunks/cli-1.1.32-9jxkev29.mjs +2 -0
- package/dist/chunks/cli-1.1.32-9wsnkggz.mjs +11 -0
- package/dist/chunks/cli-1.1.32-9yka8m9x.mjs +5490 -0
- package/dist/chunks/cli-1.1.32-a3dfp7ps.mjs +12 -0
- package/dist/chunks/cli-1.1.32-acgh1gj8.mjs +2 -0
- package/dist/chunks/cli-1.1.32-ajhvj43e.mjs +2 -0
- package/dist/chunks/cli-1.1.32-aqfcrtfz.mjs +5 -0
- package/dist/chunks/cli-1.1.32-aysp26sz.mjs +45 -0
- package/dist/chunks/cli-1.1.32-b1bbb8eb.mjs +7 -0
- package/dist/chunks/cli-1.1.32-b3hsysf6.mjs +2 -0
- package/dist/chunks/cli-1.1.32-b4dgaz0a.mjs +2 -0
- package/dist/chunks/cli-1.1.32-bce46tmm.mjs +2 -0
- package/dist/chunks/cli-1.1.32-bnam9df8.mjs +2 -0
- package/dist/chunks/cli-1.1.32-bt4yfsm7.mjs +2 -0
- package/dist/chunks/cli-1.1.32-c4v8081j.mjs +2 -0
- package/dist/chunks/cli-1.1.32-c6n1kre3.mjs +2 -0
- package/dist/chunks/cli-1.1.32-c7ypbb63.mjs +2 -0
- package/dist/chunks/cli-1.1.32-cpzgn83z.mjs +2 -0
- package/dist/chunks/cli-1.1.32-cx7ygksc.mjs +2 -0
- package/dist/chunks/cli-1.1.32-czrfbd3q.mjs +2 -0
- package/dist/chunks/cli-1.1.32-d47cvy98.mjs +2 -0
- package/dist/chunks/cli-1.1.32-dkyyv5mx.mjs +2 -0
- package/dist/chunks/cli-1.1.32-dp2kpscr.mjs +2 -0
- package/dist/chunks/cli-1.1.32-dtd3vpkv.mjs +2 -0
- package/dist/chunks/cli-1.1.32-e1btgk5y.mjs +4 -0
- package/dist/chunks/cli-1.1.32-e96q5k17.mjs +2 -0
- package/dist/chunks/cli-1.1.32-ebg7m8yz.mjs +2 -0
- package/dist/chunks/cli-1.1.32-ehg64cg0.mjs +2 -0
- package/dist/chunks/cli-1.1.32-erw03mnm.mjs +2 -0
- package/dist/chunks/cli-1.1.32-f3895pf8.mjs +2 -0
- package/dist/chunks/cli-1.1.32-fhzs65yw.mjs +2 -0
- package/dist/chunks/cli-1.1.32-fjz81t0j.mjs +2 -0
- package/dist/chunks/cli-1.1.32-fr30sgy9.mjs +2 -0
- package/dist/chunks/cli-1.1.32-fzepmkcj.mjs +2 -0
- package/dist/chunks/cli-1.1.32-g5dzf2w1.mjs +24 -0
- package/dist/chunks/cli-1.1.32-gg7yn5bt.mjs +8 -0
- package/dist/chunks/cli-1.1.32-gpq33yz0.mjs +2 -0
- package/dist/chunks/cli-1.1.32-gqbeasga.mjs +2 -0
- package/dist/chunks/cli-1.1.32-gvv8h6dg.mjs +18 -0
- package/dist/chunks/cli-1.1.32-gwf0a8ej.mjs +2 -0
- package/dist/chunks/cli-1.1.32-h23ch6fy.mjs +2 -0
- package/dist/chunks/cli-1.1.32-h4tpddgz.mjs +4 -0
- package/dist/chunks/cli-1.1.32-h7cb9f8y.mjs +2 -0
- package/dist/chunks/cli-1.1.32-hbwke9cs.mjs +2 -0
- package/dist/chunks/cli-1.1.32-hgjgfp8p.mjs +60 -0
- package/dist/chunks/cli-1.1.32-hhd65der.mjs +2 -0
- package/dist/chunks/cli-1.1.32-hzn2mba8.mjs +3 -0
- package/dist/chunks/cli-1.1.32-j31v1t7y.mjs +15 -0
- package/dist/chunks/cli-1.1.32-jatnsd1n.mjs +2 -0
- package/dist/chunks/cli-1.1.32-jjanec91.mjs +2 -0
- package/dist/chunks/cli-1.1.32-jnrsn4v0.mjs +2 -0
- package/dist/chunks/cli-1.1.32-jqhfcb0t.mjs +2 -0
- package/dist/chunks/cli-1.1.32-jt6w5mqv.mjs +2 -0
- package/dist/chunks/cli-1.1.32-k5d30qej.mjs +3 -0
- package/dist/chunks/cli-1.1.32-k9zkw4st.mjs +2 -0
- package/dist/chunks/cli-1.1.32-kn0zs89y.mjs +63 -0
- package/dist/chunks/cli-1.1.32-kqkbjp3x.mjs +4 -0
- package/dist/chunks/cli-1.1.32-m7dxkbpn.mjs +2 -0
- package/dist/chunks/cli-1.1.32-m9c0pceb.mjs +3 -0
- package/dist/chunks/cli-1.1.32-m9p4pd60.mjs +2 -0
- package/dist/chunks/cli-1.1.32-merqy9t2.mjs +2 -0
- package/dist/chunks/cli-1.1.32-mrftpsrs.mjs +15 -0
- package/dist/chunks/cli-1.1.32-n3smn7a4.mjs +2 -0
- package/dist/chunks/cli-1.1.32-n6rpvpf2.mjs +2 -0
- package/dist/chunks/cli-1.1.32-n7cyeje8.mjs +2 -0
- package/dist/chunks/cli-1.1.32-n9vdkdfk.mjs +2 -0
- package/dist/chunks/cli-1.1.32-nmcy47z7.mjs +4 -0
- package/dist/chunks/cli-1.1.32-nt9eqa35.mjs +2 -0
- package/dist/chunks/cli-1.1.32-p70gsyp3.mjs +2 -0
- package/dist/chunks/cli-1.1.32-pe6kmf9g.mjs +3 -0
- package/dist/chunks/cli-1.1.32-pfhbrjhs.mjs +20 -0
- package/dist/chunks/cli-1.1.32-pfwbgg79.mjs +2 -0
- package/dist/chunks/cli-1.1.32-pm7ctgdf.mjs +7 -0
- package/dist/chunks/cli-1.1.32-pve0ffcp.mjs +203 -0
- package/dist/chunks/cli-1.1.32-pwvfjtva.mjs +2 -0
- package/dist/chunks/cli-1.1.32-px6268dx.mjs +2 -0
- package/dist/chunks/cli-1.1.32-px93hhj4.mjs +3 -0
- package/dist/chunks/cli-1.1.32-qmgvm9rq.mjs +2 -0
- package/dist/chunks/cli-1.1.32-qvx7w9wm.mjs +2 -0
- package/dist/chunks/cli-1.1.32-qzjfn21e.mjs +3 -0
- package/dist/chunks/cli-1.1.32-r5ww85n4.mjs +6 -0
- package/dist/chunks/cli-1.1.32-r6g8b118.mjs +5 -0
- package/dist/chunks/cli-1.1.32-r7020tw8.mjs +4 -0
- package/dist/chunks/cli-1.1.32-rbvnjjkt.mjs +2 -0
- package/dist/chunks/cli-1.1.32-rmz4ezae.mjs +3 -0
- package/dist/chunks/cli-1.1.32-rswqkymv.mjs +133 -0
- package/dist/chunks/cli-1.1.32-s2kkv51h.mjs +2 -0
- package/dist/chunks/cli-1.1.32-s4betse1.mjs +2 -0
- package/dist/chunks/cli-1.1.32-sqsxnqqb.mjs +2 -0
- package/dist/chunks/cli-1.1.32-t1n0b84g.mjs +2 -0
- package/dist/chunks/cli-1.1.32-tgr1e1hd.mjs +2 -0
- package/dist/chunks/cli-1.1.32-th2r4378.mjs +9 -0
- package/dist/chunks/cli-1.1.32-thsw9p6n.mjs +2 -0
- package/dist/chunks/cli-1.1.32-tp4tyjy3.mjs +2 -0
- package/dist/chunks/cli-1.1.32-tq108hv4.mjs +2 -0
- package/dist/chunks/cli-1.1.32-tzn98f6r.mjs +24 -0
- package/dist/chunks/cli-1.1.32-v3cks7qj.mjs +6 -0
- package/dist/chunks/cli-1.1.32-v4chz2b0.mjs +2 -0
- package/dist/chunks/cli-1.1.32-vdezbpdh.mjs +2 -0
- package/dist/chunks/cli-1.1.32-vf3r8a91.mjs +16 -0
- package/dist/chunks/cli-1.1.32-vmr6f229.mjs +2 -0
- package/dist/chunks/cli-1.1.32-vnhzy4jx.mjs +2 -0
- package/dist/chunks/cli-1.1.32-vtzwmjs8.mjs +3 -0
- package/dist/chunks/cli-1.1.32-vy2ngm3p.mjs +2 -0
- package/dist/chunks/cli-1.1.32-w2b0neg3.mjs +4 -0
- package/dist/chunks/cli-1.1.32-wnhqapmf.mjs +24 -0
- package/dist/chunks/cli-1.1.32-wsqyehdw.mjs +2 -0
- package/dist/chunks/cli-1.1.32-wyv15h7a.mjs +6 -0
- package/dist/chunks/cli-1.1.32-x0crp5g9.mjs +2 -0
- package/dist/chunks/cli-1.1.32-x23z7923.mjs +2 -0
- package/dist/chunks/cli-1.1.32-x8j1spnv.mjs +2 -0
- package/dist/chunks/cli-1.1.32-xfhe1m2y.mjs +2 -0
- package/dist/chunks/cli-1.1.32-xj2e8mzf.mjs +2 -0
- package/dist/chunks/cli-1.1.32-xy1pvy12.mjs +2 -0
- package/dist/chunks/cli-1.1.32-y4agg2c2.mjs +17 -0
- package/dist/chunks/cli-1.1.32-ycyg88ky.mjs +2 -0
- package/dist/chunks/cli-1.1.32-ydbtpc9v.mjs +12 -0
- package/dist/chunks/cli-1.1.32-yfs9ppge.mjs +2 -0
- package/dist/chunks/cli-1.1.32-yhftam6y.mjs +50 -0
- package/dist/chunks/cli-1.1.32-yhzhm57s.mjs +2 -0
- package/dist/chunks/cli-1.1.32-yq68bsa5.mjs +2 -0
- package/dist/chunks/cli-1.1.32-yv0wyp2m.mjs +2 -0
- package/dist/chunks/cli-1.1.32-yv9hzzq7.mjs +2 -0
- package/dist/chunks/cli-1.1.32-yw64r19c.mjs +2 -0
- package/dist/chunks/cli-1.1.32-z7x4jfeb.mjs +4 -0
- package/dist/chunks/cli-1.1.32-zegecv6e.mjs +2 -0
- package/dist/chunks/cli-1.1.32-zeyasrw5.mjs +2 -0
- package/dist/chunks/cli-1.1.32-zfyd4kyq.mjs +2 -0
- package/dist/chunks/cli-1.1.32-zfzqc12y.mjs +26 -0
- package/dist/chunks/cli-1.1.32-zkq2v1fz.mjs +2 -0
- package/dist/chunks/cli-1.1.32-zqtqvc9y.mjs +3 -0
- package/dist/chunks/cli-1.1.32-zr4x17ne.mjs +3 -0
- package/dist/chunks/cli-1.1.32-zraeg1n2.mjs +2 -0
- package/dist/chunks/cli-1.1.32-zrxqe296.mjs +7 -0
- package/dist/chunks/cli-1.1.32-zv1p3q66.mjs +2 -0
- package/dist/chunks/cli-1.1.32-zwetcrr2.mjs +39 -0
- package/dist/chunks/client-1.1.32-y4ehgz03.mjs +1 -0
- package/dist/chunks/color-1.1.32-an3gq6pv.mjs +1 -0
- package/dist/chunks/compact-1.1.32-kp67c5pn.mjs +2 -0
- package/dist/chunks/config-1.1.32-9kqd30ca.mjs +1 -0
- package/dist/chunks/config-1.1.32-chryg3ab.mjs +1 -0
- package/dist/chunks/constants-1.1.32-azab2vra.mjs +1 -0
- package/dist/chunks/context-1.1.32-t6yf3tch.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.32-tbes3yx4.mjs +1 -0
- package/dist/chunks/conversation-1.1.32-edtsb1fp.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.32-cxjr3qqd.mjs +1 -0
- package/dist/chunks/copy-1.1.32-2yk1zben.mjs +9 -0
- package/dist/chunks/cost-1.1.32-ykkmca1s.mjs +1 -0
- package/dist/chunks/createSession-1.1.32-pky6wawr.mjs +1 -0
- package/dist/chunks/debug-1.1.32-f8fanjpw.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.32-nf0mf9nq.mjs +1480 -0
- package/dist/chunks/desktop-1.1.32-h4q834kk.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.32-y3wjkn3b.mjs +1 -0
- package/dist/chunks/detection-1.1.32-13rzk2y0.mjs +1 -0
- package/dist/chunks/diff-1.1.32-tsgcxd5v.mjs +1 -0
- package/dist/chunks/doctor-1.1.32-dg4q70ty.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.32-xpjhp8fe.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.32-rzjwc8xb.mjs +1 -0
- package/dist/chunks/effort-1.1.32-76tc9ft4.mjs +13 -0
- package/dist/chunks/engine-1.1.32-qp8px0cr.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.32-mamfyksw.mjs +1 -0
- package/dist/chunks/envUtils-1.1.32-x5ddw5jb.mjs +1 -0
- package/dist/chunks/errors-1.1.32-pw0ngznd.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.32-j9bvstfq.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.32-ah9wga16.mjs +1 -0
- package/dist/chunks/exit-1.1.32-4j8q9ztw.mjs +1 -0
- package/dist/chunks/explorer-1.1.32-dabb8sse.mjs +1 -0
- package/dist/chunks/export-1.1.32-zt3yhqen.mjs +2 -0
- package/dist/chunks/fast-1.1.32-cms216af.mjs +1 -0
- package/dist/chunks/feedback-1.1.32-r94c0y57.mjs +16 -0
- package/dist/chunks/git-1.1.32-9xc0s3ry.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.32-r5xq7s7y.mjs +1 -0
- package/dist/chunks/goal-1.1.32-bkjq4858.mjs +4 -0
- package/dist/chunks/headless-1.1.32-ae4d3qgy.mjs +2 -0
- package/dist/chunks/heapdump-1.1.32-jdrsrqfx.mjs +6 -0
- package/dist/chunks/help-1.1.32-5z54ce4t.mjs +1 -0
- package/dist/chunks/hooks-1.1.32-2mse496x.mjs +1 -0
- package/dist/chunks/hooks-1.1.32-jv66gnpt.mjs +79 -0
- package/dist/chunks/ide-1.1.32-tx45prsy.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.32-bwdr4dza.mjs +1 -0
- package/dist/chunks/import-1.1.32-7w75n01b.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.32-1vfz9rkn.mjs +1 -0
- package/dist/chunks/index-1.1.32-3wzxvtbf.mjs +1 -0
- package/dist/chunks/index-1.1.32-49p9ghn6.mjs +1 -0
- package/dist/chunks/index-1.1.32-7ttnyjb3.mjs +2 -0
- package/dist/chunks/index-1.1.32-aqkr7bx2.mjs +9 -0
- package/dist/chunks/index-1.1.32-az0sxjjn.mjs +5 -0
- package/dist/chunks/index-1.1.32-b4rwnxe8.mjs +1 -0
- package/dist/chunks/index-1.1.32-bpzdp87c.mjs +23 -0
- package/dist/chunks/index-1.1.32-c3gnrfg0.mjs +1 -0
- package/dist/chunks/index-1.1.32-cjq261cn.mjs +9 -0
- package/dist/chunks/index-1.1.32-crx2adff.mjs +1 -0
- package/dist/chunks/index-1.1.32-dn9thxs1.mjs +30 -0
- package/dist/chunks/index-1.1.32-fwm6yqt6.mjs +1 -0
- package/dist/chunks/index-1.1.32-g58gm84f.mjs +1 -0
- package/dist/chunks/index-1.1.32-g9e9ne9q.mjs +1 -0
- package/dist/chunks/index-1.1.32-m694vs1n.mjs +1 -0
- package/dist/chunks/index-1.1.32-rbv0wt7t.mjs +1 -0
- package/dist/chunks/index-1.1.32-revsqy4q.mjs +1 -0
- package/dist/chunks/index-1.1.32-t011v5cn.mjs +1 -0
- package/dist/chunks/index-1.1.32-tv85kbw0.mjs +1 -0
- package/dist/chunks/index-1.1.32-v09n34s4.mjs +1 -0
- package/dist/chunks/index-1.1.32-vaknvmtk.mjs +2 -0
- package/dist/chunks/index-1.1.32-vxn4pvkx.mjs +1 -0
- package/dist/chunks/index-1.1.32-zep1vry1.mjs +1 -0
- package/dist/chunks/init-1.1.32-xac664gq.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.32-d1g5bqts.mjs +1 -0
- package/dist/chunks/ink-1.1.32-brepbf1s.mjs +1 -0
- package/dist/chunks/insights-1.1.32-ccteb3zt.mjs +870 -0
- package/dist/chunks/install-1.1.32-xhcj1s97.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.32-2rb2b8y2.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.32-7e22rmh8.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.32-tw81dggb.mjs +1 -0
- package/dist/chunks/keybindings-1.1.32-bsjftmx2.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.32-ecgj54va.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.32-9c4e13wb.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.32-qb96n0p6.mjs +1 -0
- package/dist/chunks/log-1.1.32-0wdbtf8k.mjs +1 -0
- package/dist/chunks/main-1.1.32-9s7gbk2b.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.32-8aapabn1.mjs +1 -0
- package/dist/chunks/mcp-1.1.32-2ct5ytwv.mjs +1 -0
- package/dist/chunks/mcp-1.1.32-42npdfwc.mjs +17 -0
- package/dist/chunks/mcp-1.1.32-8c3f7gfy.mjs +4 -0
- package/dist/chunks/mcpb-1.1.32-482tejv1.mjs +1 -0
- package/dist/chunks/memory-1.1.32-jrnzabfj.mjs +77 -0
- package/dist/chunks/model-1.1.32-wjtssjq7.mjs +1 -0
- package/dist/chunks/model-1.1.32-z7v5ah7s.mjs +2 -0
- package/dist/chunks/node-1.1.32-bgrnv9d0.mjs +15 -0
- package/dist/chunks/node-1.1.32-pek9xbcv.mjs +1 -0
- package/dist/chunks/oauth-1.1.32-b01rfrnw.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.32-68nafznt.mjs +14 -0
- package/dist/chunks/output-style-1.1.32-se3pq9dn.mjs +1 -0
- package/dist/chunks/package-D2QZMRW7-1.1.32-jykb9rfa.mjs +1 -0
- package/dist/chunks/permissions-1.1.32-r62vjas0.mjs +3 -0
- package/dist/chunks/permissions-1.1.32-v83ds1fq.mjs +1 -0
- package/dist/chunks/plan-1.1.32-remxpgv3.mjs +1 -0
- package/dist/chunks/plist-1.1.32-y2bh274p.mjs +1 -0
- package/dist/chunks/plugin-1.1.32-h9pgs6zn.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.32-vyn1sara.mjs +1 -0
- package/dist/chunks/plugins-1.1.32-wxz7p0xc.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.32-259wvsmh.mjs +2 -0
- package/dist/chunks/print-1.1.32-k37wv4h9.mjs +57 -0
- package/dist/chunks/process-1.1.32-tya6ctch.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.32-hfk6nzmr.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.32-ga3g4qev.mjs +9 -0
- package/dist/chunks/prompt-1.1.32-crsv325t.mjs +1 -0
- package/dist/chunks/prompt-1.1.32-jyfkevpw.mjs +1 -0
- package/dist/chunks/prompts-1.1.32-mythhsq2.mjs +1 -0
- package/dist/chunks/provider-1.1.32-c16c25q6.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.32-gv05d26p.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.32-srfcyanm.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.32-af1r42j6.mjs +26 -0
- package/dist/chunks/registry-1.1.32-nvr3xen5.mjs +1 -0
- package/dist/chunks/release-notes-1.1.32-gtntbc84.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.32-qmx4b0zf.mjs +2 -0
- package/dist/chunks/remote-env-1.1.32-srz0skx2.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.32-17erfh69.mjs +1 -0
- package/dist/chunks/rename-1.1.32-yww8w15q.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.32-carhn5x3.mjs +1 -0
- package/dist/chunks/resume-1.1.32-y7g779fj.mjs +2 -0
- package/dist/chunks/rewind-1.1.32-xktcmbbk.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.32-q7914mqe.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.32-yr1peyj2.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.32-kct2shfd.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.32-wa7kgd6b.mjs +1 -0
- package/dist/chunks/session-1.1.32-07pqmcyz.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.32-1ekf9af3.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.32-vcm53ywe.mjs +1 -0
- package/dist/chunks/settings-1.1.32-kwtz4r22.mjs +1 -0
- package/dist/chunks/setup-1.1.32-695k1eyn.mjs +12 -0
- package/dist/chunks/sinks-1.1.32-3eh8hb97.mjs +1 -0
- package/dist/chunks/skills-1.1.32-ymdek4dt.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.32-sxxmxavv.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.32-25e14c0p.mjs +1 -0
- package/dist/chunks/state-1.1.32-q2y7dv84.mjs +1 -0
- package/dist/chunks/stats-1.1.32-p79st2jy.mjs +1 -0
- package/dist/chunks/status-1.1.32-wsaad3gy.mjs +1 -0
- package/dist/chunks/stickers-1.1.32-erbhpqdc.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.32-29m5mf2s.mjs +1 -0
- package/dist/chunks/tasks-1.1.32-fv2ze8ev.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.32-b2x5nsht.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.32-w65af42z.mjs +1 -0
- package/dist/chunks/teleport-1.1.32-6d4336gw.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.32-t82mfgh5.mjs +1 -0
- package/dist/chunks/theme-1.1.32-7qn5nf2j.mjs +1 -0
- package/dist/chunks/thinkback-1.1.32-awsxj77a.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.32-jz9fjb47.mjs +1 -0
- package/dist/chunks/toolPool-1.1.32-fjydq0km.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.32-y8vfsj9n.mjs +1 -0
- package/dist/chunks/tools-1.1.32-pd8bskwj.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.32-891wyppj.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.32-nsrwegv6.mjs +69 -0
- package/dist/chunks/types-1.1.32-v6b8jgxx.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.32-wkj4mpew.mjs +4 -0
- package/dist/chunks/update-1.1.32-zz1tgpba.mjs +72 -0
- package/dist/chunks/upload-1.1.32-43gcqyx2.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.32-nqwkbma5.mjs +14 -0
- package/dist/chunks/usage-1.1.32-80bkg4qd.mjs +1 -0
- package/dist/chunks/util-1.1.32-c7zmr7sf.mjs +1 -0
- package/dist/chunks/utils-1.1.32-x2mf8n7e.mjs +1 -0
- package/dist/chunks/vim-1.1.32-mz41whem.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.32-yftqp4h6.mjs +13 -0
- package/dist/chunks/watcher-1.1.32-jy13qnvt.mjs +1 -0
- package/dist/chunks/wiki-1.1.32-z6ngme51.mjs +132 -0
- package/dist/chunks/workflows-1.1.32-mpyvb578.mjs +1 -0
- package/dist/chunks/worktree-1.1.32-qxw9fxfk.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.32-w3d8pgmt.mjs +1 -0
- package/dist/chunks/wrapper-1.1.32-5xty3sv5.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.31-6e06310w.mjs +0 -1
- package/dist/chunks/App-1.1.31-bp57fthj.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.31-ptx7r5x2.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.31-0d22j8k7.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.31-v2cfafqt.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.31-a8e8ar2n.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.31-zq76tmk2.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.31-r1mknqwv.mjs +0 -6
- package/dist/chunks/Doctor-1.1.31-t4n9k4nc.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.31-41a3c01z.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.31-y9f8hq45.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.31-xpdggxkf.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.31-0bg1r1g6.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.31-w8fpbc16.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.31-23zjjspn.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.31-504qgqkc.mjs +0 -1
- package/dist/chunks/REPL-1.1.31-nyzbwycm.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.31-dqkxr7bz.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.31-htqfbpbp.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.31-27h2np2z.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.31-41nwynfk.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.31-ea5827ce.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.31-jvrhermf.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.31-c0sya3fj.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.31-28w5033t.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.31-dbrkwgfw.mjs +0 -1
- package/dist/chunks/add-dir-1.1.31-r6x72g59.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.31-kb6srdzm.mjs +0 -1
- package/dist/chunks/agents-1.1.31-1jetdejb.mjs +0 -110
- package/dist/chunks/agents-1.1.31-mfr4h93c.mjs +0 -3
- package/dist/chunks/api-1.1.31-hp3y91t9.mjs +0 -1
- package/dist/chunks/asciicast-1.1.31-t0xrwnqn.mjs +0 -1
- package/dist/chunks/auth-1.1.31-76rswxwe.mjs +0 -1
- package/dist/chunks/auth-1.1.31-yhv86kw0.mjs +0 -1
- package/dist/chunks/autoMode-1.1.31-qma18egk.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.31-egrmqsva.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.31-417m125q.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.31-e5emh88x.mjs +0 -1
- package/dist/chunks/branch-1.1.31-bxrg1svq.mjs +0 -4
- package/dist/chunks/bridge-1.1.31-1rsj352r.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.31-r9vnvw71.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.31-d9mxn4g0.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.31-7sf093b0.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.31-n1t53nem.mjs +0 -1
- package/dist/chunks/btw-1.1.31-skw1dhb5.mjs +0 -1
- package/dist/chunks/buddy-1.1.31-wtmggn5p.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.31-pgss169p.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.31-af3nkg2b.mjs +0 -4
- package/dist/chunks/caches-1.1.31-yvqtsfx3.mjs +0 -1
- package/dist/chunks/cd-1.1.31-9t47yj0z.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.31-b7a99nfq.mjs +0 -1
- package/dist/chunks/claudemd-1.1.31-h72v8r12.mjs +0 -1
- package/dist/chunks/clear-1.1.31-ndp0q9t9.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.31-d6d2q7kn.mjs +0 -1
- package/dist/chunks/cli-1.1.31-03xjvk1e.mjs +0 -3
- package/dist/chunks/cli-1.1.31-0fnqd3bq.mjs +0 -25
- package/dist/chunks/cli-1.1.31-0mmyq6jx.mjs +0 -2
- package/dist/chunks/cli-1.1.31-0yagz4xw.mjs +0 -2
- package/dist/chunks/cli-1.1.31-1192t9cm.mjs +0 -2
- package/dist/chunks/cli-1.1.31-13cx7z8n.mjs +0 -60
- package/dist/chunks/cli-1.1.31-1dv9ay7v.mjs +0 -2
- package/dist/chunks/cli-1.1.31-1q4btmra.mjs +0 -2
- package/dist/chunks/cli-1.1.31-1qw0s3a8.mjs +0 -2
- package/dist/chunks/cli-1.1.31-1wxttnqr.mjs +0 -2
- package/dist/chunks/cli-1.1.31-2csxt0x3.mjs +0 -2
- package/dist/chunks/cli-1.1.31-2ffqcy85.mjs +0 -2
- package/dist/chunks/cli-1.1.31-2j93x895.mjs +0 -24
- package/dist/chunks/cli-1.1.31-2mfapzkq.mjs +0 -2
- package/dist/chunks/cli-1.1.31-2pdbmb7w.mjs +0 -3
- package/dist/chunks/cli-1.1.31-2zvm1tgs.mjs +0 -2
- package/dist/chunks/cli-1.1.31-312b3zf6.mjs +0 -2
- package/dist/chunks/cli-1.1.31-32mahfs2.mjs +0 -2
- package/dist/chunks/cli-1.1.31-3dy87m85.mjs +0 -2
- package/dist/chunks/cli-1.1.31-3ehzwm1n.mjs +0 -2
- package/dist/chunks/cli-1.1.31-3jzsv5dy.mjs +0 -2
- package/dist/chunks/cli-1.1.31-3s51hvv0.mjs +0 -2
- package/dist/chunks/cli-1.1.31-3zy5yd1t.mjs +0 -133
- package/dist/chunks/cli-1.1.31-44jshpbd.mjs +0 -2
- package/dist/chunks/cli-1.1.31-4awnya8e.mjs +0 -2
- package/dist/chunks/cli-1.1.31-4cp1xkaj.mjs +0 -2
- package/dist/chunks/cli-1.1.31-4ja5kbt5.mjs +0 -4
- package/dist/chunks/cli-1.1.31-4tneme0y.mjs +0 -2
- package/dist/chunks/cli-1.1.31-528vtf9a.mjs +0 -2
- package/dist/chunks/cli-1.1.31-52wt9w8w.mjs +0 -15
- package/dist/chunks/cli-1.1.31-556xnzb4.mjs +0 -2
- package/dist/chunks/cli-1.1.31-562nqgh7.mjs +0 -2
- package/dist/chunks/cli-1.1.31-58anwssk.mjs +0 -2
- package/dist/chunks/cli-1.1.31-5ab9cpbt.mjs +0 -3
- package/dist/chunks/cli-1.1.31-5kgkq6vm.mjs +0 -2
- package/dist/chunks/cli-1.1.31-5ma2m26d.mjs +0 -2
- package/dist/chunks/cli-1.1.31-5tgfa7xy.mjs +0 -2
- package/dist/chunks/cli-1.1.31-5xd2j6e7.mjs +0 -2
- package/dist/chunks/cli-1.1.31-612bpjx6.mjs +0 -2
- package/dist/chunks/cli-1.1.31-619zan4w.mjs +0 -2
- package/dist/chunks/cli-1.1.31-6m1k9909.mjs +0 -2
- package/dist/chunks/cli-1.1.31-6pxakyvg.mjs +0 -2
- package/dist/chunks/cli-1.1.31-6qm466ss.mjs +0 -2
- package/dist/chunks/cli-1.1.31-706cv7fx.mjs +0 -2
- package/dist/chunks/cli-1.1.31-7692zxpg.mjs +0 -2
- package/dist/chunks/cli-1.1.31-774jqp88.mjs +0 -2
- package/dist/chunks/cli-1.1.31-777381m0.mjs +0 -34
- package/dist/chunks/cli-1.1.31-7hmq6k3a.mjs +0 -26
- package/dist/chunks/cli-1.1.31-7wdp9ve5.mjs +0 -3
- package/dist/chunks/cli-1.1.31-8bcb1d1y.mjs +0 -2
- package/dist/chunks/cli-1.1.31-8esfq0f2.mjs +0 -2
- package/dist/chunks/cli-1.1.31-8h9zps1d.mjs +0 -2
- package/dist/chunks/cli-1.1.31-8sw4prf8.mjs +0 -22
- package/dist/chunks/cli-1.1.31-8syj0cmx.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9493f46x.mjs +0 -9
- package/dist/chunks/cli-1.1.31-978dpg39.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9a1gsrx2.mjs +0 -24
- package/dist/chunks/cli-1.1.31-9adq5rjd.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9d5v98td.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9e4vtbvh.mjs +0 -3
- package/dist/chunks/cli-1.1.31-9efpx64n.mjs +0 -20
- package/dist/chunks/cli-1.1.31-9gf60j86.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9gzbwjb8.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9m6ef5kb.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9m6gmh2w.mjs +0 -2
- package/dist/chunks/cli-1.1.31-9x9gaa7g.mjs +0 -2
- package/dist/chunks/cli-1.1.31-a4vvez04.mjs +0 -2
- package/dist/chunks/cli-1.1.31-a5wav9hq.mjs +0 -2
- package/dist/chunks/cli-1.1.31-a611zwj5.mjs +0 -10
- package/dist/chunks/cli-1.1.31-adnn5x8c.mjs +0 -16
- package/dist/chunks/cli-1.1.31-afzdmcrq.mjs +0 -2
- package/dist/chunks/cli-1.1.31-ahbyaapz.mjs +0 -12
- package/dist/chunks/cli-1.1.31-aqm3wayg.mjs +0 -2
- package/dist/chunks/cli-1.1.31-b2pt6rsc.mjs +0 -2
- package/dist/chunks/cli-1.1.31-b7258j1y.mjs +0 -2
- package/dist/chunks/cli-1.1.31-b8rbgfhm.mjs +0 -2
- package/dist/chunks/cli-1.1.31-bdt0j0zj.mjs +0 -4
- package/dist/chunks/cli-1.1.31-bfsa3dvr.mjs +0 -2
- package/dist/chunks/cli-1.1.31-bx3e5rv6.mjs +0 -3
- package/dist/chunks/cli-1.1.31-c17g88x0.mjs +0 -9
- package/dist/chunks/cli-1.1.31-c9707zjx.mjs +0 -63
- package/dist/chunks/cli-1.1.31-can8wyac.mjs +0 -2
- package/dist/chunks/cli-1.1.31-cpay8r5h.mjs +0 -2
- package/dist/chunks/cli-1.1.31-cpeph4zm.mjs +0 -6
- package/dist/chunks/cli-1.1.31-d930nxk6.mjs +0 -3
- package/dist/chunks/cli-1.1.31-d9sxj86f.mjs +0 -2
- package/dist/chunks/cli-1.1.31-dc4fq4s3.mjs +0 -2
- package/dist/chunks/cli-1.1.31-dctwr6q4.mjs +0 -5
- package/dist/chunks/cli-1.1.31-dcyx3536.mjs +0 -39
- package/dist/chunks/cli-1.1.31-dhecyw04.mjs +0 -3
- package/dist/chunks/cli-1.1.31-dmghye74.mjs +0 -4
- package/dist/chunks/cli-1.1.31-ek449yjc.mjs +0 -6
- package/dist/chunks/cli-1.1.31-emhqeb1g.mjs +0 -2
- package/dist/chunks/cli-1.1.31-eqfmzrxc.mjs +0 -2
- package/dist/chunks/cli-1.1.31-eqvc58gw.mjs +0 -2
- package/dist/chunks/cli-1.1.31-ewhwdszf.mjs +0 -2
- package/dist/chunks/cli-1.1.31-f1zfyp44.mjs +0 -2
- package/dist/chunks/cli-1.1.31-f2abkvxa.mjs +0 -4
- package/dist/chunks/cli-1.1.31-fbdr0297.mjs +0 -2
- package/dist/chunks/cli-1.1.31-fdjs93ba.mjs +0 -2
- package/dist/chunks/cli-1.1.31-fdk7yhs0.mjs +0 -2
- package/dist/chunks/cli-1.1.31-fjdb444f.mjs +0 -7
- package/dist/chunks/cli-1.1.31-fk787pkf.mjs +0 -15
- package/dist/chunks/cli-1.1.31-fpqqpyrw.mjs +0 -3
- package/dist/chunks/cli-1.1.31-fr8t4a7n.mjs +0 -2
- package/dist/chunks/cli-1.1.31-fy2x8k7r.mjs +0 -2
- package/dist/chunks/cli-1.1.31-g41zancj.mjs +0 -3
- package/dist/chunks/cli-1.1.31-g58b1jfa.mjs +0 -5473
- package/dist/chunks/cli-1.1.31-ggtvemxf.mjs +0 -2
- package/dist/chunks/cli-1.1.31-gk7te1jt.mjs +0 -2
- package/dist/chunks/cli-1.1.31-gq54djk0.mjs +0 -2
- package/dist/chunks/cli-1.1.31-h102y1at.mjs +0 -8
- package/dist/chunks/cli-1.1.31-h1sv3apa.mjs +0 -4
- package/dist/chunks/cli-1.1.31-h41m4yrw.mjs +0 -2
- package/dist/chunks/cli-1.1.31-h5a78vp8.mjs +0 -2
- package/dist/chunks/cli-1.1.31-hfdt80w2.mjs +0 -50
- package/dist/chunks/cli-1.1.31-hk88wxhm.mjs +0 -2
- package/dist/chunks/cli-1.1.31-hpxjvh3j.mjs +0 -3
- package/dist/chunks/cli-1.1.31-hvnwvzhh.mjs +0 -58
- package/dist/chunks/cli-1.1.31-j0fbn8aw.mjs +0 -2
- package/dist/chunks/cli-1.1.31-jfj1gvgy.mjs +0 -2
- package/dist/chunks/cli-1.1.31-jh2sb5nk.mjs +0 -42
- package/dist/chunks/cli-1.1.31-jnyr50hq.mjs +0 -2
- package/dist/chunks/cli-1.1.31-jwa8f70w.mjs +0 -2
- package/dist/chunks/cli-1.1.31-jyzz7q1c.mjs +0 -2
- package/dist/chunks/cli-1.1.31-k0zfy1nt.mjs +0 -2
- package/dist/chunks/cli-1.1.31-kfw3q4sp.mjs +0 -133
- package/dist/chunks/cli-1.1.31-kp8hq72m.mjs +0 -2
- package/dist/chunks/cli-1.1.31-kzh4darh.mjs +0 -2
- package/dist/chunks/cli-1.1.31-m5w2d13z.mjs +0 -2
- package/dist/chunks/cli-1.1.31-m9yqg6jg.mjs +0 -2
- package/dist/chunks/cli-1.1.31-mcekc48f.mjs +0 -2
- package/dist/chunks/cli-1.1.31-mtcbc6g3.mjs +0 -4
- package/dist/chunks/cli-1.1.31-n130x03f.mjs +0 -2
- package/dist/chunks/cli-1.1.31-n305h9qd.mjs +0 -25
- package/dist/chunks/cli-1.1.31-n4g6s1bz.mjs +0 -2
- package/dist/chunks/cli-1.1.31-n5vytp0f.mjs +0 -2
- package/dist/chunks/cli-1.1.31-nh2cfavp.mjs +0 -2
- package/dist/chunks/cli-1.1.31-njfyxwfr.mjs +0 -2
- package/dist/chunks/cli-1.1.31-nvecb8c6.mjs +0 -2
- package/dist/chunks/cli-1.1.31-nyvjx813.mjs +0 -24
- package/dist/chunks/cli-1.1.31-nyvz0ev8.mjs +0 -5
- package/dist/chunks/cli-1.1.31-p99fz46k.mjs +0 -206
- package/dist/chunks/cli-1.1.31-pb50hb6v.mjs +0 -12
- package/dist/chunks/cli-1.1.31-pg2ntz9b.mjs +0 -17
- package/dist/chunks/cli-1.1.31-pgde5349.mjs +0 -2
- package/dist/chunks/cli-1.1.31-pp98t7k8.mjs +0 -2
- package/dist/chunks/cli-1.1.31-ptvddvjv.mjs +0 -2
- package/dist/chunks/cli-1.1.31-pzz7j17y.mjs +0 -3
- package/dist/chunks/cli-1.1.31-q67trvk0.mjs +0 -2
- package/dist/chunks/cli-1.1.31-q6k8ems6.mjs +0 -21
- package/dist/chunks/cli-1.1.31-qj8vksz8.mjs +0 -2
- package/dist/chunks/cli-1.1.31-qq0sng13.mjs +0 -2
- package/dist/chunks/cli-1.1.31-qsftejzk.mjs +0 -2
- package/dist/chunks/cli-1.1.31-qv6x2hht.mjs +0 -2
- package/dist/chunks/cli-1.1.31-qyztdyg2.mjs +0 -2
- package/dist/chunks/cli-1.1.31-r5g0ns02.mjs +0 -2
- package/dist/chunks/cli-1.1.31-r7jps0tn.mjs +0 -3
- package/dist/chunks/cli-1.1.31-rqyqyvdn.mjs +0 -2
- package/dist/chunks/cli-1.1.31-rspa4dsq.mjs +0 -6
- package/dist/chunks/cli-1.1.31-rw3xn3tc.mjs +0 -4
- package/dist/chunks/cli-1.1.31-s1a6vw53.mjs +0 -2
- package/dist/chunks/cli-1.1.31-s1vgm3hb.mjs +0 -2
- package/dist/chunks/cli-1.1.31-s246tb6v.mjs +0 -15
- package/dist/chunks/cli-1.1.31-satbt91m.mjs +0 -18
- package/dist/chunks/cli-1.1.31-sc82f8hw.mjs +0 -6
- package/dist/chunks/cli-1.1.31-sn0x975f.mjs +0 -24
- package/dist/chunks/cli-1.1.31-sn2bmgwr.mjs +0 -2
- package/dist/chunks/cli-1.1.31-t2y2tkme.mjs +0 -2
- package/dist/chunks/cli-1.1.31-t6m64e0q.mjs +0 -6
- package/dist/chunks/cli-1.1.31-t96rrv1m.mjs +0 -2
- package/dist/chunks/cli-1.1.31-tc6xppyr.mjs +0 -2
- package/dist/chunks/cli-1.1.31-tctd36c8.mjs +0 -2
- package/dist/chunks/cli-1.1.31-thhdw5e1.mjs +0 -2
- package/dist/chunks/cli-1.1.31-v02fpzs5.mjs +0 -2
- package/dist/chunks/cli-1.1.31-v7nswcm8.mjs +0 -2
- package/dist/chunks/cli-1.1.31-var05xaf.mjs +0 -2
- package/dist/chunks/cli-1.1.31-vbch5rht.mjs +0 -2
- package/dist/chunks/cli-1.1.31-vf004w21.mjs +0 -2
- package/dist/chunks/cli-1.1.31-vhstdnfa.mjs +0 -7
- package/dist/chunks/cli-1.1.31-vphyv007.mjs +0 -2
- package/dist/chunks/cli-1.1.31-vpkbqj90.mjs +0 -4
- package/dist/chunks/cli-1.1.31-vr977n4j.mjs +0 -2
- package/dist/chunks/cli-1.1.31-w0vfcfhs.mjs +0 -2
- package/dist/chunks/cli-1.1.31-w225x38q.mjs +0 -2
- package/dist/chunks/cli-1.1.31-war7w6d7.mjs +0 -2
- package/dist/chunks/cli-1.1.31-wba64b2s.mjs +0 -2
- package/dist/chunks/cli-1.1.31-wfv9e9p4.mjs +0 -2
- package/dist/chunks/cli-1.1.31-wmt8ywr9.mjs +0 -2
- package/dist/chunks/cli-1.1.31-wnpf6e90.mjs +0 -2
- package/dist/chunks/cli-1.1.31-x1wr5k0p.mjs +0 -2
- package/dist/chunks/cli-1.1.31-x96s38b0.mjs +0 -2
- package/dist/chunks/cli-1.1.31-xqdypd2k.mjs +0 -6
- package/dist/chunks/cli-1.1.31-xv09f0k4.mjs +0 -2
- package/dist/chunks/cli-1.1.31-yte5f9f9.mjs +0 -45
- package/dist/chunks/cli-1.1.31-yz72mhbg.mjs +0 -2
- package/dist/chunks/cli-1.1.31-z3s1pnd3.mjs +0 -1
- package/dist/chunks/cli-1.1.31-z6qe8e42.mjs +0 -2
- package/dist/chunks/cli-1.1.31-z7hdz84q.mjs +0 -17
- package/dist/chunks/cli-1.1.31-zsjs5eq0.mjs +0 -2
- package/dist/chunks/cli-1.1.31-zvbpmw2y.mjs +0 -2
- package/dist/chunks/cli-1.1.31-zy7nrvt9.mjs +0 -2
- package/dist/chunks/cli-1.1.31-zzd4cheh.mjs +0 -2
- package/dist/chunks/client-1.1.31-3bn971t2.mjs +0 -1
- package/dist/chunks/color-1.1.31-n3q45hw4.mjs +0 -1
- package/dist/chunks/compact-1.1.31-zkekkcjq.mjs +0 -3
- package/dist/chunks/config-1.1.31-1t6yz96k.mjs +0 -1
- package/dist/chunks/config-1.1.31-enwx50r9.mjs +0 -1
- package/dist/chunks/constants-1.1.31-5peb81d1.mjs +0 -1
- package/dist/chunks/context-1.1.31-9crzemp8.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.31-twqynyp7.mjs +0 -1
- package/dist/chunks/conversation-1.1.31-yw2es9kq.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.31-axfr0ar5.mjs +0 -1
- package/dist/chunks/copy-1.1.31-y97hza01.mjs +0 -9
- package/dist/chunks/cost-1.1.31-wtp1fp62.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.31-tsfe2dea.mjs +0 -1
- package/dist/chunks/createSession-1.1.31-pddv01ds.mjs +0 -1
- package/dist/chunks/debug-1.1.31-5awffxcd.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.31-6a742vb3.mjs +0 -1480
- package/dist/chunks/desktop-1.1.31-zq54hfwy.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.31-s6pe6c1x.mjs +0 -1
- package/dist/chunks/detection-1.1.31-zss1hfbq.mjs +0 -1
- package/dist/chunks/diff-1.1.31-ksj17xmk.mjs +0 -1
- package/dist/chunks/doctor-1.1.31-v4djfk2w.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.31-gs3rsn7y.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.31-s1vpzgtx.mjs +0 -1
- package/dist/chunks/effort-1.1.31-6z9vjdd8.mjs +0 -13
- package/dist/chunks/engine-1.1.31-rv1fs549.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.31-5p5f4zyz.mjs +0 -1
- package/dist/chunks/envUtils-1.1.31-ntcm9cr0.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.31-hh2weytc.mjs +0 -1
- package/dist/chunks/environments-1.1.31-yvgyx900.mjs +0 -1
- package/dist/chunks/errors-1.1.31-n434b94a.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.31-gntd6p22.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.31-s2n0jxqw.mjs +0 -1
- package/dist/chunks/exit-1.1.31-rgrjhztt.mjs +0 -1
- package/dist/chunks/explorer-1.1.31-cyken2c0.mjs +0 -1
- package/dist/chunks/export-1.1.31-nmjy9qp1.mjs +0 -2
- package/dist/chunks/fast-1.1.31-58c4aeze.mjs +0 -1
- package/dist/chunks/feedback-1.1.31-m0vj61dd.mjs +0 -16
- package/dist/chunks/git-1.1.31-9ytjvad9.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.31-7pk651pz.mjs +0 -1
- package/dist/chunks/goal-1.1.31-2a9eh1dv.mjs +0 -4
- package/dist/chunks/headless-1.1.31-btcvy308.mjs +0 -2
- package/dist/chunks/heapdump-1.1.31-3d2namke.mjs +0 -6
- package/dist/chunks/help-1.1.31-sewrb4nb.mjs +0 -1
- package/dist/chunks/hookChains-1.1.31-72mrrs9j.mjs +0 -3
- package/dist/chunks/hooks-1.1.31-0gf2fwcn.mjs +0 -1
- package/dist/chunks/hooks-1.1.31-t1v6dwz6.mjs +0 -79
- package/dist/chunks/ide-1.1.31-rfvpxf98.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.31-6m3111th.mjs +0 -1
- package/dist/chunks/import-1.1.31-n4khxgen.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.31-js74nw49.mjs +0 -1
- package/dist/chunks/index-1.1.31-1d2w0stv.mjs +0 -1
- package/dist/chunks/index-1.1.31-7xyvb71n.mjs +0 -1
- package/dist/chunks/index-1.1.31-b35axgfq.mjs +0 -1
- package/dist/chunks/index-1.1.31-bb3ds6px.mjs +0 -5
- package/dist/chunks/index-1.1.31-d8kmfk8g.mjs +0 -1
- package/dist/chunks/index-1.1.31-djqjbcj1.mjs +0 -1
- package/dist/chunks/index-1.1.31-fbcpgjqr.mjs +0 -1
- package/dist/chunks/index-1.1.31-fzj8sx04.mjs +0 -1
- package/dist/chunks/index-1.1.31-h4jmtajm.mjs +0 -9
- package/dist/chunks/index-1.1.31-hxatxhrm.mjs +0 -1
- package/dist/chunks/index-1.1.31-jjp83m1j.mjs +0 -1
- package/dist/chunks/index-1.1.31-jk9pvxkr.mjs +0 -1
- package/dist/chunks/index-1.1.31-jy33bsc3.mjs +0 -2
- package/dist/chunks/index-1.1.31-kdnrzq4a.mjs +0 -1
- package/dist/chunks/index-1.1.31-kv3bfsq2.mjs +0 -23
- package/dist/chunks/index-1.1.31-mxjtqbfj.mjs +0 -1
- package/dist/chunks/index-1.1.31-p8xpgawg.mjs +0 -1
- package/dist/chunks/index-1.1.31-phw15bz8.mjs +0 -1
- package/dist/chunks/index-1.1.31-pr2zcv22.mjs +0 -30
- package/dist/chunks/index-1.1.31-q75y58jp.mjs +0 -2
- package/dist/chunks/index-1.1.31-qhsyqcg4.mjs +0 -1
- package/dist/chunks/index-1.1.31-tzvhzkcd.mjs +0 -1
- package/dist/chunks/index-1.1.31-wgdk68t3.mjs +0 -9
- package/dist/chunks/init-1.1.31-4ayzds5h.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.31-ebns690c.mjs +0 -1
- package/dist/chunks/ink-1.1.31-rx0229yp.mjs +0 -1
- package/dist/chunks/insights-1.1.31-t8z4k64x.mjs +0 -870
- package/dist/chunks/install-1.1.31-fvw0rbqj.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.31-zmtxtda9.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.31-j04t1paw.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.31-xq2br8z8.mjs +0 -1
- package/dist/chunks/keybindings-1.1.31-a0dfh2gb.mjs +0 -2
- package/dist/chunks/knowledge-1.1.31-g087p4dy.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.31-vyesmh7x.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.31-39mbd67g.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.31-7pnfkxj8.mjs +0 -1
- package/dist/chunks/log-1.1.31-75wjvmg7.mjs +0 -1
- package/dist/chunks/main-1.1.31-htavj2vh.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.31-3t5j20s3.mjs +0 -1
- package/dist/chunks/mcp-1.1.31-g8q13cfk.mjs +0 -1
- package/dist/chunks/mcp-1.1.31-gnbrx51d.mjs +0 -17
- package/dist/chunks/mcp-1.1.31-tb2yw0fm.mjs +0 -4
- package/dist/chunks/mcpb-1.1.31-an4y7m57.mjs +0 -1
- package/dist/chunks/memory-1.1.31-6ebsap62.mjs +0 -77
- package/dist/chunks/model-1.1.31-dfs178qb.mjs +0 -1
- package/dist/chunks/model-1.1.31-yjsxjv0f.mjs +0 -2
- package/dist/chunks/node-1.1.31-4gqzhhpj.mjs +0 -15
- package/dist/chunks/node-1.1.31-bknsrjhq.mjs +0 -1
- package/dist/chunks/oauth-1.1.31-0dfgbykp.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.31-bx5cgqc0.mjs +0 -14
- package/dist/chunks/output-style-1.1.31-fqg3pscb.mjs +0 -1
- package/dist/chunks/package-D2QZMRW7-1.1.31-tbwnz9re.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.31-htt07xve.mjs +0 -1
- package/dist/chunks/parser-1.1.31-22dqq9cd.mjs +0 -1
- package/dist/chunks/permissions-1.1.31-2jt71rmf.mjs +0 -1
- package/dist/chunks/permissions-1.1.31-8eevgx6v.mjs +0 -3
- package/dist/chunks/plan-1.1.31-sgds3thc.mjs +0 -1
- package/dist/chunks/plist-1.1.31-50ff60z2.mjs +0 -1
- package/dist/chunks/plugin-1.1.31-j5n91qc0.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.31-28rvz0zj.mjs +0 -1
- package/dist/chunks/plugins-1.1.31-cq05wg0h.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.31-xmrm67ge.mjs +0 -2
- package/dist/chunks/print-1.1.31-4n5d0cdk.mjs +0 -57
- package/dist/chunks/process-1.1.31-7c3jtep7.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.31-ycb3ehgr.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.31-0bwjc7n4.mjs +0 -9
- package/dist/chunks/prompt-1.1.31-1krmkgep.mjs +0 -1
- package/dist/chunks/prompt-1.1.31-vsft6hz3.mjs +0 -1
- package/dist/chunks/prompts-1.1.31-jp2k44tp.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.31-yc5dejjn.mjs +0 -13
- package/dist/chunks/provider-1.1.31-sba30ytt.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.31-8g3p4ntd.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.31-rnj0xtqw.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.31-rtx2e9wp.mjs +0 -26
- package/dist/chunks/registry-1.1.31-ecyhakd2.mjs +0 -1
- package/dist/chunks/release-notes-1.1.31-gf017wax.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.31-de7agwmx.mjs +0 -2
- package/dist/chunks/remote-env-1.1.31-x3aaeh2d.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.31-37k3bw33.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.31-tkas2k4z.mjs +0 -1
- package/dist/chunks/rename-1.1.31-4q58stc8.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.31-64getkgv.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.31-0n74v295.mjs +0 -1
- package/dist/chunks/resume-1.1.31-btzfzzf4.mjs +0 -2
- package/dist/chunks/rewind-1.1.31-9m2a508m.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.31-bftj813f.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.31-tra2r0dx.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.31-6nyy2rag.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.31-h1n35f5k.mjs +0 -1
- package/dist/chunks/session-1.1.31-xb800b9s.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-1.1.31-gkkyesrj.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.31-s7gez2t6.mjs +0 -1
- package/dist/chunks/settings-1.1.31-w7zfpg83.mjs +0 -1
- package/dist/chunks/setup-1.1.31-b6kjgetf.mjs +0 -12
- package/dist/chunks/sinks-1.1.31-g9n7r1nh.mjs +0 -1
- package/dist/chunks/skills-1.1.31-ag9r3asv.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.31-h19httmy.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.31-f3g7de65.mjs +0 -1
- package/dist/chunks/state-1.1.31-tbc1c6c2.mjs +0 -1
- package/dist/chunks/stats-1.1.31-71xjrkax.mjs +0 -1
- package/dist/chunks/status-1.1.31-n65g11nc.mjs +0 -1
- package/dist/chunks/stickers-1.1.31-eze0atpf.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.31-r788gbdf.mjs +0 -1
- package/dist/chunks/tasks-1.1.31-tbc0x51m.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.31-yt18sjr2.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.31-f3bgkc7m.mjs +0 -1
- package/dist/chunks/teleport-1.1.31-4mvcqr5j.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.31-y574v0gj.mjs +0 -1
- package/dist/chunks/theme-1.1.31-2nth8fxb.mjs +0 -1
- package/dist/chunks/thinkback-1.1.31-yt5309kx.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.31-n61vtr8q.mjs +0 -1
- package/dist/chunks/toolPool-1.1.31-2wrjcf13.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.31-vr7hen30.mjs +0 -1
- package/dist/chunks/tools-1.1.31-xgrxwk7j.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.31-ad2f2kvj.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.31-mtgg85tg.mjs +0 -69
- package/dist/chunks/types-1.1.31-ery244ea.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.31-fs3fn2qp.mjs +0 -4
- package/dist/chunks/update-1.1.31-j79f7es2.mjs +0 -72
- package/dist/chunks/upload-1.1.31-ehqzz7x7.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.31-z70ctdj3.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.31-e0hbcnyw.mjs +0 -1
- package/dist/chunks/usage-1.1.31-qgmy1ktr.mjs +0 -1
- package/dist/chunks/util-1.1.31-jy81jvt3.mjs +0 -1
- package/dist/chunks/utils-1.1.31-3jpj59nn.mjs +0 -1
- package/dist/chunks/vim-1.1.31-wbbckx93.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.31-v994wq2d.mjs +0 -13
- package/dist/chunks/watcher-1.1.31-zr0darq0.mjs +0 -1
- package/dist/chunks/wiki-1.1.31-7gcn31zm.mjs +0 -132
- package/dist/chunks/workflows-1.1.31-ek8twhyg.mjs +0 -1
- package/dist/chunks/worktree-1.1.31-krxr11er.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.31-m3t752mj.mjs +0 -1
- package/dist/chunks/wrapper-1.1.31-037s1v4h.mjs +0 -7
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{A8 as k,B8 as ur,C8 as Qc,D8 as Bc,E8 as ra,F8 as Xc,G8 as Yc,H8 as Zc,I8 as Jc,J8 as el,K8 as Hc,L8 as cr,M8 as Cc,N8 as Ts,O8 as gl,o8 as nt,p8 as hl,q8 as bl,r8 as ml,s8 as fn,t8 as $c,u8 as fu,v8 as Al,w8 as ys,x8 as El,y8 as st,z8 as hs}from"./cli-1.1.32-pfhbrjhs.mjs";import{P8 as ie}from"./cli-1.1.32-pe6kmf9g.mjs";import{S8 as kc,T8 as Le}from"./cli-1.1.32-1cp8vbtp.mjs";import{Kqa as Vc}from"./cli-1.1.32-r7020tw8.mjs";import{Mqa as Fe,Nqa as ve,Qqa as De,Rqa as ee}from"./cli-1.1.32-2wcdy0zp.mjs";import{Uqa as E,Xqa as Bs}from"./cli-1.1.32-yw64r19c.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 n8};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ws as Wq,Xs as Eq,hw as Yq,iw as Pq}from"./cli-1.1.32-9yka8m9x.mjs";import{KV as Gq,MV as Rq}from"./cli-1.1.32-1c9z2mtv.mjs";import{K2 as Vq,O2 as Zq,P2 as Cq,Q5 as y,U5 as M,j6 as Tq}from"./cli-1.1.32-vf3r8a91.mjs";import{I6 as $q,J6 as Mq}from"./cli-1.1.32-czrfbd3q.mjs";import{b9 as x,t9 as fq}from"./cli-1.1.32-g5dzf2w1.mjs";import{Lea as Jq,Mea as wq,Nea as C,Pea as Kq,Raa as z,Sea as Qq,Uaa as e,pba as qq,rba as bq}from"./cli-1.1.32-pve0ffcp.mjs";import{Lha as j,Mha as Iq,Nha as A,Oha as zq}from"./cli-1.1.32-kn0zs89y.mjs";import{Cia as t,Dia as Aq,via as a,wia as r,xia as s}from"./cli-1.1.32-ajhvj43e.mjs";import{Dja as G,Gia as Uq,Gja as n,Iia as eq,gja as k,lja as Dq}from"./cli-1.1.32-8jkgzjh4.mjs";import{bka as v,hka as b,ika as u}from"./cli-1.1.32-z7x4jfeb.mjs";import{Vqa as tq,Wqa as E,Xqa as vq}from"./cli-1.1.32-yw64r19c.mjs";var Fq,i,l;var o=E(()=>{Iq();zq();Fq=A(()=>j.object({entries:j.record(j.string(),j.string()),entryChecksums:j.record(j.string(),j.string()).optional()})),i=A(()=>j.object({organizationId:j.string(),repo:j.string(),version:j.number(),lastModified:j.string(),checksum:j.string(),content:Fq()})),l=A(()=>j.object({error:j.object({details:j.object({error_code:j.literal("team_memory_too_many_entries"),max_entries:j.number().int().positive(),received_entries:j.number().int().positive()})})}))});import{createHash as kq}from"crypto";import{mkdir as Sq,readdir as yq,readFile as Xq,stat as gq,writeFile as mq}from"fs/promises";import{join as dq,relative as pq,sep as cq}from"path";function Lq(){return{lastKnownChecksum:null,serverChecksums:new Map,serverMaxEntries:null}}function iq(q){return"sha256:"+kq("sha256").update(q,"utf8").digest("hex")}function jq(q){return q instanceof Error&&"code"in q&&typeof q.code==="string"}function m(){if(Vq()!=="firstParty"||!Zq())return!1;let q=y();return Boolean(q?.accessToken&&q.scopes?.includes(a)&&q.scopes.includes(r))}function d(q){return`${process.env.TEAM_MEMORY_SYNC_URL||t().BASE_API_URL}/api/claude_code/team_memory?repo=${encodeURIComponent(q)}`}function p(){let q=y();if(q?.accessToken)return{headers:{Authorization:`Bearer ${q.accessToken}`,"anthropic-beta":s,"User-Agent":Gq()}};return{error:"No OAuth token available for team memory sync"}}async function lq(q,W,$){try{await M();let Z=p();if(Z.error)return{success:!1,error:Z.error,skipRetry:!0,errorType:"auth"};let J={...Z.headers};if($)J["If-None-Match"]=`"${$.replace(/"/g,"")}"`;let V=d(W),K=await x.get(V,{headers:J,timeout:g,validateStatus:(X)=>X===200||X===304||X===404});if(K.status===304)return G("team-memory-sync: not modified (304)",{level:"debug"}),{success:!0,notModified:!0,checksum:$??void 0};if(K.status===404)return G("team-memory-sync: no remote data (404)",{level:"debug"}),q.lastKnownChecksum=null,{success:!0,isEmpty:!0};let Q=i().safeParse(K.data);if(!Q.success)return G("team-memory-sync: invalid response format",{level:"warn"}),{success:!1,error:"Invalid team memory response format",skipRetry:!0,errorType:"parse"};let Y=Q.data.checksum||K.headers.etag?.replace(/^"|"$/g,"")||void 0;if(Y)q.lastKnownChecksum=Y;return G(`team-memory-sync: fetched successfully (checksum: ${Y??"none"})`,{level:"debug"}),{success:!0,data:Q.data,isEmpty:!1,checksum:Y}}catch(Z){let{kind:J,status:V,message:K}=b(Z),Q=x.isAxiosError(Z)?JSON.stringify(Z.response?.data??""):"";if(J!=="other")G(`team-memory-sync: fetch error ${V}: ${Q}`,{level:"warn"});switch(J){case"auth":return{success:!1,error:`Not authorized for team memory sync: ${Q}`,skipRetry:!0,errorType:"auth",httpStatus:V};case"timeout":return{success:!1,error:"Team memory sync request timeout",errorType:"timeout"};case"network":return{success:!1,error:"Cannot connect to server",errorType:"network"};default:return{success:!1,error:K,errorType:"unknown",httpStatus:V}}}}async function oq(q,W){try{await M();let $=p();if($.error)return{success:!1,error:$.error,errorType:"auth"};let Z=d(W)+"&view=hashes",J=await x.get(Z,{headers:$.headers,timeout:g,validateStatus:(Q)=>Q===200||Q===404});if(J.status===404)return q.lastKnownChecksum=null,{success:!0,entryChecksums:{}};let V=J.data?.checksum||J.headers.etag?.replace(/^"|"$/g,""),K=J.data?.entryChecksums;if(!K||typeof K!=="object")return{success:!1,error:"Server did not return entryChecksums (?view=hashes unsupported)",errorType:"parse"};if(V)q.lastKnownChecksum=V;return{success:!0,version:J.data?.version,checksum:V,entryChecksums:K}}catch($){let{kind:Z,status:J,message:V}=b($);switch(Z){case"auth":return{success:!1,error:"Not authorized",errorType:"auth",httpStatus:J};case"timeout":return{success:!1,error:"Timeout",errorType:"timeout"};case"network":return{success:!1,error:"Network error",errorType:"network"};default:return{success:!1,error:V,errorType:"unknown",httpStatus:J}}}}async function uq(q,W,$){let Z=null;for(let J=1;J<=P+1;J++){if(Z=await lq(q,W,$),Z.success||Z.skipRetry)return Z;if(J>P)return Z;let V=Wq(J);G(`team-memory-sync: retry ${J}/${P}`,{level:"debug"}),await $q(V)}return Z}function nq(q){let W=Object.keys(q).sort();if(W.length===0)return[];let $=Buffer.byteLength('{"entries":{}}',"utf8"),Z=(Q,Y)=>Buffer.byteLength(k(Q),"utf8")+Buffer.byteLength(k(Y),"utf8")+2,J=[],V={},K=$;for(let Q of W){let Y=Z(Q,q[Q]);if(K+Y>hq&&Object.keys(V).length>0)J.push(V),V={},K=$;V[Q]=q[Q],K+=Y}return J.push(V),J}async function aq(q,W,$,Z){try{await M();let J=p();if(J.error)return{success:!1,error:J.error,errorType:"auth"};let V={...J.headers,"Content-Type":"application/json"};if(Z)V["If-Match"]=`"${Z.replace(/"/g,"")}"`;let K=d(W),Q=await x.put(K,{entries:$},{headers:V,timeout:g,validateStatus:(X)=>X===200||X===412});if(Q.status===412)return G("team-memory-sync: conflict (412 Precondition Failed)",{level:"info"}),{success:!1,conflict:!0,error:"ETag mismatch"};let Y=Q.data?.checksum;if(Y)q.lastKnownChecksum=Y;return G(`team-memory-sync: uploaded ${Object.keys($).length} entries (checksum: ${Y??"none"})`,{level:"debug"}),{success:!0,checksum:Y,lastModified:Q.data?.lastModified}}catch(J){let V=x.isAxiosError(J)?JSON.stringify(J.response?.data??""):"";G(`team-memory-sync: upload failed: ${J instanceof Error?J.message:""} ${V}`,{level:"warn"});let{kind:K,status:Q,message:Y}=b(J),X=K==="http"||K==="other"?"unknown":K,H,L,B;if(Q===413&&x.isAxiosError(J)){let N=l().safeParse(J.response?.data);if(N.success)H=N.data.error.details.error_code,L=N.data.error.details.max_entries,B=N.data.error.details.received_entries}return{success:!1,error:Y,errorType:X,httpStatus:Q,...H!==void 0&&{serverErrorCode:H},...L!==void 0&&{serverMaxEntries:L},...B!==void 0&&{serverReceivedEntries:B}}}}async function rq(q){let W=C(),$={},Z=[];async function J(K){try{let Q=await yq(K,{withFileTypes:!0});await Promise.all(Q.map(async(Y)=>{let X=dq(K,Y.name);if(Y.isDirectory())await J(X);else if(Y.isFile())try{let H=await gq(X);if(H.size>S){G(`team-memory-sync: skipping oversized file ${Y.name} (${H.size} > ${S} bytes)`,{level:"info"});return}let L=await Xq(X,"utf8"),B=pq(W,X).replaceAll("\\","/"),N=Yq(L);if(N.length>0){let U=N[0];Z.push({path:B,ruleId:U.ruleId,label:U.label}),G(`team-memory-sync: skipping "${B}" — detected ${U.label}`,{level:"warn"});return}$[B]=L}catch{}}))}catch(Q){if(jq(Q)){if(Q.code!=="ENOENT"&&Q.code!=="EACCES"&&Q.code!=="EPERM")throw Q}else throw Q}}await J(W);let V=Object.keys($).sort();if(q!==null&&V.length>q){let K=V.slice(q);G(`team-memory-sync: ${V.length} local entries exceeds server cap of ${q}; ${K.length} file(s) will NOT sync: ${K.join(", ")}. Consider consolidating or removing some team memory files.`,{level:"warn"});let Q={};for(let Y of V.slice(0,q))Q[Y]=$[Y];return{entries:Q,skippedSecrets:Z}}return{entries:$,skippedSecrets:Z}}async function sq(q){let W=await Promise.all(Object.entries(q).map(async([$,Z])=>{let J;try{J=await Kq($)}catch(K){if(K instanceof Jq)return G(`team-memory-sync: ${K.message}`,{level:"warn"}),!1;throw K}if(Buffer.byteLength(Z,"utf8")>S)return G(`team-memory-sync: skipping oversized remote entry "${$}"`,{level:"info"}),!1;try{if(await Xq(J,"utf8")===Z)return!1}catch(K){if(jq(K)&&K.code!=="ENOENT"&&K.code!=="ENOTDIR")G(`team-memory-sync: unexpected read error for "${$}": ${K.code}`,{level:"debug"})}try{let K=J.substring(0,J.lastIndexOf(cq));return await Sq(K,{recursive:!0}),await mq(J,Z,"utf8"),!0}catch(K){return G(`team-memory-sync: failed to write "${$}": ${K}`,{level:"warn"}),!1}}));return qq(W,Boolean)}function Nq(){return m()}async function Hq(q,W){let $=W?.skipEtagCache??!1;if(!m())return{success:!1,filesWritten:0,entryCount:0,error:"OAuth not available"};let Z=await z();if(!Z)return{success:!1,filesWritten:0,entryCount:0,error:"No git remote found"};let J=$?null:q.lastKnownChecksum,V=await uq(q,Z,J);if(!V.success)return{success:!1,filesWritten:0,entryCount:0,error:V.error};if(V.notModified)return{success:!0,filesWritten:0,entryCount:0,notModified:!0};if(V.isEmpty||!V.data)return q.serverChecksums.clear(),{success:!0,filesWritten:0,entryCount:0};let K=V.data.content.entries,Q=V.data.content.entryChecksums;if(q.serverChecksums.clear(),Q)for(let[X,H]of Object.entries(Q))q.serverChecksums.set(X,H);else G("team-memory-sync: server response missing entryChecksums (pre-#283027 deploy) — next push will be full, not delta",{level:"debug"});let Y=await sq(K);if(Y>0){let{clearMemoryFileCaches:X}=await import("./claudemd-1.1.32-kb9tec8y.mjs");X()}return G(`team-memory-sync: pulled ${Y} files`,{level:"info"}),{success:!0,filesWritten:Y,entryCount:Object.keys(K).length}}async function c(q){if(!m())return{success:!1,filesUploaded:0,error:"OAuth not available",errorType:"no_oauth"};let W=await z();if(!W)return{success:!1,filesUploaded:0,error:"No git remote found",errorType:"no_repo"};let $=await rq(q.serverMaxEntries),Z=$.entries,J=$.skippedSecrets;if(J.length>0){let K=J.map((Q)=>`"${Q.path}" (${Q.label})`).join(", ");G(`team-memory-sync: ${J.length} file(s) skipped due to detected secrets: ${K}. Remove the secret(s) to enable sync for these files.`,{level:"warn"})}let V=new Map;for(let[K,Q]of Object.entries(Z))V.set(K,iq(Q));for(let K=0;K<=f;K++){let Q={};for(let[N,U]of V)if(q.serverChecksums.get(N)!==U)Q[N]=Z[N];if(Object.keys(Q).length===0)return{success:!0,filesUploaded:0,...J.length>0&&{skippedSecrets:J}};let X=nq(Q),H=0,L;for(let N of X){if(L=await aq(q,W,N,q.lastKnownChecksum),!L.success)break;for(let U of Object.keys(N))q.serverChecksums.set(U,V.get(U));H+=Object.keys(N).length}if(L=L,L.success)return G(X.length>1?`team-memory-sync: pushed ${H} of ${V.size} files in ${X.length} batches`:`team-memory-sync: pushed ${H} of ${V.size} files (delta)`,{level:"info"}),{success:!0,filesUploaded:H,checksum:L.checksum,...J.length>0&&{skippedSecrets:J}};if(!L.conflict){if(L.serverMaxEntries!==void 0)q.serverMaxEntries=L.serverMaxEntries,G(`team-memory-sync: learned server max_entries=${L.serverMaxEntries} from 413; next push will truncate to this`,{level:"warn"});return{success:!1,filesUploaded:H,error:L.error,errorType:L.errorType,httpStatus:L.httpStatus}}if(K>=f)return G(`team-memory-sync: giving up after ${f} conflict retries`,{level:"warn"}),{success:!1,filesUploaded:0,conflict:!0,error:"Conflict resolution failed after retries"};G(`team-memory-sync: conflict (412), probing server hashes (attempt ${K+1}/${f})`,{level:"info"});let B=await oq(q,W);if(!B.success||!B.entryChecksums)return{success:!1,filesUploaded:0,conflict:!0,error:`Conflict resolution hashes probe failed: ${B.error}`};q.serverChecksums.clear();for(let[N,U]of Object.entries(B.entryChecksums))q.serverChecksums.set(N,U)}return{success:!1,filesUploaded:0,error:"Unexpected end of conflict resolution loop"}}var g=30000,S=250000,hq=200000,P=3,f=2;var Bq=E(()=>{fq();Aq();Qq();bq();Tq();n();u();e();Cq();Mq();Dq();Rq();Eq();Pq();o()});var XJ={};tq(XJ,{stopTeamMemoryWatcher:()=>_q,startTeamMemoryWatcher:()=>$J,notifyTeamMemoryWrite:()=>GJ,isPermanentFailure:()=>Oq,_startFileWatcherForTesting:()=>YJ,_resetWatcherStateForTesting:()=>WJ});import{watch as qJ}from"fs";import{mkdir as JJ,stat as KJ}from"fs/promises";import{join as QJ}from"path";function Oq(q){if(q.errorType==="no_oauth"||q.errorType==="no_repo")return!0;if(q.httpStatus!==void 0&&q.httpStatus>=400&&q.httpStatus<500&&q.httpStatus!==409&&q.httpStatus!==429)return!0;return!1}async function ZJ(){if(!O)return;T=!0;try{let q=await c(O);if(q.success)R=!1;if(q.success&&q.filesUploaded>0)G(`team-memory-watcher: pushed ${q.filesUploaded} files`,{level:"info"});else if(!q.success){if(G(`team-memory-watcher: push failed: ${q.error}`,{level:"warn"}),Oq(q)&&w===null)w=q.httpStatus!==void 0?`http_${q.httpStatus}`:q.errorType??"unknown",G(`team-memory-watcher: suppressing retry until next unlink or session restart (${w})`,{level:"warn"})}}catch(q){G(`team-memory-watcher: push error: ${v(q)}`,{level:"warn"})}finally{T=!1,D=null}}function F(){if(w!==null)return;if(R=!0,_)clearTimeout(_);_=setTimeout(()=>{if(T){F();return}D=ZJ()},VJ)}async function xq(q){if(h)return;h=!0;try{await JJ(q,{recursive:!0}),I=qJ(q,{persistent:!1,recursive:!0},(W,$)=>{if($===null){F();return}if(w!==null){KJ(QJ(q,$)).catch((Z)=>{if(Z.code!=="ENOENT")return;if(w!==null)G(`team-memory-watcher: unlink cleared suppression (was: ${w})`,{level:"info"}),w=null;F()});return}F()}),I.on("error",(W)=>{G(`team-memory-watcher: fs.watch error: ${v(W)}`,{level:"warn"})}),G(`team-memory-watcher: watching ${q}`,{level:"debug"})}catch(W){G(`team-memory-watcher: failed to watch ${q}: ${v(W)}`,{level:"warn"})}Uq(async()=>_q())}async function $J(){if(!wq()||!Nq())return;if(!await z()){G("team-memory-watcher: no github.com remote, skipping sync",{level:"debug"});return}O=Lq();let W=!1,$=0,Z=!1;try{let J=await Hq(O);if(W=J.success,Z=J.entryCount>0,J.success&&J.filesWritten>0)$=J.filesWritten,G(`team-memory-watcher: initial pull got ${J.filesWritten} files`,{level:"info"})}catch(J){G(`team-memory-watcher: initial pull failed: ${v(J)}`,{level:"warn"})}await xq(C())}async function GJ(){if(!O)return;F()}async function _q(){if(_)clearTimeout(_),_=null;if(I)I.close(),I=null;if(D)try{await D}catch{}if(R&&O&&w===null)try{await c(O)}catch{}}function WJ(q){I=null,_=null,T=!1,R=!1,D=null,h=q?.skipWatcher??!1,w=q?.pushSuppressedReason??null,O=q?.syncState??null}function YJ(q){return xq(q)}var VJ=2000,I=null,_=null,T=!1,R=!1,D=null,h=!1,w=null,O=null;var LJ=E(()=>{Qq();eq();n();u();e();Bq()});
|
|
2
|
+
export{Oq as n,$J as o,GJ as p,_q as q,WJ as r,YJ as s,XJ as t,LJ as u};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{oka as z,wka as J}from"./cli-1.1.32-7zp3b6gq.mjs";import{Wqa as F}from"./cli-1.1.32-yw64r19c.mjs";function V(b){D=b}function W(){let b=D?.()??{};if(!z(process.env.CLAUDIN_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let q={...process.env,...b};for(let w of L)delete q[w],delete q[`INPUT_${w}`];return q}var L,D;var M=F(()=>{J();L=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
+
export{V as pU,W as qU,M as rU};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{SW as O}from"./cli-1.1.32-hgjgfp8p.mjs";import{n2 as X,p2 as Q}from"./cli-1.1.32-jjanec91.mjs";import{q2 as b}from"./cli-1.1.32-6f9r9qcb.mjs";import{Yaa as W,cfa as P}from"./cli-1.1.32-pve0ffcp.mjs";import{Sqa as U}from"./cli-1.1.32-yw64r19c.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
+
export{V as rb,C as sb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$i as fq,_i as Vq}from"./cli-1.1.32-ebg7m8yz.mjs";import{Am as mq,Ax as pq,Qx as Qq,Sx as Uq,Tx as Hq,zm as Pq,zx as o}from"./cli-1.1.32-9yka8m9x.mjs";import{LY as Wq,SW as Sq,cY as M,eY as g}from"./cli-1.1.32-hgjgfp8p.mjs";import{n2 as Z,o2 as F,p2 as Jq}from"./cli-1.1.32-jjanec91.mjs";import{q2 as _q}from"./cli-1.1.32-6f9r9qcb.mjs";import{Iga as s,Jga as jq}from"./cli-1.1.32-1rackf2c.mjs";import{Sqa as Lq,Wqa as wq}from"./cli-1.1.32-yw64r19c.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
+
export{lq as zh,oq as Ah,sq as Bh,aq as Ch,Tq as Dh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{q7 as CJ,x7 as XQ}from"./cli-1.1.32-jt6w5mqv.mjs";import{Baa as xJ,Dga as rJ,Uaa as VQ,baa as w,daa as nJ,kaa as DJ,laa as QQ,yga as N}from"./cli-1.1.32-pve0ffcp.mjs";import{Lha as R,Mha as _J,Nha as P,Oha as UJ}from"./cli-1.1.32-kn0zs89y.mjs";import{Dja as G,Gja as WJ,gja as S,hja as b,lja as RJ}from"./cli-1.1.32-8jkgzjh4.mjs";import{bka as E,cka as A,ika as KJ}from"./cli-1.1.32-z7x4jfeb.mjs";import{lka as GJ,mka as yJ,oka as c,wka as n}from"./cli-1.1.32-7zp3b6gq.mjs";import{$na as $J,Hpa as qJ,ala as YJ,bla as kJ,cla as ZJ,tpa as l}from"./cli-1.1.32-60pc6r2s.mjs";import{Vqa as pJ,Wqa as x,Xqa as wJ}from"./cli-1.1.32-yw64r19c.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.32-nvr3xen5.mjs"),import("./detection-1.1.32-13rzk2y0.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 sU,JJ as tU,QJ as uU,VJ as vU,F as wU,hJ as xU,FJ as yU,XJ as zU,r as AU,C as BU,d as CU,cJ as DU,NJ as EU,TJ as FU,lJ as GU,IJ as HU,gJ as IU,oJ as JU,i as KU,LQ as LU,FQ as MU,cQ as NU,iJ as OU,NQ as PU,TQ as QU,lQ as RU,IQ as SU,zJ as TU,H as UU,tJ as VU,gQ as WU,z as XU,M as YU,oQ as ZU,u as _U,kQ as $U,nQ as aV,rQ as bV,AJ as cV,a as dV,SJ as eV,WV as fV,bJ as gV,_V as hV,I as iV,g as jV,j as kV,KQ as lV,RQ as mV,UV as nV,BV as oV,EV as pV,HV as qV,jV as rV,WQ as sV,OV as tV,zV as uV,vV,MV as wV,AV as xV,SV as yV,BQ as zV,EQ as AV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Wqa as z}from"./cli-1.1.32-yw64r19c.mjs";function B(j){switch(j.type){case"connected":return"connected";case"disabled":return"disabled";case"needs-auth":return"needs authentication";case"failed":return"failed";case"pending":{let{reconnectAttempt:q,maxReconnectAttempts:y}=j;return q&&y?`reconnecting (${q}/${y})…`:"connecting…"}}}function D(j){return j.type==="disabled"?"disconnected":B(j)}function E(j){switch(j.type){case"connected":return"active";case"failed":return"failed";case"pending":case"needs-auth":case"disabled":return"inactive"}}var C=()=>{};
|
|
2
|
+
export{B as Lf,D as Mf,E as Nf,C as Of};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{P_ as P,cfa as y}from"./cli-1.1.32-pve0ffcp.mjs";import{Wqa as U}from"./cli-1.1.32-yw64r19c.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
|
|
2
|
+
export{G as gW,M as hW,N as iW,Y as jW,C as kW,_ as lW,R as mW,E as nW,I as oW,f as pW,k as qW,A as rW,h as sW,b as tW,u as uW,T as vW,p as wW,m as xW,e as yW,W as zW,a as AW,s as BW,r as CW,g as DW};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A1 as E,C1 as HQ,G1 as k,L1 as i,O1 as a,R1 as o,c2 as x,d2 as s,f2 as DQ,x1 as H,y1 as L,z1 as S}from"./cli-1.1.32-6317frxz.mjs";import{g2 as OQ,i2 as O,l2 as NQ}from"./cli-1.1.32-qmgvm9rq.mjs";import{I_ as _,K_ as g,P_ as KQ,cfa as EQ,jaa as Y,laa as T}from"./cli-1.1.32-pve0ffcp.mjs";import{Dja as JQ,Gja as SQ}from"./cli-1.1.32-8jkgzjh4.mjs";import{oka as R,pka as N,wka as TQ}from"./cli-1.1.32-7zp3b6gq.mjs";import{Hpa as gQ,aoa as zQ}from"./cli-1.1.32-60pc6r2s.mjs";import{Sqa as kQ,Wqa as V}from"./cli-1.1.32-yw64r19c.mjs";import{createHash as YQ,randomUUID as GQ}from"crypto";import{tmpdir as XQ}from"os";import{join as BQ}from"path";function y(Q="claude-prompt",Z=".md",$){let z=$?.contentHash?YQ("sha256").update($.contentHash).digest("hex").slice(0,16):GQ();return BQ(XQ(),`${Q}-${z}${Z}`)}var v=()=>{};import{Buffer as jQ}from"buffer";import{unlink as qQ,writeFile as VQ}from"node:fs/promises";function U(...Q){let Z=_.terminal==="kitty"?C:L;return`${I}${Q.join(S)}${Z}`}function tQ(Q){if(process.env.TMUX)return`\x1BPtmux;${Q.replaceAll("\x1B","\x1B\x1B")}\x1B\\`;if(process.env.STY)return`\x1BP${Q}\x1B\\`;return Q}function eQ(){if(process.platform==="darwin"&&!process.env.SSH_CONNECTION)return"native";if(process.env.TMUX)return"tmux-buffer";return"osc52"}function LQ(Q){return`${H}Ptmux;${Q.replaceAll(H,H+H)}${C}`}async function UQ(Q){if(!process.env.TMUX)return!1;let Z=process.env.LC_TERMINAL==="iTerm2"?["load-buffer","-"]:["load-buffer","-w","-"],{code:$}=await Y("tmux",Z,{input:Q,useCwd:!1,timeout:2000});return $===0}async function QZ(Q){let Z=jQ.from(Q,"utf8").toString("base64"),$=U(G.CLIPBOARD,"c",Z);if(!process.env.SSH_CONNECTION)AQ(Q);if(await UQ(Q))return LQ(`${H}]52;c;${Z}${L}`);return $}function AQ(Q){let Z={input:Q,useCwd:!1,timeout:2000};switch(process.platform){case"darwin":Y("pbcopy",[],Z);return;case"linux":{if(j===null)return;if(j==="wl-copy"){Y("wl-copy",[],Z);return}if(j==="xclip"){Y("xclip",["-selection","clipboard"],Z);return}if(j==="xsel"){Y("xsel",["--clipboard","--input"],Z);return}Y("wl-copy",[],Z).then(($)=>{if($.code===0){j="wl-copy";return}Y("xclip",["-selection","clipboard"],Z).then((z)=>{if(z.code===0){j="xclip";return}Y("xsel",["--clipboard","--input"],Z).then((J)=>{j=J.code===0?"xsel":null})})});return}case"win32":(async()=>{let $=y("claudin-clipboard",".txt"),z=$.replace(/'/g,"''");try{await VQ($,Q,{encoding:"utf8"}),await Y("powershell",["-NoProfile","-NonInteractive","-Command",`$text = [System.IO.File]::ReadAllText('${z}', [System.Text.Encoding]::UTF8); Set-Clipboard -Value $text`],{useCwd:!1,timeout:Z.timeout,stdin:"ignore"})}finally{await qQ($).catch(()=>{})}})().catch(()=>{});return}}function ZZ(Q){let Z=Q.indexOf(";"),$=Z>=0?Q.slice(0,Z):Q,z=Z>=0?Q.slice(Z+1):"",J=parseInt($,10);if(J===G.SET_TITLE_AND_ICON)return{type:"title",action:{type:"both",title:z}};if(J===G.SET_ICON)return{type:"title",action:{type:"iconName",name:z}};if(J===G.SET_TITLE)return{type:"title",action:{type:"windowTitle",title:z}};if(J===G.HYPERLINK){let K=z.split(";"),D=K[0]??"",P=K.slice(1).join(";");if(P==="")return{type:"link",action:{type:"end"}};let M={};if(D)for(let w of D.split(":")){let F=w.indexOf("=");if(F>=0)M[w.slice(0,F)]=w.slice(F+1)}return{type:"link",action:{type:"start",url:P,params:Object.keys(M).length>0?M:void 0}}}if(J===G.TAB_STATUS)return{type:"tabStatus",action:RQ(z)};return{type:"unknown",sequence:`\x1B]${Q}`}}function b(Q){let Z=Q.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i);if(Z)return{type:"rgb",r:parseInt(Z[1],16),g:parseInt(Z[2],16),b:parseInt(Z[3],16)};let $=Q.match(/^rgb:([0-9a-f]{1,4})\/([0-9a-f]{1,4})\/([0-9a-f]{1,4})$/i);if($){let z=(J)=>Math.round(parseInt(J,16)/(16**J.length-1)*255);return{type:"rgb",r:z($[1]),g:z($[2]),b:z($[3])}}return null}function RQ(Q){let Z={};for(let[$,z]of _Q(Q))switch($){case"indicator":Z.indicator=z===""?null:b(z);break;case"status":Z.status=z===""?null:z;break;case"status-color":Z.statusColor=z===""?null:b(z);break}return Z}function*_Q(Q){let Z="",$="",z=!1,J=!1;for(let K of Q)if(J){if(z)$+=K;else Z+=K;J=!1}else if(K==="\\")J=!0;else if(K===";")yield[Z,$],Z="",$="",z=!1;else if(K==="="&&!z)z=!0;else if(z)$+=K;else Z+=K;if(Z||z)yield[Z,$]}function f(Q,Z){if(!Q)return wQ;let $={id:MQ(Q),...Z},z=Object.entries($).map(([J,K])=>`${J}=${K}`).join(":");return U(G.HYPERLINK,z,Q)}function MQ(Q){let Z=0;for(let $=0;$<Q.length;$++)Z=(Z<<5)-Z+Q.charCodeAt($)|0;return(Z>>>0).toString(36)}function KZ(){return!1}function WZ(Q){let Z=[],$=(z)=>z.type==="rgb"?`#${[z.r,z.g,z.b].map((J)=>J.toString(16).padStart(2,"0")).join("")}`:"";if("indicator"in Q)Z.push(`indicator=${Q.indicator?$(Q.indicator):""}`);if("status"in Q)Z.push(`status=${Q.status?.replaceAll("\\","\\\\").replaceAll(";","\\;")??""}`);if("statusColor"in Q)Z.push(`status-color=${Q.statusColor?$(Q.statusColor):""}`);return U(G.TAB_STATUS,Z.join(";"))}var I,C,j,G,wQ,FQ,IQ,$Z,zZ,JZ;var h=V(()=>{g();T();v();HQ();I=H+String.fromCharCode(E.OSC),C=H+"\\";G={SET_TITLE_AND_ICON:0,SET_ICON:1,SET_TITLE:2,SET_COLOR:4,SET_CWD:7,HYPERLINK:8,ITERM2:9,SET_FG_COLOR:10,SET_BG_COLOR:11,SET_CURSOR_COLOR:12,CLIPBOARD:52,KITTY:99,RESET_COLOR:104,RESET_FG_COLOR:110,RESET_BG_COLOR:111,RESET_CURSOR_COLOR:112,SEMANTIC_PROMPT:133,GHOSTTY:777,TAB_STATUS:21337};wQ=U(G.HYPERLINK,"",""),FQ={NOTIFY:0,BADGE:2,PROGRESS:4},IQ={CLEAR:0,SET:1,ERROR:2,INDETERMINATE:3},$Z=`${I}${G.ITERM2};${FQ.PROGRESS};${IQ.CLEAR};${L}`,zZ=`${I}${G.SET_TITLE_AND_ICON};${L}`,JZ=U(G.TAB_STATUS,"indicator=;status=;status-color=")});function X(Q){return k(`?${Q}h`)}function B(Q){return k(`?${Q}l`)}var W,p,u,XZ,BZ,HZ,jZ,d,m,l,c,qZ,VZ,LZ,UZ;var n=V(()=>{x();W={CURSOR_VISIBLE:25,AUTO_WRAP:7,ALT_SCREEN:47,ALT_SCREEN_CLEAR:1049,MOUSE_NORMAL:1000,MOUSE_BUTTON:1002,MOUSE_ANY:1003,MOUSE_SGR:1006,FOCUS_EVENTS:1004,BRACKETED_PASTE:2004,SYNCHRONIZED_UPDATE:2026};p=X(W.SYNCHRONIZED_UPDATE),u=B(W.SYNCHRONIZED_UPDATE),XZ=X(W.BRACKETED_PASTE),BZ=B(W.BRACKETED_PASTE),HZ=X(W.FOCUS_EVENTS),jZ=B(W.FOCUS_EVENTS),d=X(W.CURSOR_VISIBLE),m=B(W.CURSOR_VISIBLE),l=X(W.AUTO_WRAP),c=B(W.AUTO_WRAP),qZ=X(W.ALT_SCREEN_CLEAR),VZ=B(W.ALT_SCREEN_CLEAR),LZ=X(W.MOUSE_NORMAL)+X(W.MOUSE_BUTTON)+X(W.MOUSE_ANY)+X(W.MOUSE_SGR),UZ=B(W.MOUSE_SGR)+B(W.MOUSE_ANY)+B(W.MOUSE_BUTTON)+B(W.MOUSE_NORMAL)});function kZ(){if(!process.stdout.isTTY)return!1;if(process.env.WT_SESSION)return!1;if(process.env.ConEmuANSI||process.env.ConEmuPID||process.env.ConEmuTask)return!0;let Q=r.coerce(process.env.TERM_PROGRAM_VERSION);if(!Q)return!1;if(process.env.TERM_PROGRAM==="ghostty")return O(Q.version,"1.2.0");if(process.env.TERM_PROGRAM==="iTerm.app")return O(Q.version,"3.6.6");return!1}function PQ(){if(process.env.TMUX)return!1;let Q=process.env.TERM_PROGRAM,Z=process.env.TERM;if(Q==="iTerm.app"||Q==="WezTerm"||Q==="WarpTerminal"||Q==="ghostty"||Q==="contour"||Q==="vscode"||Q==="alacritty")return!0;if(Z?.includes("kitty")||process.env.KITTY_WINDOW_ID)return!0;if(Z==="xterm-ghostty")return!0;if(Z?.startsWith("foot"))return!0;if(Z?.includes("alacritty"))return!0;if(process.env.ZED_TERM)return!0;if(process.env.WT_SESSION)return!0;let $=process.env.VTE_VERSION;if($){if(parseInt($,10)>=6800)return!0}return!1}function OZ(Q){if(q===void 0)q=Q}function NZ(){return q}function t(){if(process.env.TERM_PROGRAM==="ghostty")return!0;if(process.env.TERM==="xterm-ghostty")return!0;return q?.toLowerCase().startsWith("ghostty")??!1}function yQ(){if(process.env.TERM_PROGRAM==="vscode")return!0;return q?.startsWith("xterm.js")??!1}function DZ(){return t()}function e(){return t()}function PZ(){if(process.env.CLAUDIN_ENABLE_EXTENDED_KEYS!=="1")return!1;return vQ.includes(_.terminal??"")}function yZ(){if(!process.stdout.isTTY)return null;if(process.env.TMUX)return null;let Q=process.env.TERM??"";if(Q.startsWith("screen")||Q.startsWith("tmux"))return null;if(process.env.WT_SESSION)return null;if(yQ())return null;let Z=process.env.TERM_PROGRAM;if(Z==="Apple_Terminal"||Z==="iTerm.app"||Z==="cursor"||Z==="vscode")return null;if(Q==="xterm-kitty"||Q==="xterm-ghostty")return"kitty";if(Z&&bQ.has(Z))return"kitty";let $=q?.toLowerCase();if($&&($.startsWith("kitty")||$.startsWith("ghostty")||$.startsWith("wezterm")))return"kitty";return null}function vZ(){return process.platform==="win32"||!!process.env.WT_SESSION}function gZ(Q,Z,$=!1){if(Z.length===0)return;let z=!$,J=c+(z?p:"");for(let K of Z)switch(K.type){case"stdout":J+=K.content;break;case"clear":if(K.count>0)J+=o(K.count);break;case"clearTerminal":J+=s();break;case"cursorHide":J+=m;break;case"cursorShow":J+=d;break;case"cursorMove":J+=a(K.x,K.y);break;case"cursorTo":J+=i(K.col);break;case"carriageReturn":J+="\r";break;case"hyperlink":J+=f(K.uri);break;case"styleStr":J+=K.str;break}if(z)J+=u;J+=l,Q.stdout.write(J)}var r,q,vQ,bQ,bZ;var QQ=V(()=>{g();NQ();DQ();x();n();h();r=kQ(OQ(),1);vQ=["iTerm.app","kitty","WezTerm","ghostty","tmux","windows-terminal"];bQ=new Set(["kitty","ghostty","WezTerm"]);bZ=PQ()});import{spawnSync as CQ}from"child_process";function fQ(){if(!process.env.TMUX)return!1;if(process.env.TERM_PROGRAM!=="iTerm.app")return!1;let Q=process.env.TERM??"";return!Q.startsWith("screen")&&!Q.startsWith("tmux")}function hQ(){if(A=fQ(),A)return;if(!process.env.TMUX)return;if(process.env.TERM_PROGRAM)return;let Q;try{Q=CQ("tmux",["display-message","-p","#{client_control_mode}"],{encoding:"utf8",timeout:2000})}catch{return}if(Q.status!==0)return;A=Q.stdout.trim()==="1"}function WQ(){if(A===void 0)hQ();return A??!1}function xQ(){if(N(process.env.CLAUDIN_NO_FLICKER))return!1;if(R(process.env.CLAUDIN_NO_FLICKER))return!0;if(WQ()){if(!ZQ)ZQ=!0,JQ("fullscreen disabled: tmux -CC (iTerm2 integration mode) detected · set CLAUDIN_NO_FLICKER=1 to override");return!1}let Q=KQ().flickerFreeMode;if(Q!==void 0)return Q;if(e())return!0;return!1}function uZ(){return N(process.env.CLAUDIN_NO_FLICKER)||R(process.env.CLAUDIN_NO_FLICKER)}function dZ(){return!R(process.env.CLAUDIN_DISABLE_MOUSE)}function mZ(){return R(process.env.CLAUDIN_DISABLE_MOUSE_CLICKS)}function pQ(){return zQ()&&xQ()}async function lZ(){if(!process.env.TMUX)return null;if(!pQ()||WQ())return null;if($Q)return null;$Q=!0;let{stdout:Q,code:Z}=await Y("tmux",["show","-Av","mouse"],{useCwd:!1,timeout:2000});if(Z!==0||Q.trim()==="on")return null;return"tmux detected · scroll with PgUp/PgDn · or add 'set -g mouse on' to ~/.tmux.conf for wheel scroll"}var ZQ=!1,$Q=!1,A;var uQ=V(()=>{gQ();QQ();EQ();SQ();TQ();T()});
|
|
2
|
+
export{W as A0,XZ as B0,BZ as C0,HZ as D0,jZ as E0,d as F0,m as G0,qZ as H0,VZ as I0,LZ as J0,UZ as K0,n as L0,y as M0,v as N0,U as O0,tQ as P0,eQ as Q0,QZ as R0,G as S0,ZZ as T0,f as U0,wQ as V0,FQ as W0,IQ as X0,$Z as Y0,zZ as Z0,JZ as _0,KZ as $0,WZ as a1,h as b1,kZ as c1,PQ as d1,OZ as e1,NZ as f1,yQ as g1,DZ as h1,e as i1,PZ as j1,yZ as k1,vZ as l1,bZ as m1,gZ as n1,QQ as o1,xQ as p1,uZ as q1,dZ as r1,mZ as s1,pQ as t1,lZ as u1,uQ as v1};
|