@opencode/core 0.0.0-dev-20725 → 0.0.0-dev-20728
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{instruction-discovery-tneyjf48.js → schema-02g264nc.js} +4 -4
- package/dist/chunks/{instruction-discovery-rzhagf9y.js → schema-04ct73zt.js} +15 -15
- package/dist/chunks/{instruction-discovery-m1y5ga02.js → schema-0ce7fh3z.js} +10 -10
- package/dist/chunks/{instruction-discovery-1cb25qpm.js → schema-0dqvt60g.js} +1 -1
- package/dist/chunks/{instruction-discovery-8xyg3w2m.js → schema-0enxvnkq.js} +13 -13
- package/dist/chunks/{instruction-discovery-0j77ygfz.js → schema-0j77ygfz.js} +2 -2
- package/dist/chunks/{instruction-discovery-fjve5t31.js → schema-0kjv6zqm.js} +3 -3
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-3ja7vgc7.js → schema-0ps91a7a.js} +26 -26
- package/dist/chunks/{instruction-discovery-w49382pb.js → schema-0t9wd588.js} +8 -8
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-dv7jc8dx.js → schema-0y5bnsvv.js} +18 -18
- package/dist/chunks/{instruction-discovery-m47cqq2j.js → schema-174q612y.js} +1 -1
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-shd3tjfd.js → schema-1v4g0mnm.js} +23 -23
- package/dist/chunks/{instruction-discovery-w35vncqw.js → schema-1wn14s7w.js} +15 -15
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → schema-1ygqh575.js} +9 -9
- package/dist/chunks/{instruction-discovery-qdpn0p3b.js → schema-21wwxtv3.js} +11 -11
- package/dist/chunks/{instruction-discovery-xgks750j.js → schema-24xn4nrh.js} +30 -30
- package/dist/chunks/{instruction-discovery-wtbb01vz.js → schema-2663q2cr.js} +17 -17
- package/dist/chunks/{instruction-discovery-a1xkz11p.js → schema-28qgffdg.js} +16 -16
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-g8x52gsw.js → schema-2b5wyz52.js} +11 -11
- package/dist/chunks/{instruction-discovery-2ccvkpx1.js → schema-2ccvkpx1.js} +2 -2
- package/dist/chunks/schema-2hm1ng2y.js +253 -0
- package/dist/chunks/{instruction-discovery-273h6293.js → schema-2hmemtj6.js} +6 -6
- package/dist/chunks/{instruction-discovery-8v7xd1wr.js → schema-2s47eas1.js} +28 -28
- package/dist/chunks/{instruction-discovery-xkyz97qj.js → schema-2zds0nxm.js} +21 -21
- package/dist/chunks/{instruction-discovery-h2b79v29.js → schema-3cegwx68.js} +2 -2
- package/dist/chunks/{instruction-discovery-rhz3ppas.js → schema-3chxap05.js} +8 -8
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/schema-3k6hnjpv.js +507 -0
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-d2y2z992.js → schema-3v4eqn68.js} +10 -10
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-js6dfb5w.js → schema-45y05w21.js} +2 -2
- package/dist/chunks/{instruction-discovery-6qbsjcxz.js → schema-460nts6z.js} +21 -21
- package/dist/chunks/{instruction-discovery-dz9417ry.js → schema-47rn6gb0.js} +6 -6
- package/dist/chunks/{instruction-discovery-z1ectzgg.js → schema-4922bdcs.js} +25 -25
- package/dist/chunks/{instruction-discovery-ked90xm8.js → schema-4erjtqpw.js} +5 -5
- package/dist/chunks/{instruction-discovery-k3tvypcp.js → schema-4n4r02ph.js} +23 -23
- package/dist/chunks/{instruction-discovery-f2trvhwb.js → schema-4qh5k59y.js} +11 -11
- package/dist/chunks/{instruction-discovery-sq5cmb50.js → schema-4vpz4hmt.js} +15 -15
- package/dist/chunks/{instruction-discovery-m5qzdqgg.js → schema-4xr8m0aa.js} +35 -22
- package/dist/chunks/{instruction-discovery-1rn5pcm9.js → schema-4z58m4b4.js} +4 -4
- package/dist/chunks/{instruction-discovery-zsqm7vff.js → schema-4zmcj57q.js} +13 -13
- package/dist/chunks/{instruction-discovery-xfkkasph.js → schema-57b9ws8p.js} +7 -7
- package/dist/chunks/{instruction-discovery-ahqb0ma5.js → schema-5byh5fbq.js} +11 -11
- package/dist/chunks/{instruction-discovery-vtgxp655.js → schema-5epte933.js} +2 -2
- package/dist/chunks/{instruction-discovery-gse2418f.js → schema-5gh2y96e.js} +8 -8
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-w96th336.js → schema-5vnqvhdy.js} +22 -22
- package/dist/chunks/{instruction-discovery-y8c3vgnd.js → schema-5xtbbr0r.js} +16 -16
- package/dist/chunks/{instruction-discovery-p37cw4rj.js → schema-5yzzbxa7.js} +8 -8
- package/dist/chunks/{instruction-discovery-8qhmnsmm.js → schema-69ct9x9k.js} +7 -7
- package/dist/chunks/{instruction-discovery-99xfcv7k.js → schema-6gkjayg0.js} +11 -11
- package/dist/chunks/{instruction-discovery-gvnbcx9f.js → schema-6gvr7rcm.js} +71 -71
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-4sfcqppx.js → schema-6yk1gpns.js} +2 -2
- package/dist/chunks/{instruction-discovery-57myy5jh.js → schema-6yz0wx8n.js} +5 -5
- package/dist/chunks/{instruction-discovery-1j3k7k9d.js → schema-6zaqt7dr.js} +7 -7
- package/dist/chunks/{instruction-discovery-2f3mhj6p.js → schema-78tqvked.js} +8 -8
- package/dist/chunks/{instruction-discovery-d6n2rq0s.js → schema-7bda4q4e.js} +6 -6
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-h4y5xjrc.js → schema-7dcnqvbr.js} +293 -293
- package/dist/chunks/{instruction-discovery-k54318qp.js → schema-7vayj4m5.js} +13 -13
- package/dist/chunks/{instruction-discovery-gqwek975.js → schema-7vyzxw8y.js} +11 -11
- package/dist/chunks/{instruction-discovery-hcx8qsr8.js → schema-7yymr8c1.js} +16 -16
- package/dist/chunks/{instruction-discovery-b41jq38g.js → schema-80gr5d03.js} +11 -11
- package/dist/chunks/{instruction-discovery-a1sz969t.js → schema-82kvrph2.js} +18 -18
- package/dist/chunks/{instruction-discovery-hvy0zjq9.js → schema-840fpbhq.js} +1 -1
- package/dist/chunks/{instruction-discovery-1dvck2a7.js → schema-84h8c373.js} +2 -2
- package/dist/chunks/{instruction-discovery-w1eejvng.js → schema-84txncab.js} +5 -5
- package/dist/chunks/{instruction-discovery-qmvs021c.js → schema-8byxt7bq.js} +138 -138
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-n0hrvkpe.js → schema-8jzt4s7q.js} +34 -34
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-jsfxrkh5.js → schema-8xpvx0xf.js} +24 -24
- package/dist/chunks/{instruction-discovery-0y6tdt34.js → schema-8zv3wp18.js} +25 -25
- package/dist/chunks/{instruction-discovery-b7nzkckh.js → schema-93qeztph.js} +17 -17
- package/dist/chunks/{instruction-discovery-vrxrx1v5.js → schema-9795rgjt.js} +4 -4
- package/dist/chunks/{instruction-discovery-94mc2ky6.js → schema-989f601q.js} +14 -14
- package/dist/chunks/{instruction-discovery-3nkhjpbq.js → schema-9adgdhyd.js} +4 -4
- package/dist/chunks/{instruction-discovery-cna82en0.js → schema-9c0xcsgg.js} +18 -18
- package/dist/chunks/{instruction-discovery-q8c3pb1q.js → schema-9ja4ygxc.js} +21 -21
- package/dist/chunks/{instruction-discovery-s8d7rejh.js → schema-9t7a50xb.js} +4 -4
- package/dist/chunks/{instruction-discovery-52zfrmt1.js → schema-9yrh9n06.js} +1 -1
- package/dist/chunks/{instruction-discovery-eq1pz5kg.js → schema-a1gpj94z.js} +3 -3
- package/dist/chunks/{instruction-discovery-0tec47cr.js → schema-a1jye2k7.js} +8 -8
- package/dist/chunks/{instruction-discovery-ryr25ayn.js → schema-a2ew8a62.js} +4 -4
- package/dist/chunks/{instruction-discovery-knevfgda.js → schema-a3c7ahw6.js} +4 -4
- package/dist/chunks/{instruction-discovery-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-eqbd9z3m.js → schema-abtvfq1n.js} +24 -24
- package/dist/chunks/{instruction-discovery-addxnjmp.js → schema-addxnjmp.js} +1 -1
- package/dist/chunks/{instruction-discovery-gzf0jey7.js → schema-ajbv8hsx.js} +17 -17
- package/dist/chunks/{instruction-discovery-ht7r5zjn.js → schema-aw65rq9m.js} +2 -2
- package/dist/chunks/{instruction-discovery-3vnr3awt.js → schema-b4sr5cxy.js} +4 -4
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-0mk7ebd2.js → schema-b703kh14.js} +4 -4
- package/dist/chunks/{instruction-discovery-kdpmtwd0.js → schema-b7j864yj.js} +26 -26
- package/dist/chunks/{instruction-discovery-1a777xbb.js → schema-bahvtqv2.js} +11 -11
- package/dist/chunks/{instruction-discovery-7ynwestw.js → schema-bghdypt9.js} +7 -7
- package/dist/chunks/{instruction-discovery-ygwzgsmj.js → schema-bn3rhc52.js} +8 -8
- package/dist/chunks/{instruction-discovery-gag4gr43.js → schema-bskqsgt5.js} +11 -11
- package/dist/chunks/{instruction-discovery-b4b58vta.js → schema-bv9672m4.js} +12 -12
- package/dist/chunks/{instruction-discovery-v8dws5ha.js → schema-ca5q3sa4.js} +6 -6
- package/dist/chunks/{instruction-discovery-krrp65g5.js → schema-cb8p393h.js} +2 -2
- package/dist/chunks/{instruction-discovery-qyx604d0.js → schema-crh2qmpd.js} +14 -14
- package/dist/chunks/{instruction-discovery-5d607bsg.js → schema-cwa6csj7.js} +9 -9
- package/dist/chunks/{instruction-discovery-c85sm9p4.js → schema-cznmaky0.js} +25 -25
- package/dist/chunks/{instruction-discovery-fy6pbx2f.js → schema-daptfcmc.js} +18 -18
- package/dist/chunks/{instruction-discovery-6xcvjy28.js → schema-dh0webm5.js} +14 -14
- package/dist/chunks/{instruction-discovery-fqhagtyc.js → schema-dh3p6hwj.js} +21 -21
- package/dist/chunks/{instruction-discovery-nxm207yx.js → schema-dpkg50ah.js} +4 -4
- package/dist/chunks/{instruction-discovery-a13vbfft.js → schema-e9w2ffer.js} +10 -10
- package/dist/chunks/{instruction-discovery-d1ccpy7q.js → schema-eayw6x4j.js} +3 -3
- package/dist/chunks/{instruction-discovery-095fq8r9.js → schema-eday4pdr.js} +40 -40
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-f2mw6jyj.js → schema-efxe2svv.js} +11 -11
- package/dist/chunks/{instruction-discovery-fdjyeynq.js → schema-eqv7r0bw.js} +6 -6
- package/dist/chunks/{instruction-discovery-cr5fdqpw.js → schema-erbnzk8y.js} +45 -45
- package/dist/chunks/{instruction-discovery-2h6dd64w.js → schema-erjffywh.js} +15 -15
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-f17728fj.js → schema-ew7x097j.js} +30 -30
- package/dist/chunks/{instruction-discovery-zgtek2y9.js → schema-f06qsttd.js} +43 -43
- package/dist/chunks/{instruction-discovery-71az546q.js → schema-f75zav2x.js} +2 -2
- package/dist/chunks/{instruction-discovery-zbdjk1jq.js → schema-f9bf6ave.js} +13 -13
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → schema-fcrkznn8.js} +5 -5
- package/dist/chunks/{instruction-discovery-spa4s1dn.js → schema-fg6c7q2e.js} +8 -8
- package/dist/chunks/{instruction-discovery-axs6pdy0.js → schema-fhz5gfgy.js} +5 -5
- package/dist/chunks/{instruction-discovery-5cq1fbn9.js → schema-fjb6gf5c.js} +33 -33
- package/dist/chunks/{instruction-discovery-kfgkevm8.js → schema-ft5semx5.js} +26 -26
- package/dist/chunks/{instruction-discovery-qm7jrdpz.js → schema-g2y161wv.js} +8 -8
- package/dist/chunks/{instruction-discovery-shxd18c6.js → schema-g46t4tqm.js} +10 -10
- package/dist/chunks/{instruction-discovery-ycvydahw.js → schema-g5x9spb3.js} +10 -10
- package/dist/chunks/{instruction-discovery-d5x8dsx5.js → schema-gaphvq12.js} +11 -11
- package/dist/chunks/{instruction-discovery-68wqtz75.js → schema-gd0tnyjc.js} +1 -1
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-sr2dv6dj.js → schema-gva94evv.js} +7 -7
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-my0mhq6c.js → schema-h74kgs22.js} +24 -24
- package/dist/chunks/{instruction-discovery-6azxvrpq.js → schema-hd4remjx.js} +15 -15
- package/dist/chunks/{instruction-discovery-3dhqmxsn.js → schema-hdnjgwej.js} +21 -21
- package/dist/chunks/{instruction-discovery-chrxq3ex.js → schema-hgtd7sxh.js} +18 -18
- package/dist/chunks/{instruction-discovery-4ed0x5yc.js → schema-hk2k4rxs.js} +1 -1
- package/dist/chunks/{instruction-discovery-2vs2nh1n.js → schema-hn57h045.js} +4 -4
- package/dist/chunks/{instruction-discovery-x1ns2rmk.js → schema-hvfbn6et.js} +4 -4
- package/dist/chunks/{instruction-discovery-jah1syx0.js → schema-j1fsx5qw.js} +32 -32
- package/dist/chunks/{instruction-discovery-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-g60p7p49.js → schema-j9hprypc.js} +9 -9
- package/dist/chunks/{instruction-discovery-6gkym5fp.js → schema-jgjgcm7r.js} +4 -4
- package/dist/chunks/{instruction-discovery-dmd82ryh.js → schema-jn24yy65.js} +78 -78
- package/dist/chunks/{instruction-discovery-9408e2ey.js → schema-jsczegrp.js} +14 -14
- package/dist/chunks/{instruction-discovery-9grbqn9y.js → schema-jta96yax.js} +9 -9
- package/dist/chunks/schema-jtr36q24.js +26 -0
- package/dist/chunks/{instruction-discovery-3a83a0n4.js → schema-k1gkpfdk.js} +8 -8
- package/dist/chunks/{instruction-discovery-fba5j9yy.js → schema-k5mqd01k.js} +10 -10
- package/dist/chunks/{instruction-discovery-5bpbs3y8.js → schema-k60d36ch.js} +17 -17
- package/dist/chunks/{instruction-discovery-4wnp65at.js → schema-ka78afm3.js} +7 -7
- package/dist/chunks/{instruction-discovery-xb50yt4b.js → schema-kb6gw2zp.js} +4 -4
- package/dist/chunks/{instruction-discovery-9e5bzkjp.js → schema-kb9j3d72.js} +3 -3
- package/dist/chunks/{instruction-discovery-y2jstp7y.js → schema-kr1ymz84.js} +26 -26
- package/dist/chunks/{instruction-discovery-tn29v157.js → schema-kt27ghqn.js} +5 -5
- package/dist/chunks/{instruction-discovery-14fppf3b.js → schema-kt83d922.js} +13 -13
- package/dist/chunks/{instruction-discovery-pnkbpv6t.js → schema-kvjzkr2v.js} +9 -9
- package/dist/chunks/{instruction-discovery-1kk0y7r1.js → schema-kwa05qgn.js} +13 -13
- package/dist/chunks/{instruction-discovery-j5e03z9p.js → schema-kxhhe7ks.js} +13 -13
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-84xdhjgb.js → schema-m3t9151j.js} +29 -29
- package/dist/chunks/{instruction-discovery-feny6ayn.js → schema-m87mmgzw.js} +27 -27
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-wzbah92y.js → schema-ma3d88bb.js} +30 -30
- package/dist/chunks/{instruction-discovery-fzbgn245.js → schema-mhrxr73y.js} +20 -20
- package/dist/chunks/{instruction-discovery-fghrj984.js → schema-mz7wxez8.js} +20 -20
- package/dist/chunks/{instruction-discovery-6gy81bm0.js → schema-n4pjvd7j.js} +9 -9
- package/dist/chunks/{instruction-discovery-7hnnfp9c.js → schema-n5jf03an.js} +11 -11
- package/dist/chunks/{instruction-discovery-ebxy8v40.js → schema-n7p1k2qf.js} +7 -7
- package/dist/chunks/{instruction-discovery-c01nkytp.js → schema-n8sna2wb.js} +9 -9
- package/dist/chunks/{instruction-discovery-c6s977gm.js → schema-nh510fz3.js} +26 -26
- package/dist/chunks/{instruction-discovery-ej7r9z0m.js → schema-npa44ypb.js} +11 -11
- package/dist/chunks/{instruction-discovery-k4jm2qx2.js → schema-nvmy2keh.js} +4 -4
- package/dist/chunks/{instruction-discovery-xtrrk7k3.js → schema-p8s02wn2.js} +10 -10
- package/dist/chunks/{instruction-discovery-mwgcj3fx.js → schema-pdeqb1sv.js} +9 -9
- package/dist/chunks/schema-pf31ssb9.js +18 -0
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-7ks1423n.js → schema-pm2wwawt.js} +18 -18
- package/dist/chunks/{instruction-discovery-e116hgz1.js → schema-pneb2gse.js} +3 -3
- package/dist/chunks/{instruction-discovery-f94nwnzd.js → schema-ppv2hyee.js} +14 -14
- package/dist/chunks/{instruction-discovery-z8713354.js → schema-pxcy2v4k.js} +4 -4
- package/dist/chunks/{instruction-discovery-wvvb86qc.js → schema-qcy2fs5h.js} +25 -25
- package/dist/chunks/{instruction-discovery-trykadmf.js → schema-qj7nrkn4.js} +21 -21
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-0r3c1bmw.js → schema-qne3fa44.js} +5 -5
- package/dist/chunks/{instruction-discovery-jv5qmp9w.js → schema-qp9vg2jq.js} +2 -2
- package/dist/chunks/{instruction-discovery-a5jrsvab.js → schema-qr2c2ezf.js} +46 -46
- package/dist/chunks/{instruction-discovery-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-qxjc9qry.js → schema-qxjc9qry.js} +3 -3
- package/dist/chunks/{instruction-discovery-v4p3p0ps.js → schema-r71qq8yj.js} +8 -8
- package/dist/chunks/{instruction-discovery-54ma36ye.js → schema-r94pvvab.js} +4 -4
- package/dist/chunks/{instruction-discovery-e3q4ya86.js → schema-r9w3djhf.js} +9 -9
- package/dist/chunks/{instruction-discovery-hj5bkg0c.js → schema-rczq51rp.js} +6 -6
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-wm42kgen.js → schema-rewxngkf.js} +32 -32
- package/dist/chunks/{instruction-discovery-8ghbvaa0.js → schema-rj8ch5sw.js} +8 -8
- package/dist/chunks/{instruction-discovery-02xbtx70.js → schema-rjjkcyvm.js} +42 -42
- package/dist/chunks/{instruction-discovery-m45m4ven.js → schema-rp4sdv0x.js} +3 -3
- package/dist/chunks/{instruction-discovery-qv8c18b1.js → schema-rrpq0de9.js} +5 -5
- package/dist/chunks/{instruction-discovery-qqm50ya3.js → schema-rwv28x5t.js} +3 -3
- package/dist/chunks/{instruction-discovery-esnyhwy5.js → schema-s0y0yn56.js} +6 -6
- package/dist/chunks/{instruction-discovery-qygbw77c.js → schema-scgrse2b.js} +5 -5
- package/dist/chunks/{instruction-discovery-2seb41mk.js → schema-sfwz2x9n.js} +49 -49
- package/dist/chunks/{instruction-discovery-knd4nc5f.js → schema-skeejxkf.js} +11 -11
- package/dist/chunks/{instruction-discovery-sz2337zw.js → schema-snvwhan6.js} +7 -7
- package/dist/chunks/{instruction-discovery-tyzzbzqn.js → schema-sr36t4tg.js} +10 -10
- package/dist/chunks/{instruction-discovery-m2cgbxd0.js → schema-sxmar18p.js} +25 -20
- package/dist/chunks/{instruction-discovery-gybq0q5b.js → schema-t0ghfsqf.js} +33 -33
- package/dist/chunks/{instruction-discovery-ybpa7sx2.js → schema-t58jyhmh.js} +7 -7
- package/dist/chunks/{instruction-discovery-mxvb5adp.js → schema-t5r5qq5q.js} +25 -25
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-24ptn3c0.js → schema-tdhpy44v.js} +42 -46
- package/dist/chunks/{instruction-discovery-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-v0jnr6tg.js → schema-thswf6hg.js} +25 -25
- package/dist/chunks/{instruction-discovery-pr8kmtqq.js → schema-tjpmwyed.js} +3 -3
- package/dist/chunks/{instruction-discovery-nn1ppfgc.js → schema-tjtvkmkx.js} +1 -1
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → schema-v0es1rhs.js} +2 -2
- package/dist/chunks/{instruction-discovery-q08m6yqc.js → schema-v2m3q5y9.js} +9 -9
- package/dist/chunks/{instruction-discovery-r66xghd9.js → schema-vbfgae2j.js} +4 -4
- package/dist/chunks/{instruction-discovery-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-v48grkq5.js → schema-vfynekpt.js} +24 -24
- package/dist/chunks/{instruction-discovery-6rs83x58.js → schema-vqbxe4wk.js} +14 -14
- package/dist/chunks/{instruction-discovery-vqfzq50h.js → schema-vqfzq50h.js} +1 -1
- package/dist/chunks/{instruction-discovery-aavbrgwt.js → schema-vr3aek46.js} +22 -22
- package/dist/chunks/{instruction-discovery-6m42r3np.js → schema-vsp1fds9.js} +4 -4
- package/dist/chunks/{instruction-discovery-8ryk0bb9.js → schema-vykevjvn.js} +5 -5
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-8sze2n9a.js → schema-w92k2e0p.js} +4 -4
- package/dist/chunks/{instruction-discovery-vt3fyw5y.js → schema-w9cms8xc.js} +5 -5
- package/dist/chunks/{instruction-discovery-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-v93t099t.js → schema-wdfmv1rt.js} +31 -31
- package/dist/chunks/{instruction-discovery-tvwj13n0.js → schema-wgqbq6kr.js} +6 -6
- package/dist/chunks/{instruction-discovery-60m87ftc.js → schema-wy3px6vj.js} +17 -17
- package/dist/chunks/{instruction-discovery-3ye70ha2.js → schema-x16rpnsn.js} +6 -6
- package/dist/chunks/{instruction-discovery-p056yhxs.js → schema-xea99qfv.js} +42 -42
- package/dist/chunks/{instruction-discovery-rmnkmmsy.js → schema-xgwtbm8x.js} +82 -82
- package/dist/chunks/{instruction-discovery-dmqcgk4z.js → schema-xkntkrq7.js} +5 -5
- package/dist/chunks/{instruction-discovery-ra8aazcz.js → schema-xm8y3y9s.js} +19 -19
- package/dist/chunks/{instruction-discovery-fdteztds.js → schema-xmgjmham.js} +22 -22
- package/dist/chunks/{instruction-discovery-4bh92p7n.js → schema-xr03j6kv.js} +49 -49
- package/dist/chunks/{instruction-discovery-mkamd2cf.js → schema-xzgm84yq.js} +3 -3
- package/dist/chunks/{instruction-discovery-xy7nxqqh.js → schema-y10cx7wx.js} +25 -25
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-38vxzh90.js → schema-y415rrbf.js} +33 -33
- package/dist/chunks/{instruction-discovery-qzka7dgq.js → schema-y70rs0tm.js} +36 -36
- package/dist/chunks/{instruction-discovery-k9gzbdyr.js → schema-yd8mzne0.js} +19 -19
- package/dist/chunks/{instruction-discovery-nfw5wevp.js → schema-yh1w7tjp.js} +9 -9
- package/dist/chunks/{instruction-discovery-zfs8ae4p.js → schema-ykt494b9.js} +4 -4
- package/dist/chunks/{instruction-discovery-kcy9dg9d.js → schema-ymaah0de.js} +20 -20
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
- package/dist/chunks/{instruction-discovery-5zezd1p9.js → schema-yp66jxhs.js} +9 -9
- package/dist/chunks/{instruction-discovery-d19zb9v6.js → schema-ytk7n60r.js} +31 -31
- package/dist/chunks/{instruction-discovery-pmm1qj4p.js → schema-yv6pefj2.js} +14 -14
- package/dist/chunks/{instruction-discovery-wyt7mtfs.js → schema-ywmq76e1.js} +17 -17
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-xspa99bm.js → schema-z208n99h.js} +13 -13
- package/dist/chunks/{instruction-discovery-1z87ab07.js → schema-z7rpvhac.js} +11 -11
- package/dist/chunks/{instruction-discovery-cvwz8r7d.js → schema-zf5859yh.js} +27 -27
- package/dist/chunks/{instruction-discovery-kn5t47nc.js → schema-zn1w914b.js} +13 -13
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-d815wfjk.js → schema-zs20n4td.js} +10 -10
- package/dist/chunks/{instruction-discovery-chqzd9wq.js → schema-zs6nm7rs.js} +11 -11
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +78 -78
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +90 -90
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +206 -206
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/wellknown.d.ts +3 -0
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-02n47b9r.js +0 -507
- package/dist/chunks/instruction-discovery-d507n1ar.js +0 -253
- package/dist/chunks/instruction-discovery-gyce5qg1.js +0 -18
- package/dist/chunks/instruction-discovery-r54jadsm.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e3qxr5gk.js → schema-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-rp4sdv0x.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-02g264nc.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-5epte933.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-kb9j3d72.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service39,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node41,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service39 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service39, make17());
|
|
231
|
+
var node41 = makeGlobalNode({ service: Service39, layer: layer16, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make17, layer16, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-w9cms8xc.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./schema-tdhpy44v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./schema-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin26
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin26 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service71;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin9 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin26, exports_location_watcher };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service76
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-7dcnqvbr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./schema-tdhpy44v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service71);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-cb8p393h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./schema-erjffywh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./schema-5xtbbr0r.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./schema-2663q2cr.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin40,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin40 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin30 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent3 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name6, Input6, Plugin40, toModelContent3, exports_read };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available3,
|
|
11
|
+
Service64,
|
|
12
|
+
node68
|
|
13
|
+
} from "./schema-nh510fz3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service22,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
23
|
node: () => node26
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID7,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service22 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service64;
|
|
67
|
+
return Service22.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
70
|
-
return
|
|
69
|
+
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
+
return make22({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var node26 = makeLocationNode({ service:
|
|
83
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [node68] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service22, node26, exports_instructions3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info13 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-5epte933.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-rp4sdv0x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-02g264nc.js";
|
|
9
9
|
import {
|
|
10
10
|
Service41,
|
|
11
11
|
node43
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-vqfzq50h.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-78tqvked.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-cb8p393h.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service60,
|
|
26
|
+
node63
|
|
27
|
+
} from "./schema-jta96yax.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./schema-47rn6gb0.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service38
|
|
39
|
+
} from "./schema-hn57h045.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service66,
|
|
42
|
+
node70
|
|
43
|
+
} from "./schema-yv6pefj2.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service39,
|
|
48
|
+
node41,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./schema-pm2wwawt.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service37,
|
|
53
|
+
node40
|
|
54
|
+
} from "./schema-wdfmv1rt.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node22
|
|
57
|
+
} from "./schema-daptfcmc.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./schema-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service18,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node21
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service18 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service81;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
92
|
+
const locations = yield* Service60;
|
|
93
|
+
const store = yield* Service66;
|
|
94
|
+
const execution = yield* Service37;
|
|
95
95
|
const instances = yield* Service41;
|
|
96
|
-
const admission = yield*
|
|
96
|
+
const admission = yield* Service39;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service18.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node21 = makeGlobalNode({
|
|
167
|
+
service: Service18,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node85,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
node63,
|
|
174
|
+
node70,
|
|
175
|
+
node40,
|
|
176
176
|
node43,
|
|
177
|
-
|
|
177
|
+
node41,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node22
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node21, exports_move };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|