@opencode/core 0.0.0-dev-20716 → 0.0.0-dev-20718
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{plugin-zr1vdv8d.js → aisdk-05j2vfq8.js} +18 -18
- package/dist/chunks/{plugin-cm2n3612.js → aisdk-094ctrsg.js} +11 -11
- package/dist/chunks/{plugin-nw3qp17x.js → aisdk-0kkjrqx1.js} +26 -26
- package/dist/chunks/{plugin-drjeadwa.js → aisdk-0mjfw0rd.js} +25 -25
- package/dist/chunks/{plugin-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-4xw7q3e5.js → aisdk-10zfs9v4.js} +40 -40
- package/dist/chunks/{plugin-pyaqxafm.js → aisdk-1169xqyh.js} +26 -26
- package/dist/chunks/{plugin-t9pkw8p9.js → aisdk-12d6p297.js} +21 -21
- package/dist/chunks/{plugin-refa6f6d.js → aisdk-13mc0h3d.js} +26 -26
- package/dist/chunks/{plugin-81exr9xt.js → aisdk-14cg4zwm.js} +20 -20
- package/dist/chunks/{plugin-1zc36k3v.js → aisdk-1a34xymg.js} +7 -7
- package/dist/chunks/{plugin-r8xr0va3.js → aisdk-1acjjqhc.js} +4 -4
- package/dist/chunks/{plugin-pjphrd73.js → aisdk-1d5zt5jt.js} +13 -13
- package/dist/chunks/{plugin-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/aisdk-27sa8ph3.js +26 -0
- package/dist/chunks/{plugin-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-zshn8c59.js → aisdk-2c4c8eb8.js} +35 -35
- package/dist/chunks/{plugin-3ee781nc.js → aisdk-2cdv17s0.js} +14 -14
- package/dist/chunks/{plugin-fcrkznn8.js → aisdk-2k8khapm.js} +5 -5
- package/dist/chunks/{plugin-ad3f97w8.js → aisdk-2nrvvkjz.js} +30 -30
- package/dist/chunks/{plugin-nyhm2pe6.js → aisdk-2qw3ex0c.js} +9 -9
- package/dist/chunks/{plugin-731gbtyw.js → aisdk-32fqvz19.js} +42 -42
- package/dist/chunks/{plugin-5qdzryxg.js → aisdk-338jypc4.js} +30 -30
- package/dist/chunks/{plugin-h2b79v29.js → aisdk-3cegwx68.js} +2 -2
- package/dist/chunks/{plugin-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-t32j9pk6.js → aisdk-3hdhfc6s.js} +13 -13
- package/dist/chunks/{plugin-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-7v9cbr6d.js → aisdk-3pkdw9ej.js} +11 -11
- package/dist/chunks/{plugin-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-6347z6ya.js → aisdk-3z2pgn2e.js} +33 -33
- package/dist/chunks/{plugin-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-wrs1pmrk.js → aisdk-405megzh.js} +24 -24
- package/dist/chunks/{plugin-hw6d5gbj.js → aisdk-40bve78s.js} +8 -8
- package/dist/chunks/{plugin-f62qkzqr.js → aisdk-4a6jpjer.js} +5 -5
- package/dist/chunks/{plugin-1a75fjgy.js → aisdk-4e5ceejs.js} +28 -28
- package/dist/chunks/{plugin-4w5f3qm5.js → aisdk-4e8vs6eh.js} +8 -8
- package/dist/chunks/{plugin-b02dhnsm.js → aisdk-4gqmja2c.js} +20 -20
- package/dist/chunks/{plugin-rgmrnzyv.js → aisdk-4j6k3mdb.js} +11 -11
- package/dist/chunks/{plugin-p7cteepy.js → aisdk-4mse7y1r.js} +24 -24
- package/dist/chunks/{plugin-84gkm6w5.js → aisdk-4n7ky6ky.js} +4 -4
- package/dist/chunks/{plugin-11dqjexa.js → aisdk-4nj4bn9q.js} +9 -9
- package/dist/chunks/{plugin-2ccvkpx1.js → aisdk-4ts7tf6z.js} +2 -2
- package/dist/chunks/{plugin-2pnhn36q.js → aisdk-50mzsvk4.js} +21 -21
- package/dist/chunks/{plugin-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-5a5md02d.js → aisdk-59ghbxbk.js} +55 -55
- package/dist/chunks/{plugin-gbmp0j2a.js → aisdk-5d46m1s1.js} +34 -34
- package/dist/chunks/{plugin-y0wg71jz.js → aisdk-5h2y2y6j.js} +33 -33
- package/dist/chunks/{plugin-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-5pyjqqve.js → aisdk-5pyjqqve.js} +2 -2
- package/dist/chunks/{plugin-e3qxr5gk.js → aisdk-5qd3pb7m.js} +2 -2
- package/dist/chunks/{plugin-j7zryc91.js → aisdk-5r3w98ry.js} +8 -8
- package/dist/chunks/{plugin-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-r0jkcj1b.js → aisdk-5v05r06m.js} +3 -3
- package/dist/chunks/{plugin-1he5hg8q.js → aisdk-5xkk72ep.js} +11 -11
- package/dist/chunks/{plugin-pxhak851.js → aisdk-6147m9bn.js} +6 -6
- package/dist/chunks/{plugin-7t56kane.js → aisdk-67mfe1v3.js} +22 -22
- package/dist/chunks/{plugin-x7jrqq4e.js → aisdk-68v7wfjx.js} +7 -7
- package/dist/chunks/{plugin-kv7d7xma.js → aisdk-6b6b0p3x.js} +11 -11
- package/dist/chunks/{plugin-4qfmz2gm.js → aisdk-6bct72er.js} +14 -14
- package/dist/chunks/{plugin-g9fj5wqd.js → aisdk-6gb2fxnc.js} +20 -20
- package/dist/chunks/{plugin-6h1ernme.js → aisdk-6kgskxtw.js} +11 -11
- package/dist/chunks/{plugin-1xkvfpwz.js → aisdk-6wr5pqyy.js} +21 -21
- package/dist/chunks/{plugin-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-hc27pwqt.js → aisdk-7f35wzte.js} +28 -28
- package/dist/chunks/{plugin-jhqtn4pg.js → aisdk-7ptkxh7r.js} +17 -17
- package/dist/chunks/{plugin-4z9p2se2.js → aisdk-7q65g6rf.js} +17 -17
- package/dist/chunks/{plugin-ywamwn7x.js → aisdk-7syps78g.js} +4 -4
- package/dist/chunks/{plugin-r514a842.js → aisdk-7tc3rzgd.js} +9 -9
- package/dist/chunks/{plugin-5gawfmt6.js → aisdk-7wg7867s.js} +20 -20
- package/dist/chunks/{plugin-d858xzj7.js → aisdk-80scg3y3.js} +4 -4
- package/dist/chunks/{plugin-9afpsfvx.js → aisdk-82xh11mn.js} +19 -19
- package/dist/chunks/{plugin-1dvck2a7.js → aisdk-84h8c373.js} +2 -2
- package/dist/chunks/{plugin-84txncab.js → aisdk-84txncab.js} +1 -1
- package/dist/chunks/{plugin-psvgxdkg.js → aisdk-858snxx8.js} +4 -4
- package/dist/chunks/{plugin-cfcy483q.js → aisdk-85fnhgs1.js} +33 -33
- package/dist/chunks/{plugin-91p1v22t.js → aisdk-89bb6baa.js} +8 -8
- package/dist/chunks/{plugin-9ajf8e0t.js → aisdk-8cw6acet.js} +11 -11
- package/dist/chunks/{plugin-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-4ezfzqbj.js → aisdk-8j21hf7j.js} +2 -2
- package/dist/chunks/{plugin-2e04gbjj.js → aisdk-8ka639ry.js} +4 -4
- package/dist/chunks/{plugin-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-qzf73wsh.js → aisdk-8r9ww22p.js} +15 -15
- package/dist/chunks/{plugin-ejak9dhc.js → aisdk-8vb1kfxm.js} +40 -40
- package/dist/chunks/{plugin-ya6e0w5c.js → aisdk-8ye6c6xa.js} +43 -43
- package/dist/chunks/{plugin-fhcrm83x.js → aisdk-90qmze2t.js} +34 -34
- package/dist/chunks/{plugin-1k22ry1w.js → aisdk-9amd8k98.js} +11 -11
- package/dist/chunks/{plugin-s2g5tphy.js → aisdk-9dg7gv22.js} +15 -15
- package/dist/chunks/{plugin-j7qcjkyd.js → aisdk-9dh32pzn.js} +44 -44
- package/dist/chunks/{plugin-2336b01z.js → aisdk-9eq5kwq7.js} +8 -8
- package/dist/chunks/{plugin-cjt22dq1.js → aisdk-9n4785an.js} +16 -16
- package/dist/chunks/{plugin-r0xq1941.js → aisdk-9pnzhqc7.js} +3 -3
- package/dist/chunks/{plugin-hhrcfy2a.js → aisdk-9s9a6maz.js} +184 -184
- package/dist/chunks/{plugin-9sh4wc5j.js → aisdk-9sh4wc5j.js} +1 -1
- package/dist/chunks/{plugin-33q5xsn5.js → aisdk-9skkajgp.js} +11 -11
- package/dist/chunks/{plugin-s8d7rejh.js → aisdk-9t7a50xb.js} +4 -4
- package/dist/chunks/{plugin-s9r2n8zd.js → aisdk-a0bsrstn.js} +3 -3
- package/dist/chunks/{plugin-eay56ta9.js → aisdk-a5wv1q3m.js} +13 -13
- package/dist/chunks/{plugin-n2zqvap7.js → aisdk-aae6qf80.js} +33 -33
- package/dist/chunks/{plugin-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-f8c48b1w.js → aisdk-ae0txsc2.js} +42 -42
- package/dist/chunks/{plugin-fbsjs46p.js → aisdk-ahbzt5yt.js} +26 -26
- package/dist/chunks/{plugin-tmdpeazq.js → aisdk-ak966m7n.js} +12 -12
- package/dist/chunks/{plugin-v6w3d60y.js → aisdk-axy7hhva.js} +18 -18
- package/dist/chunks/{plugin-scgrse2b.js → aisdk-b3f8fkhc.js} +5 -5
- package/dist/chunks/{plugin-47jkzegy.js → aisdk-b674v2dg.js} +5 -5
- package/dist/chunks/{plugin-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-1z18ck0n.js → aisdk-bsprd9wx.js} +9 -9
- package/dist/chunks/{plugin-b9kzf0wm.js → aisdk-btkedg0r.js} +47 -47
- package/dist/chunks/{plugin-q8px5grq.js → aisdk-byfghf8b.js} +20 -20
- package/dist/chunks/{plugin-y36z6atj.js → aisdk-bymgkydd.js} +4 -4
- package/dist/chunks/{plugin-vvc0eer9.js → aisdk-c1tbcnkt.js} +43 -43
- package/dist/chunks/{plugin-0bvpg6nm.js → aisdk-c3x7741y.js} +25 -25
- package/dist/chunks/{plugin-m6hcz0m6.js → aisdk-c4swjyak.js} +9 -9
- package/dist/chunks/{plugin-2c1zyav3.js → aisdk-cbfarec0.js} +9 -9
- package/dist/chunks/{plugin-cwwrcagb.js → aisdk-cbjgg9ej.js} +5 -5
- package/dist/chunks/{plugin-zkcpggaq.js → aisdk-ccwrtn9t.js} +30 -30
- package/dist/chunks/{plugin-0te0cf72.js → aisdk-cg8cfg6z.js} +24 -24
- package/dist/chunks/{plugin-9vbdnjbz.js → aisdk-cnsh48jf.js} +4 -4
- package/dist/chunks/{plugin-6mr91m03.js → aisdk-cs3h3v80.js} +34 -34
- package/dist/chunks/{plugin-4z58m4b4.js → aisdk-d2czbp48.js} +4 -4
- package/dist/chunks/{plugin-aeexs5yx.js → aisdk-d3bsz2ft.js} +24 -24
- package/dist/chunks/{plugin-7mqz96f4.js → aisdk-d59k028k.js} +20 -20
- package/dist/chunks/{plugin-g8wkkt5t.js → aisdk-d827s438.js} +15 -15
- package/dist/chunks/{plugin-z33gpsam.js → aisdk-dc606gpm.js} +13 -13
- package/dist/chunks/{plugin-v7w5nhha.js → aisdk-dkc4gvyb.js} +25 -25
- package/dist/chunks/{plugin-dpkg50ah.js → aisdk-dpkg50ah.js} +1 -1
- package/dist/chunks/{plugin-tfrx45ns.js → aisdk-dt6wnj9q.js} +11 -11
- package/dist/chunks/{plugin-w5ea6xsj.js → aisdk-dtmxbh2p.js} +23 -23
- package/dist/chunks/{plugin-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-zvt5dnpc.js → aisdk-embw8kgh.js} +4 -4
- package/dist/chunks/{plugin-qvz03jj1.js → aisdk-epag531p.js} +4 -4
- package/dist/chunks/{plugin-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-9hn6k4tm.js → aisdk-eys57y9b.js} +8 -8
- package/dist/chunks/{plugin-b9w2rp40.js → aisdk-f1smy17a.js} +12 -12
- package/dist/chunks/{plugin-drkn8tgb.js → aisdk-f6ms68ht.js} +11 -11
- package/dist/chunks/{plugin-71az546q.js → aisdk-f75zav2x.js} +2 -2
- package/dist/chunks/{plugin-4434d9q2.js → aisdk-fpecnkgp.js} +9 -9
- package/dist/chunks/{plugin-9deqs6b2.js → aisdk-fshcdfd1.js} +7 -7
- package/dist/chunks/{plugin-0040kgya.js → aisdk-fvt3t9ag.js} +15 -15
- package/dist/chunks/{plugin-f9ed3mbq.js → aisdk-g67ghwv4.js} +20 -20
- package/dist/chunks/{plugin-0pje3wpz.js → aisdk-g8ksfxxf.js} +20 -20
- package/dist/chunks/{plugin-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-syh7g5hv.js → aisdk-geak4k47.js} +24 -24
- package/dist/chunks/{plugin-rc1ztwwt.js → aisdk-gebd7nce.js} +41 -41
- package/dist/chunks/{plugin-nhs9pheh.js → aisdk-gnfcjh5e.js} +6 -6
- package/dist/chunks/{plugin-nqfysxyg.js → aisdk-gqr0qac7.js} +19 -19
- package/dist/chunks/{plugin-cjnb9fx3.js → aisdk-gsh07107.js} +1 -1
- package/dist/chunks/{plugin-7mpnrwh9.js → aisdk-h010z3gc.js} +5 -5
- package/dist/chunks/{plugin-bb1q0dxh.js → aisdk-h45t1q73.js} +20 -20
- package/dist/chunks/{plugin-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-czpcksrb.js → aisdk-hdnacwsd.js} +9 -9
- package/dist/chunks/{plugin-6ms2k3cp.js → aisdk-hjjfw830.js} +3 -3
- package/dist/chunks/{plugin-dxxcy6b7.js → aisdk-hpz74jw5.js} +10 -10
- package/dist/chunks/{plugin-qm1cwvyg.js → aisdk-hyfgp2gj.js} +19 -19
- package/dist/chunks/{plugin-hs8w90mj.js → aisdk-j0krdp1f.js} +3 -3
- package/dist/chunks/{plugin-sp0rvjz9.js → aisdk-j1bwjtdy.js} +49 -49
- package/dist/chunks/{plugin-dv57ms7t.js → aisdk-j3qy8zzr.js} +9 -9
- package/dist/chunks/{plugin-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-0egz4g8j.js → aisdk-jfweghsk.js} +11 -11
- package/dist/chunks/{plugin-cfsekr6v.js → aisdk-jktqzjpa.js} +8 -8
- package/dist/chunks/{plugin-m9zqhkv0.js → aisdk-jmj0fv2f.js} +29 -29
- package/dist/chunks/{plugin-s53nhgqv.js → aisdk-jsr8nbtc.js} +16 -16
- package/dist/chunks/{plugin-4mw11sjj.js → aisdk-jv8f1fdp.js} +86 -86
- package/dist/chunks/{plugin-zxbspt8e.js → aisdk-k0a3z2qz.js} +4 -4
- package/dist/chunks/{plugin-vxzh5eqq.js → aisdk-kb6gw2zp.js} +4 -4
- package/dist/chunks/{plugin-9e5bzkjp.js → aisdk-kb9j3d72.js} +3 -3
- package/dist/chunks/{plugin-hn9gbd1m.js → aisdk-kdwekf82.js} +4 -4
- package/dist/chunks/{plugin-kjdm35cs.js → aisdk-kjdm35cs.js} +2 -2
- package/dist/chunks/{plugin-jh47mxj5.js → aisdk-kpkp6m3y.js} +11 -11
- package/dist/chunks/{plugin-f2yvyqxr.js → aisdk-kq7tnyq1.js} +3 -3
- package/dist/chunks/{plugin-gabayzqy.js → aisdk-kqrd183v.js} +8 -8
- package/dist/chunks/{plugin-0nghm7mk.js → aisdk-kvtt08kh.js} +1 -1
- package/dist/chunks/{plugin-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-7qnfss41.js → aisdk-m3tsmga5.js} +11 -11
- package/dist/chunks/{plugin-y1b74c65.js → aisdk-m55qy151.js} +10 -10
- package/dist/chunks/{plugin-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-360kw5yh.js → aisdk-mfjeqe8f.js} +21 -21
- package/dist/chunks/{plugin-1ygqh575.js → aisdk-mfqp6xfm.js} +6 -6
- package/dist/chunks/{plugin-tc7jvtnb.js → aisdk-mn8cz3nb.js} +13 -13
- package/dist/chunks/{plugin-73tb2d7t.js → aisdk-mvfsc1pv.js} +3 -3
- package/dist/chunks/{plugin-1gy6cnch.js → aisdk-mzv0hta7.js} +12 -12
- package/dist/chunks/{plugin-0cd6g7qn.js → aisdk-n48gz485.js} +32 -32
- package/dist/chunks/{plugin-gh5z95q3.js → aisdk-n8sna2wb.js} +9 -9
- package/dist/chunks/{plugin-prfy19s1.js → aisdk-nbrc9aa0.js} +3 -3
- package/dist/chunks/{plugin-s6hk9e70.js → aisdk-ne0t6hxj.js} +5 -5
- package/dist/chunks/{plugin-hw0p3tgj.js → aisdk-nf8q49m4.js} +22 -22
- package/dist/chunks/{plugin-gs574n2b.js → aisdk-ng9xra76.js} +55 -55
- package/dist/chunks/{plugin-dgpvcc9c.js → aisdk-njfztfhq.js} +13 -13
- package/dist/chunks/{plugin-zf1zfd4r.js → aisdk-nn0jcdjx.js} +79 -79
- package/dist/chunks/{plugin-dxkam57h.js → aisdk-nqvhmk1c.js} +5 -5
- package/dist/chunks/{plugin-ks3yrbs5.js → aisdk-p48gy0gp.js} +65 -65
- package/dist/chunks/{plugin-jhsjgqmj.js → aisdk-p558d1j2.js} +5 -5
- package/dist/chunks/{plugin-m6fr6886.js → aisdk-p8rc01br.js} +23 -23
- package/dist/chunks/{plugin-6qgafbs3.js → aisdk-pcbf55sh.js} +11 -11
- package/dist/chunks/{plugin-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-xq23y69h.js → aisdk-pjzpwaef.js} +8 -8
- package/dist/chunks/{plugin-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-2xmw97mn.js → aisdk-prht8xn4.js} +11 -11
- package/dist/chunks/{plugin-8tb08yqb.js → aisdk-pyg17xra.js} +18 -18
- package/dist/chunks/{plugin-0j77ygfz.js → aisdk-q0xm7vwc.js} +6 -6
- package/dist/chunks/{plugin-as98je0f.js → aisdk-q9v66sme.js} +7 -7
- package/dist/chunks/{plugin-xhq15gqt.js → aisdk-qmbazkjd.js} +5 -5
- package/dist/chunks/{plugin-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-jp2ksrwx.js → aisdk-qp1fnkgb.js} +20 -20
- package/dist/chunks/{plugin-4jjqa0cz.js → aisdk-qp4nwdz3.js} +14 -14
- package/dist/chunks/{plugin-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-zr9y32zn.js → aisdk-r0m4b8s8.js} +23 -23
- package/dist/chunks/{plugin-7fzbnxm1.js → aisdk-r100n5nc.js} +8 -8
- package/dist/chunks/{plugin-zfs8ae4p.js → aisdk-r2dnqh6n.js} +4 -4
- package/dist/chunks/{plugin-q16rmxfd.js → aisdk-r2f95n35.js} +4 -4
- package/dist/chunks/{plugin-d4he2qe1.js → aisdk-r2m716tb.js} +9 -9
- package/dist/chunks/{plugin-7e170h78.js → aisdk-r44petzp.js} +12 -12
- package/dist/chunks/{plugin-26ac1eqm.js → aisdk-rbrg03cy.js} +9 -9
- package/dist/chunks/{plugin-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-zgpkwneq.js → aisdk-rexaqj00.js} +18 -18
- package/dist/chunks/{plugin-gajgbq35.js → aisdk-rpj7en0j.js} +18 -18
- package/dist/chunks/aisdk-rwfgbrd2.js +253 -0
- package/dist/chunks/{plugin-b27vhd2z.js → aisdk-ryr25ayn.js} +4 -4
- package/dist/chunks/{plugin-y03v4dfr.js → aisdk-s00fnecv.js} +18 -18
- package/dist/chunks/{plugin-fqyvw1ch.js → aisdk-s5n8rxy8.js} +27 -27
- package/dist/chunks/{plugin-p9bdjwbt.js → aisdk-sdc1h1a9.js} +9 -9
- package/dist/chunks/{plugin-62zxkdxb.js → aisdk-sqwtan2t.js} +14 -14
- package/dist/chunks/{plugin-5gx2vrqy.js → aisdk-svk60gjy.js} +5 -5
- package/dist/chunks/{plugin-v39axx5b.js → aisdk-sy3wpk96.js} +10 -10
- package/dist/chunks/{plugin-t9hddrtd.js → aisdk-sydgkmjh.js} +17 -17
- package/dist/chunks/{plugin-9er205jf.js → aisdk-sye3hfcy.js} +5 -5
- package/dist/chunks/{plugin-9zsmh4sr.js → aisdk-t9ebzdva.js} +22 -22
- package/dist/chunks/{plugin-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-2a6rn6yr.js → aisdk-tcay1cqt.js} +6 -6
- package/dist/chunks/{plugin-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-mqynkxap.js → aisdk-tfanqrhs.js} +6 -6
- package/dist/chunks/{plugin-k2pce4vm.js → aisdk-thathje8.js} +30 -30
- package/dist/chunks/{plugin-nn242kmy.js → aisdk-trxcxm74.js} +14 -14
- package/dist/chunks/{plugin-3ha02kdk.js → aisdk-ty0fwvcb.js} +7 -7
- package/dist/chunks/{plugin-khm4b8bb.js → aisdk-tzmp54vm.js} +5 -5
- package/dist/chunks/{plugin-hq5tbv6m.js → aisdk-v0ewstpe.js} +31 -31
- package/dist/chunks/{plugin-d9019ttd.js → aisdk-v72hdzvn.js} +16 -16
- package/dist/chunks/{plugin-j7k49zb7.js → aisdk-vde1hawv.js} +10 -10
- package/dist/chunks/{plugin-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-chrxq3ex.js → aisdk-vrfdq27c.js} +18 -18
- package/dist/chunks/{plugin-83z83vf4.js → aisdk-vwztch6z.js} +38 -38
- package/dist/chunks/{plugin-qzzq6f9n.js → aisdk-vz02fre1.js} +27 -27
- package/dist/chunks/{plugin-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-g5w8qwbj.js → aisdk-w19d8598.js} +7 -7
- package/dist/chunks/{plugin-538eje9f.js → aisdk-w25bqsme.js} +24 -24
- package/dist/chunks/{plugin-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-3b9qt4hj.js → aisdk-w9vf9qqj.js} +9 -9
- package/dist/chunks/{plugin-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-ds64xa00.js → aisdk-wghqh80a.js} +17 -17
- package/dist/chunks/{plugin-3d2465tj.js → aisdk-wkjw17bc.js} +8 -8
- package/dist/chunks/{plugin-h10w1dwf.js → aisdk-wq6aswdf.js} +11 -11
- package/dist/chunks/{plugin-207ajt2h.js → aisdk-wr7ps67x.js} +5 -5
- package/dist/chunks/{plugin-bb07mdh7.js → aisdk-x0h4vpz5.js} +15 -15
- package/dist/chunks/{plugin-3y377wv9.js → aisdk-x661k3y3.js} +4 -4
- package/dist/chunks/{plugin-50kcz2ma.js → aisdk-xd47ttqy.js} +23 -23
- package/dist/chunks/{plugin-dmqcgk4z.js → aisdk-xkntkrq7.js} +5 -5
- package/dist/chunks/{plugin-703m18f1.js → aisdk-xkw5kz5c.js} +15 -15
- package/dist/chunks/{plugin-g1qz6sq4.js → aisdk-xm0sfyx2.js} +11 -11
- package/dist/chunks/{plugin-qxjc9qry.js → aisdk-xyafkbt0.js} +3 -3
- package/dist/chunks/{plugin-gd0tnyjc.js → aisdk-xybefm6f.js} +1 -1
- package/dist/chunks/{plugin-vbdk3j7h.js → aisdk-xzc90kzk.js} +4 -4
- package/dist/chunks/{plugin-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-12zwqvq4.js → aisdk-yddkn4c7.js} +12 -12
- package/dist/chunks/{plugin-5gjnpq0p.js → aisdk-yrcn8vah.js} +311 -311
- package/dist/chunks/{plugin-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-w24mfxr8.js → aisdk-z1v05bgy.js} +11 -11
- package/dist/chunks/{plugin-1s2ke74t.js → aisdk-z24sbaqw.js} +13 -13
- package/dist/chunks/{plugin-a6dacsnj.js → aisdk-z4syh5yy.js} +3 -3
- package/dist/chunks/{plugin-q95kk0as.js → aisdk-zc1nd8v7.js} +10 -10
- package/dist/chunks/{plugin-3az0cy8z.js → aisdk-zdm1px9r.js} +10 -10
- package/dist/chunks/{plugin-z050hvk1.js → aisdk-ze8sn7h2.js} +5 -5
- package/dist/chunks/{plugin-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- 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 +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +67 -67
- 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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +95 -95
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +92 -92
- 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 +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- 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 +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +93 -93
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/plugin-c5q6vktn.js +0 -26
- package/dist/chunks/plugin-rdsbctrt.js +0 -253
- /package/dist/chunks/{plugin-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-vx3jgdek.js → aisdk-vx3jgdek.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-bymgkydd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./aisdk-7q65g6rf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service60,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node63
|
|
13
|
+
} from "./aisdk-82xh11mn.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event7,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID4,
|
|
28
|
+
Info: () => Info5,
|
|
29
|
+
NotFoundError: () => NotFoundError4,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service27,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node30
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event7 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID4 = Pty.ID;
|
|
43
|
+
var Info5 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID4
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service27 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const shell = yield* Service60;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID4.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service27.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node30 = makeLocationNode({
|
|
273
|
+
service: Service27,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87,
|
|
275
|
+
deps: [node87, node83, node63]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID4, Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service27, node30, exports_pty, Event7 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info19,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info19 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info19, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node83
|
|
19
|
+
} from "./aisdk-7q65g6rf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service59,
|
|
22
|
+
node61
|
|
23
|
+
} from "./aisdk-13mc0h3d.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service58,
|
|
33
|
+
node: () => node60
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service58,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node60,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service59;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service58.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node60 = makeLocationNode({
|
|
71
|
+
service: Service58,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node61]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service58, node60, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-bymgkydd.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node66
|
|
9
|
+
} from "./aisdk-hpz74jw5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service57,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node59,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service57 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service62;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service57.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node66, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event12, inspect2, resolve3, node59, exports_wellknown };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node71
|
|
7
|
+
} from "./aisdk-32fqvz19.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
layer: () => layer10,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node21
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service18 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var layer10 = Layer.effect(
|
|
39
|
+
var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service67;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service18.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node21 = makeLocationNode({
|
|
74
|
+
service: Service18,
|
|
75
75
|
layer: layer10,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node71, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service18, layer10, node21, exports_generate };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node71
|
|
4
|
+
} from "./aisdk-32fqvz19.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-vx3jgdek.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service50,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node52,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service67;
|
|
59
|
+
return Service50.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node52 = makeLocationNode({ service: Service50, layer, deps: [node71] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service50, resolved2, node52, exports_model };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-bymgkydd.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
ID16,
|
|
14
|
-
Service80,
|
|
15
|
-
node84,
|
|
16
|
-
Event19
|
|
17
|
-
} from "./plugin-1a75fjgy.js";
|
|
11
|
+
} from "./aisdk-x661k3y3.js";
|
|
18
12
|
import {
|
|
13
|
+
ID13,
|
|
19
14
|
Service76,
|
|
20
|
-
node80
|
|
21
|
-
|
|
15
|
+
node80,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./aisdk-4e5ceejs.js";
|
|
18
|
+
import {
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./aisdk-7q65g6rf.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,9 +38,9 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
41
|
+
Event: () => Event16,
|
|
42
|
+
ID: () => ID12,
|
|
43
|
+
Info: () => Info21,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
68
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
72
|
+
var ID12 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -232,7 +232,7 @@ var Request3 = Provider.Request;
|
|
|
232
232
|
var Compaction3 = Provider.Compaction;
|
|
233
233
|
var Transport2 = Provider.Transport;
|
|
234
234
|
var Settings2 = Provider.Settings;
|
|
235
|
-
var
|
|
235
|
+
var Info21 = Provider.Info;
|
|
236
236
|
|
|
237
237
|
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
238
238
|
}
|
|
@@ -249,8 +249,8 @@ function index(providerID, models) {
|
|
|
249
249
|
}
|
|
250
250
|
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
251
251
|
const bus = yield* Service83;
|
|
252
|
-
const integrations = yield*
|
|
253
|
-
const location = yield*
|
|
252
|
+
const integrations = yield* Service76;
|
|
253
|
+
const location = yield* Service79;
|
|
254
254
|
const state = create3({
|
|
255
255
|
name: "provider",
|
|
256
256
|
initial: () => new Map,
|
|
@@ -261,7 +261,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
261
261
|
const current = records.get(id);
|
|
262
262
|
if (current)
|
|
263
263
|
return current;
|
|
264
|
-
const added = { provider:
|
|
264
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
265
265
|
records.set(id, added);
|
|
266
266
|
maps.add(added.models);
|
|
267
267
|
return added;
|
|
@@ -342,7 +342,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
342
342
|
const available = Array.from(records.values()).filter((record) => {
|
|
343
343
|
if (record.provider.activation === "disabled")
|
|
344
344
|
return false;
|
|
345
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
345
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
346
346
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
347
347
|
return false;
|
|
348
348
|
if (record.provider.activation === "enabled")
|
|
@@ -368,7 +368,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
368
368
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
369
369
|
});
|
|
370
370
|
});
|
|
371
|
-
yield* bus.subscribe([
|
|
371
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
372
372
|
return Service75.of({
|
|
373
373
|
transform: state.transform,
|
|
374
374
|
reload: state.reload,
|
|
@@ -378,7 +378,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
378
378
|
snapshot
|
|
379
379
|
});
|
|
380
380
|
}));
|
|
381
|
-
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87,
|
|
381
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node83] });
|
|
382
382
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
383
383
|
const module = yield* Effect.tryPromise({
|
|
384
384
|
try: () => {
|
|
@@ -653,4 +653,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
653
653
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
654
654
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
655
655
|
|
|
656
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
656
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service75, node79, exports_provider3, Event16 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./aisdk-c1tbcnkt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./aisdk-r2m716tb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin5 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service55;
|
|
26
|
+
const policy = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin21 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin5, exports_location_watcher2 };
|