@claudiolabs/claudio 0.1.9 → 0.1.10
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.1.10-6d1adwh4.mjs +1 -0
- package/dist/chunks/App-0.1.10-kcqgpy9v.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.10-276swzgm.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.1.10-zy1wpm5p.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.1.10-wm40g3s8.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.10-s6979mex.mjs +1 -0
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.10-r7fr5krr.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.10-r34sxess.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.10-fkrt161g.mjs +1 -0
- package/dist/chunks/DiffDialog-0.1.10-z3c417rj.mjs +3 -0
- package/dist/chunks/Doctor-0.1.10-hzxpkma0.mjs +1 -0
- package/dist/chunks/Grove-0.1.10-k7t0bk1q.mjs +1 -0
- package/dist/chunks/ITermBackend-0.1.10-9nmcsqzc.mjs +1 -0
- package/dist/chunks/InProcessTransport-0.1.10-wpgrvt4k.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.1.10-1yxptsrm.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.10-2dx3wzpc.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.10-52vcfe6j.mjs +1 -0
- package/dist/chunks/Onboarding-0.1.10-sshvgxhv.mjs +1 -0
- package/dist/chunks/ProviderManager-0.1.10-gk479qf3.mjs +1 -0
- package/dist/chunks/REPL-0.1.10-pzwdjhkc.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.1.10-h4qtmeht.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.1.10-7pnzpe15.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.1.10-pna8cvtz.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.10-qgt41j05.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.1.10-yhws2rqe.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.1.10-235npnf1.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.1.10-9dwz8tfs.mjs +1 -0
- package/dist/chunks/TrustDialog-0.1.10-j46d8gme.mjs +1 -0
- package/dist/chunks/activeProvider-0.1.10-mc05hsn1.mjs +1 -0
- package/dist/chunks/add-dir-0.1.10-67yt41qd.mjs +1 -0
- package/dist/chunks/agents-0.1.10-c6k1gjp7.mjs +3 -0
- package/dist/chunks/agents-0.1.10-ezzxfn1m.mjs +111 -0
- package/dist/chunks/api-0.1.10-712k136n.mjs +1 -0
- package/dist/chunks/asciicast-0.1.10-p5232pbe.mjs +1 -0
- package/dist/chunks/assistant-0.1.10-ghtz2fm5.mjs +1 -0
- package/dist/chunks/auth-0.1.10-ec2e3mg3.mjs +1 -0
- package/dist/chunks/auth-0.1.10-pnnxbpmz.mjs +1 -0
- package/dist/chunks/autoMode-0.1.10-en4g4zp3.mjs +48 -0
- package/dist/chunks/backgroundHousekeeping-0.1.10-w42bm2y9.mjs +1 -0
- package/dist/chunks/branch-0.1.10-z00acm0q.mjs +4 -0
- package/dist/chunks/bridgePointer-0.1.10-0fpe1aqp.mjs +1 -0
- package/dist/chunks/btw-0.1.10-zz9v05r2.mjs +1 -0
- package/dist/chunks/buddy-0.1.10-g62mmn7n.mjs +3 -0
- package/dist/chunks/cacache-0.1.10-jdqat7je.mjs +1 -0
- package/dist/chunks/cache-probe-0.1.10-m5je5wda.mjs +21 -0
- package/dist/chunks/cacheStats-0.1.10-h3wmx4ck.mjs +4 -0
- package/dist/chunks/caches-0.1.10-gfv0fw3r.mjs +1 -0
- package/dist/chunks/chrome-0.1.10-vn58ms2z.mjs +1 -0
- package/dist/chunks/chromeNativeHost-0.1.10-1546eayv.mjs +2 -0
- package/dist/chunks/claude-for-chrome-mcp-0.1.10-4pjczkdy.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.1.10-gxr4sfek.mjs +1 -0
- package/dist/chunks/claudemd-0.1.10-fxjaqw0j.mjs +1 -0
- package/dist/chunks/clear-0.1.10-7a42j19v.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.10-vb1ec5bk.mjs +1 -0
- package/dist/chunks/cli-0.1.10-0n4bjm9z.mjs +3 -0
- package/dist/chunks/cli-0.1.10-0zwk2w6t.mjs +3 -0
- package/dist/chunks/cli-0.1.10-17f08ra3.mjs +2 -0
- package/dist/chunks/cli-0.1.10-19jdke0x.mjs +2 -0
- package/dist/chunks/cli-0.1.10-1faf50d6.mjs +2 -0
- package/dist/chunks/cli-0.1.10-1remt68x.mjs +2 -0
- package/dist/chunks/cli-0.1.10-1zgq248j.mjs +2 -0
- package/dist/chunks/cli-0.1.10-227xyew7.mjs +2 -0
- package/dist/chunks/cli-0.1.10-283zk2ee.mjs +2 -0
- package/dist/chunks/cli-0.1.10-28zx3btb.mjs +14 -0
- package/dist/chunks/cli-0.1.10-2a49sq4g.mjs +2 -0
- package/dist/chunks/cli-0.1.10-2ahvbvra.mjs +2 -0
- package/dist/chunks/cli-0.1.10-2gmmnep8.mjs +2 -0
- package/dist/chunks/cli-0.1.10-2k83cndj.mjs +2 -0
- package/dist/chunks/cli-0.1.10-2mqddc7q.mjs +31 -0
- package/dist/chunks/cli-0.1.10-2tygs780.mjs +2 -0
- package/dist/chunks/cli-0.1.10-3chjvgrj.mjs +2 -0
- package/dist/chunks/cli-0.1.10-3d0w3dmn.mjs +12 -0
- package/dist/chunks/cli-0.1.10-3q43p3wr.mjs +11 -0
- package/dist/chunks/cli-0.1.10-3s7cftaq.mjs +39 -0
- package/dist/chunks/cli-0.1.10-3zkqq9sp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-4a42q38j.mjs +2 -0
- package/dist/chunks/cli-0.1.10-4c5p0gjr.mjs +3 -0
- package/dist/chunks/cli-0.1.10-4jsc4zm5.mjs +2 -0
- package/dist/chunks/cli-0.1.10-4md6sg2a.mjs +2 -0
- package/dist/chunks/cli-0.1.10-4n8p34vn.mjs +2 -0
- package/dist/chunks/cli-0.1.10-4n8rvtk0.mjs +2 -0
- package/dist/chunks/cli-0.1.10-4nrdrp9t.mjs +21 -0
- package/dist/chunks/cli-0.1.10-4q7m47pn.mjs +3 -0
- package/dist/chunks/cli-0.1.10-4vnky3f9.mjs +3 -0
- package/dist/chunks/cli-0.1.10-594z8zdp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-5jnkne9q.mjs +2 -0
- package/dist/chunks/cli-0.1.10-5kg4wpz2.mjs +2 -0
- package/dist/chunks/cli-0.1.10-5tyyhz34.mjs +833 -0
- package/dist/chunks/cli-0.1.10-63qeecn7.mjs +24 -0
- package/dist/chunks/cli-0.1.10-6bn5q3gp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-6f66h3s0.mjs +2 -0
- package/dist/chunks/cli-0.1.10-6g6ga1zd.mjs +2 -0
- package/dist/chunks/cli-0.1.10-6p8tttyp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-6wf59qza.mjs +58 -0
- package/dist/chunks/cli-0.1.10-72ece2yk.mjs +2 -0
- package/dist/chunks/cli-0.1.10-73y7xdxy.mjs +2 -0
- package/dist/chunks/cli-0.1.10-7691mckr.mjs +2 -0
- package/dist/chunks/cli-0.1.10-77zcax57.mjs +2 -0
- package/dist/chunks/cli-0.1.10-7d7j1qyf.mjs +2 -0
- package/dist/chunks/cli-0.1.10-7ngfsh9h.mjs +4 -0
- package/dist/chunks/cli-0.1.10-7v1vvde4.mjs +8 -0
- package/dist/chunks/cli-0.1.10-7ydarbm4.mjs +2 -0
- package/dist/chunks/cli-0.1.10-8dyffagh.mjs +2 -0
- package/dist/chunks/cli-0.1.10-91tna7ay.mjs +2 -0
- package/dist/chunks/cli-0.1.10-977j0ey2.mjs +2 -0
- package/dist/chunks/cli-0.1.10-97rwbawt.mjs +2 -0
- package/dist/chunks/cli-0.1.10-9dfywk37.mjs +2 -0
- package/dist/chunks/cli-0.1.10-9rh1hjrr.mjs +16 -0
- package/dist/chunks/cli-0.1.10-9ybfn3a4.mjs +50 -0
- package/dist/chunks/cli-0.1.10-9zjhrr6j.mjs +2 -0
- package/dist/chunks/cli-0.1.10-a4p945wp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-a53q2hat.mjs +2 -0
- package/dist/chunks/cli-0.1.10-a6j6www8.mjs +10 -0
- package/dist/chunks/cli-0.1.10-acy8ec7t.mjs +2 -0
- package/dist/chunks/cli-0.1.10-akaq0zte.mjs +2 -0
- package/dist/chunks/cli-0.1.10-aw4xkrf7.mjs +2 -0
- package/dist/chunks/cli-0.1.10-b59j6twr.mjs +2 -0
- package/dist/chunks/cli-0.1.10-be8dvtg8.mjs +2 -0
- package/dist/chunks/cli-0.1.10-bfw7yx17.mjs +2 -0
- package/dist/chunks/cli-0.1.10-bgxwxmv1.mjs +2 -0
- package/dist/chunks/cli-0.1.10-bqsa7eam.mjs +2 -0
- package/dist/chunks/cli-0.1.10-brfs5rdm.mjs +4 -0
- package/dist/chunks/cli-0.1.10-bw6411be.mjs +3 -0
- package/dist/chunks/cli-0.1.10-bxbkeycj.mjs +4 -0
- package/dist/chunks/cli-0.1.10-c7bkm855.mjs +4 -0
- package/dist/chunks/cli-0.1.10-cd9k16mb.mjs +2 -0
- package/dist/chunks/cli-0.1.10-ckb6d1wg.mjs +5 -0
- package/dist/chunks/cli-0.1.10-cp1bprrv.mjs +2 -0
- package/dist/chunks/cli-0.1.10-crwvcrfq.mjs +2 -0
- package/dist/chunks/cli-0.1.10-d48qgcag.mjs +2 -0
- package/dist/chunks/cli-0.1.10-d70y9y7x.mjs +2 -0
- package/dist/chunks/cli-0.1.10-dh7by4rw.mjs +2 -0
- package/dist/chunks/cli-0.1.10-dx1a4dz7.mjs +2 -0
- package/dist/chunks/cli-0.1.10-dx92txwb.mjs +13 -0
- package/dist/chunks/cli-0.1.10-e0ftjytk.mjs +2 -0
- package/dist/chunks/cli-0.1.10-e4qewc1p.mjs +44 -0
- package/dist/chunks/cli-0.1.10-e64kvn2p.mjs +2 -0
- package/dist/chunks/cli-0.1.10-eh248dzz.mjs +15 -0
- package/dist/chunks/cli-0.1.10-ejtn8grm.mjs +2 -0
- package/dist/chunks/cli-0.1.10-er8zk2kj.mjs +2 -0
- package/dist/chunks/cli-0.1.10-f1nw74m1.mjs +2 -0
- package/dist/chunks/cli-0.1.10-f2jh6yv0.mjs +2 -0
- package/dist/chunks/cli-0.1.10-f38gq0e0.mjs +2 -0
- package/dist/chunks/cli-0.1.10-f7wg8ttz.mjs +2 -0
- package/dist/chunks/cli-0.1.10-fay16q4v.mjs +2 -0
- package/dist/chunks/cli-0.1.10-fcarec7s.mjs +2 -0
- package/dist/chunks/cli-0.1.10-fh4zzwzq.mjs +5 -0
- package/dist/chunks/cli-0.1.10-fhvyzg2m.mjs +2 -0
- package/dist/chunks/cli-0.1.10-frs4kmth.mjs +2 -0
- package/dist/chunks/cli-0.1.10-g6rx9rdb.mjs +132 -0
- package/dist/chunks/cli-0.1.10-gccb3gw8.mjs +4 -0
- package/dist/chunks/cli-0.1.10-gdqbhzyr.mjs +100 -0
- package/dist/chunks/cli-0.1.10-gms4557v.mjs +252 -0
- package/dist/chunks/cli-0.1.10-gnds07ck.mjs +2 -0
- package/dist/chunks/cli-0.1.10-h7dsgrnw.mjs +2 -0
- package/dist/chunks/cli-0.1.10-h7egg5xp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-hbk3dhq8.mjs +24 -0
- package/dist/chunks/cli-0.1.10-hpa8eyg4.mjs +2 -0
- package/dist/chunks/cli-0.1.10-hpg8gdm2.mjs +2 -0
- package/dist/chunks/cli-0.1.10-hrjh10v7.mjs +2 -0
- package/dist/chunks/cli-0.1.10-hwk5cfdc.mjs +2 -0
- package/dist/chunks/cli-0.1.10-hyxg32sc.mjs +2 -0
- package/dist/chunks/cli-0.1.10-jb7jbbms.mjs +2 -0
- package/dist/chunks/cli-0.1.10-jjdvb4je.mjs +2 -0
- package/dist/chunks/cli-0.1.10-js33z9dt.mjs +2 -0
- package/dist/chunks/cli-0.1.10-jy0nmcmp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-jy7ds572.mjs +2 -0
- package/dist/chunks/cli-0.1.10-kdqsv63d.mjs +3 -0
- package/dist/chunks/cli-0.1.10-knbxee8j.mjs +2 -0
- package/dist/chunks/cli-0.1.10-kp2t4r8z.mjs +2 -0
- package/dist/chunks/cli-0.1.10-me1f9fvm.mjs +2 -0
- package/dist/chunks/cli-0.1.10-mjy2g3ce.mjs +7 -0
- package/dist/chunks/cli-0.1.10-mqgz2v10.mjs +2 -0
- package/dist/chunks/cli-0.1.10-mt4jf92z.mjs +2 -0
- package/dist/chunks/cli-0.1.10-mt6tj76h.mjs +192 -0
- package/dist/chunks/cli-0.1.10-mv1psn5z.mjs +15 -0
- package/dist/chunks/cli-0.1.10-n0kq1anb.mjs +22 -0
- package/dist/chunks/cli-0.1.10-nfnje7ew.mjs +34 -0
- package/dist/chunks/cli-0.1.10-nh3yfpyp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-npkfteg7.mjs +2 -0
- package/dist/chunks/cli-0.1.10-nzvv74kz.mjs +2 -0
- package/dist/chunks/cli-0.1.10-nzxw7p2m.mjs +4 -0
- package/dist/chunks/cli-0.1.10-p42gvsdg.mjs +2 -0
- package/dist/chunks/cli-0.1.10-p4a151rw.mjs +2 -0
- package/dist/chunks/cli-0.1.10-p5wpvhbv.mjs +2 -0
- package/dist/chunks/cli-0.1.10-pagxn9ep.mjs +2 -0
- package/dist/chunks/cli-0.1.10-pw67rrjr.mjs +2 -0
- package/dist/chunks/cli-0.1.10-qez6cjt8.mjs +2 -0
- package/dist/chunks/cli-0.1.10-qf6ps98q.mjs +2 -0
- package/dist/chunks/cli-0.1.10-qhh8pa5t.mjs +2 -0
- package/dist/chunks/cli-0.1.10-qkv7g58s.mjs +2 -0
- package/dist/chunks/cli-0.1.10-qtq4gx83.mjs +3 -0
- package/dist/chunks/cli-0.1.10-qw2c8g14.mjs +2 -0
- package/dist/chunks/cli-0.1.10-qw7kdg27.mjs +2 -0
- package/dist/chunks/cli-0.1.10-rgtrj3k8.mjs +2 -0
- package/dist/chunks/cli-0.1.10-rjz4ymc4.mjs +2 -0
- package/dist/chunks/cli-0.1.10-rnwbgj0h.mjs +134 -0
- package/dist/chunks/cli-0.1.10-rpyv9ekb.mjs +45 -0
- package/dist/chunks/cli-0.1.10-rr3xpxx1.mjs +2 -0
- package/dist/chunks/cli-0.1.10-rvb440sp.mjs +2 -0
- package/dist/chunks/cli-0.1.10-s3x3vzah.mjs +2 -0
- package/dist/chunks/cli-0.1.10-s4x77tm0.mjs +2 -0
- package/dist/chunks/cli-0.1.10-s6jxst02.mjs +2 -0
- package/dist/chunks/cli-0.1.10-s7s5bgrq.mjs +11 -0
- package/dist/chunks/cli-0.1.10-s7zk0vc8.mjs +18 -0
- package/dist/chunks/cli-0.1.10-sab6x266.mjs +2 -0
- package/dist/chunks/cli-0.1.10-seekz53q.mjs +2 -0
- package/dist/chunks/cli-0.1.10-sre7cbsg.mjs +2 -0
- package/dist/chunks/cli-0.1.10-szz5tkt1.mjs +4 -0
- package/dist/chunks/cli-0.1.10-t0v9d184.mjs +2 -0
- package/dist/chunks/cli-0.1.10-t1zd86kd.mjs +2 -0
- package/dist/chunks/cli-0.1.10-t8rnwwhq.mjs +2 -0
- package/dist/chunks/cli-0.1.10-ta048zme.mjs +3 -0
- package/dist/chunks/cli-0.1.10-tf9dk84p.mjs +2 -0
- package/dist/chunks/cli-0.1.10-v0vhyf3h.mjs +4 -0
- package/dist/chunks/cli-0.1.10-v385rk98.mjs +2 -0
- package/dist/chunks/cli-0.1.10-v582vfad.mjs +2 -0
- package/dist/chunks/cli-0.1.10-v6gq9bxc.mjs +7 -0
- package/dist/chunks/cli-0.1.10-vrd90nhd.mjs +16 -0
- package/dist/chunks/cli-0.1.10-w1hqcxj1.mjs +2 -0
- package/dist/chunks/cli-0.1.10-w8np72sh.mjs +2 -0
- package/dist/chunks/cli-0.1.10-wajz23ff.mjs +2 -0
- package/dist/chunks/cli-0.1.10-wjmtd9vm.mjs +6 -0
- package/dist/chunks/cli-0.1.10-wm8pd1jq.mjs +2 -0
- package/dist/chunks/cli-0.1.10-wvhzawgv.mjs +12 -0
- package/dist/chunks/cli-0.1.10-x1qs5ctr.mjs +2 -0
- package/dist/chunks/cli-0.1.10-x2eaxa4s.mjs +2 -0
- package/dist/chunks/cli-0.1.10-xfdakzcb.mjs +2 -0
- package/dist/chunks/cli-0.1.10-xjpjs3y5.mjs +2 -0
- package/dist/chunks/cli-0.1.10-xzz1tdne.mjs +2 -0
- package/dist/chunks/cli-0.1.10-y17z0pes.mjs +2 -0
- package/dist/chunks/cli-0.1.10-y1bkenem.mjs +2 -0
- package/dist/chunks/cli-0.1.10-y2byece1.mjs +12 -0
- package/dist/chunks/cli-0.1.10-y3q22zvb.mjs +2 -0
- package/dist/chunks/cli-0.1.10-y6a8q1t3.mjs +9 -0
- package/dist/chunks/cli-0.1.10-y9mkzh11.mjs +5036 -0
- package/dist/chunks/cli-0.1.10-yq3dy7w2.mjs +2 -0
- package/dist/chunks/cli-0.1.10-yset0578.mjs +2 -0
- package/dist/chunks/cli-0.1.10-z20mk55m.mjs +5 -0
- package/dist/chunks/cli-0.1.10-z3f97n2d.mjs +6 -0
- package/dist/chunks/cli-0.1.10-z4a84y0c.mjs +2 -0
- package/dist/chunks/cli-0.1.10-z7ghb8z7.mjs +2 -0
- package/dist/chunks/cli-0.1.10-zeqsd250.mjs +2 -0
- package/dist/chunks/cli-0.1.10-zxcxqxwv.mjs +2 -0
- package/dist/chunks/cli-0.1.10-zxgw1kqq.mjs +2 -0
- package/dist/chunks/client-0.1.10-btm7zd17.mjs +1 -0
- package/dist/chunks/color-0.1.10-h3wdkq18.mjs +1 -0
- package/dist/chunks/compact-0.1.10-3vz0z7cj.mjs +3 -0
- package/dist/chunks/config-0.1.10-37452dtw.mjs +1 -0
- package/dist/chunks/config-0.1.10-apkj5t0e.mjs +1 -0
- package/dist/chunks/context-0.1.10-z4vfp64w.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.1.10-xmmn39z5.mjs +1 -0
- package/dist/chunks/conversation-0.1.10-p82mc6k7.mjs +1 -0
- package/dist/chunks/copy-0.1.10-y1c1gb1w.mjs +9 -0
- package/dist/chunks/cost-0.1.10-d5wpnm54.mjs +1 -0
- package/dist/chunks/createSession-0.1.10-7bq5e7c3.mjs +1 -0
- package/dist/chunks/desktop-0.1.10-3f54fc1k.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.10-1kyc0kvc.mjs +1 -0
- package/dist/chunks/detection-0.1.10-0h6d9cqt.mjs +1 -0
- package/dist/chunks/devtools-0.1.10-93f39njd.mjs +1 -0
- package/dist/chunks/diff-0.1.10-j17ke0k6.mjs +1 -0
- package/dist/chunks/doctor-0.1.10-wcq13152.mjs +1 -0
- package/dist/chunks/earlyInput-0.1.10-k1phbjt5.mjs +1 -0
- package/dist/chunks/effort-0.1.10-kanyae0a.mjs +8 -0
- package/dist/chunks/environmentSelection-0.1.10-ydckkyqx.mjs +1 -0
- package/dist/chunks/environments-0.1.10-7dht1svt.mjs +1 -0
- package/dist/chunks/exit-0.1.10-q7af8rb6.mjs +1 -0
- package/dist/chunks/export-0.1.10-tgsj9sg2.mjs +2 -0
- package/dist/chunks/extra-usage-0.1.10-qccdgzpk.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.10-5rpbnmgs.mjs +1 -0
- package/dist/chunks/fast-0.1.10-eq1jgfqk.mjs +1 -0
- package/dist/chunks/feedback-0.1.10-yvpgv2wy.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.1.10-1q5vbtwp.mjs +1 -0
- package/dist/chunks/git-0.1.10-ngvcytb0.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.1.10-w5g5cqhg.mjs +1 -0
- package/dist/chunks/growthbook-0.1.10-zkm4sham.mjs +1 -0
- package/dist/chunks/heapdump-0.1.10-29gq2jvb.mjs +6 -0
- package/dist/chunks/help-0.1.10-yj8ra443.mjs +1 -0
- package/dist/chunks/hookChains-0.1.10-32qn4nw8.mjs +3 -0
- package/dist/chunks/hooks-0.1.10-epp78p44.mjs +79 -0
- package/dist/chunks/hooks-0.1.10-fjrmscrk.mjs +1 -0
- package/dist/chunks/ide-0.1.10-361fyyet.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.1.10-18yjap6z.mjs +1 -0
- package/dist/chunks/index-0.1.10-1cxj797w.mjs +2 -0
- package/dist/chunks/index-0.1.10-30c6wwdm.mjs +30 -0
- package/dist/chunks/index-0.1.10-80bh88yr.mjs +1 -0
- package/dist/chunks/index-0.1.10-8apwt1gk.mjs +1 -0
- package/dist/chunks/index-0.1.10-8c4f5nq6.mjs +2 -0
- package/dist/chunks/index-0.1.10-9mqxzarc.mjs +5 -0
- package/dist/chunks/index-0.1.10-c29w46aj.mjs +1 -0
- package/dist/chunks/index-0.1.10-c450y86m.mjs +1 -0
- package/dist/chunks/index-0.1.10-d1r31eyx.mjs +9 -0
- package/dist/chunks/index-0.1.10-drj30y1c.mjs +1 -0
- package/dist/chunks/index-0.1.10-g667a23q.mjs +1 -0
- package/dist/chunks/index-0.1.10-gz2mwwnj.mjs +1 -0
- package/dist/chunks/index-0.1.10-m1gd7g5v.mjs +1 -0
- package/dist/chunks/index-0.1.10-n4bkm7fr.mjs +9 -0
- package/dist/chunks/index-0.1.10-r42rb77w.mjs +7 -0
- package/dist/chunks/index-0.1.10-ra4k3x9k.mjs +1 -0
- package/dist/chunks/index-0.1.10-s32szzwg.mjs +1 -0
- package/dist/chunks/index-0.1.10-std21r3g.mjs +1 -0
- package/dist/chunks/index-0.1.10-t71jm4x7.mjs +1 -0
- package/dist/chunks/index-0.1.10-vpcq7nfa.mjs +1 -0
- package/dist/chunks/index-0.1.10-x6dkpkw7.mjs +1 -0
- package/dist/chunks/index-0.1.10-xqy1yh0c.mjs +1 -0
- package/dist/chunks/initReplBridge-0.1.10-4af5e275.mjs +1 -0
- package/dist/chunks/ink-0.1.10-57r8vscr.mjs +1 -0
- package/dist/chunks/insights-0.1.10-rptwhmpm.mjs +870 -0
- package/dist/chunks/install-0.1.10-9w2w5vre.mjs +1 -0
- package/dist/chunks/install-github-app-0.1.10-xhj1zyqh.mjs +149 -0
- package/dist/chunks/install-slack-app-0.1.10-tq51qy4s.mjs +1 -0
- package/dist/chunks/instrumentation-0.1.10-kyzfec48.mjs +12 -0
- package/dist/chunks/interactiveHelpers-0.1.10-1491802m.mjs +1 -0
- package/dist/chunks/keybindings-0.1.10-fpyw69y7.mjs +2 -0
- package/dist/chunks/knowledge-0.1.10-2aa0bb5w.mjs +2 -0
- package/dist/chunks/loadAgentsDir-0.1.10-h8t0ppav.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.10-ne71stmt.mjs +1 -0
- package/dist/chunks/logout-0.1.10-xxm4ydq9.mjs +1 -0
- package/dist/chunks/lsp-0.1.10-k53wta4y.mjs +1 -0
- package/dist/chunks/main-0.1.10-q3qenxfq.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.10-s37qwcz1.mjs +1 -0
- package/dist/chunks/mcp-0.1.10-af795ewj.mjs +1 -0
- package/dist/chunks/mcp-0.1.10-b5z770fs.mjs +17 -0
- package/dist/chunks/mcp-0.1.10-nd17220r.mjs +4 -0
- package/dist/chunks/mcpServer-0.1.10-vrpfykem.mjs +1 -0
- package/dist/chunks/mcpb-0.1.10-jzxbat3k.mjs +1 -0
- package/dist/chunks/memory-0.1.10-zwzw20d5.mjs +3 -0
- package/dist/chunks/mobile-0.1.10-02fzsby3.mjs +2 -0
- package/dist/chunks/model-0.1.10-9g2nyrq7.mjs +1 -0
- package/dist/chunks/model-0.1.10-rygn5rc7.mjs +2 -0
- package/dist/chunks/oauth-0.1.10-t6fn448z.mjs +1 -0
- package/dist/chunks/openaiShim-0.1.10-gnhp89j2.mjs +14 -0
- package/dist/chunks/output-style-0.1.10-tnvcw858.mjs +1 -0
- package/dist/chunks/package-HMBVQOZ4-0.1.10-zd9nnmft.mjs +1 -0
- package/dist/chunks/parser-0.1.10-yemkwzb2.mjs +1 -0
- package/dist/chunks/passes-0.1.10-3zg7g2tp.mjs +1 -0
- package/dist/chunks/permissions-0.1.10-3tmntee5.mjs +3 -0
- package/dist/chunks/plan-0.1.10-sj11cbeb.mjs +1 -0
- package/dist/chunks/plist-0.1.10-mfhsxrkb.mjs +1 -0
- package/dist/chunks/plugin-0.1.10-c2rxcqb7.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.1.10-n5esk5p9.mjs +1 -0
- package/dist/chunks/plugins-0.1.10-cyb1q58v.mjs +9 -0
- package/dist/chunks/print-0.1.10-s2t5nd3y.mjs +57 -0
- package/dist/chunks/privacy-settings-0.1.10-kxx4szxa.mjs +1 -0
- package/dist/chunks/process-0.1.10-kp51xxsy.mjs +1 -0
- package/dist/chunks/processBashCommand-0.1.10-t1cdkkjx.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.1.10-pvndkc40.mjs +9 -0
- package/dist/chunks/prompt-0.1.10-2kjnmw4z.mjs +1 -0
- package/dist/chunks/prompt-0.1.10-v546t6x4.mjs +1 -0
- package/dist/chunks/prompts-0.1.10-8k80tabm.mjs +1 -0
- package/dist/chunks/provider-0.1.10-5p16y1p3.mjs +2 -0
- package/dist/chunks/providerProfiles-0.1.10-0r6j5m52.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.10-0sgjcqvt.mjs +1 -0
- package/dist/chunks/registry-0.1.10-nyx80cwb.mjs +1 -0
- package/dist/chunks/release-notes-0.1.10-8bpsjmax.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.10-f8cj2ymj.mjs +2 -0
- package/dist/chunks/remote-env-0.1.10-x65rh1n3.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.1.10-tk9vhzgk.mjs +1 -0
- package/dist/chunks/remoteSession-0.1.10-xx5eng27.mjs +1 -0
- package/dist/chunks/rename-0.1.10-zjwr9vqm.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.10-34e8jwrt.mjs +1 -0
- package/dist/chunks/resume-0.1.10-dc75n2zf.mjs +2 -0
- package/dist/chunks/rewind-0.1.10-kt2968kt.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.1.10-whhwsy1v.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.1.10-19w6767r.mjs +1 -0
- package/dist/chunks/session-0.1.10-pzsbjyqm.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.10-jaadayzy.mjs +1 -0
- package/dist/chunks/sessionStorage-0.1.10-b72srv50.mjs +1 -0
- package/dist/chunks/setup-0.1.10-fbs90hdh.mjs +5 -0
- package/dist/chunks/sinks-0.1.10-02w5f1q9.mjs +1 -0
- package/dist/chunks/skills-0.1.10-pexnbjqd.mjs +1 -0
- package/dist/chunks/startupProfiler-0.1.10-gcv6ckp5.mjs +1 -0
- package/dist/chunks/state-0.1.10-embrgn1a.mjs +1 -0
- package/dist/chunks/stats-0.1.10-s0rzmsxx.mjs +6 -0
- package/dist/chunks/status-0.1.10-8r0jrc8n.mjs +1 -0
- package/dist/chunks/stickers-0.1.10-dj7ganhx.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.10-hpv416jp.mjs +1 -0
- package/dist/chunks/tasks-0.1.10-cnvnk57k.mjs +1 -0
- package/dist/chunks/teamHelpers-0.1.10-j6sfy2zc.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.1.10-ddhe13pc.mjs +1 -0
- package/dist/chunks/teleport-0.1.10-saft8sby.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.10-4p5xvtyy.mjs +1 -0
- package/dist/chunks/theme-0.1.10-5xss74sp.mjs +1 -0
- package/dist/chunks/thinkback-0.1.10-e4bz61r1.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.10-0vjf0r8c.mjs +1 -0
- package/dist/chunks/toolPool-0.1.10-57jq29ct.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.10-ysjw302j.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.10-zy988esg.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.1.10-vhmcr6t6.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.1.10-sqjsmw0x.mjs +4 -0
- package/dist/chunks/update-0.1.10-p7ctpbkr.mjs +94 -0
- package/dist/chunks/upgrade-0.1.10-8585sfbv.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.1.10-ddbrjzqt.mjs +14 -0
- package/dist/chunks/usage-0.1.10-r8vznre6.mjs +1 -0
- package/dist/chunks/util-0.1.10-51fk6c0k.mjs +1 -0
- package/dist/chunks/utils-0.1.10-43r4vneb.mjs +1 -0
- package/dist/chunks/vim-0.1.10-3yzrqjw5.mjs +1 -0
- package/dist/chunks/watcher-0.1.10-xq2qsexd.mjs +1 -0
- package/dist/chunks/wiki-0.1.10-v3w4719f.mjs +132 -0
- package/dist/chunks/worktree-0.1.10-b5r0y9mr.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.10-ckcv927j.mjs +1 -0
- package/dist/chunks/wrapper-0.1.10-10976h3e.mjs +7 -0
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +6 -6
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.1.9-e26h2f7z.mjs +0 -1
- package/dist/chunks/App-0.1.9-7ttp2eny.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.9-pz0jzna9.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.1.9-r5wg1yfv.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.9-nbnjg2tp.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.9-wjg6qps3.mjs +0 -1
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.9-h46b49p8.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.9-b8em430v.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.9-zb1h6dvy.mjs +0 -1
- package/dist/chunks/DiffDialog-0.1.9-09s28v8e.mjs +0 -3
- package/dist/chunks/Doctor-0.1.9-9ak6wqtr.mjs +0 -1
- package/dist/chunks/Grove-0.1.9-rbrf13rd.mjs +0 -1
- package/dist/chunks/ITermBackend-0.1.9-8dgw249h.mjs +0 -1
- package/dist/chunks/InProcessTransport-0.1.9-5cp1e7x7.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.9-6mv9wgt8.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.9-d5kkd4yd.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.9-56807wps.mjs +0 -1
- package/dist/chunks/Onboarding-0.1.9-g5nqdh1r.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.9-kj6t8003.mjs +0 -1
- package/dist/chunks/REPL-0.1.9-3h2fc9z7.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.1.9-k4gv6dx4.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.1.9-v3h7drc0.mjs +0 -1
- package/dist/chunks/StartupScreen-0.1.9-jgk08xvj.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.9-pnqkmgap.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.9-ddtmy43v.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.1.9-vhnyx04e.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.1.9-nb2ks1np.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.1.9-n40whaty.mjs +0 -1
- package/dist/chunks/TrustDialog-0.1.9-dm2wppgy.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.9-kbwwatt3.mjs +0 -1
- package/dist/chunks/add-dir-0.1.9-ed53zp9j.mjs +0 -1
- package/dist/chunks/agents-0.1.9-4gwb1qtc.mjs +0 -111
- package/dist/chunks/agents-0.1.9-yr85gwa8.mjs +0 -3
- package/dist/chunks/api-0.1.9-kqwfw6wj.mjs +0 -1
- package/dist/chunks/asciicast-0.1.9-ekvsjx76.mjs +0 -1
- package/dist/chunks/assistant-0.1.9-h4rgf0xq.mjs +0 -1
- package/dist/chunks/auth-0.1.9-1c12xrxs.mjs +0 -1
- package/dist/chunks/auth-0.1.9-rqfx3vqa.mjs +0 -1
- package/dist/chunks/autoMode-0.1.9-s92asycq.mjs +0 -48
- package/dist/chunks/backgroundHousekeeping-0.1.9-jjbqckpm.mjs +0 -1
- package/dist/chunks/branch-0.1.9-m7j2aerq.mjs +0 -4
- package/dist/chunks/bridgePointer-0.1.9-rv3aq23v.mjs +0 -1
- package/dist/chunks/btw-0.1.9-g55x31zp.mjs +0 -1
- package/dist/chunks/buddy-0.1.9-fqmk7e4y.mjs +0 -3
- package/dist/chunks/cacache-0.1.9-dr1vt8s1.mjs +0 -1
- package/dist/chunks/cache-probe-0.1.9-ydmjrch4.mjs +0 -21
- package/dist/chunks/cacheStats-0.1.9-pkarrnw9.mjs +0 -4
- package/dist/chunks/caches-0.1.9-d6cndrra.mjs +0 -1
- package/dist/chunks/chrome-0.1.9-bvwzw157.mjs +0 -1
- package/dist/chunks/chromeNativeHost-0.1.9-8a20nscz.mjs +0 -2
- package/dist/chunks/claude-for-chrome-mcp-0.1.9-ndknjd3g.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.1.9-7xprztbk.mjs +0 -1
- package/dist/chunks/claudemd-0.1.9-dqyhgy2v.mjs +0 -1
- package/dist/chunks/clear-0.1.9-tb8x7676.mjs +0 -1
- package/dist/chunks/cli-0.1.9-001s9kxw.mjs +0 -24
- package/dist/chunks/cli-0.1.9-03e1d9dw.mjs +0 -39
- package/dist/chunks/cli-0.1.9-04ez73f7.mjs +0 -5084
- package/dist/chunks/cli-0.1.9-0dtdhejj.mjs +0 -31
- package/dist/chunks/cli-0.1.9-0e6nsh68.mjs +0 -3
- package/dist/chunks/cli-0.1.9-0j8n671q.mjs +0 -2
- package/dist/chunks/cli-0.1.9-15y0qt1z.mjs +0 -2
- package/dist/chunks/cli-0.1.9-1c3qpbdh.mjs +0 -2
- package/dist/chunks/cli-0.1.9-1f5gmndb.mjs +0 -2
- package/dist/chunks/cli-0.1.9-1ghbcafn.mjs +0 -2
- package/dist/chunks/cli-0.1.9-1kaj4v6k.mjs +0 -2
- package/dist/chunks/cli-0.1.9-1xmdqqzd.mjs +0 -3
- package/dist/chunks/cli-0.1.9-263y2rkc.mjs +0 -3
- package/dist/chunks/cli-0.1.9-2dd7h0hn.mjs +0 -15
- package/dist/chunks/cli-0.1.9-2prq7peb.mjs +0 -2
- package/dist/chunks/cli-0.1.9-2tc83tsz.mjs +0 -2
- package/dist/chunks/cli-0.1.9-2thp2z73.mjs +0 -2
- package/dist/chunks/cli-0.1.9-2v0y90vz.mjs +0 -2
- package/dist/chunks/cli-0.1.9-2v4s8yf9.mjs +0 -7
- package/dist/chunks/cli-0.1.9-2x18rhq6.mjs +0 -6
- package/dist/chunks/cli-0.1.9-38zb09vp.mjs +0 -2
- package/dist/chunks/cli-0.1.9-3g3er8j1.mjs +0 -15
- package/dist/chunks/cli-0.1.9-3h4serkj.mjs +0 -58
- package/dist/chunks/cli-0.1.9-3rhe87kw.mjs +0 -2
- package/dist/chunks/cli-0.1.9-3vfq7jja.mjs +0 -34
- package/dist/chunks/cli-0.1.9-3wmbdmrp.mjs +0 -2
- package/dist/chunks/cli-0.1.9-3y36913h.mjs +0 -10
- package/dist/chunks/cli-0.1.9-3yscrq86.mjs +0 -833
- package/dist/chunks/cli-0.1.9-45ggwszg.mjs +0 -2
- package/dist/chunks/cli-0.1.9-4a9qwf11.mjs +0 -2
- package/dist/chunks/cli-0.1.9-4bg6jxs8.mjs +0 -2
- package/dist/chunks/cli-0.1.9-4kk9fmg2.mjs +0 -2
- package/dist/chunks/cli-0.1.9-4n4dqg6k.mjs +0 -2
- package/dist/chunks/cli-0.1.9-4sqfjw8t.mjs +0 -16
- package/dist/chunks/cli-0.1.9-4vmbyj20.mjs +0 -2
- package/dist/chunks/cli-0.1.9-4vt296k0.mjs +0 -18
- package/dist/chunks/cli-0.1.9-5ryrgdzg.mjs +0 -2
- package/dist/chunks/cli-0.1.9-5vgk7wf7.mjs +0 -2
- package/dist/chunks/cli-0.1.9-5ygmjsje.mjs +0 -2
- package/dist/chunks/cli-0.1.9-5ypg3t0t.mjs +0 -2
- package/dist/chunks/cli-0.1.9-5zhhyq4q.mjs +0 -2
- package/dist/chunks/cli-0.1.9-61ywjha3.mjs +0 -2
- package/dist/chunks/cli-0.1.9-68vwvmkw.mjs +0 -2
- package/dist/chunks/cli-0.1.9-6c7qrr4p.mjs +0 -16
- package/dist/chunks/cli-0.1.9-6gk46nr9.mjs +0 -2
- package/dist/chunks/cli-0.1.9-6j5gxw5r.mjs +0 -5
- package/dist/chunks/cli-0.1.9-6ne451jc.mjs +0 -2
- package/dist/chunks/cli-0.1.9-6p67vwxh.mjs +0 -2
- package/dist/chunks/cli-0.1.9-6pcahrj9.mjs +0 -2
- package/dist/chunks/cli-0.1.9-7047sjwh.mjs +0 -2
- package/dist/chunks/cli-0.1.9-7bakxr5q.mjs +0 -3
- package/dist/chunks/cli-0.1.9-7bthhhpf.mjs +0 -2
- package/dist/chunks/cli-0.1.9-7fp0smtp.mjs +0 -2
- package/dist/chunks/cli-0.1.9-7ftnjyps.mjs +0 -2
- package/dist/chunks/cli-0.1.9-7h5my4fb.mjs +0 -2
- package/dist/chunks/cli-0.1.9-7kcaaxvq.mjs +0 -12
- package/dist/chunks/cli-0.1.9-7q9461ka.mjs +0 -2
- package/dist/chunks/cli-0.1.9-7qhatm3v.mjs +0 -2
- package/dist/chunks/cli-0.1.9-86kws2c7.mjs +0 -192
- package/dist/chunks/cli-0.1.9-8egwvs85.mjs +0 -2
- package/dist/chunks/cli-0.1.9-90h21nv5.mjs +0 -2
- package/dist/chunks/cli-0.1.9-9d4sp76k.mjs +0 -2
- package/dist/chunks/cli-0.1.9-9hc8gyb7.mjs +0 -2
- package/dist/chunks/cli-0.1.9-9nhh15bp.mjs +0 -2
- package/dist/chunks/cli-0.1.9-9vab0er5.mjs +0 -2
- package/dist/chunks/cli-0.1.9-9vn4ys3c.mjs +0 -22
- package/dist/chunks/cli-0.1.9-a1gtww1d.mjs +0 -2
- package/dist/chunks/cli-0.1.9-a7zy4vqn.mjs +0 -134
- package/dist/chunks/cli-0.1.9-a95nqhbd.mjs +0 -4
- package/dist/chunks/cli-0.1.9-ag6a8kqj.mjs +0 -2
- package/dist/chunks/cli-0.1.9-ak0b9xfs.mjs +0 -100
- package/dist/chunks/cli-0.1.9-aqd7czgr.mjs +0 -3
- package/dist/chunks/cli-0.1.9-axg1kbe4.mjs +0 -2
- package/dist/chunks/cli-0.1.9-aype6q4y.mjs +0 -2
- package/dist/chunks/cli-0.1.9-b3031hmy.mjs +0 -2
- package/dist/chunks/cli-0.1.9-b6zp931m.mjs +0 -11
- package/dist/chunks/cli-0.1.9-b73n8vzm.mjs +0 -2
- package/dist/chunks/cli-0.1.9-b9kbpf6n.mjs +0 -2
- package/dist/chunks/cli-0.1.9-bg9xvmav.mjs +0 -2
- package/dist/chunks/cli-0.1.9-bn43vpc0.mjs +0 -2
- package/dist/chunks/cli-0.1.9-br9jzagb.mjs +0 -2
- package/dist/chunks/cli-0.1.9-c2fjeq7k.mjs +0 -2
- package/dist/chunks/cli-0.1.9-c38eyh49.mjs +0 -2
- package/dist/chunks/cli-0.1.9-cfzmq9k6.mjs +0 -2
- package/dist/chunks/cli-0.1.9-cvnkghgh.mjs +0 -3
- package/dist/chunks/cli-0.1.9-dmcbsmj4.mjs +0 -2
- package/dist/chunks/cli-0.1.9-dsx18zt1.mjs +0 -2
- package/dist/chunks/cli-0.1.9-dt31fs16.mjs +0 -2
- package/dist/chunks/cli-0.1.9-dzz1me99.mjs +0 -2
- package/dist/chunks/cli-0.1.9-e7ewtpew.mjs +0 -2
- package/dist/chunks/cli-0.1.9-e96x59hw.mjs +0 -2
- package/dist/chunks/cli-0.1.9-ehhkqhbv.mjs +0 -2
- package/dist/chunks/cli-0.1.9-eqxc9zxm.mjs +0 -12
- package/dist/chunks/cli-0.1.9-ewq9k9mr.mjs +0 -2
- package/dist/chunks/cli-0.1.9-ewwxqbvt.mjs +0 -2
- package/dist/chunks/cli-0.1.9-f4v4pahc.mjs +0 -4
- package/dist/chunks/cli-0.1.9-f643fvt4.mjs +0 -2
- package/dist/chunks/cli-0.1.9-f8ga1n8r.mjs +0 -6
- package/dist/chunks/cli-0.1.9-fcf313e7.mjs +0 -2
- package/dist/chunks/cli-0.1.9-fh5enjw8.mjs +0 -5
- package/dist/chunks/cli-0.1.9-fm2yycpj.mjs +0 -2
- package/dist/chunks/cli-0.1.9-fwqwgjwb.mjs +0 -2
- package/dist/chunks/cli-0.1.9-gandxpzf.mjs +0 -2
- package/dist/chunks/cli-0.1.9-gasw7sr9.mjs +0 -2
- package/dist/chunks/cli-0.1.9-gdymcvby.mjs +0 -2
- package/dist/chunks/cli-0.1.9-gpd1bhnf.mjs +0 -2
- package/dist/chunks/cli-0.1.9-gsc0t4gy.mjs +0 -2
- package/dist/chunks/cli-0.1.9-gvrtqwe3.mjs +0 -2
- package/dist/chunks/cli-0.1.9-h8xne7z8.mjs +0 -2
- package/dist/chunks/cli-0.1.9-hjcv9wr7.mjs +0 -50
- package/dist/chunks/cli-0.1.9-hva25eg3.mjs +0 -4
- package/dist/chunks/cli-0.1.9-hy4peemf.mjs +0 -3
- package/dist/chunks/cli-0.1.9-hy9s1fnj.mjs +0 -14
- package/dist/chunks/cli-0.1.9-hz8rssz0.mjs +0 -2
- package/dist/chunks/cli-0.1.9-j5zz6gbq.mjs +0 -4
- package/dist/chunks/cli-0.1.9-jb6af8n8.mjs +0 -2
- package/dist/chunks/cli-0.1.9-jchn9hyn.mjs +0 -2
- package/dist/chunks/cli-0.1.9-jdpz959j.mjs +0 -2
- package/dist/chunks/cli-0.1.9-jv2z42gk.mjs +0 -2
- package/dist/chunks/cli-0.1.9-kbrf27z8.mjs +0 -2
- package/dist/chunks/cli-0.1.9-krv35v3v.mjs +0 -2
- package/dist/chunks/cli-0.1.9-ksv4ntar.mjs +0 -2
- package/dist/chunks/cli-0.1.9-kt9xw7bn.mjs +0 -2
- package/dist/chunks/cli-0.1.9-m7shtst2.mjs +0 -2
- package/dist/chunks/cli-0.1.9-mfyd9h50.mjs +0 -2
- package/dist/chunks/cli-0.1.9-mj88t3jf.mjs +0 -2
- package/dist/chunks/cli-0.1.9-mjkhzp2c.mjs +0 -3
- package/dist/chunks/cli-0.1.9-mkfnnvz7.mjs +0 -4
- package/dist/chunks/cli-0.1.9-mme2x7fq.mjs +0 -2
- package/dist/chunks/cli-0.1.9-mnegaqr7.mjs +0 -2
- package/dist/chunks/cli-0.1.9-mx4ekht0.mjs +0 -2
- package/dist/chunks/cli-0.1.9-mz3mbxwb.mjs +0 -12
- package/dist/chunks/cli-0.1.9-n445yk6z.mjs +0 -2
- package/dist/chunks/cli-0.1.9-n54k4qt3.mjs +0 -2
- package/dist/chunks/cli-0.1.9-n8tc0gpm.mjs +0 -2
- package/dist/chunks/cli-0.1.9-nsgdz4rd.mjs +0 -2
- package/dist/chunks/cli-0.1.9-nw3rpxdd.mjs +0 -252
- package/dist/chunks/cli-0.1.9-nz8phj17.mjs +0 -2
- package/dist/chunks/cli-0.1.9-p1kdk178.mjs +0 -2
- package/dist/chunks/cli-0.1.9-p58rgwkr.mjs +0 -4
- package/dist/chunks/cli-0.1.9-p5scdysw.mjs +0 -2
- package/dist/chunks/cli-0.1.9-pdbfg3vh.mjs +0 -2
- package/dist/chunks/cli-0.1.9-pgwsmwz1.mjs +0 -2
- package/dist/chunks/cli-0.1.9-ph3w8t78.mjs +0 -2
- package/dist/chunks/cli-0.1.9-psx0e36a.mjs +0 -2
- package/dist/chunks/cli-0.1.9-q3e2h88a.mjs +0 -2
- package/dist/chunks/cli-0.1.9-q7hve442.mjs +0 -2
- package/dist/chunks/cli-0.1.9-qqjp7mpj.mjs +0 -2
- package/dist/chunks/cli-0.1.9-qydwhycw.mjs +0 -2
- package/dist/chunks/cli-0.1.9-r3ha1332.mjs +0 -7
- package/dist/chunks/cli-0.1.9-r7rcv2wm.mjs +0 -8
- package/dist/chunks/cli-0.1.9-rd0jctgk.mjs +0 -21
- package/dist/chunks/cli-0.1.9-rerthk1j.mjs +0 -2
- package/dist/chunks/cli-0.1.9-rft22htm.mjs +0 -2
- package/dist/chunks/cli-0.1.9-rp31nc37.mjs +0 -2
- package/dist/chunks/cli-0.1.9-rw09xkh7.mjs +0 -2
- package/dist/chunks/cli-0.1.9-s0w3y07w.mjs +0 -2
- package/dist/chunks/cli-0.1.9-s45y2ndk.mjs +0 -2
- package/dist/chunks/cli-0.1.9-s6bk4fbn.mjs +0 -2
- package/dist/chunks/cli-0.1.9-scpj6tps.mjs +0 -3
- package/dist/chunks/cli-0.1.9-sqja68fn.mjs +0 -2
- package/dist/chunks/cli-0.1.9-sv3awdsv.mjs +0 -2
- package/dist/chunks/cli-0.1.9-t24n24mw.mjs +0 -2
- package/dist/chunks/cli-0.1.9-teaymnrz.mjs +0 -2
- package/dist/chunks/cli-0.1.9-tq9z3reg.mjs +0 -2
- package/dist/chunks/cli-0.1.9-v32f99vc.mjs +0 -11
- package/dist/chunks/cli-0.1.9-v6x9pr1t.mjs +0 -2
- package/dist/chunks/cli-0.1.9-v7ajk1nz.mjs +0 -2
- package/dist/chunks/cli-0.1.9-vdw09f8y.mjs +0 -44
- package/dist/chunks/cli-0.1.9-vm7cggd9.mjs +0 -45
- package/dist/chunks/cli-0.1.9-vp3dtntc.mjs +0 -2
- package/dist/chunks/cli-0.1.9-vwv31syx.mjs +0 -2
- package/dist/chunks/cli-0.1.9-w692zn5c.mjs +0 -2
- package/dist/chunks/cli-0.1.9-wn39cz20.mjs +0 -2
- package/dist/chunks/cli-0.1.9-wpvrabrk.mjs +0 -2
- package/dist/chunks/cli-0.1.9-x0xxr5dh.mjs +0 -13
- package/dist/chunks/cli-0.1.9-x13p19zq.mjs +0 -2
- package/dist/chunks/cli-0.1.9-x257hapj.mjs +0 -9
- package/dist/chunks/cli-0.1.9-x7qrvj9f.mjs +0 -2
- package/dist/chunks/cli-0.1.9-xvn37fkk.mjs +0 -2
- package/dist/chunks/cli-0.1.9-xvvq2rcd.mjs +0 -4
- package/dist/chunks/cli-0.1.9-xws3mhz4.mjs +0 -2
- package/dist/chunks/cli-0.1.9-y8n4w5nn.mjs +0 -5
- package/dist/chunks/cli-0.1.9-ycvkz1gf.mjs +0 -4
- package/dist/chunks/cli-0.1.9-yddanjg2.mjs +0 -132
- package/dist/chunks/cli-0.1.9-ymsq31jx.mjs +0 -2
- package/dist/chunks/cli-0.1.9-ywf6743k.mjs +0 -2
- package/dist/chunks/cli-0.1.9-z5mm21jw.mjs +0 -24
- package/dist/chunks/cli-0.1.9-zae1me3j.mjs +0 -2
- package/dist/chunks/cli-0.1.9-zck4s4sh.mjs +0 -2
- package/dist/chunks/cli-0.1.9-zehsa1kq.mjs +0 -2
- package/dist/chunks/cli-0.1.9-zqyxbf50.mjs +0 -2
- package/dist/chunks/cli-0.1.9-zstpbdrf.mjs +0 -2
- package/dist/chunks/cli-0.1.9-zzp8m503.mjs +0 -3
- package/dist/chunks/cliArgs-0.1.9-kckasx4h.mjs +0 -1
- package/dist/chunks/client-0.1.9-ys52xz2v.mjs +0 -1
- package/dist/chunks/color-0.1.9-nmnytefc.mjs +0 -1
- package/dist/chunks/compact-0.1.9-qw915ckh.mjs +0 -3
- package/dist/chunks/config-0.1.9-1m69edch.mjs +0 -1
- package/dist/chunks/config-0.1.9-6knxc8a2.mjs +0 -1
- package/dist/chunks/context-0.1.9-47a3xmqq.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.9-6s9bm74v.mjs +0 -1
- package/dist/chunks/conversation-0.1.9-vebter8y.mjs +0 -1
- package/dist/chunks/copy-0.1.9-ae06p3e2.mjs +0 -9
- package/dist/chunks/cost-0.1.9-x5zee0z9.mjs +0 -1
- package/dist/chunks/createSession-0.1.9-djn7xdsv.mjs +0 -1
- package/dist/chunks/desktop-0.1.9-xaecrssd.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.9-qqzcce45.mjs +0 -1
- package/dist/chunks/detection-0.1.9-ry1q2ym2.mjs +0 -1
- package/dist/chunks/devtools-0.1.9-kzs9wq2w.mjs +0 -1
- package/dist/chunks/diff-0.1.9-af5n5bzh.mjs +0 -1
- package/dist/chunks/doctor-0.1.9-9f6fz2h0.mjs +0 -1
- package/dist/chunks/earlyInput-0.1.9-h7yskwvf.mjs +0 -1
- package/dist/chunks/effort-0.1.9-spz96zzr.mjs +0 -8
- package/dist/chunks/environmentSelection-0.1.9-0va5g53h.mjs +0 -1
- package/dist/chunks/environments-0.1.9-2hka6k26.mjs +0 -1
- package/dist/chunks/exit-0.1.9-rvk04qa2.mjs +0 -1
- package/dist/chunks/export-0.1.9-c3pqjktx.mjs +0 -2
- package/dist/chunks/extra-usage-0.1.9-92jjke47.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.9-27zjp5q7.mjs +0 -1
- package/dist/chunks/fast-0.1.9-60sqqvgd.mjs +0 -1
- package/dist/chunks/feedback-0.1.9-anraj53n.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.1.9-y55fqx1x.mjs +0 -1
- package/dist/chunks/fullscreen-0.1.9-xy9bnpe3.mjs +0 -1
- package/dist/chunks/git-0.1.9-09pdaxwd.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs +0 -1
- package/dist/chunks/growthbook-0.1.9-rqhcy76z.mjs +0 -1
- package/dist/chunks/heapdump-0.1.9-qrfce4dp.mjs +0 -6
- package/dist/chunks/help-0.1.9-sfn2ed9n.mjs +0 -1
- package/dist/chunks/hookChains-0.1.9-5t2mrtyc.mjs +0 -3
- package/dist/chunks/hooks-0.1.9-4cebdztn.mjs +0 -1
- package/dist/chunks/hooks-0.1.9-y0vtx23k.mjs +0 -79
- package/dist/chunks/ide-0.1.9-yxzacgd5.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.1.9-fwc1ge47.mjs +0 -1
- package/dist/chunks/index-0.1.9-2gv7a7tq.mjs +0 -2
- package/dist/chunks/index-0.1.9-31vnb803.mjs +0 -1
- package/dist/chunks/index-0.1.9-68aa3hmw.mjs +0 -1
- package/dist/chunks/index-0.1.9-7ktx5gez.mjs +0 -1
- package/dist/chunks/index-0.1.9-8feamw1f.mjs +0 -1
- package/dist/chunks/index-0.1.9-8hzceckr.mjs +0 -5
- package/dist/chunks/index-0.1.9-96thm65j.mjs +0 -1
- package/dist/chunks/index-0.1.9-c7sexk3f.mjs +0 -2
- package/dist/chunks/index-0.1.9-fvtq6thw.mjs +0 -1
- package/dist/chunks/index-0.1.9-g2ngvhaf.mjs +0 -1
- package/dist/chunks/index-0.1.9-gtn0qcv2.mjs +0 -7
- package/dist/chunks/index-0.1.9-h548q4km.mjs +0 -1
- package/dist/chunks/index-0.1.9-j6ac60hq.mjs +0 -1
- package/dist/chunks/index-0.1.9-jxdymwv4.mjs +0 -1
- package/dist/chunks/index-0.1.9-kgdkzpmr.mjs +0 -1
- package/dist/chunks/index-0.1.9-mt2y3wyw.mjs +0 -9
- package/dist/chunks/index-0.1.9-smem7egb.mjs +0 -30
- package/dist/chunks/index-0.1.9-snmdvw2f.mjs +0 -1
- package/dist/chunks/index-0.1.9-vwevfx80.mjs +0 -1
- package/dist/chunks/index-0.1.9-w21jc8bp.mjs +0 -1
- package/dist/chunks/index-0.1.9-wpqaqk4y.mjs +0 -1
- package/dist/chunks/index-0.1.9-yjp28h60.mjs +0 -9
- package/dist/chunks/initReplBridge-0.1.9-dag95hyf.mjs +0 -1
- package/dist/chunks/ink-0.1.9-4n2nvw5p.mjs +0 -1
- package/dist/chunks/insights-0.1.9-9hr8tshw.mjs +0 -870
- package/dist/chunks/install-0.1.9-km91vvgf.mjs +0 -1
- package/dist/chunks/install-github-app-0.1.9-874a2dgj.mjs +0 -149
- package/dist/chunks/install-slack-app-0.1.9-q5yyb8vs.mjs +0 -1
- package/dist/chunks/instrumentation-0.1.9-raz129aj.mjs +0 -12
- package/dist/chunks/interactiveHelpers-0.1.9-21a8r4rv.mjs +0 -1
- package/dist/chunks/keybindings-0.1.9-nm8s4x8m.mjs +0 -2
- package/dist/chunks/knowledge-0.1.9-zhr6zq80.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.9-3m0mzw84.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.9-y46g5zj0.mjs +0 -1
- package/dist/chunks/logout-0.1.9-hb89bxj8.mjs +0 -1
- package/dist/chunks/lsp-0.1.9-2j3y8eqc.mjs +0 -1
- package/dist/chunks/main-0.1.9-7cnyr288.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.9-y8wax2wz.mjs +0 -1
- package/dist/chunks/mcp-0.1.9-14beee71.mjs +0 -17
- package/dist/chunks/mcp-0.1.9-qw1n3pzx.mjs +0 -4
- package/dist/chunks/mcp-0.1.9-zd92e41j.mjs +0 -1
- package/dist/chunks/mcpServer-0.1.9-5p48a2y0.mjs +0 -1
- package/dist/chunks/mcpb-0.1.9-t8x1bjwv.mjs +0 -1
- package/dist/chunks/memory-0.1.9-mxz6vgsy.mjs +0 -3
- package/dist/chunks/mobile-0.1.9-144nwr03.mjs +0 -2
- package/dist/chunks/model-0.1.9-ghswdzx2.mjs +0 -1
- package/dist/chunks/model-0.1.9-j4vhm4vm.mjs +0 -2
- package/dist/chunks/oauth-0.1.9-a7p9ezjx.mjs +0 -1
- package/dist/chunks/openaiShim-0.1.9-5bn57rv6.mjs +0 -14
- package/dist/chunks/output-style-0.1.9-y8t5c5v3.mjs +0 -1
- package/dist/chunks/package-HMBVQOZ4-0.1.9-mbvqe0av.mjs +0 -1
- package/dist/chunks/parser-0.1.9-d7vc9q1w.mjs +0 -1
- package/dist/chunks/passes-0.1.9-84vsp058.mjs +0 -1
- package/dist/chunks/permissions-0.1.9-h0a2312z.mjs +0 -3
- package/dist/chunks/plan-0.1.9-k9dx9nwc.mjs +0 -1
- package/dist/chunks/plist-0.1.9-f3c6hvca.mjs +0 -1
- package/dist/chunks/plugin-0.1.9-z3nwra38.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.1.9-p68xwmv4.mjs +0 -1
- package/dist/chunks/plugins-0.1.9-grc1bgmj.mjs +0 -9
- package/dist/chunks/print-0.1.9-z151tvas.mjs +0 -57
- package/dist/chunks/privacy-settings-0.1.9-m7xpxtd8.mjs +0 -1
- package/dist/chunks/process-0.1.9-anx0dq1a.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.9-bchtybqh.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.1.9-ebvc859m.mjs +0 -9
- package/dist/chunks/prompt-0.1.9-08fnpwfx.mjs +0 -1
- package/dist/chunks/prompt-0.1.9-whqkx3td.mjs +0 -1
- package/dist/chunks/prompts-0.1.9-psek69yr.mjs +0 -1
- package/dist/chunks/provider-0.1.9-xwmdqr38.mjs +0 -2
- package/dist/chunks/providerProfiles-0.1.9-myc8zcfy.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.9-06twart5.mjs +0 -1
- package/dist/chunks/registry-0.1.9-xxrsbce3.mjs +0 -1
- package/dist/chunks/release-notes-0.1.9-4r396x7z.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.9-hm09ekrf.mjs +0 -2
- package/dist/chunks/remote-env-0.1.9-0peng4np.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.1.9-4eg0bkck.mjs +0 -1
- package/dist/chunks/remoteSession-0.1.9-7jagnaes.mjs +0 -1
- package/dist/chunks/rename-0.1.9-3r8bqa1y.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.9-1y32h5jq.mjs +0 -1
- package/dist/chunks/resume-0.1.9-gayv56qp.mjs +0 -2
- package/dist/chunks/rewind-0.1.9-krxjbzeg.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.1.9-b4ze2ex2.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.1.9-6vctxbed.mjs +0 -1
- package/dist/chunks/session-0.1.9-jtrr3jje.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.9-wpgdva8t.mjs +0 -1
- package/dist/chunks/sessionStorage-0.1.9-1v6wyqzw.mjs +0 -1
- package/dist/chunks/setup-0.1.9-jc5w6v5s.mjs +0 -5
- package/dist/chunks/sinks-0.1.9-49ereb4y.mjs +0 -1
- package/dist/chunks/skills-0.1.9-d63w5m27.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.9-gmke65dk.mjs +0 -1
- package/dist/chunks/state-0.1.9-m8x0v07d.mjs +0 -1
- package/dist/chunks/stats-0.1.9-yvya6xg6.mjs +0 -6
- package/dist/chunks/status-0.1.9-sapnwz4b.mjs +0 -1
- package/dist/chunks/stickers-0.1.9-ewdagtd4.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.9-2dqzh55d.mjs +0 -1
- package/dist/chunks/tasks-0.1.9-qgqwhse9.mjs +0 -1
- package/dist/chunks/teamHelpers-0.1.9-r474ar76.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.9-nwc11b9m.mjs +0 -1
- package/dist/chunks/teleport-0.1.9-xaj204my.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.9-xd5rhh32.mjs +0 -1
- package/dist/chunks/theme-0.1.9-f6jzdysz.mjs +0 -1
- package/dist/chunks/thinkback-0.1.9-8j25tex7.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.9-tzs2w3mj.mjs +0 -1
- package/dist/chunks/toolPool-0.1.9-6b4938vh.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.9-7ych6nv7.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.9-xqxt3kmz.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.1.9-m1wesrr4.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.1.9-x09n5pvc.mjs +0 -4
- package/dist/chunks/update-0.1.9-8dntd8kh.mjs +0 -94
- package/dist/chunks/upgrade-0.1.9-eja31dgt.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.1.9-pv2yqh11.mjs +0 -14
- package/dist/chunks/usage-0.1.9-neje6dea.mjs +0 -1
- package/dist/chunks/util-0.1.9-kdhggd68.mjs +0 -1
- package/dist/chunks/utils-0.1.9-bqw30f8b.mjs +0 -1
- package/dist/chunks/vim-0.1.9-w4d1qz6f.mjs +0 -1
- package/dist/chunks/watcher-0.1.9-ty2r0yxd.mjs +0 -1
- package/dist/chunks/wiki-0.1.9-ah646x2k.mjs +0 -132
- package/dist/chunks/worktree-0.1.9-d3fbxjwd.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs +0 -1
- package/dist/chunks/wrapper-0.1.9-eh46qafm.mjs +0 -7
- /package/dist/chunks/{cli-0.1.9-zrdz7st3.mjs → cli-0.1.10-9xpgjxhj.mjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Hb as a,Ib as b,Jb as c}from"./cli-0.1.9-ewwxqbvt.mjs";import"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";c();export{b as call,a as FastModePicker};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{Gn as Oq,IM as hq,In as dq,KM as Pq,Kn as _q,Ln as nq,MH as qQ,UM as HQ,VI as Lq,WG as Nq,XI as QQ,mL as Bq,oL as Cq,rH as Rq,uK as Uq,vK as WQ}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import{pP as f,qP as cq,rP as x,sP as oq,tP as u,uP as sq,xP as zq,yP as rq}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import{fS as Xq,gS as lq,tS as Yq,vS as iq}from"./cli-0.1.9-gpd1bhnf.mjs";import{JU as Kq,UU as pq,nU as G,pU as K}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import{$W as eq,XW as Gq}from"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as j}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as Dq}from"./cli-0.1.9-hy9s1fnj.mjs";import{FX as wq,IX as Hq,KX as aq}from"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import{$X as tq,_X as Jq}from"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import{F4 as Eq,Q0 as Zq,V0 as uq,j4 as $q}from"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import{M5 as V,b6 as fq}from"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{N7 as qq,V9 as C,X6 as r,X9 as xq,Y6 as Vq,a7 as b,b7 as e,d8 as Qq,f7 as bq,i8 as jq}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import{Afa as gq,zfa as Wq}from"./cli-0.1.9-5ryrgdzg.mjs";import{Aga as Iq,fga as D,jga as kq,xga as t}from"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import{Mka as s,pma as Sq}from"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as T,lna as o}from"./cli-0.1.9-kbrf27z8.mjs";import{readFile as ZQ,stat as $Q}from"fs/promises";function h(W){let q=W;return q=q.replace(/"(sk-ant[^\s"']{24,})"/g,'"[REDACTED_API_KEY]"'),q=q.replace(/(?<![A-Za-z0-9"'])(sk-ant-?[A-Za-z0-9_-]{10,})(?![A-Za-z0-9"'])/g,"[REDACTED_API_KEY]"),q=q.replace(/AWS key: "(AWS[A-Z0-9]{20,})"/g,'AWS key: "[REDACTED_AWS_KEY]"'),q=q.replace(/(AKIA[A-Z0-9]{16})/g,"[REDACTED_AWS_KEY]"),q=q.replace(/(?<![A-Za-z0-9])(AIza[A-Za-z0-9_-]{35})(?![A-Za-z0-9])/g,"[REDACTED_GCP_KEY]"),q=q.replace(/(?<![A-Za-z0-9])([a-z0-9-]+@[a-z0-9-]+\.iam\.gserviceaccount\.com)(?![A-Za-z0-9])/g,"[REDACTED_GCP_SERVICE_ACCOUNT]"),q=q.replace(/(["']?x-api-key["']?\s*[:=]\s*["']?)[^"',\s)}\]]+/gi,"$1[REDACTED_API_KEY]"),q=q.replace(/(["']?authorization["']?\s*[:=]\s*["']?(bearer\s+)?)[^"',\s)}\]]+/gi,"$1[REDACTED_TOKEN]"),q=q.replace(/(AWS[_-][A-Za-z0-9_]+\s*[=:]\s*)["']?[^"',\s)}\]]+["']?/gi,"$1[REDACTED_AWS_VALUE]"),q=q.replace(/(GOOGLE[_-][A-Za-z0-9_]+\s*[=:]\s*)["']?[^"',\s)}\]]+["']?/gi,"$1[REDACTED_GCP_VALUE]"),q=q.replace(/((API[-_]?KEY|TOKEN|SECRET|PASSWORD)\s*[=:]\s*)["']?[^"',\s)}\]]+["']?/gi,"$1[REDACTED]"),q}function d(){return e().map((W)=>{let q={...W};if(q&&typeof q.error==="string")q.error=h(q.error);return q})}async function KQ(){try{let W=Bq(),{size:q}=await $Q(W);if(q>Cq)return t(`Skipping raw transcript read: file too large (${q} bytes)`,{level:"warn"}),null;return await ZQ(W,"utf-8")}catch{return null}}function Mq({abortSignal:W,messages:q,initialDescription:Z,onDone:$,backgroundTasks:N={}}){let[X,P]=w.useState("userInput"),[y,p]=w.useState(0),[J,M]=w.useState(Z??""),[m,v]=w.useState(null),[R,A]=w.useState("submitted"),[H,L]=w.useState(null),[O,g]=w.useState({isGit:!1,gitState:null}),[U,S]=w.useState(null),k=Xq().columns-4;w.useEffect(()=>{async function _(){let Y=await qq(),z=null;if(Y)z=await Qq();g({isGit:Y,gitState:z})}_()},[]);let l=w.useCallback(async()=>{P("submitting"),L(null),v(null),A("submitted");let _=d(),z=Nq(q)?.requestId??null,[Fq,c]=await Promise.all([Pq(),KQ()]),Tq=hq(N),i={...Fq,...Tq},yq={latestAssistantMessageId:z,message_count:q.length,datetime:new Date().toISOString(),description:J,platform:C.platform,gitRepo:O.isGit,terminal:C.terminal,version:"99.0.0",transcript:Rq(q),errors:_,lastApiRequest:s(),...Object.keys(i).length>0&&{subagentTranscripts:i},...c&&{rawTranscriptJsonl:c}},[B,mq]=await Promise.all([wQ(yq,W),YQ(J,W)]);if(S(mq),B.success){if(A(B.issueDraftOnly?"issue-draft":"submitted"),B.feedbackId)v(B.feedbackId),Wq("tengu_bug_report_submitted",{feedback_id:B.feedbackId,last_assistant_message_id:z}),Gq("tengu_bug_report_description",{feedback_id:B.feedbackId,description:h(J)});P("done")}else{if(B.isZdrOrg)L("Feedback collection is not available for organizations with custom data retention policies.");else L("Could not submit feedback. Please try again later.");P("userInput")}},[J,O.isGit,q]),F=w.useCallback(()=>{if(X==="done"){if(H)$("Error submitting feedback / bug report",{display:"system"});else $(R==="issue-draft"?"GitHub issue draft ready":"Feedback / bug report submitted",{display:"system"});return}$("Feedback / bug report cancelled",{display:"system"})},[X,H,R,$]);return Yq("confirm:no",F,{context:"Settings",isActive:X==="userInput"}),Kq((_,Y)=>{if(X==="done"){if(Y.return&&U&&E){let z=XQ(m??"",U,J,d());Jq(z)}if(H)$("Error submitting feedback / bug report",{display:"system"});else $(R==="issue-draft"?"GitHub issue draft ready":"Feedback / bug report submitted",{display:"system"});return}if(H&&X!=="userInput"){$("Error submitting feedback / bug report",{display:"system"});return}if(X==="consent"&&(Y.return||_===" "))l()}),Q.jsxDEV(zq,{title:"Submit Feedback / Bug Report",onCancel:F,isCancelActive:X!=="userInput",inputGuide:(_)=>_.pending?Q.jsxDEV(K,{children:["Press ",_.keyName," again to exit"]},void 0,!0,void 0,this):X==="userInput"?Q.jsxDEV(u,{children:[Q.jsxDEV(f,{shortcut:"Enter",action:"continue"},void 0,!1,void 0,this),Q.jsxDEV(x,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):X==="consent"?Q.jsxDEV(u,{children:[Q.jsxDEV(f,{shortcut:"Enter",action:"submit"},void 0,!1,void 0,this),Q.jsxDEV(x,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,children:[X==="userInput"&&Q.jsxDEV(G,{flexDirection:"column",gap:1,children:[Q.jsxDEV(K,{children:"Describe the issue below:"},void 0,!1,void 0,this),Q.jsxDEV(Uq,{value:J,onChange:(_)=>{if(M(_),H)L(null)},columns:k,onSubmit:()=>P("consent"),onExitMessage:()=>$("Feedback cancelled",{display:"system"}),cursorOffset:y,onChangeCursorOffset:p,showCursor:!0},void 0,!1,void 0,this),H&&Q.jsxDEV(G,{flexDirection:"column",gap:1,children:[Q.jsxDEV(K,{color:"error",children:H},void 0,!1,void 0,this),Q.jsxDEV(K,{dimColor:!0,children:"Edit and press Enter to retry, or Esc to cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),X==="consent"&&Q.jsxDEV(G,{flexDirection:"column",children:[Q.jsxDEV(K,{children:"This report will include:"},void 0,!1,void 0,this),Q.jsxDEV(G,{marginLeft:2,flexDirection:"column",children:[Q.jsxDEV(K,{children:["- Your feedback / bug description:"," ",Q.jsxDEV(K,{dimColor:!0,children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(K,{children:["- Environment info:"," ",Q.jsxDEV(K,{dimColor:!0,children:[C.platform,", ",C.terminal,", v","99.0.0"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),O.gitState&&Q.jsxDEV(K,{children:["- Git repo metadata:"," ",Q.jsxDEV(K,{dimColor:!0,children:[O.gitState.branchName,O.gitState.commitHash?`, ${O.gitState.commitHash.slice(0,7)}`:"",O.gitState.remoteUrl?` @ ${O.gitState.remoteUrl}`:"",!O.gitState.isHeadOnRemote&&", not synced",!O.gitState.isClean&&", has local changes"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(K,{children:"- Current session transcript"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(G,{marginTop:1,children:Q.jsxDEV(K,{wrap:"wrap",dimColor:!0,children:["We will use your feedback to debug related issues or to improve"," ","Claude Code's functionality (eg. to reduce the risk of bugs occurring in the future)."]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(G,{marginTop:1,children:Q.jsxDEV(K,{children:["Press ",Q.jsxDEV(K,{bold:!0,children:"Enter"},void 0,!1,void 0,this)," to confirm and submit."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X==="submitting"&&Q.jsxDEV(G,{flexDirection:"row",gap:1,children:Q.jsxDEV(K,{children:"Submitting report…"},void 0,!1,void 0,this)},void 0,!1,void 0,this),X==="done"&&Q.jsxDEV(G,{flexDirection:"column",children:[H?Q.jsxDEV(K,{color:"error",children:H},void 0,!1,void 0,this):Q.jsxDEV(K,{color:"success",children:R==="issue-draft"?"Your GitHub issue draft is ready.":"Thank you for your report!"},void 0,!1,void 0,this),m&&Q.jsxDEV(K,{dimColor:!0,children:["Feedback ID: ",m]},void 0,!0,void 0,this),E&&Q.jsxDEV(G,{marginTop:1,children:[Q.jsxDEV(K,{children:"Press "},void 0,!1,void 0,this),Q.jsxDEV(K,{bold:!0,children:"Enter "},void 0,!1,void 0,this),Q.jsxDEV(K,{children:"to open your browser and draft a GitHub issue, or any other key to close."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function XQ(W,q,Z,$){let N=h(q),X=h(Z),P=W?`- Feedback ID: ${W}
|
|
2
|
-
`:"",y=`**Bug Description**
|
|
3
|
-
${X}
|
|
4
|
-
|
|
5
|
-
**Environment Info**
|
|
6
|
-
- Platform: ${C.platform}
|
|
7
|
-
- Terminal: ${C.terminal}
|
|
8
|
-
- Version: 99.0.0
|
|
9
|
-
`+P+"\n**Errors**\n```json\n",p="\n```\n",J=D($),M=`${E}/new?title=${encodeURIComponent(N)}&labels=user-reported,bug&body=`,m=`
|
|
10
|
-
**Note:** Content was truncated.
|
|
11
|
-
`,v=encodeURIComponent(y),R=encodeURIComponent("\n```\n"),A=encodeURIComponent(`
|
|
12
|
-
**Note:** Content was truncated.
|
|
13
|
-
`),H=encodeURIComponent(J),L=a-M.length-v.length-R.length-A.length;if(L<=0){let k=encodeURIComponent("…"),l=50,F=a-M.length-k.length-A.length-50,_=y+J+"\n```\n",Y=encodeURIComponent(_);if(Y.length>F){Y=Y.slice(0,F);let z=Y.lastIndexOf("%");if(z>=Y.length-2)Y=Y.slice(0,z)}return M+Y+k+A}if(H.length<=L)return M+v+H+R;let O=encodeURIComponent("…"),g=50,U=H.slice(0,L-O.length-g),S=U.lastIndexOf("%");if(S>=U.length-2)U=U.slice(0,S);return M+v+U+O+R+A}async function YQ(W,q){try{let Z=await Lq({systemPrompt:_q(["Generate a concise, technical issue title (max 80 chars) for a public GitHub issue based on this bug report for Claude Code.","Claude Code is an agentic coding CLI based on the Anthropic API.","The title should:","- Include the type of issue [Bug] or [Feature Request] as the first thing in the title","- Be concise, specific and descriptive of the actual problem","- Use technical terminology appropriate for a software issue",'- For error messages, extract the key error (e.g., "Missing Tool Result Block" rather than the full message)',"- Be direct and clear for developers to understand the problem",'- If you cannot determine a clear issue, use "Bug Report: [brief description]"',"- Any LLM API errors are from the Anthropic API, not from any other model provider","Your response will be directly used as the title of the Github issue, and as such should not contain any other commentary or explaination",'Examples of good titles include: "[Bug] Auto-Compact triggers to soon", "[Bug] Anthropic API Error: Missing Tool Result Block", "[Bug] Error: Invalid Model Name for Opus"']),userPrompt:W,signal:q,options:{hasAppendSystemPrompt:!1,toolChoice:void 0,isNonInteractiveSession:!1,agents:[],querySource:"feedback",mcpTools:[]}}),$=Z.message.content[0]?.type==="text"?Z.message.content[0].text:"Bug Report";if(Oq($))return n(W);return $}catch(Z){return b(Z),n(W)}}function n(W){let q=W.split(`
|
|
14
|
-
`)[0]||"";if(q.length<=60&&q.length>5)return q;let Z=q.slice(0,60);if(q.length>60){let $=Z.lastIndexOf(" ");if($>30)Z=Z.slice(0,$);Z+="..."}return Z.length<10?"Bug Report":Z}function I(W){if(W instanceof Error){let q=Error(h(W.message));if(W.stack)q.stack=h(W.stack);b(q)}else{let q=h(String(W));b(Error(q))}}async function wQ(W,q){if(r())return{success:!1};try{if(Zq()!=="firstParty")return{success:!0,issueDraftOnly:!0};await $q();let Z=Hq();if(Z.error)return{success:!1};let $={"Content-Type":"application/json","User-Agent":wq(),...Z.headers},N=await V.post("https://api.anthropic.com/api/claude_cli_feedback",{content:D(W)},{headers:$,timeout:30000,signal:q});if(N.status===200){let X=N.data;if(X?.feedback_id)return{success:!0,feedbackId:X.feedback_id};return I(Error("Failed to submit feedback: request did not return feedback_id")),{success:!1}}return I(Error("Failed to submit feedback:"+N.status)),{success:!1}}catch(Z){if(V.isCancel(Z))return{success:!1};if(V.isAxiosError(Z)&&Z.response?.status===403){let $=Z.response.data;if($?.error?.type==="permission_error"&&$?.error?.message?.includes("Custom data retention settings"))return I(Error("Cannot submit feedback because custom data retention settings are enabled")),{success:!1,isZdrOrg:!0}}return I(Z),{success:!1}}}var w,Q,a=7250,E="";var Aq=o(()=>{fq();Sq();eq();gq();qQ();lq();pq();iq();QQ();dq();Eq();tq();Iq();xq();jq();aq();bq();uq();Vq();HQ();kq();nq();oq();sq();rq();cq();WQ();w=T(Dq(),1),Q=T(j(),1)});function OQ(W,q,Z,$="",N={}){return vq.jsxDEV(Mq,{abortSignal:q,messages:Z,initialDescription:$,onDone:W,backgroundTasks:N},void 0,!1,void 0,this)}async function pQ(W,q,Z){let $=Z||"";return OQ(W,q.abortController.signal,q.messages,$)}var vq;var _Q=o(()=>{Aq();vq=T(j(),1)});_Q();export{OQ as renderFeedbackComponent,pQ as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$W as i,TW as a,UW as b,VW as c,WW as d,XW as e,YW as f,ZW as g,_W as h}from"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-kbrf27z8.mjs";i();export{c as shutdown1PEventLogging,b as shouldSampleEvent,h as reinitialize1PEventLoggingIfConfigChanged,f as logGrowthBookExperimentTo1P,e as logEventTo1P,d as is1PEventLoggingEnabled,g as initialize1PEventLogging,a as getEventSamplingConfig};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k0 as a,l0 as b,m0 as c,n0 as d,o0 as e,p0 as f,q0 as g,r0 as h,s0 as i}from"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";i();export{g as maybeGetTmuxMouseHint,a as isTmuxControlMode,d as isMouseTrackingEnabled,e as isMouseClicksDisabled,c as isFullscreenEnvEnabled,f as isFullscreenActive,b as _resetTmuxControlModeProbeForTesting,h as _resetForTesting};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$7 as r,K7 as a,L7 as b,M7 as c,N7 as d,O7 as e,P7 as f,Q7 as g,R7 as h,S7 as i,T7 as j,U7 as k,V7 as l,W7 as m,X7 as n,Y7 as o,Z7 as p,_7 as q,a8 as s,b8 as t,c8 as u,d8 as v,e8 as w,f8 as x,g8 as y,h8 as z,i8 as A}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";A();export{u as stashToCleanState,y as preserveGitStateForIssue,l as normalizeGitRemoteUrl,z as isCurrentDirectoryBareGitRepo,f as isAtGitRoot,o as hasUnpushedCommits,c as gitExe,t as getWorktreeCount,m as getRepoRemoteHash,k as getRemoteUrl,n as getIsHeadOnRemote,d as getIsGit,q as getIsClean,h as getHead,w as getGithubRepo,v as getGitState,e as getGitDir,s as getFileStatus,j as getDefaultBranch,r as getChangedFiles,i as getBranch,p as getAheadBehind,x as findRemoteBase,a as findGitRoot,b as findCanonicalGitRoot,g as dirIsInGitRepo};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$Z as a,a0 as b,b0 as c,c0 as d,d0 as e,e0 as f,f0 as g,g0 as h,h0 as i}from"./cli-0.1.9-b9kbpf6n.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";i();export{g as saveGithubModelsToken,f as refreshGithubModelsTokenIfNeeded,d as readGithubModelsTokenAsync,c as readGithubModelsToken,e as hydrateGithubModelsTokenFromSecureStorage,h as clearGithubModelsToken,a as GITHUB_MODELS_STORAGE_KEY,b as GITHUB_MODELS_HYDRATED_ENV_MARKER};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Aea as m,Bea as n,Cea as o,Dea as p,Eea as q,Fea as r,Gea as s,Hea as t,Iea as u,Jea as v,oea as a,pea as b,qea as c,rea as d,sea as e,tea as f,uea as g,vea as h,wea as i,xea as j,yea as k,zea as l}from"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-kbrf27z8.mjs";v();export{s as stopPeriodicGrowthBookRefresh,r as setupPeriodicGrowthBookRefresh,e as setGrowthBookConfigOverride,p as resetGrowthBook,q as refreshGrowthBookFeatures,o as refreshGrowthBookAfterAuthChange,a as onGrowthBookRefresh,h as initializeGrowthBook,b as hasGrowthBookEnvOverride,d as getGrowthBookConfigOverrides,i as getFeatureValue_DEPRECATED,k as getFeatureValue_CACHED_WITH_REFRESH,j as getFeatureValue_CACHED_MAY_BE_STALE,u as getDynamicConfig_CACHED_MAY_BE_STALE,t as getDynamicConfig_BLOCKS_ON_INIT,g as getApiBaseUrlHost,c as getAllGrowthBookFeatures,f as clearGrowthBookConfigOverrides,l as checkStatsigFeatureGate_CACHED_MAY_BE_STALE,m as checkSecurityRestrictionGate,n as checkGate_CACHED_OR_BLOCKING};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{a7 as I,f7 as D,l9 as v,p9 as F}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import{Afa as N,zfa as M}from"./cli-0.1.9-5ryrgdzg.mjs";import{Aga as j,Yfa as w,dga as H,fga as E,jga as P,nga as G,rga as f,xga as _}from"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import{pma as k,wia as O}from"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{lna as U}from"./cli-0.1.9-kbrf27z8.mjs";import{createWriteStream as b,writeFileSync as h}from"fs";import{readdir as S,readFile as l,writeFile as c}from"fs/promises";import{join as R}from"path";import{pipeline as d}from"stream/promises";import{getHeapSnapshot as m,getHeapSpaceStatistics as u,getHeapStatistics as n}from"v8";async function g(z,A=0){let $=process.memoryUsage(),x=n(),Q=process.resourceUsage(),T=process.uptime(),X;try{X=u()}catch{}let Y=process._getActiveHandles().length,q=process._getActiveRequests().length,J;try{J=(await S("/proc/self/fd")).length}catch{}let V;try{V=await l("/proc/self/smaps_rollup","utf8")}catch{}let C=$.rss-$.heapUsed,B=T>0?$.rss/T:0,W=B*3600/1048576,K=[];if(x.number_of_detached_contexts>0)K.push(`${x.number_of_detached_contexts} detached context(s) - possible iframe/context leak`);if(Y>100)K.push(`${Y} active handles - possible timer/socket leak`);if(C>$.heapUsed)K.push("Native memory > heap - leak may be in native addons (node-pty, sharp, etc.)");if(W>100)K.push(`High memory growth rate: ${W.toFixed(1)} MB/hour`);if(J&&J>500)K.push(`${J} open file descriptors - possible file/socket leak`);return{timestamp:new Date().toISOString(),sessionId:O(),trigger:z,dumpNumber:A,uptimeSeconds:T,memoryUsage:{heapUsed:$.heapUsed,heapTotal:$.heapTotal,external:$.external,arrayBuffers:$.arrayBuffers,rss:$.rss},memoryGrowthRate:{bytesPerSecond:B,mbPerHour:W},v8HeapStats:{heapSizeLimit:x.heap_size_limit,mallocedMemory:x.malloced_memory,peakMallocedMemory:x.peak_malloced_memory,detachedContexts:x.number_of_detached_contexts,nativeContexts:x.number_of_native_contexts},v8HeapSpaces:X?.map((Z)=>({name:Z.space_name,size:Z.space_size,used:Z.space_used_size,available:Z.space_available_size})),resourceUsage:{maxRSS:Q.maxRSS*1024,userCPUTime:Q.userCPUTime,systemCPUTime:Q.systemCPUTime},activeHandles:Y,activeRequests:q,openFileDescriptors:J,analysis:{potentialLeaks:K,recommendation:K.length>0?`WARNING: ${K.length} potential leak indicator(s) found. See potentialLeaks array.`:"No obvious leak indicators. Check heap snapshot for retained objects."},smapsRollup:V,platform:process.platform,nodeVersion:process.version,ccVersion:"99.0.0"}}async function y(z="manual",A=0){try{let $=O(),x=await g(z,A),Q=(C)=>(C/1024/1024/1024).toFixed(3);_(`[HeapDump] Memory state:
|
|
2
|
-
heapUsed: ${Q(x.memoryUsage.heapUsed)} GB (in snapshot)
|
|
3
|
-
external: ${Q(x.memoryUsage.external)} GB (NOT in snapshot)
|
|
4
|
-
rss: ${Q(x.memoryUsage.rss)} GB (total process)
|
|
5
|
-
${x.analysis.recommendation}`);let T=v();await G().mkdir(T);let X=A>0?`-dump${A}`:"",Y=`${$}${X}.heapsnapshot`,q=`${$}${X}-diagnostics.json`,J=R(T,Y),V=R(T,q);return await c(V,E(x,null,2),{mode:384}),_(`[HeapDump] Diagnostics written to ${V}`),await o(J),_(`[HeapDump] Heap dump written to ${J}`),M("tengu_heap_dump",{triggerManual:z==="manual",triggerAuto15GB:z==="auto-1.5GB",dumpNumber:A,success:!0}),{success:!0,heapPath:J,diagPath:V}}catch($){let x=w($);return I(x),M("tengu_heap_dump",{triggerManual:z==="manual",triggerAuto15GB:z==="auto-1.5GB",dumpNumber:A,success:!1}),{success:!1,error:x.message}}}async function o(z){if(typeof Bun<"u"){h(z,Bun.generateHeapSnapshot("v8","arraybuffer"),{mode:384}),Bun.gc(!0);return}let A=b(z,{mode:384}),$=m();await d($,A)}var L=U(()=>{k();N();j();H();F();f();D();P()});async function X$(){let z=await y();if(!z.success)return{type:"text",value:`Failed to create heap dump: ${z.error}`};return{type:"text",value:`${z.heapPath}
|
|
6
|
-
${z.diagPath}`}}var p=U(()=>{L()});p();export{X$ as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{hf as j,if as Qr}from"./cli-0.1.9-kt9xw7bn.mjs";import{cg as vr,dg as H,fg as a,gg as D}from"./cli-0.1.9-4n4dqg6k.mjs";import"./cli-0.1.9-ehhkqhbv.mjs";import{WK as Yr,gL as d,hL as n,iv as b,jv as Ar}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import{nP as rr,oP as Zr}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import{OR as pr,PR as hr}from"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import{AS as zr,DS as Mr,ES as Lr,fS as s,gS as Xr,tS as fr,vS as er,xS as Fr}from"./cli-0.1.9-gpd1bhnf.mjs";import{FS as u,UU as c,nU as W,pU as Q,tU as $}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as k}from"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import{Xea as i,hfa as wr}from"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as q,lna as o}from"./cli-0.1.9-kbrf27z8.mjs";function C(F){let r=E.c(14),{commands:p,maxHeight:B,columns:_,title:U,onCancel:v,emptyMessage:I}=F,{headerFocused:h,focusHeader:M}=a(),w=Math.max(1,_-10),A=Math.max(1,Math.floor((B-10)/2)),z;if(r[0]!==p||r[1]!==w){let K=new Set,J;if(r[3]!==w)J=(Y)=>({label:`/${Y.name}`,value:Y.name,description:i(d(Y),w,!0)}),r[3]=w,r[4]=J;else J=r[4];z=p.filter((Y)=>{if(K.has(Y.name))return!1;return K.add(Y.name),!0}).sort(Jr).map(J),r[0]=p,r[1]=w,r[2]=z}else z=r[2];let X=z,R;if(r[5]!==p.length||r[6]!==I||r[7]!==M||r[8]!==h||r[9]!==v||r[10]!==X||r[11]!==U||r[12]!==A)R=e.jsxDEV(W,{flexDirection:"column",paddingY:1,children:p.length===0&&I?e.jsxDEV(Q,{dimColor:!0,children:I},void 0,!1,void 0,this):e.jsxDEV(e.Fragment,{children:[e.jsxDEV(Q,{children:U},void 0,!1,void 0,this),e.jsxDEV(W,{marginTop:1,children:e.jsxDEV(b,{options:X,visibleOptionCount:A,onCancel:v,disableSelection:!0,hideIndexes:!0,layout:"compact-vertical",onUpFromFirstItem:M,isDisabled:h},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),r[5]=p.length,r[6]=I,r[7]=M,r[8]=h,r[9]=v,r[10]=X,r[11]=U,r[12]=A,r[13]=R;else R=r[13];return R}function Jr(F,r){return F.name.localeCompare(r.name)}var E,e;var V=o(()=>{n();c();wr();Ar();D();E=q(u(),1),e=q(k(),1)});function m(){let F=x.c(2),r;if(F[0]===Symbol.for("react.memo_cache_sentinel"))r=G.jsxDEV(W,{children:G.jsxDEV(Q,{children:"Claude understands your codebase, makes edits with your permission, and executes commands — right from your terminal."},void 0,!1,void 0,this)},void 0,!1,void 0,this),F[0]=r;else r=F[0];let p;if(F[1]===Symbol.for("react.memo_cache_sentinel"))p=G.jsxDEV(W,{flexDirection:"column",paddingY:1,gap:1,children:[r,G.jsxDEV(W,{flexDirection:"column",children:[G.jsxDEV(W,{children:G.jsxDEV(Q,{bold:!0,children:"Shortcuts"},void 0,!1,void 0,this)},void 0,!1,void 0,this),G.jsxDEV(j,{gap:2,fixedWidth:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),F[1]=p;else p=F[1];return p}var x,G;var t=o(()=>{c();Qr();x=q(u(),1),G=q(k(),1)});function Ur(F){let r=Rr.c(44),{onClose:p,commands:B}=F,{rows:_,columns:U}=s(),v=Math.floor(_/2),I=Fr(),h;if(r[0]!==p)h=()=>p("Help dialog dismissed",{display:"system"}),r[0]=p,r[1]=h;else h=r[1];let M=h,w;if(r[2]===Symbol.for("react.memo_cache_sentinel"))w={context:"Help"},r[2]=w;else w=r[2];fr("help:dismiss",M,w);let A=pr(M),z=rr("help:dismiss","Help","esc"),X,R,K;if(r[3]!==B){let N=Yr();R=B.filter((T)=>N.has(T.name)&&!T.isHidden);let Z;if(r[7]===Symbol.for("react.memo_cache_sentinel"))Z=[],r[7]=Z;else Z=r[7];X=Z,K=B.filter((T)=>!N.has(T.name)&&!T.isHidden),r[3]=B,r[4]=X,r[5]=R,r[6]=K}else X=r[4],R=r[5],K=r[6];let J=K,Y;if(r[8]===Symbol.for("react.memo_cache_sentinel"))Y=f.jsxDEV(H,{title:"general",children:f.jsxDEV(m,{},void 0,!1,void 0,this)},"general",!1,void 0,this),r[8]=Y;else Y=r[8];let L;if(r[9]!==X||r[10]!==R||r[11]!==M||r[12]!==U||r[13]!==J||r[14]!==v){L=[Y];let N;if(r[16]!==R||r[17]!==M||r[18]!==U||r[19]!==v)N=f.jsxDEV(H,{title:"commands",children:f.jsxDEV(C,{commands:R,maxHeight:v,columns:U,title:"Browse default commands:",onCancel:M},void 0,!1,void 0,this)},"commands",!1,void 0,this),r[16]=R,r[17]=M,r[18]=U,r[19]=v,r[20]=N;else N=r[20];L.push(N);let Z;if(r[21]!==M||r[22]!==U||r[23]!==J||r[24]!==v)Z=f.jsxDEV(H,{title:"custom-commands",children:f.jsxDEV(C,{commands:J,maxHeight:v,columns:U,title:"Browse custom commands:",emptyMessage:"No custom commands found",onCancel:M},void 0,!1,void 0,this)},"custom",!1,void 0,this),r[21]=M,r[22]=U,r[23]=J,r[24]=v,r[25]=Z;else Z=r[25];L.push(Z),r[9]=X,r[10]=R,r[11]=M,r[12]=U,r[13]=J,r[14]=v,r[15]=L}else L=r[15];let l=I?void 0:v,P;if(r[31]!==L)P=f.jsxDEV(vr,{title:"Claude Code v99.0.0",color:"professionalBlue",defaultTab:"general",children:L},void 0,!1,void 0,this),r[31]=L,r[32]=P;else P=r[32];let y;if(r[33]===Symbol.for("react.memo_cache_sentinel"))y=f.jsxDEV(W,{marginTop:1,children:f.jsxDEV(Q,{children:["For more help:"," ",f.jsxDEV($,{url:"https://code.claude.com/docs/en/overview"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),r[33]=y;else y=r[33];let O;if(r[34]!==z||r[35]!==A.keyName||r[36]!==A.pending)O=f.jsxDEV(W,{marginTop:1,children:f.jsxDEV(Q,{dimColor:!0,children:A.pending?f.jsxDEV(f.Fragment,{children:["Press ",A.keyName," again to exit"]},void 0,!0,void 0,this):f.jsxDEV(Q,{italic:!0,children:[z," to cancel"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),r[34]=z,r[35]=A.keyName,r[36]=A.pending,r[37]=O;else O=r[37];let g;if(r[38]!==P||r[39]!==O)g=f.jsxDEV(Mr,{color:"professionalBlue",children:[P,y,O]},void 0,!0,void 0,this),r[38]=P,r[39]=O,r[40]=g;else g=r[40];let S;if(r[41]!==l||r[42]!==g)S=f.jsxDEV(W,{flexDirection:"column",height:l,children:g},void 0,!1,void 0,this),r[41]=l,r[42]=g,r[43]=S;else S=r[43];return S}var Rr,f;var Wr=o(()=>{hr();Zr();n();zr();Xr();c();er();Lr();D();V();t();Rr=q(u(),1),f=q(k(),1)});var qr,Er=async(F,{options:{commands:r}})=>{return qr.jsxDEV(Ur,{commands:r,onClose:F},void 0,!1,void 0,this)};var kr=o(()=>{Wr();qr=q(k(),1)});kr();export{Er as call};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Gu as a,Ju as Ej,Us as t,it as Cj}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import{AQ as Kj,lQ as jj}from"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import{AR as Wj,qR as d,rR as n,tR as e}from"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import{pY as M,qY as kj}from"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{A_ as o,C_ as Bj,H8 as i,I8 as _j,L6 as c,N6 as Yj,s9 as r,x9 as bj}from"./cli-0.1.9-86kws2c7.mjs";import{pda as H,rda as Zj}from"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import{Afa as $j,zfa as K}from"./cli-0.1.9-5ryrgdzg.mjs";import{Aga as Xj,_fa as l,dga as Vj,xga as w}from"./cli-0.1.9-vdw09f8y.mjs";import{Ega as s,Oga as Tj}from"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import{Cia as u,pma as Qj}from"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{lna as Pj,mna as I}from"./cli-0.1.9-kbrf27z8.mjs";import{createHash as qj}from"crypto";import{statSync as Mj}from"fs";import{join as Aj,resolve as Sj}from"path";function V(j){return j}function m(j){return structuredClone(j)}function k(){return{version:1,enabled:!1,maxChainDepth:Fj,defaultCooldownMs:Gj,defaultDedupWindowMs:Hj,rules:[]}}function gj(){let j=process.env[yj];if(j===void 0)return!1;return s(j)}function uj(j){let q=j||process.env[Dj];if(q)return Sj(v(),q);return Aj(v(),Ij)}function v(){try{return u()}catch{return process.cwd()}}function sj(j){if(j.trigger.outcomes)return j.trigger.outcomes;if(j.trigger.outcome)return[j.trigger.outcome];return}function _(j){return j??{}}function Y(j,q){for(let G of q){let A=j[G];if(typeof A==="string"&&A.length>0)return A}return}function lj(j,q){let G=q.split(".").filter(Boolean),A=j;for(let F of G){if(typeof A!=="object"||A===null)return;A=A[F]}return A}function cj(j,q){if(!j)return!0;let G=_(q.payload);if(j.toolNames&&j.toolNames.length>0){let A=Y(G,["tool_name","toolName"]);if(!A||!j.toolNames.includes(A))return!1}if(j.taskStatuses&&j.taskStatuses.length>0){let A=Y(G,["task_status","taskStatus","status"]);if(!A||!j.taskStatuses.includes(A))return!1}if(j.errorIncludes&&j.errorIncludes.length>0){let A=Y(G,["error","reason","message"])??"";if(!j.errorIncludes.some((J)=>A.toLowerCase().includes(J.toLowerCase())))return!1}if(j.eventFieldEquals){for(let[A,F]of Object.entries(j.eventFieldEquals))if(lj(G,A)!==F)return!1}return!0}function ij(j,q){let G=[];for(let A of j){if(A.enabled===!1)continue;if(A.trigger.event!==q.eventName)continue;let F=sj(A);if(F&&F.length>0&&!F.includes(q.outcome))continue;if(!cj(A.condition,q))continue;G.push({rule:A})}return G}function rj(j){let q=uj(j?.pathOverride);if(!gj())return{config:k(),path:q,exists:!1,fromCache:!1};let G;try{let P=Mj(q);G={mtimeMs:P.mtimeMs,size:P.size}}catch(P){if(l(P)!=="ENOENT")w(`[hook-chains] Failed to stat config at ${q}: ${String(P)}`);else if(Z?.path===q)Z=null;return{config:k(),path:q,exists:!1,fromCache:!1}}if(!j?.forceReload&&Z&&Z.path===q&&Z.mtimeMs===G.mtimeMs&&Z.size===G.size&&Date.now()-Z.loadedAtMs<=Uj)return{config:m(Z.config),path:q,exists:!0,fromCache:!0};let A;try{A=i(q)}catch(P){return{config:k(),path:q,exists:!0,fromCache:!1,error:`Failed to read hook chain config file: ${String(P)}`}}let F=r(A,!1);if(!F)return{config:k(),path:q,exists:!0,fromCache:!1,error:"Invalid JSON in hook chain config file."};let J=vj.safeParse(F);if(!J.success){let P=J.error.issues.map((Q)=>Q.message).join("; ");return{config:k(),path:q,exists:!0,fromCache:!1,error:P}}let O="hookChains"in J.data?J.data.hookChains:J.data;return Z={path:q,mtimeMs:G.mtimeMs,size:G.size,loadedAtMs:Date.now(),config:O},{config:m(O),path:q,exists:!0,fromCache:!1}}function f(j,q){if(j===null||j===void 0)return j;if(typeof j==="string"||typeof j==="number"||typeof j==="boolean")return j;if(Array.isArray(j))return j.map((G)=>f(G,q));if(typeof j==="object"){if(q.has(j))return"[Circular]";q.add(j);let G=j,A={};for(let F of Object.keys(G).sort())A[F]=f(G[F],q);return A}return String(j)}function U(j){try{return JSON.stringify(f(j,new WeakSet))}catch{return"[unserializable]"}}function oj(j){let q=_(j.payload),G={eventName:j.eventName,outcome:j.outcome,taskId:Y(q,["task_id","taskId"]),toolUseId:Y(q,["tool_use_id","toolUseId"]),sessionId:Y(q,["session_id","sessionId"]),error:Y(q,["error","reason"])};return qj("sha1").update(U({coreIdentity:G,payload:q})).digest("hex")}function dj(j){for(let[q,G]of B.entries())if(G<=j)B.delete(q);for(let[q,G]of b.entries())if(G<=j)b.delete(q);g(B,fj),g(b,zj)}function g(j,q){if(j.size<=q)return;let G=[...j.entries()].sort((F,J)=>F[1]-J[1]),A=j.size-q;for(let F=0;F<A;F++){let J=G[F];if(!J)break;j.delete(J[0])}}function p(j,q){return j.replace(/\$\{([A-Z0-9_]+)\}|\$([A-Z0-9_]+)/g,(G,A,F)=>{return q[A||F]??""})}function nj(j,q,G){let A=_(G.payload),F=U(A),J=Y(A,["task_subject","taskSubject"]),O=Y(A,["task_description","taskDescription"]),P=Y(A,["error","reason"]),Q={EVENT_NAME:G.eventName,OUTCOME:G.outcome,RULE_ID:q.id,TASK_SUBJECT:J??"",TASK_DESCRIPTION:O??"",ERROR:P??"",PAYLOAD_JSON:F};if(j.promptTemplate)return p(j.promptTemplate,Q);let X=["You are a fallback recovery agent triggered by a Self-Healing Hook Chain rule.",`Event: ${G.eventName}`,`Outcome: ${G.outcome}`,`Rule ID: ${q.id}`];if(J)X.push(`Task subject: ${J}`);if(O)X.push(`Task description: ${O}`);if(P)X.push(`Failure details: ${P}`);return X.push("Goal: perform a minimal, safe recovery attempt and report what changed, what failed, and recommended next steps."),X.push(`Failure payload JSON: ${F}`),X.join(`
|
|
2
|
-
`)}function ej(j,q,G){let A=_(G.payload),F=U(A),J={EVENT_NAME:G.eventName,OUTCOME:G.outcome,RULE_ID:q.id,PAYLOAD_JSON:F,ERROR:Y(A,["error","reason"])??"",TASK_SUBJECT:Y(A,["task_subject","taskSubject"])??"",TASK_ID:Y(A,["task_id","taskId"])??""},O=j.summary?p(j.summary,J):`Hook chain ${q.id} triggered (${G.eventName}/${G.outcome})`,P=j.messageTemplate?p(j.messageTemplate,J):["Self-healing hook chain triggered.",`Rule: ${q.id}`,`Event: ${G.eventName}`,`Outcome: ${G.outcome}`,`Error: ${J.ERROR||"n/a"}`,`Task: ${J.TASK_SUBJECT||J.TASK_ID||"n/a"}`,`Payload: ${F}`].join(`
|
|
3
|
-
`);return{summary:O,body:P}}async function tj(j){let{action:q,rule:G,event:A,runtime:F}=j;if(F.signal?.aborted)return{status:"skipped",reason:"aborted"};if(!F.onSpawnFallbackAgent)return{status:"failed",reason:"No fallback agent launcher is registered in runtime context"};let J=_(A.payload),O=q.description??`Fallback recovery: ${A.eventName} (${A.outcome})`,P={ruleId:G.id,eventName:A.eventName,outcome:A.outcome,description:O,prompt:nj(q,G,A),agentType:q.agentType,model:q.model,runInBackground:!0,payload:J,signal:F.signal};try{let Q=await F.onSpawnFallbackAgent(P);if(!Q.launched)return{status:"failed",reason:Q.reason??"Fallback launcher declined to start an agent"};return{status:"executed",detail:Q.agentId?`Fallback agent launched: ${Q.agentId}`:"Fallback agent launched"}}catch(Q){return{status:"failed",reason:`Fallback agent launch failed: ${String(Q)}`}}}function aj(j,q,G){if(j.teamName)return j.teamName;if(q.teamName)return q.teamName;let A=_(G.payload),F=Y(A,["team_name","teamName"]);if(F)return F;return n()}function jq(j,q,G){if(j&&j.length>0){if(j.includes("*"))return q.filter((F)=>F!==G);let A=new Set(q);return j.filter((F)=>A.has(F))}return q.filter((A)=>A!==G)}async function qq(j){let{action:q,rule:G,event:A,runtime:F}=j;if(F.signal?.aborted)return{status:"skipped",reason:"aborted"};let J=_(A.payload),O=aj(q,F,A);if(!O)return{status:"skipped",reason:"No team context is available for notify_team action"};let P=F.senderName??d()??"self-healing-mesh",Q=F.senderColor??e(),{summary:X,body:N}=ej(q,G,A),S=await jj(O);if(!S)return{status:"skipped",reason:`Team file not found for team ${O}`};let W=S.members.map((L)=>L.name),T=jq(q.recipients,W,P);if(T.length===0)return{status:"skipped",reason:"No eligible recipients for notify_team action"};if(F.onNotifyTeam)try{let L=await F.onNotifyTeam({ruleId:G.id,eventName:A.eventName,outcome:A.outcome,teamName:O,recipients:T,summary:X,message:N,payload:J,signal:F.signal});if(!L.sent)return{status:"skipped",reason:L.reason??"notify_team callback declined to send"};return{status:"executed",detail:`Team notification sent to ${L.recipientCount??T.length} recipient(s)`}}catch(L){return{status:"failed",reason:`notify_team callback failed: ${String(L)}`}}for(let L of T)await t(L,{from:P,text:N,summary:X,color:Q,timestamp:new Date().toISOString()},O);return{status:"executed",detail:`Team notification sent to ${T.length} recipient(s)`}}async function Aq(j){let{action:q,rule:G,event:A,runtime:F}=j;if(F.signal?.aborted)return{status:"skipped",reason:"aborted"};if(!a("allow_remote_sessions"))return{status:"skipped",reason:"Remote sessions are blocked by policy"};if(F.onWarmRemoteCapacity)try{let J=await F.onWarmRemoteCapacity({ruleId:G.id,eventName:A.eventName,outcome:A.outcome,payload:_(A.payload),signal:F.signal,createDefaultEnvironmentIfMissing:q.createDefaultEnvironmentIfMissing});if(!J.warmed)return{status:"skipped",reason:J.reason??"Warm remote callback declined"};return{status:"executed",detail:J.environmentId?`Remote capacity warmed for environment ${J.environmentId}`:"Remote capacity warm-up completed"}}catch(J){return{status:"failed",reason:`warm_remote_capacity callback failed: ${String(J)}`}}try{let{getReplBridgeHandle:J}=await import("./replBridgeHandle-0.1.9-1y32h5jq.mjs");if(!J())return{status:"skipped",reason:"Bridge is not active; warm_remote_capacity is a safe no-op"}}catch{return{status:"skipped",reason:"Bridge status unavailable; warm_remote_capacity skipped"}}try{let[{checkBackgroundRemoteSessionEligibility:J},{getEnvironmentSelectionInfo:O},P]=await Promise.all([import("./remoteSession-0.1.9-7jagnaes.mjs"),import("./environmentSelection-0.1.9-0va5g53h.mjs"),import("./environments-0.1.9-2hka6k26.mjs")]),Q=await J({skipBundle:!0});if(Q.length>0)return{status:"skipped",reason:`Remote warm-up preconditions failed: ${Q.map((N)=>N.type).join(", ")}`};let X=await O();if(!X.selectedEnvironment&&q.createDefaultEnvironmentIfMissing===!0){let N=await P.createDefaultCloudEnvironment("Claudio Self-Healing Warmup");X={availableEnvironments:[N],selectedEnvironment:N,selectedEnvironmentSource:null}}if(!X.selectedEnvironment)return{status:"skipped",reason:"No eligible remote environment available for warm-up"};return await P.fetchEnvironments(),{status:"executed",detail:`Remote warm-up checked environment ${X.selectedEnvironment.environment_id}`}}catch(J){return{status:"failed",reason:`Remote warm-up failed: ${String(J)}`}}}function Fq(j){K("chain_rule_matched",{rule_id:V(j.ruleId),hook_event_name:V(j.eventName),outcome:V(j.outcome),chain_depth:j.chainDepth}),M("chain_rule_matched",{rule_id:j.ruleId,hook_event_name:j.eventName,outcome:j.outcome,chain_depth:String(j.chainDepth)})}function Gq(j){K("chain_action_executed",{rule_id:V(j.ruleId),action_type:V(j.actionType),action_id:j.actionId?V(j.actionId):void 0,hook_event_name:V(j.eventName),outcome:V(j.outcome)}),M("chain_action_executed",{rule_id:j.ruleId,action_type:j.actionType,action_id:j.actionId,hook_event_name:j.eventName,outcome:j.outcome,detail:j.detail})}function C(j){let q=Jj(j.reason);K("chain_action_skipped",{rule_id:V(j.ruleId),action_type:V(j.actionType),action_id:j.actionId?V(j.actionId):void 0,hook_event_name:V(j.eventName),outcome:V(j.outcome),reason_category:V(q)}),M("chain_action_skipped",{rule_id:j.ruleId,action_type:j.actionType,action_id:j.actionId,hook_event_name:j.eventName,outcome:j.outcome,reason:j.reason})}function Hq(j){let q=Jj(j.reason);K("chain_action_failed",{rule_id:V(j.ruleId),action_type:V(j.actionType),action_id:j.actionId?V(j.actionId):void 0,hook_event_name:V(j.eventName),outcome:V(j.outcome),reason_category:V(q)}),M("chain_action_failed",{rule_id:j.ruleId,action_type:j.actionType,action_id:j.actionId,hook_event_name:j.eventName,outcome:j.outcome,reason:j.reason})}async function Jq(j){let{action:q}=j;if(q.enabled===!1)return{status:"skipped",reason:"action disabled"};switch(q.type){case"spawn_fallback_agent":return tj({action:q,rule:j.rule,event:j.event,runtime:j.runtime});case"notify_team":return qq({action:q,rule:j.rule,event:j.event,runtime:j.runtime});case"warm_remote_capacity":return Aq({action:q,rule:j.rule,event:j.event,runtime:j.runtime})}}function Lq(j,q){return j.cooldownMs??q.defaultCooldownMs}function Nq(j,q,G){return j.dedupWindowMs??q.dedupWindowMs??G.defaultDedupWindowMs}function Oq(j){let{rule:q,action:G,actionIndex:A,event:F,runtime:J}=j,O={ruleId:q.id,actionId:G.id??`${G.type}:${A}`,eventIdentity:oj(F),scope:J.dedupScope??""};return qj("sha1").update(U(O)).digest("hex")}async function yq(j){let q=j.runtime??{},G=rj({pathOverride:j.configPathOverride,forceReload:j.forceReloadConfig}),A=G.config,F={...j.event,payload:_(j.event.payload),occurredAt:j.event.occurredAt??Date.now()};if(!A.enabled||A.rules.length===0)return{enabled:!1,configPath:G.path,fromCache:G.fromCache,evaluatedRuleCount:0,matchedRuleIds:[],actionResults:[]};let J=q.chainDepth??0;if(J>=A.maxChainDepth)return{enabled:!0,configPath:G.path,fromCache:G.fromCache,evaluatedRuleCount:0,matchedRuleIds:[],actionResults:[]};let O=Date.now();dj(O);let P=ij(A.rules,F),Q=[];for(let X of P){let{rule:N}=X;if(q.signal?.aborted)break;if(N.maxDepth!==void 0&&J>=N.maxDepth){for(let T of N.actions){let L={ruleId:N.id,actionType:T.type,actionId:T.id,status:"skipped",reason:`rule maxDepth reached (${J}/${N.maxDepth})`};Q.push(L),C({ruleId:N.id,actionType:T.type,actionId:T.id,eventName:F.eventName,outcome:F.outcome,reason:L.reason??"rule depth guard"})}continue}let S=Lq(N,A),W=b.get(N.id);if(W&&W>O){for(let T of N.actions){let L=`rule cooldown active for ${W-O}ms`,D={ruleId:N.id,actionType:T.type,actionId:T.id,status:"skipped",reason:L};Q.push(D),C({ruleId:N.id,actionType:T.type,actionId:T.id,eventName:F.eventName,outcome:F.outcome,reason:L})}continue}b.set(N.id,O+S),Fq({ruleId:N.id,eventName:F.eventName,outcome:F.outcome,chainDepth:J});for(let T=0;T<N.actions.length;T++){let L=N.actions[T];if(!L)continue;if(q.signal?.aborted){let y={ruleId:N.id,actionType:L.type,actionId:L.id,status:"skipped",reason:"aborted"};Q.push(y),C({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:"aborted"});continue}let D=Oq({rule:N,action:L,actionIndex:T,event:F,runtime:q}),Lj=Nq(L,N,A),z=B.get(D);if(z&&z>O){let y=`dedup window active for ${z-O}ms`,Oj={ruleId:N.id,actionType:L.type,actionId:L.id,status:"skipped",reason:y};Q.push(Oj),C({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:y});continue}B.set(D,O+Lj);let $=await Jq({action:L,rule:N,event:F,runtime:q}),Nj={ruleId:N.id,actionType:L.type,actionId:L.id,status:$.status,reason:$.reason,detail:$.detail};if(Q.push(Nj),$.status==="executed")Gq({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,detail:$.detail});else if($.status==="skipped")C({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:$.reason??"skipped"});else Hq({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:$.reason??"failed"})}}if(c("info","hook_chains_dispatch",{event_name:F.eventName,outcome:F.outcome,matched_rules:P.length,action_results:Q.length}),G.error)w(`[hook-chains] Config validation error at ${G.path}: ${G.error}`);return{enabled:!0,configPath:G.path,fromCache:G.fromCache,evaluatedRuleCount:A.rules.length,matchedRuleIds:P.map((X)=>X.rule.id),actionResults:Q}}function Iq(){Z=null,b.clear(),B.clear()}function Jj(j){let q=j.toLowerCase();if(q.includes("aborted"))return"aborted";if(q.includes("cooldown"))return"cooldown";if(q.includes("dedup"))return"dedup";if(q.includes("policy"))return"policy";if(q.includes("context"))return"context_missing";if(q.includes("precondition"))return"precondition";if(q.includes("disabled"))return"disabled";return"other"}var Dj="CLAUDE_CODE_HOOK_CHAINS_CONFIG_PATH",yj="CLAUDE_CODE_ENABLE_HOOK_CHAINS",Ij,Fj=2,Gj=30000,Hj=30000,E=86400000,Uj=300000,zj=5000,fj=20000,h,pj,x,wj,xj,hj,Rj,mj,R,vj,Z=null,b,B;var Pq=Pj(()=>{Bj();Qj();$j();Ej();Xj();Yj();Tj();Vj();_j();bj();Kj();Wj();Cj();kj();Zj();Ij=Aj(".claudio","hook-chains.json"),h=H.enum(["success","failed","timeout","unknown"]),pj=H.object({toolNames:H.array(H.string().min(1)).optional(),taskStatuses:H.array(H.string().min(1)).optional(),errorIncludes:H.array(H.string().min(1)).optional(),eventFieldEquals:H.record(H.string(),H.union([H.string(),H.number(),H.boolean()])).optional()}).optional(),x=H.object({id:H.string().min(1).optional(),enabled:H.boolean().default(!0).optional(),dedupWindowMs:H.number().int().min(0).max(E).optional()}),wj=x.extend({type:H.literal("spawn_fallback_agent"),description:H.string().min(1).optional(),promptTemplate:H.string().min(1).optional(),agentType:H.string().min(1).optional(),model:H.string().min(1).optional()}),xj=x.extend({type:H.literal("notify_team"),teamName:H.string().min(1).optional(),recipients:H.array(H.string().min(1)).optional(),summary:H.string().min(1).optional(),messageTemplate:H.string().min(1).optional()}),hj=x.extend({type:H.literal("warm_remote_capacity"),createDefaultEnvironmentIfMissing:H.boolean().optional()}),Rj=H.discriminatedUnion("type",[wj,xj,hj]),mj=H.object({id:H.string().min(1),enabled:H.boolean().default(!0).optional(),trigger:H.object({event:H.enum(o),outcome:h.optional(),outcomes:H.array(h).nonempty().optional()}).superRefine((j,q)=>{if(j.outcome&&j.outcomes)q.addIssue({code:"custom",message:"Use either trigger.outcome or trigger.outcomes, not both.",path:["outcomes"]})}),condition:pj,cooldownMs:H.number().int().min(0).max(E).optional(),dedupWindowMs:H.number().int().min(0).max(E).optional(),maxDepth:H.number().int().min(0).max(10).optional(),actions:H.array(Rj).min(1)}),R=H.object({version:H.literal(1).default(1),enabled:H.boolean().default(!0),maxChainDepth:H.number().int().min(1).max(10).default(Fj),defaultCooldownMs:H.number().int().min(0).max(E).default(Gj),defaultDedupWindowMs:H.number().int().min(0).max(E).default(Hj),rules:H.array(mj).default([])}),vj=H.union([H.object({hookChains:R}),R]),b=new Map,B=new Map});Pq();export{Iq as resetHookChainsRuntimeStateForTests,rj as loadHookChainsConfig,Aq as executeWarmRemoteCapacityAction,tj as executeSpawnFallbackAgentAction,qq as executeNotifyTeamAction,ij as evaluateHookChainRules,Fq as emitHookChainRuleMatched,C as emitHookChainActionSkipped,Hq as emitHookChainActionFailed,Gq as emitHookChainActionExecuted,yq as dispatchHookChainsForEvent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$N as G,AN as f,BN as g,CN as h,DN as i,EN as j,FN as k,GN as l,HN as m,IN as n,JN as o,KN as p,LN as q,MN as r,NN as s,ON as t,PN as u,QN as v,RN as w,SN as x,TN as y,UN as z,VN as A,WN as B,XN as C,YN as D,ZN as E,_N as F,aO as H,bO as I,cO as J,dO as K,eO as L,fO as M,gO as N,hO as O,iO as P,vN as a,wN as b,xN as c,yN as d,zN as e}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";P();export{b as shouldSkipHookDueToTrust,M as hasWorktreeCreateHook,G as hasInstructionsLoadedHook,k as hasBlockingResult,j as getUserPromptSubmitHookBlockingMessage,g as getTeammateIdleHookMessage,h as getTaskCreatedHookMessage,i as getTaskCompletedHookMessage,f as getStopHookMessage,a as getSessionEndHookTimeoutMs,e as getPreToolHookBlockingMessage,d as getMatchingHooks,O as executeWorktreeRemoveHook,N as executeWorktreeCreateHook,v as executeUserPromptSubmitHooks,s as executeTeammateIdleHooks,t as executeTaskCreatedHooks,u as executeTaskCompletedHooks,y as executeSubagentStartHooks,r as executeStopHooks,q as executeStopFailureHooks,K as executeStatusLineCommand,x as executeSetupHooks,w as executeSessionStartHooks,B as executeSessionEndHooks,l as executePreToolHooks,z as executePreCompactHooks,n as executePostToolUseFailureHooks,m as executePostToolHooks,A as executePostCompactHooks,C as executePermissionRequestHooks,o as executePermissionDeniedHooks,p as executeNotificationHooks,H as executeInstructionsLoadedHooks,L as executeFileSuggestionCommand,F as executeFileChangedHooks,J as executeElicitationResultHooks,I as executeElicitationHooks,E as executeCwdChangedHooks,D as executeConfigChangeHooks,c as createBaseHookInput};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import{HJ as JJ,JC as IJ,JJ as OJ,KJ as _J,LC as DJ,iv as c,ji as qJ,jv as Vq,ki as BJ,mr as hq,nr as Mq,or as sq,pr as yq,qr as cq,rr as Dq,sr as Kq}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import{xP as u,yP as o}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import{tS as e,vS as CJ}from"./cli-0.1.9-gpd1bhnf.mjs";import{FS as $,UU as s,nU as _,pU as Y,tU as kq}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as D}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as TJ}from"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{B$ as pq,Z$ as t,caa as Fq,g7 as Hq,h7 as wJ,laa as bJ,t$ as i}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import{Afa as MJ,zfa as ZJ}from"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import{pma as WJ,zla as jq}from"./cli-0.1.9-7fp0smtp.mjs";import{Oma as gq,Pma as UJ}from"./cli-0.1.9-1ghbcafn.mjs";import{hna as V,lna as m}from"./cli-0.1.9-kbrf27z8.mjs";function uq(O,q){let Q={PreToolUse:{},PostToolUse:{},PostToolUseFailure:{},PermissionDenied:{},Notification:{},UserPromptSubmit:{},SessionStart:{},SessionEnd:{},Stop:{},StopFailure:{},SubagentStart:{},SubagentStop:{},PreCompact:{},PostCompact:{},PermissionRequest:{},Setup:{},TeammateIdle:{},TaskCreated:{},TaskCompleted:{},Elicitation:{},ElicitationResult:{},ConfigChange:{},WorktreeCreate:{},WorktreeRemove:{},InstructionsLoaded:{},CwdChanged:{},FileChanged:{}},T=Pq(q);Mq(O).forEach((J)=>{let Z=Q[J.event];if(Z){let X=T[J.event].matcherMetadata!==void 0?J.matcher||"":"";if(!Z[X])Z[X]=[];Z[X].push(J)}});let L=jq();if(L)for(let[J,Z]of Object.entries(L)){let X=J,G=Q[X];if(!G)continue;for(let N of Z){let K=N.matcher||"";if("pluginRoot"in N){G[K]??=[];for(let U of N.hooks)G[K].push({event:X,config:U,matcher:N.matcher,source:"pluginHook",pluginName:N.pluginId})}}}return Q}function xq(O,q){let Q=Object.keys(O[q]||{});return Dq(Q,O,q)}function vq(O,q,Q){let T=Q??"";return O[q]?.[T]??[]}function a(O,q){return Pq(q)[O].matcherMetadata}var Pq;var Sq=m(()=>{UJ();WJ();Kq();Pq=gq(function(O){return{PreToolUse:{summary:"Before tool execution",description:`Input to command is JSON of tool call arguments.
|
|
2
|
-
Exit code 0 - stdout/stderr not shown
|
|
3
|
-
Exit code 2 - show stderr to model and block tool call
|
|
4
|
-
Other exit codes - show stderr to user only but continue with tool call`,matcherMetadata:{fieldToMatch:"tool_name",values:O}},PostToolUse:{summary:"After tool execution",description:`Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).
|
|
5
|
-
Exit code 0 - stdout shown in transcript mode (ctrl+o)
|
|
6
|
-
Exit code 2 - show stderr to model immediately
|
|
7
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"tool_name",values:O}},PostToolUseFailure:{summary:"After tool execution fails",description:`Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.
|
|
8
|
-
Exit code 0 - stdout shown in transcript mode (ctrl+o)
|
|
9
|
-
Exit code 2 - show stderr to model immediately
|
|
10
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"tool_name",values:O}},PermissionDenied:{summary:"After auto mode classifier denies a tool call",description:`Input to command is JSON with tool_name, tool_input, tool_use_id, and reason.
|
|
11
|
-
Return {"hookSpecificOutput":{"hookEventName":"PermissionDenied","retry":true}} to tell the model it may retry.
|
|
12
|
-
Exit code 0 - stdout shown in transcript mode (ctrl+o)
|
|
13
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"tool_name",values:O}},Notification:{summary:"When notifications are sent",description:`Input to command is JSON with notification message and type.
|
|
14
|
-
Exit code 0 - stdout/stderr not shown
|
|
15
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"notification_type",values:["permission_prompt","idle_prompt","auth_success","elicitation_dialog","elicitation_complete","elicitation_response"]}},UserPromptSubmit:{summary:"When the user submits a prompt",description:`Input to command is JSON with original user prompt text.
|
|
16
|
-
Exit code 0 - stdout shown to Claude
|
|
17
|
-
Exit code 2 - block processing, erase original prompt, and show stderr to user only
|
|
18
|
-
Other exit codes - show stderr to user only`},SessionStart:{summary:"When a new session is started",description:`Input to command is JSON with session start source.
|
|
19
|
-
Exit code 0 - stdout shown to Claude
|
|
20
|
-
Blocking errors are ignored
|
|
21
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"source",values:["startup","resume","clear","compact"]}},Stop:{summary:"Right before Claude concludes its response",description:`Exit code 0 - stdout/stderr not shown
|
|
22
|
-
Exit code 2 - show stderr to model and continue conversation
|
|
23
|
-
Other exit codes - show stderr to user only`},StopFailure:{summary:"When the turn ends due to an API error",description:"Fires instead of Stop when an API error (rate limit, auth failure, etc.) ended the turn. Fire-and-forget — hook output and exit codes are ignored.",matcherMetadata:{fieldToMatch:"error",values:["rate_limit","authentication_failed","billing_error","invalid_request","server_error","max_output_tokens","unknown"]}},SubagentStart:{summary:"When a subagent (Agent tool call) is started",description:`Input to command is JSON with agent_id and agent_type.
|
|
24
|
-
Exit code 0 - stdout shown to subagent
|
|
25
|
-
Blocking errors are ignored
|
|
26
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"agent_type",values:[]}},SubagentStop:{summary:"Right before a subagent (Agent tool call) concludes its response",description:`Input to command is JSON with agent_id, agent_type, and agent_transcript_path.
|
|
27
|
-
Exit code 0 - stdout/stderr not shown
|
|
28
|
-
Exit code 2 - show stderr to subagent and continue having it run
|
|
29
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"agent_type",values:[]}},PreCompact:{summary:"Before conversation compaction",description:`Input to command is JSON with compaction details.
|
|
30
|
-
Exit code 0 - stdout appended as custom compact instructions
|
|
31
|
-
Exit code 2 - block compaction
|
|
32
|
-
Other exit codes - show stderr to user only but continue with compaction`,matcherMetadata:{fieldToMatch:"trigger",values:["manual","auto"]}},PostCompact:{summary:"After conversation compaction",description:`Input to command is JSON with compaction details and the summary.
|
|
33
|
-
Exit code 0 - stdout shown to user
|
|
34
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"trigger",values:["manual","auto"]}},SessionEnd:{summary:"When a session is ending",description:`Input to command is JSON with session end reason.
|
|
35
|
-
Exit code 0 - command completes successfully
|
|
36
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"reason",values:["clear","logout","prompt_input_exit","other"]}},PermissionRequest:{summary:"When a permission dialog is displayed",description:`Input to command is JSON with tool_name, tool_input, and tool_use_id.
|
|
37
|
-
Output JSON with hookSpecificOutput containing decision to allow or deny.
|
|
38
|
-
Exit code 0 - use hook decision if provided
|
|
39
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"tool_name",values:O}},Setup:{summary:"Repo setup hooks for init and maintenance",description:`Input to command is JSON with trigger (init or maintenance).
|
|
40
|
-
Exit code 0 - stdout shown to Claude
|
|
41
|
-
Blocking errors are ignored
|
|
42
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"trigger",values:["init","maintenance"]}},TeammateIdle:{summary:"When a teammate is about to go idle",description:`Input to command is JSON with teammate_name and team_name.
|
|
43
|
-
Exit code 0 - stdout/stderr not shown
|
|
44
|
-
Exit code 2 - show stderr to teammate and prevent idle (teammate continues working)
|
|
45
|
-
Other exit codes - show stderr to user only`},TaskCreated:{summary:"When a task is being created",description:`Input to command is JSON with task_id, task_subject, task_description, teammate_name, and team_name.
|
|
46
|
-
Exit code 0 - stdout/stderr not shown
|
|
47
|
-
Exit code 2 - show stderr to model and prevent task creation
|
|
48
|
-
Other exit codes - show stderr to user only`},TaskCompleted:{summary:"When a task is being marked as completed",description:`Input to command is JSON with task_id, task_subject, task_description, teammate_name, and team_name.
|
|
49
|
-
Exit code 0 - stdout/stderr not shown
|
|
50
|
-
Exit code 2 - show stderr to model and prevent task completion
|
|
51
|
-
Other exit codes - show stderr to user only`},Elicitation:{summary:"When an MCP server requests user input (elicitation)",description:`Input to command is JSON with mcp_server_name, message, and requested_schema.
|
|
52
|
-
Output JSON with hookSpecificOutput containing action (accept/decline/cancel) and optional content.
|
|
53
|
-
Exit code 0 - use hook response if provided
|
|
54
|
-
Exit code 2 - deny the elicitation
|
|
55
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"mcp_server_name",values:[]}},ElicitationResult:{summary:"After a user responds to an MCP elicitation",description:`Input to command is JSON with mcp_server_name, action, content, mode, and elicitation_id.
|
|
56
|
-
Output JSON with hookSpecificOutput containing optional action and content to override the response.
|
|
57
|
-
Exit code 0 - use hook response if provided
|
|
58
|
-
Exit code 2 - block the response (action becomes decline)
|
|
59
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"mcp_server_name",values:[]}},ConfigChange:{summary:"When configuration files change during a session",description:`Input to command is JSON with source (user_settings, project_settings, local_settings, policy_settings, skills) and file_path.
|
|
60
|
-
Exit code 0 - allow the change
|
|
61
|
-
Exit code 2 - block the change from being applied to the session
|
|
62
|
-
Other exit codes - show stderr to user only`,matcherMetadata:{fieldToMatch:"source",values:["user_settings","project_settings","local_settings","policy_settings","skills"]}},InstructionsLoaded:{summary:"When an instruction file (CLAUDE.md or rule) is loaded",description:`Input to command is JSON with file_path, memory_type (User, Project, Local, Managed), load_reason (session_start, nested_traversal, path_glob_match, include, compact), globs (optional — the paths: frontmatter patterns that matched), trigger_file_path (optional — the file Claude touched that caused the load), and parent_file_path (optional — the file that @-included this one).
|
|
63
|
-
Exit code 0 - command completes successfully
|
|
64
|
-
Other exit codes - show stderr to user only
|
|
65
|
-
This hook is observability-only and does not support blocking.`,matcherMetadata:{fieldToMatch:"load_reason",values:["session_start","nested_traversal","path_glob_match","include","compact"]}},WorktreeCreate:{summary:"Create an isolated worktree for VCS-agnostic isolation",description:`Input to command is JSON with name (suggested worktree slug).
|
|
66
|
-
Stdout should contain the absolute path to the created worktree directory.
|
|
67
|
-
Exit code 0 - worktree created successfully
|
|
68
|
-
Other exit codes - worktree creation failed`},WorktreeRemove:{summary:"Remove a previously created worktree",description:`Input to command is JSON with worktree_path (absolute path to worktree).
|
|
69
|
-
Exit code 0 - worktree removed successfully
|
|
70
|
-
Other exit codes - show stderr to user only`},CwdChanged:{summary:"After the working directory changes",description:`Input to command is JSON with old_cwd and new_cwd.
|
|
71
|
-
CLAUDE_ENV_FILE is set — write bash exports there to apply env to subsequent BashTool commands.
|
|
72
|
-
Hook output can include hookSpecificOutput.watchPaths (array of absolute paths) to register with the FileChanged watcher.
|
|
73
|
-
Exit code 0 - command completes successfully
|
|
74
|
-
Other exit codes - show stderr to user only`},FileChanged:{summary:"When a watched file changes",description:`Input to command is JSON with file_path and event (change, add, unlink).
|
|
75
|
-
CLAUDE_ENV_FILE is set — write bash exports there to apply env to subsequent BashTool commands.
|
|
76
|
-
The matcher field specifies filenames to watch in the current directory (e.g. ".envrc|.env").
|
|
77
|
-
Hook output can include hookSpecificOutput.watchPaths (array of absolute paths) to dynamically update the watch list.
|
|
78
|
-
Exit code 0 - command completes successfully
|
|
79
|
-
Other exit codes - show stderr to user only`}}},(O)=>O.slice().sort().join(","))});function mq(O){let q=Eq.c(23),{hookEventMetadata:Q,hooksByEvent:T,totalHooksCount:L,restrictedByPolicy:J,onSelectEvent:Z,onCancel:X}=O,G;if(q[0]!==L)G=i(L,"hook"),q[0]=L,q[1]=G;else G=q[1];let N=`${L} ${G} configured`,K;if(q[2]!==J)K=J&&j.jsxDEV(_,{flexDirection:"column",children:[j.jsxDEV(Y,{color:"suggestion",children:[Hq.info," Hooks Restricted by Policy"]},void 0,!0,void 0,this),j.jsxDEV(Y,{dimColor:!0,children:"Only hooks from managed settings can run. User-defined hooks from ~/.claude/settings.json, .claude/settings.json, and .claude/settings.local.json are blocked."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[2]=J,q[3]=K;else K=q[3];let U;if(q[4]===Symbol.for("react.memo_cache_sentinel"))U=j.jsxDEV(_,{flexDirection:"column",children:j.jsxDEV(Y,{dimColor:!0,children:[Hq.info," This menu is read-only. To add or modify hooks, edit settings.json directly or ask Claude."," ",j.jsxDEV(kq,{url:"https://code.claude.com/docs/en/hooks",children:"Learn more"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),q[4]=U;else U=q[4];let W;if(q[5]!==Z)W=(f)=>{Z(f)},q[5]=Z,q[6]=W;else W=q[6];let w;if(q[7]!==Q)w=Object.entries(Q),q[7]=Q,q[8]=w;else w=q[8];let P;if(q[9]!==T||q[10]!==w)P=w.map((f)=>{let[g,H]=f,k=T[g]||0;return{label:k>0?j.jsxDEV(Y,{children:[g," ",j.jsxDEV(Y,{color:"suggestion",children:["(",k,")"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):g,value:g,description:H.summary}}),q[9]=T,q[10]=w,q[11]=P;else P=q[11];let I;if(q[12]!==X||q[13]!==W||q[14]!==P)I=j.jsxDEV(_,{flexDirection:"column",children:j.jsxDEV(c,{onChange:W,onCancel:X,options:P},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[12]=X,q[13]=W,q[14]=P,q[15]=I;else I=q[15];let F;if(q[16]!==K||q[17]!==I)F=j.jsxDEV(_,{flexDirection:"column",gap:1,children:[K,U,I]},void 0,!0,void 0,this),q[16]=K,q[17]=I,q[18]=F;else F=q[18];let B;if(q[19]!==X||q[20]!==N||q[21]!==F)B=j.jsxDEV(u,{title:"Hooks",subtitle:N,onCancel:X,children:F},void 0,!1,void 0,this),q[19]=X,q[20]=N,q[21]=F,q[22]=B;else B=q[22];return B}var Eq,j;var iq=m(()=>{wJ();s();pq();Vq();o();Eq=V($(),1),j=V(D(),1)});function dq(O){let q=rq.c(19),{selectedEvent:Q,selectedMatcher:T,hooksForSelectedMatcher:L,hookEventMetadata:J,onSelect:Z,onCancel:X}=O,G=J.matcherMetadata!==void 0?`${Q} - Matcher: ${T||"(all)"}`:Q;if(L.length===0){let P;if(q[0]===Symbol.for("react.memo_cache_sentinel"))P=x.jsxDEV(_,{flexDirection:"column",gap:1,children:[x.jsxDEV(Y,{dimColor:!0,children:"No hooks configured for this event."},void 0,!1,void 0,this),x.jsxDEV(Y,{dimColor:!0,children:"To add hooks, edit settings.json directly or ask Claude."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[0]=P;else P=q[0];let I;if(q[1]!==J.description||q[2]!==X||q[3]!==G)I=x.jsxDEV(u,{title:G,subtitle:J.description,onCancel:X,inputGuide:GJ,children:P},void 0,!1,void 0,this),q[1]=J.description,q[2]=X,q[3]=G,q[4]=I;else I=q[4];return I}let N=J.description,K;if(q[5]!==L)K=L.map(RJ),q[5]=L,q[6]=K;else K=q[6];let U;if(q[7]!==L||q[8]!==Z)U=(P)=>{let I=parseInt(P,10),F=L[I];if(F)Z(F)},q[7]=L,q[8]=Z,q[9]=U;else U=q[9];let W;if(q[10]!==X||q[11]!==K||q[12]!==U)W=x.jsxDEV(_,{flexDirection:"column",children:x.jsxDEV(c,{options:K,onChange:U,onCancel:X},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[10]=X,q[11]=K,q[12]=U,q[13]=W;else W=q[13];let w;if(q[14]!==J.description||q[15]!==X||q[16]!==W||q[17]!==G)w=x.jsxDEV(u,{title:G,subtitle:N,onCancel:X,children:W},void 0,!1,void 0,this),q[14]=J.description,q[15]=X,q[16]=W,q[17]=G,q[18]=w;else w=q[18];return w}function RJ(O,q){return{label:`[${O.config.type}] ${hq(O.config)}`,value:q.toString(),description:O.source==="pluginHook"&&O.pluginName?`${yq(O.source)} (${O.pluginName})`:yq(O.source)}}function GJ(){return x.jsxDEV(Y,{children:"Esc to go back"},void 0,!1,void 0,this)}var rq,x;var lq=m(()=>{s();Kq();Vq();o();rq=V($(),1),x=V(D(),1)});function aq(O){let q=nq.c(25),{selectedEvent:Q,matchersForSelectedEvent:T,hooksByEventAndMatcher:L,eventDescription:J,onSelect:Z,onCancel:X}=O,G;if(q[0]!==L||q[1]!==T||q[2]!==Q){let I;if(q[4]!==L||q[5]!==Q)I=(F)=>{let B=L[Q]?.[F]||[],f=Array.from(new Set(B.map(fJ)));return{matcher:F,sources:f,hookCount:B.length}},q[4]=L,q[5]=Q,q[6]=I;else I=q[6];G=T.map(I),q[0]=L,q[1]=T,q[2]=Q,q[3]=G}else G=q[3];let N=G;if(T.length===0){let I=`${Q} - Matchers`,F;if(q[7]===Symbol.for("react.memo_cache_sentinel"))F=v.jsxDEV(_,{flexDirection:"column",gap:1,children:[v.jsxDEV(Y,{dimColor:!0,children:"No hooks configured for this event."},void 0,!1,void 0,this),v.jsxDEV(Y,{dimColor:!0,children:"To add hooks, edit settings.json directly or ask Claude."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[7]=F;else F=q[7];let B;if(q[8]!==J||q[9]!==X||q[10]!==I)B=v.jsxDEV(u,{title:I,subtitle:J,onCancel:X,inputGuide:PJ,children:F},void 0,!1,void 0,this),q[8]=J,q[9]=X,q[10]=I,q[11]=B;else B=q[11];return B}let K=`${Q} - Matchers`,U;if(q[12]!==N)U=N.map(KJ),q[12]=N,q[13]=U;else U=q[13];let W;if(q[14]!==Z)W=(I)=>{Z(I)},q[14]=Z,q[15]=W;else W=q[15];let w;if(q[16]!==X||q[17]!==U||q[18]!==W)w=v.jsxDEV(_,{flexDirection:"column",children:v.jsxDEV(c,{options:U,onChange:W,onCancel:X},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[16]=X,q[17]=U,q[18]=W,q[19]=w;else w=q[19];let P;if(q[20]!==J||q[21]!==X||q[22]!==K||q[23]!==w)P=v.jsxDEV(u,{title:K,subtitle:J,onCancel:X,children:w},void 0,!1,void 0,this),q[20]=J,q[21]=X,q[22]=K,q[23]=w,q[24]=P;else P=q[24];return P}function KJ(O){let q=O.sources.map(cq).join(", "),Q=O.matcher||"(all)";return{label:`[${q}] ${Q}`,value:O.matcher,description:`${O.hookCount} ${i(O.hookCount,"hook")}`}}function PJ(){return v.jsxDEV(Y,{children:"Esc to go back"},void 0,!1,void 0,this)}function fJ(O){return O.source}var nq,v;var $q=m(()=>{s();Kq();pq();Vq();o();nq=V($(),1),v=V(D(),1)});function eq(O){let q=oq.c(40),{selectedHook:Q,eventSupportsMatcher:T,onCancel:L}=O,J;if(q[0]!==Q.event)J=C.jsxDEV(Y,{children:["Event: ",C.jsxDEV(Y,{bold:!0,children:Q.event},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[0]=Q.event,q[1]=J;else J=q[1];let Z;if(q[2]!==T||q[3]!==Q.matcher)Z=T&&C.jsxDEV(Y,{children:["Matcher: ",C.jsxDEV(Y,{bold:!0,children:Q.matcher||"(all)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[2]=T,q[3]=Q.matcher,q[4]=Z;else Z=q[4];let X;if(q[5]!==Q.config.type)X=C.jsxDEV(Y,{children:["Type: ",C.jsxDEV(Y,{bold:!0,children:Q.config.type},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[5]=Q.config.type,q[6]=X;else X=q[6];let G;if(q[7]!==Q.source)G=sq(Q.source),q[7]=Q.source,q[8]=G;else G=q[8];let N;if(q[9]!==G)N=C.jsxDEV(Y,{children:["Source:"," ",C.jsxDEV(Y,{dimColor:!0,children:G},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[9]=G,q[10]=N;else N=q[10];let K;if(q[11]!==Q.pluginName)K=Q.pluginName&&C.jsxDEV(Y,{children:["Plugin: ",C.jsxDEV(Y,{dimColor:!0,children:Q.pluginName},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[11]=Q.pluginName,q[12]=K;else K=q[12];let U;if(q[13]!==J||q[14]!==Z||q[15]!==X||q[16]!==N||q[17]!==K)U=C.jsxDEV(_,{flexDirection:"column",children:[J,Z,X,N,K]},void 0,!0,void 0,this),q[13]=J,q[14]=Z,q[15]=X,q[16]=N,q[17]=K,q[18]=U;else U=q[18];let W;if(q[19]!==Q.config)W=AJ(Q.config),q[19]=Q.config,q[20]=W;else W=q[20];let w;if(q[21]!==W)w=C.jsxDEV(Y,{dimColor:!0,children:[W,":"]},void 0,!0,void 0,this),q[21]=W,q[22]=w;else w=q[22];let P;if(q[23]!==Q.config)P=NJ(Q.config),q[23]=Q.config,q[24]=P;else P=q[24];let I;if(q[25]!==P)I=C.jsxDEV(_,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,paddingRight:1,children:C.jsxDEV(Y,{children:P},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[25]=P,q[26]=I;else I=q[26];let F;if(q[27]!==I||q[28]!==w)F=C.jsxDEV(_,{flexDirection:"column",children:[w,I]},void 0,!0,void 0,this),q[27]=I,q[28]=w,q[29]=F;else F=q[29];let B;if(q[30]!==Q.config)B="statusMessage"in Q.config&&Q.config.statusMessage&&C.jsxDEV(Y,{children:["Status message:"," ",C.jsxDEV(Y,{dimColor:!0,children:Q.config.statusMessage},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[30]=Q.config,q[31]=B;else B=q[31];let f;if(q[32]===Symbol.for("react.memo_cache_sentinel"))f=C.jsxDEV(Y,{dimColor:!0,children:"To modify or remove this hook, edit settings.json directly or ask Claude to help."},void 0,!1,void 0,this),q[32]=f;else f=q[32];let g;if(q[33]!==F||q[34]!==B||q[35]!==U)g=C.jsxDEV(_,{flexDirection:"column",gap:1,children:[U,F,B,f]},void 0,!0,void 0,this),q[33]=F,q[34]=B,q[35]=U,q[36]=g;else g=q[36];let H;if(q[37]!==L||q[38]!==g)H=C.jsxDEV(u,{title:"Hook details",onCancel:L,inputGuide:FJ,children:g},void 0,!1,void 0,this),q[37]=L,q[38]=g,q[39]=H;else H=q[39];return H}function FJ(){return C.jsxDEV(Y,{children:"Esc to go back"},void 0,!1,void 0,this)}function AJ(O){switch(O.type){case"command":return"Command";case"prompt":return"Prompt";case"agent":return"Prompt";case"http":return"URL"}}function NJ(O){switch(O.type){case"command":return O.command;case"prompt":return O.prompt;case"agent":return O.prompt;case"http":return O.url}}var oq,C;var tq=m(()=>{s();Kq();o();oq=V($(),1),C=V(D(),1)});function XJ(O){let q=QJ.c(100),{toolNames:Q,onExit:T}=O,L;if(q[0]===Symbol.for("react.memo_cache_sentinel"))L={mode:"select-event"},q[0]=L;else L=q[0];let[J,Z]=fq.useState(L),[X,G]=fq.useState(jJ),[N,K]=fq.useState(gJ),U;if(q[1]===Symbol.for("react.memo_cache_sentinel"))U=(A)=>{if(A==="policySettings"){let R=Fq()?.disableAllHooks===!0;G(R&&t("policySettings")?.disableAllHooks===!0),K(t("policySettings")?.allowManagedHooksOnly===!0)}},q[1]=U;else U=q[1];qJ(U);let W=J.mode,w="event"in J?J.event:"PreToolUse",P="matcher"in J?J.matcher:null,I=JJ(yJ),F=OJ(),B;if(q[2]!==I.tools||q[3]!==Q)B=[...Q,...I.tools.map(VJ)],q[2]=I.tools,q[3]=Q,q[4]=B;else B=q[4];let f=B,g;if(q[5]!==F||q[6]!==f)g=uq(F.getState(),f),q[5]=F,q[6]=f,q[7]=g;else g=q[7];let H=g,k;if(q[8]!==H||q[9]!==w)k=xq(H,w),q[8]=H,q[9]=w,q[10]=k;else k=q[10];let Aq=k,qq;if(q[11]!==H||q[12]!==w||q[13]!==P)qq=vq(H,w,P),q[11]=H,q[12]=w,q[13]=P,q[14]=qq;else qq=q[14];let Nq=qq,Jq;if(q[15]!==T)Jq=()=>{T("Hooks dialog dismissed",{display:"system"})},q[15]=T,q[16]=Jq;else Jq=q[16];let E=Jq,bq=W==="select-event",Oq;if(q[17]!==bq)Oq={context:"Confirmation",isActive:bq},q[17]=bq,q[18]=Oq;else Oq=q[18];e("confirm:no",E,Oq);let Qq;if(q[19]===Symbol.for("react.memo_cache_sentinel"))Qq=()=>{Z({mode:"select-event"})},q[19]=Qq;else Qq=q[19];let Tq=W==="select-matcher",Xq;if(q[20]!==Tq)Xq={context:"Confirmation",isActive:Tq},q[20]=Tq,q[21]=Xq;else Xq=q[21];e("confirm:no",Qq,Xq);let Yq;if(q[22]!==f||q[23]!==J)Yq=()=>{if("event"in J)if(a(J.event,f)!==void 0)Z({mode:"select-matcher",event:J.event});else Z({mode:"select-event"})},q[22]=f,q[23]=J,q[24]=Yq;else Yq=q[24];let Bq=W==="select-hook",Zq;if(q[25]!==Bq)Zq={context:"Confirmation",isActive:Bq},q[25]=Bq,q[26]=Zq;else Zq=q[26];e("confirm:no",Yq,Zq);let Iq;if(q[27]!==J)Iq=()=>{if(J.mode==="view-hook"){let{event:A,hook:z}=J;Z({mode:"select-hook",event:A,matcher:z.matcher||""})}},q[27]=J,q[28]=Iq;else Iq=q[28];let Cq=W==="view-hook",zq;if(q[29]!==Cq)zq={context:"Confirmation",isActive:Cq},q[29]=Cq,q[30]=zq;else zq=q[30];e("confirm:no",Iq,zq);let Lq;if(q[31]!==f)Lq=Pq(f),q[31]=f,q[32]=Lq;else Lq=q[32];let n=Lq,LJ=Fq()?.disableAllHooks===!0,Uq;if(q[33]!==H){let A={},z=0;for(let[R,b]of Object.entries(H)){let p=Object.values(b).reduce(pJ,0);A[R]=p,z=z+p}Uq={hooksByEvent:A,totalHooksCount:z},q[33]=H,q[34]=Uq}else Uq=q[34];let{hooksByEvent:_q,totalHooksCount:M}=Uq;if(LJ){let A;if(q[35]===Symbol.for("react.memo_cache_sentinel"))A=y.jsxDEV(Y,{bold:!0,children:"disabled"},void 0,!1,void 0,this),q[35]=A;else A=q[35];let z=X&&" by a managed settings file",R;if(q[36]!==M)R=y.jsxDEV(Y,{bold:!0,children:M},void 0,!1,void 0,this),q[36]=M,q[37]=R;else R=q[37];let b;if(q[38]!==M)b=i(M,"hook"),q[38]=M,q[39]=b;else b=q[39];let p;if(q[40]!==M)p=i(M,"is","are"),q[40]=M,q[41]=p;else p=q[41];let S;if(q[42]!==z||q[43]!==R||q[44]!==b||q[45]!==p)S=y.jsxDEV(Y,{children:["All hooks are currently ",A,z,". You have"," ",R," configured"," ",b," that"," ",p," not running."]},void 0,!0,void 0,this),q[42]=z,q[43]=R,q[44]=b,q[45]=p,q[46]=S;else S=q[46];let h,Wq,wq,Rq;if(q[47]===Symbol.for("react.memo_cache_sentinel"))h=y.jsxDEV(_,{marginTop:1,children:y.jsxDEV(Y,{dimColor:!0,children:"When hooks are disabled:"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Wq=y.jsxDEV(Y,{dimColor:!0,children:"· No hook commands will execute"},void 0,!1,void 0,this),wq=y.jsxDEV(Y,{dimColor:!0,children:"· StatusLine will not be displayed"},void 0,!1,void 0,this),Rq=y.jsxDEV(Y,{dimColor:!0,children:"· Tool operations will proceed without hook validation"},void 0,!1,void 0,this),q[47]=h,q[48]=Wq,q[49]=wq,q[50]=Rq;else h=q[47],Wq=q[48],wq=q[49],Rq=q[50];let r;if(q[51]!==S)r=y.jsxDEV(_,{flexDirection:"column",children:[S,h,Wq,wq,Rq]},void 0,!0,void 0,this),q[51]=S,q[52]=r;else r=q[52];let d;if(q[53]!==X)d=!X&&y.jsxDEV(Y,{dimColor:!0,children:'To re-enable hooks, remove "disableAllHooks" from settings.json or ask Claude.'},void 0,!1,void 0,this),q[53]=X,q[54]=d;else d=q[54];let l;if(q[55]!==r||q[56]!==d)l=y.jsxDEV(_,{flexDirection:"column",gap:1,children:[r,d]},void 0,!0,void 0,this),q[55]=r,q[56]=d,q[57]=l;else l=q[57];let Gq;if(q[58]!==E||q[59]!==l)Gq=y.jsxDEV(u,{title:"Hook Configuration - Disabled",onCancel:E,inputGuide:HJ,children:l},void 0,!1,void 0,this),q[58]=E,q[59]=l,q[60]=Gq;else Gq=q[60];return Gq}switch(J.mode){case"select-event":{let A;if(q[61]!==f)A=(R)=>{if(a(R,f)!==void 0)Z({mode:"select-matcher",event:R});else Z({mode:"select-hook",event:R,matcher:""})},q[61]=f,q[62]=A;else A=q[62];let z;if(q[63]!==E||q[64]!==n||q[65]!==_q||q[66]!==N||q[67]!==A||q[68]!==M)z=y.jsxDEV(mq,{hookEventMetadata:n,hooksByEvent:_q,totalHooksCount:M,restrictedByPolicy:N,onSelectEvent:A,onCancel:E},void 0,!1,void 0,this),q[63]=E,q[64]=n,q[65]=_q,q[66]=N,q[67]=A,q[68]=M,q[69]=z;else z=q[69];return z}case"select-matcher":{let A=n[J.event],z;if(q[70]!==J.event)z=(p)=>{Z({mode:"select-hook",event:J.event,matcher:p})},q[70]=J.event,q[71]=z;else z=q[71];let R;if(q[72]===Symbol.for("react.memo_cache_sentinel"))R=()=>{Z({mode:"select-event"})},q[72]=R;else R=q[72];let b;if(q[73]!==H||q[74]!==J.event||q[75]!==Aq||q[76]!==A.description||q[77]!==z)b=y.jsxDEV(aq,{selectedEvent:J.event,matchersForSelectedEvent:Aq,hooksByEventAndMatcher:H,eventDescription:A.description,onSelect:z,onCancel:R},void 0,!1,void 0,this),q[73]=H,q[74]=J.event,q[75]=Aq,q[76]=A.description,q[77]=z,q[78]=b;else b=q[78];return b}case"select-hook":{let A=n[J.event],z;if(q[79]!==J.event)z=(p)=>{Z({mode:"view-hook",event:J.event,hook:p})},q[79]=J.event,q[80]=z;else z=q[80];let R;if(q[81]!==f||q[82]!==J.event)R=()=>{if(a(J.event,f)!==void 0)Z({mode:"select-matcher",event:J.event});else Z({mode:"select-event"})},q[81]=f,q[82]=J.event,q[83]=R;else R=q[83];let b;if(q[84]!==Nq||q[85]!==J.event||q[86]!==J.matcher||q[87]!==A||q[88]!==z||q[89]!==R)b=y.jsxDEV(dq,{selectedEvent:J.event,selectedMatcher:J.matcher,hooksForSelectedMatcher:Nq,hookEventMetadata:A,onSelect:z,onCancel:R},void 0,!1,void 0,this),q[84]=Nq,q[85]=J.event,q[86]=J.matcher,q[87]=A,q[88]=z,q[89]=R,q[90]=b;else b=q[90];return b}case"view-hook":{let A=J.hook,z;if(q[91]!==f||q[92]!==J.event)z=a(J.event,f),q[91]=f,q[92]=J.event,q[93]=z;else z=q[93];let R=z!==void 0,b;if(q[94]!==J)b=()=>{let{event:S,hook:h}=J;Z({mode:"select-hook",event:S,matcher:h.matcher||""})},q[94]=J,q[95]=b;else b=q[95];let p;if(q[96]!==J.hook||q[97]!==R||q[98]!==b)p=y.jsxDEV(eq,{selectedHook:A,eventSupportsMatcher:R,onCancel:b},void 0,!1,void 0,this),q[96]=J.hook,q[97]=R,q[98]=b,q[99]=p;else p=q[99];return p}}}function HJ(){return y.jsxDEV(Y,{children:"Esc to close"},void 0,!1,void 0,this)}function pJ(O,q){return O+q.length}function VJ(O){return O.name}function yJ(O){return O.mcp}function gJ(){return t("policySettings")?.allowManagedHooksOnly===!0}function jJ(){return Fq()?.disableAllHooks===!0&&t("policySettings")?.disableAllHooks===!0}var QJ,fq,y;var YJ=m(()=>{_J();BJ();s();CJ();Sq();bJ();pq();o();iq();lq();$q();tq();QJ=V($(),1),fq=V(TJ(),1),y=V(D(),1)});var zJ,_O=async(O,q)=>{ZJ("tengu_hooks_command",{});let T=q.getAppState().toolPermissionContext,L=IJ(T).map((J)=>J.name);return zJ.jsxDEV(XJ,{toolNames:L,onExit:O},void 0,!1,void 0,this)};var uJ=m(()=>{YJ();MJ();DJ();zJ=V(D(),1)});uJ();export{_O as call};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Bt as s,DI as K0,EO as r0,Gt as J0,HJ as Q0,IJ as U0,Jt as c,KJ as f0,NI as k0,Nt as n,iv as w,kO as W0,kv as e,vt as H0,xt as E,yt as g}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import{xP as f,yP as t}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import{FS as D,UU as a,nU as p,pU as P}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as o}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as F0}from"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import{$4 as M,a5 as P0}from"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{Waa as I,Zaa as $,n7 as q0,p7 as y0,qba as R0}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import{wda as d,xda as O0}from"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import{Afa as L0,zfa as z0}from"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as k,lna as l}from"./cli-0.1.9-kbrf27z8.mjs";function m0(A){let m=i.c(9),{onComplete:Y}=A,q;if(m[0]!==Y)q=async(U)=>{let W=U==="yes";I((H)=>({...H,autoConnectIde:W,hasIdeAutoConnectDialogBeenShown:!0})),Y()},m[0]=Y,m[1]=q;else q=m[1];let J=q,B;if(m[2]===Symbol.for("react.memo_cache_sentinel"))B=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],m[2]=B;else B=m[2];let K=B,X;if(m[3]!==J)X=C.jsxDEV(w,{options:K,onChange:J,defaultValue:"yes"},void 0,!1,void 0,this),m[3]=J,m[4]=X;else X=m[4];let z;if(m[5]===Symbol.for("react.memo_cache_sentinel"))z=C.jsxDEV(P,{dimColor:!0,children:"You can also configure this in /config or with the --ide flag"},void 0,!1,void 0,this),m[5]=z;else z=m[5];let G;if(m[6]!==Y||m[7]!==X)G=C.jsxDEV(f,{title:"Do you wish to enable auto-connect to IDE?",color:"ide",onCancel:Y,children:[X,z]},void 0,!0,void 0,this),m[6]=Y,m[7]=X,m[8]=G;else G=m[8];return G}function Y0(){let A=$();return!g()&&A.autoConnectIde!==!0&&A.hasIdeAutoConnectDialogBeenShown!==!0}function A0(A){let m=i.c(10),{onComplete:Y}=A,q;if(m[0]!==Y)q=(W)=>{let H=W==="yes";if(H)I(T0);Y(H)},m[0]=Y,m[1]=q;else q=m[1];let J=q,B;if(m[2]!==Y)B=()=>{Y(!1)},m[2]=Y,m[3]=B;else B=m[3];let K=B,X;if(m[4]===Symbol.for("react.memo_cache_sentinel"))X=[{label:"No",value:"no"},{label:"Yes",value:"yes"}],m[4]=X;else X=m[4];let z=X,G;if(m[5]!==J)G=C.jsxDEV(w,{options:z,onChange:J,defaultValue:"no"},void 0,!1,void 0,this),m[5]=J,m[6]=G;else G=m[6];let U;if(m[7]!==K||m[8]!==G)U=C.jsxDEV(f,{title:"Do you wish to disable auto-connect to IDE?",subtitle:"You can also configure this in /config",onCancel:K,color:"ide",children:G},void 0,!1,void 0,this),m[7]=K,m[8]=G,m[9]=U;else U=m[9];return U}function T0(A){return{...A,autoConnectIde:!1}}function B0(){let A=$();return!g()&&A.autoConnectIde===!0}var i,C;var G0=l(()=>{a();R0();n();e();t();i=k(D(),1),C=k(o(),1)});import*as X0 from"path";function w0(A){let m=r.c(39),{availableIDEs:Y,unavailableIDEs:q,selectedIDE:J,onClose:B,onSelect:K}=A,X;if(m[0]!==J?.port)X=J?.port?.toString()??"None",m[0]=J?.port,m[1]=X;else X=m[1];let[z,G]=y.useState(X),[U,W]=y.useState(!1),[H,Q]=y.useState(!1),R;if(m[2]!==Y||m[3]!==K)R=(O)=>{if(O!=="None"&&Y0())W(!0);else if(O==="None"&&B0())Q(!0);else K(Y.find((F)=>F.port===parseInt(O)))},m[2]=Y,m[3]=K,m[4]=R;else R=m[4];let N=R,T;if(m[5]!==Y)T=Y.reduce(b0,{}),m[5]=Y,m[6]=T;else T=m[6];let L=T,b;if(m[7]!==Y||m[8]!==L){let O;if(m[10]!==L)O=(F)=>{let N0=(L[F.name]||0)>1&&F.workspaceFolders.length>0;return{label:F.name,value:F.port.toString(),description:N0?Z0(F.workspaceFolders):void 0}},m[10]=L,m[11]=O;else O=m[11];b=Y.map(O).concat([{label:"None",value:"None",description:void 0}]),m[7]=Y,m[8]=L,m[9]=b}else b=m[9];let V=b;if(U){let O;if(m[12]!==N||m[13]!==z)O=Z.jsxDEV(m0,{onComplete:()=>N(z)},void 0,!1,void 0,this),m[12]=N,m[13]=z,m[14]=O;else O=m[14];return O}if(H){let O;if(m[15]!==K)O=Z.jsxDEV(A0,{onComplete:()=>{K(void 0)}},void 0,!1,void 0,this),m[15]=K,m[16]=O;else O=m[16];return O}let j;if(m[17]!==Y.length)j=Y.length===0&&Z.jsxDEV(P,{dimColor:!0,children:E()?`No available IDEs detected. Please install the plugin and restart your IDE:
|
|
2
|
-
https://docs.claude.com/s/claude-code-jetbrains`:"No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."},void 0,!1,void 0,this),m[17]=Y.length,m[18]=j;else j=m[18];let S;if(m[19]!==Y.length||m[20]!==N||m[21]!==V||m[22]!==z)S=Y.length!==0&&Z.jsxDEV(w,{defaultValue:z,defaultFocusValue:z,options:V,onChange:(O)=>{G(O),N(O)}},void 0,!1,void 0,this),m[19]=Y.length,m[20]=N,m[21]=V,m[22]=z,m[23]=S;else S=m[23];let h;if(m[24]!==Y)h=Y.length!==0&&Y.some(p0)&&Z.jsxDEV(p,{marginTop:1,children:Z.jsxDEV(P,{color:"warning",children:"Note: Only one Claude Code instance can be connected to VS Code at a time."},void 0,!1,void 0,this)},void 0,!1,void 0,this),m[24]=Y,m[25]=h;else h=m[25];let x;if(m[26]!==Y.length)x=Y.length!==0&&!g()&&Z.jsxDEV(p,{marginTop:1,children:Z.jsxDEV(P,{dimColor:!0,children:"Tip: You can enable auto-connect to IDE in /config or with the --ide flag"},void 0,!1,void 0,this)},void 0,!1,void 0,this),m[26]=Y.length,m[27]=x;else x=m[27];let u;if(m[28]!==q)u=q.length>0&&Z.jsxDEV(p,{marginTop:1,flexDirection:"column",children:[Z.jsxDEV(P,{dimColor:!0,children:["Found ",q.length," other running IDE(s). However, their workspace/project directories do not match the current cwd."]},void 0,!0,void 0,this),Z.jsxDEV(p,{marginTop:1,flexDirection:"column",children:q.map(M0)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m[28]=q,m[29]=u;else u=m[29];let _;if(m[30]!==j||m[31]!==S||m[32]!==h||m[33]!==x||m[34]!==u)_=Z.jsxDEV(p,{flexDirection:"column",children:[j,S,h,x,u]},void 0,!0,void 0,this),m[30]=j,m[31]=S,m[32]=h,m[33]=x,m[34]=u,m[35]=_;else _=m[35];let v;if(m[36]!==B||m[37]!==_)v=Z.jsxDEV(f,{title:"Select IDE",subtitle:"Connect to an IDE for integrated development features.",onCancel:B,color:"ide",children:_},void 0,!1,void 0,this),m[36]=B,m[37]=_,m[38]=v;else v=m[38];return v}function M0(A,m){return Z.jsxDEV(p,{paddingLeft:3,children:Z.jsxDEV(P,{dimColor:!0,children:["• ",A.name,": ",Z0(A.workspaceFolders)]},void 0,!0,void 0,this)},m,!1,void 0,this)}function p0(A){return A.name==="VS Code"||A.name==="Visual Studio Code"}function b0(A,m){return A[m.name]=(A[m.name]||0)+1,A}async function j0(A,m){let Y=m?.ide;if(!Y||Y.type!=="sse-ide"&&Y.type!=="ws-ide")return null;for(let q of A)if(q.url===Y.url)return q;return null}function S0(A){let m=r.c(18),{availableIDEs:Y,onSelectIDE:q,onDone:J}=A,B;if(m[0]!==Y[0]?.port)B=Y[0]?.port?.toString()??"",m[0]=Y[0]?.port,m[1]=B;else B=m[1];let[K,X]=y.useState(B),z;if(m[2]!==Y||m[3]!==q)z=(L)=>{let b=Y.find((V)=>V.port===parseInt(L));q(b)},m[2]=Y,m[3]=q,m[4]=z;else z=m[4];let G=z,U;if(m[5]!==Y)U=Y.map(h0),m[5]=Y,m[6]=U;else U=m[6];let W=U,H;if(m[7]!==J)H=function(){J("IDE selection cancelled",{display:"system"})},m[7]=J,m[8]=H;else H=m[8];let Q=H,R;if(m[9]!==G)R=(L)=>{X(L),G(L)},m[9]=G,m[10]=R;else R=m[10];let N;if(m[11]!==W||m[12]!==K||m[13]!==R)N=Z.jsxDEV(w,{defaultValue:K,defaultFocusValue:K,options:W,onChange:R},void 0,!1,void 0,this),m[11]=W,m[12]=K,m[13]=R,m[14]=N;else N=m[14];let T;if(m[15]!==Q||m[16]!==N)T=Z.jsxDEV(f,{title:"Select an IDE to open the project",onCancel:Q,color:"ide",children:N},void 0,!1,void 0,this),m[15]=Q,m[16]=N,m[17]=T;else T=m[17];return T}function h0(A){return{label:A.name,value:A.port.toString()}}function x0(A){let m=r.c(15),{runningIDEs:Y,onSelectIDE:q,onDone:J}=A,[B,K]=y.useState(Y[0]??""),X;if(m[0]!==q)X=(T)=>{q(T)},m[0]=q,m[1]=X;else X=m[1];let z=X,G;if(m[2]!==Y)G=Y.map(u0),m[2]=Y,m[3]=G;else G=m[3];let U=G,W;if(m[4]!==J)W=function(){J("IDE selection cancelled",{display:"system"})},m[4]=J,m[5]=W;else W=m[5];let H=W,Q;if(m[6]!==z)Q=(T)=>{K(T),z(T)},m[6]=z,m[7]=Q;else Q=m[7];let R;if(m[8]!==U||m[9]!==B||m[10]!==Q)R=Z.jsxDEV(w,{defaultFocusValue:B,options:U,onChange:Q},void 0,!1,void 0,this),m[8]=U,m[9]=B,m[10]=Q,m[11]=R;else R=m[11];let N;if(m[12]!==H||m[13]!==R)N=Z.jsxDEV(f,{title:"Select IDE to install extension",onCancel:H,color:"ide",children:R},void 0,!1,void 0,this),m[12]=H,m[13]=R,m[14]=N;else N=m[14];return N}function u0(A){return{label:c(A),value:A}}function _0(A){let m=r.c(4),{ide:Y,onInstall:q}=A,J,B;if(m[0]!==Y||m[1]!==q)J=()=>{q(Y)},B=[Y,q],m[0]=Y,m[1]=q,m[2]=J,m[3]=B;else J=m[2],B=m[3];return y.useEffect(J,B),null}async function qm(A,m,Y){z0("tengu_ext_ide_command",{});let{options:{dynamicMcpConfig:q},onChangeDynamicMcpConfig:J}=m;if(Y?.trim()==="open"){let G=W0(),U=G?G.worktreePath:d(),H=(await s(!0)).filter((Q)=>Q.isValid);if(H.length===0)return A("No IDEs with Claude Code extension detected."),null;return Z.jsxDEV(S0,{availableIDEs:H,onSelectIDE:async(Q)=>{if(!Q){A("No IDE selected.");return}if(Q.name.toLowerCase().includes("vscode")||Q.name.toLowerCase().includes("cursor")||Q.name.toLowerCase().includes("windsurf")){let{code:R}=await q0("code",[U]);if(R===0)A(`Opened ${G?"worktree":"project"} in ${M.bold(Q.name)}`);else A(`Failed to open in ${Q.name}. Try opening manually: ${U}`)}else if(E())A(`Please open the ${G?"worktree":"project"} manually in ${M.bold(Q.name)}: ${U}`);else A(`Please open the ${G?"worktree":"project"} manually in ${M.bold(Q.name)}: ${U}`)},onDone:()=>{A("Exited without opening IDE",{display:"system"})}},void 0,!1,void 0,this)}let B=await s(!0);if(B.length===0&&m.onInstallIDEExtension&&!g()){let G=await J0(),U=(W)=>{if(m.onInstallIDEExtension)if(m.onInstallIDEExtension(W),H0(W))A(`Installed plugin to ${M.bold(c(W))}
|
|
3
|
-
Please ${M.bold("restart your IDE")} completely for it to take effect`);else A(`Installed extension to ${M.bold(c(W))}`)};if(G.length>1)return Z.jsxDEV(x0,{runningIDEs:G,onSelectIDE:U,onDone:()=>{A("No IDE selected.",{display:"system"})}},void 0,!1,void 0,this);else if(G.length===1)return Z.jsxDEV(_0,{ide:G[0],onInstall:U},void 0,!1,void 0,this)}let K=B.filter((G)=>G.isValid),X=B.filter((G)=>!G.isValid),z=await j0(K,q);return Z.jsxDEV(g0,{availableIDEs:K,unavailableIDEs:X,currentIDE:z,dynamicMcpConfig:q,onChangeDynamicMcpConfig:J,onDone:A},void 0,!1,void 0,this)}function g0({availableIDEs:A,unavailableIDEs:m,currentIDE:Y,dynamicMcpConfig:q,onChangeDynamicMcpConfig:J,onDone:B}){let[K,X]=y.useState(null),z=Q0((H)=>H.mcp.clients.find((Q)=>Q.name==="ide")),G=U0(),U=y.useRef(!0);y.useEffect(()=>{if(!K)return;if(U.current){U.current=!1;return}if(!z||z.type==="pending")return;if(z.type==="connected")B(`Connected to ${K.name}.`);else if(z.type==="failed")B(`Failed to connect to ${K.name}.`)},[z,K,B]),y.useEffect(()=>{if(!K)return;let H=setTimeout(B,C0,`Connection to ${K.name} timed out.`);return()=>clearTimeout(H)},[K,B]);let W=y.useCallback((H)=>{if(!J){B("Error connecting to IDE.");return}let Q={...q||{}};if(Y)delete Q.ide;if(!H){if(z&&z.type==="connected"&&Y)z.client.onclose=()=>{},K0("ide",z.config),G((N)=>({...N,mcp:{...N.mcp,clients:N.mcp.clients.filter((T)=>T.name!=="ide"),tools:N.mcp.tools.filter((T)=>!T.name?.startsWith("mcp__ide__")),commands:N.mcp.commands.filter((T)=>!T.name?.startsWith("mcp__ide__"))}}));J(Q),B(Y?`Disconnected from ${Y.name}.`:"No IDE selected.");return}let R=H.url;Q.ide={type:R.startsWith("ws:")?"ws-ide":"sse-ide",url:R,ideName:H.name,authToken:H.authToken,ideRunningInWindows:H.ideRunningInWindows,scope:"dynamic"},U.current=!0,X(H),J(Q)},[q,Y,z,G,J,B]);if(K)return Z.jsxDEV(P,{dimColor:!0,children:["Connecting to ",K.name,"…"]},void 0,!0,void 0,this);return Z.jsxDEV(w0,{availableIDEs:A,unavailableIDEs:m,selectedIDE:Y,onClose:()=>B("IDE selection cancelled",{display:"system"}),onSelect:W},void 0,!1,void 0,this)}function Z0(A,m=100){if(A.length===0)return"";let Y=d(),q=A.slice(0,2),J=A.length>2,B=J?3:0,K=(q.length-1)*2,X=m-K-B,z=Math.floor(X/q.length),G=Y.normalize("NFC"),W=q.map((H)=>{let Q=H.normalize("NFC");if(Q.startsWith(G+X0.sep))H=Q.slice(G.length+1);if(H.length<=z)return H;return"…"+H.slice(-(z-1))}).join(", ");if(J)W+=", …";return W}var r,y,Z,C0=35000;var V0=l(()=>{P0();L0();e();t();G0();a();k0();f0();O0();y0();n();r0();r=k(D(),1),y=k(F0(),1),Z=k(o(),1)});V0();export{Z0 as formatWorkspaceFolders,qm as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{lna as z}from"./cli-0.1.9-kbrf27z8.mjs";var g=()=>null,c=class{},q,A,l,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O,T="service.name",h="service.version",x="service.name",d="service.version",f,m,t,e,C;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),l=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P=g,Q={SUCCESS:0,FAILED:1},R=g,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w=c,y={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},N={active:g,with:(v,j)=>j()},O={OK:0,ERROR:1,UNSET:2},f={CUMULATIVE:0,DELTA:1},m={HISTOGRAM:0,SUM:1,GAUGE:2},t={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},e=c,C={}});B();export{y as trace,R as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,l as default,P as createClaudeForChromeMcpServer,N as context,D as __stub,O as SpanStatusCode,U as SimpleSpanProcessor,i as SimpleLogRecordProcessor,C as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,d as SEMRESATTRS_SERVICE_VERSION,x as SEMRESATTRS_SERVICE_NAME,S as Resource,e as PushMetricExporter,$ as PrometheusExporter,w as PeriodicExportingMetricReader,Y as OTLPTraceExporter,_ as OTLPMetricExporter,Z as OTLPLogExporter,W as NodeTracerProvider,u as MeterProvider,b as LoggerProvider,t as InstrumentType,Q as ExportResultCode,m as DataPointType,K as ColorFile,J as ColorDiff,V as BatchSpanProcessor,k as BatchLogRecordProcessor,X as BasicTracerProvider,H as BROWSER_TOOLS,f as AggregationTemporality,h as ATTR_SERVICE_VERSION,T as ATTR_SERVICE_NAME};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Qma as m}from"./cli-0.1.9-zqyxbf50.mjs";import"./cli-0.1.9-7bthhhpf.mjs";import{ena as g}from"./cli-0.1.9-n8tc0gpm.mjs";import{fna as k}from"./cli-0.1.9-s6bk4fbn.mjs";import{lna as u,mna as M}from"./cli-0.1.9-kbrf27z8.mjs";function j(z){return new Promise((G,U)=>{let K=d.request({method:"GET",...z,hostname:z.hostname?.replace(/^\[(.+)\]$/,"$1")});K.on("error",(Q)=>{U(Object.assign(new Z.ProviderError("Unable to connect to instance metadata service"),Q)),K.destroy()}),K.on("timeout",()=>{U(new Z.ProviderError("TimeoutError from instance metadata service")),K.destroy()}),K.on("response",(Q)=>{let{statusCode:X=400}=Q;if(X<200||300<=X)U(Object.assign(new Z.ProviderError("Error response received from instance metadata service"),{statusCode:X})),K.destroy();let w=[];Q.on("data",($)=>{w.push($)}),Q.on("end",()=>{G(p.Buffer.concat(w)),K.destroy()})}),K.end()})}var Z,c,p,d,V,l,T=(z)=>Boolean(z)&&typeof z==="object"&&typeof z.AccessKeyId==="string"&&typeof z.SecretAccessKey==="string"&&typeof z.Token==="string"&&typeof z.Expiration==="string",b=(z)=>({accessKeyId:z.AccessKeyId,secretAccessKey:z.SecretAccessKey,sessionToken:z.Token,expiration:new Date(z.Expiration),...z.AccountId&&{accountId:z.AccountId}}),F=1000,v=0,h=({maxRetries:z=v,timeout:G=F})=>({maxRetries:z,timeout:G}),N=(z,G)=>{let U=z();for(let K=0;K<G;K++)U=U.catch(z);return U},L="AWS_CONTAINER_CREDENTIALS_FULL_URI",_="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",P="AWS_CONTAINER_AUTHORIZATION_TOKEN",a=(z={})=>{let{timeout:G,maxRetries:U}=h(z);return()=>N(async()=>{let K=await i({logger:z.logger}),Q=JSON.parse(await s(G,K));if(!T(Q))throw new Z.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:z.logger});return b(Q)},U)},s=async(z,G)=>{if(process.env[P])G.headers={...G.headers,Authorization:process.env[P]};return(await j({...G,timeout:z})).toString()},n="169.254.170.2",o,t,i=async({logger:z})=>{if(process.env[_])return{hostname:n,path:process.env[_]};if(process.env[L]){let G=c.parse(process.env[L]);if(!G.hostname||!(G.hostname in o))throw new Z.CredentialsProviderError(`${G.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:z});if(!G.protocol||!(G.protocol in t))throw new Z.CredentialsProviderError(`${G.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:z});return{...G,port:G.port?parseInt(G.port,10):void 0}}throw new Z.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${_} or ${L} environment variable is set`,{tryNextLink:!1,logger:z})},q,S=void 0,r="AWS_EC2_METADATA_SERVICE_ENDPOINT",e="ec2_metadata_service_endpoint",zz,A,Gz="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",Kz="ec2_metadata_service_endpoint_mode",Qz,x=async()=>l.parseUrl(await Uz()||await Xz()),Uz=async()=>V.loadConfig(zz)(),Xz=async()=>{let z=await V.loadConfig(Qz)();switch(z){case A.IPv4:return S.IPv4;case A.IPv6:return S.IPv6;default:throw Error(`Unsupported endpoint mode: ${z}. Select from ${Object.values(A)}`)}},Zz=300,$z=300,Hz="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",I=(z,G)=>{let U=Zz+Math.floor(Math.random()*$z),K=new Date(Date.now()+U*1000);G.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(K)}.
|
|
2
|
-
For more information, please visit: `+Hz);let Q=z.originalExpiration??z.expiration;return{...z,...Q?{originalExpiration:Q}:{},expiration:K}},Jz=(z,G={})=>{let U=G?.logger||console,K;return async()=>{let Q;try{if(Q=await z(),Q.expiration&&Q.expiration.getTime()<Date.now())Q=I(Q,U)}catch(X){if(K)U.warn("Credential renew failed: ",X),Q=I(K,U);else throw X}return K=Q,Q}},E="/latest/meta-data/iam/security-credentials/",Yz="/latest/api/token",B="AWS_EC2_METADATA_V1_DISABLED",y="ec2_metadata_v1_disabled",C="x-aws-ec2-metadata-token",wz=(z={})=>Jz(Dz(z),{logger:z.logger}),Dz=(z={})=>{let G=!1,{logger:U,profile:K}=z,{timeout:Q,maxRetries:X}=h(z),w=async($,D)=>{if(G||D.headers?.[C]==null){let H=!1,J=!1,f=await V.loadConfig({environmentVariableSelector:(Y)=>{let W=Y[B];if(J=!!W&&W!=="false",W===void 0)throw new Z.CredentialsProviderError(`${B} not set in env, checking config file next.`,{logger:z.logger});return J},configFileSelector:(Y)=>{let W=Y[y];return H=!!W&&W!=="false",H},default:!1},{profile:K})();if(z.ec2MetadataV1Disabled||f){let Y=[];if(z.ec2MetadataV1Disabled)Y.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(H)Y.push(`config file profile (${y})`);if(J)Y.push(`process environment variable (${B})`);throw new q(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${Y.join(", ")}].`)}}let R=(await N(async()=>{let H;try{H=await Az(D)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)).trim();return N(async()=>{let H;try{H=await Oz(R,D,z)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)};return async()=>{let $=await x();if(G)return U?.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),w(X,{...$,timeout:Q});else{let D;try{D=(await Wz({...$,timeout:Q})).toString()}catch(O){if(O?.statusCode===400)throw Object.assign(O,{message:"EC2 Metadata token request returned error"});else if(O.message==="TimeoutError"||[403,404,405].includes(O.statusCode))G=!0;return U?.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),w(X,{...$,timeout:Q})}return w(X,{...$,headers:{[C]:D},timeout:Q})}}},Wz=async(z)=>j({...z,path:Yz,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),Az=async(z)=>(await j({...z,path:E})).toString(),Oz=async(z,G,U)=>{let K=JSON.parse((await j({...G,path:E+z})).toString());if(!T(K))throw new Z.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:U.logger});return b(K)},Sz,jz,Lz,_z,Bz,Nz,Pz,Mz,Vz,hz;var qz=u(()=>{Z=k(),c=M("url"),p=M("buffer"),d=M("http"),V=m(),l=g();o={localhost:!0,"127.0.0.1":!0},t={"http:":!0,"https:":!0};q=class q extends Z.CredentialsProviderError{tryNextLink;name="InstanceMetadataV1FallbackError";constructor(z,G=!0){super(z,G);this.tryNextLink=G,Object.setPrototypeOf(this,q.prototype)}};(function(z){z.IPv4="http://169.254.169.254",z.IPv6="http://[fd00:ec2::254]"})(S||(S={}));zz={environmentVariableSelector:(z)=>z[r],configFileSelector:(z)=>z[e],default:void 0};(function(z){z.IPv4="IPv4",z.IPv6="IPv6"})(A||(A={}));Qz={environmentVariableSelector:(z)=>z[Gz],configFileSelector:(z)=>z[Kz],default:A.IPv4};Sz=v,jz=F,Lz=P,_z=L,Bz=_,Nz=a,Pz=wz,Mz=x,Vz=j,hz=h});qz();export{hz as providerConfigFromInit,Vz as httpRequest,Mz as getInstanceMetadataEndpoint,Pz as fromInstanceMetadata,Nz as fromContainerMetadata,S as Endpoint,Bz as ENV_CMDS_RELATIVE_URI,_z as ENV_CMDS_FULL_URI,Lz as ENV_CMDS_AUTH_TOKEN,jz as DEFAULT_TIMEOUT,Sz as DEFAULT_MAX_RETRIES};export default {get providerConfigFromInit(){return hz},get httpRequest(){return Vz},get getInstanceMetadataEndpoint(){return Mz},get fromInstanceMetadata(){return Pz},get fromContainerMetadata(){return Nz},get Endpoint(){return S},get ENV_CMDS_RELATIVE_URI(){return Bz},get ENV_CMDS_FULL_URI(){return _z},get ENV_CMDS_AUTH_TOKEN(){return Lz},get DEFAULT_TIMEOUT(){return jz},get DEFAULT_MAX_RETRIES(){return Sz}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d5 as S}from"./cli-0.1.9-mnegaqr7.mjs";import"./cli-0.1.9-9vn4ys3c.mjs";import"./cli-0.1.9-cvnkghgh.mjs";import"./cli-0.1.9-zqyxbf50.mjs";import{Rma as A}from"./cli-0.1.9-7bthhhpf.mjs";import"./cli-0.1.9-dt31fs16.mjs";import"./cli-0.1.9-6c7qrr4p.mjs";import{bna as I}from"./cli-0.1.9-r7rcv2wm.mjs";import"./cli-0.1.9-p58rgwkr.mjs";import"./cli-0.1.9-n8tc0gpm.mjs";import{fna as h}from"./cli-0.1.9-s6bk4fbn.mjs";import"./cli-0.1.9-jb6af8n8.mjs";import{jna as p,mna as F}from"./cli-0.1.9-kbrf27z8.mjs";var d=p((n)=>{var w=n&&n.__createBinding||(Object.create?function(e,r,o,t){if(t===void 0)t=o;var _=Object.getOwnPropertyDescriptor(r,o);if(!_||("get"in _?!r.__esModule:_.writable||_.configurable))_={enumerable:!0,get:function(){return r[o]}};Object.defineProperty(e,t,_)}:function(e,r,o,t){if(t===void 0)t=o;e[t]=r[o]}),v=n&&n.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),j=n&&n.__importStar||function(){var e=function(r){return e=Object.getOwnPropertyNames||function(o){var t=[];for(var _ in o)if(Object.prototype.hasOwnProperty.call(o,_))t[t.length]=_;return t},e(r)};return function(r){if(r&&r.__esModule)return r;var o={};if(r!=null){for(var t=e(r),_=0;_<t.length;_++)if(t[_]!=="default")w(o,r,t[_])}return v(o,r),o}}();Object.defineProperty(n,"__esModule",{value:!0});n.fromWebToken=void 0;var m=(e)=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");let{roleArn:o,roleSessionName:t,webIdentityToken:_,providerId:s,policyArns:y,policy:b,durationSeconds:T}=e,{roleAssumerWithWebIdentity:l}=e;if(!l){let{getDefaultRoleAssumerWithWebIdentity:N}=await Promise.resolve().then(()=>j(S()));l=N({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:{...r?.callerClientConfig,...e.parentClientConfig}},e.clientPlugins)}return l({RoleArn:o,RoleSessionName:t??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:_,ProviderId:s,PolicyArns:y,Policy:b,DurationSeconds:T})};n.fromWebToken=m});var u=p((E)=>{Object.defineProperty(E,"__esModule",{value:!0});E.fromTokenFile=void 0;var P=I(),g=h(),k=A(),R=F("node:fs"),q=d(),O="AWS_WEB_IDENTITY_TOKEN_FILE",L="AWS_ROLE_ARN",W="AWS_ROLE_SESSION_NAME",V=(e={})=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");let o=e?.webIdentityTokenFile??process.env[O],t=e?.roleArn??process.env[L],_=e?.roleSessionName??process.env[W];if(!o||!t)throw new g.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});let s=await(0,q.fromWebToken)({...e,webIdentityToken:k.externalDataInterceptor?.getTokenRecord?.()[o]??(0,R.readFileSync)(o,{encoding:"ascii"}),roleArn:t,roleSessionName:_})(r);if(o===process.env[O])(0,P.setCredentialFeature)(s,"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN","h");return s};E.fromTokenFile=V});var x=p((c)=>{var i=u(),a=d();Object.prototype.hasOwnProperty.call(i,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:i.__proto__});Object.keys(i).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=i[e]});Object.prototype.hasOwnProperty.call(a,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:a.__proto__});Object.keys(a).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=a[e]})});export default x();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Rma as N}from"./cli-0.1.9-7bthhhpf.mjs";import{bna as C}from"./cli-0.1.9-r7rcv2wm.mjs";import{fna as g}from"./cli-0.1.9-s6bk4fbn.mjs";import{hna as b,jna as Y,lna as Fe,mna as w}from"./cli-0.1.9-kbrf27z8.mjs";var V=Y((he)=>{he.HttpAuthLocation=void 0;(function(e){e.HEADER="header",e.QUERY="query"})(he.HttpAuthLocation||(he.HttpAuthLocation={}));he.HttpApiKeyAuthLocation=void 0;(function(e){e.HEADER="header",e.QUERY="query"})(he.HttpApiKeyAuthLocation||(he.HttpApiKeyAuthLocation={}));he.EndpointURLScheme=void 0;(function(e){e.HTTP="http",e.HTTPS="https"})(he.EndpointURLScheme||(he.EndpointURLScheme={}));he.AlgorithmId=void 0;(function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"})(he.AlgorithmId||(he.AlgorithmId={}));var ee=(e)=>{let t=[];if(e.sha256!==void 0)t.push({algorithmId:()=>he.AlgorithmId.SHA256,checksumConstructor:()=>e.sha256});if(e.md5!=null)t.push({algorithmId:()=>he.AlgorithmId.MD5,checksumConstructor:()=>e.md5});return{addChecksumAlgorithm(s){t.push(s)},checksumAlgorithms(){return t}}},te=(e)=>{let t={};return e.checksumAlgorithms().forEach((s)=>{t[s.algorithmId()]=s.checksumConstructor()}),t},se=(e)=>{return ee(e)},ce=(e)=>{return te(e)};he.FieldPosition=void 0;(function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"})(he.FieldPosition||(he.FieldPosition={}));var ne="__smithy_context";he.IniSectionType=void 0;(function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"})(he.IniSectionType||(he.IniSectionType={}));he.RequestHandlerProtocol=void 0;(function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"})(he.RequestHandlerProtocol||(he.RequestHandlerProtocol={}));he.SMITHY_CONTEXT_KEY=ne;he.getDefaultClientConfiguration=se;he.resolveDefaultRuntimeConfig=ce});var v=Y((xe)=>{var de=V(),ke=(e)=>{return{setHttpHandler(t){e.httpHandler=t},httpHandler(){return e.httpHandler},updateHttpClientConfig(t,s){e.httpHandler?.updateHttpClientConfig(t,s)},httpHandlerConfigs(){return e.httpHandler.httpHandlerConfigs()}}},Te=(e)=>{return{httpHandler:e.httpHandler()}};class W{name;kind;values;constructor({name:e,kind:t=de.FieldPosition.HEADER,values:s=[]}){this.name=e,this.kind=t,this.values=s}add(e){this.values.push(e)}set(e){this.values=e}remove(e){this.values=this.values.filter((t)=>t!==e)}toString(){return this.values.map((e)=>e.includes(",")||e.includes(" ")?`"${e}"`:e).join(", ")}get(){return this.values}}class Z{entries={};encoding;constructor({fields:e=[],encoding:t="utf-8"}){e.forEach(this.setField.bind(this)),this.encoding=t}setField(e){this.entries[e.name.toLowerCase()]=e}getField(e){return this.entries[e.toLowerCase()]}removeField(e){delete this.entries[e.toLowerCase()]}getByType(e){return Object.values(this.entries).filter((t)=>t.kind===e)}}class K{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){let t=new K({...e,headers:{...e.headers}});if(t.query)t.query=Ee(t.query);return t}static isInstance(e){if(!e)return!1;let t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t.query==="object"&&typeof t.headers==="object"}clone(){return K.clone(this)}}function Ee(e){return Object.keys(e).reduce((t,s)=>{let c=e[s];return{...t,[s]:Array.isArray(c)?[...c]:c}},{})}class q{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let t=e;return typeof t.statusCode==="number"&&typeof t.headers==="object"}}function we(e){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(e)}xe.Field=W;xe.Fields=Z;xe.HttpRequest=K;xe.HttpResponse=q;xe.getHttpHandlerExtensionConfiguration=ke;xe.isValidHostname=we;xe.resolveHttpHandlerRuntimeConfig=Te});var i=Y((_e)=>{var Ke=C(),E=g(),G=N(),Le=v(),L=w("node:crypto"),j=w("node:fs"),be=w("node:os"),m=w("node:path");class J{profileData;init;callerClientConfig;static REFRESH_THRESHOLD=300000;constructor(e,t,s){this.profileData=e,this.init=t,this.callerClientConfig=s}async loadCredentials(){let e=await this.loadToken();if(!e)throw new E.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let t=e.accessToken,s=Date.now();if(new Date(t.expiresAt).getTime()-s<=J.REFRESH_THRESHOLD)return this.refresh(e);return{accessKeyId:t.accessKeyId,secretAccessKey:t.secretAccessKey,sessionToken:t.sessionToken,accountId:t.accountId,expiration:new Date(t.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(e){let{SigninClient:t,CreateOAuth2TokenCommand:s}=await import("./index-0.1.9-snmdvw2f.mjs").then((m)=>b(m.default)),{logger:c,userAgentAppId:h}=this.callerClientConfig??{},n=((u)=>{return u?.metadata?.handlerProtocol==="h2"})(this.callerClientConfig?.requestHandler)?void 0:this.callerClientConfig?.requestHandler,y=this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,a=new t({credentials:{accessKeyId:"",secretAccessKey:""},region:y,requestHandler:n,logger:c,userAgentAppId:h,...this.init?.clientConfig});this.createDPoPInterceptor(a.middlewareStack);let S={tokenInput:{clientId:e.clientId,refreshToken:e.refreshToken,grantType:"refresh_token"}};try{let u=await a.send(new s(S)),{accessKeyId:k,secretAccessKey:d,sessionToken:x}=u.tokenOutput?.accessToken??{},{refreshToken:D,expiresIn:Q}=u.tokenOutput??{};if(!k||!d||!x||!D)throw new E.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let O=(Q??900)*1000,I=new Date(Date.now()+O),z={...e,accessToken:{...e.accessToken,accessKeyId:k,secretAccessKey:d,sessionToken:x,expiresAt:I.toISOString()},refreshToken:D};await this.saveToken(z);let H=z.accessToken;return{accessKeyId:H.accessKeyId,secretAccessKey:H.secretAccessKey,sessionToken:H.sessionToken,accountId:H.accountId,expiration:I}}catch(u){if(u.name==="AccessDeniedException"){let k=u.error,d;switch(k){case"TOKEN_EXPIRED":d="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":d="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":d="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:d=`Failed to refresh token: ${String(u)}. Please re-authenticate using \`aws login\``}throw new E.CredentialsProviderError(d,{logger:this.logger,tryNextLink:!1})}throw new E.CredentialsProviderError(`Failed to refresh token: ${String(u)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let t;try{t=await G.readFile(e,{ignoreCache:this.init?.ignoreCache})}catch{t=await j.promises.readFile(e,"utf8")}let s=JSON.parse(t),c=["accessToken","clientId","refreshToken","dpopKey"].filter((h)=>!s[h]);if(!s.accessToken?.accountId)c.push("accountId");if(c.length>0)throw new E.CredentialsProviderError(`Token validation failed, missing fields: ${c.join(", ")}`,{logger:this.logger,tryNextLink:!1});return s}catch(t){throw new E.CredentialsProviderError(`Failed to load token from ${e}: ${String(t)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let t=this.getTokenFilePath(),s=m.dirname(t);try{await j.promises.mkdir(s,{recursive:!0})}catch(c){}await j.promises.writeFile(t,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??m.join(be.homedir(),".aws","login","cache"),t=Buffer.from(this.loginSession,"utf8"),s=L.createHash("sha256").update(t).digest("hex");return m.join(e,`${s}.json`)}derToRawSignature(e){let t=2;if(e[t]!==2)throw Error("Invalid DER signature");t++;let s=e[t++],c=e.subarray(t,t+s);if(t+=s,e[t]!==2)throw Error("Invalid DER signature");t++;let h=e[t++],r=e.subarray(t,t+h);c=c[0]===0?c.subarray(1):c,r=r[0]===0?r.subarray(1):r;let n=Buffer.concat([Buffer.alloc(32-c.length),c]),y=Buffer.concat([Buffer.alloc(32-r.length),r]);return Buffer.concat([n,y])}createDPoPInterceptor(e){e.add((t)=>async(s)=>{if(Le.HttpRequest.isInstance(s.request)){let c=s.request,h=`${c.protocol}//${c.hostname}${c.port?`:${c.port}`:""}${c.path}`,r=await this.generateDpop(c.method,h);c.headers={...c.headers,DPoP:r}}return t(s)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",t){let s=await this.loadToken();try{let c=L.createPrivateKey({key:s.dpopKey,format:"pem",type:"sec1"}),r=L.createPublicKey(c).export({format:"der",type:"spki"}),n=-1;for(let I=0;I<r.length;I++)if(r[I]===4){n=I;break}let y=r.slice(n+1,n+33),a=r.slice(n+33,n+65),S={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:y.toString("base64url"),y:a.toString("base64url")}},u={jti:crypto.randomUUID(),htm:e,htu:t,iat:Math.floor(Date.now()/1000)},k=Buffer.from(JSON.stringify(S)).toString("base64url"),d=Buffer.from(JSON.stringify(u)).toString("base64url"),x=`${k}.${d}`,D=L.sign("sha256",Buffer.from(x),c),O=this.derToRawSignature(D).toString("base64url");return`${x}.${O}`}catch(c){throw new E.CredentialsProviderError(`Failed to generate Dpop proof: ${c instanceof Error?c.message:String(c)}`,{logger:this.logger,tryNextLink:!1})}}}var Oe=(e)=>async({callerClientConfig:t}={})=>{e?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let s=await G.parseKnownFiles(e||{}),c=G.getProfileName({profile:e?.profile??t?.profile}),h=s[c];if(!h?.login_session)throw new E.CredentialsProviderError(`Profile ${c} does not contain login_session.`,{tryNextLink:!0,logger:e?.logger});let n=await new J(h,e,t).loadCredentials();return Ke.setCredentialFeature(n,"CREDENTIALS_LOGIN","AD")};_e.fromLoginCredentials=Oe});var X,R,T,Pe,Be=(e,t,s)=>{let c={EcsContainer:async(h)=>{let{fromHttp:r}=await import("./index-0.1.9-8hzceckr.mjs").then((m)=>b(m.default,1)),{fromContainerMetadata:n}=await import("./index-0.1.9-2gv7a7tq.mjs");return s?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>R.chain(r(h??{}),n(h))().then(M)},Ec2InstanceMetadata:async(h)=>{s?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:r}=await import("./index-0.1.9-2gv7a7tq.mjs");return async()=>r(h)().then(M)},Environment:async(h)=>{s?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:r}=await import("./index-0.1.9-h548q4km.mjs");return async()=>r(h)().then(M)}};if(e in c)return c[e];else throw new R.CredentialsProviderError(`Unsupported credential source in profile ${t}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:s})},M=(e)=>T.setCredentialFeature(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p"),Ue=(e,{profile:t="default",logger:s}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(Ye(e,{profile:t,logger:s})||je(e,{profile:t,logger:s}))},Ye=(e,{profile:t,logger:s})=>{let c=typeof e.source_profile==="string"&&typeof e.credential_source>"u";if(c)s?.debug?.(` ${t} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return c},je=(e,{profile:t,logger:s})=>{let c=typeof e.credential_source==="string"&&typeof e.source_profile>"u";if(c)s?.debug?.(` ${t} isCredentialSourceProfile credential_source=${e.credential_source}`);return c},me=async(e,t,s,c,h={},r)=>{s.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let n=t[e],{source_profile:y,region:a}=n;if(!s.roleAssumer){let{getDefaultRoleAssumer:u}=await import("./index-0.1.9-kgdkzpmr.mjs").then((m)=>b(m.default,1));s.roleAssumer=u({...s.clientConfig,credentialProviderLogger:s.logger,parentClientConfig:{...c,...s?.parentClientConfig,region:a??s?.parentClientConfig?.region??c?.region}},s.clientPlugins)}if(y&&y in h)throw new R.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${X.getProfileName(s)}. Profiles visited: `+Object.keys(h).join(", "),{logger:s.logger});s.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${y?`source_profile=[${y}]`:`profile=[${e}]`}`);let S=y?r(y,t,s,c,{...h,[y]:!0},f(t[y]??{})):(await Be(n.credential_source,e,s.logger)(s))();if(f(n))return S.then((u)=>T.setCredentialFeature(u,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));else{let u={RoleArn:n.role_arn,RoleSessionName:n.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:n.external_id,DurationSeconds:parseInt(n.duration_seconds||"3600",10)},{mfa_serial:k}=n;if(k){if(!s.mfaCodeProvider)throw new R.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:s.logger,tryNextLink:!1});u.SerialNumber=k,u.TokenCode=await s.mfaCodeProvider(k)}let d=await S;return s.roleAssumer(d,u).then((x)=>T.setCredentialFeature(x,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},f=(e)=>{return!e.role_arn&&!!e.credential_source},Ge=(e)=>{return Boolean(e&&e.login_session)},Je=async(e,t,s)=>{let c=await Pe.fromLoginCredentials({...t,profile:e})({callerClientConfig:s});return T.setCredentialFeature(c,"CREDENTIALS_PROFILE_LOGIN","AC")},Me=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",Xe=async(e,t)=>import("./index-0.1.9-8feamw1f.mjs").then(({fromProcess:s})=>s({...e,profile:t})().then((c)=>T.setCredentialFeature(c,"CREDENTIALS_PROFILE_PROCESS","v"))),Qe=async(e,t,s={},c)=>{let{fromSSO:h}=await import("./index-0.1.9-c7sexk3f.mjs");return h({profile:e,logger:s.logger,parentClientConfig:s.parentClientConfig,clientConfig:s.clientConfig})({callerClientConfig:c}).then((r)=>{if(t.sso_session)return T.setCredentialFeature(r,"CREDENTIALS_PROFILE_SSO","r");else return T.setCredentialFeature(r,"CREDENTIALS_PROFILE_SSO_LEGACY","t")})},ze=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),o=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,l=async(e,t)=>{t?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let s={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return T.setCredentialFeature(s,"CREDENTIALS_PROFILE","n")},Ve=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,We=async(e,t,s)=>import("./index-0.1.9-31vnb803.mjs").then((m)=>b(m.default,1)).then(({fromTokenFile:c})=>c({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:t.roleAssumerWithWebIdentity,logger:t.logger,parentClientConfig:t.parentClientConfig})({callerClientConfig:s}).then((h)=>T.setCredentialFeature(h,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q"))),p=async(e,t,s,c,h={},r=!1)=>{let n=t[e];if(Object.keys(h).length>0&&o(n))return l(n,s);if(r||Ue(n,{profile:e,logger:s.logger}))return me(e,t,s,c,h,p);if(o(n))return l(n,s);if(Ve(n))return We(n,s,c);if(Me(n))return Xe(s,e);if(ze(n))return await Qe(e,n,s,c);if(Ge(n))return Je(e,s,c);throw new R.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:s.logger})},Ze=(e={})=>async({callerClientConfig:t}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let s=await X.parseKnownFiles(e);return p(X.getProfileName({profile:e.profile??t?.profile}),s,e,t)},qe;var ve=Fe(()=>{X=N(),R=g(),T=C(),Pe=i();qe=Ze});ve();export{qe as fromIni};export default {get fromIni(){return qe}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A5 as bo,e5 as M,f5 as So,g5 as Eo,h5 as Io,i5 as Ar,j5 as Gr,k5 as kt,l5 as Po,m5 as dr,n5 as xo,o5 as yo,p5 as cr,q5 as f,r5 as gt,s5 as _t,t5 as eo,u5 as ro,v5 as to,w5 as oo,x5 as zt,y5 as Ht,z5 as Do}from"./cli-0.1.9-9vn4ys3c.mjs";import{B5 as er}from"./cli-0.1.9-cvnkghgh.mjs";import{Qma as Zt}from"./cli-0.1.9-zqyxbf50.mjs";import"./cli-0.1.9-7bthhhpf.mjs";import"./cli-0.1.9-dt31fs16.mjs";import{Wma as hr,Yma as Ue}from"./cli-0.1.9-6c7qrr4p.mjs";import{bna as Qt}from"./cli-0.1.9-r7rcv2wm.mjs";import{dna as Ct}from"./cli-0.1.9-p58rgwkr.mjs";import{ena as Gt}from"./cli-0.1.9-n8tc0gpm.mjs";import"./cli-0.1.9-s6bk4fbn.mjs";import{gna as mt}from"./cli-0.1.9-jb6af8n8.mjs";import{jna as E}from"./cli-0.1.9-kbrf27z8.mjs";var A=E((oe)=>{Object.defineProperty(oe,"__esModule",{value:!0});oe.resolveHttpAuthSchemeConfig=oe.defaultSSOOIDCHttpAuthSchemeProvider=oe.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;var Nr=M(),w=hr(),Rr=async(e,r,i)=>{return{operation:(0,w.getSmithyContext)(r).operation,region:await(0,w.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};oe.defaultSSOOIDCHttpAuthSchemeParametersProvider=Rr;function fr(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(r,i)=>({signingProperties:{config:r,context:i}})}}function Fr(e){return{schemeId:"smithy.api#noAuth"}}var Ur=(e)=>{let r=[];switch(e.operation){case"CreateToken":{r.push(Fr(e));break}default:r.push(fr(e))}return r};oe.defaultSSOOIDCHttpAuthSchemeProvider=Ur;var $r=(e)=>{let r=(0,Nr.resolveAwsSdkSigV4Config)(e);return Object.assign(r,{authSchemePreference:(0,w.normalizeProvider)(e.authSchemePreference??[])})};oe.resolveHttpAuthSchemeConfig=$r});var De=E((xe)=>{Object.defineProperty(xe,"__esModule",{value:!0});xe.ruleSet=void 0;var Se="required",p="fn",d="argv",q="ref",se=!0,ne="isSet",h="booleanEquals",D="error",b="endpoint",I="tree",G="PartitionResult",m="getAttr",pe={[Se]:!1,type:"string"},de={[Se]:!0,default:!1,type:"boolean"},ce={[q]:"Endpoint"},Ee={[p]:h,[d]:[{[q]:"UseFIPS"},!0]},Ie={[p]:h,[d]:[{[q]:"UseDualStack"},!0]},n={},ae={[p]:m,[d]:[{[q]:G},"supportsFIPS"]},Pe={[q]:G},le={[p]:h,[d]:[!0,{[p]:m,[d]:[Pe,"supportsDualStack"]}]},ue=[Ee],Oe=[Ie],ve=[{[q]:"Region"}],Mr={version:"1.0",parameters:{Region:pe,UseDualStack:de,UseFIPS:de,Endpoint:pe},rules:[{conditions:[{[p]:ne,[d]:[ce]}],rules:[{conditions:ue,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:D},{conditions:Oe,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:D},{endpoint:{url:ce,properties:n,headers:n},type:b}],type:I},{conditions:[{[p]:ne,[d]:ve}],rules:[{conditions:[{[p]:"aws.partition",[d]:ve,assign:G}],rules:[{conditions:[Ee,Ie],rules:[{conditions:[{[p]:h,[d]:[se,ae]},le],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:b}],type:I},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:D}],type:I},{conditions:ue,rules:[{conditions:[{[p]:h,[d]:[ae,se]}],rules:[{conditions:[{[p]:"stringEquals",[d]:[{[p]:m,[d]:[Pe,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:n,headers:n},type:b},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:b}],type:I},{error:"FIPS is enabled but this partition does not support FIPS",type:D}],type:I},{conditions:Oe,rules:[{conditions:[le],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:b}],type:I},{error:"DualStack is enabled but this partition does not support DualStack",type:D}],type:I},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:b}],type:I}],type:I},{error:"Invalid Configuration: Missing Region",type:D}]};xe.ruleSet=Mr});var he=E((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.defaultEndpointResolver=void 0;var mr=Gr(),z=Ar(),zr=De(),Hr=new z.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Lr=(e,r={})=>{return Hr.get(e,()=>(0,z.resolveEndpoint)(zr.ruleSet,{endpointParams:e,logger:r.logger}))};be.defaultEndpointResolver=Lr;z.customEndpointFunctions.aws=mr.awsEndpointFunctions});var F=E((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.SSOOIDCServiceException=L.__ServiceException=void 0;var Ne=f();Object.defineProperty(L,"__ServiceException",{enumerable:!0,get:function(){return Ne.ServiceException}});class H extends Ne.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,H.prototype)}}L.SSOOIDCServiceException=H});var k=E((fe)=>{Object.defineProperty(fe,"__esModule",{value:!0});fe.UnsupportedGrantTypeException=fe.UnauthorizedClientException=fe.SlowDownException=fe.InvalidScopeException=fe.InvalidRequestException=fe.InvalidGrantException=fe.InvalidClientException=fe.InternalServerException=fe.ExpiredTokenException=fe.AuthorizationPendingException=fe.AccessDeniedException=void 0;var l=F();class T extends l.SSOOIDCServiceException{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,T.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}fe.AccessDeniedException=T;class B extends l.SSOOIDCServiceException{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error,this.error_description=e.error_description}}fe.AuthorizationPendingException=B;class V extends l.SSOOIDCServiceException{name="ExpiredTokenException";$fault="client";error;error_description;constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,V.prototype),this.error=e.error,this.error_description=e.error_description}}fe.ExpiredTokenException=V;class W extends l.SSOOIDCServiceException{name="InternalServerException";$fault="server";error;error_description;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InternalServerException=W;class Y extends l.SSOOIDCServiceException{name="InvalidClientException";$fault="client";error;error_description;constructor(e){super({name:"InvalidClientException",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InvalidClientException=Y;class J extends l.SSOOIDCServiceException{name="InvalidGrantException";$fault="client";error;error_description;constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});Object.setPrototypeOf(this,J.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InvalidGrantException=J;class K extends l.SSOOIDCServiceException{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,K.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}fe.InvalidRequestException=K;class X extends l.SSOOIDCServiceException{name="InvalidScopeException";$fault="client";error;error_description;constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});Object.setPrototypeOf(this,X.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InvalidScopeException=X;class C extends l.SSOOIDCServiceException{name="SlowDownException";$fault="client";error;error_description;constructor(e){super({name:"SlowDownException",$fault:"client",...e});Object.setPrototypeOf(this,C.prototype),this.error=e.error,this.error_description=e.error_description}}fe.SlowDownException=C;class Q extends l.SSOOIDCServiceException{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});Object.setPrototypeOf(this,Q.prototype),this.error=e.error,this.error_description=e.error_description}}fe.UnauthorizedClientException=Q;class Z extends l.SSOOIDCServiceException{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});Object.setPrototypeOf(this,Z.prototype),this.error=e.error,this.error_description=e.error_description}}fe.UnsupportedGrantTypeException=Z});var g=E((me)=>{Object.defineProperty(me,"__esModule",{value:!0});me.CreateToken$=me.CreateTokenResponse$=me.CreateTokenRequest$=me.errorTypeRegistries=me.UnsupportedGrantTypeException$=me.UnauthorizedClientException$=me.SlowDownException$=me.InvalidScopeException$=me.InvalidRequestException$=me.InvalidGrantException$=me.InvalidClientException$=me.InternalServerException$=me.ExpiredTokenException$=me.AuthorizationPendingException$=me.AccessDeniedException$=me.SSOOIDCServiceException$=void 0;var Zr="AccessDeniedException",kr="AuthorizationPendingException",gr="AccessToken",_r="ClientSecret",et="CreateToken",rt="CreateTokenRequest",tt="CreateTokenResponse",ot="CodeVerifier",it="ExpiredTokenException",st="InvalidClientException",nt="InvalidGrantException",pt="InvalidRequestException",dt="InternalServerException",ct="InvalidScopeException",at="IdToken",lt="RefreshToken",ut="SlowDownException",Ot="UnauthorizedClientException",vt="UnsupportedGrantTypeException",St="accessToken",S="client",Et="clientId",It="clientSecret",Pt="codeVerifier",xt="code",yt="deviceCode",t="error",Dt="expiresIn",u="error_description",bt="grantType",qt="http",O="httpError",ht="idToken",$e="reason",je="refreshToken",Nt="redirectUri",we="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",Rt="scope",ft="server",Ft="tokenType",o="com.amazonaws.ssooidc",Me=Ue(),v=k(),Ut=F(),Ae=Me.TypeRegistry.for(we);me.SSOOIDCServiceException$=[-3,we,"SSOOIDCServiceException",0,[],[]];Ae.registerError(me.SSOOIDCServiceException$,Ut.SSOOIDCServiceException);var c=Me.TypeRegistry.for(o);me.AccessDeniedException$=[-3,o,Zr,{[t]:S,[O]:400},[t,$e,u],[0,0,0]];c.registerError(me.AccessDeniedException$,v.AccessDeniedException);me.AuthorizationPendingException$=[-3,o,kr,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.AuthorizationPendingException$,v.AuthorizationPendingException);me.ExpiredTokenException$=[-3,o,it,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.ExpiredTokenException$,v.ExpiredTokenException);me.InternalServerException$=[-3,o,dt,{[t]:ft,[O]:500},[t,u],[0,0]];c.registerError(me.InternalServerException$,v.InternalServerException);me.InvalidClientException$=[-3,o,st,{[t]:S,[O]:401},[t,u],[0,0]];c.registerError(me.InvalidClientException$,v.InvalidClientException);me.InvalidGrantException$=[-3,o,nt,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.InvalidGrantException$,v.InvalidGrantException);me.InvalidRequestException$=[-3,o,pt,{[t]:S,[O]:400},[t,$e,u],[0,0,0]];c.registerError(me.InvalidRequestException$,v.InvalidRequestException);me.InvalidScopeException$=[-3,o,ct,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.InvalidScopeException$,v.InvalidScopeException);me.SlowDownException$=[-3,o,ut,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.SlowDownException$,v.SlowDownException);me.UnauthorizedClientException$=[-3,o,Ot,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.UnauthorizedClientException$,v.UnauthorizedClientException);me.UnsupportedGrantTypeException$=[-3,o,vt,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.UnsupportedGrantTypeException$,v.UnsupportedGrantTypeException);me.errorTypeRegistries=[Ae,c];var $t=[0,o,gr,8,0],jt=[0,o,_r,8,0],wt=[0,o,ot,8,0],Mt=[0,o,at,8,0],Ge=[0,o,lt,8,0];me.CreateTokenRequest$=[3,o,rt,0,[Et,It,bt,yt,xt,je,Rt,Nt,Pt],[0,[()=>jt,0],0,0,0,[()=>Ge,0],64,0,[()=>wt,0]],3];me.CreateTokenResponse$=[3,o,tt,0,[St,Ft,Dt,je,ht],[[()=>$t,0],0,1,[()=>Ge,0],[()=>Mt,0]]];me.CreateToken$=[9,o,et,{[qt]:["POST","/token",200]},()=>me.CreateTokenRequest$,()=>me.CreateTokenResponse$]});var or=E((rr)=>{Object.defineProperty(rr,"__esModule",{value:!0});rr.getRuntimeConfig=void 0;var Lt=M(),Tt=zt(),Bt=er(),Vt=f(),Wt=Gt(),ge=Ht(),_e=mt(),Yt=A(),Jt=he(),Kt=g(),Xt=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??ge.fromBase64,base64Encoder:e?.base64Encoder??ge.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Jt.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Yt.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(r)=>r.getIdentityProvider("aws.auth#sigv4"),signer:new Lt.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(r)=>r.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Bt.NoAuthSigner}],logger:e?.logger??new Vt.NoOpLogger,protocol:e?.protocol??Tt.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:Kt.errorTypeRegistries,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??Wt.parseUrl,utf8Decoder:e?.utf8Decoder??_e.fromUtf8,utf8Encoder:e?.utf8Encoder??_e.toUtf8}};rr.getRuntimeConfig=Xt});var ur=E((ar)=>{Object.defineProperty(ar,"__esModule",{value:!0});ar.getRuntimeConfig=void 0;var io=gt(),so=io.__importDefault(_t()),no=Qt(),po=M(),ir=eo(),U=dr(),co=ro(),sr=cr(),x=Zt(),nr=Ct(),pr=f(),ao=to(),lo=oo(),uo=kt(),Oo=or(),vo=(e)=>{(0,pr.emitWarningIfUnsupportedVersion)(process.version);let r=(0,lo.resolveDefaultsModeConfig)(e),i=()=>r().then(pr.loadConfigsForDefaultMode),a=(0,Oo.getRuntimeConfig)(e);(0,no.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:a.logger};return{...a,...e,runtime:"node",defaultsMode:r,authSchemePreference:e?.authSchemePreference??(0,x.loadConfig)(po.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??ao.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ir.createDefaultUserAgentProvider)({serviceId:a.serviceId,clientVersion:so.default.version}),maxAttempts:e?.maxAttempts??(0,x.loadConfig)(sr.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,x.loadConfig)(U.NODE_REGION_CONFIG_OPTIONS,{...U.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:nr.NodeHttpHandler.create(e?.requestHandler??i),retryMode:e?.retryMode??(0,x.loadConfig)({...sr.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await i()).retryMode||uo.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??co.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??nr.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,x.loadConfig)(U.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,x.loadConfig)(U.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,x.loadConfig)(ir.NODE_APP_ID_CONFIG_OPTIONS,s)}};ar.getRuntimeConfig=vo});var Ko=E((P)=>{var Or=So(),qo=Eo(),ho=Io(),vr=Po(),No=dr(),_=er(),Ro=Ue(),fo=xo(),xr=yo(),Sr=cr(),y=f(),Er=A(),Fo=ur(),Ir=Do(),Pr=bo(),N=g(),$=k(),Uo=F(),$o=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},jo={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},wo=(e)=>{let{httpAuthSchemes:r,httpAuthSchemeProvider:i,credentials:a}=e;return{setHttpAuthScheme(s){let R=r.findIndex((j)=>j.schemeId===s.schemeId);if(R===-1)r.push(s);else r.splice(R,1,s)},httpAuthSchemes(){return r},setHttpAuthSchemeProvider(s){i=s},httpAuthSchemeProvider(){return i},setCredentials(s){a=s},credentials(){return a}}},Mo=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},Ao=(e,r)=>{let i=Object.assign(Ir.getAwsRegionExtensionConfiguration(e),y.getDefaultExtensionConfiguration(e),Pr.getHttpHandlerExtensionConfiguration(e),wo(e));return r.forEach((a)=>a.configure(i)),Object.assign(e,Ir.resolveAwsRegionExtensionConfiguration(i),y.resolveDefaultRuntimeConfig(i),Pr.resolveHttpHandlerRuntimeConfig(i),Mo(i))};class ee extends y.Client{config;constructor(...[e]){let r=Fo.getRuntimeConfig(e||{});super(r);this.initConfig=r;let i=$o(r),a=vr.resolveUserAgentConfig(i),s=Sr.resolveRetryConfig(a),R=No.resolveRegionConfig(s),j=Or.resolveHostHeaderConfig(R),yr=xr.resolveEndpointConfig(j),Dr=Er.resolveHttpAuthSchemeConfig(yr),br=Ao(Dr,e?.extensions||[]);this.config=br,this.middlewareStack.use(Ro.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(vr.getUserAgentPlugin(this.config)),this.middlewareStack.use(Sr.getRetryPlugin(this.config)),this.middlewareStack.use(fo.getContentLengthPlugin(this.config)),this.middlewareStack.use(Or.getHostHeaderPlugin(this.config)),this.middlewareStack.use(qo.getLoggerPlugin(this.config)),this.middlewareStack.use(ho.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(_.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Er.defaultSSOOIDCHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(qr)=>new _.DefaultIdentityProviderConfig({"aws.auth#sigv4":qr.credentials})})),this.middlewareStack.use(_.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class re extends y.Command.classBuilder().ep(jo).m(function(e,r,i,a){return[xr.getEndpointPlugin(i,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(N.CreateToken$).build(){}var Go={CreateTokenCommand:re};class te extends ee{}y.createAggregatedClient(Go,te);var mo={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},zo={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};P.$Command=y.Command;P.__Client=y.Client;P.SSOOIDCServiceException=Uo.SSOOIDCServiceException;P.AccessDeniedExceptionReason=mo;P.CreateTokenCommand=re;P.InvalidRequestExceptionReason=zo;P.SSOOIDC=te;P.SSOOIDCClient=ee;Object.prototype.hasOwnProperty.call(N,"__proto__")&&!Object.prototype.hasOwnProperty.call(P,"__proto__")&&Object.defineProperty(P,"__proto__",{enumerable:!0,value:N.__proto__});Object.keys(N).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(P,e))P[e]=N[e]});Object.prototype.hasOwnProperty.call($,"__proto__")&&!Object.prototype.hasOwnProperty.call(P,"__proto__")&&Object.defineProperty(P,"__proto__",{enumerable:!0,value:$.__proto__});Object.keys($).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(P,e))P[e]=$[e]})});export default Ko();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Rma as P}from"./cli-0.1.9-7bthhhpf.mjs";import{bna as p}from"./cli-0.1.9-r7rcv2wm.mjs";import{fna as w}from"./cli-0.1.9-s6bk4fbn.mjs";import{lna as u,mna as a}from"./cli-0.1.9-kbrf27z8.mjs";var d,t,f,E,_,v=(r,e,s)=>{if(e.Version!==1)throw Error(`Profile ${r} credential_process did not return Version 1.`);if(e.AccessKeyId===void 0||e.SecretAccessKey===void 0)throw Error(`Profile ${r} credential_process returned invalid credentials.`);if(e.Expiration){let i=new Date;if(new Date(e.Expiration)<i)throw Error(`Profile ${r} credential_process returned expired credentials.`)}let o=e.AccountId;if(!o&&s?.[r]?.aws_account_id)o=s[r].aws_account_id;let n={accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,...e.SessionToken&&{sessionToken:e.SessionToken},...e.Expiration&&{expiration:new Date(e.Expiration)},...e.CredentialScope&&{credentialScope:e.CredentialScope},...o&&{accountId:o}};return _.setCredentialFeature(n,"CREDENTIALS_PROCESS","w"),n},x=async(r,e,s)=>{let o=e[r];if(e[r]){let n=o.credential_process;if(n!==void 0){let i=E.promisify(d.externalDataInterceptor?.getTokenRecord?.().exec??f.exec);try{let{stdout:c}=await i(n),l;try{l=JSON.parse(c.trim())}catch{throw Error(`Profile ${r} credential_process returned invalid JSON.`)}return v(r,l,e)}catch(c){throw new t.CredentialsProviderError(c.message,{logger:s})}}else throw new t.CredentialsProviderError(`Profile ${r} did not contain credential_process.`,{logger:s})}else throw new t.CredentialsProviderError(`Profile ${r} could not be found in shared credentials file.`,{logger:s})},h=(r={})=>async({callerClientConfig:e}={})=>{r.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let s=await d.parseKnownFiles(r);return x(d.getProfileName({profile:r.profile??e?.profile}),s,r.logger)},y;var S=u(()=>{d=P(),t=w(),f=a("node:child_process"),E=a("node:util"),_=p();y=h});S();export{y as fromProcess};export default {get fromProcess(){return y}};
|