@claudiolabs/claudin 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.0.13-6b06g673.mjs +1 -0
- package/dist/chunks/App-1.0.13-ka050dp3.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.13-f6p2r5kq.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.13-ghffkhts.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.13-5b244jsj.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.13-eqq7qkpy.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.13-5279tcga.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.13-gwgar56n.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.13-2jaehz54.mjs +7 -0
- package/dist/chunks/Doctor-1.0.13-t887gwxz.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.13-85gxb6k8.mjs +6 -0
- package/dist/chunks/Grove-1.0.13-hdw88war.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.13-m0d78jq0.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.13-4z7zd6n8.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.13-6xc5sc8a.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.13-hhrgw5xc.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.13-byv83gyv.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.13-gt6ntzcv.mjs +1 -0
- package/dist/chunks/REPL-1.0.13-wjxj6xgk.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.13-tx1ek47f.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.13-4j2e4s72.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.13-1rpjcxph.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.13-5fgav722.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.13-gy4sr83e.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.13-t98nfbxk.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.13-n5wg1rcd.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.13-xdkp37x2.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.13-v0kphhga.mjs +1 -0
- package/dist/chunks/add-dir-1.0.13-7v5rg7km.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.13-k5wckd5y.mjs +1 -0
- package/dist/chunks/agents-1.0.13-ngbk16a3.mjs +3 -0
- package/dist/chunks/agents-1.0.13-tcqasxmv.mjs +110 -0
- package/dist/chunks/api-1.0.13-bvwz0wzt.mjs +1 -0
- package/dist/chunks/asciicast-1.0.13-j8ad859r.mjs +1 -0
- package/dist/chunks/assistant-1.0.13-91499j0p.mjs +1 -0
- package/dist/chunks/auth-1.0.13-p0qrnz2b.mjs +1 -0
- package/dist/chunks/auth-1.0.13-s1vedchg.mjs +1 -0
- package/dist/chunks/autoMode-1.0.13-61pvskhh.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.13-fnpzj0bw.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.13-92x690ww.mjs +1 -0
- package/dist/chunks/branch-1.0.13-encr40nd.mjs +4 -0
- package/dist/chunks/bridge-1.0.13-xfcd961b.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.13-m2jyf3zk.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.13-2chm7y0g.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.13-d64q1ebx.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.13-npck2cd4.mjs +1 -0
- package/dist/chunks/btw-1.0.13-55x872ns.mjs +1 -0
- package/dist/chunks/buddy-1.0.13-9dmgywzm.mjs +3 -0
- package/dist/chunks/cacache-1.0.13-3c5hrrs4.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.13-n8g8y16c.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.13-2kyncvct.mjs +4 -0
- package/dist/chunks/caches-1.0.13-md3zkabd.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.13-crk87hee.mjs +1 -0
- package/dist/chunks/claudemd-1.0.13-y42xe571.mjs +1 -0
- package/dist/chunks/clear-1.0.13-g8a3zjew.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.13-4k4snh0r.mjs +1 -0
- package/dist/chunks/cli-1.0.13-01n6gr4q.mjs +2 -0
- package/dist/chunks/cli-1.0.13-0357cnwe.mjs +2 -0
- package/dist/chunks/cli-1.0.13-14c24kge.mjs +2 -0
- package/dist/chunks/cli-1.0.13-19k4k5jx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-1dk8e4ny.mjs +3 -0
- package/dist/chunks/cli-1.0.13-1hcywhe5.mjs +2 -0
- package/dist/chunks/cli-1.0.13-1hdbaf71.mjs +3 -0
- package/dist/chunks/cli-1.0.13-1qbvvc2e.mjs +4 -0
- package/dist/chunks/cli-1.0.13-23ev2ept.mjs +45 -0
- package/dist/chunks/cli-1.0.13-29x94tf7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-2x789qav.mjs +2 -0
- package/dist/chunks/cli-1.0.13-2xpprn71.mjs +1 -0
- package/dist/chunks/cli-1.0.13-2z8q1mtz.mjs +3 -0
- package/dist/chunks/cli-1.0.13-36yeyd1r.mjs +18 -0
- package/dist/chunks/cli-1.0.13-3767t4yj.mjs +4 -0
- package/dist/chunks/cli-1.0.13-3c13b00m.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3dmmr756.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3essvqs1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3f0zqjp8.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3fs84evm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3pspajgg.mjs +15 -0
- package/dist/chunks/cli-1.0.13-3rqmqts3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-449f1p6g.mjs +2 -0
- package/dist/chunks/cli-1.0.13-466jbd1q.mjs +2 -0
- package/dist/chunks/cli-1.0.13-4dp5a597.mjs +6 -0
- package/dist/chunks/cli-1.0.13-4x3mr6wk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-57993qn6.mjs +2 -0
- package/dist/chunks/cli-1.0.13-57ez593b.mjs +3 -0
- package/dist/chunks/cli-1.0.13-5g7rhqvq.mjs +4 -0
- package/dist/chunks/cli-1.0.13-5keyjg3e.mjs +58 -0
- package/dist/chunks/cli-1.0.13-5m2br5vf.mjs +2 -0
- package/dist/chunks/cli-1.0.13-5sc2h2hm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-5sq4jbf1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-696y87my.mjs +18 -0
- package/dist/chunks/cli-1.0.13-6b6kn6sd.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6thbqr6g.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6vb140br.mjs +25 -0
- package/dist/chunks/cli-1.0.13-6w1rqgrf.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6xc8qzyr.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6xkw8tq6.mjs +2 -0
- package/dist/chunks/cli-1.0.13-7kg0qv18.mjs +2 -0
- package/dist/chunks/cli-1.0.13-7nmrp6gh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-7rg014zx.mjs +5 -0
- package/dist/chunks/cli-1.0.13-7xfra4by.mjs +2 -0
- package/dist/chunks/cli-1.0.13-80pk1w5c.mjs +2 -0
- package/dist/chunks/cli-1.0.13-81s2z4sy.mjs +2 -0
- package/dist/chunks/cli-1.0.13-83vckpyr.mjs +6 -0
- package/dist/chunks/cli-1.0.13-8s33s84f.mjs +2 -0
- package/dist/chunks/cli-1.0.13-93twxc7q.mjs +2 -0
- package/dist/chunks/cli-1.0.13-98a94f4b.mjs +2 -0
- package/dist/chunks/cli-1.0.13-9ax4vv5d.mjs +2 -0
- package/dist/chunks/cli-1.0.13-9bh8f53y.mjs +9 -0
- package/dist/chunks/cli-1.0.13-9t0q538w.mjs +25 -0
- package/dist/chunks/cli-1.0.13-a2j673qk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-a5641ktm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-a77ea1ga.mjs +2 -0
- package/dist/chunks/cli-1.0.13-a8t9066b.mjs +2 -0
- package/dist/chunks/cli-1.0.13-afdk25h0.mjs +2 -0
- package/dist/chunks/cli-1.0.13-avxss6zg.mjs +9 -0
- package/dist/chunks/cli-1.0.13-bj2neb84.mjs +2 -0
- package/dist/chunks/cli-1.0.13-bs0esgv1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-byhjhrrg.mjs +15 -0
- package/dist/chunks/cli-1.0.13-cm3q208z.mjs +2 -0
- package/dist/chunks/cli-1.0.13-cwce8b7b.mjs +34 -0
- package/dist/chunks/cli-1.0.13-d016ffc7.mjs +3 -0
- package/dist/chunks/cli-1.0.13-d4zr1yqd.mjs +2 -0
- package/dist/chunks/cli-1.0.13-d7kr7nkk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-d9nvpqpw.mjs +2 -0
- package/dist/chunks/cli-1.0.13-dg21ms7f.mjs +2 -0
- package/dist/chunks/cli-1.0.13-dwp60tja.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e19bb64d.mjs +4 -0
- package/dist/chunks/cli-1.0.13-e1m0dx6a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e3ca1xwv.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e464ab16.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e8p0r9r9.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e9q9245e.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ecv0stcf.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ey9smtb0.mjs +3 -0
- package/dist/chunks/cli-1.0.13-f38bh25k.mjs +12 -0
- package/dist/chunks/cli-1.0.13-f4dfekwp.mjs +133 -0
- package/dist/chunks/cli-1.0.13-fb695nhr.mjs +67 -0
- package/dist/chunks/cli-1.0.13-fjwhbyeh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-fpwws3z2.mjs +2 -0
- package/dist/chunks/cli-1.0.13-frs40s6h.mjs +2 -0
- package/dist/chunks/cli-1.0.13-fsmjqwpj.mjs +2 -0
- package/dist/chunks/cli-1.0.13-fta82vnx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-g1rr0zfh.mjs +8 -0
- package/dist/chunks/cli-1.0.13-g7daabde.mjs +3 -0
- package/dist/chunks/cli-1.0.13-gd9e7w43.mjs +2 -0
- package/dist/chunks/cli-1.0.13-gsz0cygn.mjs +2 -0
- package/dist/chunks/cli-1.0.13-h5mwwv8w.mjs +16 -0
- package/dist/chunks/cli-1.0.13-hbcgx6rs.mjs +2 -0
- package/dist/chunks/cli-1.0.13-j0m03dqz.mjs +39 -0
- package/dist/chunks/cli-1.0.13-j3gww2v8.mjs +2 -0
- package/dist/chunks/cli-1.0.13-jdxaky02.mjs +12 -0
- package/dist/chunks/cli-1.0.13-jkahzkac.mjs +12 -0
- package/dist/chunks/cli-1.0.13-jrjz42t8.mjs +2 -0
- package/dist/chunks/cli-1.0.13-jsezewz5.mjs +2 -0
- package/dist/chunks/cli-1.0.13-jxe94sbj.mjs +2 -0
- package/dist/chunks/cli-1.0.13-k4znag0a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-k71bq854.mjs +2 -0
- package/dist/chunks/cli-1.0.13-k8vrp1kw.mjs +2 -0
- package/dist/chunks/cli-1.0.13-kc1q3k9n.mjs +2 -0
- package/dist/chunks/cli-1.0.13-kg25kqz0.mjs +12 -0
- package/dist/chunks/cli-1.0.13-kmmkpfh0.mjs +2 -0
- package/dist/chunks/cli-1.0.13-knb8ctbq.mjs +3 -0
- package/dist/chunks/cli-1.0.13-kpqaz90n.mjs +7 -0
- package/dist/chunks/cli-1.0.13-kq0mvqax.mjs +2 -0
- package/dist/chunks/cli-1.0.13-kr3d94dn.mjs +5495 -0
- package/dist/chunks/cli-1.0.13-m5hkpjvs.mjs +2 -0
- package/dist/chunks/cli-1.0.13-mazxedqg.mjs +4 -0
- package/dist/chunks/cli-1.0.13-mtnc53tx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-mv57kk3c.mjs +59 -0
- package/dist/chunks/cli-1.0.13-n4fsyme7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ndthc14d.mjs +2 -0
- package/dist/chunks/cli-1.0.13-nqw7f2pt.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ns8m0h8r.mjs +15 -0
- package/dist/chunks/cli-1.0.13-p1nsb8ay.mjs +202 -0
- package/dist/chunks/cli-1.0.13-p43t5py0.mjs +2 -0
- package/dist/chunks/cli-1.0.13-p7b51har.mjs +2 -0
- package/dist/chunks/cli-1.0.13-pajjrc2x.mjs +2 -0
- package/dist/chunks/cli-1.0.13-pf0ztxpx.mjs +6 -0
- package/dist/chunks/cli-1.0.13-ppdtae6a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-pwfpt641.mjs +2 -0
- package/dist/chunks/cli-1.0.13-q03bdpb3.mjs +17 -0
- package/dist/chunks/cli-1.0.13-q40za40w.mjs +50 -0
- package/dist/chunks/cli-1.0.13-qpnp3w6h.mjs +2 -0
- package/dist/chunks/cli-1.0.13-qx079tft.mjs +2 -0
- package/dist/chunks/cli-1.0.13-qxebhem2.mjs +2 -0
- package/dist/chunks/cli-1.0.13-r6v8d7e7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-r9nmkthw.mjs +2 -0
- package/dist/chunks/cli-1.0.13-rcrh6wfx.mjs +4 -0
- package/dist/chunks/cli-1.0.13-rgk2vrkz.mjs +2 -0
- package/dist/chunks/cli-1.0.13-rhptvh17.mjs +2 -0
- package/dist/chunks/cli-1.0.13-rxd329nn.mjs +24 -0
- package/dist/chunks/cli-1.0.13-ry9nsg8a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ryajgbr3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s15merj9.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s16wgevn.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s2czjfzp.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s2sd6xfc.mjs +24 -0
- package/dist/chunks/cli-1.0.13-s5bfzdbk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-sg6bkxg3.mjs +20 -0
- package/dist/chunks/cli-1.0.13-shrh1g4z.mjs +2 -0
- package/dist/chunks/cli-1.0.13-sj8rg9wk.mjs +24 -0
- package/dist/chunks/cli-1.0.13-smrxt9dh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-smtbj9fm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-sy93t0xx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-t1z10ay5.mjs +2 -0
- package/dist/chunks/cli-1.0.13-t9wrrtrh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tfd5mr15.mjs +17 -0
- package/dist/chunks/cli-1.0.13-thxvtvt4.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tmfvcmn3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tnq7z8s5.mjs +3 -0
- package/dist/chunks/cli-1.0.13-tp2w17kc.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tq5m4f65.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tr0fe3hn.mjs +2 -0
- package/dist/chunks/cli-1.0.13-trkevtw9.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tyhtztew.mjs +2 -0
- package/dist/chunks/cli-1.0.13-v1tn9wpw.mjs +21 -0
- package/dist/chunks/cli-1.0.13-v38n7n4p.mjs +2 -0
- package/dist/chunks/cli-1.0.13-v4annnm3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-v5gjxk3n.mjs +4 -0
- package/dist/chunks/cli-1.0.13-v7eb8n71.mjs +133 -0
- package/dist/chunks/cli-1.0.13-v8tce7qz.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vb85p8we.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vbby2x4m.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vd01re4x.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vp1h8f42.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vs4d56js.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vv5mtvhr.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vvtdrd6j.mjs +5 -0
- package/dist/chunks/cli-1.0.13-vwmq6bde.mjs +2 -0
- package/dist/chunks/cli-1.0.13-w5jash5n.mjs +2 -0
- package/dist/chunks/cli-1.0.13-w7jh58qt.mjs +2 -0
- package/dist/chunks/cli-1.0.13-w8wwn19j.mjs +2 -0
- package/dist/chunks/cli-1.0.13-wmc6ft2f.mjs +6 -0
- package/dist/chunks/cli-1.0.13-wrcxv50n.mjs +2 -0
- package/dist/chunks/cli-1.0.13-wsk4823v.mjs +2 -0
- package/dist/chunks/cli-1.0.13-x4xwa6y3.mjs +4 -0
- package/dist/chunks/cli-1.0.13-x8j9z15q.mjs +3 -0
- package/dist/chunks/cli-1.0.13-xajnmhak.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xg86t5j7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xpc2m6vc.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xr55511t.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xsvz53d6.mjs +42 -0
- package/dist/chunks/cli-1.0.13-y1kzayxj.mjs +18 -0
- package/dist/chunks/cli-1.0.13-y20sjx5k.mjs +6 -0
- package/dist/chunks/cli-1.0.13-y6y32j2s.mjs +2 -0
- package/dist/chunks/cli-1.0.13-y74xv34r.mjs +4 -0
- package/dist/chunks/cli-1.0.13-yb1smx77.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ymvtrfgn.mjs +4 -0
- package/dist/chunks/cli-1.0.13-yq7961x3.mjs +4 -0
- package/dist/chunks/cli-1.0.13-yr590qbp.mjs +3 -0
- package/dist/chunks/cli-1.0.13-z72v7rwr.mjs +2 -0
- package/dist/chunks/cli-1.0.13-z8vs7cc1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zgdatr3s.mjs +3 -0
- package/dist/chunks/cli-1.0.13-zmyb9smk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zp9tvwgh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zt4bek0j.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ztqnt3qp.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zvemnxrj.mjs +2 -0
- package/dist/chunks/client-1.0.13-jj0v4n27.mjs +1 -0
- package/dist/chunks/color-1.0.13-3v7rvzdv.mjs +1 -0
- package/dist/chunks/compact-1.0.13-dbdbjtdk.mjs +3 -0
- package/dist/chunks/config-1.0.13-3qrt3cgm.mjs +1 -0
- package/dist/chunks/config-1.0.13-r3hkdrhb.mjs +1 -0
- package/dist/chunks/constants-1.0.13-rnw6yks8.mjs +1 -0
- package/dist/chunks/context-1.0.13-vzh7rmzp.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.13-pch5w54p.mjs +1 -0
- package/dist/chunks/conversation-1.0.13-deetqyn0.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.13-nt9wrgp5.mjs +1 -0
- package/dist/chunks/copy-1.0.13-hzdas7e3.mjs +9 -0
- package/dist/chunks/cost-1.0.13-6nzzt5ne.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.13-vy3mcz3k.mjs +1 -0
- package/dist/chunks/createSession-1.0.13-9f9eevz2.mjs +1 -0
- package/dist/chunks/debug-1.0.13-f3k3n0w9.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.13-cnw858jb.mjs +1446 -0
- package/dist/chunks/desktop-1.0.13-e005km58.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.13-rjbmyf6j.mjs +1 -0
- package/dist/chunks/detection-1.0.13-fmg4e9cn.mjs +1 -0
- package/dist/chunks/diff-1.0.13-9jypv082.mjs +1 -0
- package/dist/chunks/doctor-1.0.13-8tdcwyds.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.13-01b5f1qr.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.13-qdaqzn87.mjs +1 -0
- package/dist/chunks/effort-1.0.13-xfj9x3jk.mjs +10 -0
- package/dist/chunks/engine-1.0.13-8zd1smqp.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.13-3pv6cjbw.mjs +1 -0
- package/dist/chunks/envUtils-1.0.13-vcp6531a.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.13-jeanv46d.mjs +1 -0
- package/dist/chunks/environments-1.0.13-w5a33d52.mjs +1 -0
- package/dist/chunks/errors-1.0.13-wrs4k863.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.13-f3v5223v.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.0.13-5qgqf50q.mjs +1 -0
- package/dist/chunks/exit-1.0.13-dkp2e02s.mjs +1 -0
- package/dist/chunks/explorer-1.0.13-0c0437ts.mjs +1 -0
- package/dist/chunks/export-1.0.13-cbatvd1c.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.13-tm9dn26m.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.13-tyfdd6zc.mjs +1 -0
- package/dist/chunks/fast-1.0.13-m2jj5axh.mjs +1 -0
- package/dist/chunks/feedback-1.0.13-3rc5sphe.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.13-9cqvyyy3.mjs +1 -0
- package/dist/chunks/git-1.0.13-9196pgzv.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.13-h8fyv4hh.mjs +1 -0
- package/dist/chunks/goal-1.0.13-cty957vz.mjs +4 -0
- package/dist/chunks/grove-1.0.13-jew4jmvf.mjs +1 -0
- package/dist/chunks/growthbook-1.0.13-q8xh656p.mjs +1 -0
- package/dist/chunks/headless-1.0.13-h0c3ze3f.mjs +2 -0
- package/dist/chunks/heapdump-1.0.13-ndzc9093.mjs +6 -0
- package/dist/chunks/help-1.0.13-em333cwb.mjs +1 -0
- package/dist/chunks/hookChains-1.0.13-ytcm9p3p.mjs +3 -0
- package/dist/chunks/hooks-1.0.13-43xm69rv.mjs +79 -0
- package/dist/chunks/hooks-1.0.13-xa6gpzvq.mjs +1 -0
- package/dist/chunks/ide-1.0.13-4z1afk08.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.13-e53cs6qw.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.13-968zpe6v.mjs +1 -0
- package/dist/chunks/index-1.0.13-361h9v63.mjs +1 -0
- package/dist/chunks/index-1.0.13-4p1eb2pq.mjs +1 -0
- package/dist/chunks/index-1.0.13-55th4hhq.mjs +1 -0
- package/dist/chunks/index-1.0.13-55vgc9cr.mjs +1 -0
- package/dist/chunks/index-1.0.13-5gqy8x3m.mjs +1 -0
- package/dist/chunks/index-1.0.13-792fhv61.mjs +1 -0
- package/dist/chunks/index-1.0.13-8k0904bs.mjs +1 -0
- package/dist/chunks/index-1.0.13-ace8202d.mjs +2 -0
- package/dist/chunks/index-1.0.13-e20f9w6f.mjs +1 -0
- package/dist/chunks/index-1.0.13-efh2qbe0.mjs +1 -0
- package/dist/chunks/index-1.0.13-ej84k860.mjs +1 -0
- package/dist/chunks/index-1.0.13-fnd36467.mjs +2 -0
- package/dist/chunks/index-1.0.13-hdvj3xyt.mjs +30 -0
- package/dist/chunks/index-1.0.13-hgbqf3v1.mjs +1 -0
- package/dist/chunks/index-1.0.13-j0146ntq.mjs +1 -0
- package/dist/chunks/index-1.0.13-jackh0p4.mjs +17 -0
- package/dist/chunks/index-1.0.13-kfmh713v.mjs +9 -0
- package/dist/chunks/index-1.0.13-mrvd3mn4.mjs +1 -0
- package/dist/chunks/index-1.0.13-rrm8s54m.mjs +1 -0
- package/dist/chunks/index-1.0.13-vgmxqgw6.mjs +1 -0
- package/dist/chunks/index-1.0.13-xgbfdr5p.mjs +5 -0
- package/dist/chunks/index-1.0.13-y5wahjbd.mjs +9 -0
- package/dist/chunks/index-1.0.13-ykat42gv.mjs +1 -0
- package/dist/chunks/init-1.0.13-pyw980be.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.13-8pye5m3y.mjs +1 -0
- package/dist/chunks/ink-1.0.13-4ks3vqg1.mjs +1 -0
- package/dist/chunks/insights-1.0.13-8p04qt4e.mjs +870 -0
- package/dist/chunks/install-1.0.13-afmkvg4q.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.13-nybxp9y9.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.13-ghycqjsr.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.13-35rtw7fn.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.13-16ydy7kk.mjs +1 -0
- package/dist/chunks/keybindings-1.0.13-nt63s9bg.mjs +2 -0
- package/dist/chunks/knowledge-1.0.13-g9wcredx.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.13-783kmyc1.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.13-btkcbfn1.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.13-6cxg0hz0.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.13-tf6npdgj.mjs +1 -0
- package/dist/chunks/log-1.0.13-3sscdqcx.mjs +1 -0
- package/dist/chunks/main-1.0.13-h958ytkv.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.13-kcy78mg2.mjs +1 -0
- package/dist/chunks/mcp-1.0.13-gwfzhgtm.mjs +4 -0
- package/dist/chunks/mcp-1.0.13-s9hvy6a1.mjs +1 -0
- package/dist/chunks/mcp-1.0.13-vathcxfe.mjs +17 -0
- package/dist/chunks/mcpb-1.0.13-ynwdmrgy.mjs +1 -0
- package/dist/chunks/memory-1.0.13-y5pgdmp0.mjs +72 -0
- package/dist/chunks/model-1.0.13-28wkmva5.mjs +2 -0
- package/dist/chunks/model-1.0.13-wbne69bf.mjs +1 -0
- package/dist/chunks/node-1.0.13-jb6nf3sf.mjs +12 -0
- package/dist/chunks/oauth-1.0.13-x9g8753d.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.13-dmzfpj84.mjs +14 -0
- package/dist/chunks/output-style-1.0.13-dkm9cvhh.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.0.13-c2rzk5s5.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.13-drfxxfbm.mjs +1 -0
- package/dist/chunks/parser-1.0.13-2a4gxkj4.mjs +1 -0
- package/dist/chunks/passes-1.0.13-xe1s3afm.mjs +1 -0
- package/dist/chunks/permissions-1.0.13-091a123r.mjs +1 -0
- package/dist/chunks/permissions-1.0.13-de2kak1c.mjs +3 -0
- package/dist/chunks/plan-1.0.13-nq51yj1w.mjs +1 -0
- package/dist/chunks/plist-1.0.13-9jnyqg5e.mjs +1 -0
- package/dist/chunks/plugin-1.0.13-ravfdrab.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.13-bpnvrbf5.mjs +1 -0
- package/dist/chunks/plugins-1.0.13-2g0zcvmn.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.13-sh1garss.mjs +2 -0
- package/dist/chunks/print-1.0.13-fbmdzf5h.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.13-xmggzdjb.mjs +1 -0
- package/dist/chunks/process-1.0.13-yvqmferw.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.13-vymx613b.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.13-t2b59q54.mjs +9 -0
- package/dist/chunks/prompt-1.0.13-5rf0rmyz.mjs +1 -0
- package/dist/chunks/prompt-1.0.13-z2a6q0v3.mjs +1 -0
- package/dist/chunks/prompts-1.0.13-xntc8d09.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.13-c5pks46d.mjs +13 -0
- package/dist/chunks/provider-1.0.13-zfgjs99b.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.13-rk6z9ker.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.13-w8m526k7.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.13-2a7ezwjq.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.13-fdj1d2vn.mjs +34 -0
- package/dist/chunks/registry-1.0.13-p4zgn33y.mjs +1 -0
- package/dist/chunks/release-notes-1.0.13-pgzcje06.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.13-6chpnefr.mjs +2 -0
- package/dist/chunks/remote-env-1.0.13-j1xk0q03.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.13-ffh4q93x.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.13-h715mcc6.mjs +1 -0
- package/dist/chunks/rename-1.0.13-x7fma5b1.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.13-d1r6xsjs.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.13-bhshyrk2.mjs +1 -0
- package/dist/chunks/resume-1.0.13-g7w8k889.mjs +2 -0
- package/dist/chunks/rewind-1.0.13-9wf9gqtz.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.13-7y485878.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.0.13-rv0anxz7.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.0.13-kvcvaae5.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.13-gzeexqb1.mjs +1 -0
- package/dist/chunks/session-1.0.13-hyhbhvkf.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.13-525ff4qc.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.13-52whtstc.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.13-r00sygqv.mjs +1 -0
- package/dist/chunks/settings-1.0.13-sm1hpt00.mjs +1 -0
- package/dist/chunks/setup-1.0.13-7y88y2kn.mjs +5 -0
- package/dist/chunks/sinks-1.0.13-4g18qqzg.mjs +1 -0
- package/dist/chunks/skills-1.0.13-cpct3g7k.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.13-x0k3gz44.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.13-n4bzta5q.mjs +1 -0
- package/dist/chunks/state-1.0.13-zq29wtdm.mjs +1 -0
- package/dist/chunks/stats-1.0.13-q0gfz40a.mjs +6 -0
- package/dist/chunks/status-1.0.13-t69r10gd.mjs +1 -0
- package/dist/chunks/stickers-1.0.13-1vnk8fs0.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.13-1qaxx1mm.mjs +1 -0
- package/dist/chunks/tasks-1.0.13-xbf05jds.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.13-ajaffjmv.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.13-0se6apnj.mjs +1 -0
- package/dist/chunks/teleport-1.0.13-fy5929dz.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.13-6vb6xv4h.mjs +1 -0
- package/dist/chunks/theme-1.0.13-qh1caywb.mjs +1 -0
- package/dist/chunks/thinkback-1.0.13-yxqc5snt.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.13-4zdbm8qa.mjs +1 -0
- package/dist/chunks/toolPool-1.0.13-p41w5yd3.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.13-4behydd7.mjs +1 -0
- package/dist/chunks/tools-1.0.13-vkf5gwtw.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.13-zafdrn99.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.13-jyfkbj9m.mjs +69 -0
- package/dist/chunks/types-1.0.13-7xc46cqv.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.13-3bz6pfy0.mjs +4 -0
- package/dist/chunks/update-1.0.13-yevsj7ad.mjs +88 -0
- package/dist/chunks/upgrade-1.0.13-exvdsfcj.mjs +1 -0
- package/dist/chunks/upload-1.0.13-hnnrtgrv.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.13-qgbvmb0r.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.13-7wjfhqg3.mjs +1 -0
- package/dist/chunks/usage-1.0.13-jvdr40ma.mjs +1 -0
- package/dist/chunks/util-1.0.13-87gxb90q.mjs +1 -0
- package/dist/chunks/utils-1.0.13-c5pe460e.mjs +1 -0
- package/dist/chunks/vim-1.0.13-nkrbsse9.mjs +1 -0
- package/dist/chunks/watchLoop-1.0.13-922mtars.mjs +13 -0
- package/dist/chunks/watcher-1.0.13-pt4sgafn.mjs +1 -0
- package/dist/chunks/wiki-1.0.13-swp7dc6p.mjs +132 -0
- package/dist/chunks/workflows-1.0.13-ykfca04r.mjs +1 -0
- package/dist/chunks/worktree-1.0.13-9m47x8ty.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.13-3jrpyzfm.mjs +1 -0
- package/dist/chunks/wrapper-1.0.13-2myaas4p.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.11-51wwd7wk.mjs +0 -1
- package/dist/chunks/App-1.0.11-pm9011yz.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.11-brap6ck8.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.11-jnc5xewa.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.11-xqtjcrwz.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.11-bxa57c6k.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.11-mjk4k0cx.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.11-28pf6qdg.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.11-1t1esa8x.mjs +0 -7
- package/dist/chunks/Doctor-1.0.11-8ph3cvb4.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.11-vmj5g24t.mjs +0 -6
- package/dist/chunks/Grove-1.0.11-gqz1s2hw.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.11-sp997kvb.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.11-rsg2ab6t.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.11-ryxhg4xz.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.11-zz173d7f.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.11-wpyzhmgg.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.11-snwn3vnq.mjs +0 -1
- package/dist/chunks/REPL-1.0.11-es569p75.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.11-nzzsenn0.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.11-m4xce3w5.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.11-9fvywbm0.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.11-771nz956.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.11-rd3v56nj.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.11-k9k5y3y4.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.11-0cdptpgv.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.11-hsv11vk4.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.11-p0x6aawy.mjs +0 -1
- package/dist/chunks/add-dir-1.0.11-v1gcads2.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.11-3gahzent.mjs +0 -1
- package/dist/chunks/agents-1.0.11-5cce4kg1.mjs +0 -3
- package/dist/chunks/agents-1.0.11-g1tyqxn4.mjs +0 -110
- package/dist/chunks/api-1.0.11-p56n9vgp.mjs +0 -1
- package/dist/chunks/asciicast-1.0.11-zxg6ccb8.mjs +0 -1
- package/dist/chunks/assistant-1.0.11-99e046z4.mjs +0 -1
- package/dist/chunks/auth-1.0.11-2f1jz2ja.mjs +0 -1
- package/dist/chunks/auth-1.0.11-c765544a.mjs +0 -1
- package/dist/chunks/autoMode-1.0.11-0azcy0cz.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.11-w9kx7xt1.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.11-2aqxrfna.mjs +0 -1
- package/dist/chunks/branch-1.0.11-fn3555x1.mjs +0 -4
- package/dist/chunks/bridge-1.0.11-vhgwj7ny.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.11-1pk1ews4.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.11-9s33fn2r.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.11-r8f8gzeb.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.11-6gtx4d2f.mjs +0 -1
- package/dist/chunks/btw-1.0.11-njxjksj7.mjs +0 -1
- package/dist/chunks/buddy-1.0.11-691ezen5.mjs +0 -3
- package/dist/chunks/cacache-1.0.11-fzw2ra6s.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.11-5m649n3w.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.11-vk1bb0kj.mjs +0 -4
- package/dist/chunks/caches-1.0.11-vcprvzgt.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.11-z6vfzw1r.mjs +0 -1
- package/dist/chunks/claudemd-1.0.11-nnrcfp85.mjs +0 -1
- package/dist/chunks/clear-1.0.11-c4v85tmh.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.11-kqsh7p0y.mjs +0 -1
- package/dist/chunks/cli-1.0.11-0080tds0.mjs +0 -2
- package/dist/chunks/cli-1.0.11-02c1mb73.mjs +0 -2
- package/dist/chunks/cli-1.0.11-04bmcgy4.mjs +0 -3
- package/dist/chunks/cli-1.0.11-0h29g56n.mjs +0 -12
- package/dist/chunks/cli-1.0.11-0hgxjye5.mjs +0 -2
- package/dist/chunks/cli-1.0.11-0k9vxqqs.mjs +0 -2
- package/dist/chunks/cli-1.0.11-0p1zjqp0.mjs +0 -3
- package/dist/chunks/cli-1.0.11-0ygk88t0.mjs +0 -2
- package/dist/chunks/cli-1.0.11-17xvt04z.mjs +0 -1
- package/dist/chunks/cli-1.0.11-1bd5qq69.mjs +0 -2
- package/dist/chunks/cli-1.0.11-1dfxqwgc.mjs +0 -2
- package/dist/chunks/cli-1.0.11-1egpf6qs.mjs +0 -3
- package/dist/chunks/cli-1.0.11-1h7wxdn7.mjs +0 -4
- package/dist/chunks/cli-1.0.11-1yxgtmp3.mjs +0 -2
- package/dist/chunks/cli-1.0.11-20fenyw9.mjs +0 -2
- package/dist/chunks/cli-1.0.11-20pm81fa.mjs +0 -2
- package/dist/chunks/cli-1.0.11-21pm4290.mjs +0 -2
- package/dist/chunks/cli-1.0.11-2f4t6spn.mjs +0 -2
- package/dist/chunks/cli-1.0.11-2ge7zan7.mjs +0 -6
- package/dist/chunks/cli-1.0.11-2mxpjt2m.mjs +0 -2
- package/dist/chunks/cli-1.0.11-2nbsr4t1.mjs +0 -24
- package/dist/chunks/cli-1.0.11-31z6bxf0.mjs +0 -2
- package/dist/chunks/cli-1.0.11-34p85p1q.mjs +0 -2
- package/dist/chunks/cli-1.0.11-3asbkm7z.mjs +0 -15
- package/dist/chunks/cli-1.0.11-3m3v9403.mjs +0 -2
- package/dist/chunks/cli-1.0.11-3r6e6fsh.mjs +0 -2
- package/dist/chunks/cli-1.0.11-3vhtf247.mjs +0 -2
- package/dist/chunks/cli-1.0.11-4ae83btb.mjs +0 -2
- package/dist/chunks/cli-1.0.11-4bzn0waz.mjs +0 -2
- package/dist/chunks/cli-1.0.11-4c594q99.mjs +0 -2
- package/dist/chunks/cli-1.0.11-4cr2bh6m.mjs +0 -18
- package/dist/chunks/cli-1.0.11-4e7jvdzx.mjs +0 -2
- package/dist/chunks/cli-1.0.11-4hjx21ar.mjs +0 -4
- package/dist/chunks/cli-1.0.11-4j1ph26v.mjs +0 -5
- package/dist/chunks/cli-1.0.11-4pgk7w6b.mjs +0 -2
- package/dist/chunks/cli-1.0.11-4qv7w4kd.mjs +0 -2
- package/dist/chunks/cli-1.0.11-4tk11fqk.mjs +0 -2
- package/dist/chunks/cli-1.0.11-52j8yhqv.mjs +0 -2
- package/dist/chunks/cli-1.0.11-570zfkf5.mjs +0 -2
- package/dist/chunks/cli-1.0.11-62faj8qv.mjs +0 -2
- package/dist/chunks/cli-1.0.11-632mfg4h.mjs +0 -4
- package/dist/chunks/cli-1.0.11-6j7kbwbk.mjs +0 -2
- package/dist/chunks/cli-1.0.11-6wkx2g7v.mjs +0 -2
- package/dist/chunks/cli-1.0.11-6x5rqzvq.mjs +0 -2
- package/dist/chunks/cli-1.0.11-6xv0bp4t.mjs +0 -2
- package/dist/chunks/cli-1.0.11-705n21zz.mjs +0 -2
- package/dist/chunks/cli-1.0.11-70hj75wn.mjs +0 -2
- package/dist/chunks/cli-1.0.11-70kbq4w3.mjs +0 -2
- package/dist/chunks/cli-1.0.11-738xq402.mjs +0 -2
- package/dist/chunks/cli-1.0.11-7a79h2zt.mjs +0 -2
- package/dist/chunks/cli-1.0.11-7b3wvn2z.mjs +0 -18
- package/dist/chunks/cli-1.0.11-7gjndyyt.mjs +0 -2
- package/dist/chunks/cli-1.0.11-7nazvd1q.mjs +0 -2
- package/dist/chunks/cli-1.0.11-7t17zc1z.mjs +0 -59
- package/dist/chunks/cli-1.0.11-7vb4qcgq.mjs +0 -9
- package/dist/chunks/cli-1.0.11-80ek75w2.mjs +0 -12
- package/dist/chunks/cli-1.0.11-81ck35ky.mjs +0 -2
- package/dist/chunks/cli-1.0.11-8864t240.mjs +0 -199
- package/dist/chunks/cli-1.0.11-8ez7ws7j.mjs +0 -2
- package/dist/chunks/cli-1.0.11-8h81b3r6.mjs +0 -2
- package/dist/chunks/cli-1.0.11-8tbkr5te.mjs +0 -2
- package/dist/chunks/cli-1.0.11-90brgsm0.mjs +0 -25
- package/dist/chunks/cli-1.0.11-94m7sqz0.mjs +0 -6
- package/dist/chunks/cli-1.0.11-94mhst9e.mjs +0 -2
- package/dist/chunks/cli-1.0.11-95zkxz27.mjs +0 -2
- package/dist/chunks/cli-1.0.11-9ewzkxjm.mjs +0 -2
- package/dist/chunks/cli-1.0.11-9gw1e2pa.mjs +0 -2
- package/dist/chunks/cli-1.0.11-9kcjny4c.mjs +0 -2
- package/dist/chunks/cli-1.0.11-9sz2xbqw.mjs +0 -20
- package/dist/chunks/cli-1.0.11-9x0cm4c2.mjs +0 -58
- package/dist/chunks/cli-1.0.11-ajtmhz2b.mjs +0 -4
- package/dist/chunks/cli-1.0.11-ak9ykkzx.mjs +0 -2
- package/dist/chunks/cli-1.0.11-akfr5v7n.mjs +0 -2
- package/dist/chunks/cli-1.0.11-akzn9130.mjs +0 -2
- package/dist/chunks/cli-1.0.11-aqdmvhz2.mjs +0 -2
- package/dist/chunks/cli-1.0.11-b0qj7met.mjs +0 -2
- package/dist/chunks/cli-1.0.11-b9fszk50.mjs +0 -3
- package/dist/chunks/cli-1.0.11-bemvf7h4.mjs +0 -2
- package/dist/chunks/cli-1.0.11-bfj4emzk.mjs +0 -2
- package/dist/chunks/cli-1.0.11-bgygdezr.mjs +0 -9
- package/dist/chunks/cli-1.0.11-bh58g0t0.mjs +0 -25
- package/dist/chunks/cli-1.0.11-bp5zjnce.mjs +0 -3
- package/dist/chunks/cli-1.0.11-bq3nkc2q.mjs +0 -3
- package/dist/chunks/cli-1.0.11-bv0chgkc.mjs +0 -2
- package/dist/chunks/cli-1.0.11-c856qv0y.mjs +0 -8
- package/dist/chunks/cli-1.0.11-c8drtmtf.mjs +0 -2
- package/dist/chunks/cli-1.0.11-c8xnk02a.mjs +0 -2
- package/dist/chunks/cli-1.0.11-c9xzrrj5.mjs +0 -67
- package/dist/chunks/cli-1.0.11-cd2qwe1h.mjs +0 -2
- package/dist/chunks/cli-1.0.11-cgt4nhqg.mjs +0 -2
- package/dist/chunks/cli-1.0.11-cngn2t9n.mjs +0 -24
- package/dist/chunks/cli-1.0.11-cppy8zkf.mjs +0 -4
- package/dist/chunks/cli-1.0.11-ct42xhge.mjs +0 -2
- package/dist/chunks/cli-1.0.11-cw7m4yzj.mjs +0 -2
- package/dist/chunks/cli-1.0.11-d4v6gsvj.mjs +0 -50
- package/dist/chunks/cli-1.0.11-de9w6fg6.mjs +0 -4
- package/dist/chunks/cli-1.0.11-djshp3ed.mjs +0 -5
- package/dist/chunks/cli-1.0.11-dm8dxp4h.mjs +0 -2
- package/dist/chunks/cli-1.0.11-dmn1n7wp.mjs +0 -2
- package/dist/chunks/cli-1.0.11-esgphm1d.mjs +0 -4
- package/dist/chunks/cli-1.0.11-et4kv86h.mjs +0 -17
- package/dist/chunks/cli-1.0.11-extzyw8w.mjs +0 -2
- package/dist/chunks/cli-1.0.11-f5r9n4eb.mjs +0 -2
- package/dist/chunks/cli-1.0.11-fwf1nf98.mjs +0 -2
- package/dist/chunks/cli-1.0.11-g0b3tp96.mjs +0 -2
- package/dist/chunks/cli-1.0.11-gasqmqy8.mjs +0 -2
- package/dist/chunks/cli-1.0.11-gb00rzej.mjs +0 -2
- package/dist/chunks/cli-1.0.11-gfzsazcc.mjs +0 -2
- package/dist/chunks/cli-1.0.11-ghrb1zty.mjs +0 -133
- package/dist/chunks/cli-1.0.11-gt57f2g4.mjs +0 -4
- package/dist/chunks/cli-1.0.11-gzhzsfkx.mjs +0 -2
- package/dist/chunks/cli-1.0.11-h73m5bnx.mjs +0 -2
- package/dist/chunks/cli-1.0.11-ha0ah5jk.mjs +0 -2
- package/dist/chunks/cli-1.0.11-j1hrkh1n.mjs +0 -42
- package/dist/chunks/cli-1.0.11-j1kqr7mn.mjs +0 -3
- package/dist/chunks/cli-1.0.11-j65xt6ja.mjs +0 -2
- package/dist/chunks/cli-1.0.11-ja63j933.mjs +0 -24
- package/dist/chunks/cli-1.0.11-jdchy6a2.mjs +0 -2
- package/dist/chunks/cli-1.0.11-jq7g10mp.mjs +0 -2
- package/dist/chunks/cli-1.0.11-jstx49pw.mjs +0 -15
- package/dist/chunks/cli-1.0.11-k05030ph.mjs +0 -2
- package/dist/chunks/cli-1.0.11-kgv9rg65.mjs +0 -45
- package/dist/chunks/cli-1.0.11-kknpw2ax.mjs +0 -6
- package/dist/chunks/cli-1.0.11-m2ch23x4.mjs +0 -2
- package/dist/chunks/cli-1.0.11-m46yk2mx.mjs +0 -4
- package/dist/chunks/cli-1.0.11-m5w4w38j.mjs +0 -2
- package/dist/chunks/cli-1.0.11-m697h6wz.mjs +0 -3
- package/dist/chunks/cli-1.0.11-mjfpmm2a.mjs +0 -2
- package/dist/chunks/cli-1.0.11-my4mtasz.mjs +0 -2
- package/dist/chunks/cli-1.0.11-myxwbejm.mjs +0 -2
- package/dist/chunks/cli-1.0.11-n16smrqc.mjs +0 -2
- package/dist/chunks/cli-1.0.11-n1p3f6p7.mjs +0 -3
- package/dist/chunks/cli-1.0.11-n530dz5v.mjs +0 -2
- package/dist/chunks/cli-1.0.11-n6nabvk7.mjs +0 -2
- package/dist/chunks/cli-1.0.11-nfs11yt4.mjs +0 -2
- package/dist/chunks/cli-1.0.11-nhebbwew.mjs +0 -15
- package/dist/chunks/cli-1.0.11-nmdqvy3x.mjs +0 -2
- package/dist/chunks/cli-1.0.11-nnb7707z.mjs +0 -2
- package/dist/chunks/cli-1.0.11-p00y0fsg.mjs +0 -2
- package/dist/chunks/cli-1.0.11-p3zd6rr3.mjs +0 -34
- package/dist/chunks/cli-1.0.11-p9dpg606.mjs +0 -2
- package/dist/chunks/cli-1.0.11-pc02gtn4.mjs +0 -2
- package/dist/chunks/cli-1.0.11-pfdfw3q0.mjs +0 -2
- package/dist/chunks/cli-1.0.11-pggbs1cj.mjs +0 -3
- package/dist/chunks/cli-1.0.11-pgv1kx0w.mjs +0 -7
- package/dist/chunks/cli-1.0.11-pkx58bcd.mjs +0 -2
- package/dist/chunks/cli-1.0.11-ptqnwbvy.mjs +0 -2
- package/dist/chunks/cli-1.0.11-pws7rx3y.mjs +0 -2
- package/dist/chunks/cli-1.0.11-pyzn99ct.mjs +0 -18
- package/dist/chunks/cli-1.0.11-q5ssc147.mjs +0 -2
- package/dist/chunks/cli-1.0.11-qe2vnh5s.mjs +0 -2
- package/dist/chunks/cli-1.0.11-qj58rk0t.mjs +0 -2
- package/dist/chunks/cli-1.0.11-qt9hfn47.mjs +0 -2
- package/dist/chunks/cli-1.0.11-qxncga3e.mjs +0 -2
- package/dist/chunks/cli-1.0.11-qxyeygmt.mjs +0 -2
- package/dist/chunks/cli-1.0.11-r2ms1cmp.mjs +0 -2
- package/dist/chunks/cli-1.0.11-r5z57f1e.mjs +0 -3
- package/dist/chunks/cli-1.0.11-razjnz1w.mjs +0 -2
- package/dist/chunks/cli-1.0.11-rpqx7925.mjs +0 -3
- package/dist/chunks/cli-1.0.11-rrzdp5bb.mjs +0 -2
- package/dist/chunks/cli-1.0.11-s1b9ek7n.mjs +0 -6
- package/dist/chunks/cli-1.0.11-see5c6wp.mjs +0 -2
- package/dist/chunks/cli-1.0.11-skmzzhzh.mjs +0 -39
- package/dist/chunks/cli-1.0.11-t2x1k63a.mjs +0 -2
- package/dist/chunks/cli-1.0.11-t3yw4wkf.mjs +0 -2
- package/dist/chunks/cli-1.0.11-t4tx0xwc.mjs +0 -2
- package/dist/chunks/cli-1.0.11-taat135t.mjs +0 -2
- package/dist/chunks/cli-1.0.11-tv2ja5hq.mjs +0 -2
- package/dist/chunks/cli-1.0.11-tyan62wc.mjs +0 -2
- package/dist/chunks/cli-1.0.11-v02e3hp0.mjs +0 -2
- package/dist/chunks/cli-1.0.11-v2ypvd2f.mjs +0 -17
- package/dist/chunks/cli-1.0.11-v5d8hdt5.mjs +0 -2
- package/dist/chunks/cli-1.0.11-vd74hjxg.mjs +0 -2
- package/dist/chunks/cli-1.0.11-vfcnt54q.mjs +0 -16
- package/dist/chunks/cli-1.0.11-vjjxby46.mjs +0 -5494
- package/dist/chunks/cli-1.0.11-vkdzrrzk.mjs +0 -2
- package/dist/chunks/cli-1.0.11-vmh7n18x.mjs +0 -2
- package/dist/chunks/cli-1.0.11-vngmjn6q.mjs +0 -6
- package/dist/chunks/cli-1.0.11-vq5ptcrv.mjs +0 -2
- package/dist/chunks/cli-1.0.11-vqw5vq1z.mjs +0 -2
- package/dist/chunks/cli-1.0.11-wdvw9bs9.mjs +0 -2
- package/dist/chunks/cli-1.0.11-wf6fynen.mjs +0 -133
- package/dist/chunks/cli-1.0.11-wjmpvhps.mjs +0 -2
- package/dist/chunks/cli-1.0.11-wxrv0919.mjs +0 -21
- package/dist/chunks/cli-1.0.11-x09790kn.mjs +0 -2
- package/dist/chunks/cli-1.0.11-x49bwc7n.mjs +0 -2
- package/dist/chunks/cli-1.0.11-x52cbhwa.mjs +0 -2
- package/dist/chunks/cli-1.0.11-x5tf1mr7.mjs +0 -2
- package/dist/chunks/cli-1.0.11-xac48dmb.mjs +0 -2
- package/dist/chunks/cli-1.0.11-xc1vh5jp.mjs +0 -2
- package/dist/chunks/cli-1.0.11-xge84nh3.mjs +0 -12
- package/dist/chunks/cli-1.0.11-xhtzats1.mjs +0 -2
- package/dist/chunks/cli-1.0.11-xq9e8vpr.mjs +0 -2
- package/dist/chunks/cli-1.0.11-y0eca1tp.mjs +0 -4
- package/dist/chunks/cli-1.0.11-yg666rff.mjs +0 -4
- package/dist/chunks/cli-1.0.11-yhfn95eh.mjs +0 -2
- package/dist/chunks/cli-1.0.11-yv042eqq.mjs +0 -2
- package/dist/chunks/cli-1.0.11-yvxh54fb.mjs +0 -12
- package/dist/chunks/cli-1.0.11-ywv4shrr.mjs +0 -2
- package/dist/chunks/cli-1.0.11-z0vt71px.mjs +0 -2
- package/dist/chunks/cli-1.0.11-z7b0t3bc.mjs +0 -2
- package/dist/chunks/cli-1.0.11-zmky8hva.mjs +0 -2
- package/dist/chunks/client-1.0.11-312zt2ah.mjs +0 -1
- package/dist/chunks/color-1.0.11-vjcywxsb.mjs +0 -1
- package/dist/chunks/compact-1.0.11-fz00vbeq.mjs +0 -3
- package/dist/chunks/config-1.0.11-69y6ev3m.mjs +0 -1
- package/dist/chunks/config-1.0.11-zv8cqcxf.mjs +0 -1
- package/dist/chunks/constants-1.0.11-qpv84h99.mjs +0 -1
- package/dist/chunks/context-1.0.11-hc8hcd6q.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.11-z1zhm5t5.mjs +0 -1
- package/dist/chunks/conversation-1.0.11-k90tc32f.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.11-jgc37m2e.mjs +0 -1
- package/dist/chunks/copy-1.0.11-6nssqasv.mjs +0 -9
- package/dist/chunks/cost-1.0.11-559mqgez.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.11-hg1padm7.mjs +0 -1
- package/dist/chunks/createSession-1.0.11-3642anzt.mjs +0 -1
- package/dist/chunks/debug-1.0.11-75374a1x.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.11-2m29yhnw.mjs +0 -1446
- package/dist/chunks/desktop-1.0.11-sppnn5qz.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.11-6bgstybg.mjs +0 -1
- package/dist/chunks/detection-1.0.11-vdsv7f4b.mjs +0 -1
- package/dist/chunks/diff-1.0.11-abdxhwrj.mjs +0 -1
- package/dist/chunks/doctor-1.0.11-5z3ab9xa.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.11-pysmhpbt.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.11-vahmyps5.mjs +0 -1
- package/dist/chunks/effort-1.0.11-vzaz8r9h.mjs +0 -10
- package/dist/chunks/engine-1.0.11-e6emj6j2.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.11-vg4sjhxq.mjs +0 -1
- package/dist/chunks/envUtils-1.0.11-12w4key7.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.11-2wk1amzh.mjs +0 -1
- package/dist/chunks/environments-1.0.11-y0adm7td.mjs +0 -1
- package/dist/chunks/errors-1.0.11-96kg3stq.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.11-jf2hd4mh.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.0.11-7ynf3njs.mjs +0 -1
- package/dist/chunks/exit-1.0.11-h50839az.mjs +0 -1
- package/dist/chunks/explorer-1.0.11-7aj9bxyd.mjs +0 -1
- package/dist/chunks/export-1.0.11-e59deqn4.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.11-q4ghsyjs.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.11-xqh27mwy.mjs +0 -1
- package/dist/chunks/fast-1.0.11-35ftz51m.mjs +0 -1
- package/dist/chunks/feedback-1.0.11-cqft1yja.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.11-a8h2dgak.mjs +0 -1
- package/dist/chunks/git-1.0.11-te61wz3p.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.11-drv71n3q.mjs +0 -1
- package/dist/chunks/goal-1.0.11-51c2g06j.mjs +0 -4
- package/dist/chunks/grove-1.0.11-3wh8z2tp.mjs +0 -1
- package/dist/chunks/growthbook-1.0.11-t3qqdanq.mjs +0 -1
- package/dist/chunks/headless-1.0.11-bxq9fmpp.mjs +0 -2
- package/dist/chunks/heapdump-1.0.11-ck2kcxvg.mjs +0 -6
- package/dist/chunks/help-1.0.11-pghsa110.mjs +0 -1
- package/dist/chunks/hookChains-1.0.11-20cnxgj2.mjs +0 -3
- package/dist/chunks/hooks-1.0.11-hmnqptaj.mjs +0 -79
- package/dist/chunks/hooks-1.0.11-hp66ffcw.mjs +0 -1
- package/dist/chunks/ide-1.0.11-cw4fsa7v.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.11-nrs9g8xa.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.11-72hf9v7f.mjs +0 -1
- package/dist/chunks/index-1.0.11-28ze0nsz.mjs +0 -2
- package/dist/chunks/index-1.0.11-2rftz5rp.mjs +0 -1
- package/dist/chunks/index-1.0.11-5tgfz6qd.mjs +0 -1
- package/dist/chunks/index-1.0.11-6bzt2k72.mjs +0 -1
- package/dist/chunks/index-1.0.11-6h7vy1ye.mjs +0 -2
- package/dist/chunks/index-1.0.11-8w86bp4p.mjs +0 -9
- package/dist/chunks/index-1.0.11-av9et6fw.mjs +0 -17
- package/dist/chunks/index-1.0.11-bq1vd37a.mjs +0 -1
- package/dist/chunks/index-1.0.11-detbxk87.mjs +0 -1
- package/dist/chunks/index-1.0.11-har6hagk.mjs +0 -1
- package/dist/chunks/index-1.0.11-j5nhmcd0.mjs +0 -1
- package/dist/chunks/index-1.0.11-ja482fzv.mjs +0 -1
- package/dist/chunks/index-1.0.11-k9vcyag1.mjs +0 -1
- package/dist/chunks/index-1.0.11-ktnv60hg.mjs +0 -1
- package/dist/chunks/index-1.0.11-m1x1jgbe.mjs +0 -1
- package/dist/chunks/index-1.0.11-n9xwyead.mjs +0 -5
- package/dist/chunks/index-1.0.11-njbht1ys.mjs +0 -1
- package/dist/chunks/index-1.0.11-nrqxgqbx.mjs +0 -9
- package/dist/chunks/index-1.0.11-pcp79m82.mjs +0 -1
- package/dist/chunks/index-1.0.11-radrr40a.mjs +0 -30
- package/dist/chunks/index-1.0.11-rk0pqamg.mjs +0 -1
- package/dist/chunks/index-1.0.11-t19ba6z9.mjs +0 -1
- package/dist/chunks/index-1.0.11-xxcdw8dk.mjs +0 -1
- package/dist/chunks/init-1.0.11-tfrwsdpp.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.11-zsedfvbr.mjs +0 -1
- package/dist/chunks/ink-1.0.11-ndrn3qkp.mjs +0 -1
- package/dist/chunks/insights-1.0.11-fvyzzx1m.mjs +0 -870
- package/dist/chunks/install-1.0.11-3x92gf6c.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.11-4dak4den.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.11-mpg4apdn.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.11-2bvtppdd.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.11-f0yk0vv7.mjs +0 -1
- package/dist/chunks/keybindings-1.0.11-xdb8g0wq.mjs +0 -2
- package/dist/chunks/knowledge-1.0.11-mp0sdnyp.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.11-h0kqvb5e.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.11-21kfy7d1.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.11-62h1ng2x.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.11-b876eprh.mjs +0 -1
- package/dist/chunks/log-1.0.11-0926ezp3.mjs +0 -1
- package/dist/chunks/main-1.0.11-vyk2x3wz.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.11-kv0d1mg2.mjs +0 -1
- package/dist/chunks/mcp-1.0.11-at6mf974.mjs +0 -4
- package/dist/chunks/mcp-1.0.11-daj0k21t.mjs +0 -1
- package/dist/chunks/mcp-1.0.11-wryppgt1.mjs +0 -17
- package/dist/chunks/mcpb-1.0.11-tbhva8cx.mjs +0 -1
- package/dist/chunks/memory-1.0.11-t83eybqk.mjs +0 -72
- package/dist/chunks/model-1.0.11-9f373g25.mjs +0 -2
- package/dist/chunks/model-1.0.11-x7cy07zz.mjs +0 -1
- package/dist/chunks/node-1.0.11-4c5e5x82.mjs +0 -12
- package/dist/chunks/oauth-1.0.11-th8148fn.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.11-qtx9sy7n.mjs +0 -14
- package/dist/chunks/output-style-1.0.11-49xv9nyx.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.11-btfehhjf.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.11-c54m34vf.mjs +0 -1
- package/dist/chunks/parser-1.0.11-k1edcc6s.mjs +0 -1
- package/dist/chunks/passes-1.0.11-5pgw1dpk.mjs +0 -1
- package/dist/chunks/permissions-1.0.11-985eg7tk.mjs +0 -1
- package/dist/chunks/permissions-1.0.11-vw3bb3rr.mjs +0 -3
- package/dist/chunks/plan-1.0.11-0p3h0zp0.mjs +0 -1
- package/dist/chunks/plist-1.0.11-zbes1djt.mjs +0 -1
- package/dist/chunks/plugin-1.0.11-svkt070k.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.11-9x3yfk2j.mjs +0 -1
- package/dist/chunks/plugins-1.0.11-yq0rshqb.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.11-qerha0cv.mjs +0 -2
- package/dist/chunks/print-1.0.11-74zcxacx.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.11-rrq80bc6.mjs +0 -1
- package/dist/chunks/process-1.0.11-bbehrbs8.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.11-a69zfnhj.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.11-sr31ka3t.mjs +0 -9
- package/dist/chunks/prompt-1.0.11-d70q78at.mjs +0 -1
- package/dist/chunks/prompt-1.0.11-tz8t5d13.mjs +0 -1
- package/dist/chunks/prompts-1.0.11-m5saxeyv.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.11-068sth3c.mjs +0 -13
- package/dist/chunks/provider-1.0.11-8kxjeahg.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.11-40p5fmg3.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.11-56q1by46.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.11-cx527m21.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.11-r7zg2d2h.mjs +0 -34
- package/dist/chunks/registry-1.0.11-g7ra2fxs.mjs +0 -1
- package/dist/chunks/release-notes-1.0.11-qba65ksd.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.11-xmtjje1f.mjs +0 -2
- package/dist/chunks/remote-env-1.0.11-sdn1xmkp.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.11-h00qpdp7.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.11-bw3qbhsc.mjs +0 -1
- package/dist/chunks/rename-1.0.11-x4a5ve41.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.11-v6tex0rs.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.11-ghgbmprj.mjs +0 -1
- package/dist/chunks/resume-1.0.11-9m8zv4f4.mjs +0 -2
- package/dist/chunks/rewind-1.0.11-ybm8151x.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.11-57s151ex.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.0.11-8tpdz498.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.0.11-f6df7e84.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.11-805v8r1x.mjs +0 -1
- package/dist/chunks/session-1.0.11-z5gxtqnf.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.11-6rcvkbfv.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.11-gz9z4d2n.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.11-arv0h3mr.mjs +0 -1
- package/dist/chunks/settings-1.0.11-g9y3zkwx.mjs +0 -1
- package/dist/chunks/setup-1.0.11-2yc6htny.mjs +0 -5
- package/dist/chunks/sinks-1.0.11-9r7hfp1n.mjs +0 -1
- package/dist/chunks/skills-1.0.11-n37znzpa.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.11-2ydqcpch.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.11-q8jwq4my.mjs +0 -1
- package/dist/chunks/state-1.0.11-6kjp26sz.mjs +0 -1
- package/dist/chunks/stats-1.0.11-nf5t6mvj.mjs +0 -6
- package/dist/chunks/status-1.0.11-qq9snahg.mjs +0 -1
- package/dist/chunks/stickers-1.0.11-fyh8mxj5.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.11-3d9z54ze.mjs +0 -1
- package/dist/chunks/tasks-1.0.11-83e7bp46.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.11-k16bbfv8.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.11-mr9wgcy2.mjs +0 -1
- package/dist/chunks/teleport-1.0.11-b5cqkv40.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.11-20p1v1ey.mjs +0 -1
- package/dist/chunks/theme-1.0.11-6zqs0xe4.mjs +0 -1
- package/dist/chunks/thinkback-1.0.11-8av0ztc7.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.11-3dfrx0pw.mjs +0 -1
- package/dist/chunks/toolPool-1.0.11-2qt7n81g.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.11-xvkpbypf.mjs +0 -1
- package/dist/chunks/tools-1.0.11-f42yjhwf.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.11-enkrexht.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.11-t6gqtrte.mjs +0 -69
- package/dist/chunks/types-1.0.11-05ye0r9a.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.11-qrzcx1s2.mjs +0 -4
- package/dist/chunks/update-1.0.11-nn0jnm0e.mjs +0 -88
- package/dist/chunks/upgrade-1.0.11-7vz3cph0.mjs +0 -1
- package/dist/chunks/upload-1.0.11-mgsj1mhp.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.11-m96645aj.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.11-1anw1ty0.mjs +0 -1
- package/dist/chunks/usage-1.0.11-7zvmy6j7.mjs +0 -1
- package/dist/chunks/util-1.0.11-1rajshq2.mjs +0 -1
- package/dist/chunks/utils-1.0.11-6n1vqzht.mjs +0 -1
- package/dist/chunks/vim-1.0.11-4773xhch.mjs +0 -1
- package/dist/chunks/watchLoop-1.0.11-51hjctnn.mjs +0 -13
- package/dist/chunks/watcher-1.0.11-qc4hggjm.mjs +0 -1
- package/dist/chunks/wiki-1.0.11-eb2msbxc.mjs +0 -132
- package/dist/chunks/workflows-1.0.11-07tdyg64.mjs +0 -1
- package/dist/chunks/worktree-1.0.11-gcraavtg.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.11-9cnkt438.mjs +0 -1
- package/dist/chunks/wrapper-1.0.11-r3ecyxab.mjs +0 -7
- /package/dist/chunks/{cli-1.0.11-rd2363he.mjs → cli-1.0.13-4z6c4gzk.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.11-bgegnqwm.mjs → cli-1.0.13-ap2xrh2s.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.11-r4b3hh63.mjs → cli-1.0.13-n6bzzv7p.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.11-madrygpa.mjs → cli-1.0.13-q9et56bj.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.11-q0n7n5ds.mjs → cli-1.0.13-tzenmc0b.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.11-ryt75zjd.mjs → cli-1.0.13-v34fp7gq.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.11-1had177w.mjs → cli-1.0.13-wv7skbb9.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Qea as G,Rea as h,Vea as v,Wea as P,bfa as k,nfa as f,tea as M,wea as L}from"./cli-1.0.11-8864t240.mjs";import{Lia as E,Uia as x}from"./cli-1.0.11-g0b3tp96.mjs";import{Gka as T,Tka as u}from"./cli-1.0.11-wjmpvhps.mjs";import{fsa as C}from"./cli-1.0.11-see5c6wp.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudinMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudinMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudinMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
|
|
2
|
-
export{Vj as Hc,Wj as Ic,e as Jc,Xj as Kc,Yj as Lc,jj as Mc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Qh as Vq,Rh as fq}from"./cli-1.0.11-gb00rzej.mjs";import{WX as Pq,XX as mq,jY as o,kY as pq,qY as Qq,sY as Uq,tY as Hq}from"./cli-1.0.11-v02e3hp0.mjs";import{G0 as M,I0 as g,kZ as Sq,l1 as Wq}from"./cli-1.0.11-7t17zc1z.mjs";import{U3 as Z,V3 as F,W3 as Jq}from"./cli-1.0.11-ct42xhge.mjs";import{X3 as _q}from"./cli-1.0.11-x09790kn.mjs";import{Bga as s,Cga as jq}from"./cli-1.0.11-1h7wxdn7.mjs";import{bsa as Lq,fsa as wq}from"./cli-1.0.11-see5c6wp.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 oh,oq as ph,sq as qh,aq as rh,Tq as sh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lh as B,Mh as CJ}from"./cli-1.0.11-9kcjny4c.mjs";import{$q as JJ,Ay as yJ,Hn as AJ,In as rJ,Lq as vq,Nq as n,Oq as NJ,Tn as DJ,Un as lJ,Vn as PJ,Vq as TJ,Wn as tJ,Xn as VJ,Xq as OJ,Yn as eJ,Zx as Cq,_x as FJ,ar as uq,ay as QQ,dr as MJ,er as QJ,gG as BJ,iG as ZQ,ox as wJ,px as JQ,yy as Bq,zy as kq}from"./cli-1.0.11-vjjxby46.mjs";import{jY as LJ,kY as oJ,nY as RJ,oY as aJ,wY as jJ,xY as qQ}from"./cli-1.0.11-v02e3hp0.mjs";import{G0 as O,I0 as D,K0 as nq,L0 as EJ,kZ as sJ,l1 as hJ}from"./cli-1.0.11-7t17zc1z.mjs";import{T3 as IJ,U3 as H,V3 as j,W3 as zJ}from"./cli-1.0.11-ct42xhge.mjs";import{X3 as nJ}from"./cli-1.0.11-x09790kn.mjs";import{C8 as HQ,D6 as mq,F6 as s,N5 as bq,O5 as GJ,O6 as i,Q5 as Eq,R6 as yq,V6 as dJ,a6 as HJ,d7 as kJ,f6 as pJ,h8 as _J,i7 as GQ}from"./cli-1.0.11-vfcnt54q.mjs";import{Y8 as K,Z8 as xJ}from"./cli-1.0.11-kknpw2ax.mjs";import{Dba as $J,Fda as iJ,nba as aq,oba as lq,pba as _q,qba as tq,qda as UJ,rba as eq,sba as qJ,sda as WJ}from"./cli-1.0.11-8864t240.mjs";import{Via as KJ,Yia as cJ}from"./cli-1.0.11-qe2vnh5s.mjs";import{bsa as XJ,fsa as Rq}from"./cli-1.0.11-see5c6wp.mjs";function hq(J){let q=J.messageActionsBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function mJ(J){let q=J.userMessageBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function z(J,q,Q){if(q.startsWith("ansi:")){let Y=q.slice(5);if(Q==="fg")return J[Y]??J;let X=`bg${Y[0].toUpperCase()}${Y.slice(1)}`;return J[X]??J}if(q.startsWith("#"))return Q==="fg"?J.hex(q):J.bgHex(q);if(q.startsWith("ansi256(")){let Y=parseInt(q.slice(8));return Q==="fg"?J.ansi256(Y):J.bgAnsi256(Y)}let Z=bJ.exec(q);if(Z){let[Y,X,U]=[+Z[1],+Z[2],+Z[3]];return Q==="fg"?J.rgb(Y,X,U):J.bgRgb(Y,X,U)}return J}function PQ(J,q,Q,Z,Y){if(!B())return uJ(J,q,Q,Z,Y);let{suggestion:X,messageActionsBackground:U}=Y,G=U==="ansi:white"||U==="ansi:whiteBright"?Y.inactive:U,R=Y.inverseText,I=Y.suggestion,F=z(z(K,X,"bg"),R,"fg").bold,L=z(z(K,X,"fg"),G,"bg"),A=z(z(K,G,"bg"),I,"fg"),T=z(K,G,"fg"),Pq=z(K,X,"fg"),P=F(` ${J} `);if(q){if(P+=L(w),P+=A(` ${sq} ${q}`),Q>0||Z>0){if(P+=A(" ("),Q>0)P+=z(z(K,G,"bg"),Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)P+=A(" ");if(Z>0)P+=z(z(K,G,"bg"),Y.warning,"fg")(`↓${Z}`);P+=A(")")}P+=A(" "),P+=T(w)}else P+=Pq(w);return P}function VQ(J,q,Q){if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J)} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J} `)+U(w)}function jQ(J,q,Q){if(!J)return"";if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J.trim())} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function NQ(J,q,Q){if(!J)return"";if(!B())return`[ ${z(K,q.suggestion,"fg")(J.trim())} ]`;let Z=hq(q),Y=q.suggestion,X=z(z(K,Z,"bg"),Y,"fg"),U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function rq(J,q,Q){if(!J)return"";if(!B())return`[ ${J} ]`;let Z=z(z(K,q,"bg"),Q.inverseText,"fg").bold,Y=z(K,q,"fg");return Z(` ${J} `)+Y(w)}function TQ(J,q,Q,Z,Y){if(!J)return"";if(!B()){let L=z(K,Z.suggestion,"fg")(J);if(q>0||Q>0){if(L+=" (",q>0)L+=z(K,Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)L+=" ";if(Q>0)L+=z(K,Z.warning,"fg")(`↓${Q}`);L+=")"}return`[ ${L} ]`}let X=hq(Z),U=Z.suggestion,G=z(z(K,X,"bg"),U,"fg"),R=Y?z(z(K,Y,"bg"),X,"fg"):z(K,X,"fg"),I=G(` ${sq} ${J}`);if(q>0||Q>0){if(I+=G(" ("),q>0)I+=z(z(K,X,"bg"),Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)I+=G(" ");if(Q>0)I+=z(z(K,X,"bg"),Z.warning,"fg")(`↓${Q}`);I+=G(")")}return I+=G(" "),I+=R(w),I}function dq(J,q){if(!q||!nq())return J;return`${Bq}${q}${kq}${J}${Bq}${kq}`}function OQ(J,q,Q,Z="PR",Y){if(!B()){let F=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,L=dq(z(K,F,"fg")(`#${J}`),Y);return`[ ${z(K,Q.inactive,"fg")(Z)} ${L} ]`}let X=mJ(Q),U=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,G=z(z(K,X,"bg"),Q.inactive,"fg"),R=z(z(K,X,"bg"),U,"fg"),I=z(K,X,"fg");return G(` ${gJ} `)+dq(R(`#${J}`),Y)+G(" ")+I(w)}function uJ(J,q,Q,Z,Y){let X=z(K,Y.suggestion,"fg").bold,U=`[ ${X(J)} ]`;if(q){let R=z(K,Y.suggestion,"fg")(q);if(Q>0||Z>0){if(R+=" (",Q>0)R+=z(K,Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)R+=" ";if(Z>0)R+=z(K,Y.warning,"fg")(`↓${Z}`);R+=")"}U+=` [ ${R} ]`}return U}var w="",sq="",gJ="",bJ;var oq=Rq(()=>{xJ();EJ();yJ();CJ();bJ=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/});function fJ(J,q){if(vq(J))return q.suggestion;switch(J){case"low":return q.inactive;case"medium":return q.warning;case"high":return q.claude;case"xhigh":return q.error;case"max":return q.merged;default:return q.error}}function kQ(J,q,Q){if(!n(q))return;let Z=JJ(q,J),Y=fJ(Z,Q);return{pill:rq(`${Sq(Z)} ${Z}`,Y,Q),bg:Y}}function Sq(J){if(vq(J))return qJ;switch(J){case"low":return aq;case"medium":return lq;case"high":return _q;case"xhigh":return tq;case"max":return eq;default:return _q}}var ZJ=Rq(()=>{$J();QJ();oq()});function rQ(J){let q=$q.c(82),{initial:Q,sessionModel:Z,onSelect:Y,onCancel:X,isStandaloneCommand:U,showFastModeNotice:G,headerText:R,skipSettingsWrite:I}=J,F=FJ(),L=RJ(),A=Q===null?h:Q,[T,Pq]=Dq.useState(A),P=Cq(KQ),[k,vJ]=Dq.useState(!1),_=Cq(XQ),r;if(q[0]!==_)r=_!==void 0?uq(_):void 0,q[0]=_,q[1]=r;else r=q[1];let[v,fq]=Dq.useState(r),Vq=P??!1,o;if(q[2]!==Vq)o=wJ(Vq),q[2]=Vq,q[3]=o;else o=q[3];let p=o,jq;q:{if(Q!==null&&!p.some((W)=>{if(W.value===Q)return!0;if(W.value===null)return!1;try{return s(i(String(W.value)))===s(i(Q))}catch{return!1}})){let W;if(q[4]!==Q)W=yq(Q),q[4]=Q,q[5]=W;else W=q[5];let V;if(q[6]!==Q||q[7]!==W)V={value:Q,label:W,description:"Current model"},q[6]=Q,q[7]=W,q[8]=V;else V=q[8];let S;if(q[9]!==p||q[10]!==V)S=[...p,V],q[9]=p,q[10]=V,q[11]=S;else S=q[11];jq=S;break q}jq=p}let Nq=jq,a;if(q[12]!==Nq)a=Nq.map(YQ),q[12]=Nq,q[13]=a;else a=q[13];let N=a,l;if(q[14]!==A||q[15]!==N)l=N.find((W)=>{if(W.value===A)return!0;if(A===h||W.value===null)return!1;try{return s(i(String(W.value)))===s(i(String(A)))}catch{return!1}})?.value??N[0]?.value??void 0,q[14]=A,q[15]=N,q[16]=l;else l=q[16];let Tq=l,t=Math.min(10,N.length),e=Math.max(0,N.length-t),qq;if(q[17]!==T||q[18]!==N)qq=N.find((W)=>W.value===T)?.label,q[17]=T,q[18]=N,q[19]=qq;else qq=q[19];let Jq=qq,M,Qq;if(q[20]!==T){let W=gq(T);M=W?n(W):!1,Qq=W?NJ(W):!1,q[20]=T,q[21]=M,q[22]=Qq}else M=q[21],Qq=q[22];let Zq=Qq,zq;if(q[23]!==T)zq=xq(T),q[23]=T,q[24]=zq;else zq=q[24];let x=zq,d=v==="max"&&!Zq?"high":v,Yq;if(q[25]!==_||q[26]!==k)Yq=(W)=>{if(Pq(W),!k&&_===void 0)fq(xq(W))},q[25]=_,q[26]=k,q[27]=Yq;else Yq=q[27];let Oq=Yq,Xq;if(q[28]!==x||q[29]!==M||q[30]!==Zq)Xq=(W)=>{if(!M)return;fq((V)=>UQ(V??x,W,Zq)),vJ(!0)},q[28]=x,q[29]=M,q[30]=Zq,q[31]=Xq;else Xq=q[31];let Kq=Xq,Uq;if(q[32]!==Kq)Uq={"modelPicker:decreaseEffort":()=>Kq("left"),"modelPicker:increaseEffort":()=>Kq("right")},q[32]=Kq,q[33]=Uq;else Uq=q[33];let Wq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))Wq={context:"ModelPicker"},q[34]=Wq;else Wq=q[34];LJ(Uq,Wq);let Gq;if(q[35]!==v||q[36]!==k||q[37]!==Y||q[38]!==F||q[39]!==I)Gq=function(V){if(KJ("tengu_model_command_menu_effort",{effort:v}),!I){let iq=OJ(v,xq(V),UJ("userSettings")?.effortLevel,k),pq=TJ(iq);if(pq!==void 0)WJ("userSettings",{effortLevel:pq});F((SJ)=>({...SJ,effortValue:iq}))}let S=gq(V),cq=k&&S&&n(S)?v:void 0;if(V===h){Y(null,cq);return}Y(V,cq)},q[35]=v,q[36]=k,q[37]=Y,q[38]=F,q[39]=I,q[40]=Gq;else Gq=q[40];let Mq=Gq,Hq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Hq=H(D,{color:"remember",bold:!0,children:"Select model"}),q[41]=Hq;else Hq=q[41];let wq=R??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",E;if(q[42]!==wq)E=H(D,{dimColor:!0,children:wq}),q[42]=wq,q[43]=E;else E=q[43];let y;if(q[44]!==Z)y=Z&&j(D,{dimColor:!0,children:["Currently using ",yq(Z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Z,q[45]=y;else y=q[45];let C;if(q[46]!==E||q[47]!==y)C=j(O,{marginBottom:1,flexDirection:"column",children:[Hq,E,y]}),q[46]=E,q[47]=y,q[48]=C;else C=q[48];let Fq=X??zQ,g;if(q[49]!==Oq||q[50]!==Mq||q[51]!==Tq||q[52]!==A||q[53]!==N||q[54]!==Fq||q[55]!==t)g=H(O,{flexDirection:"column",children:H(BJ,{defaultValue:A,defaultFocusValue:Tq,options:N,onChange:Mq,onFocus:Oq,onCancel:Fq,visibleOptionCount:t})}),q[49]=Oq,q[50]=Mq,q[51]=Tq,q[52]=A,q[53]=N,q[54]=Fq,q[55]=t,q[56]=g;else g=q[56];let b;if(q[57]!==e)b=e>0&&H(O,{paddingLeft:3,children:j(D,{dimColor:!0,children:["and ",e," more…"]})}),q[57]=e,q[58]=b;else b=q[58];let m;if(q[59]!==g||q[60]!==b)m=j(O,{flexDirection:"column",marginBottom:1,children:[g,b]}),q[59]=g,q[60]=b,q[61]=m;else m=q[61];let u;if(q[62]!==d||q[63]!==x||q[64]!==Jq||q[65]!==M)u=H(O,{marginBottom:1,flexDirection:"column",children:M?j(D,{dimColor:!0,children:[H(YJ,{effort:d})," ",AJ(d)," effort",d===x?" (default)":""," ",H(D,{color:"subtle",children:"← → to adjust"})]}):j(D,{color:"subtle",children:[H(YJ,{effort:void 0})," Effort not supported",Jq?` for ${Jq}`:""]})}),q[62]=d,q[63]=x,q[64]=Jq,q[65]=M,q[66]=u;else u=q[66];let $;if(q[67]!==G)$=bq()?G?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Fast mode is ",H(D,{bold:!0,children:"ON"})," and available with"," ",Eq," only (/fast). Switching to other models turn off fast mode."]})}):GJ()&&!HJ()?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Use ",H(D,{bold:!0,children:"/fast"})," to turn on Fast mode (",Eq," only)."]})}):null:null,q[67]=G,q[68]=$;else $=q[68];let f;if(q[69]!==C||q[70]!==m||q[71]!==u||q[72]!==$)f=j(O,{flexDirection:"column",children:[C,m,u,$]}),q[69]=C,q[70]=m,q[71]=u,q[72]=$,q[73]=f;else f=q[73];let c;if(q[74]!==L||q[75]!==U)c=U&&H(D,{dimColor:!0,italic:!0,children:L.pending?j(IJ,{children:["Press ",L.keyName," again to exit"]}):j(VJ,{children:[H(DJ,{shortcut:"Enter",action:"confirm"}),H(PJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=L,q[75]=U,q[76]=c;else c=q[76];let Iq;if(q[77]!==f||q[78]!==c)Iq=j(O,{flexDirection:"column",children:[f,c]}),q[77]=f,q[78]=c,q[79]=Iq;else Iq=q[79];let Aq=Iq;if(!U)return Aq;let Lq;if(q[80]!==Aq)Lq=H(jJ,{color:"permission",children:Aq}),q[80]=Aq,q[81]=Lq;else Lq=q[81];return Lq}function zQ(){}function YQ(J){return{...J,value:J.value===null?h:J.value}}function XQ(J){return J.effortValue}function KQ(J){return bq()?J.fastMode:!1}function gq(J){if(!J)return;return J===h?mq():i(J)}function YJ(J){let q=$q.c(5),{effort:Q}=J,Z=Q?"claude":"subtle",Y=Q??"low",X;if(q[0]!==Y)X=Sq(Y),q[0]=Y,q[1]=X;else X=q[1];let U;if(q[2]!==Z||q[3]!==X)U=H(D,{color:Z,children:X}),q[2]=Z,q[3]=X,q[4]=U;else U=q[4];return U}function UQ(J,q,Q){let Z=Q?["low","medium","high","max"]:["low","medium","high"],Y=Z.indexOf(J),X=Y!==-1?Y:Z.indexOf("high");if(q==="right")return Z[(X+1)%Z.length];else return Z[(X-1+Z.length)%Z.length]}function xq(J){let q=gq(J)??mq(),Q=MJ(q);return Q!==void 0?uq(Q):"high"}var $q,Dq,h="__NO_PREFERENCE__";var WQ=Rq(()=>{rJ();aJ();cJ();pJ();hJ();oJ();QQ();QJ();dJ();JQ();iJ();tJ();ZQ();eJ();lJ();qQ();ZJ();zJ();$q=XJ(sJ(),1),Dq=XJ(nJ(),1)});function eQ(J,q,Q){if(!_J())return!1;if(q)return!0;if(J===null||!kJ(J))return!1;let Z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),Y=Z==="opus"||Z.includes("opus-4-6")||Z.includes("opus-4-7"),X=Z==="sonnet"||Z.includes("sonnet-4-6");if(Y&&Q)return!1;return Y||X}var IQ=Rq(()=>{HQ();GQ()});
|
|
2
|
-
export{hq as Ug,mJ as Vg,PQ as Wg,VQ as Xg,jQ as Yg,NQ as Zg,TQ as _g,OQ as $g,oq as ah,kQ as bh,Sq as ch,ZJ as dh,rQ as eh,WQ as fh,eQ as gh,IQ as hh};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{A9 as ur,B9 as Qc,C9 as Bc,D9 as ra,E9 as Xc,F9 as Yc,G9 as Zc,H9 as Jc,I9 as el,J9 as Hc,K9 as cr,L9 as Cc,M9 as Ts,N9 as gl,n9 as nt,o9 as hl,p9 as bl,q9 as ml,r9 as fn,s9 as $c,t9 as fu,u9 as Al,v9 as ys,w9 as El,x9 as st,y9 as hs,z9 as k}from"./cli-1.0.11-9sz2xbqw.mjs";import{O9 as ie}from"./cli-1.0.11-b9fszk50.mjs";import{Sra as kc,Tra as Le}from"./cli-1.0.11-7vb4qcgq.mjs";import{Vra as Vc}from"./cli-1.0.11-ajtmhz2b.mjs";import{$ra as De,Xra as Fe,Yra as ve,asa as ee}from"./cli-1.0.11-v2ypvd2f.mjs";import{dsa as E,gsa as Bs}from"./cli-1.0.11-see5c6wp.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 m9};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{cka as ZX,fka as y8}from"./cli-1.0.11-tv2ja5hq.mjs";import{Dka as R8,xka as r}from"./cli-1.0.11-632mfg4h.mjs";import{Gka as $X,Jka as NJ,Tka as j8}from"./cli-1.0.11-wjmpvhps.mjs";import{$ka as oX,Cla as yJ,Dla as OX,Ela as h,Fla as vJ,Gla as tJ,Hla as hX,Ila as hJ,Jla as wX,Kla as y,Lla as OJ,Mla as gQ,Nla as m6,Qla as O,Rla as GJ,Uka as dQ,Vka as P6,_ka as qJ,cla as eJ,dla as fX,ela as fQ,fla as T6,gla as $Q,hla as cX,kla as JQ,lla as pX,mla as g,nla as oJ,ola as n,pla as LQ,sla as pQ,tla as v6,wla as l,wqa as sQ,xla as wQ,xma as XX,yla as w,zla as kQ}from"./cli-1.0.11-qt9hfn47.mjs";import{Dqa as cJ,Eqa as TX,Fqa as HJ,Gqa as J6,Jqa as L,Kqa as XJ,Pqa as LJ,Qqa as zX,Vqa as V,Wqa as xJ,xqa as SJ,yqa as CX}from"./cli-1.0.11-bemvf7h4.mjs";import{esa as uJ,fsa as U,hsa as N,isa as W}from"./cli-1.0.11-see5c6wp.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
|
|
2
|
-
`)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
|
|
3
|
-
`);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
|
|
4
|
-
`))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
|
|
5
|
-
`;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
|
|
6
|
-
export{zJ as Zia,BJ as _ia,IJ as $ia,r8 as aja,CJ as bja,e as cja,_J as dja,m as eja,JJ as fja,j as gja,QJ as hja,R as ija,k as jja,_ as kja,d as lja,$J as mja,lJ as nja,iJ as oja,rJ as pja,b as qja,ZJ as rja,ZQ as sja,YQ as tja,BQ as uja,IQ as vja,RQ as wja,AQ as xja,nQ as yja,lQ as zja,E as Aja,KJ as Bja,I8 as Cja,C8 as Dja,F8 as Eja,V8 as Fja,UJ as Gja,JX as Hja,H1 as Ija,G1 as Jja,s as Kja,K1 as Lja,U1 as Mja,N1 as Nja,QX as Oja,g8 as Pja,T as Qja,L1 as Rja,b8 as Sja,GX as Tja,KX as Uja,_1 as Vja,S1 as Wja,O1 as Xja,D8 as Yja,UX as Zja,w1 as _ja,aQ as $ja};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{R9 as Z,V9 as _,W9 as w}from"./cli-1.0.11-pws7rx3y.mjs";import{F_ as Y,G_ as U,R_ as $,Rea as j,caa as k,s$ as T,tea as W,wea as V,zaa as D}from"./cli-1.0.11-8864t240.mjs";import{$ja as M,Yja as N}from"./cli-1.0.11-94m7sqz0.mjs";import{Dma as X,wqa as O}from"./cli-1.0.11-qt9hfn47.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
-
export{b as lb,y as mb,P as nb,d as ob,c as pb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Gs as I,Js as X}from"./cli-1.0.11-vjjxby46.mjs";import{Jka as H,Tka as W}from"./cli-1.0.11-wjmpvhps.mjs";import{fsa as V}from"./cli-1.0.11-see5c6wp.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
|
|
2
|
-
export{q as Uc,F as Vc,K as Wc,Q as Xc,R as Yc,_ as Zc,j as _c,Y as $c};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Uh as g,Vh as Uf}from"./cli-1.0.11-570zfkf5.mjs";import{ai as A,ci as Kf}from"./cli-1.0.11-pyzn99ct.mjs";import{Al as Bf,Am as L,Bl as Gf,Fm as Vf,Hl as y,JE as v,Jj as W,NS as S,QE as Df,QR as l,Wj as w,Ws as h,Xj as zf,Xs as Yf,_S as p,am as Jf,fT as k,gv as m,hC as M,hv as Zf,iD as c,ks as E,lD as bf,ls as P,mm as N,ms as Xf,nv as C,qS as Ff,rT as Hf,rv as T,sT as d,sm as Qf,tE as u,uE as jf,vv as _f,wC as I,xC as $f}from"./cli-1.0.11-vjjxby46.mjs";import{oga as R,wga as ff}from"./cli-1.0.11-8864t240.mjs";import{Via as O,Yia as e}from"./cli-1.0.11-qe2vnh5s.mjs";import{Dma as x,lpa as H,wqa as s,xma as U,yma as q,yna as F}from"./cli-1.0.11-qt9hfn47.mjs";import{csa as K,fsa as t}from"./cli-1.0.11-see5c6wp.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await M("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),I(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await c("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();Zf();Df();Yf();zf();_f();jf();Ff();ff();Kf();Qf();$f();bf();d();Xf();Vf();Jf();Uf()});
|
|
2
|
-
export{lf as Sh,xf as Th};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Jka as B,Kka as H,Tka as V}from"./cli-1.0.11-wjmpvhps.mjs";import{fsa as Q}from"./cli-1.0.11-see5c6wp.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
|
|
2
|
-
export{$ as Lh,Y as Mh};
|