@opencode/core 0.0.0-dev-19658 → 0.0.0-dev-19659
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-q7tjfjkg.js → aisdk-native-0dsywrch.js} +24 -24
- package/dist/chunks/{location-86wkksas.js → aisdk-native-0dxrdgf8.js} +6 -6
- package/dist/chunks/{location-k5jjywx3.js → aisdk-native-0f0361zd.js} +41 -41
- package/dist/chunks/{location-rzw4e1rr.js → aisdk-native-0gj0evhw.js} +11 -11
- package/dist/chunks/{location-0xyk4f6x.js → aisdk-native-0hna0z05.js} +83 -83
- package/dist/chunks/{location-7861qcha.js → aisdk-native-0hxaqekr.js} +18 -18
- package/dist/chunks/{location-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-zhd3dgar.js → aisdk-native-0wafeyhj.js} +5 -5
- package/dist/chunks/{location-q5gbzsgk.js → aisdk-native-16zmxd5d.js} +8 -8
- package/dist/chunks/{location-7x2gvtfy.js → aisdk-native-1cfb3ja4.js} +5 -5
- package/dist/chunks/{location-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-wgsyq2g2.js → aisdk-native-1m0ke9tc.js} +3 -3
- package/dist/chunks/{location-gy07hydc.js → aisdk-native-1wabnfeb.js} +3 -3
- package/dist/chunks/aisdk-native-1x11rq2a.js +18 -0
- package/dist/chunks/{location-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{location-1nzs1dt7.js → aisdk-native-23pqda6t.js} +6 -6
- package/dist/chunks/{location-nca7p386.js → aisdk-native-23sxaqwc.js} +6 -6
- package/dist/chunks/{location-jn30mvgr.js → aisdk-native-24xf3npk.js} +11 -11
- package/dist/chunks/{location-en8ynzy9.js → aisdk-native-28e4y2hv.js} +22 -22
- package/dist/chunks/{location-29x78va6.js → aisdk-native-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-x8tmt122.js → aisdk-native-2cdbads6.js} +9 -9
- package/dist/chunks/{location-3w2b2yj4.js → aisdk-native-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-96x6qz65.js → aisdk-native-2gns7qzp.js} +11 -11
- package/dist/chunks/{location-2k8khapm.js → aisdk-native-2k8khapm.js} +1 -1
- package/dist/chunks/{location-06x8he3q.js → aisdk-native-2vs2nh1n.js} +4 -4
- package/dist/chunks/{location-zzvq861e.js → aisdk-native-2x2s87dx.js} +9 -9
- package/dist/chunks/{location-23e0sdpc.js → aisdk-native-331hptqa.js} +3 -3
- package/dist/chunks/{location-50hhjvx3.js → aisdk-native-34q1q4g3.js} +4 -4
- package/dist/chunks/{location-cfj0yfbe.js → aisdk-native-359m9qke.js} +25 -25
- package/dist/chunks/{location-wckfp198.js → aisdk-native-3cx7b8c9.js} +24 -24
- package/dist/chunks/{location-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-d61der1w.js → aisdk-native-3jsa4rg6.js} +16 -16
- package/dist/chunks/{location-34dcfzy2.js → aisdk-native-3kbz71ch.js} +3 -3
- package/dist/chunks/{location-tgks2w6d.js → aisdk-native-3mhvwx4s.js} +10 -10
- package/dist/chunks/{location-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/aisdk-native-4144tsc8.js +26 -0
- package/dist/chunks/{location-2kefad82.js → aisdk-native-451pjvrk.js} +13 -13
- package/dist/chunks/{location-skv4xg8q.js → aisdk-native-4c2trx4e.js} +3 -3
- package/dist/chunks/{location-7r7r939x.js → aisdk-native-4fnbdv1x.js} +2 -2
- package/dist/chunks/{location-nq6ygtzk.js → aisdk-native-4hv83k1t.js} +24 -24
- package/dist/chunks/{location-37ea9c2d.js → aisdk-native-4w5f3qm5.js} +8 -8
- package/dist/chunks/{location-wbakrcvj.js → aisdk-native-4xr2831z.js} +10 -10
- package/dist/chunks/{location-3f9dyp3c.js → aisdk-native-50p7p4wm.js} +8 -8
- package/dist/chunks/{location-56gdpj1q.js → aisdk-native-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{location-yv8j9t10.js → aisdk-native-5nygbceh.js} +10 -10
- package/dist/chunks/{location-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-9mek4kv0.js → aisdk-native-5vzxx5bm.js} +17 -17
- package/dist/chunks/{location-8khwn8xa.js → aisdk-native-60m4dpxp.js} +15 -15
- package/dist/chunks/{location-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{location-2v2kev7s.js → aisdk-native-67cjjfz3.js} +27 -27
- package/dist/chunks/{location-6h73sxmp.js → aisdk-native-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-13r97ts9.js → aisdk-native-6jjmcewh.js} +26 -26
- package/dist/chunks/{location-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-51eea56x.js → aisdk-native-6rtfy69a.js} +11 -11
- package/dist/chunks/{location-4y72ap3v.js → aisdk-native-6t298p2h.js} +12 -12
- package/dist/chunks/{location-57ez7d0k.js → aisdk-native-6x0h2hvg.js} +9 -9
- package/dist/chunks/{location-wnen7h7y.js → aisdk-native-6z9sgxqn.js} +38 -38
- package/dist/chunks/{location-tyhqx03m.js → aisdk-native-70kjzvqh.js} +10 -10
- package/dist/chunks/{location-r5x6zcsm.js → aisdk-native-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-bnjqj5p3.js → aisdk-native-748zbz0t.js} +40 -40
- package/dist/chunks/{location-9m52ezb2.js → aisdk-native-79k2e49w.js} +47 -47
- package/dist/chunks/{location-cwa6csj7.js → aisdk-native-79qaa2kf.js} +9 -9
- package/dist/chunks/{location-var1m86v.js → aisdk-native-7bc5tj51.js} +12 -12
- package/dist/chunks/{location-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qx08wga9.js → aisdk-native-7bq24f4k.js} +13 -13
- package/dist/chunks/{location-339sjr54.js → aisdk-native-7eexgf6y.js} +11 -11
- package/dist/chunks/{location-8bfckdzf.js → aisdk-native-7jt1dbyr.js} +12 -12
- package/dist/chunks/{location-m5970q9f.js → aisdk-native-7m61546t.js} +9 -9
- package/dist/chunks/{location-5xjbzt31.js → aisdk-native-7nv2t5e7.js} +17 -17
- package/dist/chunks/{location-x3a4azgv.js → aisdk-native-7y4g93zh.js} +11 -11
- package/dist/chunks/{location-ed9batnz.js → aisdk-native-808kc461.js} +4 -4
- package/dist/chunks/{location-brzb0pjt.js → aisdk-native-86nf6q4d.js} +7 -7
- package/dist/chunks/{location-k0hm0ppj.js → aisdk-native-888n06p8.js} +6 -6
- package/dist/chunks/{location-bccb6npm.js → aisdk-native-88sz8qcd.js} +4 -4
- package/dist/chunks/{location-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-5x5d8tg1.js → aisdk-native-8f6haeyf.js} +29 -29
- package/dist/chunks/{location-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-bxf8tdej.js → aisdk-native-8v8qk05p.js} +4 -4
- package/dist/chunks/{location-f5avtzec.js → aisdk-native-96waysmg.js} +11 -11
- package/dist/chunks/{location-7a80bsjh.js → aisdk-native-9efavmn1.js} +11 -11
- package/dist/chunks/{location-496ppf69.js → aisdk-native-9fz2jzqv.js} +18 -18
- package/dist/chunks/{location-r8ste1ck.js → aisdk-native-9kmbd9mt.js} +2 -2
- package/dist/chunks/{location-2faw5ef7.js → aisdk-native-9m87xy8c.js} +17 -17
- package/dist/chunks/{location-8eq90n8n.js → aisdk-native-9q3gb9j3.js} +14 -14
- package/dist/chunks/{location-6c6gzq39.js → aisdk-native-9yccxaet.js} +48 -48
- package/dist/chunks/{location-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{location-251fb10q.js → aisdk-native-abbd0srp.js} +26 -26
- package/dist/chunks/{location-xsvdyt0s.js → aisdk-native-ae7djn2q.js} +13 -13
- package/dist/chunks/{location-th94vcaa.js → aisdk-native-af9v6wdb.js} +23 -23
- package/dist/chunks/{location-ghb6dw5x.js → aisdk-native-agas1js3.js} +3 -3
- package/dist/chunks/{location-6sbe3e33.js → aisdk-native-ahvgrgdh.js} +13 -13
- package/dist/chunks/{location-chfvzptm.js → aisdk-native-ak2as40b.js} +10 -10
- package/dist/chunks/{location-an7cqtb7.js → aisdk-native-an7cqtb7.js} +1 -1
- package/dist/chunks/{location-2pnhn36q.js → aisdk-native-axmvebxj.js} +4 -4
- package/dist/chunks/{location-7k7zh3qr.js → aisdk-native-aydjvc15.js} +17 -17
- package/dist/chunks/{location-fkb7e5ds.js → aisdk-native-b1r5pdk4.js} +13 -13
- package/dist/chunks/{location-qa3qhgw8.js → aisdk-native-b27vhd2z.js} +4 -4
- package/dist/chunks/{location-e5b7myd9.js → aisdk-native-b2da4m4w.js} +4 -4
- package/dist/chunks/{location-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-bajakh74.js → aisdk-native-bajakh74.js} +4 -4
- package/dist/chunks/{location-cn2nrzps.js → aisdk-native-baxt3tw0.js} +24 -24
- package/dist/chunks/{location-jva4mgym.js → aisdk-native-bjn91642.js} +4 -4
- package/dist/chunks/{location-rbqenzp4.js → aisdk-native-bpvf94qg.js} +22 -22
- package/dist/chunks/{location-t89gs4p7.js → aisdk-native-byvpkk98.js} +10 -10
- package/dist/chunks/{location-3bbrp7y1.js → aisdk-native-c0ff335f.js} +17 -17
- package/dist/chunks/{location-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-ednp5hmx.js → aisdk-native-ctzssw83.js} +8 -8
- package/dist/chunks/{location-qv6dpkjj.js → aisdk-native-dh7xq6zm.js} +4 -4
- package/dist/chunks/{location-57b9ws8p.js → aisdk-native-drwq78ky.js} +5 -5
- package/dist/chunks/{location-5cxtm7bs.js → aisdk-native-e1pmx1t0.js} +15 -15
- package/dist/chunks/{location-m11g7xy2.js → aisdk-native-e2335xen.js} +16 -16
- package/dist/chunks/{location-mx09shfg.js → aisdk-native-e248x3jn.js} +12 -12
- package/dist/chunks/{location-m3p5ews0.js → aisdk-native-e2hdwa5k.js} +8 -8
- package/dist/chunks/{location-87deq66t.js → aisdk-native-e3ayzqwh.js} +8 -8
- package/dist/chunks/{location-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-t0gchcch.js → aisdk-native-ehb2gjf8.js} +13 -13
- package/dist/chunks/{location-xax9g04y.js → aisdk-native-ejzsabnb.js} +23 -23
- package/dist/chunks/{location-ygt2fm35.js → aisdk-native-erpj0ymn.js} +26 -26
- package/dist/chunks/{location-bmw63xjq.js → aisdk-native-esph3pet.js} +306 -306
- package/dist/chunks/{location-z2nh5xtk.js → aisdk-native-eswk50af.js} +10 -10
- package/dist/chunks/{location-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-4wjrfpfr.js → aisdk-native-f6n9ymec.js} +24 -24
- package/dist/chunks/{location-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{location-xhps9kw3.js → aisdk-native-f8pwhm1g.js} +24 -24
- package/dist/chunks/{location-ya3w475s.js → aisdk-native-f96rndfk.js} +5 -5
- package/dist/chunks/{location-v46024yx.js → aisdk-native-fc8gtdz2.js} +1 -1
- package/dist/chunks/{location-maz0e8pn.js → aisdk-native-fgxf6epx.js} +5 -5
- package/dist/chunks/{location-3tq5qxbk.js → aisdk-native-fkjmw100.js} +4 -4
- package/dist/chunks/{location-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-nx74h8ag.js → aisdk-native-g2wezmb8.js} +31 -31
- package/dist/chunks/{location-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-r80gq034.js → aisdk-native-geznyajv.js} +16 -16
- package/dist/chunks/{location-gctr1sw8.js → aisdk-native-gp08z3nw.js} +6 -6
- package/dist/chunks/{location-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-xa5p1vmb.js → aisdk-native-gwasxxyt.js} +31 -31
- package/dist/chunks/{location-pd1sw0zy.js → aisdk-native-gwqc9hw0.js} +25 -25
- package/dist/chunks/{location-gaq06wk0.js → aisdk-native-gx8hye9g.js} +6 -6
- package/dist/chunks/{location-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-6wdd4sn3.js → aisdk-native-h0h5wsmg.js} +14 -14
- package/dist/chunks/{location-67t79zb6.js → aisdk-native-h610k8s8.js} +15 -15
- package/dist/chunks/{location-ebe9bak5.js → aisdk-native-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-510m7gjw.js → aisdk-native-hcz3zddy.js} +5 -5
- package/dist/chunks/{location-wmhkxz7c.js → aisdk-native-hd29hty9.js} +7 -7
- package/dist/chunks/{location-jzv7hrdh.js → aisdk-native-hh7agjhc.js} +40 -40
- package/dist/chunks/{location-b24v1g3v.js → aisdk-native-hh9m7f5s.js} +31 -31
- package/dist/chunks/{location-5q76taye.js → aisdk-native-hn0kr74v.js} +19 -19
- package/dist/chunks/{location-j3p5ngfb.js → aisdk-native-hrywwc1n.js} +14 -14
- package/dist/chunks/{location-sf4dfcqt.js → aisdk-native-ht9hrq0m.js} +20 -20
- package/dist/chunks/{location-8t0sj8q6.js → aisdk-native-hx2g52bz.js} +5 -5
- package/dist/chunks/{location-w27pm9me.js → aisdk-native-hy20qw0x.js} +15 -15
- package/dist/chunks/{location-mygg1vka.js → aisdk-native-hyv2nsj8.js} +35 -35
- package/dist/chunks/{location-4vg4ks7t.js → aisdk-native-j4dhk6n6.js} +20 -20
- package/dist/chunks/{location-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{location-3bmpx6jt.js → aisdk-native-j5x2gm5w.js} +4 -4
- package/dist/chunks/{location-cpbw8163.js → aisdk-native-jcefac6b.js} +51 -51
- package/dist/chunks/{location-1k5f7654.js → aisdk-native-jjke4x7z.js} +15 -15
- package/dist/chunks/{location-43yrs188.js → aisdk-native-jkv0zw5y.js} +32 -32
- package/dist/chunks/{location-0hamrkm4.js → aisdk-native-jnzjsk2z.js} +36 -36
- package/dist/chunks/{location-1ca5mjv4.js → aisdk-native-jp1wq4j5.js} +11 -11
- package/dist/chunks/{location-jppvw2tx.js → aisdk-native-jppvw2tx.js} +2 -2
- package/dist/chunks/{location-3pyx2gpt.js → aisdk-native-jz717kwe.js} +22 -22
- package/dist/chunks/{location-x32zrvqm.js → aisdk-native-k074j3w6.js} +41 -41
- package/dist/chunks/{location-j7qxv4aj.js → aisdk-native-k51e4aw5.js} +30 -30
- package/dist/chunks/{location-begrs0yj.js → aisdk-native-kmb9ebe8.js} +30 -30
- package/dist/chunks/{location-a3ftg8j6.js → aisdk-native-kp8q1t60.js} +9 -9
- package/dist/chunks/{location-yjb6xngg.js → aisdk-native-kq0bb674.js} +21 -21
- package/dist/chunks/{location-c1k63ygc.js → aisdk-native-kx9pe8v3.js} +22 -22
- package/dist/chunks/{location-zvp4yy8h.js → aisdk-native-m2e5j58z.js} +14 -14
- package/dist/chunks/{location-bba6sqk7.js → aisdk-native-m3sg1ew5.js} +7 -7
- package/dist/chunks/{location-ee7kvn5h.js → aisdk-native-m9rcy9e9.js} +25 -25
- package/dist/chunks/{location-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-fjs5xx1d.js → aisdk-native-mf9m2v67.js} +3 -3
- package/dist/chunks/{location-2hr5nhwa.js → aisdk-native-mp6d0dty.js} +8 -8
- package/dist/chunks/{location-wfwy58wd.js → aisdk-native-msfpjnen.js} +22 -22
- package/dist/chunks/{location-apya2hza.js → aisdk-native-n0kdxk8f.js} +19 -19
- package/dist/chunks/{location-yck5mxex.js → aisdk-native-n11baakf.js} +10 -10
- package/dist/chunks/{location-pvrjs4yz.js → aisdk-native-n4xd5mbw.js} +11 -11
- package/dist/chunks/{location-sg5fy40w.js → aisdk-native-nf5c5hdx.js} +32 -32
- package/dist/chunks/{location-3qchzd5j.js → aisdk-native-nfgpg7sz.js} +10 -10
- package/dist/chunks/{location-yv4dpavb.js → aisdk-native-nhhcxfy5.js} +25 -25
- package/dist/chunks/{location-6wz0fpth.js → aisdk-native-nr3rnpny.js} +11 -11
- package/dist/chunks/{location-1fzvkq6b.js → aisdk-native-nshkq49p.js} +64 -64
- package/dist/chunks/{location-6cjrqzet.js → aisdk-native-nt0hfq1t.js} +18 -18
- package/dist/chunks/{location-mtft99cd.js → aisdk-native-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-96b9akrn.js → aisdk-native-nyvrwfsp.js} +7 -7
- package/dist/chunks/{location-yxrvd12h.js → aisdk-native-p0dy5qgw.js} +173 -173
- package/dist/chunks/{location-1ajx6rf5.js → aisdk-native-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-pzz1nbp9.js → aisdk-native-pbqf8yzy.js} +5 -5
- package/dist/chunks/{location-2kdpwj1f.js → aisdk-native-pfzt5ex6.js} +3 -3
- package/dist/chunks/{location-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-0292n7zp.js → aisdk-native-pkkve4e3.js} +5 -5
- package/dist/chunks/{location-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{location-j3qk5xq3.js → aisdk-native-ppegfhjd.js} +9 -9
- package/dist/chunks/{location-a2jjt3bn.js → aisdk-native-pqkjy9pg.js} +28 -28
- package/dist/chunks/{location-avc8n21j.js → aisdk-native-q13p9eja.js} +13 -13
- package/dist/chunks/{location-stn45mdz.js → aisdk-native-qbxewh6p.js} +37 -37
- package/dist/chunks/{location-jhq2w8nd.js → aisdk-native-qdsfqex4.js} +13 -13
- package/dist/chunks/{location-vdg07bfs.js → aisdk-native-qe4vt3fh.js} +4 -4
- package/dist/chunks/{location-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{location-1twvxmhv.js → aisdk-native-qskfz9c0.js} +37 -37
- package/dist/chunks/{location-63mm3hew.js → aisdk-native-qyknhhpm.js} +32 -32
- package/dist/chunks/{location-gdfwdqg1.js → aisdk-native-r330a857.js} +20 -20
- package/dist/chunks/{location-9b6jkn76.js → aisdk-native-r3jjmetn.js} +6 -6
- package/dist/chunks/{location-r9mregkx.js → aisdk-native-r9mregkx.js} +2 -2
- package/dist/chunks/{location-cpdheze8.js → aisdk-native-rdbxvgxv.js} +11 -11
- package/dist/chunks/{location-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-x2c1vmj7.js → aisdk-native-rgax8w17.js} +44 -44
- package/dist/chunks/{location-x60t9eey.js → aisdk-native-rjt1w22v.js} +5 -5
- package/dist/chunks/{location-f4tgg2kc.js → aisdk-native-rn5qsgpz.js} +1 -1
- package/dist/chunks/{location-s4enseaf.js → aisdk-native-s4enseaf.js} +2 -2
- package/dist/chunks/{location-fhbwfkce.js → aisdk-native-s7z13rzp.js} +17 -17
- package/dist/chunks/{location-8k62qdcz.js → aisdk-native-scavptnn.js} +18 -18
- package/dist/chunks/{location-ryt7pzqc.js → aisdk-native-scq4khx8.js} +1 -1
- package/dist/chunks/{location-sxzvkvgj.js → aisdk-native-sxzvkvgj.js} +1 -1
- package/dist/chunks/{location-t550f9t1.js → aisdk-native-t550f9t1.js} +1 -1
- package/dist/chunks/{location-ts9new8c.js → aisdk-native-t63nzm9r.js} +37 -37
- package/dist/chunks/{location-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-7hqq4yr5.js → aisdk-native-tdbz4xj3.js} +3 -3
- package/dist/chunks/{location-ataz063g.js → aisdk-native-tddjggae.js} +16 -16
- package/dist/chunks/{location-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{location-t4bxqr6c.js → aisdk-native-thz469sg.js} +8 -8
- package/dist/chunks/{location-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{location-r4q4j9a5.js → aisdk-native-v23ngtav.js} +83 -83
- package/dist/chunks/{location-1y0rb0ak.js → aisdk-native-v2cfd9mg.js} +17 -17
- package/dist/chunks/{location-b8hzf7nw.js → aisdk-native-v30t9zn6.js} +8 -8
- package/dist/chunks/{location-5dx64r44.js → aisdk-native-v4wfwvtq.js} +11 -11
- package/dist/chunks/{location-jhhychjc.js → aisdk-native-v7zr17ek.js} +10 -10
- package/dist/chunks/{location-fdvvjpp8.js → aisdk-native-vdd4sn1x.js} +11 -11
- package/dist/chunks/{location-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{location-w0ejc12g.js → aisdk-native-vfmr2m2j.js} +18 -18
- package/dist/chunks/aisdk-native-vy5gba4s.js +247 -0
- package/dist/chunks/{location-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-xqsj03fy.js → aisdk-native-wa0ja8bs.js} +14 -14
- package/dist/chunks/{location-mtj0w11y.js → aisdk-native-wasmnp9g.js} +4 -4
- package/dist/chunks/{location-r7mqfzj6.js → aisdk-native-wbghmt8t.js} +24 -24
- package/dist/chunks/{location-02khppbe.js → aisdk-native-wbt9zsn3.js} +9 -9
- package/dist/chunks/{location-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{location-370e5hc7.js → aisdk-native-wfszgscg.js} +25 -25
- package/dist/chunks/{location-kgvs6344.js → aisdk-native-wje5afyb.js} +15 -15
- package/dist/chunks/{location-b80qvjyn.js → aisdk-native-wna5sgbh.js} +24 -24
- package/dist/chunks/{location-qn627g2p.js → aisdk-native-wpfw97x8.js} +17 -17
- package/dist/chunks/{location-v1mb79rm.js → aisdk-native-wse8x4gb.js} +15 -15
- package/dist/chunks/{location-1e5k370n.js → aisdk-native-x01x7vs9.js} +4 -4
- package/dist/chunks/{location-en7kw85b.js → aisdk-native-x16ewxve.js} +17 -17
- package/dist/chunks/{location-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-m87mxrfe.js → aisdk-native-xdce8axh.js} +5 -5
- package/dist/chunks/{location-j0rfc03s.js → aisdk-native-xf3xt1ha.js} +3 -3
- package/dist/chunks/{location-8k81hsz5.js → aisdk-native-xj33pkwb.js} +296 -296
- package/dist/chunks/{location-ywkfy99j.js → aisdk-native-xk747vep.js} +9 -9
- package/dist/chunks/{location-04e598sb.js → aisdk-native-xrjwjpzr.js} +4 -4
- package/dist/chunks/{location-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{location-5ccd62tn.js → aisdk-native-y9ag30cx.js} +10 -10
- package/dist/chunks/{location-hxr4ws4r.js → aisdk-native-ycwrzegc.js} +8 -8
- package/dist/chunks/{location-rzkgkfj2.js → aisdk-native-ydyy4a51.js} +5 -5
- package/dist/chunks/{location-yp2x3t23.js → aisdk-native-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-t1njq8np.js → aisdk-native-yv8wa7ky.js} +37 -37
- package/dist/chunks/{location-bk6zst5d.js → aisdk-native-ywhsgpfh.js} +18 -18
- package/dist/chunks/{location-cvezkyr6.js → aisdk-native-yy5xejng.js} +35 -35
- package/dist/chunks/{location-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-97nfm5th.js → aisdk-native-z45k2q9b.js} +13 -13
- package/dist/chunks/{location-h813zdhp.js → aisdk-native-z84mk0fk.js} +6 -6
- package/dist/chunks/{location-ac9hcp81.js → aisdk-native-zctbk1s6.js} +33 -33
- package/dist/chunks/{location-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-ep3z54wh.js → aisdk-native-zgfg11tk.js} +44 -44
- package/dist/chunks/{location-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-j1wra8w6.js → aisdk-native-zvfby6ng.js} +9 -9
- package/dist/chunks/{location-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +98 -98
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +101 -101
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-8pz1rfxz.js +0 -26
- package/dist/chunks/location-pjk1k7sh.js +0 -247
- package/dist/chunks/location-rap9a73h.js +0 -18
- /package/dist/chunks/{location-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → aisdk-native-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service80,
|
|
9
|
-
node84
|
|
10
|
-
} from "./location-4y72ap3v.js";
|
|
11
|
-
import {
|
|
12
8
|
Service78,
|
|
13
9
|
node82
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-6t298p2h.js";
|
|
11
|
+
import {
|
|
12
|
+
Service76,
|
|
13
|
+
node80
|
|
14
|
+
} from "./aisdk-native-tddjggae.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node46,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node46 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service44, Service44.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5,
|
|
166
|
+
export { ID5, Error3, Service44, node46, noopLayer3, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-1cfb3ja4.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-xf3xt1ha.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service36,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service36 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service36.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service36, node39, exports_instruction_entry };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./aisdk-native-748zbz0t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./aisdk-native-e248x3jn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-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: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = 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* Service58;
|
|
27
|
+
const output = yield* Service60;
|
|
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 Plugin3 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin18, exports_tool_output };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-wasmnp9g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./aisdk-native-4xr2831z.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service27,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-1x11rq2a.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-p0dy5qgw.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service27,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node23
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service81;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service65;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service27.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node23 = Node.makeLocationNode({
|
|
226
|
+
service: Service27,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-mf9m2v67.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./aisdk-native-wna5sgbh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./aisdk-native-jkv0zw5y.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-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: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node6,
|
|
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 Service5 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 = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service62;
|
|
331
|
+
return Service5.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [node65] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-xf3xt1ha.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID8,
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
17
|
+
Info: () => Info11,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service52,
|
|
21
|
+
node: () => node54
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,8 +26,8 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID8 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service52 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service82).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service52.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node54 = makeGlobalNode({ service: Service52, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export { ID8,
|
|
73
|
+
export { ID8, Info11, ListInput5, AddInput2, Service52, node54, exports_saved };
|