@opencode/core 0.0.0-dev-21344 → 0.0.0-dev-21353
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/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{form-268xe8g9.js → image-01h0gpd0.js} +8 -8
- package/dist/chunks/{form-7217af1g.js → image-083vb51a.js} +14 -14
- package/dist/chunks/{form-0vbcp93d.js → image-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-9yd6k3gs.js → image-0wgykzth.js} +19 -19
- package/dist/chunks/{form-x86nz4fc.js → image-0yb1y9ej.js} +10 -10
- package/dist/chunks/{form-3mgq9tn8.js → image-1194cnex.js} +13 -13
- package/dist/chunks/{form-tpw6cwsb.js → image-1ajx6rf5.js} +8 -8
- package/dist/chunks/{form-whvnf6b4.js → image-1h1fsptm.js} +28 -28
- package/dist/chunks/{form-wryv9aq9.js → image-1hs8ay8h.js} +8 -8
- package/dist/chunks/{form-1a8kzx3z.js → image-1k7anrhw.js} +9 -9
- package/dist/chunks/{form-f88m6yqb.js → image-1kn5hemh.js} +14 -14
- package/dist/chunks/{form-ggkcxy96.js → image-1p1ve7qe.js} +9 -9
- package/dist/chunks/{form-n3gv7a1h.js → image-1rrzdxsd.js} +27 -27
- package/dist/chunks/{form-zx383xpj.js → image-1tw9c27j.js} +11 -11
- package/dist/chunks/{form-qq5nsf62.js → image-1vbha5hz.js} +27 -27
- package/dist/chunks/{form-z0p92055.js → image-1zt75xk3.js} +9 -9
- package/dist/chunks/{form-g97htqd3.js → image-22r91a23.js} +19 -19
- package/dist/chunks/{form-gv897vmw.js → image-2f6gh5w9.js} +13 -13
- package/dist/chunks/{form-vgcrqvce.js → image-2qbg3zpg.js} +19 -19
- package/dist/chunks/{form-22sd1qqc.js → image-30846h32.js} +7 -7
- package/dist/chunks/{form-46tcmqje.js → image-30b6sj23.js} +21 -21
- package/dist/chunks/{form-t3dbhzng.js → image-351565k0.js} +13 -13
- package/dist/chunks/{form-fn9t717r.js → image-395q6j9z.js} +6 -6
- package/dist/chunks/{form-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-pypvpsrm.js → image-3hw58eqe.js} +11 -11
- package/dist/chunks/{form-3hwn7j4h.js → image-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-06qmw05c.js → image-3hwtt59p.js} +31 -31
- package/dist/chunks/{form-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-1mn6fryd.js → image-3tfenn25.js} +31 -31
- package/dist/chunks/{form-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-3zsf4n22.js → image-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-4r8b378w.js → image-46pvfnqm.js} +8 -8
- package/dist/chunks/{form-8pdcb37s.js → image-4728cpmt.js} +181 -181
- package/dist/chunks/{form-ygdna4kr.js → image-47jkzegy.js} +5 -5
- package/dist/chunks/{form-1v56txv5.js → image-4asr5hs3.js} +32 -32
- package/dist/chunks/{form-7n556vnp.js → image-4dc6xvm0.js} +32 -32
- package/dist/chunks/{form-sgphrwae.js → image-4emc1x7w.js} +41 -41
- package/dist/chunks/{form-cyj5tmxp.js → image-4hq8n4vp.js} +21 -21
- package/dist/chunks/{form-brndm0ne.js → image-4k4srkdp.js} +18 -18
- package/dist/chunks/image-4zse7ahf.js +26 -0
- package/dist/chunks/{form-tre5yt63.js → image-518cpg7m.js} +8 -8
- package/dist/chunks/{form-54ma36ye.js → image-54ma36ye.js} +1 -1
- package/dist/chunks/{form-e7gxy7fd.js → image-5g57z1ma.js} +4 -4
- package/dist/chunks/{form-exh5eq2b.js → image-5g60a5nh.js} +11 -11
- package/dist/chunks/{form-5zh9a8yb.js → image-5gaecxeq.js} +16 -16
- package/dist/chunks/{form-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-pgty7w5v.js → image-5vax2cp3.js} +37 -37
- package/dist/chunks/{form-yj7k2rcj.js → image-6559rxr6.js} +3 -3
- package/dist/chunks/{form-9f3m9enf.js → image-66fmfm27.js} +32 -32
- package/dist/chunks/{form-6827pfxn.js → image-6827pfxn.js} +1 -1
- package/dist/chunks/{form-1xag7s0d.js → image-6h1e3r96.js} +14 -14
- package/dist/chunks/{form-3snckwy5.js → image-6kzz2s8v.js} +17 -17
- package/dist/chunks/{form-gnbbadj4.js → image-6qfwa7rm.js} +49 -49
- package/dist/chunks/{form-6xb47vfp.js → image-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-775gj3j1.js → image-775gj3j1.js} +2 -2
- package/dist/chunks/{form-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-qgn6gcr1.js → image-7dqw4kz8.js} +5 -5
- package/dist/chunks/{form-hg8tkm75.js → image-7t4ht595.js} +6 -6
- package/dist/chunks/{form-j5897gd2.js → image-7yzy18e4.js} +23 -23
- package/dist/chunks/{form-d04ep358.js → image-7zkbhs7g.js} +11 -11
- package/dist/chunks/{form-g686f6pq.js → image-80z0vyq9.js} +9 -9
- package/dist/chunks/{form-84txncab.js → image-84txncab.js} +1 -1
- package/dist/chunks/{form-8m6m0r52.js → image-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-8mywswrd.js → image-8mywswrd.js} +1 -1
- package/dist/chunks/{form-rkprpv83.js → image-8sze2n9a.js} +6 -6
- package/dist/chunks/{form-xyxs5dm1.js → image-8y0yx82m.js} +4 -4
- package/dist/chunks/{form-ejrgmtaq.js → image-8yewg0d7.js} +9 -9
- package/dist/chunks/{form-mjagy123.js → image-96te9d4b.js} +5 -5
- package/dist/chunks/{form-q82c1dje.js → image-97ymgzak.js} +87 -87
- package/dist/chunks/{form-nkc1tx59.js → image-97z0bs43.js} +28 -28
- package/dist/chunks/{form-251hxpd6.js → image-9bh5q6pj.js} +2 -2
- package/dist/chunks/{form-t89fqycx.js → image-9c3np669.js} +8 -8
- package/dist/chunks/{form-64vmcaw9.js → image-9gw0rpsb.js} +43 -43
- package/dist/chunks/{form-03hw1891.js → image-9jzf0aw1.js} +18 -18
- package/dist/chunks/{form-517dcg1a.js → image-9zh3v5nb.js} +11 -11
- package/dist/chunks/{form-a20pjse5.js → image-a20pjse5.js} +3 -3
- package/dist/chunks/{form-yef9qky4.js → image-a7ahas1f.js} +16 -16
- package/dist/chunks/{form-7xhhy66q.js → image-a80hvs68.js} +15 -15
- package/dist/chunks/{form-prv28kd3.js → image-aa1e1jy5.js} +14 -14
- package/dist/chunks/{form-x661k3y3.js → image-addxnjmp.js} +4 -4
- package/dist/chunks/{form-16jfehqd.js → image-amhhbad9.js} +34 -34
- package/dist/chunks/{form-v4v0g7kw.js → image-anrfh71g.js} +6 -6
- package/dist/chunks/{form-my4zabxr.js → image-axe3mf62.js} +3 -3
- package/dist/chunks/{form-12ceq3sd.js → image-b22jz9vm.js} +15 -15
- package/dist/chunks/{form-ryr25ayn.js → image-b27vhd2z.js} +4 -4
- package/dist/chunks/{form-zdha7q0e.js → image-b2wb4m7c.js} +4 -4
- package/dist/chunks/{form-d31hr9cr.js → image-bban3ndt.js} +13 -13
- package/dist/chunks/{form-j1mj860n.js → image-bezhzanq.js} +9 -9
- package/dist/chunks/{form-kj0herga.js → image-bx90z22d.js} +18 -18
- package/dist/chunks/{form-1ep4rre3.js → image-bzeyqsqd.js} +4 -4
- package/dist/chunks/{form-c1fqxshp.js → image-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-ct33827a.js → image-c3ck1ek2.js} +46 -46
- package/dist/chunks/{form-k3qrda5j.js → image-cafbeayz.js} +17 -17
- package/dist/chunks/{form-w3qw7gwn.js → image-cdxmksqt.js} +11 -11
- package/dist/chunks/{form-cefkz2r6.js → image-cefkz2r6.js} +4 -4
- package/dist/chunks/{form-pkywgpj6.js → image-cegemc0n.js} +22 -22
- package/dist/chunks/{form-05praa0f.js → image-cmdcezg6.js} +17 -17
- package/dist/chunks/{form-yx0rmv9r.js → image-cr9wy6w1.js} +6 -6
- package/dist/chunks/{form-y5fzqhne.js → image-csarmdtz.js} +11 -11
- package/dist/chunks/{form-zjndanvv.js → image-ct0tjryq.js} +21 -21
- package/dist/chunks/{form-8myr7ban.js → image-d1h1yke4.js} +6 -6
- package/dist/chunks/{form-e6b459zv.js → image-d1hgjan3.js} +26 -26
- package/dist/chunks/{form-38cy47c3.js → image-d7kj1354.js} +7 -7
- package/dist/chunks/{form-d7j2b6b5.js → image-d9gh4r4w.js} +5 -5
- package/dist/chunks/{form-znjyvqyt.js → image-djz5h4wt.js} +31 -31
- package/dist/chunks/{form-crj8jj8v.js → image-dm6x1dpw.js} +34 -34
- package/dist/chunks/{form-we3w1333.js → image-dsckepem.js} +7 -7
- package/dist/chunks/{form-fj60yz2g.js → image-dt5mbat4.js} +17 -17
- package/dist/chunks/{form-5qd3pb7m.js → image-e3qxr5gk.js} +2 -2
- package/dist/chunks/{form-dgp61zeh.js → image-e6sdtbx3.js} +16 -16
- package/dist/chunks/{form-3xh7hkzg.js → image-e73frkv9.js} +23 -18
- package/dist/chunks/{form-e80seqcp.js → image-ed1g29hy.js} +3 -3
- package/dist/chunks/{form-eej6y6fw.js → image-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-ghxkdvab.js → image-efydrm8z.js} +38 -38
- package/dist/chunks/{form-t3afeeqz.js → image-eh9fasn9.js} +28 -28
- package/dist/chunks/{form-fhvqd07r.js → image-ejdpgxfh.js} +16 -16
- package/dist/chunks/{form-ra3vfzv1.js → image-erxz9e35.js} +8 -8
- package/dist/chunks/{form-wa3r9qa9.js → image-et5vwysx.js} +10 -10
- package/dist/chunks/{form-m3s3xc92.js → image-f1zvn1zp.js} +30 -30
- package/dist/chunks/{form-g6smwwgg.js → image-f3naraw2.js} +25 -25
- package/dist/chunks/{form-1f0rm155.js → image-f6byfets.js} +13 -13
- package/dist/chunks/{form-y56ehv6b.js → image-f6f3rwdv.js} +9 -9
- package/dist/chunks/{form-h1vf0xqq.js → image-f9vsjar2.js} +25 -25
- package/dist/chunks/{form-ggd4e67m.js → image-fb3qa2a3.js} +18 -18
- package/dist/chunks/{form-fcy631f0.js → image-fcy631f0.js} +1 -1
- package/dist/chunks/{form-nvb1bc80.js → image-fec344yp.js} +17 -17
- package/dist/chunks/{form-caz0srpv.js → image-fgwq36m4.js} +11 -11
- package/dist/chunks/{form-1rh4e964.js → image-fhq72wmn.js} +11 -11
- package/dist/chunks/{form-es3vcbkv.js → image-fs8xzatb.js} +1 -1
- package/dist/chunks/{form-djszqvmq.js → image-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-hzt320k7.js → image-g6xanekf.js} +17 -17
- package/dist/chunks/{form-t179r25m.js → image-gavj6vbb.js} +42 -42
- package/dist/chunks/{form-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-ctf2yk4c.js → image-ggrkrqbp.js} +29 -29
- package/dist/chunks/{form-qfv36mrb.js → image-ghepbszt.js} +14 -14
- package/dist/chunks/{form-7eh5v8ez.js → image-gjvb00zj.js} +24 -24
- package/dist/chunks/{form-qh43smsn.js → image-gmcj73t6.js} +15 -15
- package/dist/chunks/{form-rc6vcpxp.js → image-gt43e7fh.js} +31 -31
- package/dist/chunks/{form-ft0vqakg.js → image-gvenbtv1.js} +48 -48
- package/dist/chunks/{form-7g9ka3b7.js → image-gyec0xxy.js} +14 -14
- package/dist/chunks/{form-gpmesn0v.js → image-h4ys6t5f.js} +44 -44
- package/dist/chunks/{form-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-k60xj1t7.js → image-h9mg0s4d.js} +2 -2
- package/dist/chunks/{form-hgz4x7wa.js → image-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-1851grx7.js → image-hm1vmn1k.js} +13 -13
- package/dist/chunks/{form-4xf1jpfm.js → image-hqk4yetc.js} +4 -4
- package/dist/chunks/{form-wwvmde0v.js → image-hstfzaq7.js} +7 -7
- package/dist/chunks/{form-sxcwrkvg.js → image-hypd32sv.js} +5 -5
- package/dist/chunks/image-j5t1wkep.js +257 -0
- package/dist/chunks/{form-rcmz3p1d.js → image-j8yjkxsc.js} +16 -16
- package/dist/chunks/{form-gvj76kbm.js → image-jbx0qmp6.js} +13 -13
- package/dist/chunks/{form-x3fa5db0.js → image-jjbjr11c.js} +13 -13
- package/dist/chunks/{form-nnatg56w.js → image-jkyda9gr.js} +24 -24
- package/dist/chunks/{form-sqph2rem.js → image-jmjkmz1e.js} +3 -3
- package/dist/chunks/image-jqh9b0xq.js +18 -0
- package/dist/chunks/{form-90gj6ab4.js → image-jr45emde.js} +21 -21
- package/dist/chunks/{form-dpkg50ah.js → image-jwcy2c2z.js} +4 -4
- package/dist/chunks/{form-jpatghfr.js → image-jy18cvd3.js} +11 -11
- package/dist/chunks/{form-fz4d0gag.js → image-k2t3b49x.js} +45 -45
- package/dist/chunks/{form-9hhx5af9.js → image-kemp0nh6.js} +4 -4
- package/dist/chunks/{form-hq3c8me3.js → image-khmqacep.js} +4 -4
- package/dist/chunks/{form-1pxz8ven.js → image-kjdm35cs.js} +5 -5
- package/dist/chunks/{form-3kmbmqbb.js → image-kjk76est.js} +1 -1
- package/dist/chunks/{form-5h12h0cy.js → image-kkf1g7ev.js} +35 -35
- package/dist/chunks/{form-sz15zhhw.js → image-kqv3x6rj.js} +9 -9
- package/dist/chunks/{form-w4mkebwp.js → image-ktmtg3js.js} +28 -28
- package/dist/chunks/{form-86d0rtkg.js → image-kv5z1x5y.js} +11 -11
- package/dist/chunks/{form-kwb1v3vj.js → image-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-gp275c3d.js → image-kx2jnmha.js} +86 -86
- package/dist/chunks/{form-kx5nz21w.js → image-m05az60r.js} +7 -7
- package/dist/chunks/{form-nj7hqrdc.js → image-m2jn1rny.js} +8 -8
- package/dist/chunks/{form-gkn1t7a9.js → image-m6f686h9.js} +7 -7
- package/dist/chunks/{form-eba4qtm8.js → image-m6pzv6qy.js} +30 -30
- package/dist/chunks/{form-861n07f3.js → image-m7hsy9t7.js} +21 -21
- package/dist/chunks/{form-xvb5x7q0.js → image-m88e3v2c.js} +13 -13
- package/dist/chunks/{form-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-qm4y2xbd.js → image-ma49tmbe.js} +16 -16
- package/dist/chunks/{form-maspj1v3.js → image-maspj1v3.js} +1 -1
- package/dist/chunks/{form-43pfpj47.js → image-mnrjv27a.js} +11 -11
- package/dist/chunks/{form-njd51qxm.js → image-mvq0hees.js} +29 -29
- package/dist/chunks/{form-ve45bn9x.js → image-n1n7vh17.js} +6 -6
- package/dist/chunks/{form-s031wkkr.js → image-n1ppvzbf.js} +18 -18
- package/dist/chunks/{form-s26hbv8p.js → image-n2srvep7.js} +4 -4
- package/dist/chunks/{form-jtf29y2t.js → image-n86af5gf.js} +12 -12
- package/dist/chunks/{form-ck9mnxsy.js → image-n8s7bsma.js} +19 -19
- package/dist/chunks/{form-yvgq1qte.js → image-nbh0xpzn.js} +11 -11
- package/dist/chunks/{form-65mr19er.js → image-nc0h3w2m.js} +12 -12
- package/dist/chunks/{form-gwc3z95n.js → image-ncrh0je9.js} +21 -21
- package/dist/chunks/{form-d45h4px0.js → image-ndm49mgb.js} +63 -63
- package/dist/chunks/{form-mbtcjnsj.js → image-nragh1dj.js} +9 -9
- package/dist/chunks/{form-48sw23k9.js → image-nvzrxvxc.js} +20 -20
- package/dist/chunks/{form-nz56sr1f.js → image-nz56sr1f.js} +2 -2
- package/dist/chunks/{form-sxzvkvgj.js → image-nzq7ck9f.js} +6 -6
- package/dist/chunks/{form-rzqnmzcf.js → image-p0xc8cbz.js} +28 -28
- package/dist/chunks/{form-p0ztmah6.js → image-p24h42ep.js} +27 -27
- package/dist/chunks/{form-ntwbnv8p.js → image-p29tfqw7.js} +8 -8
- package/dist/chunks/{form-h3jggzk4.js → image-p3v7df0d.js} +3 -3
- package/dist/chunks/{form-pxp0janp.js → image-p44ennw5.js} +28 -28
- package/dist/chunks/{form-svz1p6c6.js → image-p4vsvt80.js} +26 -26
- package/dist/chunks/{form-45ptwq2c.js → image-p7zyqd9z.js} +4 -4
- package/dist/chunks/{form-3jqnp5e1.js → image-panvc78e.js} +27 -27
- package/dist/chunks/{form-g7cb5dsr.js → image-pd4nms9f.js} +25 -25
- package/dist/chunks/{form-zy43x3f1.js → image-pgp1nwjn.js} +4 -4
- package/dist/chunks/{form-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{form-a5wmqwpc.js → image-pmbsp082.js} +5 -5
- package/dist/chunks/{form-c6jrq38e.js → image-pmyh7nqh.js} +11 -11
- package/dist/chunks/{form-e0vw22bh.js → image-pvxjgtaj.js} +13 -13
- package/dist/chunks/{form-mjb8sty1.js → image-pwv5f1qj.js} +14 -14
- package/dist/chunks/{form-1zvfhj0e.js → image-q5b9end6.js} +17 -17
- package/dist/chunks/{form-g2t9s127.js → image-q5c54jq2.js} +5 -5
- package/dist/chunks/{form-vcxbe612.js → image-qaytfw51.js} +11 -11
- package/dist/chunks/{form-qnc92qwc.js → image-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{form-wz5ft07p.js → image-qxtmr2bd.js} +4 -4
- package/dist/chunks/{form-y3446w5g.js → image-r8scfq5x.js} +11 -11
- package/dist/chunks/{form-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → image-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → image-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-0nwnefwx.js → image-s42kenf7.js} +26 -26
- package/dist/chunks/{form-4q08mgzs.js → image-s7jracht.js} +50 -50
- package/dist/chunks/{form-sa8ekw3f.js → image-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-h2r6cra7.js → image-sehrhyyf.js} +29 -29
- package/dist/chunks/{form-npw39rc8.js → image-shq4beby.js} +8 -8
- package/dist/chunks/{form-6cw2sbjh.js → image-sp6vjzv0.js} +22 -22
- package/dist/chunks/{form-syv4x271.js → image-syv4x271.js} +1 -1
- package/dist/chunks/{form-9vkgtp31.js → image-t4ge0q7b.js} +11 -11
- package/dist/chunks/{form-t550f9t1.js → image-t550f9t1.js} +1 -1
- package/dist/chunks/{form-g4m4kdwx.js → image-t75jmxzf.js} +19 -19
- package/dist/chunks/{form-p9z0zkdt.js → image-t990ctgk.js} +17 -17
- package/dist/chunks/{form-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-89znhe33.js → image-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{form-tm0kqsz3.js → image-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-xc1f0rvb.js → image-tm49qxme.js} +29 -29
- package/dist/chunks/{form-3n01zwdf.js → image-ttegwk89.js} +51 -51
- package/dist/chunks/{form-tyytaxap.js → image-tyytaxap.js} +1 -1
- package/dist/chunks/{form-v210v162.js → image-v210v162.js} +2 -2
- package/dist/chunks/{form-v7p4zvkq.js → image-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{form-2z0hcvmw.js → image-vezscz40.js} +11 -11
- package/dist/chunks/{form-qy0p29jn.js → image-vjftp164.js} +20 -20
- package/dist/chunks/{form-q3nahge5.js → image-vn5825e0.js} +30 -30
- package/dist/chunks/{form-fww2ha2b.js → image-vppcbm3y.js} +10 -10
- package/dist/chunks/{form-c61xra83.js → image-vt86xne3.js} +24 -24
- package/dist/chunks/{form-e03vnsya.js → image-vwxanczf.js} +3 -3
- package/dist/chunks/{form-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-7je7e60q.js → image-w78vqhg3.js} +22 -22
- package/dist/chunks/{form-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{form-znm2wwgf.js → image-wg4qsc1b.js} +3 -3
- package/dist/chunks/{form-1ffvrpkg.js → image-wjr9rjd7.js} +9 -9
- package/dist/chunks/{form-y0samtkt.js → image-wq6k0z11.js} +8 -8
- package/dist/chunks/{form-3gc7db2q.js → image-wsq2zfdz.js} +9 -9
- package/dist/chunks/{form-rsm4htgs.js → image-wt7tckee.js} +14 -14
- package/dist/chunks/{form-24whbny8.js → image-wwj4grbh.js} +14 -14
- package/dist/chunks/{form-mze36jyg.js → image-x5j6pcx9.js} +19 -19
- package/dist/chunks/{form-drwq78ky.js → image-xfkkasph.js} +4 -4
- package/dist/chunks/{form-tdqj5rj9.js → image-xj1aydcy.js} +5 -5
- package/dist/chunks/{form-eps22w94.js → image-xk4cpj8j.js} +11 -11
- package/dist/chunks/{form-a9fy9mxz.js → image-xkhyfmkz.js} +4 -4
- package/dist/chunks/{form-e17kez53.js → image-xpsv30eg.js} +9 -9
- package/dist/chunks/{form-cdyfjk22.js → image-xq4c3w27.js} +7 -7
- package/dist/chunks/{form-tag4a24h.js → image-xzyrnmr3.js} +5 -5
- package/dist/chunks/{form-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-cjd6ew82.js → image-y1nrmgz3.js} +17 -17
- package/dist/chunks/{form-km5g435h.js → image-y5x4fqb9.js} +3 -3
- package/dist/chunks/{form-bmkdxg01.js → image-ya42eppp.js} +336 -336
- package/dist/chunks/{form-4kpsjb1s.js → image-ykyctq8j.js} +5 -5
- package/dist/chunks/{form-rnwvn009.js → image-ymfzg3r4.js} +20 -20
- package/dist/chunks/{form-awg6j8k5.js → image-yvxf7myb.js} +24 -24
- package/dist/chunks/{form-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-z18fegx4.js → image-z18fegx4.js} +1 -1
- package/dist/chunks/{form-2vs2nh1n.js → image-zee1rnkq.js} +4 -4
- package/dist/chunks/{form-spvhq4rn.js → image-zgdtg3bp.js} +5 -5
- package/dist/chunks/{form-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-hw9vqzfw.js → image-zsaz8xqx.js} +38 -38
- package/dist/chunks/{form-sacfpxxw.js → image-zsg2y1wt.js} +2 -2
- package/dist/chunks/{form-tdvmxvqx.js → image-zwcaz485.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +167 -140
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-1x11rq2a.js +0 -18
- package/dist/chunks/form-49xamyg9.js +0 -257
- package/dist/chunks/form-8dempt9d.js +0 -26
- /package/dist/chunks/{form-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → image-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → image-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node87
|
|
7
|
+
} from "./image-m2jn1rny.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node80
|
|
17
|
+
} from "./image-kv5z1x5y.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service57,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node61,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service57 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service84;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service57.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node61 = makeGlobalNode({
|
|
171
|
+
service: Service57,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node80]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service57, isError2, validateBranch2, node61, exports_repository_cache };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service53,
|
|
8
|
+
node56
|
|
9
|
+
} from "./image-w78vqhg3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./image-4dc6xvm0.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service11,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node13,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service53;
|
|
335
|
+
return Service11.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [node56] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node13, exports_read_filesystem };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID3,
|
|
6
|
+
Service43
|
|
7
|
+
} from "./image-p0xc8cbz.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-axe3mf62.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-6559rxr6.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service43;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID3.make(from),
|
|
91
|
+
to: ID3.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./image-6qfwa7rm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./image-7zkbhs7g.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin14
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin14 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service70;
|
|
27
|
+
const output = yield* Service46;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin34 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin14, exports_tool_output };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service13,
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service13 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service13.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service13, node15, exports_location_watcher_policy };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-mnrjv27a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./image-p0xc8cbz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./image-yvxf7myb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./image-7zkbhs7g.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-6559rxr6.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-ykyctq8j.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-vwxanczf.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-395q6j9z.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service85;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service43;
|
|
58
|
+
const toolOutput = yield* Service46;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-r8scfq5x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-mnrjv27a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID16,
|
|
9
|
+
Event20,
|
|
10
|
+
Service81
|
|
11
|
+
} from "./image-f1zvn1zp.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-addxnjmp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-1vbha5hz.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service78
|
|
25
|
+
} from "./image-mvq0hees.js";
|
|
26
26
|
import {
|
|
27
27
|
ID11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-vt86xne3.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-anrfh71g.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service81;
|
|
77
|
+
const providers = yield* Service78;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
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))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID13.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID13.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID13.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID13.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID13.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make7();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make7, AzurePlugin2 };
|