@claudiolabs/claudin 0.6.0 → 0.6.2
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-0.6.2-he5a0dam.mjs +1 -0
- package/dist/chunks/App-0.6.2-81hq55t1.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +3 -0
- package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +1 -0
- package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +1 -0
- package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +1 -0
- package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +1 -0
- package/dist/chunks/agents-0.6.2-pwkawpda.mjs +110 -0
- package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +3 -0
- package/dist/chunks/api-0.6.2-r9z30232.mjs +1 -0
- package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +1 -0
- package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +1 -0
- package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +1 -0
- package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +1 -0
- package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +1 -0
- package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +4 -0
- package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +1 -0
- package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +1 -0
- package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +3 -0
- package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +4 -0
- package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +1 -0
- package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +1 -0
- package/dist/chunks/clear-0.6.2-301n503a.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +1 -0
- package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +42 -0
- package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +4 -0
- package/dist/chunks/cli-0.6.2-0p39svq8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1ahapm20.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1b9hx344.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1hrabb68.mjs +3 -0
- package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +9 -0
- package/dist/chunks/cli-0.6.2-1y907j57.mjs +2 -0
- package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-26qywcgz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +3 -0
- package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2z19ppek.mjs +15 -0
- package/dist/chunks/cli-0.6.2-334vw6ys.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +2 -0
- package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-42d88f3r.mjs +2 -0
- package/dist/chunks/cli-0.6.2-43f0sknv.mjs +2 -0
- package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4a5t390f.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +15 -0
- package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +39 -0
- package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +5323 -0
- package/dist/chunks/cli-0.6.2-4py7r63v.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +59 -0
- package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-5jempndm.mjs +133 -0
- package/dist/chunks/cli-0.6.2-657fbmws.mjs +2 -0
- package/dist/chunks/cli-0.6.2-6bacgc39.mjs +3 -0
- package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +5 -0
- package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +2 -0
- package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +3 -0
- package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +3 -0
- package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +4 -0
- package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-7egesyh9.mjs +4 -0
- package/dist/chunks/cli-0.6.2-7rmm482v.mjs +12 -0
- package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +25 -0
- package/dist/chunks/cli-0.6.2-83ennmm8.mjs +21 -0
- package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +2 -0
- package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +5 -0
- package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +10 -0
- package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-974c5e67.mjs +9 -0
- package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9mwrq250.mjs +3 -0
- package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9qtj477e.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +4 -0
- package/dist/chunks/cli-0.6.2-a8atyp18.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-aq30pg47.mjs +2 -0
- package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +6 -0
- package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +2 -0
- package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-bkff60ff.mjs +2 -0
- package/dist/chunks/cli-0.6.2-br678d1b.mjs +8 -0
- package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +4 -0
- package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +2 -0
- package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-d3evezft.mjs +1 -0
- package/dist/chunks/cli-0.6.2-d3y2w089.mjs +2 -0
- package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +12 -0
- package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +2 -0
- package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dv8abe56.mjs +7 -0
- package/dist/chunks/cli-0.6.2-dx6qfese.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dy4zwces.mjs +2 -0
- package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +2 -0
- package/dist/chunks/cli-0.6.2-e26khw0m.mjs +6 -0
- package/dist/chunks/cli-0.6.2-e66qz53g.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +16 -0
- package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +45 -0
- package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +5 -0
- package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +6 -0
- package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +2 -0
- package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +2 -0
- package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-grf75vb7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +2 -0
- package/dist/chunks/cli-0.6.2-h72p44ws.mjs +24 -0
- package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +193 -0
- package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hqmcear6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +34 -0
- package/dist/chunks/cli-0.6.2-j05kmd43.mjs +2 -0
- package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jrb4f391.mjs +15 -0
- package/dist/chunks/cli-0.6.2-jrpted0b.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +2 -0
- package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-k9v931hm.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +4 -0
- package/dist/chunks/cli-0.6.2-ky1drj50.mjs +2 -0
- package/dist/chunks/cli-0.6.2-mabejxsw.mjs +4 -0
- package/dist/chunks/cli-0.6.2-majp93c4.mjs +2 -0
- package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +3 -0
- package/dist/chunks/cli-0.6.2-n9610c8k.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-nwzye174.mjs +2 -0
- package/dist/chunks/cli-0.6.2-p0jszyht.mjs +3 -0
- package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +58 -0
- package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-q45wdma3.mjs +3 -0
- package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-r4p904h3.mjs +67 -0
- package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rde30n8x.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +2 -0
- package/dist/chunks/cli-0.6.2-red287ya.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +17 -0
- package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +24 -0
- package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +133 -0
- package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t038jmme.mjs +3 -0
- package/dist/chunks/cli-0.6.2-t3e59m32.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +50 -0
- package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +20 -0
- package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +18 -0
- package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +3 -0
- package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +12 -0
- package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +2 -0
- package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +18 -0
- package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +2 -0
- package/dist/chunks/cli-0.6.2-yep449sd.mjs +17 -0
- package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +4 -0
- package/dist/chunks/cli-0.6.2-yysvdabq.mjs +2 -0
- package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +4 -0
- package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +3 -0
- package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +4 -0
- package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +2 -0
- package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +18 -0
- package/dist/chunks/cli-0.6.2-zaahyems.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zftyh47j.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zs4qp487.mjs +2 -0
- package/dist/chunks/client-0.6.2-8b0s065m.mjs +1 -0
- package/dist/chunks/color-0.6.2-jza3jez4.mjs +1 -0
- package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +3 -0
- package/dist/chunks/config-0.6.2-qjwjrd75.mjs +1 -0
- package/dist/chunks/config-0.6.2-xac3sjb7.mjs +1 -0
- package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +1 -0
- package/dist/chunks/context-0.6.2-w965073f.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +1 -0
- package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +1 -0
- package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +9 -0
- package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +1 -0
- package/dist/chunks/createSession-0.6.2-axgp009k.mjs +1 -0
- package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +1365 -0
- package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +1 -0
- package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +1 -0
- package/dist/chunks/diff-0.6.2-md180qh9.mjs +1 -0
- package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +1 -0
- package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +10 -0
- package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +1 -0
- package/dist/chunks/environments-0.6.2-fe197syt.mjs +1 -0
- package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +1 -0
- package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +1 -0
- package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +1 -0
- package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +1 -0
- package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +1 -0
- package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +1 -0
- package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +4 -0
- package/dist/chunks/grove-0.6.2-a2wgccag.mjs +1 -0
- package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +1 -0
- package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +2 -0
- package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +6 -0
- package/dist/chunks/help-0.6.2-c49svpae.mjs +1 -0
- package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +3 -0
- package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +1 -0
- package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +79 -0
- package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +1 -0
- package/dist/chunks/index-0.6.2-1kk3erm5.mjs +9 -0
- package/dist/chunks/index-0.6.2-21nak3ad.mjs +1 -0
- package/dist/chunks/index-0.6.2-2vns8v9p.mjs +1 -0
- package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +1 -0
- package/dist/chunks/index-0.6.2-3g92ew8z.mjs +1 -0
- package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +1 -0
- package/dist/chunks/index-0.6.2-88m8k4cp.mjs +1 -0
- package/dist/chunks/index-0.6.2-93bh3w93.mjs +1 -0
- package/dist/chunks/index-0.6.2-9e0qz384.mjs +1 -0
- package/dist/chunks/index-0.6.2-emm65q8h.mjs +17 -0
- package/dist/chunks/index-0.6.2-ff57yvh3.mjs +1 -0
- package/dist/chunks/index-0.6.2-g6xy97jv.mjs +1 -0
- package/dist/chunks/index-0.6.2-h37g7n0s.mjs +9 -0
- package/dist/chunks/index-0.6.2-h8jkf613.mjs +5 -0
- package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +1 -0
- package/dist/chunks/index-0.6.2-jw83xhc8.mjs +2 -0
- package/dist/chunks/index-0.6.2-mehn31e3.mjs +30 -0
- package/dist/chunks/index-0.6.2-naw1d8mg.mjs +2 -0
- package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +1 -0
- package/dist/chunks/index-0.6.2-qn0re7sj.mjs +1 -0
- package/dist/chunks/index-0.6.2-tftj6wdh.mjs +1 -0
- package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +1 -0
- package/dist/chunks/init-0.6.2-47k2caay.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +1 -0
- package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +1 -0
- package/dist/chunks/insights-0.6.2-st861yg4.mjs +870 -0
- package/dist/chunks/install-0.6.2-webkhwz9.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +1 -0
- package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +2 -0
- package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +1 -0
- package/dist/chunks/log-0.6.2-h02k5q0p.mjs +1 -0
- package/dist/chunks/main-0.6.2-51xvrsbq.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +1 -0
- package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +17 -0
- package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +4 -0
- package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +1 -0
- package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +1 -0
- package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +3 -0
- package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +2 -0
- package/dist/chunks/model-0.6.2-49f9g2vz.mjs +2 -0
- package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +1 -0
- package/dist/chunks/node-0.6.2-40bknjza.mjs +12 -0
- package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +14 -0
- package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +1 -0
- package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +1 -0
- package/dist/chunks/passes-0.6.2-kadygcw6.mjs +1 -0
- package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +3 -0
- package/dist/chunks/plan-0.6.2-hzbsezab.mjs +1 -0
- package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +1 -0
- package/dist/chunks/plugin-0.6.2-pr48413e.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +1 -0
- package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +2 -0
- package/dist/chunks/print-0.6.2-ng7p0m66.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +1 -0
- package/dist/chunks/process-0.6.2-7k26fk4b.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +9 -0
- package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +1 -0
- package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +1 -0
- package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +13 -0
- package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +34 -0
- package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +1 -0
- package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +2 -0
- package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +1 -0
- package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +1 -0
- package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +2 -0
- package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +1 -0
- package/dist/chunks/session-0.6.2-k41jbqwf.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +1 -0
- package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +1 -0
- package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +5 -0
- package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +1 -0
- package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +1 -0
- package/dist/chunks/state-0.6.2-nymhw7ey.mjs +1 -0
- package/dist/chunks/stats-0.6.2-skm9nakv.mjs +6 -0
- package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +1 -0
- package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +1 -0
- package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +1 -0
- package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +1 -0
- package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +1 -0
- package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +1 -0
- package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +1 -0
- package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +4 -0
- package/dist/chunks/update-0.6.2-p8edrwg4.mjs +86 -0
- package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +1 -0
- package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +1 -0
- package/dist/chunks/util-0.6.2-yet75ms4.mjs +1 -0
- package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +1 -0
- package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +1 -0
- package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +1 -0
- package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +132 -0
- package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +1 -0
- package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +0 -1
- package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +0 -3
- package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +0 -1
- package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +0 -1
- package/dist/chunks/REPL-0.6.0-z46m261k.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +0 -1
- package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +0 -1
- package/dist/chunks/agents-0.6.0-69xm47ft.mjs +0 -3
- package/dist/chunks/agents-0.6.0-8m3ze781.mjs +0 -110
- package/dist/chunks/api-0.6.0-3cymw2a4.mjs +0 -1
- package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +0 -1
- package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +0 -1
- package/dist/chunks/auth-0.6.0-6j97pezz.mjs +0 -1
- package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +0 -1
- package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +0 -1
- package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +0 -4
- package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +0 -1
- package/dist/chunks/btw-0.6.0-9pm632qb.mjs +0 -1
- package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +0 -3
- package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +0 -4
- package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +0 -1
- package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +0 -1
- package/dist/chunks/clear-0.6.0-g494jnyj.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +0 -1
- package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +0 -2
- package/dist/chunks/cli-0.6.0-0yb835ch.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1bzempk2.mjs +0 -12
- package/dist/chunks/cli-0.6.0-1cfghz45.mjs +0 -20
- package/dist/chunks/cli-0.6.0-1d77dayv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1hxw8522.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1jem05z7.mjs +0 -45
- package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +0 -17
- package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +0 -2
- package/dist/chunks/cli-0.6.0-295jdx7b.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2age3kgh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2c7skznf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2h139nq7.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2kvggf16.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2m8k6622.mjs +0 -18
- package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-32mypc03.mjs +0 -4
- package/dist/chunks/cli-0.6.0-363zfcx9.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3kbabt72.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +0 -16
- package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +0 -2
- package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-592v9jcz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-59hncecf.mjs +0 -17
- package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +0 -2
- package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +0 -18
- package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +0 -2
- package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +0 -3
- package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +0 -2
- package/dist/chunks/cli-0.6.0-6w72esaf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7m760mbp.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +0 -12
- package/dist/chunks/cli-0.6.0-7shwamwq.mjs +0 -4
- package/dist/chunks/cli-0.6.0-855c2tef.mjs +0 -2
- package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-8meqksnp.mjs +0 -9
- package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +0 -3
- package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-91exkfnc.mjs +0 -2
- package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +0 -2
- package/dist/chunks/cli-0.6.0-9faq31pe.mjs +0 -4
- package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +0 -133
- package/dist/chunks/cli-0.6.0-9qdj830c.mjs +0 -4
- package/dist/chunks/cli-0.6.0-9rq760gd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-9rxskyst.mjs +0 -5
- package/dist/chunks/cli-0.6.0-a21pffqx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +0 -15
- package/dist/chunks/cli-0.6.0-aqestr3c.mjs +0 -193
- package/dist/chunks/cli-0.6.0-awtw1t27.mjs +0 -2
- package/dist/chunks/cli-0.6.0-b6tgentw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +0 -4
- package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +0 -2
- package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +0 -3
- package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +0 -2
- package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +0 -2
- package/dist/chunks/cli-0.6.0-da98vnek.mjs +0 -3
- package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-e05hymmk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-e8a59m32.mjs +0 -2
- package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +0 -4
- package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +0 -3
- package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g7exm24t.mjs +0 -3
- package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gassmthg.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +0 -4
- package/dist/chunks/cli-0.6.0-gw1zy408.mjs +0 -2
- package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hchy51xn.mjs +0 -15
- package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hraw3dez.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +0 -6
- package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +0 -34
- package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +0 -7
- package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +0 -50
- package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +0 -67
- package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +0 -9
- package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +0 -8
- package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +0 -6
- package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +0 -5
- package/dist/chunks/cli-0.6.0-m47zataq.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +0 -4
- package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +0 -58
- package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +0 -42
- package/dist/chunks/cli-0.6.0-pbegwent.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pk4x582t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-qnby905t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +0 -6
- package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +0 -59
- package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +0 -4
- package/dist/chunks/cli-0.6.0-rrp10514.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rytp9dva.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s2w74466.mjs +0 -15
- package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +0 -2
- package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +0 -21
- package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ssdst17p.mjs +0 -2
- package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +0 -12
- package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-t93n2gev.mjs +0 -3
- package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +0 -3
- package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +0 -2
- package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +0 -2
- package/dist/chunks/cli-0.6.0-tz34279s.mjs +0 -3
- package/dist/chunks/cli-0.6.0-v56hqc26.mjs +0 -25
- package/dist/chunks/cli-0.6.0-v7kten40.mjs +0 -2
- package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +0 -2
- package/dist/chunks/cli-0.6.0-vcvchaan.mjs +0 -2
- package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +0 -5321
- package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +0 -4
- package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +0 -18
- package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +0 -133
- package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +0 -10
- package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +0 -2
- package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +0 -39
- package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +0 -1
- package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +0 -24
- package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zabvyppx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zngss8r1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +0 -5
- package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +0 -24
- package/dist/chunks/client-0.6.0-djg9p1rh.mjs +0 -1
- package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +0 -1
- package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +0 -3
- package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +0 -1
- package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +0 -1
- package/dist/chunks/constants-0.6.0-qe49df42.mjs +0 -1
- package/dist/chunks/context-0.6.0-t33461h9.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +0 -1
- package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +0 -1
- package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +0 -9
- package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +0 -1
- package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +0 -1
- package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +0 -1365
- package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +0 -1
- package/dist/chunks/detection-0.6.0-8thkktsw.mjs +0 -1
- package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +0 -1
- package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +0 -1
- package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +0 -10
- package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +0 -1
- package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +0 -1
- package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +0 -1
- package/dist/chunks/exit-0.6.0-xys34kqe.mjs +0 -1
- package/dist/chunks/export-0.6.0-135ccc8z.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +0 -1
- package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +0 -1
- package/dist/chunks/feedback-0.6.0-j898w96j.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +0 -1
- package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +0 -1
- package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +0 -4
- package/dist/chunks/grove-0.6.0-bge298jb.mjs +0 -1
- package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +0 -1
- package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +0 -2
- package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +0 -6
- package/dist/chunks/help-0.6.0-krmgwd6p.mjs +0 -1
- package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +0 -3
- package/dist/chunks/hooks-0.6.0-652920vq.mjs +0 -79
- package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +0 -1
- package/dist/chunks/ide-0.6.0-j84km85e.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +0 -1
- package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +0 -1
- package/dist/chunks/index-0.6.0-33tqx1q0.mjs +0 -1
- package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +0 -2
- package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +0 -2
- package/dist/chunks/index-0.6.0-9br46rw2.mjs +0 -1
- package/dist/chunks/index-0.6.0-apr64dfb.mjs +0 -1
- package/dist/chunks/index-0.6.0-e79va7fg.mjs +0 -9
- package/dist/chunks/index-0.6.0-f35c7dte.mjs +0 -1
- package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +0 -1
- package/dist/chunks/index-0.6.0-gxd56xhn.mjs +0 -1
- package/dist/chunks/index-0.6.0-kbwkgp90.mjs +0 -5
- package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +0 -1
- package/dist/chunks/index-0.6.0-mxm4er0h.mjs +0 -1
- package/dist/chunks/index-0.6.0-nny5a3rt.mjs +0 -30
- package/dist/chunks/index-0.6.0-nst006cq.mjs +0 -17
- package/dist/chunks/index-0.6.0-rv4pntam.mjs +0 -1
- package/dist/chunks/index-0.6.0-scwzrsg7.mjs +0 -1
- package/dist/chunks/index-0.6.0-w2djrw2s.mjs +0 -9
- package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +0 -1
- package/dist/chunks/index-0.6.0-wjesenkh.mjs +0 -1
- package/dist/chunks/index-0.6.0-y9ppfz99.mjs +0 -1
- package/dist/chunks/index-0.6.0-zem7h5vp.mjs +0 -1
- package/dist/chunks/init-0.6.0-1770vy5g.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +0 -1
- package/dist/chunks/ink-0.6.0-qwcph42h.mjs +0 -1
- package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +0 -870
- package/dist/chunks/install-0.6.0-26gqe0fd.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +0 -1
- package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +0 -2
- package/dist/chunks/knowledge-0.6.0-ew766111.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +0 -1
- package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +0 -1
- package/dist/chunks/main-0.6.0-rzx5483p.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +0 -1
- package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +0 -4
- package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +0 -1
- package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +0 -17
- package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +0 -1
- package/dist/chunks/memory-0.6.0-wzcpareq.mjs +0 -3
- package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +0 -2
- package/dist/chunks/model-0.6.0-2ncemzh6.mjs +0 -1
- package/dist/chunks/model-0.6.0-tefdsge4.mjs +0 -2
- package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +0 -12
- package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +0 -14
- package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +0 -1
- package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +0 -1
- package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +0 -1
- package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +0 -3
- package/dist/chunks/plan-0.6.0-v60h02ep.mjs +0 -1
- package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +0 -1
- package/dist/chunks/plugin-0.6.0-43b045ac.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +0 -1
- package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +0 -2
- package/dist/chunks/print-0.6.0-09j4e2ec.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +0 -1
- package/dist/chunks/process-0.6.0-194s5ayw.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +0 -9
- package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +0 -1
- package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +0 -1
- package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +0 -13
- package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +0 -34
- package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +0 -1
- package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +0 -2
- package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +0 -1
- package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +0 -1
- package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +0 -2
- package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +0 -1
- package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +0 -1
- package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +0 -1
- package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +0 -5
- package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +0 -1
- package/dist/chunks/skills-0.6.0-78btd7cr.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +0 -1
- package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +0 -1
- package/dist/chunks/stats-0.6.0-w163rgvd.mjs +0 -6
- package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +0 -1
- package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +0 -1
- package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +0 -1
- package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +0 -1
- package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +0 -1
- package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +0 -1
- package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +0 -1
- package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +0 -4
- package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +0 -86
- package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +0 -1
- package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +0 -1
- package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +0 -1
- package/dist/chunks/utils-0.6.0-pf338f8r.mjs +0 -1
- package/dist/chunks/vim-0.6.0-xr4692km.mjs +0 -1
- package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +0 -1
- package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +0 -132
- package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +0 -1
- package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +0 -7
- /package/dist/chunks/{cli-0.6.0-ktf52b8k.mjs → cli-0.6.2-1e5p6hw6.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-td7dsace.mjs → cli-0.6.2-3eaaj6e5.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-hcx40dgf.mjs → cli-0.6.2-7p1ykg1m.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-djm9knfa.mjs → cli-0.6.2-adegz2m3.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-6hak6gny.mjs → cli-0.6.2-hb4fz4pd.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-9zx9qdaq.mjs → cli-0.6.2-hkgnx8g7.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-2hnyx7jy.mjs → cli-0.6.2-qk6j042k.mjs} +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{$oa as K_,Yoa as V_,Zoa as su,apa as f_}from"./cli-0.6.0-59hncecf.mjs";import{dpa as H,gpa as $_}from"./cli-0.6.0-szxjcmcn.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
-
versions published after the first week of January 2027
|
|
3
|
-
will require node >=${E}. You are running node ${_}.
|
|
4
|
-
|
|
5
|
-
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
-
and security updates please upgrade to node >=${E}.
|
|
7
|
-
|
|
8
|
-
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
-
export{W_ as Roa,D_ as Soa,yu as Toa,ou as Uoa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{fpa as o}from"./cli-0.6.0-szxjcmcn.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
-
export{t as n6,i as o6,n as p6,s as q6,c as r6,r as s6,a as t6,p as u6,_ as v6,S as w6,E as x6,e as y6};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{nb as b}from"./cli-0.6.0-2hnyx7jy.mjs";import{pf as zK,uf as dK}from"./cli-0.6.0-8xf2xpy3.mjs";import{$y as oz,FM as Ez,NH as wz,OM as FK,VH as MK,XG as hK,YG as mK,bz as sz,cz as fK,dR as j,eJ as tz,fJ as pK,fR as uK,lv as Cz,ol as rz,ql as bK,rn as M,sn as vK,sv as xK,uJ as ez,un as iz,wJ as cK,yn as SK}from"./cli-0.6.0-vj1q5vmq.mjs";import{EW as AK,FW as Qz,GW as GK,zW as Kz}from"./cli-0.6.0-r5tyrw7e.mjs";import{A3 as nz,E3 as jK,K4 as Tz,M4 as Mz,O4 as R,Y2 as Uz,Y4 as xz,Z2 as lz,d3 as Dz,h1 as U,i3 as I,k3 as _z,m1 as O,p3 as k}from"./cli-0.6.0-3qpvyrpf.mjs";import{s5 as G,t5 as _K}from"./cli-0.6.0-qzs04ar5.mjs";import{Aba as gz,B7 as Zz,B8 as dz,C7 as RK,Eaa as q,Gaa as H,Gba as $,Gda as A,I8 as EK,Iaa as uz,J7 as T,Jaa as S,Jba as W,Kaa as kz,L7 as CK,Naa as Jz,Pba as Wz,Qba as Bz,R9 as t,Rba as az,Taa as _,W9 as LK,a_ as e,bca as L,e_ as UK,f8 as $z,h8 as TK,l8 as cz,l_ as zz,n_ as DK,yda as V}from"./cli-0.6.0-aqestr3c.mjs";import{gea as E,lea as kK}from"./cli-0.6.0-32mypc03.mjs";import{mfa as pz,nfa as PK}from"./cli-0.6.0-xyv90m2s.mjs";import{aga as Z,cga as N}from"./cli-0.6.0-5bjsew2k.mjs";import{Kga as r,Mga as WK,Nga as i,Qga as o,Uga as BK}from"./cli-0.6.0-kr9jt2p9.mjs";import{kha as s,lha as NK}from"./cli-0.6.0-2k2xxr4j.mjs";import{Dha as VK,wha as y,yha as n}from"./cli-0.6.0-nxpvznpz.mjs";import{Iha as C,Jha as v,Lha as hz,Rha as mz,Tha as yK}from"./cli-0.6.0-2gsntzzv.mjs";import{Dla as a,Ika as Iz,Jka as bz,Kka as Oz,Mka as vz,Wla as l,kla as Sz,oja as F,sja as JK,wla as fz,wna as w}from"./cli-0.6.0-qnby905t.mjs";import{cpa as wK}from"./cli-0.6.0-szxjcmcn.mjs";_K();AK();w();DK();VK();BK();LK();A();NK();UK();JK();WK();GK();import{readFileSync as IK}from"node:fs";var OK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function ZQ(){let z=zz()?OK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function $Q(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function qQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
|
|
2
|
-
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{IK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
|
|
3
|
-
`)),process.exit(1);throw J}X=Y}a(X),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing settings: ${y(z)}
|
|
4
|
-
`)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing --setting-sources: ${y(z)}
|
|
5
|
-
`)),process.exit(1)}}async function HQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
-
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
-
`)}return K}kK();uK();N();bK();L();jK();CK();yK();EK();RK();TK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}A();k();pK();SK();cK();N();L();A();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}N();L();A();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}N();L();A();_();function Nz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...x}=D;return x});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}N();L();k();O();_();function Lz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}N();k();_();function Az(){if(!Dz())return;if(q("userSettings")?.model!=="opus")return;let z="opus[1m]",Q=I(z)===I(Uz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}L();function Gz(){$((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}w();L();O();_();function Rz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Iz()==="sonnet[1m]")Oz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}N();xz();L();O();_();function Fz(){if(U()!=="firstParty")return;if(!R()&&!Tz()&&!Mz())return;let K=q("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}N();L();A();MK();_();function yz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(wz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}N();xz();L();O();_();function Pz(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(kz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}dK();vK();w();PK();_();FK();N();xK();async function jz(K,z){let Q=await Ez(K),X=Cz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}fK();function nX(){try{let K=q("policySettings");if(K){let z=uz(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function rX(){let K=I(bz()??lz());jz(pz(),nz(K,vz())),ez().then(({enabled:z,errors:Q})=>{let X=tz();oz(z,X,iz()),sz(Q,X)}).catch((z)=>V(z))}function gK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function iX(){if(rz())return;let[K,z,Q]=await Promise.all([cz(),dz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:S().prefersReducedMotion??!1,...gK()})}var P=11;function oX(){if(W().migrationVersion!==P)Hz(),Vz(),Nz(),Pz(),Rz(),Lz(),Fz(),Az(),Gz(),yz(),$((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});zK().catch(()=>{})}function sX(){if(Sz()){T("info","prefetch_system_context_non_interactive"),j();return}if(gz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function tX(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function eX(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function zY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:x,skipWebFetchPreflight:KK,githubActionInputs:p,dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,allowDangerouslySkipPermissionsPassed:ZK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:$K,assistantActivationPath:u,isCoordinator:qK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:x,skipWebFetchPreflight:KK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,inProtectedNamespace:mz(),allowDangerouslySkipPermissionsPassed:ZK,thinkingType:$K.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:hz()||void 0,is_coordinator:qK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:S().autoUpdatesChannel??"latest"})}catch(HK){V(HK)}}function KY(K){}function QY(K){return}
|
|
8
|
-
export{ZQ as M,$Q as N,qQ as O,HQ as P,nX as Q,rX as R,iX as S,oX as T,sX as U,tX as V,eX as W,zY as X,KY as Y,QY as Z};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{iha as ZX,lha as y8}from"./cli-0.6.0-2k2xxr4j.mjs";import{Dha as R8,xha as r}from"./cli-0.6.0-nxpvznpz.mjs";import{Gha as $X,Jha as NJ,Tha as j8}from"./cli-0.6.0-2gsntzzv.mjs";import{$ha as oX,Cia as yJ,Dia as OX,Eia as h,Fia as vJ,Gia as tJ,Hia as hX,Iia as hJ,Jia as wX,Kia as y,Lia as OJ,Mia as gQ,Nia as m6,Qia as O,Ria as GJ,Uha as dQ,Vha as P6,_ha as qJ,cia as eJ,dia as fX,eia as fQ,fia as T6,gia as $Q,hia as cX,kia as JQ,lia as pX,mia as g,nia as oJ,oia as n,pia as LQ,sia as pQ,tia as v6,wia as l,wna as sQ,xia as wQ,xja as XX,yia as w,zia as kQ}from"./cli-0.6.0-qnby905t.mjs";import{Dna as cJ,Ena as TX,Fna as HJ,Gna as J6,Jna as L,Kna as XJ,Pna as LJ,Qna as zX,Vna as V,Wna as xJ,xna as SJ,yna as CX}from"./cli-0.6.0-s56fh7wm.mjs";import{epa as uJ,fpa as U,hpa as N,ipa as W}from"./cli-0.6.0-szxjcmcn.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 dga,BJ as ega,IJ as fga,r8 as gga,CJ as hga,e as iga,_J as jga,m as kga,JJ as lga,j as mga,QJ as nga,R as oga,k as pga,_ as qga,d as rga,$J as sga,lJ as tga,iJ as uga,rJ as vga,b as wga,ZJ as xga,ZQ as yga,YQ as zga,BQ as Aga,IQ as Bga,RQ as Cga,AQ as Dga,nQ as Ega,lQ as Fga,E as Gga,KJ as Hga,I8 as Iga,C8 as Jga,F8 as Kga,V8 as Lga,UJ as Mga,JX as Nga,H1 as Oga,G1 as Pga,s as Qga,K1 as Rga,U1 as Sga,N1 as Tga,QX as Uga,g8 as Vga,T as Wga,L1 as Xga,b8 as Yga,GX as Zga,KX as _ga,_1 as $ga,S1 as aha,O1 as bha,D8 as cha,UX as dha,w1 as eha,aQ as fha};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{o as f}from"./cli-0.6.0-j4gvgd8r.mjs";import{Er as F,Fr as i}from"./cli-0.6.0-vj1q5vmq.mjs";import{IR as T,LR as e,MR as k,NR as z,SR as d}from"./cli-0.6.0-3sdh6b3v.mjs";import{a5 as W,d5 as m,k5 as y,l5 as U,q5 as c}from"./cli-0.6.0-8meqksnp.mjs";import{J7 as Z,L7 as R}from"./cli-0.6.0-aqestr3c.mjs";import{Lea as V,Nea as I,Oea as N,Pea as v}from"./cli-0.6.0-jfft7zdk.mjs";import{_ea as E,jfa as b}from"./cli-0.6.0-s6hbyqbv.mjs";import{aga as q,cga as h}from"./cli-0.6.0-5bjsew2k.mjs";import{Hga as O,Mga as p,cha as Y,fha as _}from"./cli-0.6.0-kr9jt2p9.mjs";import{Jha as H,Tha as w}from"./cli-0.6.0-2gsntzzv.mjs";import{Ioa as s,qoa as S}from"./cli-0.6.0-5m6h57jc.mjs";import{gpa as u}from"./cli-0.6.0-szxjcmcn.mjs";I();b();v();var j={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var x={message:"must be 0 (disabled) or ≥100ms"},C=N(()=>V.object({poll_interval_ms_not_at_capacity:V.number().int().min(100),poll_interval_ms_at_capacity:V.number().int().refine((J)=>J===0||J>=100,x),non_exclusive_heartbeat_interval_ms:V.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:V.number().int().min(100).default(j.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:V.number().int().min(100).default(j.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:V.number().int().refine((J)=>J===0||J>=100,x).default(j.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:V.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:V.number().int().min(0).default(120000)}).refine((J)=>J.non_exclusive_heartbeat_interval_ms>0||J.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((J)=>J.non_exclusive_heartbeat_interval_ms>0||J.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function BJ(){let J=E("tengu_bridge_poll_interval_config",j,300000),K=C().safeParse(J);return K.success?K.data:j}s();_();R();e();h();i();_();R();w();m();c();d();p();var g=`{"type":"keep_alive"}
|
|
2
|
-
`,t=1000,l=1000,D=30000,n=600000,r=1e4,o=300000,A=D*2,a=new Set([1002,4001,4003]);class L{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new F(t)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:U(this.url.href),tls:W()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.6.0-hdrsg1aw.mjs"),Q=new K(this.url.href,{headers:J,agent:y(this.url.href),...W()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)q("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),k(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),z(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)q("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&a.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>A)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<n){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let B=this.refreshHeaders();Object.assign(this.headers,B),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(l*Math.pow(2,this.reconnectAttempts-1),D),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)q("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),z(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=O($)+`
|
|
3
|
-
`;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=O(J)+`
|
|
4
|
-
`;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>A){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},r)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),H(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(g),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},o)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var JJ=100,KJ=15000,QJ=3000;class XJ extends L{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:B}=$??{};this.postUrl=YJ(J),this.uploader=new f({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(M,P)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:M,failures:P}),B?.(M,P)},send:(M)=>this.postOnce(M)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),JJ);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,QJ)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=T();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await S.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:KJ})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function YJ(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
|
|
5
|
-
export{j,BJ as k,L as l,XJ as m};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{gE as h,iE as I,xm as g,ym as k}from"./cli-0.6.0-vj1q5vmq.mjs";import{RW as S,RY as _,mY as s}from"./cli-0.6.0-r5tyrw7e.mjs";import{p0 as c,q0 as m,r0 as T}from"./cli-0.6.0-ycj7gxxz.mjs";import{Gba as b,bca as P}from"./cli-0.6.0-aqestr3c.mjs";import{bpa as D}from"./cli-0.6.0-szxjcmcn.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
-
export{E as da};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{N0 as m}from"./cli-0.6.0-0yb835ch.mjs";import{G4 as K,Y4 as $}from"./cli-0.6.0-3qpvyrpf.mjs";import{Gba as Q,Gda as Z,Jba as J,bca as Y,eba as X}from"./cli-0.6.0-aqestr3c.mjs";import{$fa as W}from"./cli-0.6.0-hraw3dez.mjs";import{fpa as V}from"./cli-0.6.0-szxjcmcn.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
-
export{y as Gh,G as Hh,U as Ih,w as Jh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{cb as S}from"./cli-0.6.0-djm9knfa.mjs";import{eb as c}from"./cli-0.6.0-g61jvwe5.mjs";import{Uc as P,Yc as Vq}from"./cli-0.6.0-e8a59m32.mjs";import{ad as I,bd as v,cd as $,dd as Wq}from"./cli-0.6.0-5zykg2fc.mjs";import{En as C,Fs as N,Gn as r,Gs as e,bI as E,cI as Qq,kD as M,lD as Jq,lt as L,lu as A,mt as qq,mu as _,ou as Gq,st as h,tJ as f,ut as Bq,wJ as Tq}from"./cli-0.6.0-vj1q5vmq.mjs";import{s0 as s}from"./cli-0.6.0-0p3mkd59.mjs";import{Gda as a,J7 as D,L7 as n,n9 as w,p9 as t,yda as F}from"./cli-0.6.0-aqestr3c.mjs";import{aga as x,cga as d}from"./cli-0.6.0-5bjsew2k.mjs";import{cha as j,fha as o}from"./cli-0.6.0-kr9jt2p9.mjs";import{Dha as l,vha as y}from"./cli-0.6.0-nxpvznpz.mjs";import{bpa as p}from"./cli-0.6.0-szxjcmcn.mjs";Jq();d();Bq();Gq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);qq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=_(),O=A((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await L(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);h(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
-
export{Lq as bb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Jha as q,Tha as U}from"./cli-0.6.0-2gsntzzv.mjs";import{epa as L,fpa as X}from"./cli-0.6.0-szxjcmcn.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
-
export{G as cU,Y as dU,Z as eU,$ as fU,Q as gU,_ as hU,v as iU,E as jU,A as kU,h as lU,u as mU,f as nU,w as oU,S as pU,P as qU,I as rU,l as sU,y as tU,g as uU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Yb as l,Zb as m,ac as u,bc as y}from"./cli-0.6.0-h0z5ygw4.mjs";import{gE as p,iE as b}from"./cli-0.6.0-vj1q5vmq.mjs";import{RY as C,kY as s,mY as e}from"./cli-0.6.0-r5tyrw7e.mjs";import{p0 as i,q0 as r,r0 as g}from"./cli-0.6.0-ycj7gxxz.mjs";import{s0 as M}from"./cli-0.6.0-0p3mkd59.mjs";import{bpa as h,fpa as f}from"./cli-0.6.0-szxjcmcn.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
|
|
2
|
-
export{T as Wb,w as Xb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{fpa as g}from"./cli-0.6.0-szxjcmcn.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
|
|
2
|
-
export{Bq as rT,d as sT,$J as tT,DJ as uT,GJ as vT};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bca as $,Cca as y,a8 as Z,c8 as f,jda as B,mda as K}from"./cli-0.6.0-aqestr3c.mjs";import{Lha as Y,Tha as E}from"./cli-0.6.0-2gsntzzv.mjs";import{fpa as N,gpa as x}from"./cli-0.6.0-szxjcmcn.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
|
|
2
|
-
export{D as wh,s as xh,g as yh};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{oea as L,sea as O}from"./cli-0.6.0-2age3kgh.mjs";import{fpa as N}from"./cli-0.6.0-szxjcmcn.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
|
|
2
|
-
`,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
|
|
3
|
-
export{S as SY,J as TY,T as UY,U as VY,V as WY,W as XY,Q as YY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$S as k,aT as f,qT as u}from"./cli-0.6.0-2ztxr2t5.mjs";import{iU as C,uU as d}from"./cli-0.6.0-mmp6g96h.mjs";import{L0 as A,N0 as F}from"./cli-0.6.0-0yb835ch.mjs";import{h1 as q,m1 as i}from"./cli-0.6.0-3qpvyrpf.mjs";import{a5 as W,d5 as _,k5 as j,l5 as w,q5 as I}from"./cli-0.6.0-8meqksnp.mjs";import{Gda as U,yda as V}from"./cli-0.6.0-aqestr3c.mjs";import{$fa as v,_fa as M}from"./cli-0.6.0-hraw3dez.mjs";import{Hga as X,Iga as R,Mga as p,cha as J,fha as x}from"./cli-0.6.0-kr9jt2p9.mjs";import{Dha as T,wha as P}from"./cli-0.6.0-nxpvznpz.mjs";import{gpa as O}from"./cli-0.6.0-szxjcmcn.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-0.6.0-hdrsg1aw.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
-
export{b as Ma,$z as Na,Xz as Oa,Wz as Pa,Lz as Qa};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{aoa as K,poa as Y}from"./cli-0.6.0-p3kytvrk.mjs";import{fpa as X}from"./cli-0.6.0-szxjcmcn.mjs";function T(j){return j instanceof Q||j instanceof K||j instanceof Error&&j.name==="AbortError"}function D(j,z){return j instanceof Error&&j.message===z}function U(j){return j instanceof Error?j:Error(String(j))}function B(j){return j instanceof Error?j.message:String(j)}function V(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function O(j){return V(j)==="ENOENT"}function P(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function R(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,J=G.slice(1).filter((W)=>W.trim().startsWith("at "));if(J.length<=z)return j.stack;return[H,...J.slice(0,z)].join(`
|
|
3
|
-
`)}function b(j){let z=V(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function N(j){let z=B(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var Z,_,Q,$,q,v,w;var I=X(()=>{Y();Z=class Z extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};_=class _ extends Error{};Q=class Q extends Error{constructor(j){super(j);this.name="AbortError"}};$=class $ extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};q=class q extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};v=class v extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};w=class w extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{Z as mha,_ as nha,Q as oha,T as pha,$ as qha,q as rha,v as sha,w as tha,D as uha,U as vha,B as wha,V as xha,O as yha,P as zha,R as Aha,b as Bha,N as Cha,I as Dha};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import{Hv as U,Jv as h,NN as F,Vh as $,XA as A,YA as p,Yh as m,aO as L,gz as k,hz as I,tO as a}from"./cli-0.6.0-vj1q5vmq.mjs";import{U0 as O,V0 as f}from"./cli-0.6.0-3qpvyrpf.mjs";import{Qga as S,Uga as E}from"./cli-0.6.0-kr9jt2p9.mjs";import{Bha as b,Dha as T}from"./cli-0.6.0-nxpvznpz.mjs";import{Gha as y,Tha as C}from"./cli-0.6.0-2gsntzzv.mjs";import{fpa as N}from"./cli-0.6.0-szxjcmcn.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
|
|
2
|
-
|
|
3
|
-
Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
|
|
4
|
-
|
|
5
|
-
The file {{docPath}} has already been read for you. Here are its current contents:
|
|
6
|
-
<current_doc_content>
|
|
7
|
-
{{docContents}}
|
|
8
|
-
</current_doc_content>
|
|
9
|
-
|
|
10
|
-
Document title: {{docTitle}}
|
|
11
|
-
{{customInstructions}}
|
|
12
|
-
|
|
13
|
-
Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
|
|
14
|
-
|
|
15
|
-
CRITICAL RULES FOR EDITING:
|
|
16
|
-
- Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
|
|
17
|
-
- If there's an italicized line immediately after the header, preserve it exactly as-is
|
|
18
|
-
- Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
|
|
19
|
-
- Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
|
|
20
|
-
- Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
|
|
21
|
-
- Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
|
|
22
|
-
- Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
|
|
23
|
-
- Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
|
|
24
|
-
|
|
25
|
-
DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
|
|
26
|
-
- BE TERSE. High signal only. No filler words or unnecessary elaboration.
|
|
27
|
-
- Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
|
|
28
|
-
- Do NOT duplicate information that's already obvious from reading the source code
|
|
29
|
-
- Do NOT document every function, parameter, or line number reference
|
|
30
|
-
- Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
|
|
31
|
-
- Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
|
|
32
|
-
|
|
33
|
-
What TO document:
|
|
34
|
-
- High-level architecture and system design
|
|
35
|
-
- Non-obvious patterns, conventions, or gotchas
|
|
36
|
-
- Key entry points and where to start reading code
|
|
37
|
-
- Important design decisions and their rationale
|
|
38
|
-
- Critical dependencies or integration points
|
|
39
|
-
- References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
|
|
40
|
-
|
|
41
|
-
What NOT to document:
|
|
42
|
-
- Anything obvious from reading the code itself
|
|
43
|
-
- Exhaustive lists of files, functions, or parameters
|
|
44
|
-
- Step-by-step implementation details
|
|
45
|
-
- Low-level code mechanics
|
|
46
|
-
- Information already in CLAUDE.md or other project docs
|
|
47
|
-
|
|
48
|
-
Use the Edit tool with file_path: {{docPath}}
|
|
49
|
-
|
|
50
|
-
REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function g(){let w=S(),z=P(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function M(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await g(),K=J?`
|
|
51
|
-
|
|
52
|
-
DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
|
|
53
|
-
The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
|
|
54
|
-
|
|
55
|
-
"${J}"
|
|
56
|
-
|
|
57
|
-
These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return M(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{C();E()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=U(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(b(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let _=await R(q,w.path,H.title,H.instructions),x=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of k({agentDefinition:l(),promptMessages:[F({content:_})],toolUseContext:Z,canUseTool:x,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var s=N(()=>{I();m();p();T();h();a();f();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=O(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(L(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
|
|
58
|
-
export{Xw as ch,Zw as dh,s as eh};
|