@opencode/core 0.0.0-dev-20141 → 0.0.0-dev-20140
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-access-eaj1djv9.js → file-mutation-0gdmqesm.js} +8 -8
- package/dist/chunks/{file-access-p4pfxbsn.js → file-mutation-0kkp8se8.js} +19 -19
- package/dist/chunks/{file-access-sn9cksa8.js → file-mutation-0nn5xkkm.js} +3 -3
- package/dist/chunks/{file-access-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-qdbakdjh.js → file-mutation-0ryd0fps.js} +5 -5
- package/dist/chunks/{file-access-zt47fecy.js → file-mutation-0yndjmtb.js} +13 -13
- package/dist/chunks/{file-access-5gj2e7w4.js → file-mutation-12yfxaf8.js} +55 -55
- package/dist/chunks/{file-access-cmfg05m6.js → file-mutation-148st7vf.js} +56 -56
- package/dist/chunks/{file-access-2qrkdcg2.js → file-mutation-14ej6ymt.js} +30 -30
- package/dist/chunks/file-mutation-1b0d2nk6.js +26 -0
- package/dist/chunks/file-mutation-1b6e2zb4.js +507 -0
- package/dist/chunks/{file-access-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-mjrh87mm.js → file-mutation-1v2bxf33.js} +5 -5
- package/dist/chunks/{file-access-32h2f5ch.js → file-mutation-1vtmwdw8.js} +9 -9
- package/dist/chunks/{file-access-47hdw24z.js → file-mutation-21jqz0k2.js} +20 -20
- package/dist/chunks/{file-access-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{file-access-awb27dyn.js → file-mutation-251fjh79.js} +11 -11
- package/dist/chunks/{file-access-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-57ez7d0k.js → file-mutation-2fgn2we9.js} +9 -9
- package/dist/chunks/{file-access-1j1saafx.js → file-mutation-2hvke9dj.js} +2 -2
- package/dist/chunks/{file-access-qgn6gcr1.js → file-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{file-access-djszqvmq.js → file-mutation-2mq1h16s.js} +9 -9
- package/dist/chunks/{file-access-t7n9q6bq.js → file-mutation-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-access-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-391amn2n.js → file-mutation-3ppxvrrf.js} +21 -21
- package/dist/chunks/{file-access-vmwh049b.js → file-mutation-3s810fg1.js} +6 -6
- package/dist/chunks/{file-access-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-veksm59j.js → file-mutation-3t4zhfce.js} +5 -5
- package/dist/chunks/{file-access-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-9xvq3m7s.js → file-mutation-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-access-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-access-mngkqd2a.js → file-mutation-41wjga43.js} +22 -22
- package/dist/chunks/{file-access-tx9w5tca.js → file-mutation-428ep8fh.js} +8 -8
- package/dist/chunks/{file-access-k9xr0v4k.js → file-mutation-42cm5fy7.js} +9 -9
- package/dist/chunks/{file-access-9bqgyk75.js → file-mutation-47vaa6yx.js} +12 -12
- package/dist/chunks/{file-access-xvnv4z7d.js → file-mutation-4cmbkmgr.js} +13 -13
- package/dist/chunks/{file-access-z14tw1zc.js → file-mutation-4jz45x3c.js} +15 -15
- package/dist/chunks/{file-access-zg6rgtgg.js → file-mutation-4n1zzw2c.js} +20 -20
- package/dist/chunks/{file-access-2e8nnj1z.js → file-mutation-4tn55am6.js} +32 -32
- package/dist/chunks/{file-access-2a6rn6yr.js → file-mutation-51f5btjf.js} +6 -6
- package/dist/chunks/{file-access-mpy9brzp.js → file-mutation-54dpjfpm.js} +4 -4
- package/dist/chunks/{file-access-54tcyq79.js → file-mutation-54tcyq79.js} +2 -2
- package/dist/chunks/{file-access-k9d40v1y.js → file-mutation-56dkfrzf.js} +4 -4
- package/dist/chunks/{file-access-1ygqh575.js → file-mutation-56gdpj1q.js} +9 -9
- package/dist/chunks/{file-access-rmmx4qnr.js → file-mutation-5c9je0v9.js} +4 -4
- package/dist/chunks/{file-access-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-vmgq4x8b.js → file-mutation-5frpvc34.js} +2 -2
- package/dist/chunks/{file-access-nzyhnfxz.js → file-mutation-5mtzsd3b.js} +4 -4
- package/dist/chunks/{file-access-mkk8xrh7.js → file-mutation-5s6q7qvq.js} +11 -11
- package/dist/chunks/{file-access-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-jmcf7psp.js → file-mutation-5tszn4ax.js} +15 -15
- package/dist/chunks/{file-access-66mzdnqe.js → file-mutation-5w3fdfx1.js} +14 -14
- package/dist/chunks/{file-access-11kcmn0a.js → file-mutation-6178f4x4.js} +26 -26
- package/dist/chunks/{file-access-xzhjvr9t.js → file-mutation-63ynj987.js} +43 -43
- package/dist/chunks/{file-access-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{file-access-9b00c1fb.js → file-mutation-66r9f6z1.js} +5 -5
- package/dist/chunks/{file-access-2nmfhz6x.js → file-mutation-6hnb4zp6.js} +25 -25
- package/dist/chunks/{file-access-nva7pgzg.js → file-mutation-6j5e3r4k.js} +17 -17
- package/dist/chunks/{file-access-ny1cvz5h.js → file-mutation-6mqtga9t.js} +24 -24
- package/dist/chunks/{file-access-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-k5t6ga43.js → file-mutation-6p5d1njf.js} +16 -16
- package/dist/chunks/{file-access-rkprpv83.js → file-mutation-6pc27hjz.js} +6 -6
- package/dist/chunks/{file-access-tyy6h6br.js → file-mutation-6q6ydz24.js} +15 -15
- package/dist/chunks/{file-access-49fksgn9.js → file-mutation-6scazjw0.js} +48 -48
- package/dist/chunks/{file-access-qbs1n711.js → file-mutation-6vzkpxwg.js} +24 -24
- package/dist/chunks/{file-access-dzpmeesh.js → file-mutation-6wg7wrda.js} +6 -6
- package/dist/chunks/{file-access-vrqc9dc3.js → file-mutation-6zc9emtf.js} +8 -8
- package/dist/chunks/{file-access-5x6e9h63.js → file-mutation-734bexyk.js} +6 -6
- package/dist/chunks/{file-access-tm4sphte.js → file-mutation-7a1j6db7.js} +26 -26
- package/dist/chunks/{file-access-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-3c7npa91.js → file-mutation-7by1jpv1.js} +18 -18
- package/dist/chunks/file-mutation-7fj5dwt0.js +18 -0
- package/dist/chunks/{file-access-7k4gdncq.js → file-mutation-7mgyr624.js} +25 -25
- package/dist/chunks/{file-access-fd7qhhzd.js → file-mutation-7nh5b0q3.js} +8 -8
- package/dist/chunks/{file-access-55e9mxrf.js → file-mutation-7ykd9f4c.js} +32 -32
- package/dist/chunks/{file-access-wq0488kp.js → file-mutation-8ahbx5ft.js} +20 -20
- package/dist/chunks/{file-access-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-5cmxdwv8.js → file-mutation-8q7cq0y1.js} +3 -3
- package/dist/chunks/{file-access-9d61vx02.js → file-mutation-8snyfeb1.js} +30 -30
- package/dist/chunks/{file-access-18h80hhh.js → file-mutation-8tg35pr8.js} +20 -20
- package/dist/chunks/{file-access-dv1qgsyq.js → file-mutation-8v6pyhej.js} +8 -8
- package/dist/chunks/{file-access-766ntpf8.js → file-mutation-8wf7jca5.js} +19 -19
- package/dist/chunks/{file-access-5a6dmh0a.js → file-mutation-94b3tsx9.js} +5 -5
- package/dist/chunks/{file-access-rtt889h8.js → file-mutation-97j59xt0.js} +6 -6
- package/dist/chunks/{file-access-v7frm449.js → file-mutation-98djycy1.js} +5 -5
- package/dist/chunks/{file-access-1y4m6dqp.js → file-mutation-9awy3h8w.js} +11 -11
- package/dist/chunks/{file-access-kegq2ngb.js → file-mutation-9cdkxrrm.js} +42 -42
- package/dist/chunks/{file-access-7zpeh0yx.js → file-mutation-9x77fmbz.js} +4 -4
- package/dist/chunks/{file-access-7q5pky5y.js → file-mutation-9xftdn9f.js} +4 -4
- package/dist/chunks/{file-access-ezgggtab.js → file-mutation-a38sw9p7.js} +13 -13
- package/dist/chunks/{file-access-yvfb9t5v.js → file-mutation-a4ep3jk5.js} +5 -5
- package/dist/chunks/{file-access-cmv1ehp6.js → file-mutation-a684x4gz.js} +9 -9
- package/dist/chunks/{file-access-hkjcbs5m.js → file-mutation-a7tyf22d.js} +7 -7
- package/dist/chunks/{file-access-8eqr6fj6.js → file-mutation-a9q9r8vh.js} +45 -45
- package/dist/chunks/{file-access-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-g729f89q.js → file-mutation-abpyq771.js} +5 -5
- package/dist/chunks/{file-access-sdgtzm3s.js → file-mutation-ahmpaw3p.js} +42 -42
- package/dist/chunks/{file-access-07cbe104.js → file-mutation-akrnn5pm.js} +8 -8
- package/dist/chunks/{file-access-d8mckcvr.js → file-mutation-aqwq8v55.js} +26 -26
- package/dist/chunks/{file-access-tkhckq9p.js → file-mutation-axksm2s1.js} +15 -15
- package/dist/chunks/{file-access-zkt1ws99.js → file-mutation-b2206ta1.js} +8 -8
- package/dist/chunks/{file-access-gkqt3r54.js → file-mutation-b3rcq7gz.js} +29 -29
- package/dist/chunks/{file-access-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-fx8mct09.js → file-mutation-bevvv3cp.js} +43 -43
- package/dist/chunks/{file-access-bjtzbw4r.js → file-mutation-bjtzbw4r.js} +3 -3
- package/dist/chunks/{file-access-h6310vsd.js → file-mutation-bp8fbaqn.js} +4 -4
- package/dist/chunks/{file-access-e5qn45cp.js → file-mutation-c3t022at.js} +6 -6
- package/dist/chunks/file-mutation-cenkgqkx.js +252 -0
- package/dist/chunks/{file-access-cv859jg1.js → file-mutation-cjps6emg.js} +11 -11
- package/dist/chunks/{file-access-xhvpahqg.js → file-mutation-cq9arbxt.js} +3 -3
- package/dist/chunks/{file-access-ahr3m1tq.js → file-mutation-csv67sr9.js} +6 -6
- package/dist/chunks/{file-access-ntzrvc4x.js → file-mutation-cxea88d3.js} +19 -19
- package/dist/chunks/{file-access-54kp13cx.js → file-mutation-dksh378m.js} +11 -11
- package/dist/chunks/{file-access-dmqcgk4z.js → file-mutation-dmqcgk4z.js} +2 -2
- package/dist/chunks/{file-access-nshkm85k.js → file-mutation-dpamrayx.js} +22 -22
- package/dist/chunks/{file-access-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-access-drwq78ky.js → file-mutation-drwq78ky.js} +1 -1
- package/dist/chunks/{file-access-vyqn3nqs.js → file-mutation-dwvzh0g2.js} +6 -6
- package/dist/chunks/{file-access-1ed2t66p.js → file-mutation-e5mw80vf.js} +4 -4
- package/dist/chunks/{file-access-ecfe7b91.js → file-mutation-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-access-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-nzkj1srn.js → file-mutation-eja4v0r3.js} +28 -28
- package/dist/chunks/{file-access-nzdpbg9x.js → file-mutation-ejswn5dz.js} +18 -18
- package/dist/chunks/{file-access-3gra7qqf.js → file-mutation-ekr4chvv.js} +1 -1
- package/dist/chunks/{file-access-4gkaf5fk.js → file-mutation-ekys18mh.js} +9 -9
- package/dist/chunks/{file-access-vpy1xq43.js → file-mutation-eprvd5et.js} +33 -33
- package/dist/chunks/{file-access-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-n6zbv0x9.js → file-mutation-ev5fh5k4.js} +22 -22
- package/dist/chunks/{file-access-h43gvtrf.js → file-mutation-f6m4whh5.js} +1 -1
- package/dist/chunks/{file-access-pmth3ynj.js → file-mutation-f85bts8p.js} +15 -15
- package/dist/chunks/{file-access-pz73s8hm.js → file-mutation-f913swrk.js} +12 -12
- package/dist/chunks/{file-access-pemjscw2.js → file-mutation-fc3nmpyb.js} +6 -6
- package/dist/chunks/{file-access-g58578sd.js → file-mutation-fezjgrjw.js} +47 -47
- package/dist/chunks/{file-access-0zdkw5df.js → file-mutation-fmgayf2m.js} +24 -24
- package/dist/chunks/{file-access-p05jqkby.js → file-mutation-fqda728z.js} +14 -14
- package/dist/chunks/{file-access-xznnvs5h.js → file-mutation-fvyb0d37.js} +40 -40
- package/dist/chunks/{file-access-a7bcxdzj.js → file-mutation-fw181sc9.js} +9 -9
- package/dist/chunks/{file-access-58yvn8th.js → file-mutation-g101zjxn.js} +11 -11
- package/dist/chunks/{file-access-k3q5jrhp.js → file-mutation-gcprpp8g.js} +11 -11
- package/dist/chunks/{file-access-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-vjp5pnvm.js → file-mutation-gen74120.js} +175 -175
- package/dist/chunks/{file-access-gfvb90ym.js → file-mutation-gfvb90ym.js} +2 -2
- package/dist/chunks/{file-access-nqzvs0gy.js → file-mutation-gfz6w900.js} +8 -8
- package/dist/chunks/{file-access-rybm4q9y.js → file-mutation-gq52g30n.js} +24 -24
- package/dist/chunks/{file-access-z4m7447n.js → file-mutation-gv560zch.js} +10 -10
- package/dist/chunks/{file-access-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-6wk4wtsq.js → file-mutation-gxv9vzf1.js} +46 -46
- package/dist/chunks/{file-access-5gp7mmx9.js → file-mutation-h1681mq4.js} +32 -32
- package/dist/chunks/{file-access-k7qsktv6.js → file-mutation-h3ppr3y4.js} +28 -28
- package/dist/chunks/{file-access-7ypkxd2v.js → file-mutation-h68v3css.js} +11 -11
- package/dist/chunks/{file-access-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-rv03vw6d.js → file-mutation-h72fketk.js} +16 -16
- package/dist/chunks/{file-access-wvtp758r.js → file-mutation-hcw4z3wx.js} +12 -12
- package/dist/chunks/{file-access-b8k44pcp.js → file-mutation-hh6j4qzk.js} +11 -11
- package/dist/chunks/{file-access-sybwkgw9.js → file-mutation-hnb6r381.js} +16 -16
- package/dist/chunks/{file-access-eq23s0y6.js → file-mutation-hnr5yq9h.js} +5 -5
- package/dist/chunks/{file-access-bd8nw0ps.js → file-mutation-hq9baps4.js} +14 -14
- package/dist/chunks/{file-access-ywqvmpyy.js → file-mutation-hs5j4hes.js} +19 -19
- package/dist/chunks/{file-access-rv75j0en.js → file-mutation-hyn9ed47.js} +5 -5
- package/dist/chunks/{file-access-f7zkmwwr.js → file-mutation-j28g7kgm.js} +26 -26
- package/dist/chunks/{file-access-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-gj1agk6p.js → file-mutation-ja0r5mcy.js} +94 -94
- package/dist/chunks/{file-access-t4geqb26.js → file-mutation-jc03qmph.js} +13 -13
- package/dist/chunks/{file-access-k9zzg48m.js → file-mutation-jcezh7qt.js} +46 -46
- package/dist/chunks/{file-access-fn76qwjq.js → file-mutation-jdak5rwz.js} +29 -29
- package/dist/chunks/{file-access-7zt62bm8.js → file-mutation-jdqyxw3b.js} +6 -6
- package/dist/chunks/{file-access-c488s98d.js → file-mutation-jf9anmv7.js} +5 -5
- package/dist/chunks/{file-access-0pagfvqv.js → file-mutation-jfc9taht.js} +23 -23
- package/dist/chunks/{file-access-9xyftbwy.js → file-mutation-jkcrv7ca.js} +24 -24
- package/dist/chunks/{file-access-qzvm78jf.js → file-mutation-jqc0r34h.js} +13 -13
- package/dist/chunks/{file-access-nztvwjmq.js → file-mutation-jwz3n59h.js} +3 -3
- package/dist/chunks/{file-access-w7mxvcx8.js → file-mutation-k315zjbs.js} +4 -4
- package/dist/chunks/{file-access-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-bzj7w35t.js → file-mutation-k56wjetr.js} +13 -13
- package/dist/chunks/{file-access-3w49wfs2.js → file-mutation-k8t6hegk.js} +26 -26
- package/dist/chunks/{file-access-dy9gjbae.js → file-mutation-kdt9dfjc.js} +19 -19
- package/dist/chunks/{file-access-d858xzj7.js → file-mutation-kkp8zx71.js} +4 -4
- package/dist/chunks/{file-access-j8qvfw9b.js → file-mutation-kr411s0e.js} +33 -33
- package/dist/chunks/{file-access-2nzgwzmj.js → file-mutation-kzjgey13.js} +26 -26
- package/dist/chunks/{file-access-gj4mwrts.js → file-mutation-kzrsyh6w.js} +20 -20
- package/dist/chunks/{file-access-nscznvay.js → file-mutation-m2d0j7c0.js} +9 -9
- package/dist/chunks/{file-access-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-ea7jg8gm.js → file-mutation-m6gg776v.js} +32 -32
- package/dist/chunks/{file-access-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-yq9bvypd.js → file-mutation-mgm6q1zc.js} +12 -12
- package/dist/chunks/{file-access-czkrkmgx.js → file-mutation-msvrdtvz.js} +19 -19
- package/dist/chunks/{file-access-mhkvc446.js → file-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-access-cy8k44e9.js → file-mutation-mvhw0p12.js} +9 -9
- package/dist/chunks/{file-access-595zwcr4.js → file-mutation-n07qdrr3.js} +28 -28
- package/dist/chunks/{file-access-jh1cchk5.js → file-mutation-n53x74qf.js} +5 -5
- package/dist/chunks/{file-access-4vv6kmkz.js → file-mutation-nnn35nec.js} +12 -12
- package/dist/chunks/{file-access-czmq52nr.js → file-mutation-nw9phmn3.js} +14 -14
- package/dist/chunks/{file-access-45xcccy0.js → file-mutation-p5yjae2j.js} +17 -17
- package/dist/chunks/{file-access-npebw0ng.js → file-mutation-p6a148wd.js} +20 -20
- package/dist/chunks/{file-access-dpd1wy2f.js → file-mutation-p925w6xz.js} +3 -3
- package/dist/chunks/{file-access-190fxv1k.js → file-mutation-pbm41ek2.js} +10 -10
- package/dist/chunks/{file-access-f1vyadhg.js → file-mutation-pddkywbp.js} +13 -13
- package/dist/chunks/{file-access-e6wq0pkd.js → file-mutation-pdgjaq1g.js} +34 -34
- package/dist/chunks/{file-access-ab9238g2.js → file-mutation-pf2hb43r.js} +6 -6
- package/dist/chunks/{file-access-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-psazpmmj.js → file-mutation-psazpmmj.js} +2 -2
- package/dist/chunks/{file-access-67zt5z2v.js → file-mutation-ptbv4pk8.js} +17 -17
- package/dist/chunks/{file-access-p3p1xf08.js → file-mutation-pwmxh9fk.js} +11 -11
- package/dist/chunks/{file-access-5mdn75z4.js → file-mutation-q1xwtbjg.js} +10 -10
- package/dist/chunks/{file-access-eptm0zc8.js → file-mutation-q5h7ddmx.js} +17 -17
- package/dist/chunks/{file-access-qxbdt9qh.js → file-mutation-qey8d69y.js} +5 -5
- package/dist/chunks/{file-access-47h4wv9v.js → file-mutation-qg2aaskv.js} +43 -43
- package/dist/chunks/{file-access-pstp6bap.js → file-mutation-qhfvqd3d.js} +25 -25
- package/dist/chunks/{file-access-mjymc32g.js → file-mutation-qj8eh1ht.js} +4 -4
- package/dist/chunks/{file-access-qsswvbq8.js → file-mutation-qk9jn0er.js} +6 -6
- package/dist/chunks/{file-access-a604b2nh.js → file-mutation-qpp94anq.js} +22 -22
- package/dist/chunks/{file-access-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-f2qey9ff.js → file-mutation-rdvvn9hb.js} +11 -11
- package/dist/chunks/{file-access-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-vv97ra8n.js → file-mutation-rp0mscx1.js} +11 -11
- package/dist/chunks/{file-access-hqjjc0vw.js → file-mutation-rvm4tq5r.js} +4 -4
- package/dist/chunks/{file-access-edrmdtr5.js → file-mutation-ryr25ayn.js} +7 -7
- package/dist/chunks/{file-access-2yxwgcht.js → file-mutation-s9wt6nxh.js} +27 -27
- package/dist/chunks/{file-access-xcs0zmjn.js → file-mutation-sc6gnrv5.js} +20 -20
- package/dist/chunks/{file-access-sqy4ahhk.js → file-mutation-sfntmzm9.js} +1 -1
- package/dist/chunks/{file-access-fxk1dvk2.js → file-mutation-sh9f5a33.js} +16 -16
- package/dist/chunks/{file-access-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-933rwsf9.js → file-mutation-tee68kt2.js} +83 -83
- package/dist/chunks/{file-access-4jy89vev.js → file-mutation-tqh1gha4.js} +7 -7
- package/dist/chunks/{file-access-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-13f708gt.js → file-mutation-txmjwfyc.js} +22 -22
- package/dist/chunks/{file-access-bebqby2t.js → file-mutation-tz4hjafm.js} +75 -75
- package/dist/chunks/{file-access-30p3c7se.js → file-mutation-tznw5yn5.js} +6 -6
- package/dist/chunks/{file-access-djs2qdj1.js → file-mutation-v1csahhw.js} +37 -37
- package/dist/chunks/{file-access-zwhqmq19.js → file-mutation-v7wm3v9n.js} +35 -35
- package/dist/chunks/{file-access-d3rjbnfk.js → file-mutation-v87vwamw.js} +41 -41
- package/dist/chunks/{file-access-twmq3zbs.js → file-mutation-vddhgdww.js} +14 -14
- package/dist/chunks/{file-access-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-8p7k27sw.js → file-mutation-vmm7c11n.js} +23 -23
- package/dist/chunks/{file-access-pmr4s4kc.js → file-mutation-vncycja5.js} +4 -4
- package/dist/chunks/{file-access-rzs3gq0x.js → file-mutation-vwpcpzep.js} +8 -8
- package/dist/chunks/{file-access-9akajvcf.js → file-mutation-vydzqw18.js} +9 -9
- package/dist/chunks/{file-access-v9m57sg1.js → file-mutation-vyft3kdg.js} +20 -20
- package/dist/chunks/{file-access-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-ce52tdmr.js → file-mutation-w4a7eyjh.js} +11 -11
- package/dist/chunks/{file-access-wx2kp86g.js → file-mutation-w4np39bn.js} +27 -27
- package/dist/chunks/{file-access-k8rm5hjv.js → file-mutation-w69gqfj7.js} +15 -15
- package/dist/chunks/{file-access-25bkzxap.js → file-mutation-w7hky2xc.js} +3 -3
- package/dist/chunks/{file-access-a7a76khy.js → file-mutation-w96dfdsk.js} +25 -25
- package/dist/chunks/{file-access-hcexmw40.js → file-mutation-was7srj9.js} +5 -5
- package/dist/chunks/{file-access-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-6w5k4rwp.js → file-mutation-wffp848c.js} +18 -18
- package/dist/chunks/{file-access-47pt2zhg.js → file-mutation-whhcne69.js} +30 -30
- package/dist/chunks/{file-access-5e4ram87.js → file-mutation-wj999h2p.js} +28 -28
- package/dist/chunks/{file-access-fjymm1jm.js → file-mutation-wz52n462.js} +11 -11
- package/dist/chunks/{file-access-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-46vewfkt.js → file-mutation-x8s98bq4.js} +20 -20
- package/dist/chunks/{file-access-0996nyz8.js → file-mutation-xf8yqmad.js} +9 -9
- package/dist/chunks/{file-access-y6kne2hc.js → file-mutation-xpj2jz7f.js} +11 -11
- package/dist/chunks/{file-access-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-nfz4w8nm.js → file-mutation-y2j8yh6r.js} +13 -13
- package/dist/chunks/{file-access-jvkwgfm2.js → file-mutation-y38y6hn2.js} +5 -5
- package/dist/chunks/{file-access-5cqfn2fs.js → file-mutation-y3v3et4z.js} +13 -13
- package/dist/chunks/{file-access-r46m9nfb.js → file-mutation-y5ac8wb2.js} +7 -7
- package/dist/chunks/{file-access-wmxtrebc.js → file-mutation-ycxpk0ww.js} +10 -10
- package/dist/chunks/{file-access-m6f3t844.js → file-mutation-yf10kn3d.js} +8 -8
- package/dist/chunks/{file-access-tj40eakf.js → file-mutation-yhezs4e9.js} +10 -10
- package/dist/chunks/{file-access-f2n192rq.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-access-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-cr07tj7n.js → file-mutation-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-access-hzn6jf4f.js → file-mutation-yyqmpd0k.js} +11 -11
- package/dist/chunks/{file-access-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-6mf606c0.js → file-mutation-z7f3wrvm.js} +30 -30
- package/dist/chunks/{file-access-mf7yxpx6.js → file-mutation-zd3xxgdb.js} +8 -8
- package/dist/chunks/{file-access-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-n3mrvad9.js → file-mutation-zh3br2dd.js} +21 -21
- package/dist/chunks/{file-access-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-y4341gk7.js → file-mutation-zve3m6bt.js} +23 -23
- package/dist/chunks/{file-access-gjyjby33.js → file-mutation-zwdty0y2.js} +22 -22
- package/dist/chunks/{file-access-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +121 -121
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-access-36kt9wc7.js +0 -26
- package/dist/chunks/file-access-3n2cmxx3.js +0 -507
- package/dist/chunks/file-access-4v7qdvcn.js +0 -18
- package/dist/chunks/file-access-gvcspdv1.js +0 -252
- /package/dist/chunks/{file-access-0mesazry.js → file-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{file-access-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-mutation-5s6q7qvq.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./file-
|
|
7
|
+
} from "./file-mutation-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./file-
|
|
11
|
+
node71
|
|
12
|
+
} from "./file-mutation-6wg7wrda.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./file-
|
|
15
|
+
} from "./file-mutation-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./file-
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info23,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service68,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured9,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node70
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info23 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info18 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service68 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service68,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node88, node71]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info23({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service68.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node70 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info23, NotFound3, CreateConflict2, Service68, configured9, node70, exports_workspace };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./file-
|
|
6
|
+
} from "./file-mutation-pdgjaq1g.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./file-
|
|
10
|
+
} from "./file-mutation-a4ep3jk5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./file-
|
|
12
|
+
Service59,
|
|
13
|
+
node61
|
|
14
|
+
} from "./file-mutation-12yfxaf8.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./file-
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service13,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node15,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service13 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service79;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service59;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service13.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node83, node61] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service13, resolvePath2, node15, exports_file_access };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./file-
|
|
6
|
+
} from "./file-mutation-a4ep3jk5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./file-
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./file-
|
|
2
|
+
Service59
|
|
3
|
+
} from "./file-mutation-12yfxaf8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./file-
|
|
9
|
+
Service55
|
|
10
|
+
} from "./file-mutation-j28g7kgm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./file-
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin23,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin23 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service55;
|
|
51
|
+
const permission = yield* Service59;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin29 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output2, description3, toModelOutput2, Plugin23, exports_skill2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-mutation-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./file-
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin39,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin39 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint5,
|
|
83
|
+
export { endpoint5, Plugin39, exports_exa };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./file-
|
|
4
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./file-
|
|
4
|
+
} from "./file-mutation-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./file-
|
|
10
|
+
} from "./file-mutation-jf9anmv7.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79,
|
|
13
13
|
node83
|
|
14
|
-
} from "./file-
|
|
14
|
+
} from "./file-mutation-a4ep3jk5.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./file-
|
|
17
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./file-
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service46,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node48,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,9 +43,9 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service46 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
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 Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node48 = makeLocationNode({
|
|
144
|
+
service: Service46,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service46, node48, noopLayer3, exports_snapshot2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./file-
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./file-mutation-6p5d1njf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make18,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./file-
|
|
12
|
+
} from "./file-mutation-0gdmqesm.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./file-
|
|
15
|
+
} from "./file-mutation-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./file-
|
|
18
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./file-
|
|
21
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service52,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer18,
|
|
33
|
+
node: () => node54
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service52 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer18 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer23 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make18({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer23 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service52.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer23 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service52,
|
|
110
|
+
layer: layer18(options),
|
|
111
|
+
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node54 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options5, Service52, layer18, configured5, node54, exports_instruction_discovery };
|