@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
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{I as w,J as b}from"./cli-0.1.10-9xpgjxhj.mjs";import{$q as Wq,EI as sq,FI as t,GI as Nq,JJ as iq,NJ as xz,Pq as E,QI as xq,Qq as Xq,Qu as F,Rq as h,Ru as Mq,Uq as kq,Wq as Rq,_q as c,ar as a,br as Yq,dr as y,hv as Bq,ir as Jq,iv as Yz,kr as Iq,qv as pq,rv as Jz,tI as aq,uj as dq,vj as Rz,wI as tq,xI as rq,yI as oq,zI as Nz}from"./cli-0.1.10-y9mkzh11.mjs";import"./cli-0.1.10-rr3xpxx1.mjs";import"./cli-0.1.10-xjpjs3y5.mjs";import"./cli-0.1.10-7d7j1qyf.mjs";import{AP as Uz,BP as Aq,CP as Wz,FP as Tq,GP as Xz,xP as Gq,yP as Qz,zP as wq}from"./cli-0.1.10-gdqbhzyr.mjs";import"./cli-0.1.10-fay16q4v.mjs";import"./cli-0.1.10-z4a84y0c.mjs";import"./cli-0.1.10-y3q22zvb.mjs";import"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-x1qs5ctr.mjs";import"./cli-0.1.10-fhvyzg2m.mjs";import"./cli-0.1.10-72ece2yk.mjs";import"./cli-0.1.10-qf6ps98q.mjs";import"./cli-0.1.10-t8rnwwhq.mjs";import"./cli-0.1.10-wajz23ff.mjs";import"./cli-0.1.10-nfnje7ew.mjs";import"./cli-0.1.10-be8dvtg8.mjs";import"./cli-0.1.10-rvb440sp.mjs";import"./cli-0.1.10-xzz1tdne.mjs";import{IU as Pq,KU as Hq,MU as f,_S as Iz,hT as Lq,nV as cq,pV as Oq}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import"./cli-0.1.10-3q43p3wr.mjs";import"./cli-0.1.10-gccb3gw8.mjs";import"./cli-0.1.10-er8zk2kj.mjs";import"./cli-0.1.10-zeqsd250.mjs";import"./cli-0.1.10-z3f97n2d.mjs";import"./cli-0.1.10-b59j6twr.mjs";import{kX as v}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as Gz}from"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import"./cli-0.1.10-227xyew7.mjs";import"./cli-0.1.10-bqsa7eam.mjs";import"./cli-0.1.10-acy8ec7t.mjs";import"./cli-0.1.10-hbk3dhq8.mjs";import"./cli-0.1.10-w8np72sh.mjs";import"./cli-0.1.10-t1zd86kd.mjs";import"./cli-0.1.10-jjdvb4je.mjs";import"./cli-0.1.10-dx92txwb.mjs";import"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{Aba as fq,Bba as vq,I8 as gq,K8 as _z,Oba as kz,Q9 as lq,R$ as zq,V9 as jz,Z$ as zz,vba as mq}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import{Yfa as A,Zfa as Vz}from"./cli-0.1.10-f2jh6yv0.mjs";import{Aga as uq,Cga as Bz}from"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import{nha as qq,rha as qz}from"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as x,Lna as Uq}from"./cli-0.1.10-hyxg32sc.mjs";Rz();import{stat as yz}from"fs/promises";import{cwd as Ez}from"process";Mq();qz();Oq();Iq();zz();Uz();Yz();Wz();Xz();Qz();var _q=x(Iz(),1),d=x(Gz(),1),L=x(v(),1);function Vq(z){let q=_q.c(36),{servers:Q,scope:G,onDone:I}=z,U;if(q[0]!==Q)U=Object.keys(Q),q[0]=Q,q[1]=U;else U=q[1];let W=U,Z;if(q[2]===Symbol.for("react.memo_cache_sentinel"))Z={},q[2]=Z;else Z=q[2];let[X,Y]=d.useState(Z),H,_;if(q[3]===Symbol.for("react.memo_cache_sentinel"))H=()=>{y().then((K)=>{let{servers:i}=K;return Y(i)})},_=[],q[3]=H,q[4]=_;else H=q[3],_=q[4];d.useEffect(H,_);let T;if(q[5]!==X||q[6]!==W)T=W.filter((K)=>X[K]!==void 0),q[5]=X,q[6]=W,q[7]=T;else T=q[7];let O=T,M=async function(i){let Zq=0;for(let m of i){let Kq=Q[m];if(Kq){let n=m;if(X[n]!==void 0){let e=1;while(X[`${m}_${e}`]!==void 0)e++;n=`${m}_${e}`}await c(n,Kq,G),Zq++}}D(Zq)},[o]=Lq(),S;if(q[8]!==I||q[9]!==G||q[10]!==o)S=(K)=>{if(K>0)qq(`
|
|
2
|
+
${Pq("success",o)(`Successfully imported ${K} MCP ${zq(K,"server")} to ${G} config.`)}
|
|
3
|
+
`);else qq(`
|
|
4
|
+
No servers were imported.`);I(),F()},q[8]=I,q[9]=G,q[10]=o,q[11]=S;else S=q[11];let D=S,$;if(q[12]!==D)$=()=>{D(0)},q[12]=D,q[13]=$;else $=q[13];let V=$,eq=W.length,C;if(q[14]!==W.length)C=zq(W.length,"server"),q[14]=W.length,q[15]=C;else C=q[15];let s=`Found ${eq} MCP ${C} in Claude Desktop.`,j;if(q[16]!==O.length)j=O.length>0&&L.jsxDEV(f,{color:"warning",children:"Note: Some servers already exist with the same name. If selected, they will be imported with a numbered suffix."},void 0,!1,void 0,this),q[16]=O.length,q[17]=j;else j=q[17];let u;if(q[18]===Symbol.for("react.memo_cache_sentinel"))u=L.jsxDEV(f,{children:"Please select the servers you want to import:"},void 0,!1,void 0,this),q[18]=u;else u=q[18];let k,R;if(q[19]!==O||q[20]!==W)k=W.map((K)=>({label:`${K}${O.includes(K)?" (already exists)":""}`,value:K})),R=W.filter((K)=>!O.includes(K)),q[19]=O,q[20]=W,q[21]=k,q[22]=R;else k=q[21],R=q[22];let J;if(q[23]!==V||q[24]!==M||q[25]!==k||q[26]!==R)J=L.jsxDEV(Bq,{options:k,defaultValue:R,onSubmit:M,onCancel:V,hideIndexes:!0},void 0,!1,void 0,this),q[23]=V,q[24]=M,q[25]=k,q[26]=R,q[27]=J;else J=q[27];let N;if(q[28]!==V||q[29]!==s||q[30]!==j||q[31]!==J)N=L.jsxDEV(Tq,{title:"Import MCP Servers from Claude Desktop",subtitle:s,color:"success",onCancel:V,hideInputGuide:!0,children:[j,u,J]},void 0,!0,void 0,this),q[28]=V,q[29]=s,q[30]=j,q[31]=J,q[32]=N;else N=q[32];let g;if(q[33]===Symbol.for("react.memo_cache_sentinel"))g=L.jsxDEV(Hq,{paddingX:1,children:L.jsxDEV(f,{dimColor:!0,italic:!0,children:L.jsxDEV(Aq,{children:[L.jsxDEV(Gq,{shortcut:"Space",action:"select"},void 0,!1,void 0,this),L.jsxDEV(Gq,{shortcut:"Enter",action:"confirm"},void 0,!1,void 0,this),L.jsxDEV(wq,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[33]=g;else g=q[33];let l;if(q[34]!==N)l=L.jsxDEV(L.Fragment,{children:[N,g]},void 0,!0,void 0,this),q[34]=N,q[35]=l;else l=q[35];return l}Oq();Jz();Vz();Nz();xq();Iq();Rq();var yq={getAllMcpConfigs:y,getMcpConfigsByScope:a,getProjectMcpServerStatus:kq,isMcpServerDisabled:Jq,describeMcpConfigFilePath:E,connectToServer:t,clearServerCache:Nq};function Eq(z){return{generatedAt:new Date().toISOString(),targetName:z.targetName,scopeFilter:z.scopeFilter,configOnly:z.configOnly,summary:{totalReports:0,healthy:0,warnings:0,blocking:0},findings:[],servers:[]}}function Zz(z){if(z.message==="MCP config is not a valid JSON")return"config.invalid_json";if(z.message.startsWith("Missing environment variables:"))return"config.missing_env_vars";if(z.message.includes("Windows requires 'cmd /c' wrapper to execute npx"))return"config.windows_npx_wrapper_required";if(z.message==="Does not adhere to MCP server configuration schema")return"config.invalid_schema";return"config.validation_error"}function Kz(z){let q=z.mcpErrorMetadata?.severity;if(q==="fatal")return"error";if(q==="warning")return"warn";return"warn"}function bq(z){return z.map((q)=>{let Q=Kz(q);return{blocking:Q==="error",code:Zz(q),message:q.message,remediation:q.suggestion,scope:q.mcpErrorMetadata?.scope,serverName:q.mcpErrorMetadata?.serverName,severity:Q,sourcePath:q.file}})}function Dq(z){let q=[],Q=new Map;for(let G of z){if(!G.serverName){q.push(G);continue}let I=Q.get(G.serverName)??[];I.push(G),Q.set(G.serverName,I)}return{globalFindings:q,serverFindingsByName:Q}}function B(z){if(z.scope==="claudeai")return"claudeai";if(z.scope==="dynamic")return z.pluginSource?"plugin":"dynamic";if(z.scope==="managed")return"managed";return z.scope}function Qq(z){return z.type??"stdio"}function jq(z){switch(z.type){case"sse":case"http":case"ws":case"claudeai-proxy":return`${z.scope}:${z.type}:${z.url}`;case"sdk":return`${z.scope}:${z.type}:${z.name}`;default:return`${z.scope}:${z.type??"stdio"}:${z.command}:${JSON.stringify(z.args??[])}`}}function Lz(z,q){if(!q)return!1;return B(z)===B(q)&&jq(z)===jq(q)}function p(z,q,Q,G,I){let U=Q[z];if(!U)return[];let W=q==="project"?I.getProjectMcpServerStatus(z)==="pending":!1,Z=I.isMcpServerDisabled(z),X=!Z&&Lz(U,G);return[{name:z,sourceType:B(U),sourcePath:I.describeMcpConfigFilePath(q),transport:Qq(U),runtimeVisible:X,runtimeActive:X,pendingApproval:W,disabled:Z}]}function P(z,q){if(!q)return z==="enterprise"||z==="local"||z==="project"||z==="user";return z===q}function Fq(z,q){return[...P("enterprise",q)?z.enterprise.errors:[],...P("local",q)?z.local.errors:[],...P("project",q)?z.project.errors:[],...P("user",q)?z.user.errors:[]]}function Pz(z,q,Q){return{name:z,sourceType:B(q),sourcePath:B(q)==="plugin"?`plugin:${q.pluginSource??"unknown"}`:B(q)==="claudeai"?"claude.ai":q.scope,transport:Qq(q),runtimeVisible:Q?.runtimeVisible??!0,runtimeActive:Q?.runtimeActive??!0,disabled:Q?.disabled??!1}}function Hz(z,q,Q){let G=B(q),I=G==="plugin"?`plugin:${q.pluginSource??"unknown"}`:G==="claudeai"?"claude.ai":Q.describeMcpConfigFilePath(q.scope);return z.some((U)=>U.sourceType===G&&U.sourcePath===I&&U.transport===Qq(q))}function Oz(z){let q=z.filter((G)=>G.sourceType==="local"||G.sourceType==="project"||G.sourceType==="user"||G.sourceType==="enterprise");if(q.length<=1)return[];let Q=q.find((G)=>G.runtimeActive)??q[0];return[{blocking:!1,code:"duplicate.same_name_multiple_scopes",message:`Server is defined in multiple config scopes; active source is ${Q.sourceType}`,remediation:"Remove or rename one of the duplicate definitions to avoid confusion.",serverName:Q.name,severity:"warn"},{blocking:!1,code:"scope.shadowed",message:`${Q.name} has shadowed definitions in lower-precedence config scopes.`,remediation:"Inspect the other definitions and remove the ones you no longer want to keep.",serverName:Q.name,severity:"warn"}]}function wz(z){let q=[];for(let Q of z){if(Q.pendingApproval)q.push({blocking:!1,code:"state.pending_project_approval",message:`${Q.name} is declared in project config but pending project approval.`,remediation:"Approve the server in the project MCP approval flow before expecting it to become active.",scope:"project",serverName:Q.name,severity:"warn",sourcePath:Q.sourcePath});if(Q.disabled)q.push({blocking:!1,code:"state.disabled",message:`${Q.name} is currently disabled.`,remediation:"Re-enable the server before expecting it to be available at runtime.",serverName:Q.name,severity:"warn",sourcePath:Q.sourcePath})}return q}function hq(z){let q=[...z.findings,...z.servers.flatMap((U)=>U.findings)],Q=q.filter((U)=>U.blocking).length,G=q.filter((U)=>U.severity==="warn").length,I=z.servers.filter((U)=>U.liveCheck.result==="connected"&&U.findings.every((W)=>!W.blocking&&W.severity!=="warn")).length;return{...z,summary:{totalReports:z.servers.length,healthy:I,warnings:G,blocking:Q}}}async function Az(z,q,Q,G,I){if(Q)return{attempted:!1,result:"skipped"};if(!q){if(G.some((X)=>X.pendingApproval))return{attempted:!1,result:"pending"};if(G.some((X)=>X.disabled))return{attempted:!1,result:"disabled"};return{attempted:!1,result:"skipped"}}let U=Date.now(),W=await I.connectToServer(z,q),Z=Date.now()-U;try{switch(W.type){case"connected":return{attempted:!0,result:"connected",durationMs:Z};case"needs-auth":return{attempted:!0,result:"needs-auth",durationMs:Z};case"disabled":return{attempted:!0,result:"disabled",durationMs:Z};case"pending":return{attempted:!0,result:"pending",durationMs:Z};case"failed":return{attempted:!0,result:"failed",durationMs:Z,error:W.error}}}finally{await I.clearServerCache(z,q).catch(()=>{})}}function Tz(z,q,Q){let G=q.find((I)=>I.runtimeActive);if(Q.result==="needs-auth")return[{blocking:!1,code:"auth.needs_auth",message:`${z} requires authentication before it can be used.`,remediation:"Authenticate the server and then rerun the doctor command.",serverName:z,severity:"warn",sourcePath:G?.sourcePath}];if(Q.result==="failed"){let I=G?.transport==="stdio"&&typeof Q.error==="string"&&Q.error.toLowerCase().includes("not found");return[{blocking:!0,code:I?"stdio.command_not_found":"health.failed",message:Q.error?`${z} failed its live health check: ${Q.error}`:`${z} failed its live health check.`,remediation:I?"Verify the configured executable exists on PATH or use a full executable path.":"Inspect the server configuration and retry the connection once the underlying problem is fixed.",serverName:z,severity:"error",sourcePath:G?.sourcePath}]}return[]}async function Sq(z,q,Q,G){let I={enterprise:G.getMcpConfigsByScope("enterprise"),local:G.getMcpConfigsByScope("local"),project:G.getMcpConfigsByScope("project"),user:G.getMcpConfigsByScope("user")},{servers:U}=await G.getAllMcpConfigs(),W=G.isMcpServerDisabled(z),Z=U[z]??void 0,X=W?void 0:Z,Y=[...P("enterprise",q.scopeFilter)?p(z,"enterprise",I.enterprise.servers,X,G):[],...P("local",q.scopeFilter)?p(z,"local",I.local.servers,X,G):[],...P("project",q.scopeFilter)?p(z,"project",I.project.servers,X,G):[],...P("user",q.scopeFilter)?p(z,"user",I.user.servers,X,G):[]],H=!!Z&&!Hz(Y,Z,G)&&(Y.length===0&&!q.scopeFilter||Y.length>0&&Y.every((M)=>!M.runtimeActive));if(Z&&H)Y.push(Pz(z,Z,{disabled:W,runtimeActive:!W,runtimeVisible:!W}));let _=Y.some((M)=>M.runtimeActive)||H?X:void 0,T=[...Q.get(z)??[],...Oz(Y),...wz(Y)];if(Y.length===0&&!H)T.push({blocking:!0,code:"state.not_found",message:`${z} was not found in the selected MCP configuration sources.`,remediation:"Check the server name and scope, or add the MCP server before retrying.",serverName:z,severity:"error"});let O=await Az(z,_,q.configOnly,Y,G);return T.push(...Tz(z,Y,O)),{serverName:z,requestedByUser:q.requestedByUser,definitions:Y,liveCheck:O,findings:T}}function Mz(z,q,Q){let G=new Set(Q?Object.keys(q):[]);for(let I of z)for(let U of Object.keys(I))G.add(U);return[...G].sort()}async function $q(z={configOnly:!1},q=yq){let Q=Eq(z),G={enterprise:q.getMcpConfigsByScope("enterprise"),local:q.getMcpConfigsByScope("local"),project:q.getMcpConfigsByScope("project"),user:q.getMcpConfigsByScope("user")},I=bq(Fq(G,z.scopeFilter)),{globalFindings:U,serverFindingsByName:W}=Dq(I),{servers:Z}=await q.getAllMcpConfigs(),X=Mz([...P("enterprise",z.scopeFilter)?[G.enterprise.servers]:[],...P("local",z.scopeFilter)?[G.local.servers]:[],...P("project",z.scopeFilter)?[G.project.servers]:[],...P("user",z.scopeFilter)?[G.user.servers]:[]],Z,!z.scopeFilter),Y=await Promise.all(X.map((H)=>Sq(H,{configOnly:z.configOnly,requestedByUser:!1,scopeFilter:z.scopeFilter},W,q)));return Q.servers=Y,Q.findings=U,hq(Q)}async function Cq(z,q,Q=yq){let G=Eq({...q,targetName:z}),I={enterprise:Q.getMcpConfigsByScope("enterprise"),local:Q.getMcpConfigsByScope("local"),project:Q.getMcpConfigsByScope("project"),user:Q.getMcpConfigsByScope("user")},U=bq(Fq(I,q.scopeFilter)),{globalFindings:W,serverFindingsByName:Z}=Dq(U),X=await Sq(z,{configOnly:q.configOnly,requestedByUser:!0,scopeFilter:q.scopeFilter},Z,Q);return G.servers=[X],G.findings=W,hq(G)}xq();Iq();Rq();xz();kz();Bz();Mq();jz();_z();var r=x(v(),1);function bz(z){let q=[];if(q.push("MCP Doctor"),q.push(""),q.push("Summary"),q.push(`- ${z.summary.totalReports} server reports generated`),q.push(`- ${z.summary.healthy} healthy`),q.push(`- ${z.summary.warnings} warnings`),q.push(`- ${z.summary.blocking} blocking issues`),z.targetName)q.push(`- target: ${z.targetName}`);for(let Q of z.servers){q.push(""),q.push(Q.serverName);let G=Q.definitions.find((I)=>I.runtimeActive);if(G)q.push(`- Active source: ${G.sourceType}`),q.push(`- Transport: ${G.transport??"unknown"}`);if(Q.definitions.length>1){let I=Q.definitions.filter((U)=>!U.runtimeActive).map((U)=>U.sourceType);if(I.length>0)q.push(`- Additional definitions: ${I.join(", ")}`)}if(Q.liveCheck.result){let U=new Set(["disabled","pending","skipped"]).has(Q.liveCheck.result)?"State":"Live check";q.push(`- ${U}: ${Q.liveCheck.result}`)}if(Q.liveCheck.error)q.push(`- Error: ${Q.liveCheck.error}`);for(let I of Q.findings)if(q.push(`- ${I.message}`),I.remediation)q.push(`- Fix: ${I.remediation}`)}if(z.findings.length>0){q.push(""),q.push("Global findings");for(let Q of z.findings)if(q.push(`- ${Q.message}`),Q.remediation)q.push(`- Fix: ${Q.remediation}`)}return q.join(`
|
|
5
|
+
`)}async function HG(z,q){try{let Q=q.scope?h(q.scope):void 0,G=!!q.configOnly,I=z?await Cq(z,{configOnly:G,scopeFilter:Q}):await $q({configOnly:G,scopeFilter:Q});if(q.json)process.stdout.write(`${JSON.stringify(I,null,2)}
|
|
6
|
+
`);else process.stdout.write(`${bz(I)}
|
|
7
|
+
`);await new Promise((U)=>setTimeout(U,50)),process.exit(I.summary.blocking>0?1:0);return}catch(Q){w(Q.message)}}async function nq(z,q){try{let Q=await t(z,q);if(Q.type==="connected")return"✓ Connected";else if(Q.type==="needs-auth")return"! Needs authentication";else return"✗ Failed to connect"}catch(Q){return"✗ Connection error"}}async function OG({debug:z,verbose:q}){let Q=Ez();A("tengu_mcp_start",{});try{await yz(Q)}catch(G){if(uq(G))w(`Error: Directory ${Q} does not exist`);throw G}try{let{setup:G}=await import("./setup-0.1.10-fbs90hdh.mjs");await G(Q,"default",!1,!1,void 0,!1);let{startMCPServer:I}=await import("./mcp-0.1.10-nd17220r.mjs");await I(Q,z??!1,q??!1)}catch(G){w(`Error: Failed to start MCP server: ${G}`)}}async function wG(z,q){let Q=Yq(z),G=()=>{if(Q&&(Q.type==="sse"||Q.type==="http"))aq(z,Q),oq(z,Q)};try{if(q.scope){let Y=h(q.scope);A("tengu_mcp_delete",{name:z,scope:Y}),await Wq(z,Y),G(),process.stdout.write(`Removed MCP server ${z} from ${Y} config
|
|
8
|
+
`),b(`File modified: ${E(Y)}`)}let I=fq(),U=mq(),{servers:W}=a("project"),Z=!!W[z],X=[];if(I.mcpServers?.[z])X.push("local");if(Z)X.push("project");if(U.mcpServers?.[z])X.push("user");if(X.length===0)w(`No MCP server found with name: "${z}"`);else if(X.length===1){let Y=X[0];A("tengu_mcp_delete",{name:z,scope:Y}),await Wq(z,Y),G(),process.stdout.write(`Removed MCP server "${z}" from ${Y} config
|
|
9
|
+
`),b(`File modified: ${E(Y)}`)}else process.stderr.write(`MCP server "${z}" exists in multiple scopes:
|
|
10
|
+
`),X.forEach((Y)=>{process.stderr.write(` - ${Xq(Y)} (${E(Y)})
|
|
11
|
+
`)}),process.stderr.write(`
|
|
12
|
+
To remove from a specific scope, use:
|
|
13
|
+
`),X.forEach((Y)=>{process.stderr.write(` claude mcp remove "${z}" -s ${Y}
|
|
14
|
+
`)}),w()}catch(I){w(I.message)}}async function AG(){A("tengu_mcp_list",{});let{servers:z}=await y();if(Object.keys(z).length===0)console.log("No MCP servers configured. Use `claude mcp add` to add a server.");else{console.log(`Checking MCP server health...
|
|
15
|
+
`);let q=Object.entries(z),Q=await dq(q,async([G,I])=>({name:G,server:I,status:await nq(G,I)}),{concurrency:sq()});for(let{name:G,server:I,status:U}of Q)if(I.type==="sse")console.log(`${G}: ${I.url} (SSE) - ${U}`);else if(I.type==="http")console.log(`${G}: ${I.url} (HTTP) - ${U}`);else if(I.type==="claudeai-proxy")console.log(`${G}: ${I.url} - ${U}`);else if(!I.type||I.type==="stdio"){let W=Array.isArray(I.args)?I.args:[];console.log(`${G}: ${I.command} ${W.join(" ")} - ${U}`)}}await F(0)}async function TG(z){A("tengu_mcp_get",{name:z});let q=Yq(z);if(!q)w(`No MCP server found with name: ${z}`);console.log(`${z}:`),console.log(` Scope: ${Xq(q.scope)}`);let Q=await nq(z,q);if(console.log(` Status: ${Q}`),q.type==="sse"){if(console.log(" Type: sse"),console.log(` URL: ${q.url}`),q.headers){console.log(" Headers:");for(let[G,I]of Object.entries(q.headers))console.log(` ${G}: ${I}`)}if(q.oauth?.clientId||q.oauth?.callbackPort){let G=[];if(q.oauth.clientId)G.push("oauth client configured");if(q.oauth.callbackPort)G.push("callback port configured");console.log(` OAuth: ${G.join(", ")}`)}}else if(q.type==="http"){if(console.log(" Type: http"),console.log(` URL: ${q.url}`),q.headers){console.log(" Headers:");for(let[G,I]of Object.entries(q.headers))console.log(` ${G}: ${I}`)}if(q.oauth?.clientId||q.oauth?.callbackPort){let G=[];if(q.oauth.clientId)G.push("oauth client configured");if(q.oauth.callbackPort)G.push("callback port configured");console.log(` OAuth: ${G.join(", ")}`)}}else if(q.type==="stdio"){console.log(" Type: stdio"),console.log(` Command: ${q.command}`);let G=Array.isArray(q.args)?q.args:[];if(console.log(` Args: ${G.join(" ")}`),q.env){console.log(" Environment:");for(let[I,U]of Object.entries(q.env))console.log(` ${I}=${U}`)}}console.log(`
|
|
16
|
+
To remove this server, run: claude mcp remove "${z}" -s ${q.scope}`),await F(0)}async function MG(z,q,Q){try{let G=h(Q.scope),I=lq(q),W=Q.clientSecret&&I&&typeof I==="object"&&"type"in I&&(I.type==="sse"||I.type==="http")&&"url"in I&&typeof I.url==="string"&&"oauth"in I&&I.oauth&&typeof I.oauth==="object"&&"clientId"in I.oauth?await tq():void 0;await c(z,I,G);let Z=I&&typeof I==="object"&&"type"in I?String(I.type||"stdio"):"stdio";if(W&&I&&typeof I==="object"&&"type"in I&&(I.type==="sse"||I.type==="http")&&"url"in I&&typeof I.url==="string")rq(z,{type:I.type,url:I.url},W);A("tengu_mcp_add",{scope:G,source:"json",type:Z}),b(`Added ${Z} MCP server ${z} to ${G} config`)}catch(G){w(G.message)}}async function BG(z){try{let q=h(z.scope),Q=gq();A("tengu_mcp_add",{scope:q,platform:Q,source:"desktop"});let{readClaudeDesktopMcpServers:G}=await import("./claudeDesktop-0.1.10-gxr4sfek.mjs"),I=await G();if(Object.keys(I).length===0)b("No MCP servers found in Claude Desktop configuration or configuration file does not exist.");let{unmount:U}=await cq(r.jsxDEV(iq,{children:r.jsxDEV(pq,{children:r.jsxDEV(Vq,{servers:I,scope:q,onDone:()=>{U()}},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),{exitOnCtrlC:!0})}catch(q){w(q.message)}}async function _G(){A("tengu_mcp_reset_mcpjson_choices",{}),vq((z)=>({...z,enabledMcpjsonServers:[],disabledMcpjsonServers:[],enableAllProjectMcpServers:!1})),b(`All project-scoped (.mcp.json) server approvals and rejections have been reset.
|
|
17
|
+
You will be prompted for approval next time you start Claude Code.`)}export{OG as mcpServeHandler,_G as mcpResetChoicesHandler,wG as mcpRemoveHandler,AG as mcpListHandler,TG as mcpGetHandler,HG as mcpDoctorHandler,MG as mcpAddJsonHandler,BG as mcpAddFromDesktopHandler};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Bg as BG,Cg as bG}from"./cli-0.1.10-2tygs780.mjs";import{th as xG}from"./cli-0.1.10-h7dsgrnw.mjs";import{$G as ZG,Bi as LG,ID as OG,JD as IG,KC as T,KE as C,LE as MG,MC as PG,NI as FG,PH as kG,QI as qG,SK as JG,TK as CG,cp as DG,dp as VG,gj as R,hj as V,ij as g,jJ as WG,jj as NG,kj as l,lJ as TG,lj as r,mA as HG,mj as jG,nA as fG,nj as t,no as $G,oi as q,oj as wG,oo as UG,pj as a,qi as KG,qj as o,ri as yG,rj as zG,xi as QG}from"./cli-0.1.10-y9mkzh11.mjs";import"./cli-0.1.10-rr3xpxx1.mjs";import"./cli-0.1.10-xjpjs3y5.mjs";import"./cli-0.1.10-7d7j1qyf.mjs";import"./cli-0.1.10-gdqbhzyr.mjs";import"./cli-0.1.10-fay16q4v.mjs";import"./cli-0.1.10-z4a84y0c.mjs";import"./cli-0.1.10-y3q22zvb.mjs";import"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-x1qs5ctr.mjs";import"./cli-0.1.10-fhvyzg2m.mjs";import"./cli-0.1.10-72ece2yk.mjs";import"./cli-0.1.10-qf6ps98q.mjs";import"./cli-0.1.10-t8rnwwhq.mjs";import"./cli-0.1.10-wajz23ff.mjs";import"./cli-0.1.10-nfnje7ew.mjs";import"./cli-0.1.10-be8dvtg8.mjs";import"./cli-0.1.10-rvb440sp.mjs";import"./cli-0.1.10-xzz1tdne.mjs";import"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import"./cli-0.1.10-3q43p3wr.mjs";import{BW as E,EW as m,FW as z,GW as P,IV as S,JV as v,PV as _,SV as h,UV as u,WV as c,_V as d,oW as YG,qW as p,rW as f,uW as M,vW as n,xW as U,yW as i}from"./cli-0.1.10-gccb3gw8.mjs";import"./cli-0.1.10-er8zk2kj.mjs";import"./cli-0.1.10-zeqsd250.mjs";import"./cli-0.1.10-z3f97n2d.mjs";import{gX as XG}from"./cli-0.1.10-b59j6twr.mjs";import"./cli-0.1.10-v6gq9bxc.mjs";import"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import"./cli-0.1.10-227xyew7.mjs";import"./cli-0.1.10-bqsa7eam.mjs";import"./cli-0.1.10-acy8ec7t.mjs";import"./cli-0.1.10-hbk3dhq8.mjs";import"./cli-0.1.10-w8np72sh.mjs";import"./cli-0.1.10-t1zd86kd.mjs";import"./cli-0.1.10-jjdvb4je.mjs";import"./cli-0.1.10-dx92txwb.mjs";import"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import{U2 as GG,q3 as EG}from"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{D7 as AG,y7 as e}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import"./cli-0.1.10-f2jh6yv0.mjs";import{Ega as b,Iga as _G}from"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import"./cli-0.1.10-hyxg32sc.mjs";jG();P();wG();NG();P();class I{constructor(G){this._server=G}requestStream(G,K,X){return this._server.requestStream(G,K,X)}createMessageStream(G,K){let X=this._server.getClientCapabilities();if((G.tools||G.toolChoice)&&!X?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if(G.messages.length>0){let Q=G.messages[G.messages.length-1],$=Array.isArray(Q.content)?Q.content:[Q.content],Z=$.some((Y)=>Y.type==="tool_result"),D=G.messages.length>1?G.messages[G.messages.length-2]:void 0,W=D?Array.isArray(D.content)?D.content:[D.content]:[],F=W.some((Y)=>Y.type==="tool_use");if(Z){if($.some((Y)=>Y.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!F)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(F){let Y=new Set(W.filter((H)=>H.type==="tool_use").map((H)=>H.id)),B=new Set($.filter((H)=>H.type==="tool_result").map((H)=>H.toolUseId));if(Y.size!==B.size||![...Y].every((H)=>B.has(H)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:G},U,K)}elicitInputStream(G,K){let X=this._server.getClientCapabilities(),Q=G.mode??"form";switch(Q){case"url":{if(!X?.elicitation?.url)throw Error("Client does not support url elicitation.");break}case"form":{if(!X?.elicitation?.form)throw Error("Client does not support form elicitation.");break}}let $=Q==="form"&&G.mode===void 0?{...G,mode:"form"}:G;return this.requestStream({method:"elicitation/create",params:$},E,K)}async getTask(G,K){return this._server.getTask({taskId:G},K)}async getTaskResult(G,K,X){return this._server.getTaskResult({taskId:G},K,X)}async listTasks(G,K){return this._server.listTasks(G?{cursor:G}:void 0,K)}async cancelTask(G,K){return this._server.cancelTask({taskId:G},K)}}zG();class k extends l{constructor(G,K){super(K);if(this._serverInfo=G,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(M.options.map((X,Q)=>[X,Q])),this.isMessageIgnored=(X,Q)=>{let $=this._loggingLevels.get(Q);return $?this.LOG_LEVEL_SEVERITY.get(X)<this.LOG_LEVEL_SEVERITY.get($):!1},this._capabilities=K?.capabilities??{},this._instructions=K?.instructions,this._jsonSchemaValidator=K?.jsonSchemaValidator??new t,this.setRequestHandler(u,(X)=>this._oninitialize(X)),this.setNotificationHandler(c,()=>this.oninitialized?.()),this._capabilities.logging)this.setRequestHandler(n,async(X,Q)=>{let $=Q.sessionId||Q.requestInfo?.headers["mcp-session-id"]||void 0,{level:Z}=X.params,D=M.safeParse(Z);if(D.success)this._loggingLevels.set($,D.data);return{}})}get experimental(){if(!this._experimental)this._experimental={tasks:new I(this)};return this._experimental}registerCapabilities(G){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=r(this._capabilities,G)}setRequestHandler(G,K){let Q=g(G)?.method;if(!Q)throw Error("Schema is missing a method literal");let $;if(R(Q)){let D=Q;$=D._zod?.def?.value??D.value}else{let D=Q;$=D._def?.value??D.value}if(typeof $!=="string")throw Error("Schema method literal must be a string");if($==="tools/call"){let D=async(W,F)=>{let Y=V(f,W);if(!Y.success){let O=Y.error instanceof Error?Y.error.message:String(Y.error);throw new z(_.InvalidParams,`Invalid tools/call request: ${O}`)}let{params:B}=Y.data,H=await Promise.resolve(K(W,F));if(B.task){let O=V(d,H);if(!O.success){let y=O.error instanceof Error?O.error.message:String(O.error);throw new z(_.InvalidParams,`Invalid task creation result: ${y}`)}return O.data}let J=V(p,H);if(!J.success){let O=J.error instanceof Error?J.error.message:String(J.error);throw new z(_.InvalidParams,`Invalid tools/call result: ${O}`)}return J.data};return super.setRequestHandler(G,D)}return super.setRequestHandler(G,K)}assertCapabilityForMethod(G){switch(G){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw Error(`Client does not support sampling (required for ${G})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw Error(`Client does not support elicitation (required for ${G})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw Error(`Client does not support listing roots (required for ${G})`);break;case"ping":break}}assertNotificationCapability(G){switch(G){case"notifications/message":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${G})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw Error(`Server does not support notifying about resources (required for ${G})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw Error(`Server does not support notifying of tool list changes (required for ${G})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw Error(`Server does not support notifying of prompt list changes (required for ${G})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw Error(`Client does not support URL elicitation (required for ${G})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(G){if(!this._capabilities)return;switch(G){case"completion/complete":if(!this._capabilities.completions)throw Error(`Server does not support completions (required for ${G})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${G})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw Error(`Server does not support prompts (required for ${G})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw Error(`Server does not support resources (required for ${G})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Server does not support tools (required for ${G})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw Error(`Server does not support tasks capability (required for ${G})`);break;case"ping":case"initialize":break}}assertTaskCapability(G){o(this._clientCapabilities?.tasks?.requests,G,"Client")}assertTaskHandlerCapability(G){if(!this._capabilities)return;a(this._capabilities.tasks?.requests,G,"Server")}async _oninitialize(G){let K=G.params.protocolVersion;return this._clientCapabilities=G.params.capabilities,this._clientVersion=G.params.clientInfo,{protocolVersion:v.includes(K)?K:S,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},h)}async createMessage(G,K){if(G.tools||G.toolChoice){if(!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.")}if(G.messages.length>0){let X=G.messages[G.messages.length-1],Q=Array.isArray(X.content)?X.content:[X.content],$=Q.some((F)=>F.type==="tool_result"),Z=G.messages.length>1?G.messages[G.messages.length-2]:void 0,D=Z?Array.isArray(Z.content)?Z.content:[Z.content]:[],W=D.some((F)=>F.type==="tool_use");if($){if(Q.some((F)=>F.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!W)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(W){let F=new Set(D.filter((B)=>B.type==="tool_use").map((B)=>B.id)),Y=new Set(Q.filter((B)=>B.type==="tool_result").map((B)=>B.toolUseId));if(F.size!==Y.size||![...F].every((B)=>Y.has(B)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}if(G.tools)return this.request({method:"sampling/createMessage",params:G},i,K);return this.request({method:"sampling/createMessage",params:G},U,K)}async elicitInput(G,K){switch(G.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let Q=G;return this.request({method:"elicitation/create",params:Q},E,K)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let Q=G.mode==="form"?G:{...G,mode:"form"},$=await this.request({method:"elicitation/create",params:Q},E,K);if($.action==="accept"&&$.content&&Q.requestedSchema)try{let D=this._jsonSchemaValidator.getValidator(Q.requestedSchema)($.content);if(!D.valid)throw new z(_.InvalidParams,`Elicitation response content does not match requested schema: ${D.errorMessage}`)}catch(Z){if(Z instanceof z)throw Z;throw new z(_.InternalError,`Error validating elicitation response: ${Z instanceof Error?Z.message:String(Z)}`)}return $}}}createElicitationCompletionNotifier(G,K){if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:G}},K)}async listRoots(G,K){return this.request({method:"roots/list",params:G},m,K)}async sendLoggingMessage(G,K){if(this._capabilities.logging){if(!this.isMessageIgnored(G.level,K))return this.notification({method:"notifications/message",params:G})}}async sendResourceUpdated(G){return this.notification({method:"notifications/resources/updated",params:G})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}bG();xG();P();VG();CG();qG();yG();PG();UG();LG();AG();kG();EG();TG();fG();_G();IG();MG();process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS??="true";var RG=[JG];function s(G,K){let X=new Set(K.map(($)=>$.name)),Q=G.filter(($)=>!X.has($.name));return[...K,...Q]}async function gG(){let G=[],K=[];return await FG(({client:X,tools:Q})=>{G.push(X),K.push(...Q)}),{mcpClients:G,mcpTools:K}}async function FK(G,K,X){let $=QG(100);HG(G);let Z=new k({name:"claude/tengu",version:"99.0.0"},{capabilities:{tools:{}}}),{mcpClients:D,mcpTools:W}=await gG();Z.setRequestHandler(YG,async()=>{let Y=q(),B=s(T(Y),W);return{tools:await Promise.all(B.map(async(H)=>{let J;if(H.outputSchema){let O=C(H.outputSchema);if(typeof O==="object"&&O!==null&&"type"in O&&O.type==="object")J=O}return{...H,description:await H.prompt({getToolPermissionContext:async()=>Y,tools:B,agents:[]}),inputSchema:H.inputJSONSchema??C(H.inputSchema),outputSchema:J}}))}}),Z.setRequestHandler(f,async({params:{name:Y,arguments:B}})=>{let H=q(),J=s(T(H),W),O=KG(J,Y);if(!O)throw Error(`Tool ${Y} not found`);let y={abortController:$G(),options:{commands:RG,tools:J,mainLoopModel:GG(),thinkingConfig:{type:"disabled"},mcpClients:D,mcpResources:{},isNonInteractiveSession:!0,debug:K,verbose:X,agentDefinitions:{activeAgents:[],allAgents:[]}},getAppState:()=>DG(),setAppState:()=>{},messages:[],readFileState:$,setInProgressToolUseIDs:()=>{},setResponseLength:()=>{},updateFileHistoryState:()=>{},updateAttributionState:()=>{}};try{if(!O.isEnabled())throw Error(`Tool ${Y} is not enabled`);let N=O.inputSchema.parse(B??{}),L=await O.validateInput?.(N??{},y);if(L&&!L.result)throw Error(`Tool ${Y} input is invalid: ${L.message}`);let x=await O.call(N??{},y,WG,ZG({content:[]})),w,A=x.data;if(typeof A==="string")w=[{type:"text",text:A}];else if(Array.isArray(A))w=A.map((j)=>{if(j.type==="text")return{type:"text",text:j.text||""};else if(j.type==="image"&&j.source)return{type:"image",data:j.source.data,mimeType:j.source.media_type};else return console.warn(`Unmapped content block type from tool ${Y}: ${j.type||"unknown"}`),{type:"text",text:b(j)}});else w=[{type:"text",text:b(A)}];return{content:w,isError:!!x.isError}}catch(N){if(e(N),N instanceof XG)return{isError:!0,content:[{type:"text",text:`Tool ${Y} input is invalid:
|
|
2
|
+
${N.errors.map((w)=>`- ${w.path.join(".")}: ${w.message}`).join(`
|
|
3
|
+
`)}`}]};return{isError:!0,content:[{type:"text",text:(N instanceof Error?OG(N):[String(N)]).filter(Boolean).join(`
|
|
4
|
+
`).trim()||"Error"}]}}});async function F(){let Y=new BG;await Z.connect(Y)}return await F()}export{FK as startMCPServer,gG as loadReexposedMcpTools,s as getCombinedTools};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Bg as L,Cg as v}from"./cli-0.1.10-2tygs780.mjs";import{Eg as U,Fg as l}from"./cli-0.1.10-s6jxst02.mjs";import{Qg as K,sh as f}from"./cli-0.1.10-bfw7yx17.mjs";import{KW as N,LW as u}from"./cli-0.1.10-gccb3gw8.mjs";import{UW as k,VW as C,WW as w}from"./cli-0.1.10-er8zk2kj.mjs";import{ZW as D,dX as M}from"./cli-0.1.10-zeqsd250.mjs";import{D4 as b,b5 as P}from"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{Oba as I,sba as V,vba as F,yba as Y}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import{Wea as S,gfa as x}from"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import{Yfa as T,Zfa as E}from"./cli-0.1.10-f2jh6yv0.mjs";import{Wga as G,Zga as A}from"./cli-0.1.10-e4qewc1p.mjs";import{bha as R,lha as y}from"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Kna as h}from"./cli-0.1.10-hyxg32sc.mjs";import{format as $}from"util";function m(q){return B.some((j)=>j===q)}function n(){if(!S("tengu_copper_bridge",!1))return;if(R(process.env.USE_LOCAL_OAUTH)||R(process.env.LOCAL_BRIDGE))return"ws://localhost:8765";if(R(process.env.USE_STAGING_OAUTH))return"wss://bridge-staging.claudeusercontent.com";return"wss://bridge.claudeusercontent.com"}function o(){return R(process.env.USE_LOCAL_OAUTH)||R(process.env.LOCAL_BRIDGE)}function r(q){let j=new _,W=n();j.info(`Bridge URL: ${W??"none (using native socket)"}`);let J=q?.CLAUDE_CHROME_PERMISSION_MODE??process.env.CLAUDE_CHROME_PERMISSION_MODE,O;if(J)if(m(J))O=J;else j.warn(`Invalid CLAUDE_CHROME_PERMISSION_MODE "${J}". Valid values: ${B.join(", ")}`);return{serverName:"Claude in Chrome",logger:j,socketPath:k(),getSocketPaths:C,clientTypeId:"claude-code",onAuthenticationError:()=>{j.warn("Authentication error occurred. Please ensure you are logged into the Claude browser extension with the same claude.ai account as Claude Code.")},onToolCallDisconnected:()=>{return`Browser extension is not connected. Please ensure the Claude browser extension is installed and running (${c}), and that you are logged into claude.ai with the same account as Claude Code. If this is your first time connecting to Chrome, you may need to restart Chrome for the installation to take effect. If you continue to experience issues, please report a bug: ${t}`},onExtensionPaired:(X,Q)=>{V((z)=>{if(z.chromeExtension?.pairedDeviceId===X&&z.chromeExtension?.pairedDeviceName===Q)return z;return{...z,chromeExtension:{pairedDeviceId:X,pairedDeviceName:Q}}}),j.info(`Paired with "${Q}" (${X.slice(0,8)})`)},getPersistedDeviceId:()=>{return F().chromeExtension?.pairedDeviceId},...W&&{bridgeConfig:{url:W,getUserId:async()=>{return F().oauthAccount?.accountUuid},getOAuthToken:async()=>{return b()?.accessToken??""},...o()&&{devUserId:"dev_user_local"}}},...O&&{initialPermissionMode:O},trackEvent:(X,Q)=>{let z={};if(Q)for(let[H,Z]of Object.entries(Q)){let p=H==="status"?"bridge_status":H;if(typeof Z==="boolean"||typeof Z==="number")z[p]=Z;else if(typeof Z==="string"&&d.has(p))z[p]=Z}T(X,z)}}}async function Xj(){Y(),U();let q=r(),j=K(q),W=new L,J=!1,O=async()=>{if(J)return;J=!0,await D(),await N(),process.exit(0)};process.stdin.on("end",()=>void O()),process.stdin.on("error",()=>void O()),G("[Claude in Chrome] Starting MCP server"),await j.connect(W),G("[Claude in Chrome] MCP server started")}class _{silly(q,...j){G($(q,...j),{level:"debug"})}debug(q,...j){G($(q,...j),{level:"debug"})}info(q,...j){G($(q,...j),{level:"info"})}warn(q,...j){G($(q,...j),{level:"warn"})}error(q,...j){G($(q,...j),{level:"error"})}}var c="https://claude.ai/chrome",t="https://github.com/anthropics/claude-code/issues/new?labels=bug,claude-in-chrome",d,B;var i=h(()=>{f();v();u();M();x();E();l();P();I();A();y();w();d=new Set(["bridge_status","error_type","tool_name"]),B=["ask","skip_all_permission_checks","follow_a_plan"]});i();export{Xj as runClaudeInChromeMcpServer,r as createChromeContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Kna as z}from"./cli-0.1.10-hyxg32sc.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};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{ef as qz,gf as qJ}from"./cli-0.1.10-ckb6d1wg.mjs";import{KJ as bq,Ki as Zq,Li as tq,NJ as Pz,OD as $q,PD as _z,RB as uq,SB as jz,Zi as fq,bv as Lq,cv as Fz,dN as nq,gN as nz,jv as cq,lv as xz}from"./cli-0.1.10-y9mkzh11.mjs";import"./cli-0.1.10-rr3xpxx1.mjs";import"./cli-0.1.10-xjpjs3y5.mjs";import"./cli-0.1.10-7d7j1qyf.mjs";import{FP as eq,GP as ez}from"./cli-0.1.10-gdqbhzyr.mjs";import"./cli-0.1.10-fay16q4v.mjs";import"./cli-0.1.10-z4a84y0c.mjs";import"./cli-0.1.10-y3q22zvb.mjs";import"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-x1qs5ctr.mjs";import"./cli-0.1.10-fhvyzg2m.mjs";import"./cli-0.1.10-72ece2yk.mjs";import"./cli-0.1.10-qf6ps98q.mjs";import"./cli-0.1.10-t8rnwwhq.mjs";import{WR as hq,XR as Ez}from"./cli-0.1.10-wajz23ff.mjs";import"./cli-0.1.10-nfnje7ew.mjs";import"./cli-0.1.10-be8dvtg8.mjs";import"./cli-0.1.10-rvb440sp.mjs";import{OS as f,QS as wz}from"./cli-0.1.10-xzz1tdne.mjs";import{KU as C,MU as b,QU as oq,_S as Dq,pV as Aq}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import"./cli-0.1.10-3q43p3wr.mjs";import"./cli-0.1.10-gccb3gw8.mjs";import"./cli-0.1.10-er8zk2kj.mjs";import"./cli-0.1.10-zeqsd250.mjs";import"./cli-0.1.10-z3f97n2d.mjs";import"./cli-0.1.10-b59j6twr.mjs";import{kX as j}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as yq}from"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import"./cli-0.1.10-227xyew7.mjs";import{GX as pq,IX as Mz}from"./cli-0.1.10-bqsa7eam.mjs";import"./cli-0.1.10-acy8ec7t.mjs";import"./cli-0.1.10-hbk3dhq8.mjs";import"./cli-0.1.10-w8np72sh.mjs";import"./cli-0.1.10-t1zd86kd.mjs";import"./cli-0.1.10-jjdvb4je.mjs";import"./cli-0.1.10-dx92txwb.mjs";import"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import{x5 as Pq,y5 as Tz}from"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{A9 as xq,D7 as tz,G8 as Xz,Jaa as Sz,Kaa as Qq,N9 as Cz,Oaa as _q,Raa as Rz,Vaa as Rq,Yaa as Oq,Zaa as vq,_aa as kz,g8 as Cq,gba as Oz,hba as vz,xaa as Nq,y7 as iq}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import{Vda as sq,Wda as sz}from"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import{Cfa as jq,Gfa as Vz}from"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import{Yfa as Hq,Zfa as Iz}from"./cli-0.1.10-f2jh6yv0.mjs";import{Cga as oz,xga as aq}from"./cli-0.1.10-e4qewc1p.mjs";import{_ga as p,lha as Fq}from"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import{$ia as Eq,Oma as Az}from"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as k,Hna as bz,Kna as y}from"./cli-0.1.10-hyxg32sc.mjs";function Vq(z){return Cq(z)!==null}var Sq=y(()=>{Xz()});import{basename as Hz,join as Nz}from"path";function Lz(z){return z.type==="Project"&&z.parent===void 0&&vq(Hz(z.path))}function Tq(z,q){let U=new Set(z.filter(Lz).map((Y)=>Y.path));return Oq(q,(Y)=>U.has(Y))??Nz(q,Rq)}var wq=y(()=>{kz()});import{mkdir as yz}from"fs/promises";import{basename as Dz,join as fz}from"path";function dq(z){let q=gq.c(58),{onSelect:U,onCancel:Y}=z,Z=X.use(Zq()),V=Eq(),S=fz(p(),"CLAUDE.md"),A=Tq(Z,V),h=Dz(A),Jz=Z.some((J)=>J.path===S),Qz=Z.some((J)=>J.path===A),Yz=[...Z.filter(mz).map(dz),...Jz?[]:[{path:S,type:"User",content:"",exists:!1}],...Qz?[]:[{path:A,type:"Project",content:"",exists:!1}]],Iq=new Map,L=Yz.map((J)=>{let Q=xq(J.path),kq=J.exists?"":" (new)",Jq=J.parent?(Iq.get(J.parent)??0)+1:0;Iq.set(J.path,Jq);let Bz=Jq>0?" ".repeat(Jq-1):"",P;if(J.type==="User"&&!J.isNested&&J.path===S)P="User memory";else if(J.type==="Project"&&!J.isNested&&J.path===A)P="Project memory";else if(Jq>0)P=`${Bz}L ${Q}${kq}`;else P=`${Q}`;let x,Kz=Vq(V);if(J.type==="User"&&!J.isNested)x="Saved in ~/.claude/CLAUDE.md";else if(J.type==="Project"&&!J.isNested&&J.path===A)x=`${Kz?"Checked in at":"Saved in"} ./${h}`;else if(J.parent)x="@-imported";else if(J.isNested)x="dynamically loaded";else x="";return{label:P,value:J.path,description:x}}),c=[],Zz=bq(gz);if(Qq()){let J;if(q[0]===Symbol.for("react.memo_cache_sentinel"))J={label:"Open auto-memory folder",value:`${D}${_q()}`,description:""},q[0]=J;else J=q[0];if(c.push(J),Mq.isTeamMemoryEnabled()){let Q;if(q[1]===Symbol.for("react.memo_cache_sentinel"))Q={label:"Open team memory folder",value:`${D}${Mq.getTeamMemPath()}`,description:""},q[1]=Q;else Q=q[1];c.push(Q)}for(let Q of Zz.activeAgents)if(Q.memory){let kq=nq(Q.agentType,Q.memory);c.push({label:`Open ${Pq.bold(Q.agentType)} agent memory`,value:`${D}${kq}`,description:`${Q.memory} scope`})}}L.push(...c);let u;if(q[2]!==L)u=Yq&&L.some($z)?Yq:L[0]?.value||"",q[2]=L,q[3]=u;else u=q[3];let Wq=u,[$,Wz]=X.useState(Qq),[I,Uz]=X.useState($q),[G]=X.useState(Qq),H=bq(cz),[_,Gz]=X.useState(null),g;if(q[4]!==G)g=()=>{if(!G)return;uq().then(Gz)},q[4]=G,q[5]=g;else g=q[5];let d;if(q[6]!==H||q[7]!==G)d=[G,H],q[6]=H,q[7]=G,q[8]=d;else d=q[8];X.useEffect(g,d);let m;if(q[9]!==H||q[10]!==_)m=H?"running":_===null?"":_===0?"never":`last ran ${jq(new Date(_))}`,q[9]=H,q[10]=_,q[11]=m;else m=q[11];let n=m,[B,Uq]=X.useState(null),W=B!==null,R=G?1:0,s;if(q[12]!==$)s=function(){let Q=!$;Nq("userSettings",{autoMemoryEnabled:Q}),Wz(Q),Hq("tengu_auto_memory_toggled",{enabled:Q})},q[12]=$,q[13]=s;else s=q[13];let Gq=s,l;if(q[14]!==I)l=function(){let Q=!I;Nq("userSettings",{autoDreamEnabled:Q}),Uz(Q),Hq("tengu_auto_dream_toggled",{enabled:Q})},q[14]=I,q[15]=l;else l=q[15];let Bq=l;hq();let r;if(q[16]===Symbol.for("react.memo_cache_sentinel"))r={context:"Confirmation"},q[16]=r;else r=q[16];f("confirm:no",Y,r);let a;if(q[17]!==B||q[18]!==Bq||q[19]!==Gq)a=()=>{if(B===0)Gq();else if(B===1)Bq()},q[17]=B,q[18]=Bq,q[19]=Gq,q[20]=a;else a=q[20];let i;if(q[21]!==W)i={context:"Confirmation",isActive:W},q[21]=W,q[22]=i;else i=q[22];f("confirm:yes",a,i);let o;if(q[23]!==R)o=()=>{Uq((J)=>J!==null&&J<R?J+1:null)},q[23]=R,q[24]=o;else o=q[24];let t;if(q[25]!==W)t={context:"Select",isActive:W},q[25]=W,q[26]=t;else t=q[26];f("select:next",o,t);let e;if(q[27]===Symbol.for("react.memo_cache_sentinel"))e=()=>{Uq(hz)},q[27]=e;else e=q[27];let qq;if(q[28]!==W)qq={context:"Select",isActive:W},q[28]=W,q[29]=qq;else qq=q[29];f("select:previous",e,qq);let Kq=B===0,Xq=$?"on":"off",O;if(q[30]!==Xq)O=K.jsxDEV(b,{children:["Auto-memory: ",Xq]},void 0,!0,void 0,this),q[30]=Xq,q[31]=O;else O=q[31];let v;if(q[32]!==Kq||q[33]!==O)v=K.jsxDEV(Lq,{isFocused:Kq,children:O},void 0,!1,void 0,this),q[32]=Kq,q[33]=O,q[34]=v;else v=q[34];let T;if(q[35]!==I||q[36]!==n||q[37]!==B||q[38]!==H||q[39]!==G)T=G&&K.jsxDEV(Lq,{isFocused:B===1,styled:!1,children:K.jsxDEV(b,{color:B===1?"suggestion":void 0,children:["Auto-dream: ",I?"on":"off",n&&K.jsxDEV(b,{dimColor:!0,children:[" · ",n]},void 0,!0,void 0,this),!H&&I&&K.jsxDEV(b,{dimColor:!0,children:" · /dream to run"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),q[35]=I,q[36]=n,q[37]=B,q[38]=H,q[39]=G,q[40]=T;else T=q[40];let w;if(q[41]!==v||q[42]!==T)w=K.jsxDEV(C,{flexDirection:"column",marginBottom:1,children:[v,T]},void 0,!0,void 0,this),q[41]=v,q[42]=T,q[43]=w;else w=q[43];let M;if(q[44]!==U)M=(J)=>{if(J.startsWith(D)){let Q=J.slice(D.length);yz(Q,{recursive:!0}).catch(pz).then(()=>pq(Q));return}Yq=J,U(J)},q[44]=U,q[45]=M;else M=q[45];let E;if(q[46]!==R)E=()=>Uq(R),q[46]=R,q[47]=E;else E=q[47];let F;if(q[48]!==Wq||q[49]!==L||q[50]!==Y||q[51]!==M||q[52]!==E||q[53]!==W)F=K.jsxDEV(cq,{defaultFocusValue:Wq,options:L,isDisabled:W,onChange:M,onCancel:Y,onUpFromFirstItem:E},void 0,!1,void 0,this),q[48]=Wq,q[49]=L,q[50]=Y,q[51]=M,q[52]=E,q[53]=W,q[54]=F;else F=q[54];let zq;if(q[55]!==w||q[56]!==F)zq=K.jsxDEV(C,{flexDirection:"column",width:"100%",children:[w,F]},void 0,!0,void 0,this),q[55]=w,q[56]=F,q[57]=zq;else zq=q[57];return zq}function pz(){}function hz(z){return z!==null&&z>0?z-1:z}function cz(z){return Object.values(z.tasks).some(uz)}function uz(z){return z.type==="dream"&&z.status==="running"}function $z(z){return z.value===Yq}function gz(z){return z.agentDefinitions}function dz(z){return{...z,exists:!0}}function mz(z){return z.type!=="AutoMem"&&z.type!=="TeamMem"}var gq,X,K,Mq,Yq,D="__open_folder__";var mq=y(()=>{Tz();Az();Ez();Aq();wz();Rz();Iz();_z();jz();Pz();nz();Mz();fq();Fq();Cz();Vz();Sq();Sz();xz();Fz();wq();gq=k(Dq(),1),X=k(yq(),1),K=k(j(),1),Mq=(vz(),bz(Oz))});import{homedir as rz}from"os";import{relative as az}from"path";function lq(z){let q=rz(),U=sq(),Y=z.startsWith(q)?"~"+z.slice(q.length):null,Z=z.startsWith(U)?"./"+az(U,z):null;if(Y&&Z)return Y.length<=Z.length?Y:Z;return Y||Z||z}var lz,iz;var rq=y(()=>{Aq();sz();lz=k(Dq(),1),iz=k(j(),1)});import{mkdir as zJ,writeFile as JJ}from"fs/promises";function QJ({onDone:z}){let q=async(Y)=>{try{if(Y.includes(p()))await zJ(p(),{recursive:!0});try{await JJ(Y,"",{encoding:"utf8",flag:"wx"})}catch(h){if(aq(h)!=="EEXIST")throw h}await qz(Y);let Z="default",V="";if(process.env.VISUAL)Z="$VISUAL",V=process.env.VISUAL;else if(process.env.EDITOR)Z="$EDITOR",V=process.env.EDITOR;let S=Z!=="default"?`Using ${Z}="${V}".`:"",A=S?`> ${S} To change editor, set $EDITOR or $VISUAL environment variable.`:"> To use a different editor, set the $EDITOR or $VISUAL environment variable.";z(`Opened memory file at ${lq(Y)}
|
|
2
|
+
|
|
3
|
+
${A}`,{display:"system"})}catch(Z){iq(Z),z(`Error opening memory file: ${Z}`)}},U=()=>{z("Cancelled memory editing",{display:"system"})};return N.jsxDEV(eq,{title:"Memory",onCancel:U,color:"remember",children:N.jsxDEV(C,{flexDirection:"column",children:[N.jsxDEV(zz.Suspense,{fallback:null,children:N.jsxDEV(dq,{onSelect:q,onCancel:U},void 0,!1,void 0,this)},void 0,!1,void 0,this),N.jsxDEV(C,{marginTop:1,children:N.jsxDEV(b,{dimColor:!0,children:["Learn more: ",N.jsxDEV(oq,{url:"https://code.claude.com/docs/en/memory"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var zz,N,aJ=async(z)=>{return tq(),await Zq(),N.jsxDEV(QJ,{onDone:z},void 0,!1,void 0,this)};var YJ=y(()=>{ez();mq();rq();Aq();fq();Fq();oz();tz();qJ();zz=k(yq(),1),N=k(j(),1)});YJ();export{aJ as call};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{He as D,Ie as Xz}from"./cli-0.1.10-mv1psn5z.mjs";import{OS as x,QS as Uz,YS as s,ZS as Wz}from"./cli-0.1.10-xzz1tdne.mjs";import{KU as r,MU as H,_S as Jz,pV as Nz}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import{kX as T}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as Iz}from"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-fcarec7s.mjs";import"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import"./cli-0.1.10-f2jh6yv0.mjs";import"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as m,Kna as Hz}from"./cli-0.1.10-hyxg32sc.mjs";function Yz(I){let z=n.c(52),{onDone:W}=I,[X,o]=h.useState("ios"),M;if(z[0]===Symbol.for("react.memo_cache_sentinel"))M={ios:"",android:""},z[0]=M;else M=z[0];let[e,$]=h.useState(M),{url:p}=l[X],V=e[X],R,g;if(z[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>{(async function(){let[zz,Gz]=await Promise.all([D(l.ios.url,{type:"utf8",errorCorrectionLevel:"L"}),D(l.android.url,{type:"utf8",errorCorrectionLevel:"L"})]);$({ios:zz,android:Gz})})().catch(Qz)},g=[],z[1]=R,z[2]=g;else R=z[1],g=z[2];h.useEffect(R,g);let K;if(z[3]!==W)K=()=>{W()},z[3]=W,z[4]=K;else K=z[4];let t=K,P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P={context:"Confirmation"},z[5]=P;else P=z[5];x("confirm:no",t,P);let q;if(z[6]!==W)q=function(J){if(J.key==="q"||J.ctrl&&J.key==="c"){J.preventDefault(),W();return}if(J.key==="tab"||J.key==="left"||J.key==="right")J.preventDefault(),o(Bz)},z[6]=W,z[7]=q;else q=z[7];let a=q,Y,Z,k,N,U,B,Q,c,v;if(z[8]!==a||z[9]!==V){let i=V.split(`
|
|
2
|
+
`).filter(kz);if(Z=s,Y=r,Q="column",c=0,v=!0,k=a,z[19]===Symbol.for("react.memo_cache_sentinel"))N=G.jsxDEV(H,{children:" "},void 0,!1,void 0,this),U=G.jsxDEV(H,{children:" "},void 0,!1,void 0,this),z[19]=N,z[20]=U;else N=z[19],U=z[20];B=i.map(Zz),z[8]=a,z[9]=V,z[10]=Y,z[11]=Z,z[12]=k,z[13]=N,z[14]=U,z[15]=B,z[16]=Q,z[17]=c,z[18]=v}else Y=z[10],Z=z[11],k=z[12],N=z[13],U=z[14],B=z[15],Q=z[16],c=z[17],v=z[18];let y,C;if(z[21]===Symbol.for("react.memo_cache_sentinel"))y=G.jsxDEV(H,{children:" "},void 0,!1,void 0,this),C=G.jsxDEV(H,{children:" "},void 0,!1,void 0,this),z[21]=y,z[22]=C;else y=z[21],C=z[22];let d=X==="ios",E=X==="ios",w;if(z[23]!==d||z[24]!==E)w=G.jsxDEV(H,{bold:d,underline:E,children:"iOS"},void 0,!1,void 0,this),z[23]=d,z[24]=E,z[25]=w;else w=z[25];let S;if(z[26]===Symbol.for("react.memo_cache_sentinel"))S=G.jsxDEV(H,{dimColor:!0,children:" / "},void 0,!1,void 0,this),z[26]=S;else S=z[26];let j=X==="android",_=X==="android",A;if(z[27]!==j||z[28]!==_)A=G.jsxDEV(H,{bold:j,underline:_,children:"Android"},void 0,!1,void 0,this),z[27]=j,z[28]=_,z[29]=A;else A=z[29];let F;if(z[30]!==w||z[31]!==A)F=G.jsxDEV(H,{children:[w,S,A]},void 0,!0,void 0,this),z[30]=w,z[31]=A,z[32]=F;else F=z[32];let f;if(z[33]===Symbol.for("react.memo_cache_sentinel"))f=G.jsxDEV(H,{dimColor:!0,children:"(tab to switch, esc to close)"},void 0,!1,void 0,this),z[33]=f;else f=z[33];let L;if(z[34]!==F)L=G.jsxDEV(r,{flexDirection:"row",gap:2,children:[F,f]},void 0,!0,void 0,this),z[34]=F,z[35]=L;else L=z[35];let O;if(z[36]!==p)O=G.jsxDEV(H,{dimColor:!0,children:p},void 0,!1,void 0,this),z[36]=p,z[37]=O;else O=z[37];let b;if(z[38]!==Y||z[39]!==k||z[40]!==N||z[41]!==U||z[42]!==B||z[43]!==L||z[44]!==O||z[45]!==Q||z[46]!==c||z[47]!==v)b=G.jsxDEV(Y,{flexDirection:Q,tabIndex:c,autoFocus:v,onKeyDown:k,children:[N,U,B,y,C,L,O]},void 0,!0,void 0,this),z[38]=Y,z[39]=k,z[40]=N,z[41]=U,z[42]=B,z[43]=L,z[44]=O,z[45]=Q,z[46]=c,z[47]=v,z[48]=b;else b=z[48];let u;if(z[49]!==Z||z[50]!==b)u=G.jsxDEV(Z,{children:b},void 0,!1,void 0,this),z[49]=Z,z[50]=b,z[51]=u;else u=z[51];return u}function Zz(I,z){return G.jsxDEV(H,{children:I},z,!1,void 0,this)}function kz(I){return I.length>0}function Bz(I){return I==="ios"?"android":"ios"}function Qz(){}async function Oz(I){return G.jsxDEV(Yz,{onDone:I},void 0,!1,void 0,this)}var n,h,G,l;var cz=Hz(()=>{Xz();Wz();Nz();Uz();n=m(Jz(),1),h=m(Iz(),1),G=m(T(),1),l={ios:{url:"https://apps.apple.com/app/claude-by-anthropic/id6473753684"},android:{url:"https://play.google.com/store/apps/details?id=com.anthropic.claude"}}});cz();export{Oz as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$2 as k,R2 as a,S2 as b,T2 as c,U2 as d,V2 as e,W2 as f,X2 as g,Y2 as h,Z2 as i,_2 as j,a3 as l,b3 as m,c3 as n,d3 as o,e3 as p,f3 as q,g3 as r,h3 as s,i3 as t,j3 as u,k3 as v,l3 as w,m3 as x,n3 as y,o3 as z,p3 as A,q3 as B}from"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import"./cli-0.1.10-f2jh6yv0.mjs";import"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import"./cli-0.1.10-hyxg32sc.mjs";B();export{w as resolveSkillModelOverride,r as renderModelSetting,t as renderModelName,o as renderDefaultModelSetting,v as parseUserSpecifiedModel,A as normalizeModelStringForAPI,y as modelDisplayString,q as isOpus1mMergeEnabled,b as isNonCustomOpusModel,x as isLegacyModelRemapEnabled,c as getUserSpecifiedModelSetting,a as getSmallFastModel,i as getRuntimeMainLoopModel,u as getPublicModelName,s as getPublicModelDisplayName,p as getOpus46PricingSuffix,z as getMarketingNameForModel,d as getMainLoopModel,g as getDefaultSonnetModel,f as getDefaultOpusModel,j as getDefaultMainLoopModelSetting,k as getDefaultMainLoopModel,h as getDefaultHaikuModel,n as getClaudeAiUserDefaultModelDescription,m as getCanonicalName,e as getBestModel,l as firstPartyNameToCanonical};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./cli-0.1.10-gnds07ck.mjs";import{Af as Pb,Bf as v,Cf as Qb,zf as i}from"./cli-0.1.10-sab6x266.mjs";import"./cli-0.1.10-qw7kdg27.mjs";import"./cli-0.1.10-3chjvgrj.mjs";import"./cli-0.1.10-h7dsgrnw.mjs";import{KJ as R,LJ as u,NJ as Nb,UK as r,VK as Rb,as as g,bs as p,cs as Kb}from"./cli-0.1.10-y9mkzh11.mjs";import"./cli-0.1.10-rr3xpxx1.mjs";import"./cli-0.1.10-xjpjs3y5.mjs";import"./cli-0.1.10-7d7j1qyf.mjs";import"./cli-0.1.10-gdqbhzyr.mjs";import"./cli-0.1.10-fay16q4v.mjs";import"./cli-0.1.10-z4a84y0c.mjs";import"./cli-0.1.10-y3q22zvb.mjs";import"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-x1qs5ctr.mjs";import"./cli-0.1.10-fhvyzg2m.mjs";import"./cli-0.1.10-72ece2yk.mjs";import"./cli-0.1.10-qf6ps98q.mjs";import"./cli-0.1.10-t8rnwwhq.mjs";import"./cli-0.1.10-wajz23ff.mjs";import"./cli-0.1.10-nfnje7ew.mjs";import"./cli-0.1.10-be8dvtg8.mjs";import"./cli-0.1.10-rvb440sp.mjs";import"./cli-0.1.10-xzz1tdne.mjs";import{_S as Jb}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import"./cli-0.1.10-3q43p3wr.mjs";import"./cli-0.1.10-gccb3gw8.mjs";import"./cli-0.1.10-er8zk2kj.mjs";import"./cli-0.1.10-zeqsd250.mjs";import"./cli-0.1.10-z3f97n2d.mjs";import"./cli-0.1.10-b59j6twr.mjs";import{kX as O}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as Hb}from"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import"./cli-0.1.10-227xyew7.mjs";import"./cli-0.1.10-bqsa7eam.mjs";import"./cli-0.1.10-acy8ec7t.mjs";import"./cli-0.1.10-hbk3dhq8.mjs";import"./cli-0.1.10-w8np72sh.mjs";import"./cli-0.1.10-t1zd86kd.mjs";import"./cli-0.1.10-jjdvb4je.mjs";import"./cli-0.1.10-dx92txwb.mjs";import"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import{C2 as kb,L2 as f,M2 as qb,N2 as F,O2 as zb,_2 as D,d3 as $,f3 as T,i2 as C,j2 as w,o2 as Y,q3 as Bb,t2 as c,t3 as M,v3 as Gb}from"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import{x5 as X,y5 as bb}from"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{Mca as A,Sca as e,bca as L,cca as h,eca as o}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import{wea as S,xea as V,yea as n}from"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import{Yfa as y,Zfa as s}from"./cli-0.1.10-f2jh6yv0.mjs";import"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as x,Kna as d}from"./cli-0.1.10-hyxg32sc.mjs";function Ub(k){let b=m.c(17),{onDone:z}=k,B=R(Zb),q=R(Yb),G=R(Xb),J=u(),H;if(b[0]!==B||b[1]!==z)H=function(){y("tengu_model_command_menu",{action:"cancel"});let P=I(B);z(`Kept model as ${X.bold(P)}`,{display:"system"})},b[0]=B,b[1]=z,b[2]=H;else H=b[2];let K=H,N;if(b[3]!==G||b[4]!==B||b[5]!==z||b[6]!==J)N=function(P,_){y("tengu_model_command_menu",{action:P,from_model:B,to_model:P}),J((l)=>({...l,mainLoopModel:P,mainLoopModelForSession:null}));let Q=`Set model to ${X.bold(I(P))}`;if(_!==void 0)Q=Q+` with ${X.bold(_)} effort`;let E=void 0;if(C()){if(c(),!Y(P)&&G)J(Wb),E=!1;else if(Y(P)&&w()&&G)Q=Q+" · Fast mode ON",E=!0}if(v(P,E===!0,T()))Q=Q+" · Billed as extra usage";if(E===!1)Q=Q+" · Fast mode OFF";z(Q)},b[3]=G,b[4]=B,b[5]=z,b[6]=J,b[7]=N;else N=b[7];let U=N,W;if(b[8]!==G||b[9]!==B)W=C()&&G&&Y(B)&&w(),b[8]=G,b[9]=B,b[10]=W;else W=b[10];let j;if(b[11]!==K||b[12]!==U||b[13]!==B||b[14]!==q||b[15]!==W)j=Z.jsxDEV(i,{initial:B,sessionModel:q,onSelect:U,onCancel:K,isStandaloneCommand:!0,showFastModeNotice:W},void 0,!1,void 0,this),b[11]=K,b[12]=U,b[13]=B,b[14]=q,b[15]=W,b[16]=j;else j=b[16];return j}function Wb(k){return{...k,fastMode:!1}}function Xb(k){return k.fastMode}function Yb(k){return k.mainLoopModelForSession}function Zb(k){return k.mainLoopModel}function yb({args:k,onDone:b}){let z=R((G)=>G.fastMode),B=u(),q=k==="default"?null:k;return t.useEffect(()=>{async function G(){if(q&&!F(q)){b(`Model '${q}' is not available. Your organization restricts model selection.`,{display:"system"});return}if(q&&jb(q)){b("Opus with 1M context is not available for your account. Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m",{display:"system"});return}if(q&&Eb(q)){b("Sonnet 4.6 with 1M context is not available for your account. Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m",{display:"system"});return}if(!q){J(null);return}if(Ib(q)){J(q);return}try{let{valid:H,error:K}=await r(q);if(H)J(q);else b(K||`Model '${q}' not found`,{display:"system"})}catch(H){b(`Failed to validate model: ${H.message}`,{display:"system"})}}function J(H){B((U)=>({...U,mainLoopModel:H,mainLoopModelForSession:null}));let K=`Set model to ${X.bold(I(H))}`,N=void 0;if(C()){if(c(),!Y(H)&&z)B((U)=>({...U,fastMode:!1})),N=!1;else if(Y(H)&&z)K+=" · Fast mode ON",N=!0}if(v(H,N===!0,T()))K+=" · Billed as extra usage";if(N===!1)K+=" · Fast mode OFF";b(K)}G()},[q,b,B]),null}function Ib(k){return f.includes(k.toLowerCase().trim())}function jb(k){let b=k.toLowerCase();return!g()&&!T()&&b.includes("opus")&&b.includes("[1m]")}function Eb(k){let b=k.toLowerCase();return!p()&&(b.includes("sonnet[1m]")||b.includes("sonnet-4-6[1m]"))}function xb(k){let{onDone:b}=k,z=R(wb),B=R(Tb),q=R(Cb),G=I(z),J=q!==void 0?` (effort: ${q})`:"";if(B)b(`Current model: ${X.bold(I(B))} (session override from plan mode)
|
|
2
|
+
Base model: ${G}${J}`);else b(`Current model: ${G}${J}`);return null}function Cb(k){return k.effortValue}function Tb(k){return k.mainLoopModelForSession}function wb(k){return k.mainLoopModel}function Ab(k,b){if(k.length!==b.length)return!1;return k.every((z,B)=>{let q=b[B];return q!==void 0&&z.value===q.value&&z.label===q.label&&z.description===q.description&&z.descriptionForModel===q.descriptionForModel})}async function cb(){if(!A()?.startsWith("openai:"))return;try{let k=await M();if(k.length===0)return;let b=L();if(Ab(b,k))return;h(k)}catch{}}function I(k){let b=$(k??D());return k===null?`${b} (default)`:b}var m,t,Z,rb=async(k,b,z)=>{if(z=z?.trim()||"",V.includes(z))return y("tengu_model_command_inline_help",{args:z}),Z.jsxDEV(xb,{onDone:k},void 0,!1,void 0,this);if(S.includes(z)){k("Run /model to open the model selection menu, or /model [modelName] to set the model.",{display:"system"});return}if(z)return y("tengu_model_command_inline",{args:z}),Z.jsxDEV(yb,{args:z,onDone:k},void 0,!1,void 0,this);if(A()?.startsWith("openai:"))cb();return Z.jsxDEV(Ub,{onDone:k},void 0,!1,void 0,this)};var ub=d(()=>{bb();Pb();n();s();Nb();Qb();kb();qb();Kb();Gb();o();Bb();zb();Rb();e();m=x(Jb(),1),t=x(Hb(),1),Z=x(O(),1)});ub();export{rb as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Aea as b,Bea as c,Cea as d,Dea as e,Eea as f,Fea as g,Gea as h,Hea as i,Iea as j,zea as a}from"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-hyxg32sc.mjs";j();export{i as getOauthConfig,a as fileSuffixForOauthConfig,d as OAUTH_BETA_HEADER,h as MCP_CLIENT_METADATA_URL,e as CONSOLE_OAUTH_SCOPES,c as CLAUDE_AI_PROFILE_SCOPE,f as CLAUDE_AI_OAUTH_SCOPES,b as CLAUDE_AI_INFERENCE_SCOPE,g as ALL_OAUTH_SCOPES};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{$m as CZ,XE as jZ,Xm as FQ,YE as FZ,Ym as ZZ,ZE as MQ,Zm as BZ,_E as D0,_m as $Z,an as HQ,bn as qZ,cn as XZ,dn as TZ,en as YZ,fn as DZ,gn as OQ,hn as WZ,in as JZ,jn as NQ,kn as bZ,ln as PQ,mi as DQ,mn as GQ,ni as UZ,nn as WQ,on as yZ,pn as ZQ,wn as gZ}from"./cli-0.1.10-y9mkzh11.mjs";import"./cli-0.1.10-rr3xpxx1.mjs";import"./cli-0.1.10-xjpjs3y5.mjs";import"./cli-0.1.10-7d7j1qyf.mjs";import"./cli-0.1.10-gdqbhzyr.mjs";import"./cli-0.1.10-fay16q4v.mjs";import"./cli-0.1.10-z4a84y0c.mjs";import"./cli-0.1.10-y3q22zvb.mjs";import"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-x1qs5ctr.mjs";import"./cli-0.1.10-fhvyzg2m.mjs";import"./cli-0.1.10-72ece2yk.mjs";import"./cli-0.1.10-qf6ps98q.mjs";import"./cli-0.1.10-t8rnwwhq.mjs";import"./cli-0.1.10-wajz23ff.mjs";import"./cli-0.1.10-nfnje7ew.mjs";import"./cli-0.1.10-be8dvtg8.mjs";import{oS as RQ,sS as fZ}from"./cli-0.1.10-rvb440sp.mjs";import"./cli-0.1.10-xzz1tdne.mjs";import"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import"./cli-0.1.10-3q43p3wr.mjs";import"./cli-0.1.10-gccb3gw8.mjs";import"./cli-0.1.10-er8zk2kj.mjs";import"./cli-0.1.10-zeqsd250.mjs";import"./cli-0.1.10-z3f97n2d.mjs";import"./cli-0.1.10-b59j6twr.mjs";import"./cli-0.1.10-v6gq9bxc.mjs";import"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import"./cli-0.1.10-227xyew7.mjs";import"./cli-0.1.10-bqsa7eam.mjs";import"./cli-0.1.10-acy8ec7t.mjs";import"./cli-0.1.10-hbk3dhq8.mjs";import"./cli-0.1.10-w8np72sh.mjs";import"./cli-0.1.10-t1zd86kd.mjs";import"./cli-0.1.10-jjdvb4je.mjs";import"./cli-0.1.10-dx92txwb.mjs";import"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import{j0 as QZ,n0 as EZ}from"./cli-0.1.10-6bn5q3gp.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import{$5 as eQ,_5 as SQ,a6 as EQ}from"./cli-0.1.10-yset0578.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{Cca as oQ,Dca as IZ,Gca as LQ,Hca as aQ,Ica as rQ,Kca as jQ,Lca as tQ,Oca as sQ,Sca as SZ,Vca as l,Yca as IQ,nca as vQ,oca as PZ,zca as nQ}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import"./cli-0.1.10-f2jh6yv0.mjs";import{Wga as y,Zga as yQ,dga as e,lga as vZ}from"./cli-0.1.10-e4qewc1p.mjs";import{bha as iQ,dha as t,lha as xQ}from"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Kna as r}from"./cli-0.1.10-hyxg32sc.mjs";function GZ(){if(t())return;try{return vQ().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function UQ(){if(l()?.transport!=="gemini")return;let Q=SQ(process.env);if(Q&&Q!=="access-token")return;if(t())return;GZ()}var BQ=r(()=>{IQ();xQ();EQ();PZ()});function fQ(Q){return Q.trim().length===0}function wZ(Q){return/^\s*\{\s*['"]?\w+['"]?\s*:/.test(Q)}function MZ(Q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)}function RZ(Q){return qQ[Q]??null}function TQ(Q){return Q in qQ}function CQ(Q,Z){let $=RZ(Q);if(!$)return null;return{[$]:Z}}function _Q(Q,Z){if(Z===void 0)return{};try{let $=JSON.parse(Z);if(MZ($))return $;if(typeof $==="string"&&!fQ($))return CQ(Q,$)??$;return $}catch{if(fQ(Z)||wZ(Z))return{};return CQ(Q,Z)??{}}}var qQ;var bQ=r(()=>{qQ={Bash:"command",Read:"file_path",Write:"file_path",Edit:"file_path",Glob:"pattern",Grep:"pattern"}});import{randomUUID as AZ}from"crypto";function xZ(){return AZ()}function gQ(Q,Z){let $=xZ(),D=Date.now();return y(JSON.stringify({type:"api_call_start",correlationId:$,provider:Q,model:Z,timestamp:D}),{level:"debug"}),{correlationId:$,startTime:D}}function kQ(Q,Z,$,D,Y,X,W,J,z,V){let F=Date.now()-Z,_={type:D==="error"?"api_call_error":"api_call_end",correlationId:Q,model:$,duration_ms:F,status:D,tokens_in:Y,tokens_out:X,streaming:W};if(J!==void 0)_.first_token_ms=J;if(z!==void 0)_.total_chunks=z;if(V)_.error=V;y(JSON.stringify(_),{level:D==="error"?"error":"debug"})}var hQ=r(()=>{yQ()});function mQ(){return{chunkCount:0,firstTokenTime:null,startTime:Date.now()}}function KQ(Q,Z){if(Q.firstTokenTime===null)Q.firstTokenTime=Date.now();Q.chunkCount++}function uQ(Q){let Z=Date.now(),$=Q.firstTokenTime?Z-Q.firstTokenTime:null,D=Z-Q.startTime;return{totalChunks:Q.chunkCount,firstTokenMs:$,durationMs:D}}var dQ=()=>{};function zQ(){return l()?.transport==="github_copilot"}function iZ(){return l()?.transport==="mistral"}function XQ(Q){if(!Q)return{};let Z={};for(let[$,D]of Object.entries(Q)){let Y=$.toLowerCase();if(Y.startsWith("x-anthropic")||Y.startsWith("anthropic-")||Y.startsWith("x-claude")||Y==="x-app"||Y==="x-client-app"||Y==="authorization"||Y==="x-api-key"||Y==="api-key")continue;Z[$]=D}return Z}function nZ(Q){if(!Q)return!1;try{return new URL(Q).hostname.toLowerCase()===uZ}catch{return!1}}function pQ(Q){if(!Q)return!1;try{let Z=new URL(Q),$=Z.hostname.toLowerCase();return dZ.has($)||$===cZ&&Z.pathname.toLowerCase().startsWith("/coding")}catch{return!1}}function lQ(Q){if(!Q)return!1;try{return pZ.has(new URL(Q).hostname.toLowerCase())}catch{return!1}}function oZ(Q){return Q==="xhigh"?"max":"high"}function aZ(Q){let Z=Q.headers.get("retry-after");return Z?` (Retry-After: ${Z})`:""}function rZ(Q){let Z=Q.toLowerCase();return lZ.some(($)=>Z.includes($))}function s(Q){try{let Z=new URL(Q);if(Z.username)Z.username="redacted";if(Z.password)Z.password="redacted";for(let D of Z.searchParams.keys())if(rZ(D))Z.searchParams.set(D,"redacted");let $=Z.toString();return ZQ($,process.env)??$}catch{return ZQ(Q,process.env)??Q}}function tZ(Q){return new Promise((Z)=>setTimeout(Z,Q))}function VZ(Q){if(!Q)return"";if(typeof Q==="string")return Q;if(Array.isArray(Q))return Q.map((Z)=>Z.type==="text"?Z.text??"":"").join(`
|
|
2
|
+
|
|
3
|
+
`);return String(Q)}function sZ(Q,Z){if(typeof Q==="string")return Z?`Error: ${Q}`:Q;if(!Array.isArray(Q)){let Y=JSON.stringify(Q??"");return Z?`Error: ${Y}`:Y}let $=[];for(let Y of Q){if(Y?.type==="text"&&typeof Y.text==="string"){$.push({type:"text",text:Y.text});continue}if(Y?.type==="image"){let X=Y.source;if(X?.type==="url"&&X.url)$.push({type:"image_url",image_url:{url:X.url}});else if(X?.type==="base64"&&X.media_type&&X.data)$.push({type:"image_url",image_url:{url:`data:${X.media_type};base64,${X.data}`}});continue}if(typeof Y?.text==="string")$.push({type:"text",text:Y.text})}if($.length===0)return"";if($.length===1&&$[0].type==="text"){let Y=$[0].text??"";return Z?`Error: ${Y}`:Y}if($.every((Y)=>Y.type==="text")){let Y=$.map((X)=>X.text??"").join(`
|
|
4
|
+
|
|
5
|
+
`);return Z?`Error: ${Y}`:Y}if(Z&&$[0]?.type==="text")$[0]={...$[0],text:`Error: ${$[0].text??""}`};else if(Z)$.unshift({type:"text",text:"Error:"});return $}function YQ(Q){if(typeof Q==="string")return Q;if(!Array.isArray(Q))return String(Q??"");let Z=[];for(let D of Q)switch(D.type){case"text":Z.push({type:"text",text:D.text??""});break;case"image":{let Y=D.source;if(Y?.type==="base64")Z.push({type:"image_url",image_url:{url:`data:${Y.media_type};base64,${Y.data}`}});else if(Y?.type==="url")Z.push({type:"image_url",image_url:{url:Y.url}});break}case"tool_use":break;case"tool_result":break;case"thinking":case"redacted_thinking":break;default:if(D.text)Z.push({type:"text",text:D.text})}if(Z.length===0)return"";if(Z.length===1&&Z[0].type==="text")return Z[0].text??"";if(Z.every((D)=>D.type==="text"))return Z.map((D)=>D.text??"").join(`
|
|
6
|
+
|
|
7
|
+
`);return Z}function JQ(){let Q=l();if(Q?.transport==="gemini")return!0;return nZ(Q?.baseUrl)}function eZ(Q,Z,$){let D=$?.preserveReasoningContent===!0,Y=[],X=new Set,W=new Set;for(let V of Q){let _=(V.message??V).content;if(Array.isArray(_)){for(let M of _)if(M.type==="tool_result"&&M.tool_use_id)W.add(M.tool_use_id)}}let J=VZ(Z);if(J)Y.push({role:"system",content:J});for(let V=0;V<Q.length;V++){let F=Q[V],_=V===Q.length-1,M=F.message??F,v=M.role??F.role,H=M.content;if(v==="user")if(Array.isArray(H)){let w=H.filter((S)=>S.type==="tool_result"),N=H.filter((S)=>S.type!=="tool_result");for(let S of w){let x=S.tool_use_id??"unknown";if(X.has(x))Y.push({role:"tool",tool_call_id:x,content:sZ(S.content,S.is_error)});else y(`Dropping orphan tool_result for ID: ${x} to prevent API error`)}if(N.length>0)Y.push({role:"user",content:YQ(N)})}else Y.push({role:"user",content:YQ(H)});else if(v==="assistant")if(Array.isArray(H)){let w=H.filter((O)=>O.type==="tool_use"),N=H.find((O)=>O.type==="thinking"),S=H.filter((O)=>O.type!=="tool_use"&&O.type!=="thinking"),x={role:"assistant",content:(()=>{let O=YQ(S);return typeof O==="string"?O:Array.isArray(O)?O.map((A)=>A.text??"").join(""):""})()};if(D){let O=N?.thinking;if(typeof O==="string"&&O.trim().length>0)x.reasoning_content=O;else x.reasoning_content=""}if(w.length>0){let O=w.map((A)=>{let d=A.id??`call_${crypto.randomUUID().replace(/-/g,"")}`;if(!W.has(d)&&!_)return null;X.add(d);let q={id:d,type:"function",function:{name:A.name??"unknown",arguments:typeof A.input==="string"?A.input:JSON.stringify(A.input??{})}};if(A.extra_content)q.extra_content={...A.extra_content};if(JQ()){let k=A.signature??N?.signature,I=q.extra_content?.google??{};q.extra_content={...q.extra_content,google:{...I,thought_signature:k??"skip_thought_signature_validator"}}}return q}).filter((A)=>A!==null);if(O.length>0)x.tool_calls=O}if(x.content||x.tool_calls?.length)Y.push(x)}else{let w={role:"assistant",content:(()=>{let N=YQ(H);return typeof N==="string"?N:Array.isArray(N)?N.map((S)=>S.text??"").join(""):""})()};if(w.content)Y.push(w)}}let z=[];for(let V of Y){let F=z[z.length-1];if(F&&F.role==="tool"&&V.role==="user")z.push({role:"assistant",content:"[Tool execution interrupted by user]"});let _=z[z.length-1];if(_&&_.role===V.role&&V.role!=="tool"&&V.role!=="system"){let M=_.content,v=V.content;if(typeof M==="string"&&typeof v==="string")_.content=M+(M&&v?`
|
|
8
|
+
`:"")+v;else{let H=(w)=>{if(!w)return[];if(typeof w==="string")return w?[{type:"text",text:w}]:[];return w};_.content=[...H(M),...H(v)]}if(V.tool_calls?.length)_.tool_calls=[..._.tool_calls??[],...V.tool_calls]}else z.push(V)}return z}function QQ(Q,Z=!0){let $=XZ(Q);if($.type==="object"&&$.properties){let D=$.properties,Y=Array.isArray($.required)?$.required:[],X={};for(let[W,J]of Object.entries(D))X[W]=QQ(J,Z);if($.properties=X,Z)$.required=Y.filter((W)=>(W in X)),$.additionalProperties=!1;else $.required=Y.filter((W)=>(W in X))}if("items"in $)if(Array.isArray($.items))$.items=$.items.map((D)=>QQ(D,Z));else $.items=QQ($.items,Z);for(let D of["anyOf","oneOf","allOf"])if(D in $&&Array.isArray($[D]))$[D]=$[D].map((Y)=>QQ(Y,Z));return $}function Q0(Q){let Z=JQ();return Q.filter(($)=>$.name!=="ToolSearchTool").map(($)=>{let D={...$.input_schema??{type:"object",properties:{}}};if($.name==="Agent"&&D.properties){let Y=D.properties;if(!Array.isArray(D.required))D.required=[];let X=D.required;for(let W of["message","subagent_type"])if(W in Y&&!X.includes(W))X.push(W)}return{type:"function",function:{name:$.name,description:$.description??"",parameters:QQ(D,!Z&&!iQ(process.env.CLAUDIO_DISABLE_STRICT_TOOLS))}}})}function wQ(){return`msg_${crypto.randomUUID().replace(/-/g,"")}`}function Z0(Q){if(!Q)return;return RQ(Q)}function $0(Q){try{let Z=JSON.parse(Q);return Z&&typeof Z==="object"&&!Array.isArray(Z)?Q:null}catch{for(let Z of _Z)try{let $=Q+Z,D=JSON.parse($);if(D&&typeof D==="object"&&!Array.isArray(D))return $}catch{}return null}}async function*X0(Q,Z,$,D){let Y=wQ(),X=0,W=new Map,J=!1,z=!1,V=!1,F=ZZ(),_=null,M=!1,v=!1,H=0,w=mQ();yield{type:"message_start",message:{id:Y,type:"message",role:"assistant",content:[],model:Z,stop_reason:null,stop_sequence:null,usage:{input_tokens:0,output_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0}}};let N=Q.body?.getReader();if(!N)return;let S=new TextDecoder,x="",O=120000,A=Date.now();async function d(){return new Promise((I,f)=>{let h=setTimeout(()=>{let U=Math.round((Date.now()-A)/1000);f(Error(`OpenAI/Gemini SSE stream idle for ${U}s (limit: ${O/1000}s). Connection likely dropped.`))},O),T;if($)T=()=>{clearTimeout(h)},$.addEventListener("abort",T,{once:!0});N.read().then((U)=>{if(clearTimeout(h),$&&T)$.removeEventListener("abort",T);if(U.value)A=Date.now();I(U)},(U)=>{if(clearTimeout(h),$&&T)$.removeEventListener("abort",T);f(U)})})}let q=async function*(){if(!J)return;let I=F.flush();if(I)yield{type:"content_block_delta",index:X,delta:{type:"text_delta",text:I}};yield{type:"content_block_stop",index:X},X++,J=!1};try{while(!0){let{done:I,value:f}=await d();if(I)break;x+=S.decode(f,{stream:!0});let h=x.split(`
|
|
9
|
+
`);x=h.pop()??"";for(let T of h){let U=T.trim();if(!U||U==="data: [DONE]")continue;if(!U.startsWith("data: "))continue;let i;try{i=JSON.parse(U.slice(6))}catch{continue}let n=Z0(i.usage);for(let m of i.choices??[]){let b=m.delta;if(b.reasoning_content!=null&&b.reasoning_content!==""){if(!z)yield{type:"content_block_start",index:X,content_block:{type:"thinking",thinking:""}},z=!0;yield{type:"content_block_delta",index:X,delta:{type:"thinking_delta",thinking:b.reasoning_content}}}if(b.content!=null&&b.content!==""){if(z&&!V)yield{type:"content_block_stop",index:X},X++,V=!0;if(!J)yield{type:"content_block_start",index:X,content_block:{type:"text",text:""}},J=!0;let L=F.feed(b.content);if(L)H+=L.length,yield{type:"content_block_delta",index:X,delta:{type:"text_delta",text:L}};KQ(w,b.content)}if(b.tool_calls){for(let L of b.tool_calls)if(L.id&&L.function?.name){if(z&&!V)yield{type:"content_block_stop",index:X},X++,V=!0;if(J)yield*q();let P=X,c=L.function.arguments??"",G=TQ(L.function.name);if(KQ(w,L.function.arguments??""),W.set(L.index,{id:L.id,name:L.function.name,index:P,jsonBuffer:c,normalizeAtStop:G}),yield{type:"content_block_start",index:P,content_block:{type:"tool_use",id:L.id,name:L.function.name,input:{},...L.extra_content?{extra_content:L.extra_content}:{},...L.extra_content?.google?.thought_signature?{signature:L.extra_content.google.thought_signature}:{}}},X++,L.function.arguments&&!G)H+=L.function.arguments.length,yield{type:"content_block_delta",index:P,delta:{type:"input_json_delta",partial_json:L.function.arguments}}}else if(L.function?.arguments){let P=W.get(L.index);if(P){if(L.function.arguments)H+=L.function.arguments.length,P.jsonBuffer+=L.function.arguments;if(P.normalizeAtStop)continue;yield{type:"content_block_delta",index:P.index,delta:{type:"input_json_delta",partial_json:L.function.arguments}}}}}if(m.finish_reason&&!v){if(v=!0,z&&!V)yield{type:"content_block_stop",index:X},X++,V=!0;if(J)yield*q();for(let[,P]of W){if(P.normalizeAtStop){let G;if(m.finish_reason==="length")G=P.jsonBuffer;else{let u=$0(P.jsonBuffer);if(u)G=u;else G=JSON.stringify(_Q(P.name,P.jsonBuffer))}yield{type:"content_block_delta",index:P.index,delta:{type:"input_json_delta",partial_json:G}},yield{type:"content_block_stop",index:P.index};continue}let c="";if(P.jsonBuffer)try{JSON.parse(P.jsonBuffer)}catch{let G=P.jsonBuffer.trimEnd();for(let u of _Z)try{JSON.parse(G+u),c=u;break}catch{}}if(c)yield{type:"content_block_delta",index:P.index,delta:{type:"input_json_delta",partial_json:c}};yield{type:"content_block_stop",index:P.index}}let L=m.finish_reason==="tool_calls"?"tool_use":m.finish_reason==="length"?"max_tokens":"end_turn";if(m.finish_reason==="content_filter"||m.finish_reason==="safety"){if(!J)yield{type:"content_block_start",index:X,content_block:{type:"text",text:""}},J=!0;yield{type:"content_block_delta",index:X,delta:{type:"text_delta",text:`
|
|
10
|
+
|
|
11
|
+
[Content blocked by provider safety filter]`}}}if(_=L,yield{type:"message_delta",delta:{stop_reason:L,stop_sequence:null},...n?{usage:n}:{}},n)M=!0}}if(!M&&n&&(i.choices?.length??0)===0&&_!==null)yield{type:"message_delta",delta:{stop_reason:_,stop_sequence:null},usage:n},M=!0}}}finally{N.releaseLock()}let k=uQ(w);if(k.totalChunks>0)y(JSON.stringify({type:"stream_stats",model:Z,total_chunks:k.totalChunks,first_token_ms:k.firstTokenMs,duration_ms:k.durationMs}),{level:"debug"});if(!M&&_!==null&&(H>0||(D??0)>0)){let I=FZ(Z);yield{type:"message_delta",delta:{stop_reason:_,stop_sequence:null},usage:{input_tokens:D??0,output_tokens:Math.ceil(H/I),cache_creation_input_tokens:0,cache_read_input_tokens:0}}}yield{type:"message_stop"}}class zZ{defaultHeaders;reasoningEffort;constructor(Q,Z){this.defaultHeaders=XQ(Q),this.reasoningEffort=Z}create(Q,Z){let $=this,D,Y=(async()=>{let X=tQ({model:Q.model,reasoningEffortOverride:$.reasoningEffort}),W=await $._doRequest(X,Q,Z);if(D=W,Q.stream){let F=W.url?.includes("/responses"),_=0;for(let M of Q.messages){let v=M,H=v.message?v.message.content:v.content;if(H!=null&&typeof H!=="string"&&!Array.isArray(H))continue;_+=MQ(H)}if(typeof Q.system==="string")_+=jZ(Q.system);else if(Array.isArray(Q.system))_+=MQ(Q.system);return new KZ(X.transport==="codex_responses"||F?JZ(W,X.resolvedModel,Z?.signal):X0(W,X.resolvedModel,Z?.signal,_))}if(X.transport==="codex_responses"){let F=await WZ(W,Z?.signal);return NQ(F,X.resolvedModel)}if(W.url?.includes("/responses")||X.transport==="chat_completions"&&zQ()){if((W.headers.get("content-type")??"").includes("application/json")){let _=await W.json();if(_&&typeof _==="object"&&(("output"in _)||("incomplete_details"in _)))return NQ(_,X.resolvedModel);return $._convertNonStreamingResponse(_,X.resolvedModel)}}if((W.headers.get("content-type")??"").includes("application/json")){let F=await W.json();return $._convertNonStreamingResponse(F,X.resolvedModel)}let V=await W.text().catch(()=>"");throw e.generate(W.status,void 0,`OpenAI API error ${W.status}: unexpected response: ${V.slice(0,500)}`,W.headers)})();return Y.withResponse=async()=>{return{data:await Y,response:D??new Response,request_id:D?.headers.get("x-request-id")??wQ()}},Y}async _doRequest(Q,Z,$){let D=jQ(Q.baseUrl),Y=zQ();if(Y&&Q.transport==="codex_responses"){let W=l(),J=W?.extras?.githubToken??W?.apiKey??"";if(!J)throw Error("GitHub Copilot auth is required. Run /provider and choose GitHub Copilot.");return OQ({request:Q,credentials:{apiKey:J,source:"env"},params:Z,defaultHeaders:{...this.defaultHeaders,...XQ($?.headers),...cQ},signal:$?.signal})}if(Q.transport==="codex_responses"&&!Y){let W=await oQ().catch(async(z)=>{return y(`[codex] access token refresh failed before request: ${z instanceof Error?z.message:String(z)}`,{level:"warn"}),{refreshed:!1,credentials:await nQ()}}),J=sQ({storedCredentials:W.credentials});if(!J.apiKey){let z=t()?"":", choose Codex OAuth in /provider",V=J.authPath?`${z} or place a Codex auth.json at ${J.authPath}`:z,F=ZQ(Q.requestedModel,process.env)??"the requested model";throw Error(`Codex auth is required for ${F}. Set CODEX_API_KEY${V}.`)}if(!J.accountId)throw Error("Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth, the Codex CLI, or set CHATGPT_ACCOUNT_ID/CODEX_ACCOUNT_ID.");return OQ({request:Q,credentials:J,params:Z,defaultHeaders:{...this.defaultHeaders,...XQ($?.headers)},signal:$?.signal})}return this._doOpenAIRequest(Q,Z,$)}async _doOpenAIRequest(Q,Z,$){let D=$Z(Z.messages),Y=eZ(D,Z.system,{preserveReasoningContent:pQ(Q.baseUrl)||lQ(Q.baseUrl)}),X={model:Q.resolvedModel,messages:Y,stream:Z.stream??!1,store:!1},W=typeof Z.max_tokens==="number"&&Z.max_tokens>0?Z.max_tokens:void 0,J=typeof Z.max_completion_tokens==="number"?Z.max_completion_tokens:void 0;if(W!==void 0)X.max_completion_tokens=W;else if(J!==void 0)X.max_completion_tokens=J;if(Z.stream&&!LQ(Q.baseUrl))X.stream_options={include_usage:!0};let z=zQ(),V=iZ(),F=LQ(Q.baseUrl),_=jQ(Q.baseUrl),M=z&&_==="copilot",v=z&&(_==="models"||_==="custom"),H=pQ(Q.baseUrl),w=lQ(Q.baseUrl);if((z||V||F||H||w)&&X.max_completion_tokens!==void 0)X.max_tokens=X.max_completion_tokens,delete X.max_completion_tokens;if(V||JQ()||H||w)delete X.store;if(Z.temperature!==void 0)X.temperature=Z.temperature;if(Z.top_p!==void 0)X.top_p=Z.top_p;if(w){let K=Z.thinking?.type,j=K==="disabled"?"disabled":K==="enabled"||K==="adaptive"?"enabled":void 0;if(j)X.thinking={type:j};if(j==="enabled"){let C=Q.reasoning?.effort;if(C)X.reasoning_effort=oZ(C)}}if(Z.tools&&Z.tools.length>0){let K=Q0(Z.tools);if(K.length>0){if(X.tools=K,Z.tool_choice){let j=Z.tool_choice;if(j.type==="auto")X.tool_choice="auto";else if(j.type==="tool"&&j.name)X.tool_choice={type:"function",function:{name:j.name}};else if(j.type==="any")X.tool_choice="required";else if(j.type==="none")X.tool_choice="none"}}}let N={"Content-Type":"application/json",...this.defaultHeaders,...XQ($?.headers)},S=JQ(),x=l(),O=x?.apiKey??x?.extras?.githubToken??"",A=!1;try{let{hostname:K}=new URL(Q.baseUrl);A=K.endsWith(".azure.com")&&(K.includes("cognitiveservices")||K.includes("openai")||K.includes("services.ai"))}catch{}let d=!1;try{d=Q.baseUrl.toLowerCase().includes("bankr")}catch{}if(O)if(A)N["api-key"]=O;else if(d)N["X-API-Key"]=O;else N.Authorization=`Bearer ${O}`;else if(S){let K=await eQ(process.env);if(K.kind!=="none"){if(N.Authorization=`Bearer ${K.credential}`,K.kind!=="api-key"&&"projectId"in K&&K.projectId)N["x-goog-user-project"]=K.projectId}}if(M)Object.assign(N,cQ);else if(v)N.Accept="application/vnd.github+json",N["X-GitHub-Api-Version"]="2022-11-28";let q=(K)=>{if(A){let j=process.env.AZURE_OPENAI_API_VERSION??"2024-12-01-preview",C=Q.resolvedModel??x?.model??"gpt-4o";if(/\/deployments\//i.test(K))return`${K.replace(/\/+$/,"")}/chat/completions?api-version=${j}`;return`${K.replace(/\/(openai\/)?v1\/?$/,"").replace(/\/+$/,"")}/openai/deployments/${C}/chat/completions?api-version=${j}`}return`${K}/chat/completions`},k=F?aQ(Q.baseUrl):[],I=Q.baseUrl,f=q(I),h=new Set([I]),T=!1,U=(K)=>{for(let j of k){if(h.has(j))continue;let C=f;return h.add(j),I=j,f=q(I),y(`[OpenAIShim] self-heal retry reason=${K} method=POST from=${s(C)} to=${s(f)} model=${Q.resolvedModel}`,{level:"warn"}),!0}return!1},i=DQ(X),n=()=>{i=DQ(X)},m=()=>({method:"POST",headers:N,body:i,signal:$?.signal}),b=F?k.length+1:0,L=(z?kZ:1)+b,P=(K,j,C)=>{if($?.signal?.aborted)throw K;let B=C??GQ(K,{url:j}),a=s(j),o=ZQ(B.message,process.env)||"Request failed";throw y(`[OpenAIShim] transport failure category=${B.category} retryable=${B.retryable} code=${B.code??"unknown"} method=POST url=${a} model=${Q.resolvedModel} message=${o}`,{level:"warn"}),e.generate(503,void 0,PQ(`OpenAI API transport error: ${o}${B.code?` (code=${B.code})`:""}`,B),new Headers)},c=(K,j,C,B,a,o="",R)=>{let E=R??WQ({status:K,body:j}),p=s(a);throw y(`[OpenAIShim] request failed category=${E.category} retryable=${E.retryable} status=${K} method=POST url=${p} model=${Q.resolvedModel}`,{level:"warn"}),e.generate(K,C,PQ(`OpenAI API error ${K}: ${j}${o}`,E),B)},G,u=Q.baseUrl.includes("nvidia")?"nvidia-nim":Q.baseUrl.includes("minimax")?"minimax":Q.baseUrl.includes("localhost:11434")||Q.baseUrl.includes("localhost:11435")?"ollama":Q.baseUrl.includes("anthropic")?"anthropic":"openai",{correlationId:HZ,startTime:OZ}=gQ(u,Q.resolvedModel);for(let K=0;K<L;K++){try{G=await HQ(f,m(),{provider:u})}catch(R){if($?.signal?.aborted===!0||typeof DOMException<"u"&&R instanceof DOMException&&R.name==="AbortError"||typeof R==="object"&&R!==null&&"name"in R&&R.name==="AbortError")throw R;let p=GQ(R,{url:f});if(F&&p.category==="localhost_resolution_failed"&&U("localhost_resolution_failed"))continue;P(R,f,p)}if(G.ok){let R=0,E=0;if(!Z.stream)try{let g=await G.clone().json();R=g.usage?.prompt_tokens??0,E=g.usage?.completion_tokens??0}catch{}return kQ(HZ,OZ,Q.resolvedModel,"success",R,E,!1),G}if(z&&G.status===429&&K<L-1){await G.text().catch(()=>{});let R=Math.min(hZ*2**K,mZ);await tZ(R*1000);continue}let j=await G.text().catch(()=>"unknown error"),C=z&&G.status===429?aZ(G):"";if(z&&G.status===400){if(j.includes("/chat/completions")||j.includes("not accessible")){let R=`${Q.baseUrl}/responses`,E={model:Q.resolvedModel,input:YZ(Z.messages),stream:Z.stream??!1,store:!1};if(!Array.isArray(E.input)||E.input.length===0)E.input=[{type:"message",role:"user",content:[{type:"input_text",text:""}]}];let p=VZ(Z.system);if(p)E.instructions=p;if(X.max_tokens!==void 0)E.max_output_tokens=X.max_tokens;if(Z.tools&&Z.tools.length>0){let $Q=DZ(Z.tools);if($Q.length>0)E.tools=$Q}let g;try{g=await HQ(R,{method:"POST",headers:N,body:DQ(E),signal:$?.signal},{provider:u})}catch($Q){P($Q,R)}if(g.ok)return g;let VQ=await g.text().catch(()=>"unknown error"),NZ=WQ({status:g.status,body:VQ}),AQ;try{AQ=JSON.parse(VQ)}catch{}c(g.status,VQ,AQ,g.headers,R,"",NZ)}}let B=WQ({status:G.status,body:j});if(F&&B.category==="endpoint_not_found"&&U("endpoint_not_found"))continue;let a=Array.isArray(X.tools)&&X.tools.length>0;if(!T&&B.category==="tool_call_incompatible"&&rQ({baseUrl:I,hasTools:a})){T=!0,delete X.tools,delete X.tool_choice,n(),y(`[OpenAIShim] self-heal retry reason=tool_call_incompatible mode=toolless method=POST url=${s(f)} model=${Q.resolvedModel}`,{level:"warn"});continue}let o;try{o=JSON.parse(j)}catch{}c(G.status,j,o,G.headers,f,C,B)}throw e.generate(500,void 0,"OpenAI shim: request loop exited unexpectedly",new Headers)}_convertNonStreamingResponse(Q,Z){let $=Q.choices?.[0],D=[],Y=$?.message?.reasoning_content;if(typeof Y==="string"&&Y)D.push({type:"thinking",thinking:Y});let X=$?.message?.content!==""&&$?.message?.content!=null?$?.message?.content:null;if(typeof X==="string"&&X)D.push({type:"text",text:FQ(X)});else if(Array.isArray(X)&&X.length>0){let J=[];for(let V of X)if(V&&typeof V==="object"&&V.type==="text"&&typeof V.text==="string")J.push(V.text);let z=J.join(`
|
|
12
|
+
`);if(z)D.push({type:"text",text:FQ(z)})}if($?.message?.tool_calls)for(let J of $.message.tool_calls){let z=_Q(J.function.name,J.function.arguments);D.push({type:"tool_use",id:J.id,name:J.function.name,input:z,...J.extra_content?{extra_content:J.extra_content}:{},...J.extra_content?.google?.thought_signature?{signature:J.extra_content.google.thought_signature}:{}})}let W=$?.finish_reason==="tool_calls"?"tool_use":$?.finish_reason==="length"?"max_tokens":"end_turn";if($?.finish_reason==="content_filter"||$?.finish_reason==="safety")D.push({type:"text",text:`
|
|
13
|
+
|
|
14
|
+
[Content blocked by provider safety filter]`});return{id:Q.id??wQ(),type:"message",role:"assistant",content:D,model:Q.model??Z,stop_reason:W,stop_sequence:null,usage:RQ(Q.usage)}}}class LZ{messages;reasoningEffort;constructor(Q,Z){this.messages=new zZ(Q,Z),this.reasoningEffort=Z}}function k0(Q){UQ(),QZ();let Z=new LZ({...Q.defaultHeaders??{}},Q.reasoningEffort);return{beta:Z,messages:Z.messages}}var kZ=3,hZ=1,mZ=32,uZ="generativelanguage.googleapis.com",dZ,cZ="api.kimi.com",pZ,cQ,lZ,_Z,KZ;var Y0=r(()=>{vZ();IZ();yQ();xQ();EQ();BQ();EZ();BZ();bZ();IQ();fZ();CZ();qZ();SZ();yZ();TZ();gZ();bQ();hQ();dQ();UZ();D0();dZ=new Set(["api.moonshot.ai","api.moonshot.cn"]),pZ=new Set(["api.deepseek.com"]),cQ={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},lZ=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"];_Z=["}",'"}',"]}",'"]}',"}}",'"}}',"]}}",'"]}}','"]}]}',"}]}"];KZ=class KZ{generator;controller=new AbortController;constructor(Q){this.generator=Q}async*[Symbol.asyncIterator](){yield*this.generator}}});Y0();export{k0 as createOpenAIShimClient,Q0 as convertTools};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Kna as t}from"./cli-0.1.10-hyxg32sc.mjs";async function o(e){e("/output-style has been deprecated. Use /config to change your output style, or set it in your settings file. Changes take effect on the next session.",{display:"system"})}var n=()=>{};n();export{o as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{uh as e,vh as a}from"./cli-0.1.10-p5wpvhbv.mjs";import{Kna as r}from"./cli-0.1.10-hyxg32sc.mjs";var t;var o=r(()=>{a();t=e()});o();export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{NZ as a,OZ as b,PZ as c,QZ as d,RZ as e,SZ as f}from"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-f2jh6yv0.mjs";import"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import"./cli-0.1.10-hyxg32sc.mjs";f();export{d as parseCommandRaw,b as parseCommand,e as extractCommandArguments,a as ensureInitialized,c as PARSE_ABORTED};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{MR as c,OR as m,QR as j,RR as b,TR as p}from"./cli-0.1.10-t8rnwwhq.mjs";import{WR as f,XR as Nq}from"./cli-0.1.10-wajz23ff.mjs";import{OS as S,QS as Mq,YS as K,ZS as Qq}from"./cli-0.1.10-xzz1tdne.mjs";import{KU as J,MU as z,QU as v,_T as R,dU as Hq,eV as y,pV as Jq}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import{kX as O}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as Bq}from"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-227xyew7.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{D7 as e,L_ as zq,Oba as Uq,m9 as F,o9 as qq,sba as g,vba as V,w_ as P,y7 as h}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import{Yfa as _,Zfa as L}from"./cli-0.1.10-f2jh6yv0.mjs";import"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as Y,Kna as k}from"./cli-0.1.10-hyxg32sc.mjs";function u({onDone:Q}){let[w,N]=M.useState(!0),[Z,$]=M.useState([]),[x,T]=M.useState(!1),[W,o]=M.useState(null),[A,l]=M.useState(void 0),U=f(()=>Q("Guest passes dialog dismissed",{display:"system"})),D=M.useCallback(()=>{Q("Guest passes dialog dismissed",{display:"system"})},[Q]);if(S("confirm:no",D,{context:"Confirmation"}),y((H,B)=>{if(B.return&&W)R(W).then((G)=>{if(G)process.stdout.write(G);_("tengu_guest_passes_link_copied",{}),Q("Referral link copied to clipboard!")})}),M.useEffect(()=>{async function H(){try{let B=await b();if(!B||!B.eligible){T(!1),N(!1);return}if(T(!0),B.referral_code_details?.referral_link)o(B.referral_code_details.referral_link);l(B.referrer_reward);let G=B.referral_code_details?.campaign??"claude_code_guest_pass",I;try{I=await c(G)}catch(X){h(X),T(!1),N(!1);return}let t=I.redemptions||[],a=I.limit||3,C=[];for(let X=0;X<a;X++){let s=t[X];C.push({passNumber:X+1,isAvailable:!s})}$(C),N(!1)}catch(B){h(B),T(!1),N(!1)}}H()},[]),w)return q.jsxDEV(K,{children:q.jsxDEV(J,{flexDirection:"column",gap:1,children:[q.jsxDEV(z,{dimColor:!0,children:"Loading guest pass information…"},void 0,!1,void 0,this),q.jsxDEV(z,{dimColor:!0,italic:!0,children:U.pending?q.jsxDEV(q.Fragment,{children:["Press ",U.keyName," again to exit"]},void 0,!0,void 0,this):q.jsxDEV(q.Fragment,{children:"Esc to cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this);if(!x)return q.jsxDEV(K,{children:q.jsxDEV(J,{flexDirection:"column",gap:1,children:[q.jsxDEV(z,{children:"Guest passes are not currently available."},void 0,!1,void 0,this),q.jsxDEV(z,{dimColor:!0,italic:!0,children:U.pending?q.jsxDEV(q.Fragment,{children:["Press ",U.keyName," again to exit"]},void 0,!0,void 0,this):q.jsxDEV(q.Fragment,{children:"Esc to cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this);let n=F(Z,(H)=>H.isAvailable),r=[...Z].sort((H,B)=>+B.isAvailable-+H.isAvailable),i=(H)=>{if(!H.isAvailable)return q.jsxDEV(J,{flexDirection:"column",marginRight:1,children:[q.jsxDEV(z,{dimColor:!0,children:"┌─────────╱"},void 0,!1,void 0,this),q.jsxDEV(z,{dimColor:!0,children:` ) CC ${P} ┊╱`},void 0,!1,void 0,this),q.jsxDEV(z,{dimColor:!0,children:"└───────╱"},void 0,!1,void 0,this)]},H.passNumber,!0,void 0,this);return q.jsxDEV(J,{flexDirection:"column",marginRight:1,children:[q.jsxDEV(z,{children:"┌──────────┐"},void 0,!1,void 0,this),q.jsxDEV(z,{children:[" ) CC ",q.jsxDEV(z,{color:"claude",children:P},void 0,!1,void 0,this)," ┊ ( "]},void 0,!0,void 0,this),q.jsxDEV(z,{children:"└──────────┘"},void 0,!1,void 0,this)]},H.passNumber,!0,void 0,this)};return q.jsxDEV(K,{children:q.jsxDEV(J,{flexDirection:"column",gap:1,children:[q.jsxDEV(z,{color:"permission",children:["Guest passes · ",n," left"]},void 0,!0,void 0,this),q.jsxDEV(J,{flexDirection:"row",marginLeft:2,children:r.slice(0,3).map((H)=>i(H))},void 0,!1,void 0,this),W&&q.jsxDEV(J,{marginLeft:2,children:q.jsxDEV(z,{children:W},void 0,!1,void 0,this)},void 0,!1,void 0,this),q.jsxDEV(J,{flexDirection:"column",marginLeft:2,children:q.jsxDEV(z,{dimColor:!0,children:[A?`Share a free week of Claude Code with friends. If they love it and subscribe, you'll get ${m(A)} of extra usage to keep building. `:"Share a free week of Claude Code with friends. ",q.jsxDEV(v,{url:A?"https://support.claude.com/en/articles/13456702-claude-code-guest-passes":"https://support.claude.com/en/articles/12875061-claude-code-guest-passes",children:"Terms apply."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),q.jsxDEV(J,{children:q.jsxDEV(z,{dimColor:!0,italic:!0,children:U.pending?q.jsxDEV(q.Fragment,{children:["Press ",U.keyName," again to exit"]},void 0,!0,void 0,this):q.jsxDEV(q.Fragment,{children:"Enter to copy link · Esc to cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var M,q;var d=k(()=>{zq();Nq();Hq();Jq();Mq();L();p();qq();e();Qq();M=Y(Bq(),1),q=Y(O(),1)});async function kq(Q){let N=!V().hasVisitedPasses;if(N){let Z=j();g(($)=>({...$,hasVisitedPasses:!0,passesLastSeenRemaining:Z??$.passesLastSeenRemaining}))}return _("tengu_guest_passes_visited",{is_first_visit:N}),E.jsxDEV(u,{onDone:Q},void 0,!1,void 0,this)}var E;var Xq=k(()=>{d();L();p();Uq();E=Y(O(),1)});Xq();export{kq as call};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{$c as oJ,_c as YJ}from"./cli-0.1.10-seekz53q.mjs";import{Re as SJ,Se as DX}from"./cli-0.1.10-sre7cbsg.mjs";import{Kf as AX,Lf as XY,Mf as BX,Nf as YY}from"./cli-0.1.10-hpg8gdm2.mjs";import{Of as HX,Pf as BG,Qf as KX,Rf as HG,Sf as gJ}from"./cli-0.1.10-1faf50d6.mjs";import{Tf as rJ,Uf as uX}from"./cli-0.1.10-t0v9d184.mjs";import{$f as MX,ag as JY}from"./cli-0.1.10-z7ghb8z7.mjs";import"./cli-0.1.10-jy0nmcmp.mjs";import"./cli-0.1.10-kp2t4r8z.mjs";import"./cli-0.1.10-ejtn8grm.mjs";import{Ek as fJ,FH as FX,Fk as mX,Jo as MG,KJ as OX,LJ as IX,Mo as GJ,NJ as GY,Oo as FJ,PB as dJ,PH as OY,QB as cX,fJ as kX,gJ as qX,hJ as QX,iJ as wX,jv as n,kJ as WX,kv as jG,lJ as eX,wD as tG,xD as CJ,xK as uJ,yK as dX}from"./cli-0.1.10-y9mkzh11.mjs";import"./cli-0.1.10-rr3xpxx1.mjs";import"./cli-0.1.10-xjpjs3y5.mjs";import"./cli-0.1.10-7d7j1qyf.mjs";import{FP as JJ,GP as RJ}from"./cli-0.1.10-gdqbhzyr.mjs";import"./cli-0.1.10-fay16q4v.mjs";import"./cli-0.1.10-z4a84y0c.mjs";import"./cli-0.1.10-y3q22zvb.mjs";import"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-x1qs5ctr.mjs";import"./cli-0.1.10-fhvyzg2m.mjs";import"./cli-0.1.10-72ece2yk.mjs";import"./cli-0.1.10-qf6ps98q.mjs";import"./cli-0.1.10-t8rnwwhq.mjs";import{WR as CG,XR as cJ}from"./cli-0.1.10-wajz23ff.mjs";import"./cli-0.1.10-nfnje7ew.mjs";import"./cli-0.1.10-be8dvtg8.mjs";import"./cli-0.1.10-rvb440sp.mjs";import{AS as pJ,BS as xX,OS as EG,QS as xJ,YS as UX,ZS as tX}from"./cli-0.1.10-xzz1tdne.mjs";import{KU as y,MU as K,UU as hJ,_S as YG,eV as aJ,mU as LX,pV as ZG}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import"./cli-0.1.10-3q43p3wr.mjs";import"./cli-0.1.10-gccb3gw8.mjs";import"./cli-0.1.10-er8zk2kj.mjs";import"./cli-0.1.10-zeqsd250.mjs";import"./cli-0.1.10-z3f97n2d.mjs";import"./cli-0.1.10-b59j6twr.mjs";import{kX as c}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as XJ}from"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import"./cli-0.1.10-227xyew7.mjs";import"./cli-0.1.10-bqsa7eam.mjs";import"./cli-0.1.10-acy8ec7t.mjs";import"./cli-0.1.10-hbk3dhq8.mjs";import"./cli-0.1.10-w8np72sh.mjs";import"./cli-0.1.10-t1zd86kd.mjs";import"./cli-0.1.10-jjdvb4je.mjs";import"./cli-0.1.10-dx92txwb.mjs";import"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import{x5 as t,y5 as sX}from"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{E7 as zG,F7 as TJ,Jaa as VX,M$ as DJ,N$ as i,O$ as PJ,R$ as yJ,Z$ as _X,c_ as AJ,d_ as SX,uaa as BJ}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import"./cli-0.1.10-f2jh6yv0.mjs";import{Ega as vG,Iga as $X}from"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import{$ia as XX,Oma as aX}from"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as S,Kna as JG}from"./cli-0.1.10-hyxg32sc.mjs";function eG(U){let G=vJ.c(9),{ruleValue:X}=U;switch(X.toolName){case tG.name:if(X.ruleContent)if(X.ruleContent.endsWith(":*")){let z;if(G[0]!==X.ruleContent)z=X.ruleContent.slice(0,-2),G[0]=X.ruleContent,G[1]=z;else z=G[1];let J;if(G[2]!==z)J=GG.jsxDEV(K,{dimColor:!0,children:["Any Bash command starting with"," ",GG.jsxDEV(K,{bold:!0,children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G[2]=z,G[3]=J;else J=G[3];return J}else{let z;if(G[4]!==X.ruleContent)z=GG.jsxDEV(K,{dimColor:!0,children:["The Bash command ",GG.jsxDEV(K,{bold:!0,children:X.ruleContent},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G[4]=X.ruleContent,G[5]=z;else z=G[5];return z}else{let z;if(G[6]===Symbol.for("react.memo_cache_sentinel"))z=GG.jsxDEV(K,{dimColor:!0,children:"Any Bash command"},void 0,!1,void 0,this),G[6]=z;else z=G[6];return z}default:if(!X.ruleContent){let z;if(G[7]!==X.toolName)z=GG.jsxDEV(K,{dimColor:!0,children:["Any use of the ",GG.jsxDEV(K,{bold:!0,children:X.toolName},void 0,!1,void 0,this)," tool"]},void 0,!0,void 0,this),G[7]=X.toolName,G[8]=z;else z=G[8];return z}else return null}}var vJ,GG;var KJ=JG(()=>{ZG();CJ();vJ=S(YG(),1),GG=S(c(),1)});function hX(U){switch(U){case"localSettings":return{label:"Project settings (local)",description:`Saved in ${BJ("localSettings")}`,value:U};case"projectSettings":return{label:"Project settings",description:`Checked in at ${BJ("projectSettings")}`,value:U};case"userSettings":return{label:"User settings",description:"Saved in ~/.claudio/settings.json",value:U}}}function VJ(U){let G=_J.c(26),{onAddRules:X,onCancel:z,ruleValues:J,ruleBehavior:q,initialContext:f,setToolPermissionContext:Q}=U,O;if(G[0]===Symbol.for("react.memo_cache_sentinel"))O=AJ.map(hX),G[0]=O;else O=G[0];let k=O,W;if(G[1]!==f||G[2]!==X||G[3]!==z||G[4]!==q||G[5]!==J||G[6]!==Q)W=(E)=>{if(E==="cancel"){z();return}else if(AJ.includes(E)){let B=E,j=MG(f,{type:"addRules",rules:J,behavior:q,destination:B});GJ({type:"addRules",rules:J,behavior:q,destination:B}),Q(j);let C=J.map((m)=>({ruleValue:m,ruleBehavior:q,source:B})),V=fJ.isSandboxingEnabled()&&fJ.isAutoAllowBashIfSandboxedEnabled(),l=SJ(j,{sandboxAutoAllowEnabled:V}).filter((m)=>J.some((_)=>_.toolName===m.rule.ruleValue.toolName&&_.ruleContent===m.rule.ruleValue.ruleContent));X(C,l.length>0?l:void 0)}},G[1]=f,G[2]=X,G[3]=z,G[4]=q,G[5]=J,G[6]=Q,G[7]=W;else W=G[7];let Z=W,N;if(G[8]!==J.length)N=yJ(J.length,"rule"),G[8]=J.length,G[9]=N;else N=G[9];let M=`Add ${q} permission ${N}`,H;if(G[10]!==J)H=J.map(pX),G[10]=J,G[11]=H;else H=G[11];let I;if(G[12]!==H)I=$.jsxDEV(y,{flexDirection:"column",paddingX:2,children:H},void 0,!1,void 0,this),G[12]=H,G[13]=I;else I=G[13];let A=J.length===1?"Where should this rule be saved?":"Where should these rules be saved?",T;if(G[14]!==A)T=$.jsxDEV(K,{children:A},void 0,!1,void 0,this),G[14]=A,G[15]=T;else T=G[15];let w;if(G[16]!==Z)w=$.jsxDEV(n,{options:k,onChange:Z},void 0,!1,void 0,this),G[16]=Z,G[17]=w;else w=G[17];let P;if(G[18]!==T||G[19]!==w)P=$.jsxDEV(y,{flexDirection:"column",marginY:1,children:[T,w]},void 0,!0,void 0,this),G[18]=T,G[19]=w,G[20]=P;else P=G[20];let g;if(G[21]!==z||G[22]!==I||G[23]!==P||G[24]!==M)g=$.jsxDEV(JJ,{title:M,onCancel:z,color:"permission",children:[I,P]},void 0,!0,void 0,this),G[21]=z,G[22]=I,G[23]=P,G[24]=M,G[25]=g;else g=G[25];return g}function pX(U){return $.jsxDEV(y,{flexDirection:"column",children:[$.jsxDEV(K,{bold:!0,children:i(U)},void 0,!1,void 0,this),$.jsxDEV(eG,{ruleValue:U},void 0,!1,void 0,this)]},i(U),!0,void 0,this)}var _J,$;var mJ=JG(()=>{jG();ZG();FJ();PJ();DX();mX();SX();VX();_X();RJ();KJ();_J=S(YG(),1),$=S(c(),1)});function nJ(U){let G=iJ.c(24),{onCancel:X,onSubmit:z,ruleBehavior:J}=U,[q,f]=bJ.useState(""),[Q,O]=bJ.useState(0),k=CG(),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W={context:"Settings"},G[0]=W;else W=G[0];EG("confirm:no",X,W);let{columns:Z}=pJ(),N=Z-6,M;if(G[1]!==z||G[2]!==J)M=(C)=>{let V=C.trim();if(V.length===0)return;let x=DJ(V);z(x,J)},G[1]=z,G[2]=J,G[3]=M;else M=G[3];let H=M,I;if(G[4]!==J)I=p.jsxDEV(K,{bold:!0,color:"permission",children:["Add ",J," permission rule"]},void 0,!0,void 0,this),G[4]=J,G[5]=I;else I=G[5];let A;if(G[6]===Symbol.for("react.memo_cache_sentinel"))A=p.jsxDEV(hJ,{},void 0,!1,void 0,this),G[6]=A;else A=G[6];let T,w;if(G[7]===Symbol.for("react.memo_cache_sentinel"))T=p.jsxDEV(K,{bold:!0,children:i({toolName:dJ.name})},void 0,!1,void 0,this),w=p.jsxDEV(K,{bold:!1,children:" or "},void 0,!1,void 0,this),G[7]=T,G[8]=w;else T=G[7],w=G[8];let P;if(G[9]===Symbol.for("react.memo_cache_sentinel"))P=p.jsxDEV(K,{children:["Permission rules are a tool name, optionally followed by a specifier in parentheses.",A,"e.g.,"," ",T,w,p.jsxDEV(K,{bold:!0,children:i({toolName:tG.name,ruleContent:"ls:*"})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G[9]=P;else P=G[9];let g;if(G[10]!==Q||G[11]!==H||G[12]!==q||G[13]!==N)g=p.jsxDEV(y,{flexDirection:"column",children:[P,p.jsxDEV(y,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:p.jsxDEV(uJ,{showCursor:!0,value:q,onChange:f,onSubmit:H,placeholder:`Enter permission rule${zG.ellipsis}`,columns:N,cursorOffset:Q,onChangeCursorOffset:O},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G[10]=Q,G[11]=H,G[12]=q,G[13]=N,G[14]=g;else g=G[14];let E;if(G[15]!==I||G[16]!==g)E=p.jsxDEV(y,{flexDirection:"column",gap:1,borderStyle:"round",paddingLeft:1,paddingRight:1,borderColor:"permission",children:[I,g]},void 0,!0,void 0,this),G[15]=I,G[16]=g,G[17]=E;else E=G[17];let B;if(G[18]!==k.keyName||G[19]!==k.pending)B=p.jsxDEV(y,{marginLeft:3,children:k.pending?p.jsxDEV(K,{dimColor:!0,children:["Press ",k.keyName," again to exit"]},void 0,!0,void 0,this):p.jsxDEV(K,{dimColor:!0,children:"Enter to submit · Esc to cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[18]=k.keyName,G[19]=k.pending,G[20]=B;else B=G[20];let j;if(G[21]!==B||G[22]!==E)j=p.jsxDEV(p.Fragment,{children:[E,B]},void 0,!0,void 0,this),G[21]=B,G[22]=E,G[23]=j;else j=G[23];return j}var iJ,bJ,p;var lJ=JG(()=>{TJ();dX();cJ();xX();ZG();xJ();CJ();cX();PJ();iJ=S(YG(),1),bJ=S(XJ(),1),p=S(c(),1)});function sJ(U){let G=$J.c(30),{onHeaderFocusChange:X,onStateChange:z}=U,{headerFocused:J,focusHeader:q}=HG(),f,Q;if(G[0]!==J||G[1]!==X)f=()=>{X?.(J)},Q=[J,X],G[0]=J,G[1]=X,G[2]=f,G[3]=Q;else f=G[2],Q=G[3];XG.useEffect(f,Q);let[O]=XG.useState(lX),[k,W]=XG.useState(nX),[Z,N]=XG.useState(iX),[M,H]=XG.useState(0),I,A;if(G[4]!==k||G[5]!==O||G[6]!==z||G[7]!==Z)I=()=>{z({approved:k,retry:Z,denials:O})},A=[k,Z,O,z],G[4]=k,G[5]=O,G[6]=z,G[7]=Z,G[8]=I,G[9]=A;else I=G[8],A=G[9];XG.useEffect(I,A);let T;if(G[10]===Symbol.for("react.memo_cache_sentinel"))T=(_)=>{let D=Number(_);W((d)=>{let h=new Set(d);if(h.has(D))h.delete(D);else h.add(D);return h})},G[10]=T;else T=G[10];let w=T,P;if(G[11]===Symbol.for("react.memo_cache_sentinel"))P=(_)=>{H(Number(_))},G[11]=P;else P=G[11];let g=P,E;if(G[12]!==M)E=(_,D)=>{if(_==="r")N((d)=>{let h=new Set(d);if(h.has(M))h.delete(M);else h.add(M);return h}),W((d)=>{if(d.has(M))return d;let h=new Set(d);return h.add(M),h})},G[12]=M,G[13]=E;else E=G[13];let B=O.length>0,j;if(G[14]!==B)j={isActive:B},G[14]=B,G[15]=j;else j=G[15];if(aJ(E,j),O.length===0){let _;if(G[16]===Symbol.for("react.memo_cache_sentinel"))_=s.jsxDEV(K,{dimColor:!0,children:"No recent denials. Commands denied by the auto mode classifier will appear here."},void 0,!1,void 0,this),G[16]=_;else _=G[16];return _}let C;if(G[17]!==k||G[18]!==O||G[19]!==Z){let _;if(G[21]!==k||G[22]!==Z)_=(D,d)=>{let h=k.has(d),ZJ=Z.has(d)?" (retry)":"";return{label:s.jsxDEV(K,{children:[s.jsxDEV(rJ,{status:h?"success":"error",withSpace:!0},void 0,!1,void 0,this),D.display,s.jsxDEV(K,{dimColor:!0,children:ZJ},void 0,!1,void 0,this)]},void 0,!0,void 0,this),value:String(d)}},G[21]=k,G[22]=Z,G[23]=_;else _=G[23];C=O.map(_),G[17]=k,G[18]=O,G[19]=Z,G[20]=C}else C=G[20];let V=C,x;if(G[24]===Symbol.for("react.memo_cache_sentinel"))x=s.jsxDEV(K,{children:"Commands recently denied by the auto mode classifier."},void 0,!1,void 0,this),G[24]=x;else x=G[24];let l=Math.min(10,V.length),m;if(G[25]!==q||G[26]!==J||G[27]!==V||G[28]!==l)m=s.jsxDEV(y,{flexDirection:"column",children:[x,s.jsxDEV(y,{marginTop:1,children:s.jsxDEV(n,{options:V,onChange:w,onFocus:g,visibleOptionCount:l,isDisabled:J,onUpFromFirstItem:q},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G[25]=q,G[26]=J,G[27]=V,G[28]=l,G[29]=m;else m=G[29];return m}function iX(){return new Set}function nX(){return new Set}function lX(){return YJ()}var $J,XG,s;var tJ=JG(()=>{ZG();oJ();jG();uX();gJ();$J=S(YG(),1),XG=S(XJ(),1),s=S(c(),1)});function GX(U){let G=eJ.c(19),{directoryPath:X,onRemove:z,onCancel:J,permissionContext:q,setPermissionContext:f}=U,Q;if(G[0]!==X||G[1]!==z||G[2]!==q||G[3]!==f)Q=()=>{let A=MG(q,{type:"removeDirectories",directories:[X],destination:"session"});f(A),z()},G[0]=X,G[1]=z,G[2]=q,G[3]=f,G[4]=Q;else Q=G[4];let O=Q,k;if(G[5]!==O||G[6]!==J)k=(A)=>{if(A==="yes")O();else J()},G[5]=O,G[6]=J,G[7]=k;else k=G[7];let W=k,Z;if(G[8]!==X)Z=KG.jsxDEV(y,{marginX:2,flexDirection:"column",children:KG.jsxDEV(K,{bold:!0,children:X},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[8]=X,G[9]=Z;else Z=G[9];let N;if(G[10]===Symbol.for("react.memo_cache_sentinel"))N=KG.jsxDEV(K,{children:"Claude Code will no longer have access to files in this directory."},void 0,!1,void 0,this),G[10]=N;else N=G[10];let M;if(G[11]===Symbol.for("react.memo_cache_sentinel"))M=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],G[11]=M;else M=G[11];let H;if(G[12]!==W||G[13]!==J)H=KG.jsxDEV(n,{onChange:W,onCancel:J,options:M},void 0,!1,void 0,this),G[12]=W,G[13]=J,G[14]=H;else H=G[14];let I;if(G[15]!==J||G[16]!==Z||G[17]!==H)I=KG.jsxDEV(JJ,{title:"Remove directory from workspace?",onCancel:J,color:"error",children:[Z,N,H]},void 0,!0,void 0,this),G[15]=J,G[16]=Z,G[17]=H,G[18]=I;else I=G[18];return I}var eJ,KG;var JX=JG(()=>{jG();ZG();FJ();RJ();eJ=S(YG(),1),KG=S(c(),1)});function zX(U){let G=YX.c(23),{onExit:X,toolPermissionContext:z,onRequestAddDirectory:J,onRequestRemoveDirectory:q,onHeaderFocusChange:f}=U,{headerFocused:Q,focusHeader:O}=HG(),k,W;if(G[0]!==Q||G[1]!==f)k=()=>{f?.(Q)},W=[Q,f],G[0]=Q,G[1]=f,G[2]=k,G[3]=W;else k=G[2],W=G[3];ZX.useEffect(k,W);let Z;if(G[4]!==z.additionalWorkingDirectories)Z=Array.from(z.additionalWorkingDirectories.keys()).map(oX),G[4]=z.additionalWorkingDirectories,G[5]=Z;else Z=G[5];let N=Z,M;if(G[6]!==N||G[7]!==J||G[8]!==q)M=(B)=>{if(B==="add-directory"){J();return}let j=N.find((C)=>C.path===B);if(j&&j.isDeletable)q(j.path)},G[6]=N,G[7]=J,G[8]=q,G[9]=M;else M=G[9];let H=M,I;if(G[10]!==X)I=()=>X("Workspace dialog dismissed",{display:"system"}),G[10]=X,G[11]=I;else I=G[11];let A=I,T;if(G[12]!==N){T=N.map(rX);let B;if(G[14]===Symbol.for("react.memo_cache_sentinel"))B={label:`Add directory${zG.ellipsis}`,value:"add-directory"},G[14]=B;else B=G[14];T.push(B),G[12]=N,G[13]=T}else T=G[13];let w=T,P;if(G[15]===Symbol.for("react.memo_cache_sentinel"))P=AG.jsxDEV(y,{flexDirection:"row",marginTop:1,marginLeft:2,gap:1,children:[AG.jsxDEV(K,{children:`- ${XX()}`},void 0,!1,void 0,this),AG.jsxDEV(K,{dimColor:!0,children:"(Original working directory)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G[15]=P;else P=G[15];let g=Math.min(10,w.length),E;if(G[16]!==O||G[17]!==A||G[18]!==H||G[19]!==Q||G[20]!==w||G[21]!==g)E=AG.jsxDEV(y,{flexDirection:"column",marginBottom:1,children:[P,AG.jsxDEV(n,{options:w,onChange:H,onCancel:A,visibleOptionCount:g,onUpFromFirstItem:O,isDisabled:Q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G[16]=O,G[17]=A,G[18]=H,G[19]=Q,G[20]=w,G[21]=g,G[22]=E;else E=G[22];return E}function rX(U){return{label:U.path,value:U.path}}function oX(U){return{path:U,isCurrent:!1,isDeletable:!0}}var YX,ZX,AG;var NX=JG(()=>{TJ();aX();jG();ZG();gJ();YX=S(YG(),1),ZX=S(XJ(),1),AG=S(c(),1)});function ZY(U){let G=fG.c(4),{rule:X}=U,z;if(G[0]!==X.source)z=kX(X.source),G[0]=X.source,G[1]=z;else z=G[1];let J=`From ${z}`,q;if(G[2]!==J)q=L.jsxDEV(K,{dimColor:!0,children:J},void 0,!1,void 0,this),G[2]=J,G[3]=q;else q=G[3];return q}function zY(U){switch(U){case"allow":return"allowed";case"deny":return"denied";case"ask":return"ask"}}function NY(U){let G=fG.c(42),{rule:X,onDelete:z,onCancel:J}=U,q=CG(),f;if(G[0]===Symbol.for("react.memo_cache_sentinel"))f={context:"Confirmation"},G[0]=f;else f=G[0];EG("confirm:no",J,f);let Q;if(G[1]!==X.ruleValue)Q=i(X.ruleValue),G[1]=X.ruleValue,G[2]=Q;else Q=G[2];let O;if(G[3]!==Q)O=L.jsxDEV(K,{bold:!0,children:Q},void 0,!1,void 0,this),G[3]=Q,G[4]=O;else O=G[4];let k;if(G[5]!==X.ruleValue)k=L.jsxDEV(eG,{ruleValue:X.ruleValue},void 0,!1,void 0,this),G[5]=X.ruleValue,G[6]=k;else k=G[6];let W;if(G[7]!==X)W=L.jsxDEV(ZY,{rule:X},void 0,!1,void 0,this),G[7]=X,G[8]=W;else W=G[8];let Z;if(G[9]!==O||G[10]!==k||G[11]!==W)Z=L.jsxDEV(y,{flexDirection:"column",marginX:2,children:[O,k,W]},void 0,!0,void 0,this),G[9]=O,G[10]=k,G[11]=W,G[12]=Z;else Z=G[12];let N=Z,M;if(G[13]!==q.keyName||G[14]!==q.pending)M=L.jsxDEV(y,{marginLeft:3,children:q.pending?L.jsxDEV(K,{dimColor:!0,children:["Press ",q.keyName," again to exit"]},void 0,!0,void 0,this):L.jsxDEV(K,{dimColor:!0,children:"Esc to cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[13]=q.keyName,G[14]=q.pending,G[15]=M;else M=G[15];let H=M;if(X.source==="policySettings"){let j;if(G[16]===Symbol.for("react.memo_cache_sentinel"))j=L.jsxDEV(K,{bold:!0,color:"permission",children:"Rule details"},void 0,!1,void 0,this),G[16]=j;else j=G[16];let C;if(G[17]===Symbol.for("react.memo_cache_sentinel"))C=L.jsxDEV(K,{italic:!0,children:["This rule is configured by managed settings and cannot be modified.",`
|
|
2
|
+
`,"Contact your system administrator for more information."]},void 0,!0,void 0,this),G[17]=C;else C=G[17];let V;if(G[18]!==N)V=L.jsxDEV(y,{flexDirection:"column",gap:1,borderStyle:"round",paddingLeft:1,paddingRight:1,borderColor:"permission",children:[j,N,C]},void 0,!0,void 0,this),G[18]=N,G[19]=V;else V=G[19];let x;if(G[20]!==H||G[21]!==V)x=L.jsxDEV(L.Fragment,{children:[V,H]},void 0,!0,void 0,this),G[20]=H,G[21]=V,G[22]=x;else x=G[22];return x}let I;if(G[23]!==X.ruleBehavior)I=zY(X.ruleBehavior),G[23]=X.ruleBehavior,G[24]=I;else I=G[24];let A;if(G[25]!==I)A=L.jsxDEV(K,{bold:!0,color:"error",children:["Delete ",I," tool?"]},void 0,!0,void 0,this),G[25]=I,G[26]=A;else A=G[26];let T;if(G[27]===Symbol.for("react.memo_cache_sentinel"))T=L.jsxDEV(K,{children:"Are you sure you want to delete this permission rule?"},void 0,!1,void 0,this),G[27]=T;else T=G[27];let w;if(G[28]!==J||G[29]!==z)w=(j)=>j==="yes"?z():J(),G[28]=J,G[29]=z,G[30]=w;else w=G[30];let P;if(G[31]===Symbol.for("react.memo_cache_sentinel"))P=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],G[31]=P;else P=G[31];let g;if(G[32]!==J||G[33]!==w)g=L.jsxDEV(n,{onChange:w,onCancel:J,options:P},void 0,!1,void 0,this),G[32]=J,G[33]=w,G[34]=g;else g=G[34];let E;if(G[35]!==N||G[36]!==g||G[37]!==A)E=L.jsxDEV(y,{flexDirection:"column",gap:1,borderStyle:"round",paddingLeft:1,paddingRight:1,borderColor:"error",children:[A,N,T,g]},void 0,!0,void 0,this),G[35]=N,G[36]=g,G[37]=A,G[38]=E;else E=G[38];let B;if(G[39]!==H||G[40]!==E)B=L.jsxDEV(L.Fragment,{children:[E,H]},void 0,!0,void 0,this),G[39]=H,G[40]=E,G[41]=B;else B=G[41];return B}function LY(U){let G=fG.c(26),{options:X,searchQuery:z,isSearchMode:J,isFocused:q,onSelect:f,onCancel:Q,lastFocusedRuleKey:O,cursorOffset:k,onHeaderFocusChange:W}=U,Z=KX(),{headerFocused:N,focusHeader:M,blurHeader:H}=HG(),I,A;if(G[0]!==H||G[1]!==N||G[2]!==J)I=()=>{if(J&&N)H()},A=[J,N,H],G[0]=H,G[1]=N,G[2]=J,G[3]=I,G[4]=A;else I=G[3],A=G[4];u.useEffect(I,A);let T,w;if(G[5]!==N||G[6]!==W)T=()=>{W?.(N)},w=[N,W],G[5]=N,G[6]=W,G[7]=T,G[8]=w;else T=G[7],w=G[8];u.useEffect(T,w);let P=J&&!N,g;if(G[9]!==k||G[10]!==q||G[11]!==z||G[12]!==P||G[13]!==Z)g=L.jsxDEV(y,{marginBottom:1,flexDirection:"column",children:L.jsxDEV(AX,{query:z,isFocused:P,isTerminalFocused:q,width:Z,cursorOffset:k},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[9]=k,G[10]=q,G[11]=z,G[12]=P,G[13]=Z,G[14]=g;else g=G[14];let E=Math.min(10,X.length),B=J||N,j;if(G[15]!==M||G[16]!==O||G[17]!==Q||G[18]!==f||G[19]!==X||G[20]!==E||G[21]!==B)j=L.jsxDEV(n,{options:X,onChange:f,onCancel:Q,visibleOptionCount:E,isDisabled:B,defaultFocusValue:O,onUpFromFirstItem:M},void 0,!1,void 0,this),G[15]=M,G[16]=O,G[17]=Q,G[18]=f,G[19]=X,G[20]=E,G[21]=B,G[22]=j;else j=G[22];let C;if(G[23]!==g||G[24]!==j)C=L.jsxDEV(y,{flexDirection:"column",children:[g,j]},void 0,!0,void 0,this),G[23]=g,G[24]=j,G[25]=C;else C=G[25];return C}function jJ(U){let G=fG.c(27),X,z,J,q,f,Q,O,k,W;if(G[0]!==U){let{tab:H,getRulesOptions:I,handleToolSelect:A,...T}=U;W=H,J=A,q=T,z=y,Q="column",O=W==="allow"?0:void 0;let w;if(G[10]===Symbol.for("react.memo_cache_sentinel"))w={allow:"Claude Code won't ask before using allowed tools.",ask:"Claude Code will always ask for confirmation before using these tools.",deny:"Claude Code will always reject requests to use denied tools."},G[10]=w;else w=G[10];let P=w[W];if(G[11]!==P)k=L.jsxDEV(K,{children:P},void 0,!1,void 0,this),G[11]=P,G[12]=k;else k=G[12];X=LY,f=I(W,q.searchQuery),G[0]=U,G[1]=X,G[2]=z,G[3]=J,G[4]=q,G[5]=f,G[6]=Q,G[7]=O,G[8]=k,G[9]=W}else X=G[1],z=G[2],J=G[3],q=G[4],f=G[5],Q=G[6],O=G[7],k=G[8],W=G[9];let Z;if(G[13]!==J||G[14]!==W)Z=(H)=>J(H,W),G[13]=J,G[14]=W,G[15]=Z;else Z=G[15];let N;if(G[16]!==X||G[17]!==q||G[18]!==f.options||G[19]!==Z)N=L.jsxDEV(X,{options:f.options,onSelect:Z,...q},void 0,!1,void 0,this),G[16]=X,G[17]=q,G[18]=f.options,G[19]=Z,G[20]=N;else N=G[20];let M;if(G[21]!==z||G[22]!==Q||G[23]!==O||G[24]!==k||G[25]!==N)M=L.jsxDEV(z,{flexDirection:Q,flexShrink:O,children:[k,N]},void 0,!0,void 0,this),G[21]=z,G[22]=Q,G[23]=O,G[24]=k,G[25]=N,G[26]=M;else M=G[26];return M}function fX(U){let G=fG.c(113),{onExit:X,initialTab:z,onRetryDenials:J}=U,q;if(G[0]===Symbol.for("react.memo_cache_sentinel"))q=YJ(),G[0]=q;else q=G[0];let f=q.length>0,Q=z??(f?"recent":"allow"),O;if(G[1]===Symbol.for("react.memo_cache_sentinel"))O=[],G[1]=O;else O=G[1];let[k,W]=u.useState(O),Z=OX(WY),N=IX(),M=LX(),H;if(G[2]===Symbol.for("react.memo_cache_sentinel"))H={approved:new Set,retry:new Set,denials:[]},G[2]=H;else H=G[2];let I=u.useRef(H),A;if(G[3]===Symbol.for("react.memo_cache_sentinel"))A=(Y)=>{I.current=Y},G[3]=A;else A=G[3];let T=A,[w,P]=u.useState(),[g,E]=u.useState(),[B,j]=u.useState(null),[C,V]=u.useState(null),[x,l]=u.useState(!1),[m,_]=u.useState(null),[D,d]=u.useState(!1),[h,ZJ]=u.useState(!0),yG;if(G[4]===Symbol.for("react.memo_cache_sentinel"))yG=(Y)=>{ZJ(Y)},G[4]=yG;else yG=G[4];let zJ=yG,PG;if(G[5]!==Z)PG=new Map,qX(Z).forEach((Y)=>{PG.set(vG(Y),Y)}),G[5]=Z,G[6]=PG;else PG=G[6];let NJ=PG,FG;if(G[7]!==Z)FG=new Map,QX(Z).forEach((Y)=>{FG.set(vG(Y),Y)}),G[7]=Z,G[8]=FG;else FG=G[8];let LJ=FG,bG;if(G[9]!==Z)bG=new Map,wX(Z).forEach((Y)=>{bG.set(vG(Y),Y)}),G[9]=Z,G[10]=bG;else bG=G[10];let UJ=bG,RG;if(G[11]!==NJ||G[12]!==UJ||G[13]!==LJ)RG=(Y,F)=>{let b=F===void 0?"":F,v=(()=>{switch(Y){case"allow":return NJ;case"deny":return LJ;case"ask":return UJ;case"workspace":case"recent":return new Map}})(),R=[];if(Y!=="workspace"&&Y!=="recent"&&!b)R.push({label:`Add a new rule${zG.ellipsis}`,value:"add-new-rule"});let a=Array.from(v.keys()).sort((IG,e)=>{let gG=v.get(IG),EJ=v.get(e);if(gG&&EJ){let yX=i(gG.ruleValue).toLowerCase(),RX=i(EJ.ruleValue).toLowerCase();return yX.localeCompare(RX)}return 0}),OG=b.toLowerCase();for(let IG of a){let e=v.get(IG);if(e){let gG=i(e.ruleValue);if(b&&!gG.toLowerCase().includes(OG))continue;R.push({label:gG,value:IG})}}return{options:R,rulesByKey:v}},G[11]=NJ,G[12]=UJ,G[13]=LJ,G[14]=RG;else RG=G[14];let r=RG,NG=CG(),TG=!w&&!B&&!C&&!x&&!m,kJ=TG&&D,SG;if(G[15]===Symbol.for("react.memo_cache_sentinel"))SG=()=>{d(!1)},G[15]=SG;else SG=G[15];let _G;if(G[16]!==kJ)_G={isActive:kJ,onExit:SG},G[16]=kJ,G[17]=_G;else _G=G[17];let{query:qJ,setQuery:VG,cursorOffset:QJ}=BX(_G),mG;if(G[18]!==D||G[19]!==TG||G[20]!==VG)mG=(Y)=>{if(!TG)return;if(D)return;if(Y.ctrl||Y.meta)return;if(Y.key==="/")Y.preventDefault(),d(!0),VG("");else if(Y.key.length===1&&Y.key!=="j"&&Y.key!=="k"&&Y.key!=="m"&&Y.key!=="i"&&Y.key!=="r"&&Y.key!==" ")Y.preventDefault(),d(!0),VG(Y.key)},G[18]=D,G[19]=TG,G[20]=VG,G[21]=mG;else mG=G[21];let wJ=mG,DG;if(G[22]!==r)DG=(Y,F)=>{let{rulesByKey:b}=r(F);if(Y==="add-new-rule"){j(F);return}else{P(b.get(Y));return}},G[22]=r,G[23]=DG;else DG=G[23];let WJ=DG,hG;if(G[24]===Symbol.for("react.memo_cache_sentinel"))hG=()=>{j(null)},G[24]=hG;else hG=G[24];let TX=hG,pG;if(G[25]===Symbol.for("react.memo_cache_sentinel"))pG=(Y,F)=>{V({ruleValue:Y,ruleBehavior:F}),j(null)},G[25]=pG;else pG=G[25];let gX=pG,xG;if(G[26]===Symbol.for("react.memo_cache_sentinel"))xG=(Y,F)=>{V(null);for(let b of Y)W((v)=>[...v,`Added ${b.ruleBehavior} rule ${t.bold(i(b.ruleValue))}`]);if(F&&F.length>0)for(let b of F){let v=b.shadowType==="deny"?"blocked":"shadowed";W((R)=>[...R,t.yellow(`${zG.warning} Warning: ${i(b.rule.ruleValue)} is ${v}`),t.dim(` ${b.reason}`),t.dim(` Fix: ${b.fix}`)])}},G[26]=xG;else xG=G[26];let jX=xG,cG;if(G[27]===Symbol.for("react.memo_cache_sentinel"))cG=()=>{V(null)},G[27]=cG;else cG=G[27];let EX=cG,dG;if(G[28]===Symbol.for("react.memo_cache_sentinel"))dG=()=>l(!0),G[28]=dG;else dG=G[28];let CX=dG,uG;if(G[29]===Symbol.for("react.memo_cache_sentinel"))uG=(Y)=>_(Y),G[29]=uG;else uG=G[29];let vX=uG,iG;if(G[30]!==k||G[31]!==X||G[32]!==J)iG=()=>{let Y=I.current,F=(R)=>Array.from(R).map((a)=>Y.denials[a]).filter(wY),b=F(Y.retry);if(b.length>0){let R=b.map(QY);J?.(R),X(void 0,{shouldQuery:!0,metaMessages:[`Permission granted for: ${R.join(", ")}. You may now retry ${R.length===1?"this command":"these commands"} if you would like.`]});return}let v=F(Y.approved);if(v.length>0||k.length>0){let R=v.length>0?[`Approved ${v.map(qY).join(", ")}`]:[];X([...R,...k].join(`
|
|
3
|
+
`))}else X("Permissions dialog dismissed",{display:"system"})},G[30]=k,G[31]=X,G[32]=J,G[33]=iG;else iG=G[33];let nG=iG,OJ=TG&&!D,lG;if(G[34]!==OJ)lG={context:"Settings",isActive:OJ},G[34]=OJ,G[35]=lG;else lG=G[35];EG("confirm:no",nG,lG);let aG;if(G[36]!==r||G[37]!==w||G[38]!==N||G[39]!==Z)aG=()=>{if(!w)return;let{options:Y}=r(w.ruleBehavior),F=vG(w),b=Y.filter(kY).map(UY),v=b.indexOf(F),R;if(v!==-1){if(v<b.length-1)R=b[v+1];else if(v>0)R=b[v-1]}E(R),WX({rule:w,initialContext:Z,setToolPermissionContext(a){N((OG)=>({...OG,toolPermissionContext:a}))}}),W((a)=>[...a,`Deleted ${w.ruleBehavior} rule ${t.bold(i(w.ruleValue))}`]),P(void 0)},G[36]=r,G[37]=w,G[38]=N,G[39]=Z,G[40]=aG;else aG=G[40];let IJ=aG;if(w){let Y;if(G[41]===Symbol.for("react.memo_cache_sentinel"))Y=()=>P(void 0),G[41]=Y;else Y=G[41];let F;if(G[42]!==IJ||G[43]!==w)F=L.jsxDEV(NY,{rule:w,onDelete:IJ,onCancel:Y},void 0,!1,void 0,this),G[42]=IJ,G[43]=w,G[44]=F;else F=G[44];return F}if(B&&B!=="workspace"&&B!=="recent"){let Y;if(G[45]!==B)Y=L.jsxDEV(nJ,{onCancel:TX,onSubmit:gX,ruleBehavior:B},void 0,!1,void 0,this),G[45]=B,G[46]=Y;else Y=G[46];return Y}if(C){let Y;if(G[47]!==C.ruleValue)Y=[C.ruleValue],G[47]=C.ruleValue,G[48]=Y;else Y=G[48];let F;if(G[49]!==N)F=(v)=>{N((R)=>({...R,toolPermissionContext:v}))},G[49]=N,G[50]=F;else F=G[50];let b;if(G[51]!==Y||G[52]!==F||G[53]!==Z||G[54]!==C.ruleBehavior)b=L.jsxDEV(VJ,{onAddRules:jX,onCancel:EX,ruleValues:Y,ruleBehavior:C.ruleBehavior,initialContext:Z,setToolPermissionContext:F},void 0,!1,void 0,this),G[51]=Y,G[52]=F,G[53]=Z,G[54]=C.ruleBehavior,G[55]=b;else b=G[55];return b}if(x){let Y;if(G[56]!==N||G[57]!==Z)Y=(v,R)=>{let OG={type:"addDirectories",directories:[v],destination:R?"localSettings":"session"},IG=MG(Z,OG);if(N((e)=>({...e,toolPermissionContext:IG})),R)GJ(OG);W((e)=>[...e,`Added directory ${t.bold(v)} to workspace${R?" and saved to local settings":" for this session"}`]),l(!1)},G[56]=N,G[57]=Z,G[58]=Y;else Y=G[58];let F;if(G[59]===Symbol.for("react.memo_cache_sentinel"))F=()=>l(!1),G[59]=F;else F=G[59];let b;if(G[60]!==Y||G[61]!==Z)b=L.jsxDEV(MX,{onAddDirectory:Y,onCancel:F,permissionContext:Z},void 0,!1,void 0,this),G[60]=Y,G[61]=Z,G[62]=b;else b=G[62];return b}if(m){let Y;if(G[63]!==m)Y=()=>{W((R)=>[...R,`Removed directory ${t.bold(m)} from workspace`]),_(null)},G[63]=m,G[64]=Y;else Y=G[64];let F;if(G[65]===Symbol.for("react.memo_cache_sentinel"))F=()=>_(null),G[65]=F;else F=G[65];let b;if(G[66]!==N)b=(R)=>{N((a)=>({...a,toolPermissionContext:R}))},G[66]=N,G[67]=b;else b=G[67];let v;if(G[68]!==m||G[69]!==Y||G[70]!==b||G[71]!==Z)v=L.jsxDEV(GX,{directoryPath:m,onRemove:Y,onCancel:F,permissionContext:Z,setPermissionContext:b},void 0,!1,void 0,this),G[68]=m,G[69]=Y,G[70]=b,G[71]=Z,G[72]=v;else v=G[72];return v}let rG;if(G[73]!==r||G[74]!==nG||G[75]!==WJ||G[76]!==D||G[77]!==M||G[78]!==g||G[79]!==QJ||G[80]!==qJ)rG={searchQuery:qJ,isSearchMode:D,isFocused:M,onCancel:nG,lastFocusedRuleKey:g,cursorOffset:QJ,getRulesOptions:r,handleToolSelect:WJ,onHeaderFocusChange:zJ},G[73]=r,G[74]=nG,G[75]=WJ,G[76]=D,G[77]=M,G[78]=g,G[79]=QJ,G[80]=qJ,G[81]=rG;else rG=G[81];let o=rG,MJ=!!w||!!B||!!C||x||!!m,HJ=!D,oG;if(G[82]===Symbol.for("react.memo_cache_sentinel"))oG=L.jsxDEV(BG,{id:"recent",title:"Recently denied",children:L.jsxDEV(sJ,{onHeaderFocusChange:zJ,onStateChange:T},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[82]=oG;else oG=G[82];let LG;if(G[83]!==o)LG=L.jsxDEV(BG,{id:"allow",title:"Allow",children:L.jsxDEV(jJ,{tab:"allow",...o},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[83]=o,G[84]=LG;else LG=G[84];let UG;if(G[85]!==o)UG=L.jsxDEV(BG,{id:"ask",title:"Ask",children:L.jsxDEV(jJ,{tab:"ask",...o},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[85]=o,G[86]=UG;else UG=G[86];let kG;if(G[87]!==o)kG=L.jsxDEV(BG,{id:"deny",title:"Deny",children:L.jsxDEV(jJ,{tab:"deny",...o},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[87]=o,G[88]=kG;else kG=G[88];let $G;if(G[89]===Symbol.for("react.memo_cache_sentinel"))$G=L.jsxDEV(K,{children:"Claude Code can read files in the workspace, and make edits when auto-accept edits is on."},void 0,!1,void 0,this),G[89]=$G;else $G=G[89];let qG;if(G[90]!==X||G[91]!==Z)qG=L.jsxDEV(BG,{id:"workspace",title:"Workspace",children:L.jsxDEV(y,{flexDirection:"column",children:[$G,L.jsxDEV(zX,{onExit:X,toolPermissionContext:Z,onRequestAddDirectory:CX,onRequestRemoveDirectory:vX,onHeaderFocusChange:zJ},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),G[90]=X,G[91]=Z,G[92]=qG;else qG=G[92];let QG;if(G[93]!==Q||G[94]!==MJ||G[95]!==HJ||G[96]!==LG||G[97]!==UG||G[98]!==kG||G[99]!==qG)QG=L.jsxDEV(HX,{title:"Permissions:",color:"permission",defaultTab:Q,hidden:MJ,initialHeaderFocused:!f,navFromContent:HJ,children:[oG,LG,UG,kG,qG]},void 0,!0,void 0,this),G[93]=Q,G[94]=MJ,G[95]=HJ,G[96]=LG,G[97]=UG,G[98]=kG,G[99]=qG,G[100]=QG;else QG=G[100];let wG;if(G[101]!==Q||G[102]!==NG.keyName||G[103]!==NG.pending||G[104]!==h||G[105]!==D)wG=L.jsxDEV(y,{marginTop:1,paddingLeft:1,children:L.jsxDEV(K,{dimColor:!0,children:NG.pending?L.jsxDEV(L.Fragment,{children:["Press ",NG.keyName," again to exit"]},void 0,!0,void 0,this):h?L.jsxDEV(L.Fragment,{children:"←/→ tab switch · ↓ return · Esc cancel"},void 0,!1,void 0,this):D?L.jsxDEV(L.Fragment,{children:"Type to filter · Enter/↓ select · ↑ tabs · Esc clear"},void 0,!1,void 0,this):f&&Q==="recent"?L.jsxDEV(L.Fragment,{children:"Enter approve · r retry · ↑↓ navigate · ←/→ switch · Esc cancel"},void 0,!1,void 0,this):L.jsxDEV(L.Fragment,{children:"↑↓ navigate · Enter select · Type to search · ←/→ switch · Esc cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),G[101]=Q,G[102]=NG.keyName,G[103]=NG.pending,G[104]=h,G[105]=D,G[106]=wG;else wG=G[106];let WG;if(G[107]!==QG||G[108]!==wG)WG=L.jsxDEV(UX,{color:"permission",children:[QG,wG]},void 0,!0,void 0,this),G[107]=QG,G[108]=wG,G[109]=WG;else WG=G[109];let sG;if(G[110]!==wJ||G[111]!==WG)sG=L.jsxDEV(y,{flexDirection:"column",onKeyDown:wJ,children:WG},void 0,!1,void 0,this),G[110]=wJ,G[111]=WG,G[112]=sG;else sG=G[112];return sG}function UY(U){return U.value}function kY(U){return U.value!=="add-new-rule"}function qY(U){return t.bold(U.display)}function QY(U){return U.display}function wY(U){return U!==void 0}function WY(U){return U.toolPermissionContext}var fG,u,L;var PX=JG(()=>{sX();TJ();GY();FJ();jG();cJ();YY();ZG();xJ();oJ();PJ();eX();$X();tX();gJ();XY();mJ();JY();KJ();lJ();tJ();JX();NX();fG=S(YG(),1),u=S(XJ(),1),L=S(c(),1)});var bX,_Z=async(U,G)=>{return bX.jsxDEV(fX,{onExit:U,onRetryDenials:(X)=>{G.setMessages((z)=>[...z,FX(X)])}},void 0,!1,void 0,this)};var IY=JG(()=>{PX();OY();bX=S(c(),1)});IY();export{_Z as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cf as M,df as E,ef as S,gf as d}from"./cli-0.1.10-ckb6d1wg.mjs";import{Wf as F,Xf as j}from"./cli-0.1.10-yq3dy7w2.mjs";import{EJ as B,GJ as P,Jo as _,Kt as y,Oo as V,Ot as u,Sp as A,Tp as I,Wp as m}from"./cli-0.1.10-y9mkzh11.mjs";import"./cli-0.1.10-rr3xpxx1.mjs";import"./cli-0.1.10-xjpjs3y5.mjs";import"./cli-0.1.10-7d7j1qyf.mjs";import"./cli-0.1.10-gdqbhzyr.mjs";import"./cli-0.1.10-fay16q4v.mjs";import"./cli-0.1.10-z4a84y0c.mjs";import"./cli-0.1.10-y3q22zvb.mjs";import"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-x1qs5ctr.mjs";import"./cli-0.1.10-fhvyzg2m.mjs";import"./cli-0.1.10-72ece2yk.mjs";import"./cli-0.1.10-qf6ps98q.mjs";import"./cli-0.1.10-t8rnwwhq.mjs";import"./cli-0.1.10-wajz23ff.mjs";import"./cli-0.1.10-nfnje7ew.mjs";import"./cli-0.1.10-be8dvtg8.mjs";import"./cli-0.1.10-rvb440sp.mjs";import"./cli-0.1.10-xzz1tdne.mjs";import{KU as W,MU as G,_S as c,pV as g}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import"./cli-0.1.10-4n8rvtk0.mjs";import"./cli-0.1.10-3q43p3wr.mjs";import"./cli-0.1.10-gccb3gw8.mjs";import"./cli-0.1.10-er8zk2kj.mjs";import"./cli-0.1.10-zeqsd250.mjs";import"./cli-0.1.10-z3f97n2d.mjs";import"./cli-0.1.10-b59j6twr.mjs";import{kX as R}from"./cli-0.1.10-v6gq9bxc.mjs";import"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import"./cli-0.1.10-227xyew7.mjs";import"./cli-0.1.10-bqsa7eam.mjs";import"./cli-0.1.10-acy8ec7t.mjs";import"./cli-0.1.10-hbk3dhq8.mjs";import"./cli-0.1.10-w8np72sh.mjs";import"./cli-0.1.10-t1zd86kd.mjs";import"./cli-0.1.10-jjdvb4je.mjs";import"./cli-0.1.10-dx92txwb.mjs";import"./cli-0.1.10-f38gq0e0.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import"./cli-0.1.10-wjmtd9vm.mjs";import"./cli-0.1.10-g6rx9rdb.mjs";import"./cli-0.1.10-7ydarbm4.mjs";import"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import"./cli-0.1.10-f2jh6yv0.mjs";import"./cli-0.1.10-e4qewc1p.mjs";import"./cli-0.1.10-y1bkenem.mjs";import"./cli-0.1.10-pw67rrjr.mjs";import{Oma as T,Pla as U}from"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as X,Kna as h}from"./cli-0.1.10-hyxg32sc.mjs";function $(z){let b=v.c(11),{planContent:H,planPath:K,editorName:J}=z,L;if(b[0]===Symbol.for("react.memo_cache_sentinel"))L=f.jsxDEV(G,{bold:!0,children:"Current Plan"},void 0,!1,void 0,this),b[0]=L;else L=b[0];let q;if(b[1]!==K)q=f.jsxDEV(G,{dimColor:!0,children:K},void 0,!1,void 0,this),b[1]=K,b[2]=q;else q=b[2];let w;if(b[3]!==H)w=f.jsxDEV(W,{marginTop:1,children:f.jsxDEV(G,{children:H},void 0,!1,void 0,this)},void 0,!1,void 0,this),b[3]=H,b[4]=w;else w=b[4];let k;if(b[5]!==J)k=J&&f.jsxDEV(W,{marginTop:1,children:[f.jsxDEV(G,{dimColor:!0,children:'"/plan open"'},void 0,!1,void 0,this),f.jsxDEV(G,{dimColor:!0,children:" to edit this plan in "},void 0,!1,void 0,this),f.jsxDEV(G,{bold:!0,dimColor:!0,children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this),b[5]=J,b[6]=k;else k=b[6];let O;if(b[7]!==q||b[8]!==w||b[9]!==k)O=f.jsxDEV(W,{flexDirection:"column",children:[L,q,w,k]},void 0,!0,void 0,this),b[7]=q,b[8]=w,b[9]=k,b[10]=O;else O=b[10];return O}async function t(z,b,H){let{getAppState:K,setAppState:J}=b,q=K().toolPermissionContext.mode;if(q!=="plan"){U(q,"plan"),J((Z)=>({...Z,toolPermissionContext:_(B(Z.toolPermissionContext),{type:"setMode",mode:"plan",destination:"session"})}));let Q=H.trim();if(Q&&Q!=="open")z("Enabled plan mode",{shouldQuery:!0});else z("Enabled plan mode");return null}let w=I(),k=A();if(!w)return z("Already in plan mode. No plan written yet."),null;if(H.trim().split(/\s+/)[0]==="open"){let Q=await S(k);if(Q.error)z(`Failed to open plan in editor: ${Q.error}`);else z(`Opened plan in editor: ${k}`);return null}let Y=M(),C=Y?y(Y):void 0,N=await F(f.jsxDEV($,{planContent:w,planPath:k,editorName:C},void 0,!1,void 0,this));return z(N),null}var v,f;var x=h(()=>{T();g();E();u();V();P();m();d();j();v=X(c(),1),f=X(R(),1)});x();export{t as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Kna as z}from"./cli-0.1.10-hyxg32sc.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};
|