@opencode/core 0.0.0-dev-19984 → 0.0.0-dev-19985
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-xwjjwx9d.js → filesystem-04k65yr5.js} +11 -11
- package/dist/chunks/{location-h5b4kcx3.js → filesystem-07770t2t.js} +4 -4
- package/dist/chunks/{location-0yepr83e.js → filesystem-08n7z093.js} +16 -16
- package/dist/chunks/{location-3jm0sq8a.js → filesystem-0dy0awfd.js} +55 -55
- package/dist/chunks/filesystem-0mesazry.js +4 -0
- package/dist/chunks/{location-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-a606p4kg.js → filesystem-0tvmtyg9.js} +21 -21
- package/dist/chunks/{location-dfe8djrf.js → filesystem-0v53mg2y.js} +4 -4
- package/dist/chunks/{location-xwhbd8ep.js → filesystem-0x2h520v.js} +29 -29
- package/dist/chunks/{location-6wz6s45a.js → filesystem-0xr2qn80.js} +11 -11
- package/dist/chunks/{location-0vwkr0xv.js → filesystem-19a9vrq3.js} +3 -3
- package/dist/chunks/{location-mrpvsqys.js → filesystem-1a3s12px.js} +8 -8
- package/dist/chunks/{location-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-k46khmv0.js → filesystem-1r0xw8d8.js} +22 -22
- package/dist/chunks/{location-e4eg75r2.js → filesystem-1xgad0ca.js} +10 -10
- package/dist/chunks/{location-hm1aj9am.js → filesystem-2178wyr2.js} +11 -11
- package/dist/chunks/{location-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{location-7yqjxrmz.js → filesystem-23pqda6t.js} +6 -6
- package/dist/chunks/{location-cf3tj770.js → filesystem-23sxaqwc.js} +6 -6
- package/dist/chunks/{location-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
- package/dist/chunks/{location-3kbv3m24.js → filesystem-2449akcn.js} +17 -17
- package/dist/chunks/{location-29x78va6.js → filesystem-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-e3gkrkwa.js → filesystem-2cwnbxh6.js} +17 -17
- package/dist/chunks/{location-vp9pbkkd.js → filesystem-2d0h499m.js} +4 -4
- package/dist/chunks/{location-bsvwk272.js → filesystem-2dayh34n.js} +93 -93
- package/dist/chunks/{location-q8tsaz2a.js → filesystem-2dp8p6n2.js} +7 -7
- package/dist/chunks/{location-m46z79h6.js → filesystem-2jbnthh3.js} +11 -11
- package/dist/chunks/{location-vb1hdz07.js → filesystem-2v3pyxh6.js} +8 -8
- package/dist/chunks/{location-3p3vm0ex.js → filesystem-2xr15r6z.js} +30 -30
- package/dist/chunks/{location-56gdpj1q.js → filesystem-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-bp02r99k.js → filesystem-35m7c38y.js} +4 -4
- package/dist/chunks/{location-f7bny14s.js → filesystem-36ckcbr5.js} +41 -41
- package/dist/chunks/{location-bkn818fb.js → filesystem-3bjt0azc.js} +16 -16
- package/dist/chunks/{location-pxxptb8y.js → filesystem-3casrxqv.js} +47 -47
- package/dist/chunks/{location-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-6nqmg5rm.js → filesystem-3wss6xvz.js} +7 -7
- package/dist/chunks/{location-yk3trf7r.js → filesystem-464d904a.js} +147 -147
- package/dist/chunks/{location-ykaqgp03.js → filesystem-4b3pvx7e.js} +30 -30
- package/dist/chunks/{location-smhjrczq.js → filesystem-4da2pd5b.js} +40 -40
- package/dist/chunks/{location-h6r3nrb9.js → filesystem-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-ngts6ef0.js → filesystem-4e8vs6eh.js} +8 -8
- package/dist/chunks/{location-0gjp373x.js → filesystem-4gabqsjb.js} +18 -18
- package/dist/chunks/{location-88vwfmcq.js → filesystem-4r6ztwym.js} +6 -6
- package/dist/chunks/{location-qvxdw1kp.js → filesystem-4wgmm2fj.js} +4 -4
- package/dist/chunks/{location-e4b60ckc.js → filesystem-50mvj34d.js} +33 -33
- package/dist/chunks/{location-f1s21ehs.js → filesystem-56yns3xt.js} +18 -18
- package/dist/chunks/{location-6x0h2hvg.js → filesystem-57ez7d0k.js} +9 -9
- package/dist/chunks/{location-hj5q723k.js → filesystem-5d7brjha.js} +23 -23
- package/dist/chunks/{location-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{location-tkwa03qt.js → filesystem-5hp81q23.js} +23 -23
- package/dist/chunks/{location-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-cmwkp3r5.js → filesystem-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-kc692eep.js → filesystem-5yj9qr1n.js} +11 -11
- package/dist/chunks/{location-5yt8bpsr.js → filesystem-636h0e3e.js} +2 -2
- package/dist/chunks/{location-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{location-9h91jpv9.js → filesystem-6evbdv63.js} +12 -12
- package/dist/chunks/{location-cvmnpgad.js → filesystem-6f2z4ez9.js} +10 -10
- package/dist/chunks/{location-h71w788e.js → filesystem-6fatt4mk.js} +9 -9
- package/dist/chunks/{location-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-w5tmm7r1.js → filesystem-6n2xac0h.js} +11 -11
- package/dist/chunks/{location-42a57407.js → filesystem-6nkz7cqz.js} +44 -44
- package/dist/chunks/{location-cd0z4qvb.js → filesystem-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-x8fjxshq.js → filesystem-70c5k9gj.js} +15 -15
- package/dist/chunks/{location-r3radns3.js → filesystem-71k5223z.js} +28 -28
- package/dist/chunks/{location-zgn95ptr.js → filesystem-738dabjt.js} +30 -30
- package/dist/chunks/{location-r5x6zcsm.js → filesystem-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-sct26jh2.js → filesystem-76j10fxw.js} +3 -3
- package/dist/chunks/{location-ght7ghr8.js → filesystem-76nv9rak.js} +30 -30
- package/dist/chunks/{location-y8yf2k5g.js → filesystem-793adb1z.js} +33 -33
- package/dist/chunks/{location-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qgn6gcr1.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-r574spjx.js → filesystem-7m1b5r48.js} +13 -13
- package/dist/chunks/{location-41b15ecq.js → filesystem-7sykw5ek.js} +25 -25
- package/dist/chunks/{location-ph3mq3wp.js → filesystem-7t5b4y9r.js} +15 -15
- package/dist/chunks/{location-csf2jhsg.js → filesystem-88sz8qcd.js} +4 -4
- package/dist/chunks/{location-f2k31yay.js → filesystem-896e5whc.js} +16 -16
- package/dist/chunks/{location-a46hzbj5.js → filesystem-8cy2627w.js} +20 -20
- package/dist/chunks/{location-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mf9m2v67.js → filesystem-8jmaqybk.js} +3 -3
- package/dist/chunks/{location-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-awa55gyj.js → filesystem-8p6xzk0z.js} +8 -8
- package/dist/chunks/{location-1z6bcbwm.js → filesystem-8we60ned.js} +41 -41
- package/dist/chunks/{location-y6dfpya4.js → filesystem-8xwhmszd.js} +7 -7
- package/dist/chunks/{location-7dbmnfn4.js → filesystem-91p1v22t.js} +8 -8
- package/dist/chunks/{location-h0t9nfwn.js → filesystem-961777zn.js} +3 -3
- package/dist/chunks/{location-48am8h8r.js → filesystem-97t23ph8.js} +1 -1
- package/dist/chunks/{location-s5ythvf1.js → filesystem-983we7ba.js} +40 -40
- package/dist/chunks/{location-1v29h1cg.js → filesystem-9afpsfvx.js} +15 -15
- package/dist/chunks/{location-hbpxg73f.js → filesystem-9kyyj4mw.js} +27 -27
- package/dist/chunks/{location-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-25m4ah6t.js → filesystem-a2ew8a62.js} +7 -7
- package/dist/chunks/{location-7p5wtjc3.js → filesystem-a3zv9t7g.js} +11 -11
- package/dist/chunks/{location-w12wcbj8.js → filesystem-a5w0czkv.js} +68 -68
- package/dist/chunks/{location-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{location-sd6dzq7f.js → filesystem-abm0rsa5.js} +12 -12
- package/dist/chunks/{location-7gvwkz6m.js → filesystem-af04s6ss.js} +5 -5
- package/dist/chunks/{location-sjf3tctt.js → filesystem-afed7ext.js} +12 -12
- package/dist/chunks/{location-j081qpeq.js → filesystem-afgm61tm.js} +5 -5
- package/dist/chunks/{location-3cfzdc8e.js → filesystem-ag9w8cw1.js} +5 -5
- package/dist/chunks/{location-djmnmanq.js → filesystem-an5w92pz.js} +16 -16
- package/dist/chunks/{location-028pjh5f.js → filesystem-arm41a3t.js} +15 -15
- package/dist/chunks/{location-n8rrq3rd.js → filesystem-arssbyta.js} +37 -37
- package/dist/chunks/{location-rnhgrd0m.js → filesystem-asp0ht71.js} +6 -6
- package/dist/chunks/{location-kfvaj52c.js → filesystem-awe63se0.js} +28 -28
- package/dist/chunks/{location-sap7mgk3.js → filesystem-b03343t8.js} +13 -13
- package/dist/chunks/{location-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-kmtbrx23.js → filesystem-b8wc72va.js} +18 -18
- package/dist/chunks/{location-62kftm9s.js → filesystem-bb2n5bqw.js} +51 -51
- package/dist/chunks/{location-jmh888fr.js → filesystem-bddt2pqj.js} +6 -6
- package/dist/chunks/filesystem-by5v678g.js +18 -0
- package/dist/chunks/{location-7raqvg34.js → filesystem-c9vj76y8.js} +17 -17
- package/dist/chunks/{location-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-cq37gk0t.js → filesystem-cq37gk0t.js} +4 -4
- package/dist/chunks/{location-8krtnsn7.js → filesystem-cqh9r0f6.js} +3 -3
- package/dist/chunks/{location-g98h6x07.js → filesystem-cwfj27x7.js} +6 -6
- package/dist/chunks/{location-a1j3s6td.js → filesystem-cx1qg717.js} +20 -20
- package/dist/chunks/{location-gbsk7s70.js → filesystem-czx28beh.js} +33 -33
- package/dist/chunks/{location-5ebw3s4g.js → filesystem-d1r5081s.js} +5 -5
- package/dist/chunks/{location-ranyqwt8.js → filesystem-d5nq0r8d.js} +35 -35
- package/dist/chunks/{location-sgcf4b1d.js → filesystem-d9rbnbyj.js} +314 -314
- package/dist/chunks/{location-qth74v4j.js → filesystem-dhwr7h25.js} +8 -8
- package/dist/chunks/{location-c765mh8b.js → filesystem-djszqvmq.js} +9 -9
- package/dist/chunks/{location-qtrjaqbk.js → filesystem-dn3c2qc4.js} +30 -30
- package/dist/chunks/{location-zex37ywk.js → filesystem-dpahde6h.js} +8 -8
- package/dist/chunks/{location-myd867zz.js → filesystem-dqnhf5ps.js} +13 -13
- package/dist/chunks/{location-sp1dssyy.js → filesystem-dw1hb3qg.js} +17 -17
- package/dist/chunks/{location-gqkgf1w8.js → filesystem-dwy07qr3.js} +22 -22
- package/dist/chunks/{location-p879wscf.js → filesystem-dzc2vx4y.js} +12 -12
- package/dist/chunks/{location-15zaq50v.js → filesystem-e0sna5fv.js} +29 -29
- package/dist/chunks/{location-1cx64p6y.js → filesystem-e6mn5jv8.js} +8 -8
- package/dist/chunks/{location-hrpmhk0j.js → filesystem-e6zry6hq.js} +16 -16
- package/dist/chunks/{location-2pnt8tzr.js → filesystem-e85wkba2.js} +12 -12
- package/dist/chunks/{location-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-xxkq93fp.js → filesystem-efpdwb6x.js} +19 -19
- package/dist/chunks/{location-wx5t2f9k.js → filesystem-enxmvdqw.js} +26 -26
- package/dist/chunks/{location-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-j743xyx9.js → filesystem-ew7hwn7j.js} +20 -20
- package/dist/chunks/{location-46aakvn5.js → filesystem-eyvfapca.js} +20 -20
- package/dist/chunks/{location-bgyxdgm5.js → filesystem-f09mvmr0.js} +9 -9
- package/dist/chunks/{location-f828m53h.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{location-bthytya7.js → filesystem-f8vvpw96.js} +45 -45
- package/dist/chunks/{location-p117p70m.js → filesystem-f9hy97hv.js} +11 -11
- package/dist/chunks/{location-07ew9dmt.js → filesystem-fpz3mx6x.js} +28 -28
- package/dist/chunks/{location-vnek8hc4.js → filesystem-frcr067y.js} +21 -21
- package/dist/chunks/{location-9ywbvqrg.js → filesystem-frxaaayt.js} +33 -33
- package/dist/chunks/{location-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-sv18tyc1.js → filesystem-ga28zqw9.js} +26 -26
- package/dist/chunks/{location-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-pghnxs44.js → filesystem-gex21hkg.js} +24 -24
- package/dist/chunks/{location-qn9b0sqe.js → filesystem-ggq5dcm3.js} +11 -11
- package/dist/chunks/{location-h78s014s.js → filesystem-gkxywbd8.js} +9 -9
- package/dist/chunks/{location-xt1m20s5.js → filesystem-gmrppb9j.js} +4 -4
- package/dist/chunks/{location-dt191n27.js → filesystem-gmtyk6kh.js} +9 -9
- package/dist/chunks/{location-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-d72vtcx6.js → filesystem-gvn55taw.js} +9 -9
- package/dist/chunks/{location-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-vxmvkdwt.js → filesystem-hc1m44b4.js} +26 -26
- package/dist/chunks/{location-dh7atf4x.js → filesystem-hd4ggg0f.js} +24 -24
- package/dist/chunks/{location-f3dc04ja.js → filesystem-hg14h15t.js} +43 -43
- package/dist/chunks/{location-b722n5s9.js → filesystem-hjxgxr48.js} +12 -12
- package/dist/chunks/{location-d1728j9y.js → filesystem-hw0j4jfr.js} +9 -9
- package/dist/chunks/{location-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{location-5cp6651z.js → filesystem-j5rxtxht.js} +4 -4
- package/dist/chunks/{location-zt6fd653.js → filesystem-ja4wy4ee.js} +6 -6
- package/dist/chunks/{location-9p5s6s2z.js → filesystem-jfxzdpts.js} +25 -25
- package/dist/chunks/{location-b60s1em2.js → filesystem-jgqqmzrc.js} +13 -13
- package/dist/chunks/{location-ppzykpzz.js → filesystem-jkayeeaj.js} +3 -3
- package/dist/chunks/{location-cf8xfs7e.js → filesystem-jm1e84c6.js} +55 -55
- package/dist/chunks/{location-wvgnadq2.js → filesystem-jyvd2mgh.js} +4 -4
- package/dist/chunks/{location-k3c624dm.js → filesystem-k3c624dm.js} +3 -3
- package/dist/chunks/{location-ycjtg4p4.js → filesystem-k5gd0tq9.js} +25 -25
- package/dist/chunks/{location-ph20cxtq.js → filesystem-k7myrtme.js} +9 -9
- package/dist/chunks/{location-xjtsx636.js → filesystem-k8hpw67k.js} +5 -5
- package/dist/chunks/{location-44ke2mar.js → filesystem-k9kj6xed.js} +6 -6
- package/dist/chunks/{location-jd00bmkr.js → filesystem-kc6s93qx.js} +6 -6
- package/dist/chunks/{location-1kpmcbq6.js → filesystem-kcvtahyt.js} +19 -19
- package/dist/chunks/{location-ec8389mk.js → filesystem-keat3kjn.js} +4 -4
- package/dist/chunks/{location-0zt6fyp2.js → filesystem-kgwkn692.js} +14 -14
- package/dist/chunks/{location-dhmh7aw6.js → filesystem-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-ktk7kaep.js → filesystem-kx9spr8q.js} +15 -15
- package/dist/chunks/{location-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-wmpkysg0.js → filesystem-m4q3p37a.js} +13 -13
- package/dist/chunks/{location-c52v1g84.js → filesystem-m4wqnv6z.js} +24 -24
- package/dist/chunks/{location-qg12vcbp.js → filesystem-m5nhsqcp.js} +30 -30
- package/dist/chunks/{location-rh4cvgcy.js → filesystem-m8btp16q.js} +80 -80
- package/dist/chunks/{location-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-f4v8yxfq.js → filesystem-mbac1kct.js} +12 -12
- package/dist/chunks/{location-ex0ne5y8.js → filesystem-mgmaefw5.js} +5 -5
- package/dist/chunks/{location-nh19gvd6.js → filesystem-msvsfnt3.js} +13 -13
- package/dist/chunks/{location-w8qbt9vz.js → filesystem-mt9bxwhn.js} +3 -3
- package/dist/chunks/{location-8pwapj34.js → filesystem-mx3p2n25.js} +13 -13
- package/dist/chunks/{location-jkp0d30b.js → filesystem-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-f7dx5gxk.js → filesystem-nw7zy85b.js} +9 -9
- package/dist/chunks/{location-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{location-qg0jgkcp.js → filesystem-pnv527nz.js} +9 -9
- package/dist/chunks/{location-a671bmw1.js → filesystem-prryh28n.js} +12 -12
- package/dist/chunks/{location-bm23hmy0.js → filesystem-px2be73x.js} +9 -9
- package/dist/chunks/{location-cb635m3g.js → filesystem-q0sfhvah.js} +1 -1
- package/dist/chunks/{location-sqj1n1fy.js → filesystem-q3bxgjqn.js} +4 -4
- package/dist/chunks/{location-cmna76py.js → filesystem-q3hac6h7.js} +20 -20
- package/dist/chunks/{location-96q44xr9.js → filesystem-q7rwn2x2.js} +28 -28
- package/dist/chunks/{location-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{location-wvtxbd2s.js → filesystem-qx5d9ajw.js} +1 -1
- package/dist/chunks/{location-zgqvek19.js → filesystem-rc50wbp4.js} +13 -13
- package/dist/chunks/{location-2bybnw67.js → filesystem-rddmyqfq.js} +23 -23
- package/dist/chunks/{location-c7r74d2e.js → filesystem-rdnhh455.js} +16 -16
- package/dist/chunks/{location-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-rhjbct0v.js → filesystem-rhjbct0v.js} +1 -1
- package/dist/chunks/{location-crzmmhpe.js → filesystem-rk88yvf9.js} +10 -10
- package/dist/chunks/{location-t7qv8der.js → filesystem-rzfg7075.js} +29 -29
- package/dist/chunks/{location-s4enseaf.js → filesystem-s4enseaf.js} +2 -2
- package/dist/chunks/{location-m2xnkqg2.js → filesystem-s5kb3k8e.js} +12 -12
- package/dist/chunks/{location-48j1mtvh.js → filesystem-s7ctwtcq.js} +19 -19
- package/dist/chunks/{location-ts2x07a1.js → filesystem-scq4khx8.js} +1 -1
- package/dist/chunks/{location-jkwh49qv.js → filesystem-sds3e13g.js} +34 -34
- package/dist/chunks/{location-hr3mej6q.js → filesystem-sexgt17t.js} +1 -1
- package/dist/chunks/{location-cbmr8phd.js → filesystem-sfpgy6fa.js} +10 -10
- package/dist/chunks/{location-apgxa580.js → filesystem-stsqwfg0.js} +15 -15
- package/dist/chunks/{location-ffjkv6j4.js → filesystem-tamkpa3n.js} +11 -11
- package/dist/chunks/{location-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-axenjc6b.js → filesystem-tb6t8ms4.js} +15 -15
- package/dist/chunks/{location-tbz0fdvh.js → filesystem-tbz0fdvh.js} +2 -2
- package/dist/chunks/{location-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/filesystem-tr8yqx4d.js +252 -0
- package/dist/chunks/{location-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{location-spa1pw6v.js → filesystem-tz5abwqk.js} +18 -18
- package/dist/chunks/{location-0c1wpxb9.js → filesystem-v35f087t.js} +1 -1
- package/dist/chunks/{location-33sx5sqt.js → filesystem-v7zj3nz5.js} +16 -16
- package/dist/chunks/{location-w18ba54v.js → filesystem-v8g5y6jd.js} +14 -14
- package/dist/chunks/{location-1yjvqg52.js → filesystem-vds9m2vb.js} +9 -9
- package/dist/chunks/{location-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{location-z0ztzpp1.js → filesystem-vgrtq7ff.js} +25 -25
- package/dist/chunks/{location-dvdzmdgd.js → filesystem-vh4qwyhx.js} +10 -10
- package/dist/chunks/{location-jv01nqvq.js → filesystem-vmq7ehpy.js} +5 -5
- package/dist/chunks/{location-13j8pn5k.js → filesystem-vmz6a58x.js} +3 -3
- package/dist/chunks/{location-6m42r3np.js → filesystem-vsp1fds9.js} +4 -4
- package/dist/chunks/{location-mz24817y.js → filesystem-vvax6fjg.js} +14 -14
- package/dist/chunks/{location-cxr1pgpc.js → filesystem-vvk3ve44.js} +7 -7
- package/dist/chunks/{location-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/filesystem-w3te818p.js +26 -0
- package/dist/chunks/{location-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-jwnsrq47.js → filesystem-w446yvqy.js} +2 -2
- package/dist/chunks/{location-z96p8pdm.js → filesystem-w533tarm.js} +23 -23
- package/dist/chunks/{location-dzebhhhh.js → filesystem-w82fgawr.js} +3 -3
- package/dist/chunks/{location-n4t6mz1w.js → filesystem-w94kskkz.js} +8 -8
- package/dist/chunks/{location-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{location-czw6ejq9.js → filesystem-wgw4srnb.js} +12 -12
- package/dist/chunks/{location-q5dh2455.js → filesystem-wh4ahp02.js} +10 -10
- package/dist/chunks/{location-cgtezthe.js → filesystem-wkjja0pr.js} +9 -9
- package/dist/chunks/{location-ee7jghms.js → filesystem-ws621yd9.js} +44 -44
- package/dist/chunks/{location-tp88aasm.js → filesystem-wxnh3zbj.js} +3 -3
- package/dist/chunks/{location-3jyv51wp.js → filesystem-wxr37xc2.js} +5 -5
- package/dist/chunks/{location-9kmbd9mt.js → filesystem-x0600czv.js} +2 -2
- package/dist/chunks/{location-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-xfkkasph.js → filesystem-xfkkasph.js} +1 -1
- package/dist/chunks/{location-3933gdcf.js → filesystem-xst10gja.js} +15 -15
- package/dist/chunks/{location-znzpdstw.js → filesystem-xxnqz17r.js} +27 -27
- package/dist/chunks/{location-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{location-8x6t0zvv.js → filesystem-yad5pthg.js} +24 -24
- package/dist/chunks/{location-8eg380mg.js → filesystem-yfrapfkp.js} +4 -4
- package/dist/chunks/{location-1acjjqhc.js → filesystem-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-0cjzkd0f.js → filesystem-yq3qxe3q.js} +37 -37
- package/dist/chunks/{location-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-x4h44jes.js → filesystem-yzs7269r.js} +24 -24
- package/dist/chunks/{location-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-26xy9jpk.js → filesystem-z5614h9q.js} +22 -22
- package/dist/chunks/{location-8c50kj87.js → filesystem-z5dr2f93.js} +2 -2
- package/dist/chunks/{location-ka57rnyv.js → filesystem-za9m4y5n.js} +31 -31
- package/dist/chunks/{location-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-d04xfmcf.js → filesystem-zfyhmt8d.js} +22 -22
- package/dist/chunks/{location-jf5ejj3c.js → filesystem-zhm4m9p9.js} +31 -31
- package/dist/chunks/{location-b95a0s9k.js → filesystem-zptm4m77.js} +1 -1
- package/dist/chunks/{location-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-7c0btcba.js → filesystem-zx5z6yb5.js} +13 -13
- package/dist/chunks/{location-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +77 -77
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +90 -90
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-dpe5jjc5.js +0 -252
- package/dist/chunks/location-fpnkzx0a.js +0 -26
- package/dist/chunks/location-qapv375x.js +0 -4
- package/dist/chunks/location-qc068m1q.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → filesystem-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-hjxgxr48.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node71
|
|
7
|
+
} from "./filesystem-zfyhmt8d.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service11,
|
|
10
|
+
node13
|
|
11
|
+
} from "./filesystem-xxnqz17r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service34
|
|
14
|
+
} from "./filesystem-by5v678g.js";
|
|
15
15
|
import {
|
|
16
16
|
node20,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
ID3
|
|
18
|
+
} from "./filesystem-q3hac6h7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service4,
|
|
21
|
+
node6
|
|
22
|
+
} from "./filesystem-5xtgfte3.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-d9rbnbyj.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-2v3pyxh6.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service5,
|
|
35
|
+
node7
|
|
36
|
+
} from "./filesystem-rc50wbp4.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service8,
|
|
39
|
+
node10
|
|
40
|
+
} from "./filesystem-6fatt4mk.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID3.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
128
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
129
|
+
const registry = yield* Service34;
|
|
130
|
+
const sdk = yield* Service5;
|
|
131
|
+
const instance = yield* Service4;
|
|
132
|
+
const sources = yield* Service11;
|
|
133
|
+
const modules = yield* make4();
|
|
134
|
+
const bus = yield* Service83;
|
|
135
|
+
const updates = yield* Service8;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -208,13 +208,13 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
210
|
node20,
|
|
211
|
-
node14,
|
|
212
211
|
node7,
|
|
213
212
|
node6,
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
node13,
|
|
214
|
+
node10,
|
|
215
|
+
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node71,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./filesystem-hjxgxr48.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-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
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
30
|
+
Service: () => Service48,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node50
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,7 +42,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options5 = Schema.Struct({
|
|
@@ -50,10 +50,10 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service48 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service48, 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,7 +72,7 @@ var layer18 = (options) => Layer.effect(Service56, 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
77
|
const source = (value) => make20({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service48.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service56, 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: Service48,
|
|
110
|
+
layer: layer19(options),
|
|
111
|
+
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node50 = 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, Service48, layer19, configured5, node50, exports_instruction_discovery };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-vsp1fds9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./filesystem-dhwr7h25.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info22
|
|
12
|
+
} from "./filesystem-ag9w8cw1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info18
|
|
15
|
+
} from "./filesystem-a2ew8a62.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info16
|
|
18
|
+
} from "./filesystem-af04s6ss.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./filesystem-vmq7ehpy.js";
|
|
25
25
|
import {
|
|
26
26
|
Info13
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-4da2pd5b.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./filesystem-4wgmm2fj.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -87,7 +87,7 @@ function normalize2(input) {
|
|
|
87
87
|
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info21, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-3wss6xvz.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-mt9bxwhn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./filesystem-hjxgxr48.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service77,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service77.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info29, Service77, node81, exports_credential };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load5
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event14,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service68,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node71,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event14 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load5());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service68 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service68.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service68).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service68, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node71 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event14, hasNativeBinding2, Native3, Options10, Service68, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node71, exports_watcher };
|