@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,4 @@
|
|
|
1
|
+
import{Gh as g,Hh as OJ}from"./cli-0.1.10-p4a151rw.mjs";import{jv as KJ,kv as SJ,pz as N,rz as UJ,sz as c,tz as i,uz as l,xz as r,yz as wJ}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 BJ}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{KU as e,MU as f,_S as _J,pV as IJ}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 I}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as RJ}from"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-p42gvsdg.mjs";import"./cli-0.1.10-d48qgcag.mjs";import{AX as x,FX as PJ,yX as p}from"./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{I4 as C,Q4 as b,S4 as u,b5 as v}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{d6 as h,h6 as yJ}from"./cli-0.1.10-7ydarbm4.mjs";import{i6 as E,z6 as WJ}from"./cli-0.1.10-s7s5bgrq.mjs";import"./cli-0.1.10-y2byece1.mjs";import"./cli-0.1.10-fcarec7s.mjs";import{G8 as AJ,L7 as S,N7 as TJ,i8 as V,p8 as m}from"./cli-0.1.10-mt6tj76h.mjs";import"./cli-0.1.10-2mqddc7q.mjs";import"./cli-0.1.10-4n8p34vn.mjs";import{Hea as k,Iea as HJ}from"./cli-0.1.10-594z8zdp.mjs";import"./cli-0.1.10-a4p945wp.mjs";import{Wea as d,gfa as qJ}from"./cli-0.1.10-w1hqcxj1.mjs";import"./cli-0.1.10-nzxw7p2m.mjs";import"./cli-0.1.10-97rwbawt.mjs";import{Yfa as F,Zfa as LJ}from"./cli-0.1.10-f2jh6yv0.mjs";import{Wga as j,Zga as FJ}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{Gna as U,Kna as _}from"./cli-0.1.10-hyxg32sc.mjs";async function D(){if(!C())return null;try{let{accessToken:Q,orgUUID:J}=await p();return(await E.get(`${k().BASE_API_URL}/v1/ultrareview/quota`,{headers:{...x(Q),"x-organization-uuid":J},timeout:5000})).data}catch(Q){return j(`fetchUltrareviewQuota failed: ${Q}`),null}}var $=_(()=>{WJ();HJ();v();FJ();PJ()});function o(){s=!0}async function a(){if(b()||u())return{kind:"proceed",billingNote:""};let[Q,J]=await Promise.all([D(),g().catch(()=>null)]);if(!Q)return{kind:"proceed",billingNote:""};if(Q.reviews_remaining>0)return{kind:"proceed",billingNote:` This is free ultrareview ${Q.reviews_used+1} of ${Q.reviews_limit}.`};if(!J)return{kind:"proceed",billingNote:""};let Z=J.extra_usage;if(!Z?.is_enabled)return F("tengu_review_overage_not_enabled",{}),{kind:"not-enabled"};let X=Z.monthly_limit,z=Z.used_credits??0,G=X===null||X===void 0?1/0:X-z;if(G<10)return F("tengu_review_overage_low_balance",{available:G}),{kind:"low-balance",available:G};if(!s)return F("tengu_review_overage_dialog_shown",{}),{kind:"needs-confirm"};return{kind:"proceed",billingNote:" This review bills as Extra Usage."}}async function n(Q,J,Z){let X=await c();if(!X.eligible){let K=X.errors.filter((Y)=>Y.type!=="no_remote_environment");if(K.length>0)return F("tengu_review_remote_precondition_failed",{precondition_errors:K.map((q)=>q.type).join(",")}),[{type:"text",text:`Ultrareview cannot launch:
|
|
2
|
+
${K.map(i).join(`
|
|
3
|
+
`)}`}]}let z=Z??"",G=Q.trim(),A=/^\d+$/.test(G),w="env_011111111111111111111113",H=d("tengu_review_bughunter_config",null),W=(K,Y,q)=>{if(typeof K!=="number"||!Number.isFinite(K))return Y;let y=Math.floor(K);if(y<=0)return Y;return q!==void 0&&y>q?Y:y},T={BUGHUNTER_DRY_RUN:"1",BUGHUNTER_FLEET_SIZE:String(W(H?.fleet_size,5,20)),BUGHUNTER_MAX_DURATION:String(W(H?.max_duration_minutes,10,25)),BUGHUNTER_AGENT_TIMEOUT:String(W(H?.agent_timeout_seconds,600,1800)),BUGHUNTER_TOTAL_WALLCLOCK:String(W(H?.total_wallclock_minutes,22,27)),...process.env.BUGHUNTER_DEV_BUNDLE_B64&&{BUGHUNTER_DEV_BUNDLE_B64:process.env.BUGHUNTER_DEV_BUNDLE_B64}},M,P,R;if(A){let K=await h();if(!K||K.host!=="github.com")return F("tengu_review_remote_precondition_failed",{}),null;M=await N({initialMessage:null,description:`ultrareview: ${K.owner}/${K.name}#${G}`,signal:J.abortController.signal,branchName:`refs/pull/${G}/head`,environmentId:w,environmentVariables:{BUGHUNTER_PR_NUMBER:G,BUGHUNTER_REPOSITORY:`${K.owner}/${K.name}`,...T}}),P=`/ultrareview ${G}`,R=`${K.owner}/${K.name}#${G}`}else{let K=await m()||"main",{stdout:Y,code:q}=await S(V(),["merge-base",K,"HEAD"],{preserveOutputOnError:!1}),y=Y.trim();if(q!==0||!y)return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`Could not find merge-base with ${K}. Make sure you're in a git repo with a ${K} branch.`}];let{stdout:YJ,code:zJ}=await S(V(),["diff","--shortstat",y],{preserveOutputOnError:!1});if(zJ===0&&!YJ.trim())return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`No changes against the ${K} fork point. Make some commits or stage files first.`}];if(M=await N({initialMessage:null,description:`ultrareview: ${K}`,signal:J.abortController.signal,useBundle:!0,environmentId:w,environmentVariables:{BUGHUNTER_BASE_BRANCH:y,...T}}),!M)return F("tengu_review_remote_teleport_failed",{}),[{type:"text",text:"Repo is too large. Push a PR and use `/ultrareview <PR#>` instead."}];P="/ultrareview",R=K}if(!M)return F("tengu_review_remote_teleport_failed",{}),null;l({remoteTaskType:"ultrareview",session:M,command:P,context:J,isRemoteReview:!0}),F("tengu_review_remote_launched",{});let L=r(M.id);return[{type:"text",text:`Ultrareview launched for ${R} (~10–20 min, runs in the cloud). Track: ${L}${z} Findings arrive via task-notification. Briefly acknowledge the launch to the user without repeating the target or URL — both are already visible in the tool output above.`}]}var s=!1;var t=_(()=>{qJ();LJ();$();OJ();wJ();v();yJ();TJ();AJ();UJ()});function XJ(Q){let J=QJ.c(15),{onProceed:Z,onCancel:X}=Q,[z,G]=B.useState(!1),A;if(J[0]===Symbol.for("react.memo_cache_sentinel"))A=new AbortController,J[0]=A;else A=J[0];let w=B.useRef(A),H;if(J[1]!==X||J[2]!==Z)H=(q)=>{if(q==="proceed")G(!0),Z(w.current.signal).catch(()=>G(!1));else X()},J[1]=X,J[2]=Z,J[3]=H;else H=J[3];let W=H,T;if(J[4]!==X)T=()=>{w.current.abort(),X()},J[4]=X,J[5]=T;else T=J[5];let M=T,P;if(J[6]===Symbol.for("react.memo_cache_sentinel"))P=[{label:"Proceed with Extra Usage billing",value:"proceed"},{label:"Cancel",value:"cancel"}],J[6]=P;else P=J[6];let R=P,L;if(J[7]===Symbol.for("react.memo_cache_sentinel"))L=O.jsxDEV(f,{children:"Your free ultrareviews for this organization are used. Further reviews bill as Extra Usage (pay-per-use)."},void 0,!1,void 0,this),J[7]=L;else L=J[7];let K;if(J[8]!==M||J[9]!==W||J[10]!==z)K=O.jsxDEV(e,{flexDirection:"column",gap:1,children:[L,z?O.jsxDEV(f,{color:"background",children:"Launching…"},void 0,!1,void 0,this):O.jsxDEV(KJ,{options:R,onChange:W,onCancel:M},void 0,!1,void 0,this)]},void 0,!0,void 0,this),J[8]=M,J[9]=W,J[10]=z,J[11]=K;else K=J[11];let Y;if(J[12]!==M||J[13]!==K)Y=O.jsxDEV(JJ,{title:"Ultrareview billing",onCancel:M,color:"background",children:K},void 0,!1,void 0,this),J[12]=M,J[13]=K,J[14]=Y;else Y=J[14];return Y}var QJ,B,O;var ZJ=_(()=>{SJ();BJ();IJ();QJ=U(_J(),1),B=U(RJ(),1),O=U(I(),1)});function VJ(Q){return Q.map((J)=>J.type==="text"?J.text:"").filter(Boolean).join(`
|
|
4
|
+
`)}async function GJ(Q,J,Z,X,z){let G=await n(Q,J,X);if(z?.aborted)return;if(G)Z(VJ(G),{shouldQuery:!0});else Z("Ultrareview failed to launch the remote session. Check that this is a GitHub repo and try again.",{display:"system"})}var MJ,eJ=async(Q,J,Z)=>{let X=await a();if(X.kind==="not-enabled")return Q("Free ultrareviews used. Enable Extra Usage at https://claude.ai/settings/billing to continue.",{display:"system"}),null;if(X.kind==="low-balance")return Q(`Balance too low to launch ultrareview ($${X.available.toFixed(2)} available, $10 minimum). Top up at https://claude.ai/settings/billing`,{display:"system"}),null;if(X.kind==="needs-confirm")return MJ.jsxDEV(XJ,{onProceed:async(z)=>{if(await GJ(Z,J,Q," This review bills as Extra Usage.",z),!z.aborted)o()},onCancel:()=>Q("Ultrareview cancelled.",{display:"system"})},void 0,!1,void 0,this);return await GJ(Z,J,Q,X.billingNote),null};var NJ=_(()=>{t();ZJ();MJ=U(I(),1)});NJ();export{eJ as call};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import{$v as E,Qu as Z,Ru as o,Uv as G,Yv as b,Zv as t,_v as D,bw as e,cw as F,dw as qq,fw as f,gw as Jq,ow as L,rw as m,uw as Kq}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{JU as h,PU as d}from"./cli-0.1.10-gms4557v.mjs";import"./cli-0.1.10-0n4bjm9z.mjs";import{CV as l,zV as v}from"./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"./cli-0.1.10-73y7xdxy.mjs";import{j1 as O,o1 as i}from"./cli-0.1.10-vrd90nhd.mjs";import"./cli-0.1.10-y6a8q1t3.mjs";import{x5 as X,y5 as a}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{D7 as S,Jaa as n,L7 as x,N7 as w,Oba as r,sba as U,vba as j,zaa as M}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 P,Zfa as g}from"./cli-0.1.10-f2jh6yv0.mjs";import{Cga as T,Wga as W,Zga as N}from"./cli-0.1.10-e4qewc1p.mjs";import{_ga as y,lha as k}from"./cli-0.1.10-y1bkenem.mjs";import{nha as q,rha as s}from"./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";a();i();g();t();import{homedir as u}from"os";import{dirname as Aq,join as B}from"path";h();d();N();k();T();w();S();function c(){let Q=process.env.SHELL||"",K=u(),$=y();if(Q.endsWith("/zsh")||Q.endsWith("/zsh.exe")){let _=B($,"completion.zsh");return{name:"zsh",rcFile:B(K,".zshrc"),cacheFile:_,completionLine:`[[ -f "${_}" ]] && source "${_}"`,shellFlag:"zsh"}}if(Q.endsWith("/bash")||Q.endsWith("/bash.exe")){let _=B($,"completion.bash");return{name:"bash",rcFile:B(K,".bashrc"),cacheFile:_,completionLine:`[ -f "${_}" ] && source "${_}"`,shellFlag:"bash"}}if(Q.endsWith("/fish")||Q.endsWith("/fish.exe")){let _=process.env.XDG_CONFIG_HOME||B(K,".config"),R=B($,"completion.fish");return{name:"fish",rcFile:B(_,"fish","config.fish"),cacheFile:R,completionLine:`[ -f "${R}" ] && source "${R}"`,shellFlag:"fish"}}return null}async function C(){let Q=c();if(!Q)return;W(`update: Regenerating ${Q.name} completion cache`);let K=process.argv[1]||"claude";if((await x(K,["completion",Q.shellFlag,"--output",Q.cacheFile])).code!==0){W(`update: Failed to regenerate ${Q.name} completion cache`);return}W(`update: Regenerated ${Q.name} completion cache at ${Q.cacheFile}`)}r();N();Jq();o();e();Kq();qq();s();l();n();async function mq(){if(O()!=="firstParty")q(X.yellow(`Auto-update is not available for third-party provider builds.
|
|
2
|
+
`)+`Current version: 0.1.10
|
|
3
|
+
|
|
4
|
+
To update, reinstall from npm:
|
|
5
|
+
`+X.bold(" npm install -g @claudiolabs/claudio@latest")+`
|
|
6
|
+
|
|
7
|
+
Or, if you built from source, pull and rebuild:
|
|
8
|
+
`+X.bold(" git pull && bun install && bun run build")+`
|
|
9
|
+
`),await Z(0);P("tengu_update_check",{}),q(`Current version: 0.1.10
|
|
10
|
+
`);let Q=M()?.autoUpdatesChannel??"latest";q(`Checking for updates to ${Q} version...
|
|
11
|
+
`),W("update: Starting update check"),W("update: Running diagnostic");let K=await f();if(W(`update: Installation type: ${K.installationType}`),W(`update: Config install method: ${K.configInstallMethod}`),K.multipleInstallations.length>1){q(`
|
|
12
|
+
`),q(X.yellow("Warning: Multiple installations found")+`
|
|
13
|
+
`);for(let J of K.multipleInstallations){let Y=K.installationType===J.type?" (currently running)":"";q(`- ${J.type} at ${J.path}${Y}
|
|
14
|
+
`)}}if(K.warnings.length>0){q(`
|
|
15
|
+
`);for(let J of K.warnings)W(`update: Warning detected: ${J.issue}`),W(`update: Showing warning: ${J.issue}`),q(X.yellow(`Warning: ${J.issue}
|
|
16
|
+
`)),q(X.bold(`Fix: ${J.fix}
|
|
17
|
+
`))}let $=j();if(!$.installMethod&&K.installationType!=="package-manager"){q(`
|
|
18
|
+
`),q(`Updating configuration to track installation method...
|
|
19
|
+
`);let J="unknown";switch(K.installationType){case"npm-local":J="local";break;case"native":J="native";break;case"npm-global":J="global";break;default:J="unknown"}U((Y)=>({...Y,installMethod:J})),q(`Installation method set to: ${J}
|
|
20
|
+
`)}if(K.installationType==="development")q(`
|
|
21
|
+
`),q(X.yellow("You are running a development build — auto-update is unavailable.")+`
|
|
22
|
+
`),q(`To update, pull the latest source and rebuild:
|
|
23
|
+
`),q(X.bold(" git pull && bun install && bun run build")+`
|
|
24
|
+
`),q(`
|
|
25
|
+
`),q(`Or reinstall from npm:
|
|
26
|
+
`),q(X.bold(" npm install -g @claudiolabs/claudio@latest")+`
|
|
27
|
+
`),await Z(0);if(K.installationType==="package-manager"){let J=await F();if(q(`
|
|
28
|
+
`),J==="homebrew"){q(`Claude is managed by Homebrew.
|
|
29
|
+
`);let Y=await G(Q);if(Y&&!v("0.1.10",Y))q(`Update available: ${"0.1.10"} → ${Y}
|
|
30
|
+
`),q(`
|
|
31
|
+
`),q(`To update, run:
|
|
32
|
+
`),q(X.bold(" brew upgrade claude-code")+`
|
|
33
|
+
`);else q(`Claude is up to date!
|
|
34
|
+
`)}else if(J==="winget"){q(`Claude is managed by winget.
|
|
35
|
+
`);let Y=await G(Q);if(Y&&!v("0.1.10",Y))q(`Update available: ${"0.1.10"} → ${Y}
|
|
36
|
+
`),q(`
|
|
37
|
+
`),q(`To update, run:
|
|
38
|
+
`),q(X.bold(" winget upgrade Anthropic.ClaudeCode")+`
|
|
39
|
+
`);else q(`Claude is up to date!
|
|
40
|
+
`)}else if(J==="apk"){q(`Claude is managed by apk.
|
|
41
|
+
`);let Y=await G(Q);if(Y&&!v("0.1.10",Y))q(`Update available: ${"0.1.10"} → ${Y}
|
|
42
|
+
`),q(`
|
|
43
|
+
`),q(`To update, run:
|
|
44
|
+
`),q(X.bold(" apk upgrade claude-code")+`
|
|
45
|
+
`);else q(`Claude is up to date!
|
|
46
|
+
`)}else q(`Claude is managed by a package manager.
|
|
47
|
+
`),q(`Please use your package manager to update.
|
|
48
|
+
`);await Z(0)}if($.installMethod&&K.configInstallMethod!=="not set"&&K.installationType!=="package-manager"){let{installationType:J,configInstallMethod:Y}=K,V={"npm-local":"local","npm-global":"global",native:"native",development:"development",unknown:"unknown"}[J]||J;if(V!==Y&&Y!=="unknown")q(`
|
|
49
|
+
`),q(X.yellow("Warning: Configuration mismatch")+`
|
|
50
|
+
`),q(`Config expects: ${Y} installation
|
|
51
|
+
`),q(`Currently running: ${J}
|
|
52
|
+
`),q(X.yellow(`Updating the ${J} installation you are currently using`)+`
|
|
53
|
+
`),U((p)=>({...p,installMethod:V})),q(`Config updated to reflect current installation method: ${V}
|
|
54
|
+
`)}if(K.installationType==="native"){W("update: Detected native installation, using native updater");try{let J=await L(Q,!0);if(J.lockFailed){let Y=J.lockHolderPid?` (PID ${J.lockHolderPid})`:"";q(X.yellow(`Another Claude process${Y} is currently running. Please try again in a moment.`)+`
|
|
55
|
+
`),await Z(0)}if(!J.latestVersion)process.stderr.write(`Failed to check for updates
|
|
56
|
+
`),await Z(1);if(J.latestVersion==="0.1.10")q(X.green("Claudio is up to date (0.1.10)")+`
|
|
57
|
+
`);else q(X.green(`Successfully updated from 0.1.10 to version ${J.latestVersion}`)+`
|
|
58
|
+
`),await C();await Z(0)}catch(J){process.stderr.write(`Error: Failed to install native update
|
|
59
|
+
`),process.stderr.write(String(J)+`
|
|
60
|
+
`),process.stderr.write(`Try running "claude doctor" for diagnostics
|
|
61
|
+
`),await Z(1)}}if($.installMethod!=="native")await m();W("update: Checking npm registry for latest version"),W("update: Package URL: @claudiolabs/claudio"),W(`update: Running: ${`npm view @claudiolabs/claudio@${Q==="stable"?"stable":"latest"} version`}`);let z=await G(Q);if(W(`update: Latest version from npm: ${z||"FAILED"}`),!z){if(W("update: Failed to get latest version from npm registry"),process.stderr.write(X.red("Failed to check for updates")+`
|
|
62
|
+
`),process.stderr.write(`Unable to fetch latest version from npm registry
|
|
63
|
+
`),process.stderr.write(`
|
|
64
|
+
`),process.stderr.write(`Possible causes:
|
|
65
|
+
`),process.stderr.write(` • Network connectivity issues
|
|
66
|
+
`),process.stderr.write(` • npm registry is unreachable
|
|
67
|
+
`),process.stderr.write(` • Corporate proxy/firewall blocking npm
|
|
68
|
+
`),!"@claudiolabs/claudio".startsWith("@anthropic"))process.stderr.write(` • Internal/development build not published to npm
|
|
69
|
+
`);process.stderr.write(`
|
|
70
|
+
`),process.stderr.write(`Try:
|
|
71
|
+
`),process.stderr.write(` • Check your internet connection
|
|
72
|
+
`),process.stderr.write(` • Run with --debug flag for more details
|
|
73
|
+
`);let J="@claudiolabs/claudio";process.stderr.write(` • Manually check: npm view ${J} version
|
|
74
|
+
`),process.stderr.write(` • Check if you need to login: npm whoami
|
|
75
|
+
`),await Z(1)}if(z==="0.1.10")q(X.green("Claudio is up to date (0.1.10)")+`
|
|
76
|
+
`),await Z(0);q(`New version available: ${z} (current: 0.1.10)
|
|
77
|
+
`),q(`Installing update...
|
|
78
|
+
`);let A=!1,H="";switch(K.installationType){case"npm-local":A=!0,H="local";break;case"npm-global":A=!1,H="global";break;case"unknown":{let J=await E();A=J,H=J?"local":"global",q(X.yellow("Warning: Could not determine installation type")+`
|
|
79
|
+
`),q(`Attempting ${H} update based on file detection...
|
|
80
|
+
`);break}default:process.stderr.write(`Error: Cannot update ${K.installationType} installation
|
|
81
|
+
`),await Z(1)}q(`Using ${H} installation update method...
|
|
82
|
+
`),W(`update: Update method determined: ${H}`),W(`update: useLocalUpdate: ${A}`);let I;if(A)W("update: Calling installOrUpdateClaudePackage() for local update"),I=await D(Q);else W("update: Calling installGlobalPackage() for global update"),I=await b();switch(W(`update: Installation status: ${I}`),I){case"success":q(X.green(`Successfully updated from 0.1.10 to version ${z}`)+`
|
|
83
|
+
`),await C();break;case"no_permissions":if(process.stderr.write(`Error: Insufficient permissions to install update
|
|
84
|
+
`),A)process.stderr.write(`Try manually updating with:
|
|
85
|
+
`),process.stderr.write(` cd ~/.claudio/local && npm update @claudiolabs/claudio
|
|
86
|
+
`);else process.stderr.write(`Try running with sudo or fix npm permissions
|
|
87
|
+
`),process.stderr.write(`Or consider using native installation with: claudio install
|
|
88
|
+
`);await Z(1);break;case"install_failed":if(process.stderr.write(`Error: Failed to install update
|
|
89
|
+
`),A)process.stderr.write(`Try manually updating with:
|
|
90
|
+
`),process.stderr.write(` cd ~/.claudio/local && npm update @claudiolabs/claudio
|
|
91
|
+
`);else process.stderr.write(`Or consider using native installation with: claudio install
|
|
92
|
+
`);await Z(1);break;case"in_progress":process.stderr.write(`Error: Another instance is currently performing an update
|
|
93
|
+
`),process.stderr.write(`Please wait and try again later
|
|
94
|
+
`),await Z(1);break}await Z(0)}export{mq as update};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mb as a,nb as b}from"./cli-0.1.10-npkfteg7.mjs";import"./cli-0.1.10-jy7ds572.mjs";import"./cli-0.1.10-v6gq9bxc.mjs";import"./cli-0.1.10-28zx3btb.mjs";import"./cli-0.1.10-bqsa7eam.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-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{a as call};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{h5 as I,k5 as f,p5 as E,q5 as _,v5 as v}from"./cli-0.1.10-y6a8q1t3.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{Vca as H,Yca as d}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{Cga as c,Wga as M,Zga as N,aga as P,cga as u,yga as S}from"./cli-0.1.10-e4qewc1p.mjs";import{bha as W,lha as i}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{Lna as L}from"./cli-0.1.10-hyxg32sc.mjs";d();u();N();i();c();import{mkdir as l,readFile as C,unlink as n,writeFile as r}from"fs/promises";import{homedir as o}from"os";import{join as U}from"path";N();f();v();import{createServer as y}from"node:net";var R,m=524288,b=30000;function O(q){let z=q.length,Q=[],J=z;while(J>127)Q.push(J&127|128),J>>>=7;Q.push(J);let Z=new Uint8Array(1+Q.length+z);return Z[0]=10,Z.set(Q,1),Z.set(q,1+Q.length),Z}function w(q){if(q.length===0)return new Uint8Array(0);if(q[0]!==10)return null;let z=0,Q=0,J=1;while(J<q.length){let Z=q[J];if(z|=(Z&127)<<Q,J++,(Z&128)===0)break;if(Q+=7,Q>28)return null}if(J+z>q.length)return null;return q.subarray(J,J+z)}function j(){return{connectBuf:Buffer.alloc(0),pending:[],wsOpen:!1,established:!1,closed:!1}}async function A(q){let z="Basic "+Buffer.from(`${q.sessionId}:${q.token}`).toString("base64"),Q=`Bearer ${q.token}`,J=typeof Bun<"u"?h(q.wsUrl,z,Q):await p(q.wsUrl,z,Q);return M(`[upstreamproxy] relay listening on 127.0.0.1:${J.port}`),J}function h(q,z,Q){let J=Bun.listen({hostname:"127.0.0.1",port:0,socket:{open(Z){Z.data={...j(),writeBuf:[]}},data(Z,G){let V=Z.data;T({write:($)=>{let Y=typeof $==="string"?Buffer.from($,"utf8"):$;if(V.writeBuf.length>0){V.writeBuf.push(Y);return}let x=Z.write(Y);if(x<Y.length)V.writeBuf.push(Y.subarray(x))},end:()=>Z.end()},V,G,q,z,Q)},drain(Z){let G=Z.data;while(G.writeBuf.length>0){let V=G.writeBuf[0],K=Z.write(V);if(K<V.length){G.writeBuf[0]=V.subarray(K);return}G.writeBuf.shift()}},close(Z){B(Z.data)},error(Z,G){M(`[upstreamproxy] client socket error: ${G.message}`),B(Z.data)}}});return{port:J.port,stop:()=>J.stop(!0)}}async function p(q,z,Q){R=(await import("./wrapper-0.1.10-10976h3e.mjs")).default;let J=new WeakMap,Z=y((G)=>{let V=j();J.set(G,V);let K={write:($)=>{G.write(typeof $==="string"?$:Buffer.from($))},end:()=>G.end()};G.on("data",($)=>T(K,V,$,q,z,Q)),G.on("close",()=>B(J.get(G))),G.on("error",($)=>{M(`[upstreamproxy] client socket error: ${$.message}`),B(J.get(G))})});return new Promise((G,V)=>{Z.once("error",V),Z.listen(0,"127.0.0.1",()=>{let K=Z.address();if(K===null||typeof K==="string"){V(Error("upstreamproxy: server has no TCP address"));return}G({port:K.port,stop:()=>Z.close()})})})}function T(q,z,Q,J,Z,G){if(!z.ws){z.connectBuf=Buffer.concat([z.connectBuf,Q]);let V=z.connectBuf.indexOf(`\r
|
|
2
|
+
\r
|
|
3
|
+
`);if(V===-1){if(z.connectBuf.length>8192)q.write(`HTTP/1.1 400 Bad Request\r
|
|
4
|
+
\r
|
|
5
|
+
`),q.end();return}let $=z.connectBuf.subarray(0,V).toString("utf8").split(`\r
|
|
6
|
+
`)[0]??"";if(!$.match(/^CONNECT\s+(\S+)\s+HTTP\/1\.[01]$/i)){q.write(`HTTP/1.1 405 Method Not Allowed\r
|
|
7
|
+
\r
|
|
8
|
+
`),q.end();return}let x=z.connectBuf.subarray(V+4);if(x.length>0)z.pending.push(Buffer.from(x));z.connectBuf=Buffer.alloc(0),k(q,z,$,J,Z,G);return}if(!z.wsOpen){z.pending.push(Buffer.from(Q));return}F(z.ws,Q)}function k(q,z,Q,J,Z,G){let V={"Content-Type":"application/proto",Authorization:G},K;if(R)K=new R(J,{headers:V,agent:E(J),...I()});else K=new globalThis.WebSocket(J,{headers:V,proxy:_(J),tls:I()||void 0});K.binaryType="arraybuffer",z.ws=K,K.onopen=()=>{let $=`${Q}\r
|
|
9
|
+
Proxy-Authorization: ${Z}\r
|
|
10
|
+
\r
|
|
11
|
+
`;K.send(O(Buffer.from($,"utf8"))),z.wsOpen=!0;for(let Y of z.pending)F(K,Y);z.pending=[],z.pinger=setInterval(g,b,K)},K.onmessage=($)=>{let Y=$.data instanceof ArrayBuffer?new Uint8Array($.data):new Uint8Array(Buffer.from($.data)),x=w(Y);if(x&&x.length>0)z.established=!0,q.write(x)},K.onerror=($)=>{let Y="message"in $?String($.message):"websocket error";if(M(`[upstreamproxy] ws error: ${Y}`),z.closed)return;if(z.closed=!0,!z.established)q.write(`HTTP/1.1 502 Bad Gateway\r
|
|
12
|
+
\r
|
|
13
|
+
`);q.end(),B(z)},K.onclose=()=>{if(z.closed)return;z.closed=!0,q.end(),B(z)}}function g(q){if(q.readyState===WebSocket.OPEN)q.send(O(new Uint8Array(0)))}function F(q,z){if(q.readyState!==WebSocket.OPEN)return;for(let Q=0;Q<z.length;Q+=m){let J=z.subarray(Q,Q+m);q.send(O(J))}}function B(q){if(!q)return;if(q.pinger)clearInterval(q.pinger);if(q.ws&&q.ws.readyState<=WebSocket.OPEN)try{q.ws.close()}catch{}q.ws=void 0}var a="/run/ccr/session_token",e="/etc/ssl/certs/ca-certificates.crt",D=["localhost","127.0.0.1","::1","169.254.0.0/16","10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","anthropic.com",".anthropic.com","*.anthropic.com","github.com","api.github.com","*.github.com","*.githubusercontent.com","registry.npmjs.org","pypi.org","files.pythonhosted.org","index.crates.io","proxy.golang.org"].join(","),X={enabled:!1};async function Oq(q){if(!W(process.env.CLAUDE_CODE_REMOTE))return X;if(!W(process.env.CCR_UPSTREAM_PROXY_ENABLED))return X;let z=process.env.CLAUDE_CODE_REMOTE_SESSION_ID;if(!z)return M("[upstreamproxy] CLAUDE_CODE_REMOTE_SESSION_ID unset; proxy disabled",{level:"warn"}),X;let Q=q?.tokenPath??a,J=await s(Q);if(!J)return M("[upstreamproxy] no session token file; proxy disabled"),X;qq();let Z=H(),G=q?.ccrBaseUrl??(Z?.transport==="anthropic"?Z.baseUrl:void 0)??"https://api.anthropic.com",V=q?.caBundlePath??U(o(),".ccr","ca-bundle.crt");if(!await zq(G,q?.systemCaPath??e,V))return X;try{let $=G.replace(/^http/,"ws")+"/v1/code/upstreamproxy/ws",Y=await A({wsUrl:$,sessionId:z,token:J});P(async()=>Y.stop()),X={enabled:!0,port:Y.port,caBundlePath:V},M(`[upstreamproxy] enabled on 127.0.0.1:${Y.port}`),await n(Q).catch(()=>{M("[upstreamproxy] token file unlink failed",{level:"warn"})})}catch($){M(`[upstreamproxy] relay start failed: ${$ instanceof Error?$.message:String($)}; proxy disabled`,{level:"warn"})}return X}function Wq(){if(!X.enabled||!X.port||!X.caBundlePath){if(process.env.HTTPS_PROXY&&process.env.SSL_CERT_FILE){let z={};for(let Q of["HTTPS_PROXY","https_proxy","NO_PROXY","no_proxy","SSL_CERT_FILE","NODE_EXTRA_CA_CERTS","REQUESTS_CA_BUNDLE","CURL_CA_BUNDLE"])if(process.env[Q])z[Q]=process.env[Q];return z}return{}}let q=`http://127.0.0.1:${X.port}`;return{HTTPS_PROXY:q,https_proxy:q,NO_PROXY:D,no_proxy:D,SSL_CERT_FILE:X.caBundlePath,NODE_EXTRA_CA_CERTS:X.caBundlePath,REQUESTS_CA_BUNDLE:X.caBundlePath,CURL_CA_BUNDLE:X.caBundlePath}}function mq(){X={enabled:!1}}function t(q){if(!q||!q.trim())return!1;return/-----BEGIN CERTIFICATE-----[\s\S]+?-----END CERTIFICATE-----/g.test(q)}async function s(q){try{return(await C(q,"utf8")).trim()||null}catch(z){if(S(z))return null;return M(`[upstreamproxy] token read failed: ${z instanceof Error?z.message:String(z)}`,{level:"warn"}),null}}function qq(){if(process.platform!=="linux"||typeof Bun>"u")return;try{let z=L("bun:ffi").dlopen("libc.so.6",{prctl:{args:["int","u64","u64","u64","u64"],returns:"int"}}),Q=4;if(z.symbols.prctl(4,0n,0n,0n,0n)!==0)M("[upstreamproxy] prctl(PR_SET_DUMPABLE,0) returned nonzero",{level:"warn"})}catch(q){M(`[upstreamproxy] prctl unavailable: ${q instanceof Error?q.message:String(q)}`,{level:"warn"})}}async function zq(q,z,Q){try{let J=await fetch(`${q}/v1/code/upstreamproxy/ca-cert`,{signal:AbortSignal.timeout(5000)});if(!J.ok)return M(`[upstreamproxy] ca-cert fetch ${J.status}; proxy disabled`,{level:"warn"}),!1;let Z=await J.text();if(!t(Z))return M("[upstreamproxy] ca-cert response is not valid PEM; proxy disabled",{level:"warn"}),!1;let G=await C(z,"utf8").catch(()=>"");return await l(U(Q,".."),{recursive:!0}),await r(Q,G+`
|
|
14
|
+
`+Z,"utf8"),!0}catch(J){return M(`[upstreamproxy] ca-cert download failed: ${J instanceof Error?J.message:String(J)}; proxy disabled`,{level:"warn"}),!1}}export{mq as resetUpstreamProxyForTests,t as isValidPemContent,Oq as initUpstreamProxy,Wq as getUpstreamProxyEnv,a as SESSION_TOKEN_PATH};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{lf as h,mf as y}from"./cli-0.1.10-4vnky3f9.mjs";import"./cli-0.1.10-f7wg8ttz.mjs";import"./cli-0.1.10-rjz4ymc4.mjs";import"./cli-0.1.10-17f08ra3.mjs";import"./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-2gmmnep8.mjs";import"./cli-0.1.10-hpg8gdm2.mjs";import"./cli-0.1.10-1faf50d6.mjs";import"./cli-0.1.10-ejtn8grm.mjs";import"./cli-0.1.10-x2eaxa4s.mjs";import"./cli-0.1.10-p4a151rw.mjs";import"./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"./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 f}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"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Gna as b,Kna as w}from"./cli-0.1.10-hyxg32sc.mjs";var k,B=async(l,q)=>{return k.jsxDEV(h,{onClose:l,context:q,defaultTab:"Usage"},void 0,!1,void 0,this)};var z=w(()=>{y();k=b(f(),1)});z();export{B as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as K}from"./cli-0.1.10-f1nw74m1.mjs";import"./cli-0.1.10-h7egg5xp.mjs";import{Sa as O}from"./cli-0.1.10-zxcxqxwv.mjs";import{Wa as F}from"./cli-0.1.10-hrjh10v7.mjs";import"./cli-0.1.10-4jsc4zm5.mjs";import"./cli-0.1.10-qhh8pa5t.mjs";import"./cli-0.1.10-v582vfad.mjs";import"./cli-0.1.10-c7bkm855.mjs";import"./cli-0.1.10-6g6ga1zd.mjs";import{xe as B,ye as S}from"./cli-0.1.10-9dfywk37.mjs";import"./cli-0.1.10-brfs5rdm.mjs";import{JJ as Z,NJ as P,qv as Y,rv as C}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 Q,MU as U,_S as w,pV as $}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 L}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as W}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-977j0ey2.mjs";import"./cli-0.1.10-2ahvbvra.mjs";import"./cli-0.1.10-73y7xdxy.mjs";import{a4 as _,b5 as M}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"./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 X,Zfa as y}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 I,Lna as J}from"./cli-0.1.10-hyxg32sc.mjs";var R=I(w(),1),z=I(W(),1);import{cwd as m}from"process";$();C();y();S();P();M();var f=I(L(),1);async function x(k){X("tengu_setup_token_command",{});let q=!_(),{ConsoleOAuthFlow:H}=await import("./ConsoleOAuthFlow-0.1.10-fkrt161g.mjs");await new Promise((G)=>{k.render(f.jsxDEV(Z,{onChangeAppState:F,children:f.jsxDEV(Y,{children:f.jsxDEV(Q,{flexDirection:"column",gap:1,children:[f.jsxDEV(O,{},void 0,!1,void 0,this),q&&f.jsxDEV(Q,{flexDirection:"column",children:[f.jsxDEV(U,{color:"warning",children:"Warning: You already have authentication configured via environment variable or API key helper."},void 0,!1,void 0,this),f.jsxDEV(U,{color:"warning",children:"The setup-token command will create a new OAuth token which you can use instead."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f.jsxDEV(H,{onDone:()=>{G()},mode:"setup-token",startingMessage:"This will guide you through long-lived (1-year) auth token setup for your Claude account. Claude subscription required."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}),k.unmount(),process.exit(0)}var d=z.default.lazy(()=>import("./Doctor-0.1.10-hzxpkma0.mjs").then((k)=>({default:k.Doctor})));function h(k){let q=R.c(2),{onDone:H}=k;K();let G;if(q[0]!==H)G=f.jsxDEV(z.default.Suspense,{fallback:null,children:f.jsxDEV(d,{onDone:H},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[0]=H,q[1]=G;else G=q[1];return G}async function D(k){X("tengu_doctor_command",{}),await new Promise((q)=>{k.render(f.jsxDEV(Z,{children:f.jsxDEV(Y,{children:f.jsxDEV(B,{dynamicMcpConfig:void 0,isStrictMcpConfig:!1,children:f.jsxDEV(h,{onDone:()=>{q()}},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}),k.unmount(),process.exit(0)}async function l(k,q){let{setup:H}=await import("./setup-0.1.10-fbs90hdh.mjs");await H(m(),"default",!1,!1,void 0,!1);let{install:G}=await import("./install-0.1.10-9w2w5vre.mjs");await new Promise((T)=>{let N=[];if(k)N.push(k);if(q.force)N.push("--force");G.call((b)=>{T(),process.exit(b.includes("failed")?1:0)},{},N)})}export{x as setupTokenHandler,l as installHandler,D as doctorHandler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{FB as a,GB as b,HB as c,IB as d,JB as e,KB as f,LB as g,MB as h,NB as i,OB as j}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"./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"./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"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import"./cli-0.1.10-hyxg32sc.mjs";j();export{d as validateURL,c as isPreapprovedUrl,f as isPermittedRedirect,g as getWithPermittedRedirects,h as getURLMarkdownContent,a as clearWebFetchCache,e as checkDomainBlocklist,i as applyPromptToMarkdown,b as MAX_MARKDOWN_LENGTH};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Oba as D,sba as p,vba as q}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 m,Zfa as B}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{Kna as A}from"./cli-0.1.10-hyxg32sc.mjs";var K=async()=>{let k=q().editorMode||"normal";if(k==="emacs")k="normal";let h=k==="normal"?"vim":"normal";return p((z)=>({...z,editorMode:h})),m("tengu_editor_mode_changed",{mode:h,source:"command"}),{type:"text",value:`Editor mode set to ${h}. ${h==="vim"?"Use Escape key to toggle between INSERT and NORMAL modes.":"Using standard (readline) keyboard bindings."}`}};var F=A(()=>{B();D()});F();export{K as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mD as a,nD as b,oD as c,pD as d,qD as e,rD as f,sD as g}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"./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"./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"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import"./cli-0.1.10-hyxg32sc.mjs";g();export{d as stopTeamMemoryWatcher,b as startTeamMemoryWatcher,c as notifyTeamMemoryWrite,a as isPermanentFailure,f as _startFileWatcherForTesting,e as _resetWatcherStateForTesting};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import"./cli-0.1.10-28zx3btb.mjs";import{Vda as E,Wda as dt,wea as M,xea as O,yea as ft}from"./cli-0.1.10-4n8p34vn.mjs";import"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import{Kna as l}from"./cli-0.1.10-hyxg32sc.mjs";import{join as m}from"path";function c(t){let e=m(t,K,X);return{root:e,pagesDir:m(e,"pages"),sourcesDir:m(e,"sources"),schemaFile:m(e,"schema.md"),indexFile:m(e,"index.md"),logFile:m(e,"log.md")}}var K=".claudio",X="wiki";var p=()=>{};import{mkdir as J,writeFile as G}from"fs/promises";import{basename as H,relative as W}from"path";function Q(t){return`# Claudio Wiki Schema
|
|
2
|
+
|
|
3
|
+
This wiki stores durable, human-readable project knowledge for ${t}.
|
|
4
|
+
|
|
5
|
+
## Goals
|
|
6
|
+
|
|
7
|
+
- Keep useful project knowledge in markdown, not only in chat history
|
|
8
|
+
- Prefer synthesized facts over raw copy-paste
|
|
9
|
+
- Keep source attribution explicit
|
|
10
|
+
- Make pages easy for both humans and agents to update
|
|
11
|
+
|
|
12
|
+
## Structure
|
|
13
|
+
|
|
14
|
+
- \`index.md\`: top-level navigation and major topics
|
|
15
|
+
- \`log.md\`: append-only update log
|
|
16
|
+
- \`pages/\`: durable topic and architecture pages
|
|
17
|
+
- \`sources/\`: source ingestion notes and summaries
|
|
18
|
+
|
|
19
|
+
## Page Rules
|
|
20
|
+
|
|
21
|
+
- Keep pages focused on one topic
|
|
22
|
+
- Use stable headings such as:
|
|
23
|
+
- \`## Summary\`
|
|
24
|
+
- \`## Key Facts\`
|
|
25
|
+
- \`## Relationships\`
|
|
26
|
+
- \`## Open Questions\`
|
|
27
|
+
- \`## Sources\`
|
|
28
|
+
- Add or update facts only when they are grounded in project files or explicit source notes
|
|
29
|
+
- Prefer editing an existing page over creating duplicates
|
|
30
|
+
`}function B(t){return`# ${t} Wiki
|
|
31
|
+
|
|
32
|
+
This wiki is maintained by Claudio as a durable project knowledge layer.
|
|
33
|
+
|
|
34
|
+
## Core Pages
|
|
35
|
+
|
|
36
|
+
- [Architecture](./pages/architecture.md)
|
|
37
|
+
|
|
38
|
+
## Sources
|
|
39
|
+
|
|
40
|
+
- Source notes live in [sources/](./sources/)
|
|
41
|
+
|
|
42
|
+
## Recent Updates
|
|
43
|
+
|
|
44
|
+
- See [log.md](./log.md)
|
|
45
|
+
`}function q(t){return`# Wiki Update Log
|
|
46
|
+
|
|
47
|
+
- ${t}: Wiki initialized by Claudio
|
|
48
|
+
`}function V(t){return`# Architecture
|
|
49
|
+
|
|
50
|
+
## Summary
|
|
51
|
+
|
|
52
|
+
High-level architecture notes for ${t}.
|
|
53
|
+
|
|
54
|
+
## Key Facts
|
|
55
|
+
|
|
56
|
+
- This page is the starting point for durable architecture knowledge.
|
|
57
|
+
|
|
58
|
+
## Relationships
|
|
59
|
+
|
|
60
|
+
- Link this page to major subsystems as the wiki grows.
|
|
61
|
+
|
|
62
|
+
## Open Questions
|
|
63
|
+
|
|
64
|
+
- What are the most important runtime subsystems?
|
|
65
|
+
- Which files best represent the system architecture?
|
|
66
|
+
|
|
67
|
+
## Sources
|
|
68
|
+
|
|
69
|
+
- Wiki bootstrap
|
|
70
|
+
`}async function f(t,e,i){try{await G(t,e,{encoding:"utf8",flag:"wx"}),i.push(t)}catch(r){if(typeof r==="object"&&r!==null&&"code"in r&&r.code==="EEXIST")return;throw r}}async function h(t){let e=c(t),i=[],r=[];for(let s of[e.root,e.pagesDir,e.sourcesDir])await J(s,{recursive:!0}),i.push(s);let n=H(t),o=new Date().toISOString();return await f(e.schemaFile,Q(n),r),await f(e.indexFile,B(n),r),await f(e.logFile,q(o),r),await f(`${e.pagesDir}/architecture.md`,V(n),r),{root:e.root,createdFiles:r.map((s)=>W(t,s)),createdDirectories:i.map((s)=>W(t,s)),alreadyExisted:r.length===0}}var y=l(()=>{p()});import{readdir as Y,readFile as Z,writeFile as tt}from"fs/promises";import{basename as w,relative as F}from"path";async function k(t){let e=await Y(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await k(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i.sort()}async function et(t){let i=(await Z(t,"utf8")).split(`
|
|
71
|
+
`).map((r)=>r.trim()).find((r)=>r.startsWith("# "));return i?i.replace(/^#\s+/,""):w(t,".md")}async function P(t){let e=c(t),i=await k(e.pagesDir),r=await k(e.sourcesDir),n=await Promise.all(i.map(async(a)=>{let u=F(e.root,a);return`- [${await et(a)}](./${u.replace(/\\/g,"/")})`})),o=r.map((a)=>{let u=F(e.root,a).replace(/\\/g,"/");return`- [${w(a,".md")}](./${u})`}),s=`# ${w(t)} Wiki
|
|
72
|
+
|
|
73
|
+
This wiki is maintained by Claudio as a durable project knowledge layer.
|
|
74
|
+
|
|
75
|
+
## Core Pages
|
|
76
|
+
|
|
77
|
+
${n.length>0?n.join(`
|
|
78
|
+
`):"- No pages yet"}
|
|
79
|
+
|
|
80
|
+
## Sources
|
|
81
|
+
|
|
82
|
+
${o.length>0?o.join(`
|
|
83
|
+
`):"- No sources yet"}
|
|
84
|
+
|
|
85
|
+
## Recent Updates
|
|
86
|
+
|
|
87
|
+
- See [log.md](./log.md)
|
|
88
|
+
`;await tt(e.indexFile,s,"utf8")}var b=l(()=>{p()});function C(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,"-")}function I(t,e=280){let i=t.replace(/\s+/g," ").trim();if(!i)return"No summary available.";if(i.length<=e)return i;return`${i.slice(0,e-1).trimEnd()}…`}function j(t,e){let i=e.split(`
|
|
89
|
+
`).map((r)=>r.trim()).find(Boolean);if(!i)return t;return i.replace(/^#+\s*/,"")||t}var R=()=>{};import{appendFile as it,readFile as rt,stat as nt,writeFile as st}from"fs/promises";import{basename as ot,extname as at,isAbsolute as ct,relative as L,resolve as ut}from"path";function lt(t){let{title:e,sourcePath:i,ingestedAt:r,summary:n,excerpt:o}=t;return`# ${e}
|
|
90
|
+
|
|
91
|
+
## Source
|
|
92
|
+
|
|
93
|
+
- Path: \`${i}\`
|
|
94
|
+
- Ingested at: ${r}
|
|
95
|
+
|
|
96
|
+
## Summary
|
|
97
|
+
|
|
98
|
+
${n}
|
|
99
|
+
|
|
100
|
+
## Excerpt
|
|
101
|
+
|
|
102
|
+
\`\`\`
|
|
103
|
+
${o}
|
|
104
|
+
\`\`\`
|
|
105
|
+
|
|
106
|
+
## Linked Pages
|
|
107
|
+
|
|
108
|
+
- [Architecture](../pages/architecture.md)
|
|
109
|
+
`}function mt(t,e,i){return`- ${i}: Ingested \`${t}\` into source note "${e}"`}async function A(t,e){await h(t);let i=ct(e)?e:ut(t,e);if(!(await nt(i)).isFile())throw Error(`Not a file: ${i}`);let n=await rt(i,"utf8"),o=L(t,i).replace(/\\/g,"/"),s=new Date().toISOString(),a=ot(i,at(i)),u=j(a,n),d=I(n),U=n.split(`
|
|
110
|
+
`).slice(0,20).join(`
|
|
111
|
+
`).trim(),_=C(`${a}-${Date.now()}`)||`source-${Date.now()}`,S=c(t),x=`${S.sourcesDir}/${_}.md`;return await st(x,lt({title:u,sourcePath:o,ingestedAt:s,summary:d,excerpt:U}),"utf8"),await it(S.logFile,`${mt(o,u,s)}
|
|
112
|
+
`,"utf8"),await P(t),{sourceFile:o,sourceNote:L(t,x).replace(/\\/g,"/"),summary:d,title:u}}var T=l(()=>{y();b();p();R()});import{readdir as pt,stat as D}from"fs/promises";async function g(t){try{return await D(t),!0}catch{return!1}}async function $(t){if(!await g(t))return[];let e=await pt(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await $(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i}async function gt(t){let e=[];for(let i of t)try{let r=await D(i);e.push(r.mtimeMs)}catch{continue}if(e.length===0)return null;return new Date(Math.max(...e)).toISOString()}async function z(t){let e=c(t),[i,r,n,o,s,a]=await Promise.all([g(e.root),g(e.schemaFile),g(e.indexFile),g(e.logFile),$(e.pagesDir),$(e.sourcesDir)]);return{initialized:i&&r&&n&&o,root:e.root,pageCount:s.length,sourceCount:a.length,hasSchema:r,hasIndex:n,hasLog:o,lastUpdatedAt:await gt([e.schemaFile,e.indexFile,e.logFile,...s,...a])}}var N=l(()=>{p()});function v(){return`Usage: /wiki [init|status|ingest <path>]
|
|
113
|
+
|
|
114
|
+
Manage the Claudio project wiki stored in .claudio/wiki.
|
|
115
|
+
|
|
116
|
+
Commands:
|
|
117
|
+
/wiki init Initialize the wiki structure in the current project
|
|
118
|
+
/wiki status Show wiki status and page/source counts
|
|
119
|
+
/wiki ingest Ingest a local file into wiki sources
|
|
120
|
+
|
|
121
|
+
Examples:
|
|
122
|
+
/wiki init
|
|
123
|
+
/wiki status
|
|
124
|
+
/wiki ingest README.md`}function ht(t){let e=[`Initialized Claudio wiki at ${t.root}`];if(t.alreadyExisted)return e.push("","Wiki already existed. No new files were created."),e.join(`
|
|
125
|
+
`);if(t.createdFiles.length>0){e.push("","Created files:");for(let i of t.createdFiles)e.push(`- ${i}`)}return e.join(`
|
|
126
|
+
`)}function yt(t){if(!t.initialized)return`Claudio wiki is not initialized in this project.
|
|
127
|
+
|
|
128
|
+
Run /wiki init to create ${t.root}.`;return["Claudio wiki status","",`Root: ${t.root}`,`Pages: ${t.pageCount}`,`Sources: ${t.sourceCount}`,`Schema: ${t.hasSchema?"present":"missing"}`,`Index: ${t.hasIndex?"present":"missing"}`,`Log: ${t.hasLog?"present":"missing"}`,`Last updated: ${t.lastUpdatedAt??"unknown"}`].join(`
|
|
129
|
+
`)}function wt(t){return[`Ingested ${t.sourceFile} into the Claudio wiki.`,"",`Title: ${t.title}`,`Source note: ${t.sourceNote}`,`Summary: ${t.summary}`].join(`
|
|
130
|
+
`)}async function kt(t,e){let i=E(),r=e.trim().toLowerCase();if(M.includes(r)||O.includes(r)){t(v(),{display:"system"});return}if(!r||r==="status"){t(yt(await z(i)),{display:"system"});return}if(r==="init"){t(ht(await h(i)),{display:"system"});return}if(r.startsWith("ingest")){let n=e.trim().slice(6).trim();if(!n){t("Usage: /wiki ingest <local-file-path>",{display:"system"});return}t(wt(await A(i,n)),{display:"system"});return}t(`Unknown wiki subcommand: ${e.trim()}
|
|
131
|
+
|
|
132
|
+
${v()}`,{display:"system"})}var Ht=async(t,e,i)=>{return await kt(t,i??""),null};var $t=l(()=>{ft();T();y();N();dt()});$t();export{Ht as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{AO as j,BO as k,CO as l,DO as m,EO as n,FO as o,GO as p,HO as q,IO as r,JO as s,KO as t,LO as u,MO as v,rO as a,sO as b,tO as c,uO as d,vO as e,wO as f,xO as g,yO as h,zO as i}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"./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"./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"./cli-0.1.10-mqgz2v10.mjs";import"./cli-0.1.10-akaq0zte.mjs";import"./cli-0.1.10-hyxg32sc.mjs";v();export{g as worktreeBranchName,e as withGitWorktreeMutationLock,a as validateWorktreeSlug,c as restoreWorktreeSession,r as removeAgentWorktree,i as parsePRReference,m as killTmuxSession,o as keepWorktree,j as isTmuxAvailable,t as hasWorktreeChanges,k as getTmuxInstallInstructions,b as getCurrentWorktreeSession,d as generateTmuxSessionName,u as execIntoTmuxWorktree,n as createWorktreeForSession,l as createTmuxSessionForWorktree,q as createAgentWorktree,h as copyWorktreeIncludeFiles,p as cleanupWorktree,s as cleanupStaleAgentWorktrees,f as _resetGitWorktreeMutationLocksForTesting};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{JQ as a,KQ as b}from"./cli-0.1.10-4a42q38j.mjs";import"./cli-0.1.10-hyxg32sc.mjs";b();export{a as isWorktreeModeEnabled};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{Gna as S,Ina as M,Kna as X4,Lna as R}from"./cli-0.1.10-hyxg32sc.mjs";var C=M((V4,h0)=>{var g0=["nodebuffer","arraybuffer","fragments"],w0=typeof Blob<"u";if(w0)g0.push("blob");h0.exports={BINARY_TYPES:g0,CLOSE_TIMEOUT:30000,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:w0,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var a=M((_4,X0)=>{var{EMPTY_BUFFER:m5}=C(),F0=Buffer[Symbol.species];function f5(J,K){if(J.length===0)return m5;if(J.length===1)return J[0];let X=Buffer.allocUnsafe(K),Z=0;for(let $=0;$<J.length;$++){let G=J[$];X.set(G,Z),Z+=G.length}if(Z<K)return new F0(X.buffer,X.byteOffset,Z);return X}function m0(J,K,X,Z,$){for(let G=0;G<$;G++)X[Z+G]=J[G]^K[G&3]}function f0(J,K){for(let X=0;X<J.length;X++)J[X]^=K[X&3]}function u5(J){if(J.length===J.buffer.byteLength)return J.buffer;return J.buffer.slice(J.byteOffset,J.byteOffset+J.length)}function D0(J){if(D0.readOnly=!0,Buffer.isBuffer(J))return J;let K;if(J instanceof ArrayBuffer)K=new F0(J);else if(ArrayBuffer.isView(J))K=new F0(J.buffer,J.byteOffset,J.byteLength);else K=Buffer.from(J),D0.readOnly=!1;return K}X0.exports={concat:f5,mask:m0,toArrayBuffer:u5,toBuffer:D0,unmask:f0};if(!process.env.WS_NO_BUFFER_UTIL)try{let J=(()=>{throw new Error("Cannot require module "+"bufferutil");})();X0.exports.mask=function(K,X,Z,$,G){if(G<48)m0(K,X,Z,$,G);else J.mask(K,X,Z,$,G)},X0.exports.unmask=function(K,X){if(K.length<32)f0(K,X);else J.unmask(K,X)}}catch(J){}});var i0=M((N4,p0)=>{var u0=Symbol("kDone"),P0=Symbol("kRun");class l0{constructor(J){this[u0]=()=>{this.pending--,this[P0]()},this.concurrency=J||1/0,this.jobs=[],this.pending=0}add(J){this.jobs.push(J),this[P0]()}[P0](){if(this.pending===this.concurrency)return;if(this.jobs.length){let J=this.jobs.shift();this.pending++,J(this[u0])}}}p0.exports=l0});var p=M((H4,n0)=>{var s=R("zlib"),b0=a(),l5=i0(),{kStatusCode:k0}=C(),p5=Buffer[Symbol.species],i5=Buffer.from([0,0,255,255]),$0=Symbol("permessage-deflate"),U=Symbol("total-length"),u=Symbol("callback"),L=Symbol("buffers"),l=Symbol("error"),Z0;class d0{constructor(J){if(this._options=J||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Z0){let K=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Z0=new l5(K)}}static get extensionName(){return"permessage-deflate"}offer(){let J={};if(this._options.serverNoContextTakeover)J.server_no_context_takeover=!0;if(this._options.clientNoContextTakeover)J.client_no_context_takeover=!0;if(this._options.serverMaxWindowBits)J.server_max_window_bits=this._options.serverMaxWindowBits;if(this._options.clientMaxWindowBits)J.client_max_window_bits=this._options.clientMaxWindowBits;else if(this._options.clientMaxWindowBits==null)J.client_max_window_bits=!0;return J}accept(J){return J=this.normalizeParams(J),this.params=this._isServer?this.acceptAsServer(J):this.acceptAsClient(J),this.params}cleanup(){if(this._inflate)this._inflate.close(),this._inflate=null;if(this._deflate){let J=this._deflate[u];if(this._deflate.close(),this._deflate=null,J)J(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(J){let K=this._options,X=J.find((Z)=>{if(K.serverNoContextTakeover===!1&&Z.server_no_context_takeover||Z.server_max_window_bits&&(K.serverMaxWindowBits===!1||typeof K.serverMaxWindowBits==="number"&&K.serverMaxWindowBits>Z.server_max_window_bits)||typeof K.clientMaxWindowBits==="number"&&!Z.client_max_window_bits)return!1;return!0});if(!X)throw Error("None of the extension offers can be accepted");if(K.serverNoContextTakeover)X.server_no_context_takeover=!0;if(K.clientNoContextTakeover)X.client_no_context_takeover=!0;if(typeof K.serverMaxWindowBits==="number")X.server_max_window_bits=K.serverMaxWindowBits;if(typeof K.clientMaxWindowBits==="number")X.client_max_window_bits=K.clientMaxWindowBits;else if(X.client_max_window_bits===!0||K.clientMaxWindowBits===!1)delete X.client_max_window_bits;return X}acceptAsClient(J){let K=J[0];if(this._options.clientNoContextTakeover===!1&&K.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(!K.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number")K.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits==="number"&&K.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"');return K}normalizeParams(J){return J.forEach((K)=>{Object.keys(K).forEach((X)=>{let Z=K[X];if(Z.length>1)throw Error(`Parameter "${X}" must have only a single value`);if(Z=Z[0],X==="client_max_window_bits"){if(Z!==!0){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else if(X==="server_max_window_bits"){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(X==="client_no_context_takeover"||X==="server_no_context_takeover"){if(Z!==!0)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else throw Error(`Unknown parameter "${X}"`);K[X]=Z})}),J}decompress(J,K,X){Z0.add((Z)=>{this._decompress(J,K,($,G)=>{Z(),X($,G)})})}compress(J,K,X){Z0.add((Z)=>{this._compress(J,K,($,G)=>{Z(),X($,G)})})}_decompress(J,K,X){let Z=this._isServer?"client":"server";if(!this._inflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:G}),this._inflate[$0]=this,this._inflate[U]=0,this._inflate[L]=[],this._inflate.on("error",k5),this._inflate.on("data",c0)}if(this._inflate[u]=X,this._inflate.write(J),K)this._inflate.write(i5);this._inflate.flush(()=>{let $=this._inflate[l];if($){this._inflate.close(),this._inflate=null,X($);return}let G=b0.concat(this._inflate[L],this._inflate[U]);if(this._inflate._readableState.endEmitted)this._inflate.close(),this._inflate=null;else if(this._inflate[U]=0,this._inflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._inflate.reset();X(null,G)})}_compress(J,K,X){let Z=this._isServer?"server":"client";if(!this._deflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:G}),this._deflate[U]=0,this._deflate[L]=[],this._deflate.on("data",b5)}this._deflate[u]=X,this._deflate.write(J),this._deflate.flush(s.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let $=b0.concat(this._deflate[L],this._deflate[U]);if(K)$=new p5($.buffer,$.byteOffset,$.length-4);if(this._deflate[u]=null,this._deflate[U]=0,this._deflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._deflate.reset();X(null,$)})}}n0.exports=d0;function b5(J){this[L].push(J),this[U]+=J.length}function c0(J){if(this[U]+=J.length,this[$0]._maxPayload<1||this[U]<=this[$0]._maxPayload){this[L].push(J);return}this[l]=RangeError("Max payload size exceeded"),this[l].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[l][k0]=1009,this.removeListener("data",c0),this.reset()}function k5(J){if(this[$0]._inflate=null,this[l]){this[u](this[l]);return}J[k0]=1007,this[u](J)}});var i=M((R4,G0)=>{var{isUtf8:r0}=R("buffer"),{hasBlob:d5}=C(),c5=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n5(J){return J>=1000&&J<=1014&&J!==1004&&J!==1005&&J!==1006||J>=3000&&J<=4999}function M0(J){let K=J.length,X=0;while(X<K)if((J[X]&128)===0)X++;else if((J[X]&224)===192){if(X+1===K||(J[X+1]&192)!==128||(J[X]&254)===192)return!1;X+=2}else if((J[X]&240)===224){if(X+2>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||J[X]===224&&(J[X+1]&224)===128||J[X]===237&&(J[X+1]&224)===160)return!1;X+=3}else if((J[X]&248)===240){if(X+3>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||(J[X+3]&192)!==128||J[X]===240&&(J[X+1]&240)===128||J[X]===244&&J[X+1]>143||J[X]>244)return!1;X+=4}else return!1;return!0}function r5(J){return d5&&typeof J==="object"&&typeof J.arrayBuffer==="function"&&typeof J.type==="string"&&typeof J.stream==="function"&&(J[Symbol.toStringTag]==="Blob"||J[Symbol.toStringTag]==="File")}G0.exports={isBlob:r5,isValidStatusCode:n5,isValidUTF8:M0,tokenChars:c5};if(r0)G0.exports.isValidUTF8=function(J){return J.length<24?M0(J):r0(J)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let J=(()=>{throw new Error("Cannot require module "+"utf-8-validate");})();G0.exports.isValidUTF8=function(K){return K.length<32?M0(K):J(K)}}catch(J){}});var T0=M((A4,e0)=>{var{Writable:a5}=R("stream"),a0=p(),{BINARY_TYPES:s5,EMPTY_BUFFER:s0,kStatusCode:o5,kWebSocket:t5}=C(),{concat:O0,toArrayBuffer:e5,unmask:J1}=a(),{isValidStatusCode:K1,isValidUTF8:o0}=i(),Q0=Buffer[Symbol.species];class t0 extends a5{constructor(J={}){super();this._allowSynchronousEvents=J.allowSynchronousEvents!==void 0?J.allowSynchronousEvents:!0,this._binaryType=J.binaryType||s5[0],this._extensions=J.extensions||{},this._isServer=!!J.isServer,this._maxPayload=J.maxPayload|0,this._skipUTF8Validation=!!J.skipUTF8Validation,this[t5]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(J,K,X){if(this._opcode===8&&this._state==0)return X();this._bufferedBytes+=J.length,this._buffers.push(J),this.startLoop(X)}consume(J){if(this._bufferedBytes-=J,J===this._buffers[0].length)return this._buffers.shift();if(J<this._buffers[0].length){let X=this._buffers[0];return this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J),new Q0(X.buffer,X.byteOffset,J)}let K=Buffer.allocUnsafe(J);do{let X=this._buffers[0],Z=K.length-J;if(J>=X.length)K.set(this._buffers.shift(),Z);else K.set(new Uint8Array(X.buffer,X.byteOffset,J),Z),this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J);J-=X.length}while(J>0);return K}startLoop(J){this._loop=!0;do switch(this._state){case 0:this.getInfo(J);break;case 1:this.getPayloadLength16(J);break;case 2:this.getPayloadLength64(J);break;case 3:this.getMask();break;case 4:this.getData(J);break;case 5:case 6:this._loop=!1;return}while(this._loop);if(!this._errored)J()}getInfo(J){if(this._bufferedBytes<2){this._loop=!1;return}let K=this.consume(2);if((K[0]&48)!==0){let Z=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");J(Z);return}let X=(K[0]&64)===64;if(X&&!this._extensions[a0.extensionName]){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._fin=(K[0]&128)===128,this._opcode=K[0]&15,this._payloadLength=K[1]&127,this._opcode===0){if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(!this._fragmented){let Z=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._compressed=X}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let Z=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");J(Z);return}if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let Z=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");J(Z);return}}else{let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;if(this._masked=(K[1]&128)===128,this._isServer){if(!this._masked){let Z=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");J(Z);return}}else if(this._masked){let Z=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");J(Z);return}if(this._payloadLength===126)this._state=1;else if(this._payloadLength===127)this._state=2;else this.haveLength(J)}getPayloadLength16(J){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(J)}getPayloadLength64(J){if(this._bufferedBytes<8){this._loop=!1;return}let K=this.consume(8),X=K.readUInt32BE(0);if(X>Math.pow(2,21)-1){let Z=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");J(Z);return}this._payloadLength=X*Math.pow(2,32)+K.readUInt32BE(4),this.haveLength(J)}haveLength(J){if(this._payloadLength&&this._opcode<8){if(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){let K=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");J(K);return}}if(this._masked)this._state=3;else this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(J){let K=s0;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}if(K=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0)J1(K,this._mask)}if(this._opcode>7){this.controlMessage(K,J);return}if(this._compressed){this._state=5,this.decompress(K,J);return}if(K.length)this._messageLength=this._totalPayloadLength,this._fragments.push(K);this.dataMessage(J)}decompress(J,K){this._extensions[a0.extensionName].decompress(J,this._fin,(Z,$)=>{if(Z)return K(Z);if($.length){if(this._messageLength+=$.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let G=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");K(G);return}this._fragments.push($)}if(this.dataMessage(K),this._state===0)this.startLoop(K)})}dataMessage(J){if(!this._fin){this._state=0;return}let K=this._messageLength,X=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let Z;if(this._binaryType==="nodebuffer")Z=O0(X,K);else if(this._binaryType==="arraybuffer")Z=e5(O0(X,K));else if(this._binaryType==="blob")Z=new Blob(X);else Z=X;if(this._allowSynchronousEvents)this.emit("message",Z,!0),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!0),this._state=0,this.startLoop(J)})}else{let Z=O0(X,K);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");J($);return}if(this._state===5||this._allowSynchronousEvents)this.emit("message",Z,!1),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!1),this._state=0,this.startLoop(J)})}}controlMessage(J,K){if(this._opcode===8){if(J.length===0)this._loop=!1,this.emit("conclude",1005,s0),this.end();else{let X=J.readUInt16BE(0);if(!K1(X)){let $=this.createError(RangeError,`invalid status code ${X}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");K($);return}let Z=new Q0(J.buffer,J.byteOffset+2,J.length-2);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");K($);return}this._loop=!1,this.emit("conclude",X,Z),this.end()}this._state=0;return}if(this._allowSynchronousEvents)this.emit(this._opcode===9?"ping":"pong",J),this._state=0;else this._state=6,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",J),this._state=0,this.startLoop(K)})}createError(J,K,X,Z,$){this._loop=!1,this._errored=!0;let G=new J(X?`Invalid WebSocket frame: ${K}`:K);return Error.captureStackTrace(G,this.createError),G.code=$,G[o5]=Z,G}}e0.exports=t0});var B0=M((D4,X5)=>{var{Duplex:F4}=R("stream"),{randomFillSync:X1}=R("crypto"),J5=p(),{EMPTY_BUFFER:Z1,kWebSocket:$1,NOOP:G1}=C(),{isBlob:b,isValidStatusCode:Q1}=i(),{mask:K5,toBuffer:v}=a(),T=Symbol("kByteLength"),j1=Buffer.alloc(4),g,k=8192,x=0,I1=1,z1=2;class W{constructor(J,K,X){if(this._extensions=K||{},X)this._generateMask=X,this._maskBuffer=Buffer.alloc(4);this._socket=J,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=x,this.onerror=G1,this[$1]=void 0}static frame(J,K){let X,Z=!1,$=2,G=!1;if(K.mask){if(X=K.maskBuffer||j1,K.generateMask)K.generateMask(X);else{if(k===8192){if(g===void 0)g=Buffer.alloc(8192);X1(g,0,8192),k=0}X[0]=g[k++],X[1]=g[k++],X[2]=g[k++],X[3]=g[k++]}G=(X[0]|X[1]|X[2]|X[3])===0,$=6}let Q;if(typeof J==="string")if((!K.mask||G)&&K[T]!==void 0)Q=K[T];else J=Buffer.from(J),Q=J.length;else Q=J.length,Z=K.mask&&K.readOnly&&!G;let I=Q;if(Q>=65536)$+=8,I=127;else if(Q>125)$+=2,I=126;let j=Buffer.allocUnsafe(Z?Q+$:$);if(j[0]=K.fin?K.opcode|128:K.opcode,K.rsv1)j[0]|=64;if(j[1]=I,I===126)j.writeUInt16BE(Q,2);else if(I===127)j[2]=j[3]=0,j.writeUIntBE(Q,4,6);if(!K.mask)return[j,J];if(j[1]|=128,j[$-4]=X[0],j[$-3]=X[1],j[$-2]=X[2],j[$-1]=X[3],G)return[j,J];if(Z)return K5(J,X,j,$,Q),[j];return K5(J,X,J,0,Q),[j,J]}close(J,K,X,Z){let $;if(J===void 0)$=Z1;else if(typeof J!=="number"||!Q1(J))throw TypeError("First argument must be a valid error code number");else if(K===void 0||!K.length)$=Buffer.allocUnsafe(2),$.writeUInt16BE(J,0);else{let Q=Buffer.byteLength(K);if(Q>123)throw RangeError("The message must not be greater than 123 bytes");if($=Buffer.allocUnsafe(2+Q),$.writeUInt16BE(J,0),typeof K==="string")$.write(K,2);else $.set(K,2)}let G={[T]:$.length,fin:!0,generateMask:this._generateMask,mask:X,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};if(this._state!==x)this.enqueue([this.dispatch,$,!1,G,Z]);else this.sendFrame(W.frame($,G),Z)}ping(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(b(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:9,readOnly:$,rsv1:!1};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}pong(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(b(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:10,readOnly:$,rsv1:!1};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}send(J,K,X){let Z=this._extensions[J5.extensionName],$=K.binary?2:1,G=K.compress,Q,I;if(typeof J==="string")Q=Buffer.byteLength(J),I=!1;else if(b(J))Q=J.size,I=!1;else J=v(J),Q=J.length,I=v.readOnly;if(this._firstFragment){if(this._firstFragment=!1,G&&Z&&Z.params[Z._isServer?"server_no_context_takeover":"client_no_context_takeover"])G=Q>=Z._threshold;this._compress=G}else G=!1,$=0;if(K.fin)this._firstFragment=!0;let j={[T]:Q,fin:K.fin,generateMask:this._generateMask,mask:K.mask,maskBuffer:this._maskBuffer,opcode:$,readOnly:I,rsv1:G};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,this._compress,j,X]);else this.getBlobData(J,this._compress,j,X);else if(this._state!==x)this.enqueue([this.dispatch,J,this._compress,j,X]);else this.dispatch(J,this._compress,j,X)}getBlobData(J,K,X,Z){this._bufferedBytes+=X[T],this._state=z1,J.arrayBuffer().then(($)=>{if(this._socket.destroyed){let Q=Error("The socket was closed while the blob was being read");process.nextTick(x0,this,Q,Z);return}this._bufferedBytes-=X[T];let G=v($);if(!K)this._state=x,this.sendFrame(W.frame(G,X),Z),this.dequeue();else this.dispatch(G,K,X,Z)}).catch(($)=>{process.nextTick(Y1,this,$,Z)})}dispatch(J,K,X,Z){if(!K){this.sendFrame(W.frame(J,X),Z);return}let $=this._extensions[J5.extensionName];this._bufferedBytes+=X[T],this._state=I1,$.compress(J,X.fin,(G,Q)=>{if(this._socket.destroyed){let I=Error("The socket was closed while data was being compressed");x0(this,I,Z);return}this._bufferedBytes-=X[T],this._state=x,X.readOnly=!1,this.sendFrame(W.frame(Q,X),Z),this.dequeue()})}dequeue(){while(this._state===x&&this._queue.length){let J=this._queue.shift();this._bufferedBytes-=J[3][T],Reflect.apply(J[0],this,J.slice(1))}}enqueue(J){this._bufferedBytes+=J[3][T],this._queue.push(J)}sendFrame(J,K){if(J.length===2)this._socket.cork(),this._socket.write(J[0]),this._socket.write(J[1],K),this._socket.uncork();else this._socket.write(J[0],K)}}X5.exports=W;function x0(J,K,X){if(typeof X==="function")X(K);for(let Z=0;Z<J._queue.length;Z++){let $=J._queue[Z],G=$[$.length-1];if(typeof G==="function")G(K)}}function Y1(J,K,X){x0(J,K,X),J.onerror(K)}});var V5=M((P4,Y5)=>{var{kForOnEventAttribute:o,kListener:C0}=C(),Z5=Symbol("kCode"),$5=Symbol("kData"),G5=Symbol("kError"),Q5=Symbol("kMessage"),j5=Symbol("kReason"),d=Symbol("kTarget"),I5=Symbol("kType"),z5=Symbol("kWasClean");class y{constructor(J){this[d]=null,this[I5]=J}get target(){return this[d]}get type(){return this[I5]}}Object.defineProperty(y.prototype,"target",{enumerable:!0});Object.defineProperty(y.prototype,"type",{enumerable:!0});class c extends y{constructor(J,K={}){super(J);this[Z5]=K.code===void 0?0:K.code,this[j5]=K.reason===void 0?"":K.reason,this[z5]=K.wasClean===void 0?!1:K.wasClean}get code(){return this[Z5]}get reason(){return this[j5]}get wasClean(){return this[z5]}}Object.defineProperty(c.prototype,"code",{enumerable:!0});Object.defineProperty(c.prototype,"reason",{enumerable:!0});Object.defineProperty(c.prototype,"wasClean",{enumerable:!0});class t extends y{constructor(J,K={}){super(J);this[G5]=K.error===void 0?null:K.error,this[Q5]=K.message===void 0?"":K.message}get error(){return this[G5]}get message(){return this[Q5]}}Object.defineProperty(t.prototype,"error",{enumerable:!0});Object.defineProperty(t.prototype,"message",{enumerable:!0});class I0 extends y{constructor(J,K={}){super(J);this[$5]=K.data===void 0?null:K.data}get data(){return this[$5]}}Object.defineProperty(I0.prototype,"data",{enumerable:!0});var V1={addEventListener(J,K,X={}){for(let $ of this.listeners(J))if(!X[o]&&$[C0]===K&&!$[o])return;let Z;if(J==="message")Z=function(G,Q){let I=new I0("message",{data:Q?G:G.toString()});I[d]=this,j0(K,this,I)};else if(J==="close")Z=function(G,Q){let I=new c("close",{code:G,reason:Q.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});I[d]=this,j0(K,this,I)};else if(J==="error")Z=function(G){let Q=new t("error",{error:G,message:G.message});Q[d]=this,j0(K,this,Q)};else if(J==="open")Z=function(){let G=new y("open");G[d]=this,j0(K,this,G)};else return;if(Z[o]=!!X[o],Z[C0]=K,X.once)this.once(J,Z);else this.on(J,Z)},removeEventListener(J,K){for(let X of this.listeners(J))if(X[C0]===K&&!X[o]){this.removeListener(J,X);break}}};Y5.exports={CloseEvent:c,ErrorEvent:t,Event:y,EventTarget:V1,MessageEvent:I0};function j0(J,K,X){if(typeof J==="object"&&J.handleEvent)J.handleEvent.call(J,X);else J.call(K,X)}});var z0=M((M4,_5)=>{var{tokenChars:e}=i();function B(J,K,X){if(J[K]===void 0)J[K]=[X];else J[K].push(X)}function _1(J){let K=Object.create(null),X=Object.create(null),Z=!1,$=!1,G=!1,Q,I,j=-1,V=-1,_=-1,Y=0;for(;Y<J.length;Y++)if(V=J.charCodeAt(Y),Q===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(Y!==0&&(V===32||V===9)){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(V===44)B(K,D,X),X=Object.create(null);else Q=D;j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);else if(I===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(V===32||V===9){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;if(B(X,J.slice(j,_),!0),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;j=_=-1}else if(V===61&&j!==-1&&_===-1)I=J.slice(j,Y),j=_=-1;else throw SyntaxError(`Unexpected character at index ${Y}`);else if($){if(e[V]!==1)throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1)j=Y;else if(!Z)Z=!0;$=!1}else if(G)if(e[V]===1){if(j===-1)j=Y}else if(V===34&&j!==-1)G=!1,_=Y;else if(V===92)$=!0;else throw SyntaxError(`Unexpected character at index ${Y}`);else if(V===34&&J.charCodeAt(Y-1)===61)G=!0;else if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(j!==-1&&(V===32||V===9)){if(_===-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(Z)D=D.replace(/\\/g,""),Z=!1;if(B(X,I,D),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;I=void 0,j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1||G||V===32||V===9)throw SyntaxError("Unexpected end of input");if(_===-1)_=Y;let F=J.slice(j,_);if(Q===void 0)B(K,F,X);else{if(I===void 0)B(X,F,!0);else if(Z)B(X,I,F.replace(/\\/g,""));else B(X,I,F);B(K,Q,X)}return K}function N1(J){return Object.keys(J).map((K)=>{let X=J[K];if(!Array.isArray(X))X=[X];return X.map((Z)=>{return[K].concat(Object.keys(Z).map(($)=>{let G=Z[$];if(!Array.isArray(G))G=[G];return G.map((Q)=>Q===!0?$:`${$}=${Q}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}_5.exports={format:N1,parse:_1}});var N0=M((x4,B5)=>{var H1=R("events"),R1=R("https"),A1=R("http"),R5=R("net"),F1=R("tls"),{randomBytes:D1,createHash:P1}=R("crypto"),{Duplex:O4,Readable:T4}=R("stream"),{URL:U0}=R("url"),E=p(),M1=T0(),O1=B0(),{isBlob:T1}=i(),{BINARY_TYPES:N5,CLOSE_TIMEOUT:x1,EMPTY_BUFFER:Y0,GUID:B1,kForOnEventAttribute:q0,kListener:C1,kStatusCode:U1,kWebSocket:A,NOOP:A5}=C(),{EventTarget:{addEventListener:q1,removeEventListener:L1}}=V5(),{format:W1,parse:y1}=z0(),{toBuffer:E1}=a(),F5=Symbol("kAborted"),L0=[8,13],q=["CONNECTING","OPEN","CLOSING","CLOSED"],S1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class z extends H1{constructor(J,K,X){super();if(this._binaryType=N5[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Y0,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=z.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,J!==null){if(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,K===void 0)K=[];else if(!Array.isArray(K))if(typeof K==="object"&&K!==null)X=K,K=[];else K=[K];D5(this,J,K,X)}else this._autoPong=X.autoPong,this._closeTimeout=X.closeTimeout,this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(J){if(!N5.includes(J))return;if(this._binaryType=J,this._receiver)this._receiver._binaryType=J}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(J,K,X){let Z=new M1({allowSynchronousEvents:X.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:X.maxPayload,skipUTF8Validation:X.skipUTF8Validation}),$=new O1(J,this._extensions,X.generateMask);if(this._receiver=Z,this._sender=$,this._socket=J,Z[A]=this,$[A]=this,J[A]=this,Z.on("conclude",w1),Z.on("drain",h1),Z.on("error",m1),Z.on("message",f1),Z.on("ping",u1),Z.on("pong",l1),$.onerror=p1,J.setTimeout)J.setTimeout(0);if(J.setNoDelay)J.setNoDelay();if(K.length>0)J.unshift(K);J.on("close",O5),J.on("data",_0),J.on("end",T5),J.on("error",x5),this._readyState=z.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[E.extensionName])this._extensions[E.extensionName].cleanup();this._receiver.removeAllListeners(),this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(J,K){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===z.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted))this._socket.end();return}this._readyState=z.CLOSING,this._sender.close(J,K,!this._isServer,(X)=>{if(X)return;if(this._closeFrameSent=!0,this._closeFrameReceived||this._receiver._writableState.errorEmitted)this._socket.end()}),M5(this)}pause(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;this._paused=!0,this._socket.pause()}ping(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.ping(J||Y0,K,X)}pong(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.pong(J||Y0,K,X)}resume(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;if(this._paused=!1,!this._receiver._writableState.needDrain)this._socket.resume()}send(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof K==="function")X=K,K={};if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}let Z={binary:typeof J!=="string",mask:!this._isServer,compress:!0,fin:!0,...K};if(!this._extensions[E.extensionName])Z.compress=!1;this._sender.send(J||Y0,Z,X)}terminate(){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this._socket)this._readyState=z.CLOSING,this._socket.destroy()}}Object.defineProperty(z,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z.prototype,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z.prototype,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z.prototype,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});Object.defineProperty(z.prototype,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((J)=>{Object.defineProperty(z.prototype,J,{enumerable:!0})});["open","error","close","message"].forEach((J)=>{Object.defineProperty(z.prototype,`on${J}`,{enumerable:!0,get(){for(let K of this.listeners(J))if(K[q0])return K[C1];return null},set(K){for(let X of this.listeners(J))if(X[q0]){this.removeListener(J,X);break}if(typeof K!=="function")return;this.addEventListener(J,K,{[q0]:!0})}})});z.prototype.addEventListener=q1;z.prototype.removeEventListener=L1;B5.exports=z;function D5(J,K,X,Z){let $={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:x1,protocolVersion:L0[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...Z,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(J._autoPong=$.autoPong,J._closeTimeout=$.closeTimeout,!L0.includes($.protocolVersion))throw RangeError(`Unsupported protocol version: ${$.protocolVersion} (supported versions: ${L0.join(", ")})`);let G;if(K instanceof U0)G=K;else try{G=new U0(K)}catch{throw SyntaxError(`Invalid URL: ${K}`)}if(G.protocol==="http:")G.protocol="ws:";else if(G.protocol==="https:")G.protocol="wss:";J._url=G.href;let Q=G.protocol==="wss:",I=G.protocol==="ws+unix:",j;if(G.protocol!=="ws:"&&!Q&&!I)j=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`;else if(I&&!G.pathname)j="The URL's pathname is empty";else if(G.hash)j="The URL contains a fragment identifier";if(j){let N=SyntaxError(j);if(J._redirects===0)throw N;else{V0(J,N);return}}let V=Q?443:80,_=D1(16).toString("base64"),Y=Q?R1.request:A1.request,F=new Set,D;if($.createConnection=$.createConnection||(Q?g1:v1),$.defaultPort=$.defaultPort||V,$.port=G.port||V,$.host=G.hostname.startsWith("[")?G.hostname.slice(1,-1):G.hostname,$.headers={...$.headers,"Sec-WebSocket-Version":$.protocolVersion,"Sec-WebSocket-Key":_,Connection:"Upgrade",Upgrade:"websocket"},$.path=G.pathname+G.search,$.timeout=$.handshakeTimeout,$.perMessageDeflate)D=new E({...$.perMessageDeflate,isServer:!1,maxPayload:$.maxPayload}),$.headers["Sec-WebSocket-Extensions"]=W1({[E.extensionName]:D.offer()});if(X.length){for(let N of X){if(typeof N!=="string"||!S1.test(N)||F.has(N))throw SyntaxError("An invalid or duplicated subprotocol was specified");F.add(N)}$.headers["Sec-WebSocket-Protocol"]=X.join(",")}if($.origin)if($.protocolVersion<13)$.headers["Sec-WebSocket-Origin"]=$.origin;else $.headers.Origin=$.origin;if(G.username||G.password)$.auth=`${G.username}:${G.password}`;if(I){let N=$.path.split(":");$.socketPath=N[0],$.path=N[1]}let H;if($.followRedirects){if(J._redirects===0){J._originalIpc=I,J._originalSecure=Q,J._originalHostOrSocketPath=I?$.socketPath:G.host;let N=Z&&Z.headers;if(Z={...Z,headers:{}},N)for(let[P,m]of Object.entries(N))Z.headers[P.toLowerCase()]=m}else if(J.listenerCount("redirect")===0){let N=I?J._originalIpc?$.socketPath===J._originalHostOrSocketPath:!1:J._originalIpc?!1:G.host===J._originalHostOrSocketPath;if(!N||J._originalSecure&&!Q){if(delete $.headers.authorization,delete $.headers.cookie,!N)delete $.headers.host;$.auth=void 0}}if($.auth&&!Z.headers.authorization)Z.headers.authorization="Basic "+Buffer.from($.auth).toString("base64");if(H=J._req=Y($),J._redirects)J.emit("redirect",J.url,H)}else H=J._req=Y($);if($.timeout)H.on("timeout",()=>{O(J,H,"Opening handshake has timed out")});if(H.on("error",(N)=>{if(H===null||H[F5])return;H=J._req=null,V0(J,N)}),H.on("response",(N)=>{let P=N.headers.location,m=N.statusCode;if(P&&$.followRedirects&&m>=300&&m<400){if(++J._redirects>$.maxRedirects){O(J,H,"Maximum redirects exceeded");return}H.abort();let n;try{n=new U0(P,K)}catch(E0){let f=SyntaxError(`Invalid URL: ${P}`);V0(J,f);return}D5(J,n,X,Z)}else if(!J.emit("unexpected-response",H,N))O(J,H,`Unexpected server response: ${N.statusCode}`)}),H.on("upgrade",(N,P,m)=>{if(J.emit("upgrade",N),J.readyState!==z.CONNECTING)return;H=J._req=null;let n=N.headers.upgrade;if(n===void 0||n.toLowerCase()!=="websocket"){O(J,P,"Invalid Upgrade header");return}let E0=P1("sha1").update(_+B1).digest("base64");if(N.headers["sec-websocket-accept"]!==E0){O(J,P,"Invalid Sec-WebSocket-Accept header");return}let f=N.headers["sec-websocket-protocol"],r;if(f!==void 0){if(!F.size)r="Server sent a subprotocol but none was requested";else if(!F.has(f))r="Server sent an invalid subprotocol"}else if(F.size)r="Server sent no subprotocol";if(r){O(J,P,r);return}if(f)J._protocol=f;let S0=N.headers["sec-websocket-extensions"];if(S0!==void 0){if(!D){O(J,P,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let R0;try{R0=y1(S0)}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}let v0=Object.keys(R0);if(v0.length!==1||v0[0]!==E.extensionName){O(J,P,"Server indicated an extension that was not requested");return}try{D.accept(R0[E.extensionName])}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}J._extensions[E.extensionName]=D}J.setSocket(P,m,{allowSynchronousEvents:$.allowSynchronousEvents,generateMask:$.generateMask,maxPayload:$.maxPayload,skipUTF8Validation:$.skipUTF8Validation})}),$.finishRequest)$.finishRequest(H,J);else H.end()}function V0(J,K){J._readyState=z.CLOSING,J._errorEmitted=!0,J.emit("error",K),J.emitClose()}function v1(J){return J.path=J.socketPath,R5.connect(J)}function g1(J){if(J.path=void 0,!J.servername&&J.servername!=="")J.servername=R5.isIP(J.host)?"":J.host;return F1.connect(J)}function O(J,K,X){J._readyState=z.CLOSING;let Z=Error(X);if(Error.captureStackTrace(Z,O),K.setHeader){if(K[F5]=!0,K.abort(),K.socket&&!K.socket.destroyed)K.socket.destroy();process.nextTick(V0,J,Z)}else K.destroy(Z),K.once("error",J.emit.bind(J,"error")),K.once("close",J.emitClose.bind(J))}function W0(J,K,X){if(K){let Z=T1(K)?K.size:E1(K).length;if(J._socket)J._sender._bufferedBytes+=Z;else J._bufferedAmount+=Z}if(X){let Z=Error(`WebSocket is not open: readyState ${J.readyState} (${q[J.readyState]})`);process.nextTick(X,Z)}}function w1(J,K){let X=this[A];if(X._closeFrameReceived=!0,X._closeMessage=K,X._closeCode=J,X._socket[A]===void 0)return;if(X._socket.removeListener("data",_0),process.nextTick(P5,X._socket),J===1005)X.close();else X.close(J,K)}function h1(){let J=this[A];if(!J.isPaused)J._socket.resume()}function m1(J){let K=this[A];if(K._socket[A]!==void 0)K._socket.removeListener("data",_0),process.nextTick(P5,K._socket),K.close(J[U1]);if(!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function H5(){this[A].emitClose()}function f1(J,K){this[A].emit("message",J,K)}function u1(J){let K=this[A];if(K._autoPong)K.pong(J,!this._isServer,A5);K.emit("ping",J)}function l1(J){this[A].emit("pong",J)}function P5(J){J.resume()}function p1(J){let K=this[A];if(K.readyState===z.CLOSED)return;if(K.readyState===z.OPEN)K._readyState=z.CLOSING,M5(K);if(this._socket.end(),!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function M5(J){J._closeTimer=setTimeout(J._socket.destroy.bind(J._socket),J._closeTimeout)}function O5(){let J=this[A];if(this.removeListener("close",O5),this.removeListener("data",_0),this.removeListener("end",T5),J._readyState=z.CLOSING,!this._readableState.endEmitted&&!J._closeFrameReceived&&!J._receiver._writableState.errorEmitted&&this._readableState.length!==0){let K=this.read(this._readableState.length);J._receiver.write(K)}if(J._receiver.end(),this[A]=void 0,clearTimeout(J._closeTimer),J._receiver._writableState.finished||J._receiver._writableState.errorEmitted)J.emitClose();else J._receiver.on("error",H5),J._receiver.on("finish",H5)}function _0(J){if(!this[A]._receiver.write(J))this.pause()}function T5(){let J=this[A];J._readyState=z.CLOSING,J._receiver.end(),this.end()}function x5(){let J=this[A];if(this.removeListener("error",x5),this.on("error",A5),J)J._readyState=z.CLOSING,this.destroy()}});var L5=M((C4,q5)=>{var B4=N0(),{Duplex:i1}=R("stream");function C5(J){J.emit("close")}function b1(){if(!this.destroyed&&this._writableState.finished)this.destroy()}function U5(J){if(this.removeListener("error",U5),this.destroy(),this.listenerCount("error")===0)this.emit("error",J)}function k1(J,K){let X=!0,Z=new i1({...K,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return J.on("message",function(G,Q){let I=!Q&&Z._readableState.objectMode?G.toString():G;if(!Z.push(I))J.pause()}),J.once("error",function(G){if(Z.destroyed)return;X=!1,Z.destroy(G)}),J.once("close",function(){if(Z.destroyed)return;Z.push(null)}),Z._destroy=function($,G){if(J.readyState===J.CLOSED){G($),process.nextTick(C5,Z);return}let Q=!1;if(J.once("error",function(j){Q=!0,G(j)}),J.once("close",function(){if(!Q)G($);process.nextTick(C5,Z)}),X)J.terminate()},Z._final=function($){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._final($)});return}if(J._socket===null)return;if(J._socket._writableState.finished){if($(),Z._readableState.endEmitted)Z.destroy()}else J._socket.once("finish",function(){$()}),J.close()},Z._read=function(){if(J.isPaused)J.resume()},Z._write=function($,G,Q){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._write($,G,Q)});return}J.send($,Q)},Z.on("end",b1),Z.on("error",U5),Z}q5.exports=k1});var y0=M((U4,W5)=>{var{tokenChars:d1}=i();function c1(J){let K=new Set,X=-1,Z=-1,$=0;for($;$<J.length;$++){let Q=J.charCodeAt($);if(Z===-1&&d1[Q]===1){if(X===-1)X=$}else if($!==0&&(Q===32||Q===9)){if(Z===-1&&X!==-1)Z=$}else if(Q===44){if(X===-1)throw SyntaxError(`Unexpected character at index ${$}`);if(Z===-1)Z=$;let I=J.slice(X,Z);if(K.has(I))throw SyntaxError(`The "${I}" subprotocol is duplicated`);K.add(I),X=Z=-1}else throw SyntaxError(`Unexpected character at index ${$}`)}if(X===-1||Z!==-1)throw SyntaxError("Unexpected end of input");let G=J.slice(X,$);if(K.has(G))throw SyntaxError(`The "${G}" subprotocol is duplicated`);return K.add(G),K}W5.exports={parse:c1}});var g5=M((L4,v5)=>{var n1=R("events"),H0=R("http"),{Duplex:q4}=R("stream"),{createHash:r1}=R("crypto"),y5=z0(),w=p(),a1=y0(),s1=N0(),{CLOSE_TIMEOUT:o1,GUID:t1,kWebSocket:e1}=C(),J4=/^[+/0-9A-Za-z]{22}==$/;class S5 extends n1{constructor(J,K){super();if(J={allowSynchronousEvents:!0,autoPong:!0,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:o1,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:s1,...J},J.port==null&&!J.server&&!J.noServer||J.port!=null&&(J.server||J.noServer)||J.server&&J.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(J.port!=null)this._server=H0.createServer((X,Z)=>{let $=H0.STATUS_CODES[426];Z.writeHead(426,{"Content-Length":$.length,"Content-Type":"text/plain"}),Z.end($)}),this._server.listen(J.port,J.host,J.backlog,K);else if(J.server)this._server=J.server;if(this._server){let X=this.emit.bind(this,"connection");this._removeListeners=K4(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(Z,$,G)=>{this.handleUpgrade(Z,$,G,X)}})}if(J.perMessageDeflate===!0)J.perMessageDeflate={};if(J.clientTracking)this.clients=new Set,this._shouldEmitClose=!1;this.options=J,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');if(!this._server)return null;return this._server.address()}close(J){if(this._state===2){if(J)this.once("close",()=>{J(Error("The server is not running"))});process.nextTick(J0,this);return}if(J)this.once("close",J);if(this._state===1)return;if(this._state=1,this.options.noServer||this.options.server){if(this._server)this._removeListeners(),this._removeListeners=this._server=null;if(this.clients)if(!this.clients.size)process.nextTick(J0,this);else this._shouldEmitClose=!0;else process.nextTick(J0,this)}else{let K=this._server;this._removeListeners(),this._removeListeners=this._server=null,K.close(()=>{J0(this)})}}shouldHandle(J){if(this.options.path){let K=J.url.indexOf("?");if((K!==-1?J.url.slice(0,K):J.url)!==this.options.path)return!1}return!0}handleUpgrade(J,K,X,Z){K.on("error",E5);let $=J.headers["sec-websocket-key"],G=J.headers.upgrade,Q=+J.headers["sec-websocket-version"];if(J.method!=="GET"){h(this,J,K,405,"Invalid HTTP method");return}if(G===void 0||G.toLowerCase()!=="websocket"){h(this,J,K,400,"Invalid Upgrade header");return}if($===void 0||!J4.test($)){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Key header");return}if(Q!==13&&Q!==8){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(J)){K0(K,400);return}let I=J.headers["sec-websocket-protocol"],j=new Set;if(I!==void 0)try{j=a1.parse(I)}catch(Y){h(this,J,K,400,"Invalid Sec-WebSocket-Protocol header");return}let V=J.headers["sec-websocket-extensions"],_={};if(this.options.perMessageDeflate&&V!==void 0){let Y=new w({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let F=y5.parse(V);if(F[w.extensionName])Y.accept(F[w.extensionName]),_[w.extensionName]=Y}catch(F){h(this,J,K,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let Y={origin:J.headers[`${Q===8?"sec-websocket-origin":"origin"}`],secure:!!(J.socket.authorized||J.socket.encrypted),req:J};if(this.options.verifyClient.length===2){this.options.verifyClient(Y,(F,D,H,N)=>{if(!F)return K0(K,D||401,H,N);this.completeUpgrade(_,$,j,J,K,X,Z)});return}if(!this.options.verifyClient(Y))return K0(K,401)}this.completeUpgrade(_,$,j,J,K,X,Z)}completeUpgrade(J,K,X,Z,$,G,Q){if(!$.readable||!$.writable)return $.destroy();if($[e1])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return K0($,503);let j=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${r1("sha1").update(K+t1).digest("base64")}`],V=new this.options.WebSocket(null,void 0,this.options);if(X.size){let _=this.options.handleProtocols?this.options.handleProtocols(X,Z):X.values().next().value;if(_)j.push(`Sec-WebSocket-Protocol: ${_}`),V._protocol=_}if(J[w.extensionName]){let _=J[w.extensionName].params,Y=y5.format({[w.extensionName]:[_]});j.push(`Sec-WebSocket-Extensions: ${Y}`),V._extensions=J}if(this.emit("headers",j,Z),$.write(j.concat(`\r
|
|
2
|
+
`).join(`\r
|
|
3
|
+
`)),$.removeListener("error",E5),V.setSocket($,G,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients)this.clients.add(V),V.on("close",()=>{if(this.clients.delete(V),this._shouldEmitClose&&!this.clients.size)process.nextTick(J0,this)});Q(V,Z)}}v5.exports=S5;function K4(J,K){for(let X of Object.keys(K))J.on(X,K[X]);return function(){for(let Z of Object.keys(K))J.removeListener(Z,K[Z])}}function J0(J){J._state=2,J.emit("close")}function E5(){this.destroy()}function K0(J,K,X,Z){X=X||H0.STATUS_CODES[K],Z={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(X),...Z},J.once("finish",J.destroy),J.end(`HTTP/1.1 ${K} ${H0.STATUS_CODES[K]}\r
|
|
4
|
+
`+Object.keys(Z).map(($)=>`${$}: ${Z[$]}`).join(`\r
|
|
5
|
+
`)+`\r
|
|
6
|
+
\r
|
|
7
|
+
`+X)}function h(J,K,X,Z,$,G){if(J.listenerCount("wsClientError")){let Q=Error($);Error.captureStackTrace(Q,h),J.emit("wsClientError",Q,X,K)}else K0(X,Z,$,G)}});var Z4,$4,G4,Q4,j4,I4,w5,z4,y4;var Y4=X4(()=>{Z4=S(L5(),1),$4=S(z0(),1),G4=S(p(),1),Q4=S(T0(),1),j4=S(B0(),1),I4=S(y0(),1),w5=S(N0(),1),z4=S(g5(),1),y4=w5.default});Y4();var export_subprotocol=I4.default;var export_extension=$4.default;var export_createWebSocketStream=Z4.default;var export_WebSocketServer=z4.default;var export_WebSocket=w5.default;var export_Sender=j4.default;var export_Receiver=Q4.default;var export_PerMessageDeflate=G4.default;export{export_subprotocol as subprotocol,export_extension as extension,y4 as default,export_createWebSocketStream as createWebSocketStream,export_WebSocketServer as WebSocketServer,export_WebSocket as WebSocket,export_Sender as Sender,export_Receiver as Receiver,export_PerMessageDeflate as PerMessageDeflate};
|
package/dist/claudio-vscode.vsix
CHANGED
|
Binary file
|
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{
|
|
2
|
-
Run /provider and choose GitHub Copilot.`;let
|
|
3
|
-
Run /provider and choose GitHub Copilot.`;if(
|
|
4
|
-
Run /provider and choose GitHub Copilot.`;return null}if(D.transport!=="openai_compat"&&D.transport!=="codex_responses")return null;let Q=
|
|
1
|
+
import{$5 as N,a6 as W}from"./chunks/cli-0.1.10-yset0578.mjs";import{Gca as $,Kca as j,Lca as B,Pca as G,Sca as q,Vca as L,Yca as V}from"./chunks/cli-0.1.10-mt6tj76h.mjs";import"./chunks/cli-0.1.10-2mqddc7q.mjs";import"./chunks/cli-0.1.10-4n8p34vn.mjs";import"./chunks/cli-0.1.10-594z8zdp.mjs";import"./chunks/cli-0.1.10-a4p945wp.mjs";import"./chunks/cli-0.1.10-w1hqcxj1.mjs";import"./chunks/cli-0.1.10-nzxw7p2m.mjs";import"./chunks/cli-0.1.10-97rwbawt.mjs";import"./chunks/cli-0.1.10-f2jh6yv0.mjs";import"./chunks/cli-0.1.10-e4qewc1p.mjs";import{dha as _,lha as F}from"./chunks/cli-0.1.10-y1bkenem.mjs";import"./chunks/cli-0.1.10-pw67rrjr.mjs";import"./chunks/cli-0.1.10-mqgz2v10.mjs";import"./chunks/cli-0.1.10-akaq0zte.mjs";import{Lna as J}from"./chunks/cli-0.1.10-hyxg32sc.mjs";V();q();F();W();var b=["ghp_","gho_","ghs_","ghr_","github_pat_"];function H(A,O="copilot"){if(b.some((w)=>A.startsWith(w))){if(O==="copilot")return"expired";return"valid"}let D=A.match(/exp=(\d+)/);if(D){let w=Number(D[1]);if(!Number.isNaN(w))return Date.now()>=w*1000?"expired":"valid"}let Q=A.split(".");if(Q.length===3&&Q.every((w)=>/^[A-Za-z0-9_-]+$/.test(w)))try{let w=Q[1].replace(/-/g,"+").replace(/_/g,"/"),K=w+"=".repeat((4-w.length%4)%4),X=Buffer.from(K,"base64").toString("utf8"),U=JSON.parse(X);if(U&&typeof U==="object"&&U.exp)return Date.now()>=U.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"valid"}async function P(A,O){let D=L();if(!D)return null;if(D.transport==="gemini"){if((await(O?.resolveGeminiCredential??N)(process.env)).kind==="none")return"Configure Gemini auth via /provider — pick API key, access token, or rely on Google ADC.";return null}if(D.transport==="github_copilot"){let R=D.extras?.githubToken?.trim()||D.apiKey?.trim()||"";if(!R)return`GitHub Copilot authentication required.
|
|
2
|
+
Run /provider and choose GitHub Copilot.`;let w=j(D.baseUrl),K=H(R,w);if(K==="expired")return`GitHub Copilot token has expired.
|
|
3
|
+
Run /provider and choose GitHub Copilot.`;if(K==="invalid_format")return`GitHub Copilot token is invalid or corrupted.
|
|
4
|
+
Run /provider and choose GitHub Copilot.`;return null}if(D.transport!=="openai_compat"&&D.transport!=="codex_responses")return null;let Q=B({model:D.model,baseUrl:D.baseUrl});if(D.apiKey==="SUA_CHAVE")return"Invalid API key: placeholder value SUA_CHAVE detected. Set a real key in /provider, or leave blank for local providers.";if(Q.transport==="codex_responses"){let R=G();if(!R.apiKey){let w=_()?"":", choose Codex OAuth in /provider",K=R.authPath?`${w} or put auth.json at ${R.authPath}`:w;return`Codex auth is required for ${Q.requestedModel}. Configure it via /provider${K}.`}if(!R.accountId)return"Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth via /provider, or import an auth.json with chatgpt_account_id.";return null}if(!D.apiKey&&!$(Q.baseUrl))return"API key required for the active /provider profile. Run /provider to set it.";return null}function I(A={}){let O=A.args??process.argv.slice(2);if(!(A.stdoutIsTTY??process.stdout.isTTY))return!0;return O.includes("-p")||O.includes("--print")||O.includes("--init-only")||O.some((Q)=>Q.startsWith("--sdk-url"))}async function z(A=process.env,O){let D=await P(A);if(!D)return;if(I(O))console.error(D),process.exit(1);console.error(`Warning: provider configuration is incomplete.
|
|
5
5
|
${D}
|
|
6
|
-
Claudio will continue starting so you can run /provider and repair the saved provider settings.`)}if(typeof globalThis.File>"u")try{let{File:
|
|
7
|
-
`));return}if(process.argv[2]==="--claude-in-chrome-mcp"){
|
|
6
|
+
Claudio will continue starting so you can run /provider and repair the saved provider settings.`)}if(typeof globalThis.File>"u")try{let{File:A}=J("node:buffer");globalThis.File=A}catch{globalThis.File=class extends Blob{name;lastModified;constructor(O,D,Q){super(O,Q);this.name=D,this.lastModified=Q?.lastModified??Date.now()}}}process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS??="true";process.env.COREPACK_ENABLE_AUTO_PIN="0";if(process.env.CLAUDE_CODE_REMOTE==="true"){let A=process.env.NODE_OPTIONS||"";process.env.NODE_OPTIONS=A?`${A} --max-old-space-size=8192`:"--max-old-space-size=8192"}async function y(){let A=process.argv.slice(2);if(A.length===1&&(A[0]==="--version"||A[0]==="-v"||A[0]==="-V")){console.log("0.1.10 (Claudio)");return}if(A.includes("--provider"))console.error('The --provider CLI flag was removed. Run "claudio" and use /provider to choose a profile.'),process.exit(1);{let{enableConfigs:w}=await import("./chunks/config-0.1.10-apkj5t0e.mjs");w()}{let{applySafeConfigEnvironmentVariables:w}=await import("./chunks/managedEnv-0.1.10-s37qwcz1.mjs");w()}{let{hydrateGithubModelsTokenFromSecureStorage:w,refreshGithubModelsTokenIfNeeded:K}=await import("./chunks/githubModelsCredentials-0.1.10-w5g5cqhg.mjs");await K(),w()}await z();let{tryGetActiveProvider:O}=await import("./chunks/activeProvider-0.1.10-mc05hsn1.mjs");if(O()&&process.stdout.isTTY&&process.env.CLAUDIO_NO_CLEAR_ON_START!=="1"){let{clearTerminal:w}=await import("./chunks/clearTerminal-0.1.10-vb1ec5bk.mjs");process.stdout.write(w)}let{profileCheckpoint:D}=await import("./chunks/startupProfiler-0.1.10-gcv6ckp5.mjs");if(D("cli_entry"),A[0]==="--dump-system-prompt"){D("cli_dump_system_prompt_path");let{enableConfigs:w}=await import("./chunks/config-0.1.10-apkj5t0e.mjs");w();let{getMainLoopModel:K}=await import("./chunks/model-0.1.10-9g2nyrq7.mjs"),X=A.indexOf("--model"),U=X!==-1&&A[X+1]||K(),{getSystemPrompt:Y}=await import("./chunks/prompts-0.1.10-8k80tabm.mjs"),Z=await Y([],U);console.log(Z.join(`
|
|
7
|
+
`));return}if(process.argv[2]==="--claude-in-chrome-mcp"){D("cli_claude_in_chrome_mcp_path");let{runClaudeInChromeMcpServer:w}=await import("./chunks/mcpServer-0.1.10-vrpfykem.mjs");await w();return}else if(process.argv[2]==="--chrome-native-host"){D("cli_chrome_native_host_path");let{runChromeNativeHost:w}=await import("./chunks/chromeNativeHost-0.1.10-1546eayv.mjs");await w();return}if(!1)switch(A[0]){case"ps":case"logs":case"attach":case"kill":default:}if((A.includes("--tmux")||A.includes("--tmux=classic"))&&(A.includes("-w")||A.includes("--worktree")||A.some((w)=>w.startsWith("--worktree=")))){D("cli_tmux_worktree_fast_path");let{enableConfigs:w}=await import("./chunks/config-0.1.10-apkj5t0e.mjs");w();let{isWorktreeModeEnabled:K}=await import("./chunks/worktreeModeEnabled-0.1.10-ckcv927j.mjs");if(K()){let{execIntoTmuxWorktree:X}=await import("./chunks/worktree-0.1.10-b5r0y9mr.mjs"),U=await X(A);if(U.handled)return;if(U.error){let{exitWithError:Y}=await import("./chunks/process-0.1.10-kp51xxsy.mjs");Y(U.error)}}}if(A.length===1&&(A[0]==="--update"||A[0]==="--upgrade"))process.argv=[process.argv[0],process.argv[1],"update"];if(A.includes("--bare"))process.env.CLAUDE_CODE_SIMPLE="1";if(process.env.CLAUDIO_DISABLE_EARLY_INPUT!=="1"){let{startCapturingEarlyInput:w}=await import("./chunks/earlyInput-0.1.10-k1phbjt5.mjs");w()}D("cli_before_main_import");let{main:R}=await import("./chunks/main-0.1.10-q3qenxfq.mjs");D("cli_after_main_import"),await R(),D("cli_after_main_complete")}y();
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{OC as a,PC as b,QC as c,RC as d}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";d();export{b as outputSchema,a as inputSchema,c as AgentTool};
|