@opencode/core 0.0.0-dev-20840 → 0.0.0-dev-20841
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/agent.js +65 -65
- package/dist/aisdk-native.js +65 -65
- package/dist/aisdk.js +70 -70
- package/dist/app.js +9 -9
- package/dist/bus.js +55 -55
- package/dist/chunks/{instruction-discovery-hvzsqqsx.js → instruction-discovery-048wpaqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-px7pepp5.js → instruction-discovery-0bs9zzzx.js} +10 -10
- package/dist/chunks/{instruction-discovery-6j2hn9e4.js → instruction-discovery-0cz3jc0p.js} +7 -7
- package/dist/chunks/instruction-discovery-0ef80a9n.js +513 -0
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → instruction-discovery-0j77ygfz.js} +4 -4
- package/dist/chunks/{instruction-discovery-dnk2bync.js → instruction-discovery-0qwsa8cf.js} +20 -20
- package/dist/chunks/{instruction-discovery-8ef3w3za.js → instruction-discovery-171zjyze.js} +22 -22
- package/dist/chunks/{instruction-discovery-6d646j32.js → instruction-discovery-18tb8vc6.js} +21 -21
- package/dist/chunks/{instruction-discovery-waskdk5r.js → instruction-discovery-1j6m29mr.js} +8 -8
- package/dist/chunks/{instruction-discovery-0eyn26b9.js → instruction-discovery-1j9vsfxy.js} +16 -16
- package/dist/chunks/{instruction-discovery-jws6fkes.js → instruction-discovery-1p07q0wb.js} +5 -5
- package/dist/chunks/{instruction-discovery-d15x96cv.js → instruction-discovery-1qs5jxd8.js} +10 -10
- package/dist/chunks/{instruction-discovery-8mk801n2.js → instruction-discovery-1sc6p60b.js} +6 -6
- package/dist/chunks/{instruction-discovery-tn7xc115.js → instruction-discovery-1th27d95.js} +15 -15
- package/dist/chunks/{instruction-discovery-rvs6eq9b.js → instruction-discovery-204e7tx6.js} +10 -10
- package/dist/chunks/{instruction-discovery-cdrvmw9m.js → instruction-discovery-26n2nh92.js} +1 -1
- package/dist/chunks/{instruction-discovery-m2tcdgpb.js → instruction-discovery-2c7hjkzv.js} +3 -3
- package/dist/chunks/{instruction-discovery-4ts7tf6z.js → instruction-discovery-2ccvkpx1.js} +1 -1
- package/dist/chunks/{instruction-discovery-40x1fydz.js → instruction-discovery-2ewrd21j.js} +9 -9
- package/dist/chunks/{instruction-discovery-b9yx8y6b.js → instruction-discovery-2hqksm5k.js} +1 -1
- package/dist/chunks/{instruction-discovery-nfakef9v.js → instruction-discovery-2j1vbg91.js} +30 -30
- package/dist/chunks/{instruction-discovery-weg71117.js → instruction-discovery-2jb6nwe1.js} +3 -3
- package/dist/chunks/{instruction-discovery-9z5x99zr.js → instruction-discovery-2jtaszgg.js} +6 -6
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → instruction-discovery-2k8khapm.js} +4 -4
- package/dist/chunks/{instruction-discovery-kqx1b4hy.js → instruction-discovery-2ryng5r3.js} +1 -1
- package/dist/chunks/{instruction-discovery-dbz40acx.js → instruction-discovery-2san2fa0.js} +17 -17
- package/dist/chunks/{instruction-discovery-76tqa8kn.js → instruction-discovery-2vr7dket.js} +4 -4
- package/dist/chunks/{instruction-discovery-gc5gqqes.js → instruction-discovery-350x23wf.js} +7 -7
- package/dist/chunks/{instruction-discovery-rn9rfv4g.js → instruction-discovery-38mem431.js} +27 -27
- package/dist/chunks/{instruction-discovery-f14emht6.js → instruction-discovery-3dytr8s2.js} +14 -14
- package/dist/chunks/{instruction-discovery-4e8vs6eh.js → instruction-discovery-4a0nv7mx.js} +7 -7
- package/dist/chunks/{instruction-discovery-kq88brb5.js → instruction-discovery-4r59zyn6.js} +19 -19
- package/dist/chunks/{instruction-discovery-r01m64ez.js → instruction-discovery-4swz1dz7.js} +8 -8
- package/dist/chunks/{instruction-discovery-javgrsyd.js → instruction-discovery-4w7gm2tt.js} +15 -15
- package/dist/chunks/{instruction-discovery-g6yfr6ja.js → instruction-discovery-4xpgt2w9.js} +3 -3
- package/dist/chunks/{instruction-discovery-5p9mjmqe.js → instruction-discovery-548fqp7q.js} +2 -2
- package/dist/chunks/{instruction-discovery-qqeeq2t9.js → instruction-discovery-57b9ws8p.js} +3 -3
- package/dist/chunks/{instruction-discovery-gn0vxyvw.js → instruction-discovery-58ytqwj2.js} +5 -5
- package/dist/chunks/{instruction-discovery-9mbzrdn5.js → instruction-discovery-5a9zf81m.js} +14 -14
- package/dist/chunks/{instruction-discovery-zsr4wwhv.js → instruction-discovery-5dkn69vz.js} +3 -3
- package/dist/chunks/{instruction-discovery-ht8z247h.js → instruction-discovery-5fa8zajf.js} +13 -13
- package/dist/chunks/{instruction-discovery-bgc7kbh3.js → instruction-discovery-5hj7q0js.js} +7 -7
- package/dist/chunks/{instruction-discovery-j3r6gmvc.js → instruction-discovery-5pbz2dd0.js} +1 -1
- package/dist/chunks/{instruction-discovery-e9f6ytk7.js → instruction-discovery-5qec7rge.js} +4 -4
- package/dist/chunks/{instruction-discovery-pf4f628p.js → instruction-discovery-5r4v0xwy.js} +9 -9
- package/dist/chunks/{instruction-discovery-2a9d0cmc.js → instruction-discovery-69enf89f.js} +21 -21
- package/dist/chunks/instruction-discovery-6xgwma86.js +26 -0
- package/dist/chunks/{instruction-discovery-dgkbzrr7.js → instruction-discovery-71dzwqxr.js} +38 -38
- package/dist/chunks/{instruction-discovery-nsqqdt6j.js → instruction-discovery-7dpqhkm4.js} +70 -70
- package/dist/chunks/{instruction-discovery-hrjwe8en.js → instruction-discovery-7nazv9sg.js} +12 -12
- package/dist/chunks/{instruction-discovery-8h6eptrw.js → instruction-discovery-7np5bmja.js} +40 -40
- package/dist/chunks/{instruction-discovery-j7znaxe9.js → instruction-discovery-7vsab7jg.js} +4 -4
- package/dist/chunks/{instruction-discovery-hkefcp24.js → instruction-discovery-7yw2sx3r.js} +5 -5
- package/dist/chunks/{instruction-discovery-s0gd8x5j.js → instruction-discovery-81gd8ewx.js} +19 -19
- package/dist/chunks/{instruction-discovery-pa87kxkp.js → instruction-discovery-85z0h67f.js} +14 -14
- package/dist/chunks/{instruction-discovery-pbj47z9e.js → instruction-discovery-88qvqy1e.js} +9 -9
- package/dist/chunks/{instruction-discovery-44gc5k7t.js → instruction-discovery-8evda89h.js} +25 -25
- package/dist/chunks/{instruction-discovery-gst7axd9.js → instruction-discovery-8gxqpgph.js} +3 -3
- package/dist/chunks/{instruction-discovery-c2mkhj0z.js → instruction-discovery-8tzwp5sx.js} +13 -13
- package/dist/chunks/{instruction-discovery-3z1qk93f.js → instruction-discovery-97y7hxer.js} +2 -2
- package/dist/chunks/{instruction-discovery-njjwfdf0.js → instruction-discovery-988cxgr8.js} +8 -8
- package/dist/chunks/{instruction-discovery-aa5pp8gg.js → instruction-discovery-99rzeaw0.js} +10 -10
- package/dist/chunks/{instruction-discovery-gbztcfes.js → instruction-discovery-9jcxats4.js} +39 -39
- package/dist/chunks/{instruction-discovery-ca87hkff.js → instruction-discovery-9w9w77gc.js} +26 -26
- package/dist/chunks/{instruction-discovery-0pzz74xs.js → instruction-discovery-aahhmcvt.js} +23 -23
- package/dist/chunks/{instruction-discovery-x661k3y3.js → instruction-discovery-addxnjmp.js} +3 -3
- package/dist/chunks/{instruction-discovery-vf1yw645.js → instruction-discovery-adejxgct.js} +13 -13
- package/dist/chunks/{instruction-discovery-5en5x0kf.js → instruction-discovery-afz809yg.js} +14 -14
- package/dist/chunks/{instruction-discovery-mkdntajj.js → instruction-discovery-arz7hw7x.js} +3 -3
- package/dist/chunks/{instruction-discovery-0jq9fyba.js → instruction-discovery-b4s8ej7r.js} +8 -8
- package/dist/chunks/{instruction-discovery-0cs4zv4k.js → instruction-discovery-b6qa6035.js} +31 -31
- package/dist/chunks/{instruction-discovery-fqhbsnr5.js → instruction-discovery-b6syrwy2.js} +7 -7
- package/dist/chunks/{instruction-discovery-vhsntnef.js → instruction-discovery-b9srm8rz.js} +8 -8
- package/dist/chunks/instruction-discovery-bmqnjeh2.js +253 -0
- package/dist/chunks/{instruction-discovery-qcv6amq6.js → instruction-discovery-bt2dtkh7.js} +29 -29
- package/dist/chunks/{instruction-discovery-5y8sveg1.js → instruction-discovery-byr661vw.js} +9 -9
- package/dist/chunks/{instruction-discovery-07x6hd07.js → instruction-discovery-c5w8pbd1.js} +10 -10
- package/dist/chunks/{instruction-discovery-sa8ekw3f.js → instruction-discovery-c8ax2afj.js} +1 -1
- package/dist/chunks/{instruction-discovery-8q2jmg2k.js → instruction-discovery-c8ses4bc.js} +11 -11
- package/dist/chunks/{instruction-discovery-1f58yghe.js → instruction-discovery-ch67yd34.js} +9 -9
- package/dist/chunks/{instruction-discovery-g0445xdp.js → instruction-discovery-cmwkp3r5.js} +3 -3
- package/dist/chunks/{instruction-discovery-djkfg51f.js → instruction-discovery-d0ak8zy9.js} +6 -6
- package/dist/chunks/{instruction-discovery-2xdnazbr.js → instruction-discovery-d15wnv4q.js} +14 -14
- package/dist/chunks/{instruction-discovery-ax9d17m8.js → instruction-discovery-d3sk2mbt.js} +6 -6
- package/dist/chunks/{instruction-discovery-etpda0sw.js → instruction-discovery-d5fxhgcy.js} +9 -9
- package/dist/chunks/{instruction-discovery-c57mtz3s.js → instruction-discovery-d9kdwp41.js} +5 -5
- package/dist/chunks/{instruction-discovery-rjxw408s.js → instruction-discovery-dhhqcq64.js} +9 -9
- package/dist/chunks/{instruction-discovery-79qaa2kf.js → instruction-discovery-djszqvmq.js} +7 -7
- package/dist/chunks/{instruction-discovery-kpkbsjrk.js → instruction-discovery-dx2h6xhc.js} +22 -22
- package/dist/chunks/{instruction-discovery-1ss6y7et.js → instruction-discovery-dzdcg5g9.js} +9 -9
- package/dist/chunks/{instruction-discovery-7rdq5agd.js → instruction-discovery-e0pxcnmw.js} +7 -7
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → instruction-discovery-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-nma959mg.js → instruction-discovery-e80seqcp.js} +2 -2
- package/dist/chunks/{instruction-discovery-4pcdpmjs.js → instruction-discovery-eefd4g5w.js} +4 -4
- package/dist/chunks/{instruction-discovery-6cc608et.js → instruction-discovery-eq08xn2q.js} +13 -13
- package/dist/chunks/{instruction-discovery-fa9zq5gx.js → instruction-discovery-ereph1h9.js} +14 -14
- package/dist/chunks/{instruction-discovery-c1fqxshp.js → instruction-discovery-es1vcfrp.js} +1 -1
- package/dist/chunks/{instruction-discovery-skh2fhmy.js → instruction-discovery-ewk422xx.js} +12 -12
- package/dist/chunks/{instruction-discovery-wscexn1p.js → instruction-discovery-ezzmrcry.js} +25 -25
- package/dist/chunks/{instruction-discovery-x2kh2bfd.js → instruction-discovery-fng9jkm1.js} +7 -7
- package/dist/chunks/{instruction-discovery-hycye272.js → instruction-discovery-fqp3mcfq.js} +1 -1
- package/dist/chunks/{instruction-discovery-349j9p8a.js → instruction-discovery-fykx5zb5.js} +38 -38
- package/dist/chunks/{instruction-discovery-be9647t4.js → instruction-discovery-fz79ktw5.js} +5 -5
- package/dist/chunks/{instruction-discovery-9137mpr7.js → instruction-discovery-g0z1em0w.js} +4 -4
- package/dist/chunks/{instruction-discovery-pn6tb00z.js → instruction-discovery-g6187q27.js} +28 -28
- package/dist/chunks/{instruction-discovery-mdjjyzh0.js → instruction-discovery-g678yp76.js} +28 -28
- package/dist/chunks/{instruction-discovery-t2fpy6a4.js → instruction-discovery-gcqzh3f4.js} +25 -25
- package/dist/chunks/{instruction-discovery-5fg11txv.js → instruction-discovery-ge2q9s3y.js} +8 -8
- package/dist/chunks/{instruction-discovery-tjgs01qf.js → instruction-discovery-ggsp0fny.js} +9 -9
- package/dist/chunks/{instruction-discovery-qdanfvrz.js → instruction-discovery-gjqhxvm8.js} +15 -15
- package/dist/chunks/{instruction-discovery-5cfzjc8s.js → instruction-discovery-gq58s3m0.js} +23 -23
- package/dist/chunks/{instruction-discovery-y54hr7f3.js → instruction-discovery-h04zhhvt.js} +7 -7
- package/dist/chunks/{instruction-discovery-bzh65nen.js → instruction-discovery-h11z96pq.js} +10 -10
- package/dist/chunks/{instruction-discovery-4b6qjr7h.js → instruction-discovery-h4ps1sgr.js} +3 -3
- package/dist/chunks/{instruction-discovery-6285nte3.js → instruction-discovery-h4y0jjzh.js} +15 -15
- package/dist/chunks/{instruction-discovery-1pasrz8p.js → instruction-discovery-hw2yy5aw.js} +9 -9
- package/dist/chunks/{instruction-discovery-h9pnpq88.js → instruction-discovery-j34bs4nz.js} +3 -3
- package/dist/chunks/{instruction-discovery-maccertz.js → instruction-discovery-j47qf441.js} +11 -11
- package/dist/chunks/{instruction-discovery-yec7xxa8.js → instruction-discovery-j4c2xja6.js} +11 -11
- package/dist/chunks/{instruction-discovery-aw71ddvx.js → instruction-discovery-j6a2evck.js} +16 -16
- package/dist/chunks/{instruction-discovery-72c3g3zh.js → instruction-discovery-j9ysnh0t.js} +14 -14
- package/dist/chunks/{instruction-discovery-9h13qr2j.js → instruction-discovery-janq1scx.js} +4 -4
- package/dist/chunks/{instruction-discovery-y5n9ymtk.js → instruction-discovery-jgbvdr9r.js} +3 -3
- package/dist/chunks/{instruction-discovery-he27pt63.js → instruction-discovery-jhdf29st.js} +1 -1
- package/dist/chunks/{instruction-discovery-45xt7wxm.js → instruction-discovery-jpen4qdf.js} +2 -2
- package/dist/chunks/{instruction-discovery-phz3h32g.js → instruction-discovery-jqh9b0xq.js} +4 -4
- package/dist/chunks/{instruction-discovery-f1e3sab5.js → instruction-discovery-jvx148y3.js} +9 -9
- package/dist/chunks/{instruction-discovery-y71avatq.js → instruction-discovery-jwcy2c2z.js} +3 -3
- package/dist/chunks/{instruction-discovery-dpemy54c.js → instruction-discovery-k2xcv0kf.js} +11 -11
- package/dist/chunks/{instruction-discovery-5bpa657r.js → instruction-discovery-ketq9gmb.js} +9 -9
- package/dist/chunks/{instruction-discovery-cs8e4cmc.js → instruction-discovery-kppw7hr6.js} +24 -24
- package/dist/chunks/{instruction-discovery-ctzqq1qd.js → instruction-discovery-ksek9mqj.js} +34 -34
- package/dist/chunks/{instruction-discovery-ya0wjwqz.js → instruction-discovery-ksqr7yfe.js} +6 -6
- package/dist/chunks/{instruction-discovery-jmhkjwrc.js → instruction-discovery-ky9vbweg.js} +21 -21
- package/dist/chunks/{instruction-discovery-xb5zqdrm.js → instruction-discovery-mbkrq27a.js} +5 -5
- package/dist/chunks/{instruction-discovery-bpm1eh2k.js → instruction-discovery-mf2nfva2.js} +17 -17
- package/dist/chunks/{instruction-discovery-a7p2x4hn.js → instruction-discovery-mkkx2xvk.js} +27 -27
- package/dist/chunks/{instruction-discovery-fvkvqbbt.js → instruction-discovery-mnv9vkrs.js} +1 -1
- package/dist/chunks/{instruction-discovery-wst2njc5.js → instruction-discovery-myrhaa8e.js} +7 -7
- package/dist/chunks/{instruction-discovery-s4801m28.js → instruction-discovery-n3aya5hh.js} +15 -15
- package/dist/chunks/{instruction-discovery-h0vrang6.js → instruction-discovery-n3jw88fx.js} +7 -7
- package/dist/chunks/{instruction-discovery-00v13zp4.js → instruction-discovery-na4dcjrg.js} +24 -24
- package/dist/chunks/{instruction-discovery-6rkk3bmg.js → instruction-discovery-nbyj5sqq.js} +85 -85
- package/dist/chunks/{instruction-discovery-mytfezrn.js → instruction-discovery-ne89875c.js} +14 -14
- package/dist/chunks/{instruction-discovery-6p2pmyag.js → instruction-discovery-njm3x30h.js} +88 -88
- package/dist/chunks/{instruction-discovery-adq9f0f4.js → instruction-discovery-nqxj0yn4.js} +1 -1
- package/dist/chunks/{instruction-discovery-7pk5n3s1.js → instruction-discovery-nvakrpsp.js} +10 -10
- package/dist/chunks/{instruction-discovery-nann43hw.js → instruction-discovery-nzbbc5k0.js} +9 -9
- package/dist/chunks/{instruction-discovery-0p635tx0.js → instruction-discovery-p097c2sx.js} +12 -12
- package/dist/chunks/{instruction-discovery-2k71kv7p.js → instruction-discovery-ph842b28.js} +3 -3
- package/dist/chunks/{instruction-discovery-r46dytrv.js → instruction-discovery-prhrtzb1.js} +51 -51
- package/dist/chunks/{instruction-discovery-mjk9grpt.js → instruction-discovery-pw6jj9n3.js} +12 -12
- package/dist/chunks/{instruction-discovery-ehrv9c33.js → instruction-discovery-pwpq1fb6.js} +16 -16
- package/dist/chunks/{instruction-discovery-ffam7gj8.js → instruction-discovery-pznx5chc.js} +16 -16
- package/dist/chunks/{instruction-discovery-wkx576x1.js → instruction-discovery-q17sgkmf.js} +14 -14
- package/dist/chunks/{instruction-discovery-s2ydx70g.js → instruction-discovery-q78nszrx.js} +29 -29
- package/dist/chunks/{instruction-discovery-v5dkyp31.js → instruction-discovery-qa3qhgw8.js} +3 -3
- package/dist/chunks/{instruction-discovery-7ffadgyk.js → instruction-discovery-qgezrw5d.js} +23 -23
- package/dist/chunks/{instruction-discovery-qafgrsyw.js → instruction-discovery-qms70dv9.js} +3 -3
- package/dist/chunks/{instruction-discovery-z1cyx7dz.js → instruction-discovery-qyjj4w9t.js} +10 -10
- package/dist/chunks/{instruction-discovery-jf7mfsg7.js → instruction-discovery-r2a2vjc6.js} +43 -43
- package/dist/chunks/{instruction-discovery-nd4tfyg0.js → instruction-discovery-r70na3yp.js} +7 -7
- package/dist/chunks/{instruction-discovery-fmyc3a1p.js → instruction-discovery-r75v65gt.js} +3 -3
- package/dist/chunks/{instruction-discovery-3tmkt29g.js → instruction-discovery-rb0m5pb6.js} +17 -17
- package/dist/chunks/{instruction-discovery-qh4qnmhp.js → instruction-discovery-rtbh45rc.js} +12 -12
- package/dist/chunks/{instruction-discovery-013q7qyk.js → instruction-discovery-rwbpmje9.js} +16 -16
- package/dist/chunks/{instruction-discovery-z45psjsg.js → instruction-discovery-s9bfrye6.js} +54 -54
- package/dist/chunks/{instruction-discovery-b3f8fkhc.js → instruction-discovery-scgrse2b.js} +3 -3
- package/dist/chunks/{instruction-discovery-pd63a6br.js → instruction-discovery-sddgd5f8.js} +15 -15
- package/dist/chunks/{instruction-discovery-qbkt1j42.js → instruction-discovery-sm4j4wt5.js} +15 -15
- package/dist/chunks/{instruction-discovery-z66qdbeq.js → instruction-discovery-sp61bypy.js} +14 -14
- package/dist/chunks/{instruction-discovery-86pav6my.js → instruction-discovery-ssgq4v3h.js} +18 -18
- package/dist/chunks/{instruction-discovery-xbebwte6.js → instruction-discovery-svysebdv.js} +149 -149
- package/dist/chunks/{instruction-discovery-re32j193.js → instruction-discovery-terdh6tz.js} +44 -44
- package/dist/chunks/{instruction-discovery-rert0e01.js → instruction-discovery-tkb22qbm.js} +1 -1
- package/dist/chunks/{instruction-discovery-03v1g770.js → instruction-discovery-tppqj79j.js} +9 -9
- package/dist/chunks/{instruction-discovery-gfzqzyz0.js → instruction-discovery-tqenhx9q.js} +4 -4
- package/dist/chunks/{instruction-discovery-xnq97b3q.js → instruction-discovery-ts8qfj50.js} +1 -1
- package/dist/chunks/{instruction-discovery-zyc3n123.js → instruction-discovery-tvmrjeqd.js} +8 -8
- package/dist/chunks/{instruction-discovery-7sxtqf2f.js → instruction-discovery-tym1zfxs.js} +8 -8
- package/dist/chunks/{instruction-discovery-2jj4c4zt.js → instruction-discovery-v8pa3zp8.js} +16 -16
- package/dist/chunks/{instruction-discovery-vjawha9d.js → instruction-discovery-vezvtjyv.js} +8 -8
- package/dist/chunks/{instruction-discovery-azwhd2tc.js → instruction-discovery-vhjwdtv8.js} +42 -42
- package/dist/chunks/{instruction-discovery-g21pftbj.js → instruction-discovery-vky023fh.js} +4 -4
- package/dist/chunks/{instruction-discovery-w1ba7bfx.js → instruction-discovery-vrzt526f.js} +3 -3
- package/dist/chunks/{instruction-discovery-z8f4xtsn.js → instruction-discovery-vt28d6rb.js} +30 -30
- package/dist/chunks/{instruction-discovery-gatvvfrq.js → instruction-discovery-vw6bdczd.js} +4 -4
- package/dist/chunks/{instruction-discovery-7bgbbv4d.js → instruction-discovery-vz2yvhh5.js} +13 -13
- package/dist/chunks/{instruction-discovery-dqn19q2m.js → instruction-discovery-w96a8yrh.js} +17 -17
- package/dist/chunks/{instruction-discovery-affjwcb5.js → instruction-discovery-wby3r2te.js} +10 -10
- package/dist/chunks/{instruction-discovery-vzzm1fs5.js → instruction-discovery-wf98qgyv.js} +10 -10
- package/dist/chunks/{instruction-discovery-re585wd9.js → instruction-discovery-wnk72qpq.js} +6 -6
- package/dist/chunks/{instruction-discovery-krzm7rgx.js → instruction-discovery-wp8sj255.js} +22 -22
- package/dist/chunks/{instruction-discovery-wj1r1ebq.js → instruction-discovery-wpemy600.js} +3 -3
- package/dist/chunks/{instruction-discovery-q8xpgn7z.js → instruction-discovery-wr0v3f2s.js} +33 -33
- package/dist/chunks/{instruction-discovery-k0dbnswt.js → instruction-discovery-wt4s349c.js} +17 -17
- package/dist/chunks/{instruction-discovery-z2qvtray.js → instruction-discovery-wvej1134.js} +5 -5
- package/dist/chunks/{instruction-discovery-7zgemx1q.js → instruction-discovery-wwyp4jt6.js} +14 -14
- package/dist/chunks/{instruction-discovery-dys7k0s0.js → instruction-discovery-x5wrmng7.js} +9 -9
- package/dist/chunks/{instruction-discovery-fh0k82d9.js → instruction-discovery-x7bx6zs0.js} +9 -9
- package/dist/chunks/{instruction-discovery-2r93mh4x.js → instruction-discovery-xacpwdh9.js} +4 -4
- package/dist/chunks/{instruction-discovery-3ppptnan.js → instruction-discovery-xcd0eash.js} +5 -5
- package/dist/chunks/{instruction-discovery-npyjj4rp.js → instruction-discovery-xk3qqngr.js} +9 -9
- package/dist/chunks/{instruction-discovery-a6ty58hg.js → instruction-discovery-xkfm5vcm.js} +1 -1
- package/dist/chunks/{instruction-discovery-36k4rsrb.js → instruction-discovery-xqt608y9.js} +29 -29
- package/dist/chunks/{instruction-discovery-s70zranf.js → instruction-discovery-xyc3y5xg.js} +12 -12
- package/dist/chunks/{instruction-discovery-y9sjh7nr.js → instruction-discovery-xz5716ww.js} +31 -31
- package/dist/chunks/{instruction-discovery-5zsyzc28.js → instruction-discovery-xzdfrpe2.js} +16 -16
- package/dist/chunks/{instruction-discovery-hcd6s0vj.js → instruction-discovery-y147vcw1.js} +17 -17
- package/dist/chunks/{instruction-discovery-rajdm094.js → instruction-discovery-y1qj9qp6.js} +28 -28
- package/dist/chunks/{instruction-discovery-9m0vp2wg.js → instruction-discovery-y8ptd9jv.js} +28 -28
- package/dist/chunks/{instruction-discovery-0gbd5s62.js → instruction-discovery-yc7106p4.js} +17 -17
- package/dist/chunks/{instruction-discovery-mbsb5skb.js → instruction-discovery-yeyrdzm0.js} +21 -21
- package/dist/chunks/{instruction-discovery-at0j0jj5.js → instruction-discovery-yh9g6p3v.js} +37 -37
- package/dist/chunks/{instruction-discovery-v4htay49.js → instruction-discovery-ykmz0d95.js} +5 -5
- package/dist/chunks/{instruction-discovery-zpmxq5w8.js → instruction-discovery-yng1p9nw.js} +8 -8
- package/dist/chunks/{instruction-discovery-354f5h3z.js → instruction-discovery-yztevfhp.js} +17 -17
- package/dist/chunks/{instruction-discovery-q5heszs0.js → instruction-discovery-z2qawcf3.js} +22 -22
- package/dist/chunks/{instruction-discovery-29ry0jec.js → instruction-discovery-z4dcjezs.js} +10 -10
- package/dist/chunks/{instruction-discovery-c4317cpf.js → instruction-discovery-zamq423t.js} +1 -1
- package/dist/chunks/{instruction-discovery-w8cfkb27.js → instruction-discovery-zest4r3s.js} +24 -24
- package/dist/chunks/{instruction-discovery-vyq7c4ep.js → instruction-discovery-zkskjjqs.js} +18 -18
- package/dist/chunks/{instruction-discovery-zq8zhbxc.js → instruction-discovery-zmbx7t07.js} +44 -44
- package/dist/chunks/{instruction-discovery-h21ghyap.js → instruction-discovery-zp551mt7.js} +25 -25
- package/dist/codemode/instructions.js +3 -3
- package/dist/command.js +63 -63
- package/dist/config/discovery.js +59 -59
- package/dist/config/normalize.js +73 -73
- package/dist/config/plugin/agent.js +87 -87
- package/dist/config/plugin/command.js +165 -165
- package/dist/config/plugin/compaction.js +119 -119
- package/dist/config/plugin/compatibility.js +104 -104
- package/dist/config/plugin/formatter.js +88 -88
- package/dist/config/plugin/image.js +87 -87
- package/dist/config/plugin/instruction.js +65 -65
- package/dist/config/plugin/location-watcher.js +89 -89
- package/dist/config/plugin/mcp.js +94 -94
- package/dist/config/plugin/policy.js +88 -88
- package/dist/config/plugin/provider.js +87 -87
- package/dist/config/plugin/reference.js +88 -88
- package/dist/config/plugin/shell.js +87 -87
- package/dist/config/plugin/skill-file.js +75 -75
- package/dist/config/plugin/skill.js +105 -105
- package/dist/config/plugin/snapshot.js +87 -87
- package/dist/config/plugin/source.js +88 -88
- package/dist/config/plugin/tool-output.js +87 -87
- package/dist/config/plugin/websearch.js +86 -86
- package/dist/config/plugin/worktree.js +89 -89
- package/dist/config/variable.js +2 -2
- package/dist/config.js +91 -91
- package/dist/credential.js +61 -61
- package/dist/database/database.js +55 -55
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +236 -236
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +66 -66
- package/dist/environment/index.js +66 -66
- package/dist/event-logger.js +12 -12
- package/dist/file-access.js +78 -78
- package/dist/file-mutation.js +67 -67
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +182 -182
- package/dist/filesystem/search.js +68 -68
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +69 -69
- package/dist/form.js +62 -62
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +64 -64
- package/dist/generate.js +79 -79
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +75 -75
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +306 -306
- package/dist/instruction-discovery.js +61 -61
- package/dist/instructions/builtins.js +63 -63
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +65 -65
- package/dist/job.js +59 -59
- package/dist/kv.js +54 -54
- package/dist/location-activity.js +56 -56
- package/dist/location-lifecycle.js +81 -81
- package/dist/location-service-map.js +63 -63
- package/dist/location-services.js +304 -304
- package/dist/location.js +60 -60
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +19 -19
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +94 -94
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +63 -63
- package/dist/modal/models.js +75 -75
- package/dist/model-resolver.js +74 -74
- package/dist/model.js +76 -76
- package/dist/models-dev.js +70 -70
- package/dist/permission/saved.js +61 -61
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +54 -54
- package/dist/plugin/agent.js +56 -56
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +173 -173
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +278 -278
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +71 -71
- package/dist/plugin/module.js +88 -88
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +76 -76
- package/dist/plugin/provider/amazon-bedrock.js +66 -66
- package/dist/plugin/provider/azure.js +86 -86
- package/dist/plugin/provider/chatgpt.js +68 -68
- package/dist/plugin/provider/cloudflare-ai-gateway.js +85 -85
- package/dist/plugin/provider/cloudflare-workers-ai.js +85 -85
- package/dist/plugin/provider/configured.js +84 -84
- package/dist/plugin/provider/digitalocean.js +68 -68
- package/dist/plugin/provider/github-copilot.js +70 -70
- package/dist/plugin/provider/gitlab.js +68 -68
- package/dist/plugin/provider/google-vertex.js +85 -85
- package/dist/plugin/provider/llmgateway.js +58 -58
- package/dist/plugin/provider/lmstudio.js +95 -95
- package/dist/plugin/provider/local.js +92 -92
- package/dist/plugin/provider/modal.js +68 -68
- package/dist/plugin/provider/ollama.js +95 -95
- package/dist/plugin/provider/openai.js +69 -69
- package/dist/plugin/provider/opencode.js +72 -72
- package/dist/plugin/provider/openrouter.js +67 -67
- package/dist/plugin/provider/poe.js +58 -58
- package/dist/plugin/provider/prompt-cache-key.js +66 -66
- package/dist/plugin/provider/sap-ai-core.js +66 -66
- package/dist/plugin/provider/snowflake-cortex.js +86 -86
- package/dist/plugin/provider/vercel.js +66 -66
- package/dist/plugin/provider/vllm.js +95 -95
- package/dist/plugin/provider/xai.js +67 -67
- package/dist/plugin/provider.js +131 -131
- package/dist/plugin/sdk.js +56 -56
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +103 -103
- package/dist/plugin/supervisor.js +296 -296
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +61 -61
- package/dist/plugin/vcs/hg.js +63 -63
- package/dist/plugin/verbosity.js +69 -69
- package/dist/plugin/warming.js +86 -86
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +178 -178
- package/dist/project/sql.js +2 -2
- package/dist/project.js +59 -59
- package/dist/provider.js +77 -77
- package/dist/pty.js +65 -65
- package/dist/reference/instructions.js +63 -63
- package/dist/reference.js +64 -64
- package/dist/repository-cache.js +59 -59
- package/dist/ripgrep.js +63 -63
- package/dist/rpc.js +63 -63
- package/dist/session/command.js +56 -56
- package/dist/session/compaction.js +103 -103
- package/dist/session/context.js +117 -117
- package/dist/session/diff.js +64 -64
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +115 -115
- package/dist/session/execution.js +99 -99
- package/dist/session/generate.js +118 -118
- package/dist/session/history.js +10 -10
- package/dist/session/inbox.js +64 -64
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +57 -57
- package/dist/session/instruction-state.js +4 -4
- package/dist/session/instructions.js +71 -71
- package/dist/session/model-request.js +90 -90
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +100 -100
- package/dist/session/projector.js +62 -62
- package/dist/session/prompt.js +78 -78
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +65 -65
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +184 -184
- package/dist/session/runner/model.js +74 -74
- package/dist/session/runner/publish-llm-event.js +85 -85
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +94 -94
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +131 -131
- package/dist/session/shell.js +99 -99
- package/dist/session/skill.js +77 -77
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +120 -120
- package/dist/session/to-session-error.js +84 -84
- package/dist/session/transfer.js +111 -111
- package/dist/session.js +174 -174
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +8 -8
- package/dist/shell.js +102 -102
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +84 -84
- package/dist/snapshot.js +70 -70
- package/dist/tool/mcp.js +93 -93
- package/dist/tool/plugin/edit.js +90 -90
- package/dist/tool/plugin/glob.js +93 -93
- package/dist/tool/plugin/grep.js +93 -93
- package/dist/tool/plugin/mcp-resource.js +87 -87
- package/dist/tool/plugin/opencode.js +83 -83
- package/dist/tool/plugin/patch.js +92 -92
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +93 -93
- package/dist/tool/plugin/shell.js +170 -170
- package/dist/tool/plugin/skill.js +85 -85
- package/dist/tool/plugin/subagent.js +173 -173
- package/dist/tool/plugin/webfetch.js +83 -83
- package/dist/tool/plugin/websearch.js +86 -86
- package/dist/tool/plugin/write.js +92 -92
- package/dist/tool/read-filesystem.js +66 -66
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +67 -67
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/variant.js +67 -67
- package/dist/vcs.js +66 -66
- package/dist/websearch.js +64 -64
- package/dist/wellknown/plugin.js +56 -56
- package/dist/wellknown.js +59 -59
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +65 -65
- package/dist/worktree.js +71 -71
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-14fj7mdh.js +0 -26
- package/dist/chunks/instruction-discovery-bsemgcs3.js +0 -253
- package/dist/chunks/instruction-discovery-e37mevwb.js +0 -513
- /package/dist/chunks/{instruction-discovery-vgbe0hx2.js → instruction-discovery-0n8a0ffz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rj3eygr5.js → instruction-discovery-c41wscbt.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2cmv458r.js → instruction-discovery-dtqg9ce1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-abyq9s79.js → instruction-discovery-hay4m1s6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0vvktwqa.js → instruction-discovery-z5hqtv59.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./instruction-discovery-
|
|
3
|
+
} from "./instruction-discovery-wby3r2te.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./instruction-discovery-
|
|
6
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./instruction-discovery-
|
|
9
|
+
Event19
|
|
10
|
+
} from "./instruction-discovery-aahhmcvt.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./instruction-discovery-
|
|
13
|
+
} from "./instruction-discovery-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./instruction-discovery-
|
|
18
|
+
} from "./instruction-discovery-171zjyze.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./instruction-discovery-
|
|
20
|
+
Service20
|
|
21
|
+
} from "./instruction-discovery-988cxgr8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./instruction-discovery-
|
|
26
|
+
} from "./instruction-discovery-38mem431.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./instruction-discovery-
|
|
29
|
+
} from "./instruction-discovery-mkkx2xvk.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID4,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./instruction-discovery-
|
|
34
|
+
} from "./instruction-discovery-kppw7hr6.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -172,7 +172,7 @@ var OpencodePlugin2 = define({
|
|
|
172
172
|
const bus = yield* Service84;
|
|
173
173
|
const client = yield* HttpClient.HttpClient;
|
|
174
174
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
175
|
-
const managed = yield*
|
|
175
|
+
const managed = yield* Service20;
|
|
176
176
|
const scope = yield* Scope.Scope;
|
|
177
177
|
const loading = Semaphore.makeUnsafe(1);
|
|
178
178
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
|
|
|
287
287
|
sourceConnection: snapshot.connection
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
-
const item = providers.get(
|
|
290
|
+
const item = providers.get(ID13.opencode);
|
|
291
291
|
if (!item)
|
|
292
292
|
return;
|
|
293
293
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
|
|
|
299
299
|
});
|
|
300
300
|
});
|
|
301
301
|
yield* ctx.model.transform((models) => {
|
|
302
|
-
const item = models.provider.get(
|
|
302
|
+
const item = models.provider.get(ID13.opencode);
|
|
303
303
|
if (!item)
|
|
304
304
|
return;
|
|
305
305
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -333,7 +333,7 @@ var OpencodePlugin2 = define({
|
|
|
333
333
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
334
334
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
335
335
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
336
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
336
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
337
337
|
query: input.query,
|
|
338
338
|
providerID: descriptor.providerID
|
|
339
339
|
}));
|
|
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
|
|
|
388
388
|
});
|
|
389
389
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
390
390
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
391
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
391
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
392
392
|
});
|
|
393
393
|
yield* guard(snapshot);
|
|
394
|
-
yield* bus.subscribe(
|
|
394
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
395
395
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
396
396
|
})
|
|
397
397
|
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin9
|
|
3
|
+
} from "./instruction-discovery-wnk72qpq.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin8
|
|
6
|
+
} from "./instruction-discovery-fng9jkm1.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin3
|
|
9
|
+
} from "./instruction-discovery-n3jw88fx.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin4
|
|
12
|
+
} from "./instruction-discovery-d9kdwp41.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin5
|
|
15
|
+
} from "./instruction-discovery-myrhaa8e.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin9,
|
|
20
|
+
Plugin8,
|
|
21
|
+
Plugin3,
|
|
22
|
+
Plugin4,
|
|
23
|
+
Plugin5
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./instruction-discovery-
|
|
3
|
+
} from "./instruction-discovery-wby3r2te.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./instruction-discovery-
|
|
6
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./instruction-discovery-
|
|
9
|
+
Event19,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./instruction-discovery-aahhmcvt.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./instruction-discovery-
|
|
14
|
+
} from "./instruction-discovery-addxnjmp.js";
|
|
15
15
|
import {
|
|
16
16
|
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./instruction-discovery-
|
|
18
|
+
} from "./instruction-discovery-171zjyze.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
21
|
} from "./instruction-discovery-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./instruction-discovery-
|
|
23
|
+
ID13,
|
|
24
|
+
Service77
|
|
25
|
+
} from "./instruction-discovery-38mem431.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./instruction-discovery-
|
|
27
|
+
ID12
|
|
28
|
+
} from "./instruction-discovery-mkkx2xvk.js";
|
|
29
29
|
import {
|
|
30
30
|
iife2
|
|
31
31
|
} from "./instruction-discovery-1kg9ymc8.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./instruction-discovery-
|
|
34
|
+
} from "./instruction-discovery-1sc6p60b.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/azure.ts
|
|
37
37
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -82,12 +82,12 @@ function make7(endpoints = {
|
|
|
82
82
|
return define({
|
|
83
83
|
id: "opencode.provider.azure",
|
|
84
84
|
effect: Effect.fn(function* (ctx) {
|
|
85
|
-
const configured = yield* configuredSettings2(
|
|
85
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
86
86
|
const processes = yield* AppProcess.Service;
|
|
87
87
|
const fs = yield* FSUtil.Service;
|
|
88
88
|
const bus = yield* Service84;
|
|
89
|
-
const credentials = yield*
|
|
90
|
-
const providers = yield*
|
|
89
|
+
const credentials = yield* Service79;
|
|
90
|
+
const providers = yield* Service77;
|
|
91
91
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
92
92
|
const tokens = new Map;
|
|
93
93
|
const resourceIDs = new Map;
|
|
@@ -114,11 +114,11 @@ function make7(endpoints = {
|
|
|
114
114
|
const listing = {};
|
|
115
115
|
yield* ctx.integration.transform((editor) => {
|
|
116
116
|
editor.method.update({
|
|
117
|
-
integrationID:
|
|
117
|
+
integrationID: ID13.azure,
|
|
118
118
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
119
119
|
});
|
|
120
120
|
editor.method.update({
|
|
121
|
-
integrationID:
|
|
121
|
+
integrationID: ID13.azure,
|
|
122
122
|
method: {
|
|
123
123
|
type: "key",
|
|
124
124
|
label: "API key",
|
|
@@ -136,7 +136,7 @@ function make7(endpoints = {
|
|
|
136
136
|
if (!available)
|
|
137
137
|
return;
|
|
138
138
|
editor.method.update({
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID13.azure,
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "external",
|
|
@@ -164,7 +164,7 @@ function make7(endpoints = {
|
|
|
164
164
|
});
|
|
165
165
|
});
|
|
166
166
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
167
|
-
const connection = yield* ctx.integration.connection.active(
|
|
167
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
168
168
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
169
169
|
return { connection, resource: credentialResource(stored?.value) };
|
|
170
170
|
});
|
|
@@ -204,7 +204,7 @@ function make7(endpoints = {
|
|
|
204
204
|
}));
|
|
205
205
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
206
206
|
const connection = loaded.connection;
|
|
207
|
-
const settings = (yield* providers.get(
|
|
207
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
208
208
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
209
209
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
210
210
|
if (loaded.connection !== connection)
|
|
@@ -226,11 +226,11 @@ function make7(endpoints = {
|
|
|
226
226
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
227
227
|
if (!found)
|
|
228
228
|
return;
|
|
229
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
229
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
230
230
|
return;
|
|
231
231
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
232
232
|
return;
|
|
233
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
233
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
234
234
|
id.toLowerCase(),
|
|
235
235
|
id
|
|
236
236
|
]));
|
|
@@ -243,7 +243,7 @@ function make7(endpoints = {
|
|
|
243
243
|
yield* ctx.model.reload();
|
|
244
244
|
});
|
|
245
245
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
246
|
-
const resourceFor = (provider) => provider.id ===
|
|
246
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
247
247
|
Object.assign(loaded, yield* load());
|
|
248
248
|
const listResources = Effect.fn("AzurePlugin.listResources")(function* () {
|
|
249
249
|
const profile = yield* fs.readFileStringSafe(path.join(process.env.AZURE_CONFIG_DIR ?? path.join(Global.Path.home, ".azure"), "azureProfile.json"));
|
|
@@ -268,7 +268,7 @@ function make7(endpoints = {
|
|
|
268
268
|
yield* listResources().pipe(Effect.catch((cause) => Effect.logDebug("failed to list Azure resources", { cause })), Effect.forkScoped);
|
|
269
269
|
yield* ctx.provider.transform((evt) => {
|
|
270
270
|
for (const item of evt.list()) {
|
|
271
|
-
if (item.provider.id !==
|
|
271
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
272
272
|
continue;
|
|
273
273
|
const resourceName = resourceFor(item.provider);
|
|
274
274
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -283,7 +283,7 @@ function make7(endpoints = {
|
|
|
283
283
|
};
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
|
-
const item = evt.get(
|
|
286
|
+
const item = evt.get(ID13.azure);
|
|
287
287
|
if (!item)
|
|
288
288
|
return;
|
|
289
289
|
evt.add({
|
|
@@ -294,7 +294,7 @@ function make7(endpoints = {
|
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
296
|
for (const item of models.provider.list()) {
|
|
297
|
-
if (item.provider.id !==
|
|
297
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
298
298
|
continue;
|
|
299
299
|
const resourceName = resourceFor(item.provider);
|
|
300
300
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -306,20 +306,20 @@ function make7(endpoints = {
|
|
|
306
306
|
}
|
|
307
307
|
if (!loaded.deployments)
|
|
308
308
|
return;
|
|
309
|
-
const catalog = models.list(
|
|
309
|
+
const catalog = models.list(ID13.azure);
|
|
310
310
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
311
311
|
for (const model of catalog) {
|
|
312
312
|
if (!deployed.has(model.id))
|
|
313
|
-
models.remove(
|
|
313
|
+
models.remove(ID13.azure, model.id);
|
|
314
314
|
}
|
|
315
315
|
for (const [id, model] of deployed) {
|
|
316
|
-
models.update(
|
|
316
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
|
-
yield* bus.subscribe(
|
|
319
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
320
320
|
yield* refresh().pipe(Effect.forkScoped);
|
|
321
321
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
322
|
-
const connection = yield* ctx.integration.connection.active(
|
|
322
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
323
323
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
324
324
|
return;
|
|
325
325
|
})) : undefined;
|
|
@@ -331,7 +331,7 @@ function make7(endpoints = {
|
|
|
331
331
|
return `Bearer ${current.access}`;
|
|
332
332
|
});
|
|
333
333
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
334
|
-
if (evt.model.providerID !==
|
|
334
|
+
if (evt.model.providerID !== ID13.azure)
|
|
335
335
|
return;
|
|
336
336
|
const authorization = yield* bearer(evt.request.url);
|
|
337
337
|
if (!authorization)
|
|
@@ -340,9 +340,9 @@ function make7(endpoints = {
|
|
|
340
340
|
evt.request.headers.delete("x-api-key");
|
|
341
341
|
evt.request.headers.set("authorization", authorization);
|
|
342
342
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
343
|
-
}), { providerID:
|
|
343
|
+
}), { providerID: ID13.azure });
|
|
344
344
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
345
|
-
if (evt.model.providerID !==
|
|
345
|
+
if (evt.model.providerID !== ID13.azure)
|
|
346
346
|
return;
|
|
347
347
|
const authorization = yield* bearer(evt.url);
|
|
348
348
|
if (!authorization)
|
|
@@ -351,7 +351,7 @@ function make7(endpoints = {
|
|
|
351
351
|
delete evt.headers["x-api-key"];
|
|
352
352
|
evt.headers.authorization = authorization;
|
|
353
353
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
354
|
-
}), { providerID:
|
|
354
|
+
}), { providerID: ID13.azure });
|
|
355
355
|
})
|
|
356
356
|
});
|
|
357
357
|
}
|
|
@@ -393,11 +393,11 @@ function deployedModels(deployments, catalog) {
|
|
|
393
393
|
const model = catalogModel(models, deployment);
|
|
394
394
|
if (!model)
|
|
395
395
|
return [];
|
|
396
|
-
const id =
|
|
396
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
397
397
|
const info = {
|
|
398
398
|
...structuredClone(model),
|
|
399
399
|
id,
|
|
400
|
-
modelID:
|
|
400
|
+
modelID: ID12.make(deployment.name),
|
|
401
401
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
402
402
|
};
|
|
403
403
|
return [[id, info]];
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./instruction-discovery-
|
|
3
|
+
node88
|
|
4
|
+
} from "./instruction-discovery-z4dcjezs.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
|
-
|
|
8
|
-
} from "./instruction-discovery-
|
|
7
|
+
node87
|
|
8
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
11
|
} from "./instruction-discovery-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./instruction-discovery-
|
|
14
|
+
} from "./instruction-discovery-5hj7q0js.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
17
|
} from "./instruction-discovery-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./instruction-discovery-
|
|
20
|
+
} from "./instruction-discovery-es1vcfrp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./instruction-discovery-
|
|
23
|
+
} from "./instruction-discovery-2ryng5r3.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./instruction-discovery-
|
|
26
|
+
} from "./instruction-discovery-5dkn69vz.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./instruction-discovery-
|
|
30
|
+
} from "./instruction-discovery-4swz1dz7.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./instruction-discovery-
|
|
32
|
+
Service56,
|
|
33
|
+
node58
|
|
34
|
+
} from "./instruction-discovery-ereph1h9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./instruction-discovery-
|
|
36
|
+
Service14,
|
|
37
|
+
node16
|
|
38
|
+
} from "./instruction-discovery-y8ptd9jv.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
41
|
} from "./instruction-discovery-2vvh33eb.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./instruction-discovery-
|
|
43
|
+
Service38,
|
|
44
|
+
node41
|
|
45
|
+
} from "./instruction-discovery-ketq9gmb.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./instruction-discovery-
|
|
48
|
+
} from "./instruction-discovery-xz5716ww.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./instruction-discovery-
|
|
50
|
+
make9
|
|
51
|
+
} from "./instruction-discovery-scgrse2b.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./instruction-discovery-
|
|
54
|
+
} from "./instruction-discovery-ykmz0d95.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service7,
|
|
57
|
+
node9,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./instruction-discovery-
|
|
59
|
+
} from "./instruction-discovery-7np5bmja.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./instruction-discovery-
|
|
61
|
+
Service32,
|
|
62
|
+
node36
|
|
63
|
+
} from "./instruction-discovery-njm3x30h.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./instruction-discovery-
|
|
68
|
+
} from "./instruction-discovery-rwbpmje9.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service2,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./instruction-discovery-
|
|
72
|
+
node3
|
|
73
|
+
} from "./instruction-discovery-na4dcjrg.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./instruction-discovery-
|
|
76
|
+
Service49
|
|
77
|
+
} from "./instruction-discovery-8gxqpgph.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./instruction-discovery-
|
|
79
|
+
node49
|
|
80
|
+
} from "./instruction-discovery-9w9w77gc.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./instruction-discovery-
|
|
82
|
+
node64
|
|
83
|
+
} from "./instruction-discovery-vezvtjyv.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./instruction-discovery-
|
|
86
|
+
make3
|
|
87
|
+
} from "./instruction-discovery-y147vcw1.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./instruction-discovery-
|
|
89
|
+
Service36
|
|
90
|
+
} from "./instruction-discovery-jqh9b0xq.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./instruction-discovery-
|
|
92
|
+
node26
|
|
93
|
+
} from "./instruction-discovery-q17sgkmf.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
96
|
} from "./instruction-discovery-y44na4kk.js";
|
|
@@ -102,24 +102,24 @@ import {
|
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node2
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
112
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
113
113
|
const bus = yield* Service84;
|
|
114
|
-
const lifecycle = yield*
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
114
|
+
const lifecycle = yield* Service14;
|
|
115
|
+
const store = yield* Service56;
|
|
116
|
+
const context = yield* Service32;
|
|
117
|
+
const modelTransport = yield* Service38;
|
|
118
118
|
const db = (yield* Service85).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
122
|
-
const steps = yield*
|
|
119
|
+
const compaction = yield* Service7;
|
|
120
|
+
const plugins = yield* Service36;
|
|
121
|
+
const title = yield* Service2;
|
|
122
|
+
const steps = yield* make3;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
125
125
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make9(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service49.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node2 = makeLocationNode({
|
|
362
|
+
service: Service49,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
node87,
|
|
366
|
+
node16,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
368
|
+
node36,
|
|
369
|
+
node41,
|
|
370
|
+
node58,
|
|
371
|
+
node9,
|
|
372
|
+
node26,
|
|
373
|
+
node3,
|
|
374
|
+
node49,
|
|
375
|
+
node64,
|
|
376
|
+
node88
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node2, exports_llm };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./instruction-discovery-
|
|
3
|
+
node88
|
|
4
|
+
} from "./instruction-discovery-z4dcjezs.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service84,
|
|
8
|
-
|
|
9
|
-
} from "./instruction-discovery-
|
|
8
|
+
node87
|
|
9
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
12
|
} from "./instruction-discovery-ec1grn59.js";
|
|
@@ -22,27 +22,27 @@ import {
|
|
|
22
22
|
} from "./instruction-discovery-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./instruction-discovery-
|
|
25
|
+
} from "./instruction-discovery-c41wscbt.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./instruction-discovery-
|
|
30
|
+
} from "./instruction-discovery-es1vcfrp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./instruction-discovery-
|
|
36
|
+
} from "./instruction-discovery-rwbpmje9.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./instruction-discovery-
|
|
42
|
+
} from "./instruction-discovery-2ryng5r3.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./instruction-discovery-
|
|
45
|
+
} from "./instruction-discovery-99rzeaw0.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
48
|
} from "./instruction-discovery-gebd4c9n.js";
|
|
@@ -55,7 +55,7 @@ var exports_projector = {};
|
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node35 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node35, exports_projector };
|