@opencode/core 0.0.0-dev-20643 → 0.0.0-dev-20648
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-tarna68p.js → pty-0099bvhy.js} +9 -9
- package/dist/chunks/{repository-y1w7bwtd.js → pty-09pca8az.js} +22 -22
- package/dist/chunks/{repository-ntaqe8vs.js → pty-0akqd5d4.js} +24 -24
- package/dist/chunks/{repository-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-41h22fg8.js → pty-0retw3c6.js} +43 -43
- package/dist/chunks/{repository-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-1cw3fj19.js → pty-0y9mdftf.js} +3 -3
- package/dist/chunks/{repository-27bkxtjt.js → pty-0zrv4f4y.js} +13 -13
- package/dist/chunks/{repository-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-q7jxq9y7.js → pty-1nxxv4qb.js} +18 -18
- package/dist/chunks/{repository-mxr1v1s0.js → pty-1p7f10vm.js} +8 -8
- package/dist/chunks/{repository-wnfszx78.js → pty-1qq73t15.js} +10 -10
- package/dist/chunks/{repository-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{repository-1wb0x8n3.js → pty-23897brc.js} +8 -8
- package/dist/chunks/{repository-gry8sgkd.js → pty-27qxacty.js} +15 -15
- package/dist/chunks/{repository-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-9mxexfbd.js → pty-2hpka7mt.js} +14 -14
- package/dist/chunks/{repository-8tsdq50x.js → pty-2k71kv7p.js} +4 -4
- package/dist/chunks/{repository-2k8khapm.js → pty-2k8khapm.js} +1 -1
- package/dist/chunks/{repository-d4he2qe1.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{repository-4z7pkycv.js → pty-2vqnfsz1.js} +19 -19
- package/dist/chunks/{repository-f8tnf7f1.js → pty-32t0bw84.js} +15 -15
- package/dist/chunks/{repository-h2b79v29.js → pty-3cegwx68.js} +2 -2
- package/dist/chunks/{repository-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-ywf1kxhz.js → pty-3z4a0cq1.js} +4 -4
- package/dist/chunks/{repository-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-rk3ekeb4.js → pty-42q8eg0m.js} +5 -5
- package/dist/chunks/{repository-9pymkw0x.js → pty-48km10qy.js} +11 -11
- package/dist/chunks/{repository-cs63tcvs.js → pty-4c91ejxn.js} +9 -9
- package/dist/chunks/{repository-2t9hnq90.js → pty-4kbb9d62.js} +10 -10
- package/dist/chunks/{repository-dbp4m4ge.js → pty-4kc2bv9g.js} +35 -35
- package/dist/chunks/{repository-2ccvkpx1.js → pty-4ts7tf6z.js} +2 -2
- package/dist/chunks/{repository-96ctqc5x.js → pty-4wwqnvbr.js} +4 -4
- package/dist/chunks/{repository-xhv84ab7.js → pty-53ybeb94.js} +28 -28
- package/dist/chunks/{repository-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-h2yw0gk4.js → pty-55t9wqe0.js} +17 -17
- package/dist/chunks/{repository-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-wnh11861.js → pty-5rpr6ftq.js} +15 -15
- package/dist/chunks/{repository-tbs2jyb2.js → pty-5rz2hsq0.js} +7 -7
- package/dist/chunks/{repository-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-fe9ffm0w.js → pty-624z605s.js} +18 -18
- package/dist/chunks/{repository-ecwx0042.js → pty-67edg2p2.js} +15 -15
- package/dist/chunks/{repository-b751st24.js → pty-6fgykvfe.js} +3 -3
- package/dist/chunks/{repository-wb70vhte.js → pty-6pdpv8kk.js} +11 -11
- package/dist/chunks/{repository-5pptr25h.js → pty-6rhsmm9b.js} +4 -4
- package/dist/chunks/{repository-2tyga0yy.js → pty-6tsxpv82.js} +19 -19
- package/dist/chunks/{repository-gkcjs2dn.js → pty-6v23mrsw.js} +11 -11
- package/dist/chunks/{repository-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/pty-7fj5dwt0.js +18 -0
- package/dist/chunks/{repository-b5f9cqb8.js → pty-7pgwfb4h.js} +30 -30
- package/dist/chunks/{repository-vp0q13q8.js → pty-7ppg2tjj.js} +78 -78
- package/dist/chunks/pty-7r9y934d.js +253 -0
- package/dist/chunks/{repository-1dvck2a7.js → pty-84h8c373.js} +2 -2
- package/dist/chunks/{repository-ef2cw19s.js → pty-84pbkp20.js} +12 -12
- package/dist/chunks/{repository-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{repository-j4g697yf.js → pty-874yzzjt.js} +25 -25
- package/dist/chunks/{repository-7c08hygz.js → pty-89rvcjqs.js} +11 -11
- package/dist/chunks/{repository-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-q7ngdz78.js → pty-8j0pg7vy.js} +26 -26
- package/dist/chunks/{repository-fbefb913.js → pty-8jypv1cv.js} +13 -13
- package/dist/chunks/{repository-q1srvr66.js → pty-8k3tzzhw.js} +45 -45
- package/dist/chunks/{repository-a2ew8a62.js → pty-8rqycdgd.js} +7 -7
- package/dist/chunks/{repository-espax8zg.js → pty-8wbxkt1z.js} +4 -4
- package/dist/chunks/{repository-5t80mpw4.js → pty-8yen0vmk.js} +19 -19
- package/dist/chunks/{repository-ve1j3q85.js → pty-923rcr6j.js} +15 -15
- package/dist/chunks/{repository-yfe405ny.js → pty-92n0272q.js} +13 -13
- package/dist/chunks/{repository-z6zb16gf.js → pty-97c348b2.js} +30 -30
- package/dist/chunks/{repository-aqryd466.js → pty-9cfex9y1.js} +22 -22
- package/dist/chunks/{repository-ajh7mqgq.js → pty-9d8x5jdk.js} +32 -32
- package/dist/chunks/{repository-zvjhkatg.js → pty-9ex8f1cq.js} +8 -8
- package/dist/chunks/{repository-ccn600g9.js → pty-9r9wb4j2.js} +11 -11
- package/dist/chunks/{repository-r3c58j5g.js → pty-9rh5dvbx.js} +3 -3
- package/dist/chunks/{repository-9815d8pv.js → pty-9se51ysk.js} +30 -30
- package/dist/chunks/{repository-atwht7h8.js → pty-9tyz0y11.js} +11 -11
- package/dist/chunks/{repository-1bbkgx8g.js → pty-a1gpj94z.js} +3 -3
- package/dist/chunks/{repository-h6c2yg5r.js → pty-a2hf6yb4.js} +8 -8
- package/dist/chunks/{repository-6cfn1t67.js → pty-a2zg833y.js} +11 -11
- package/dist/chunks/{repository-yprc5htm.js → pty-a6syyywt.js} +26 -26
- package/dist/chunks/{repository-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-8jg22brg.js → pty-ab4j4ym1.js} +321 -321
- package/dist/chunks/{repository-f8xdbq78.js → pty-acg7byny.js} +9 -9
- package/dist/chunks/{repository-jnevnthy.js → pty-ad0bmy2v.js} +24 -24
- package/dist/chunks/{repository-8kys6q5k.js → pty-ad0mmn42.js} +9 -9
- package/dist/chunks/{repository-q0cdrezg.js → pty-anfgajne.js} +16 -16
- package/dist/chunks/{repository-j3pg2mx4.js → pty-ap8tz65t.js} +3 -3
- package/dist/chunks/{repository-4344f0hm.js → pty-ay5x7dxy.js} +36 -36
- package/dist/chunks/{repository-66bhq6pp.js → pty-b3jqpnzw.js} +13 -13
- package/dist/chunks/pty-b56sn4ad.js +26 -0
- package/dist/chunks/{repository-3556dn8t.js → pty-b69jv39p.js} +1 -1
- package/dist/chunks/{repository-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-t5483b9c.js → pty-bd8ayshm.js} +4 -4
- package/dist/chunks/{repository-c9vhjpyr.js → pty-bmcex1jf.js} +9 -9
- package/dist/chunks/{repository-t406fhy5.js → pty-bncrevqt.js} +27 -27
- package/dist/chunks/{repository-w5ystqj3.js → pty-bp8hqz04.js} +3 -3
- package/dist/chunks/{repository-f0pfhw3c.js → pty-bt3wk4ae.js} +4 -4
- package/dist/chunks/{repository-w7a2abxy.js → pty-bvjche96.js} +12 -12
- package/dist/chunks/{repository-6x4qebe7.js → pty-bw9phdsx.js} +35 -35
- package/dist/chunks/{repository-j58c5xyq.js → pty-bydnjh3t.js} +9 -9
- package/dist/chunks/{repository-rpp7c75e.js → pty-c04nv0t5.js} +48 -48
- package/dist/chunks/{repository-042aawn8.js → pty-c19p4hyh.js} +23 -23
- package/dist/chunks/{repository-7d05dvcz.js → pty-c8449nhm.js} +11 -11
- package/dist/chunks/{repository-cfsekr6v.js → pty-cfsekr6v.js} +2 -2
- package/dist/chunks/{repository-embw8kgh.js → pty-ckf8nxjz.js} +4 -4
- package/dist/chunks/{repository-p42hj8p8.js → pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{repository-7wnc14t4.js → pty-cq5kxxzs.js} +21 -21
- package/dist/chunks/{repository-5e49akah.js → pty-csn018d7.js} +47 -47
- package/dist/chunks/{repository-5ng375bv.js → pty-ctdhhp9a.js} +30 -30
- package/dist/chunks/{repository-vngdzw63.js → pty-cwtckkf6.js} +8 -8
- package/dist/chunks/{repository-hryrsgw2.js → pty-d036g1ys.js} +7 -7
- package/dist/chunks/{repository-s8v3amej.js → pty-d3mnj8kh.js} +1 -1
- package/dist/chunks/{repository-56a9smke.js → pty-d45sg6xs.js} +16 -16
- package/dist/chunks/{repository-kxam66j6.js → pty-d7jcpxfr.js} +13 -13
- package/dist/chunks/{repository-15q89ad0.js → pty-d7tem15s.js} +15 -15
- package/dist/chunks/{repository-eqh5fpv6.js → pty-d8h4y8x2.js} +11 -11
- package/dist/chunks/{repository-bzadqhw2.js → pty-da3p7k9k.js} +4 -4
- package/dist/chunks/{repository-w6gqnbcy.js → pty-ddy3e1gr.js} +3 -3
- package/dist/chunks/{repository-cb3fgacg.js → pty-dhng9vzx.js} +29 -29
- package/dist/chunks/{repository-5r637m3f.js → pty-dmpsdkb3.js} +49 -49
- package/dist/chunks/{repository-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{repository-g34b934z.js → pty-dppya6f9.js} +22 -22
- package/dist/chunks/{repository-mfct962c.js → pty-dshcjhsp.js} +30 -30
- package/dist/chunks/{repository-5k54pn5m.js → pty-e04nd2rq.js} +10 -10
- package/dist/chunks/{repository-kfj4fg87.js → pty-e3cy6mqt.js} +5 -5
- package/dist/chunks/{repository-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-8hjmwb77.js → pty-efk260vg.js} +13 -13
- package/dist/chunks/{repository-s9nwmxxs.js → pty-ehypbcz6.js} +30 -30
- package/dist/chunks/{repository-8e4wx4g3.js → pty-em95cejf.js} +18 -18
- package/dist/chunks/{repository-zd30eb5w.js → pty-emwywv8g.js} +5 -5
- package/dist/chunks/{repository-c8bydgjz.js → pty-eqkxs06z.js} +6 -6
- package/dist/chunks/{repository-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-azmfd98g.js → pty-ev7nexnv.js} +30 -30
- package/dist/chunks/{repository-7z6z4pna.js → pty-f33yc4k3.js} +21 -21
- package/dist/chunks/{repository-0h1qn0y5.js → pty-f34j0f4a.js} +10 -10
- package/dist/chunks/{repository-71az546q.js → pty-f75zav2x.js} +2 -2
- package/dist/chunks/{repository-00e0wh3q.js → pty-f83zg7kr.js} +24 -24
- package/dist/chunks/{repository-4cw36es0.js → pty-f8m0k53h.js} +9 -9
- package/dist/chunks/{repository-g69c5a8v.js → pty-fggkqnd8.js} +14 -14
- package/dist/chunks/{repository-qv02qg64.js → pty-fv8pqfsd.js} +5 -5
- package/dist/chunks/{repository-ce3pkz8w.js → pty-g3msn0ej.js} +8 -8
- package/dist/chunks/{repository-g5w8qwbj.js → pty-g5w8qwbj.js} +1 -1
- package/dist/chunks/{repository-57myy5jh.js → pty-g6yfr6ja.js} +5 -5
- package/dist/chunks/{repository-djyq2zct.js → pty-g9jfc9ac.js} +17 -17
- package/dist/chunks/{repository-05t95569.js → pty-gap9jj81.js} +18 -18
- package/dist/chunks/{repository-rjsk0n41.js → pty-gb39ghec.js} +9 -9
- package/dist/chunks/{repository-4ege8dpt.js → pty-gbvzc8kx.js} +20 -20
- package/dist/chunks/{repository-qy0n8417.js → pty-gcytf9y4.js} +24 -24
- package/dist/chunks/{repository-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-qne3fa44.js → pty-gj71zhbs.js} +5 -5
- package/dist/chunks/{repository-b3cm3psy.js → pty-gq70b9ca.js} +7 -7
- package/dist/chunks/{repository-ry0xagvq.js → pty-gtmxr1a9.js} +28 -28
- package/dist/chunks/{repository-9yxvhatz.js → pty-gzqsmt5r.js} +4 -4
- package/dist/chunks/{repository-fj3b7143.js → pty-h462srpz.js} +8 -8
- package/dist/chunks/{repository-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-xv90jz4c.js → pty-h921bxg9.js} +11 -11
- package/dist/chunks/{repository-wc5p7jf8.js → pty-hqq5g41y.js} +35 -35
- package/dist/chunks/{repository-6vnaqa0k.js → pty-hsf7jdvw.js} +30 -30
- package/dist/chunks/{repository-my4zabxr.js → pty-hzrfc1p4.js} +3 -3
- package/dist/chunks/{repository-x4k83k5f.js → pty-j17byzzq.js} +11 -11
- package/dist/chunks/{repository-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-k70p9jzb.js → pty-k70p9jzb.js} +2 -2
- package/dist/chunks/{repository-0f0pgr2e.js → pty-k9s9h972.js} +3 -3
- package/dist/chunks/{repository-9e5bzkjp.js → pty-kb9j3d72.js} +3 -3
- package/dist/chunks/{repository-tzy9a5tv.js → pty-kpxf0xq6.js} +22 -22
- package/dist/chunks/{repository-483p8dcw.js → pty-ksx0wd75.js} +11 -11
- package/dist/chunks/{repository-c20khjev.js → pty-kvvk39gs.js} +21 -21
- package/dist/chunks/{repository-1hp58pw3.js → pty-ky8w6whr.js} +6 -6
- package/dist/chunks/{repository-hkgfm0m5.js → pty-kyr1z5gy.js} +24 -24
- package/dist/chunks/{repository-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-5w6ne2rj.js → pty-m5canyms.js} +11 -11
- package/dist/chunks/{repository-s4075y1x.js → pty-m995qhkc.js} +5 -5
- package/dist/chunks/{repository-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-hw3ewgqj.js → pty-mb37bn90.js} +11 -11
- package/dist/chunks/{repository-pkct850y.js → pty-mjex1bph.js} +41 -41
- package/dist/chunks/{repository-hdjgtqrb.js → pty-mjv4r1bw.js} +22 -22
- package/dist/chunks/{repository-m44fkk4m.js → pty-mk442ktg.js} +6 -6
- package/dist/chunks/{repository-tg6e69q8.js → pty-mt3n9ssm.js} +5 -5
- package/dist/chunks/{repository-9mhtj97w.js → pty-mt4678g7.js} +24 -24
- package/dist/chunks/{repository-addxnjmp.js → pty-mxvxcxwy.js} +4 -4
- package/dist/chunks/{repository-qy06s429.js → pty-nanknxd5.js} +13 -13
- package/dist/chunks/{repository-56gyfky0.js → pty-nche7t88.js} +5 -5
- package/dist/chunks/{repository-6r4hjhnf.js → pty-ndphwy30.js} +20 -20
- package/dist/chunks/{repository-1gfgk62c.js → pty-ngts6ef0.js} +8 -8
- package/dist/chunks/{repository-zk46kswf.js → pty-nj17t0gr.js} +14 -14
- package/dist/chunks/{repository-32xj3ztx.js → pty-nkxt7aqy.js} +29 -29
- package/dist/chunks/{repository-8ee403vh.js → pty-nm21rvpv.js} +11 -11
- package/dist/chunks/{repository-h4jx6m0r.js → pty-nxkfy0rg.js} +15 -15
- package/dist/chunks/{repository-pg4zag0e.js → pty-p1a0bpjp.js} +21 -21
- package/dist/chunks/{repository-q76xcmv9.js → pty-p48syh26.js} +16 -16
- package/dist/chunks/{repository-zhwzkc0c.js → pty-p6drkcnf.js} +17 -17
- package/dist/chunks/{repository-y16p1w2y.js → pty-ph20cxtq.js} +8 -8
- package/dist/chunks/{repository-vqkmcgyv.js → pty-phze5rqg.js} +3 -3
- package/dist/chunks/{repository-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-23294nz8.js → pty-pk028k88.js} +26 -26
- package/dist/chunks/{repository-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{repository-2455wr4j.js → pty-pr3txkn9.js} +15 -15
- package/dist/chunks/{repository-68ga000j.js → pty-q0jcpdgf.js} +48 -48
- package/dist/chunks/{repository-0j77ygfz.js → pty-q0xm7vwc.js} +6 -6
- package/dist/chunks/{repository-j2htzqze.js → pty-q581keqr.js} +2 -2
- package/dist/chunks/{repository-yn96zvvk.js → pty-q8zbp1h0.js} +11 -11
- package/dist/chunks/{repository-k37ga4vh.js → pty-qeh1kqdq.js} +8 -8
- package/dist/chunks/{repository-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-h16n41p4.js → pty-qq6e0a1m.js} +25 -25
- package/dist/chunks/{repository-t8n7ymvq.js → pty-qr3e0xf1.js} +6 -6
- package/dist/chunks/{repository-t7y8x8j8.js → pty-qs7m5bs1.js} +13 -13
- package/dist/chunks/{repository-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-jnpqgtt0.js → pty-qtx5aasq.js} +11 -11
- package/dist/chunks/{repository-qxjc9qry.js → pty-qxjc9qry.js} +3 -3
- package/dist/chunks/{repository-yqt58wae.js → pty-r79jpe1g.js} +11 -11
- package/dist/chunks/{repository-1acjjqhc.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{repository-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-mn0942hp.js → pty-rfyh9d2c.js} +14 -14
- package/dist/chunks/{repository-mjqndqed.js → pty-rrpq0de9.js} +5 -5
- package/dist/chunks/{repository-9yaf30yb.js → pty-rtjv9fpq.js} +37 -37
- package/dist/chunks/{repository-2wredcz9.js → pty-rvghhgda.js} +17 -17
- package/dist/chunks/{repository-zyk1yjk8.js → pty-scgrse2b.js} +5 -5
- package/dist/chunks/{repository-16558gs3.js → pty-sf4w6t5k.js} +39 -39
- package/dist/chunks/{repository-pgze7171.js → pty-sm2pca5m.js} +5 -5
- package/dist/chunks/{repository-2m8jawch.js → pty-sqvzcy4n.js} +4 -4
- package/dist/chunks/{repository-6c2ypm1v.js → pty-sv5c54x8.js} +35 -35
- package/dist/chunks/{repository-xpwv3d90.js → pty-t17teb9f.js} +17 -17
- package/dist/chunks/{repository-yf33k1p3.js → pty-t4y1vgnz.js} +24 -24
- package/dist/chunks/{repository-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-vfzczaj5.js → pty-tb7q8jz9.js} +19 -19
- package/dist/chunks/{repository-gc135ar8.js → pty-tc6qcdy5.js} +8 -8
- package/dist/chunks/{repository-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{repository-3cde4f3q.js → pty-thkc5986.js} +8 -8
- package/dist/chunks/{repository-erq8vxjr.js → pty-thrtz6av.js} +3 -3
- package/dist/chunks/{repository-gpng080p.js → pty-tp4ajszw.js} +32 -32
- package/dist/chunks/{repository-d73ss8bd.js → pty-txjh0ez7.js} +20 -20
- package/dist/chunks/{repository-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
- package/dist/chunks/{repository-s8qvywtq.js → pty-v5zgyzx5.js} +14 -14
- package/dist/chunks/{repository-2z7ddzwf.js → pty-v8cctvef.js} +7 -7
- package/dist/chunks/{repository-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-rm4s95e7.js → pty-vgd5xkr1.js} +76 -76
- package/dist/chunks/{repository-drnf6xwf.js → pty-vjjaysxc.js} +2 -2
- package/dist/chunks/{repository-chyvjp63.js → pty-vpxjmme6.js} +12 -12
- package/dist/chunks/{repository-tdpndm1c.js → pty-vxp3kcg3.js} +5 -5
- package/dist/chunks/{repository-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-h6yzxz9r.js → pty-w7qxzhtt.js} +15 -15
- package/dist/chunks/{repository-y6brtjeh.js → pty-wa3vteb6.js} +37 -37
- package/dist/chunks/{repository-mpd66srn.js → pty-wd3qynhg.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{repository-a199weyn.js → pty-wja9eyn5.js} +6 -6
- package/dist/chunks/{repository-89za3yyg.js → pty-wpybfb3e.js} +9 -9
- package/dist/chunks/{repository-t550f9t1.js → pty-wv396vej.js} +8 -8
- package/dist/chunks/{repository-hffth77f.js → pty-x3mar638.js} +179 -179
- package/dist/chunks/{repository-4azg6a58.js → pty-x8t7tj7c.js} +10 -10
- package/dist/chunks/{repository-vdf83yyz.js → pty-xbe8mphx.js} +12 -12
- package/dist/chunks/{repository-jbmm1708.js → pty-xexk5p4t.js} +69 -69
- package/dist/chunks/{repository-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-xmy45d6e.js → pty-xqpfqqd7.js} +23 -23
- package/dist/chunks/{repository-6cdwq03r.js → pty-xvjb85ys.js} +4 -4
- package/dist/chunks/{repository-ya6jwxb4.js → pty-y1202j2k.js} +4 -4
- package/dist/chunks/{repository-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-a2dv4dac.js → pty-y71s8m6t.js} +4 -4
- package/dist/chunks/{repository-cjwramev.js → pty-y8p3zjbc.js} +4 -4
- package/dist/chunks/{repository-fjts330j.js → pty-yac0akaj.js} +5 -5
- package/dist/chunks/{repository-4y69v0zr.js → pty-yas84py3.js} +13 -13
- package/dist/chunks/{repository-65967rh2.js → pty-ykher12f.js} +17 -17
- package/dist/chunks/{repository-4z58m4b4.js → pty-yrcj3v3g.js} +4 -4
- package/dist/chunks/{repository-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-vt8dt6j6.js → pty-z1f2d5px.js} +32 -32
- package/dist/chunks/{repository-2texf5vf.js → pty-z4snssz9.js} +20 -20
- package/dist/chunks/{repository-f6sbv01c.js → pty-zg438qz9.js} +44 -44
- package/dist/chunks/{repository-f0qf0nex.js → pty-zge3vb8x.js} +27 -27
- package/dist/chunks/{repository-t7wcnk30.js → pty-zp1h7pbg.js} +11 -11
- package/dist/chunks/{repository-a6rczh0a.js → pty-zqfdtaf3.js} +42 -42
- package/dist/chunks/{repository-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-etdaqrbr.js → pty-zt18z2tx.js} +32 -32
- package/dist/chunks/{repository-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +119 -119
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +1 -1
- 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 +102 -102
- 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 +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- 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 +76 -76
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +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 +341 -341
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- 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 +87 -87
- package/dist/reference.js +91 -91
- 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 +153 -153
- 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 +214 -214
- 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 +77 -77
- 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 +224 -224
- 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 +87 -87
- 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 +155 -155
- 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 +211 -211
- 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 +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- 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 +208 -208
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +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 +5 -5
- 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 +1 -1
- 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 +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- 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 → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-mxvxcxwy.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-gzqsmt5r.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./pty-ctdhhp9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-dshcjhsp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./pty-9se51ysk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./pty-7pgwfb4h.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-zp1h7pbg.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-m5canyms.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID16
|
|
33
|
+
} from "./pty-f83zg7kr.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./pty-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID12.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service70;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID11.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID11.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID16.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID11.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID11.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./pty-f83zg7kr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info8
|
|
9
|
+
} from "./pty-89rvcjqs.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-xvjb85ys.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service48
|
|
16
|
+
} from "./pty-mjex1bph.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin49
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info8);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin49 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service48;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin20 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID16.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID16.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin49, exports_agent2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gzqsmt5r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./pty-bvjche96.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./pty-q0jcpdgf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin13
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin13 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service42;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin13, exports_command };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-7pgwfb4h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./pty-mjex1bph.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-ky8w6whr.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/local.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -22,7 +22,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
22
22
|
id: input.id,
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
24
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
26
|
const source = { current: configured(yield* config.entries(), input.providerID, origin, suffix) };
|
|
27
27
|
const loaded = { models: [], hash: "[]" };
|
|
28
28
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -50,7 +50,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
50
50
|
for (const item of loaded.models) {
|
|
51
51
|
const spec = input.model(item);
|
|
52
52
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
53
|
-
model.modelID =
|
|
53
|
+
model.modelID = ID10.make(spec.id);
|
|
54
54
|
model.name = spec.name || spec.id;
|
|
55
55
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
56
56
|
model.capabilities = {
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-6fgykvfe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./pty-bvjche96.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service69,
|
|
13
|
+
node72
|
|
14
|
+
} from "./pty-7pgwfb4h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID16,
|
|
17
|
+
Service77,
|
|
18
|
+
node81
|
|
19
|
+
} from "./pty-f83zg7kr.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-wpybfb3e.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-wv396vej.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-yrcj3v3g.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-q8zbp1h0.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service61,
|
|
34
|
+
node64
|
|
35
|
+
} from "./pty-anfgajne.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-dmpsdkb3.js";
|
|
39
39
|
import {
|
|
40
40
|
make15
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./pty-r79jpe1g.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service78,
|
|
44
|
+
node82
|
|
45
|
+
} from "./pty-a6syyywt.js";
|
|
46
46
|
import {
|
|
47
47
|
Service33,
|
|
48
48
|
node37
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./pty-qs7m5bs1.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
54
|
-
import {
|
|
55
|
-
Service40,
|
|
56
|
-
node43
|
|
57
|
-
} from "./repository-cb3fgacg.js";
|
|
51
|
+
Service43,
|
|
52
|
+
node46
|
|
53
|
+
} from "./pty-p1a0bpjp.js";
|
|
58
54
|
import {
|
|
59
55
|
Service39,
|
|
60
56
|
node42
|
|
61
|
-
} from "./
|
|
57
|
+
} from "./pty-dhng9vzx.js";
|
|
62
58
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
59
|
+
Service35,
|
|
60
|
+
node39
|
|
61
|
+
} from "./pty-qq6e0a1m.js";
|
|
66
62
|
import {
|
|
67
|
-
|
|
63
|
+
Service37,
|
|
68
64
|
node41
|
|
69
|
-
} from "./
|
|
70
|
-
import {
|
|
71
|
-
Service32,
|
|
72
|
-
node36
|
|
73
|
-
} from "./repository-ecwx0042.js";
|
|
65
|
+
} from "./pty-d45sg6xs.js";
|
|
74
66
|
import {
|
|
75
67
|
Service34,
|
|
76
68
|
node38
|
|
77
|
-
} from "./
|
|
69
|
+
} from "./pty-09pca8az.js";
|
|
70
|
+
import {
|
|
71
|
+
Service36,
|
|
72
|
+
node40
|
|
73
|
+
} from "./pty-67edg2p2.js";
|
|
78
74
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
75
|
+
Service40,
|
|
76
|
+
node43
|
|
77
|
+
} from "./pty-nkxt7aqy.js";
|
|
78
|
+
import {
|
|
79
|
+
Service58,
|
|
80
|
+
node61
|
|
81
|
+
} from "./pty-yas84py3.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./pty-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service32,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node36
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service32 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
97
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service77;
|
|
99
99
|
const builtins = yield* Service33;
|
|
100
|
-
const model = yield*
|
|
100
|
+
const model = yield* Service69;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
102
|
+
const discovery = yield* Service78;
|
|
103
|
+
const entries = yield* Service36;
|
|
104
|
+
const location = yield* Service80;
|
|
105
|
+
const mcpInstructions = yield* Service35;
|
|
106
|
+
const mcpTools = yield* Service39;
|
|
107
|
+
const models = yield* Service58;
|
|
108
|
+
const request = yield* Service40;
|
|
109
109
|
const referenceInstructions = yield* Service37;
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
110
|
+
const skillInstructions = yield* Service34;
|
|
111
|
+
const store = yield* Service61;
|
|
112
|
+
const registry = yield* Service43;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID16.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service32.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node36 = makeLocationNode({
|
|
195
|
+
service: Service32,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node81,
|
|
199
|
+
node72,
|
|
200
200
|
node88,
|
|
201
201
|
node37,
|
|
202
|
-
node63,
|
|
203
|
-
node36,
|
|
204
202
|
node82,
|
|
203
|
+
node40,
|
|
204
|
+
node84,
|
|
205
|
+
node39,
|
|
205
206
|
node42,
|
|
207
|
+
node41,
|
|
208
|
+
node61,
|
|
206
209
|
node43,
|
|
207
|
-
|
|
208
|
-
node52,
|
|
210
|
+
node64,
|
|
209
211
|
node38,
|
|
210
|
-
|
|
211
|
-
node41,
|
|
212
|
-
node47
|
|
212
|
+
node46
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service32, node36, exports_context };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-hzrfc1p4.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-6fgykvfe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./pty-eqkxs06z.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-7fj5dwt0.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-yrcj3v3g.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-q8zbp1h0.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-nkxt7aqy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service32
|
|
21
|
+
} from "./pty-vgd5xkr1.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service57;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service32;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|