@opencode/core 0.0.0-dev-20643 → 0.0.0-dev-20644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cjwramev.js → reference-04j0x0ww.js} +6 -6
- package/dist/chunks/{repository-gc135ar8.js → reference-05xfxpq7.js} +8 -8
- package/dist/chunks/{repository-b751st24.js → reference-0aacj8rv.js} +3 -3
- package/dist/chunks/{repository-8ee403vh.js → reference-0anetptk.js} +11 -11
- package/dist/chunks/{repository-chyvjp63.js → reference-0ev02b6f.js} +10 -10
- package/dist/chunks/{repository-tdpndm1c.js → reference-0nde5ztd.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-hryrsgw2.js → reference-0skng5dr.js} +7 -7
- package/dist/chunks/{repository-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-f6sbv01c.js → reference-10pc31tr.js} +44 -44
- package/dist/chunks/{repository-4344f0hm.js → reference-1a1xd1b3.js} +31 -31
- package/dist/chunks/{repository-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-h2yw0gk4.js → reference-1et4t6yv.js} +22 -22
- package/dist/chunks/reference-1sb9m88v.js +253 -0
- package/dist/chunks/{repository-fjts330j.js → reference-1xmbdwss.js} +5 -5
- package/dist/chunks/{repository-56gdpj1q.js → reference-1ygqh575.js} +9 -9
- package/dist/chunks/{repository-2455wr4j.js → reference-2194chap.js} +13 -13
- package/dist/chunks/{repository-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-483p8dcw.js → reference-2avx1wba.js} +11 -11
- package/dist/chunks/{repository-1gfgk62c.js → reference-2eegacq4.js} +8 -8
- package/dist/chunks/{repository-j2htzqze.js → reference-2mq34jqw.js} +2 -2
- package/dist/chunks/{repository-6cfn1t67.js → reference-2p2thyt8.js} +11 -11
- package/dist/chunks/{repository-ajh7mqgq.js → reference-2wgr0bg0.js} +28 -28
- package/dist/chunks/{repository-ce3pkz8w.js → reference-2zztsz65.js} +8 -8
- package/dist/chunks/{repository-6r4hjhnf.js → reference-3470gd9h.js} +20 -20
- package/dist/chunks/{repository-zd30eb5w.js → reference-3801kdgp.js} +5 -5
- package/dist/chunks/{repository-h2b79v29.js → reference-3cegwx68.js} +2 -2
- package/dist/chunks/{repository-wc5p7jf8.js → reference-3eescsqs.js} +43 -43
- package/dist/chunks/{repository-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-fj3b7143.js → reference-3g9wyfya.js} +23 -23
- package/dist/chunks/{repository-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-t5483b9c.js → reference-4dz5bemh.js} +4 -4
- package/dist/chunks/{repository-a6rczh0a.js → reference-4eekcfr3.js} +42 -42
- package/dist/chunks/{repository-yqt58wae.js → reference-4qyddrjz.js} +11 -11
- package/dist/chunks/{repository-32xj3ztx.js → reference-4qzt904k.js} +29 -29
- package/dist/chunks/{repository-zk46kswf.js → reference-4r3amq6s.js} +15 -15
- package/dist/chunks/{repository-2ccvkpx1.js → reference-4ts7tf6z.js} +2 -2
- package/dist/chunks/{repository-qv02qg64.js → reference-50eqagw9.js} +5 -5
- package/dist/chunks/{repository-f8tnf7f1.js → reference-52jg0a30.js} +15 -15
- package/dist/chunks/{repository-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-66bhq6pp.js → reference-5c42fwyc.js} +13 -13
- package/dist/chunks/{repository-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-p42hj8p8.js → reference-5xtgfte3.js} +8 -8
- package/dist/chunks/reference-619r8v3y.js +18 -0
- package/dist/chunks/{repository-yf33k1p3.js → reference-61q39vzt.js} +24 -24
- package/dist/chunks/{repository-drnf6xwf.js → reference-63db42yp.js} +2 -2
- package/dist/chunks/{repository-s8v3amej.js → reference-6c09zaff.js} +1 -1
- package/dist/chunks/{repository-4y69v0zr.js → reference-6jc1b2h3.js} +13 -13
- package/dist/chunks/{repository-pkct850y.js → reference-6jsvsf2v.js} +40 -40
- package/dist/chunks/{repository-djyq2zct.js → reference-6t2k45be.js} +15 -15
- package/dist/chunks/{repository-gkcjs2dn.js → reference-6v23mrsw.js} +11 -11
- package/dist/chunks/{repository-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-2wredcz9.js → reference-6zr4h8f4.js} +20 -20
- package/dist/chunks/{repository-fbefb913.js → reference-7223d1z5.js} +13 -13
- package/dist/chunks/{repository-5e49akah.js → reference-72kjf32t.js} +43 -43
- package/dist/chunks/{repository-1bbkgx8g.js → reference-73tb2d7t.js} +3 -3
- package/dist/chunks/{repository-ntaqe8vs.js → reference-76kk80dz.js} +21 -21
- package/dist/chunks/{repository-g69c5a8v.js → reference-7aj7xv8n.js} +16 -16
- package/dist/chunks/{repository-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-vngdzw63.js → reference-7rpx7sq4.js} +16 -16
- package/dist/chunks/{repository-yn96zvvk.js → reference-7sq9ks3h.js} +11 -11
- package/dist/chunks/{repository-c9vhjpyr.js → reference-7zpbt3aj.js} +9 -9
- package/dist/chunks/{repository-jnevnthy.js → reference-83t40xbf.js} +22 -22
- package/dist/chunks/{repository-erq8vxjr.js → reference-83xsvayb.js} +3 -3
- package/dist/chunks/{repository-y6brtjeh.js → reference-84gzjtx2.js} +37 -37
- package/dist/chunks/{repository-1dvck2a7.js → reference-84h8c373.js} +2 -2
- package/dist/chunks/{repository-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{repository-8tsdq50x.js → reference-86qzxe6p.js} +4 -4
- package/dist/chunks/{repository-ve1j3q85.js → reference-87jy24nc.js} +11 -11
- package/dist/chunks/{repository-wnfszx78.js → reference-88ywh4qk.js} +10 -10
- package/dist/chunks/{repository-f0pfhw3c.js → reference-8bdbvaz4.js} +4 -4
- package/dist/chunks/{repository-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-y1w7bwtd.js → reference-8mwpm1an.js} +21 -21
- package/dist/chunks/{repository-wnh11861.js → reference-8t7rhgz3.js} +15 -15
- package/dist/chunks/{repository-h6c2yg5r.js → reference-8tqdxazn.js} +8 -8
- package/dist/chunks/{repository-f0qf0nex.js → reference-94xjc4x3.js} +27 -27
- package/dist/chunks/{repository-s8qvywtq.js → reference-9angfs7f.js} +12 -12
- package/dist/chunks/{repository-5ng375bv.js → reference-9edtgxtv.js} +30 -30
- package/dist/chunks/{repository-tzy9a5tv.js → reference-9k28mjf9.js} +29 -29
- package/dist/chunks/{repository-7d05dvcz.js → reference-9vqr2gqg.js} +11 -11
- package/dist/chunks/{repository-espax8zg.js → reference-a3c7ahw6.js} +4 -4
- package/dist/chunks/{repository-c20khjev.js → reference-a8bn8zg0.js} +21 -21
- package/dist/chunks/{repository-pgze7171.js → reference-aabqg1yt.js} +5 -5
- package/dist/chunks/{repository-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-embw8kgh.js → reference-afdssyjb.js} +4 -4
- package/dist/chunks/{repository-1hp58pw3.js → reference-ag4901q7.js} +6 -6
- package/dist/chunks/{repository-bzadqhw2.js → reference-ajgzqw9a.js} +4 -4
- package/dist/chunks/{repository-5t80mpw4.js → reference-amzhydp5.js} +19 -19
- package/dist/chunks/{repository-8jg22brg.js → reference-b251r90g.js} +317 -317
- package/dist/chunks/{repository-jbmm1708.js → reference-b64x0h7w.js} +56 -56
- package/dist/chunks/{repository-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-q1srvr66.js → reference-b7mddd13.js} +45 -45
- package/dist/chunks/{repository-mpd66srn.js → reference-b8cf1jne.js} +1 -1
- package/dist/chunks/{repository-dbp4m4ge.js → reference-bpmpjnmg.js} +30 -30
- package/dist/chunks/{repository-hw3ewgqj.js → reference-bpy139ph.js} +11 -11
- package/dist/chunks/{repository-s4075y1x.js → reference-bvc4cg79.js} +5 -5
- package/dist/chunks/{repository-qne3fa44.js → reference-bx0gyb4h.js} +5 -5
- package/dist/chunks/{repository-yprc5htm.js → reference-by0ebg82.js} +21 -21
- package/dist/chunks/{repository-h4jx6m0r.js → reference-bzh6v3xd.js} +11 -11
- package/dist/chunks/{repository-4z7pkycv.js → reference-c5pjp08j.js} +16 -16
- package/dist/chunks/{repository-9mhtj97w.js → reference-cag15tqf.js} +13 -13
- package/dist/chunks/{repository-cfsekr6v.js → reference-cfsekr6v.js} +2 -2
- package/dist/chunks/{repository-6c2ypm1v.js → reference-cftre4vt.js} +39 -39
- package/dist/chunks/{repository-zvjhkatg.js → reference-cq9vh2fv.js} +8 -8
- package/dist/chunks/{repository-jnpqgtt0.js → reference-cqdnmg2r.js} +11 -11
- package/dist/chunks/{repository-j3pg2mx4.js → reference-cvnd2j5s.js} +3 -3
- package/dist/chunks/{repository-tarna68p.js → reference-cyya37fe.js} +9 -9
- package/dist/chunks/{repository-4cw36es0.js → reference-cznc04wa.js} +9 -9
- package/dist/chunks/{repository-x4k83k5f.js → reference-d3tcrfr2.js} +11 -11
- package/dist/chunks/{repository-eqh5fpv6.js → reference-d8h4y8x2.js} +11 -11
- package/dist/chunks/{repository-16558gs3.js → reference-db7cgdsw.js} +44 -44
- package/dist/chunks/{repository-q0cdrezg.js → reference-dcb7qyjw.js} +14 -14
- package/dist/chunks/{repository-vp0q13q8.js → reference-defjrdcv.js} +73 -73
- package/dist/chunks/{repository-xhv84ab7.js → reference-dkg05a5w.js} +28 -28
- package/dist/chunks/{repository-b3cm3psy.js → reference-dppwmjh0.js} +7 -7
- package/dist/chunks/{repository-mxr1v1s0.js → reference-dvc89yjx.js} +8 -8
- package/dist/chunks/{repository-k37ga4vh.js → reference-dwajttkg.js} +8 -8
- package/dist/chunks/{repository-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-4z58m4b4.js → reference-f29mbr7f.js} +4 -4
- package/dist/chunks/{repository-7z6z4pna.js → reference-f3bkb0dd.js} +26 -26
- package/dist/chunks/{repository-aqryd466.js → reference-f43c2727.js} +24 -24
- package/dist/chunks/{repository-71az546q.js → reference-f75zav2x.js} +2 -2
- package/dist/chunks/{repository-9yaf30yb.js → reference-fhyq4rkh.js} +37 -37
- package/dist/chunks/{repository-8hjmwb77.js → reference-fpswryxc.js} +13 -13
- package/dist/chunks/{repository-j58c5xyq.js → reference-ftjf86m5.js} +9 -9
- package/dist/chunks/{repository-3cde4f3q.js → reference-fvqj4f3c.js} +8 -8
- package/dist/chunks/{repository-g5w8qwbj.js → reference-g5w8qwbj.js} +1 -1
- package/dist/chunks/{repository-s9nwmxxs.js → reference-g9s62h09.js} +29 -29
- package/dist/chunks/{repository-qy0n8417.js → reference-g9y2cd3z.js} +26 -26
- package/dist/chunks/{repository-2z7ddzwf.js → reference-gcrbmep4.js} +7 -7
- package/dist/chunks/{repository-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-k70p9jzb.js → reference-gh5z95q3.js} +9 -9
- package/dist/chunks/{repository-t406fhy5.js → reference-gjnvnc4y.js} +24 -24
- package/dist/chunks/{repository-56gyfky0.js → reference-gpp0brcr.js} +3 -3
- package/dist/chunks/{repository-addxnjmp.js → reference-gqtdsdt7.js} +4 -4
- package/dist/chunks/{repository-00e0wh3q.js → reference-gtzbc217.js} +24 -24
- package/dist/chunks/{repository-w5ystqj3.js → reference-gvt3vmzy.js} +5 -5
- package/dist/chunks/{repository-tbs2jyb2.js → reference-gwzp9a94.js} +7 -7
- package/dist/chunks/{repository-7c08hygz.js → reference-h4ckqw4f.js} +11 -11
- package/dist/chunks/{repository-fe9ffm0w.js → reference-h5brs6ad.js} +18 -18
- package/dist/chunks/{repository-zhwzkc0c.js → reference-h6d45qjv.js} +15 -15
- package/dist/chunks/{repository-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/reference-hbxrrpsy.js +26 -0
- package/dist/chunks/{repository-9yxvhatz.js → reference-he0vrkkp.js} +4 -4
- package/dist/chunks/{repository-kxam66j6.js → reference-hgc4p3n8.js} +13 -13
- package/dist/chunks/{repository-5k54pn5m.js → reference-hgvy4kar.js} +10 -10
- package/dist/chunks/{repository-f8xdbq78.js → reference-hndc3k9c.js} +6 -6
- package/dist/chunks/{repository-h6yzxz9r.js → reference-ht8cmbj4.js} +15 -15
- package/dist/chunks/{repository-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-atwht7h8.js → reference-jc4g2yrv.js} +9 -9
- package/dist/chunks/{repository-kfj4fg87.js → reference-je2kf47w.js} +5 -5
- package/dist/chunks/{repository-mfct962c.js → reference-jnrqkn6c.js} +30 -30
- package/dist/chunks/{repository-cs63tcvs.js → reference-jnvd0kyr.js} +7 -7
- package/dist/chunks/{repository-23294nz8.js → reference-jpdp1vnh.js} +24 -24
- package/dist/chunks/{repository-ywf1kxhz.js → reference-k6tv6mb5.js} +4 -4
- package/dist/chunks/{repository-9e5bzkjp.js → reference-kb9j3d72.js} +3 -3
- package/dist/chunks/{repository-q7ngdz78.js → reference-kvffqfe9.js} +18 -18
- package/dist/chunks/{repository-05t95569.js → reference-m2wppme0.js} +8 -8
- package/dist/chunks/{repository-ecwx0042.js → reference-m39cm8ca.js} +8 -8
- package/dist/chunks/{repository-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cb3fgacg.js → reference-m4c3aw93.js} +29 -29
- package/dist/chunks/{repository-r3c58j5g.js → reference-m6rwzraj.js} +3 -3
- package/dist/chunks/{repository-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-ry0xagvq.js → reference-mhb1xyd0.js} +24 -24
- package/dist/chunks/{repository-q7jxq9y7.js → reference-mp7381ha.js} +18 -18
- package/dist/chunks/{repository-wb70vhte.js → reference-mszqqr5a.js} +11 -11
- package/dist/chunks/{repository-t8n7ymvq.js → reference-nbgrff9b.js} +6 -6
- package/dist/chunks/{repository-vdf83yyz.js → reference-nfpgxjj6.js} +12 -12
- package/dist/chunks/{repository-68ga000j.js → reference-nhsamrrc.js} +44 -44
- package/dist/chunks/{repository-7wnc14t4.js → reference-nk5qe5vz.js} +14 -14
- package/dist/chunks/{repository-1acjjqhc.js → reference-nkf980df.js} +4 -4
- package/dist/chunks/{repository-rm4s95e7.js → reference-ns7haffg.js} +65 -65
- package/dist/chunks/{repository-rk3ekeb4.js → reference-nx7bjzyg.js} +5 -5
- package/dist/chunks/{repository-dpkg50ah.js → reference-nxm207yx.js} +4 -4
- package/dist/chunks/{repository-vt8dt6j6.js → reference-p9yds72b.js} +30 -30
- package/dist/chunks/{repository-xpwv3d90.js → reference-pakybbh2.js} +17 -17
- package/dist/chunks/{repository-pg4zag0e.js → reference-pg4qvhje.js} +22 -22
- package/dist/chunks/{repository-h16n41p4.js → reference-pgp5awqq.js} +25 -25
- package/dist/chunks/{repository-xv90jz4c.js → reference-pj60644h.js} +11 -11
- package/dist/chunks/{repository-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{repository-qy06s429.js → reference-pqwyxwmm.js} +13 -13
- package/dist/chunks/{repository-5r637m3f.js → reference-prryrcpd.js} +57 -57
- package/dist/chunks/{repository-0j77ygfz.js → reference-q0xm7vwc.js} +6 -6
- package/dist/chunks/{repository-9mxexfbd.js → reference-q3m1smny.js} +14 -14
- package/dist/chunks/{repository-8e4wx4g3.js → reference-q538z9pc.js} +18 -18
- package/dist/chunks/{repository-2t9hnq90.js → reference-qbe3snec.js} +10 -10
- package/dist/chunks/{repository-q76xcmv9.js → reference-qc6fgdwa.js} +16 -16
- package/dist/chunks/{repository-2k8khapm.js → reference-qgn6gcr1.js} +5 -5
- package/dist/chunks/{repository-6vnaqa0k.js → reference-qjeyhcp2.js} +30 -30
- package/dist/chunks/{repository-d4he2qe1.js → reference-qmqgtz8f.js} +9 -9
- package/dist/chunks/{repository-042aawn8.js → reference-qmrj7qv4.js} +23 -23
- package/dist/chunks/{repository-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-qxjc9qry.js → reference-qxjc9qry.js} +3 -3
- package/dist/chunks/{repository-zyk1yjk8.js → reference-qygbw77c.js} +5 -5
- package/dist/chunks/{repository-w7a2abxy.js → reference-r0xwa5b9.js} +9 -9
- package/dist/chunks/{repository-1cw3fj19.js → reference-r0yjwmba.js} +6 -6
- package/dist/chunks/{repository-ya6jwxb4.js → reference-r656bzgr.js} +4 -4
- package/dist/chunks/{repository-z6zb16gf.js → reference-r8kdp16q.js} +30 -30
- package/dist/chunks/{repository-t7wcnk30.js → reference-rb1fbfth.js} +11 -11
- package/dist/chunks/{repository-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-3556dn8t.js → reference-rk1r2hx8.js} +1 -1
- package/dist/chunks/{repository-xmy45d6e.js → reference-rkekhv0x.js} +23 -23
- package/dist/chunks/{repository-m44fkk4m.js → reference-rm3eewz3.js} +6 -6
- package/dist/chunks/{repository-d73ss8bd.js → reference-rmg5xfkv.js} +20 -20
- package/dist/chunks/{repository-vfzczaj5.js → reference-rnht7zsd.js} +20 -20
- package/dist/chunks/{repository-hdjgtqrb.js → reference-rpqbf71x.js} +20 -20
- package/dist/chunks/{repository-0f0pgr2e.js → reference-rpwhq6pb.js} +3 -3
- package/dist/chunks/{repository-9815d8pv.js → reference-rrk1042z.js} +29 -29
- package/dist/chunks/{repository-41h22fg8.js → reference-s3pmgr9t.js} +41 -41
- package/dist/chunks/{repository-mn0942hp.js → reference-s8w3rjvj.js} +19 -19
- package/dist/chunks/{repository-mjqndqed.js → reference-scsdzjr7.js} +12 -12
- package/dist/chunks/{repository-6x4qebe7.js → reference-sgdqa063.js} +30 -30
- package/dist/chunks/{repository-2m8jawch.js → reference-sqvzcy4n.js} +4 -4
- package/dist/chunks/{repository-my4zabxr.js → reference-ss358qx3.js} +3 -3
- package/dist/chunks/{repository-5pptr25h.js → reference-t11fnep0.js} +4 -4
- package/dist/chunks/{repository-a2ew8a62.js → reference-t2fc4mz5.js} +4 -4
- package/dist/chunks/{repository-1wb0x8n3.js → reference-t2ykdevs.js} +8 -8
- package/dist/chunks/{repository-gry8sgkd.js → reference-tah2dmcr.js} +15 -15
- package/dist/chunks/{repository-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-ef2cw19s.js → reference-td55a9w2.js} +12 -12
- package/dist/chunks/{repository-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{repository-yfe405ny.js → reference-tdw7b37v.js} +13 -13
- package/dist/chunks/{repository-c8bydgjz.js → reference-tegs1ycp.js} +6 -6
- package/dist/chunks/{repository-4azg6a58.js → reference-tmcwaswb.js} +8 -8
- package/dist/chunks/{repository-hffth77f.js → reference-tqcqmy0z.js} +167 -167
- package/dist/chunks/{repository-vqkmcgyv.js → reference-tvy4pmrp.js} +3 -3
- package/dist/chunks/{repository-azmfd98g.js → reference-ty1kjgn1.js} +27 -27
- package/dist/chunks/{repository-etdaqrbr.js → reference-tyvap7pe.js} +29 -29
- package/dist/chunks/{repository-0h1qn0y5.js → reference-v01fwtwf.js} +10 -10
- package/dist/chunks/{repository-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
- package/dist/chunks/{repository-hkgfm0m5.js → reference-v9bgj935.js} +21 -21
- package/dist/chunks/{repository-56a9smke.js → reference-veanqdwt.js} +20 -20
- package/dist/chunks/{repository-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-ccn600g9.js → reference-vpt24r21.js} +11 -11
- package/dist/chunks/{repository-9pymkw0x.js → reference-vptjzd05.js} +11 -11
- package/dist/chunks/{repository-tg6e69q8.js → reference-vvx487fg.js} +5 -5
- package/dist/chunks/{repository-j4g697yf.js → reference-vyfd576n.js} +20 -20
- package/dist/chunks/{repository-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-57myy5jh.js → reference-w39jehkq.js} +5 -5
- package/dist/chunks/{repository-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-5w6ne2rj.js → reference-w4xhwz3h.js} +11 -11
- package/dist/chunks/{repository-t7y8x8j8.js → reference-w62h0ejf.js} +9 -9
- package/dist/chunks/{repository-2tyga0yy.js → reference-wbtfkyzq.js} +19 -19
- package/dist/chunks/{repository-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{repository-8kys6q5k.js → reference-wfb8b895.js} +9 -9
- package/dist/chunks/{repository-t550f9t1.js → reference-wv396vej.js} +8 -8
- package/dist/chunks/{repository-g34b934z.js → reference-wz3q2ckh.js} +22 -22
- package/dist/chunks/{repository-w6gqnbcy.js → reference-x0agx93m.js} +5 -5
- package/dist/chunks/{repository-96ctqc5x.js → reference-xf0nr9dv.js} +4 -4
- package/dist/chunks/{repository-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-6cdwq03r.js → reference-xm3t5kx7.js} +4 -4
- package/dist/chunks/{repository-rjsk0n41.js → reference-xrzsv9ds.js} +9 -9
- package/dist/chunks/{repository-27bkxtjt.js → reference-y07dqpd7.js} +11 -11
- package/dist/chunks/{repository-89za3yyg.js → reference-y0ty5fha.js} +9 -9
- package/dist/chunks/{repository-y16p1w2y.js → reference-y15vpdnr.js} +9 -9
- package/dist/chunks/{repository-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-rpp7c75e.js → reference-yaj5ebgj.js} +48 -48
- package/dist/chunks/{repository-65967rh2.js → reference-ybdpay6p.js} +17 -17
- package/dist/chunks/{repository-a2dv4dac.js → reference-yfs5p2ka.js} +4 -4
- package/dist/chunks/{repository-2texf5vf.js → reference-ykw2g6qf.js} +20 -20
- package/dist/chunks/{repository-b5f9cqb8.js → reference-yt62qj12.js} +27 -27
- package/dist/chunks/{repository-15q89ad0.js → reference-yww0r5a3.js} +11 -11
- package/dist/chunks/{repository-4ege8dpt.js → reference-yy493xsn.js} +20 -20
- package/dist/chunks/{repository-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-a199weyn.js → reference-za77p82n.js} +6 -6
- package/dist/chunks/{repository-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-gpng080p.js → reference-zzpvks7y.js} +32 -32
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- 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 +105 -105
- package/dist/mcp/instructions.js +129 -129
- 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 +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +2 -2
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +211 -211
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- 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 +222 -222
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- 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 +80 -80
- 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 +85 -85
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/repository-45085rbj.js +0 -26
- package/dist/chunks/repository-bpqsrde8.js +0 -253
- package/dist/chunks/repository-jqh9b0xq.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-gtzbc217.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-prryrcpd.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin12
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -84,7 +84,7 @@ Rules:
|
|
|
84
84
|
- Never ask questions or add new questions
|
|
85
85
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
86
86
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
87
|
-
var
|
|
87
|
+
var Plugin12 = define({
|
|
88
88
|
id: "opencode.agent",
|
|
89
89
|
effect: Effect.fn(function* (ctx) {
|
|
90
90
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -94,13 +94,13 @@ var Plugin41 = define({
|
|
|
94
94
|
item.mode = "primary";
|
|
95
95
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
96
96
|
});
|
|
97
|
-
editor.update(
|
|
97
|
+
editor.update(ID15.make("general"), (item) => {
|
|
98
98
|
item.name = Name3.make("General");
|
|
99
99
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
100
100
|
item.mode = "subagent";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
104
104
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
105
105
|
item.name = Name3.make("Explore");
|
|
106
106
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -120,19 +120,19 @@ var Plugin41 = define({
|
|
|
120
120
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
121
121
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
122
122
|
});
|
|
123
|
-
editor.update(
|
|
123
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
124
124
|
item.name = Name3.make("Compaction");
|
|
125
125
|
item.mode = "primary";
|
|
126
126
|
item.hidden = true;
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("title"), (item) => {
|
|
129
129
|
item.name = Name3.make("Title");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
item.system = PROMPT_TITLE;
|
|
133
133
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
134
134
|
});
|
|
135
|
-
editor.update(
|
|
135
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
136
136
|
item.name = Name3.make("Summary");
|
|
137
137
|
item.mode = "primary";
|
|
138
138
|
item.hidden = true;
|
|
@@ -143,4 +143,4 @@ var Plugin41 = define({
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Plugin12, exports_agent };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service64,
|
|
3
|
+
node68,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-xrzsv9ds.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node64
|
|
9
|
+
} from "./reference-tegs1ycp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./reference-g9s62h09.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-1sb9m88v.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service64, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service20);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node64.replace(Layer.succeed(Service60, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node68.replace(Layer.succeed(Service64, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node6, bound2, exports_instance2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service35,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service35 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service35.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service35, awaitActivation2, exports_service };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-he0vrkkp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-prryrcpd.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event18,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info22,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service72,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node76,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event18 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info22 = Skill.Info;
|
|
43
|
+
var ID12 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
|
-
var
|
|
45
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
47
47
|
const directory = path.dirname(skill.path);
|
|
48
48
|
return [
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service72 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service72.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node76 = makeLocationNode({
|
|
112
|
+
service: Service72,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info22, ID12, Name2, available2, toModelOutput3, prepare3, Service72, node76, exports_skill5, Event18 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-ss358qx3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node66
|
|
4
|
+
} from "./reference-10pc31tr.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-ss358qx3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service61,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node65,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service61 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service62;
|
|
59
|
+
return Service61.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node65 = makeLocationNode({ service: Service61, layer, deps: [node66] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service61, resolved2, node65, exports_model };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-he0vrkkp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service70,
|
|
8
|
+
node74
|
|
9
|
+
} from "./reference-9edtgxtv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node50
|
|
13
|
+
} from "./reference-f43c2727.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service78,
|
|
19
19
|
node82
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-r0xwa5b9.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-h5brs6ad.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-gpp0brcr.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service50,
|
|
36
|
+
Event10,
|
|
37
|
+
node54
|
|
38
|
+
} from "./reference-mp7381ha.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./reference-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service45,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer18,
|
|
53
|
+
node: () => node49,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service45, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service78;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service46;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service70;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service50;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer21 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service45.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service45,
|
|
268
|
+
layer: layer18(options),
|
|
269
|
+
deps: [node50, node87, FSUtil.node, Global.node, node82, node74, node54]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node49 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options5, Service45, Test2, testLayer2, layer18, configured6, node49, exports_config };
|