@opencode/core 0.0.0-dev-20841 → 0.0.0-dev-20844
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-rhjbct0v.js → formatter-02nrjc1r.js} +6 -6
- package/dist/chunks/{instruction-discovery-e0pxcnmw.js → formatter-0gqjtaj7.js} +8 -8
- package/dist/chunks/{instruction-discovery-1qs5jxd8.js → formatter-0n6pyt17.js} +15 -15
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-adejxgct.js → formatter-0r53015b.js} +15 -15
- package/dist/chunks/{instruction-discovery-nvakrpsp.js → formatter-0tkpsk1a.js} +11 -11
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-85z0h67f.js → formatter-110tzrbd.js} +16 -16
- package/dist/chunks/{instruction-discovery-qyjj4w9t.js → formatter-170ybnr4.js} +13 -13
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → formatter-1acjjqhc.js} +4 -4
- package/dist/chunks/{instruction-discovery-xkfm5vcm.js → formatter-1bb8svhn.js} +2 -2
- package/dist/chunks/{instruction-discovery-jpen4qdf.js → formatter-1eyvf6d7.js} +5 -5
- package/dist/chunks/{instruction-discovery-r70na3yp.js → formatter-1jdt266a.js} +9 -9
- package/dist/chunks/{instruction-discovery-j47qf441.js → formatter-1v1jz88t.js} +18 -18
- package/dist/chunks/{instruction-discovery-fng9jkm1.js → formatter-1x7hg506.js} +9 -9
- package/dist/chunks/{instruction-discovery-71dzwqxr.js → formatter-1ynav5f4.js} +46 -46
- package/dist/chunks/{instruction-discovery-g678yp76.js → formatter-21pyz670.js} +18 -18
- package/dist/chunks/{instruction-discovery-7nazv9sg.js → formatter-2bzq2pzg.js} +18 -18
- package/dist/chunks/{instruction-discovery-4a0nv7mx.js → formatter-2eegacq4.js} +8 -8
- package/dist/chunks/{instruction-discovery-hay4m1s6.js → formatter-2map9xty.js} +50 -50
- package/dist/chunks/{instruction-discovery-xacpwdh9.js → formatter-2r93mh4x.js} +8 -8
- package/dist/chunks/{instruction-discovery-2vvh33eb.js → formatter-2vvh33eb.js} +2 -2
- package/dist/chunks/{instruction-discovery-18tb8vc6.js → formatter-304591gr.js} +11 -11
- package/dist/chunks/{instruction-discovery-2c7hjkzv.js → formatter-3d4ymmg4.js} +11 -11
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-2vr7dket.js → formatter-3h470ew9.js} +5 -5
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instruction-discovery-ereph1h9.js → formatter-3jvh5386.js} +15 -15
- package/dist/chunks/{instruction-discovery-1th27d95.js → formatter-3kmz1s9n.js} +16 -16
- package/dist/chunks/{instruction-discovery-vrzt526f.js → formatter-3n40wvxh.js} +5 -5
- package/dist/chunks/{instruction-discovery-nqxj0yn4.js → formatter-3nz0bd4c.js} +2 -2
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-r2a2vjc6.js → formatter-3vztebqd.js} +43 -43
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-ykmz0d95.js → formatter-42dw4rvm.js} +5 -5
- package/dist/chunks/{instruction-discovery-mnv9vkrs.js → formatter-4g61n2kp.js} +3 -3
- package/dist/chunks/{instruction-discovery-5dkn69vz.js → formatter-4j4tgtq5.js} +4 -4
- package/dist/chunks/{instruction-discovery-dx2h6xhc.js → formatter-4kn8dehn.js} +24 -24
- package/dist/chunks/{instruction-discovery-janq1scx.js → formatter-4n2jdprc.js} +4 -4
- package/dist/chunks/{instruction-discovery-arz7hw7x.js → formatter-4pa8nav4.js} +3 -3
- package/dist/chunks/{instruction-discovery-2ccvkpx1.js → formatter-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instruction-discovery-4xpgt2w9.js → formatter-4xpgt2w9.js} +2 -2
- package/dist/chunks/{instruction-discovery-5a9zf81m.js → formatter-4yw1fbgd.js} +22 -22
- package/dist/chunks/{instruction-discovery-zest4r3s.js → formatter-521cwzmq.js} +25 -25
- package/dist/chunks/{instruction-discovery-p097c2sx.js → formatter-53c3sv1q.js} +14 -14
- package/dist/chunks/{instruction-discovery-54ma36ye.js → formatter-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-b9srm8rz.js → formatter-5fp7te4b.js} +11 -11
- package/dist/chunks/{instruction-discovery-ts8qfj50.js → formatter-5jvkmg6a.js} +4 -4
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-e3qxr5gk.js → formatter-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instruction-discovery-q78nszrx.js → formatter-63jakaer.js} +33 -33
- package/dist/chunks/{instruction-discovery-c8ses4bc.js → formatter-63mfsvgx.js} +13 -13
- package/dist/chunks/{instruction-discovery-xqt608y9.js → formatter-68vnzynb.js} +29 -29
- package/dist/chunks/{instruction-discovery-jgbvdr9r.js → formatter-6bc1jehr.js} +6 -6
- package/dist/chunks/{instruction-discovery-d15wnv4q.js → formatter-6q1fk26j.js} +13 -13
- package/dist/chunks/{instruction-discovery-x7bx6zs0.js → formatter-6q31t9jv.js} +10 -10
- package/dist/chunks/{instruction-discovery-048wpaqz.js → formatter-6r6hnsnp.js} +3 -3
- package/dist/chunks/{instruction-discovery-h4ps1sgr.js → formatter-6v9y8yth.js} +3 -3
- package/dist/chunks/{instruction-discovery-ky9vbweg.js → formatter-6w9p5n85.js} +25 -25
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-2hqksm5k.js → formatter-7bvz2z4q.js} +3 -3
- package/dist/chunks/{instruction-discovery-pznx5chc.js → formatter-7epx4byg.js} +19 -19
- package/dist/chunks/formatter-7fj5dwt0.js +18 -0
- package/dist/chunks/{instruction-discovery-mkkx2xvk.js → formatter-7khzse4r.js} +29 -29
- package/dist/chunks/{instruction-discovery-eq08xn2q.js → formatter-7npw7b4f.js} +12 -12
- package/dist/chunks/{instruction-discovery-ch67yd34.js → formatter-7qqs174k.js} +9 -9
- package/dist/chunks/{instruction-discovery-2jtaszgg.js → formatter-84sp9v26.js} +8 -8
- package/dist/chunks/{instruction-discovery-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-g6187q27.js → formatter-89e7he8k.js} +30 -30
- package/dist/chunks/{instruction-discovery-vz2yvhh5.js → formatter-8kwptkep.js} +16 -16
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-sm4j4wt5.js → formatter-8mrxmbmj.js} +12 -12
- package/dist/chunks/{instruction-discovery-h11z96pq.js → formatter-8pvjw1yk.js} +11 -11
- package/dist/chunks/{instruction-discovery-ne89875c.js → formatter-90j3xnb1.js} +16 -16
- package/dist/chunks/{instruction-discovery-91qna3x0.js → formatter-91qna3x0.js} +3 -3
- package/dist/chunks/{instruction-discovery-1j6m29mr.js → formatter-97aeaand.js} +9 -9
- package/dist/chunks/{instruction-discovery-nbyj5sqq.js → formatter-9a161wge.js} +82 -82
- package/dist/chunks/{instruction-discovery-na4dcjrg.js → formatter-9dekqje7.js} +26 -26
- package/dist/chunks/{instruction-discovery-b4s8ej7r.js → formatter-9jzp6rtr.js} +9 -9
- package/dist/chunks/{instruction-discovery-njm3x30h.js → formatter-9n3fm182.js} +80 -80
- package/dist/chunks/{instruction-discovery-988cxgr8.js → formatter-9npt1895.js} +10 -10
- package/dist/chunks/{instruction-discovery-j6a2evck.js → formatter-aa0aqb92.js} +18 -18
- package/dist/chunks/{instruction-discovery-n3jw88fx.js → formatter-acwtfcp6.js} +9 -9
- package/dist/chunks/{instruction-discovery-mf2nfva2.js → formatter-advpk7k7.js} +20 -20
- package/dist/chunks/{instruction-discovery-d3sk2mbt.js → formatter-ae2ebvqc.js} +15 -15
- package/dist/chunks/{instruction-discovery-dzdcg5g9.js → formatter-ah1t0cbz.js} +11 -11
- package/dist/chunks/{instruction-discovery-pwpq1fb6.js → formatter-aptsrnfj.js} +17 -17
- package/dist/chunks/{instruction-discovery-26n2nh92.js → formatter-ax2n58t8.js} +3 -3
- package/dist/chunks/{instruction-discovery-d5fxhgcy.js → formatter-b34d37jx.js} +11 -11
- package/dist/chunks/{instruction-discovery-z6c3x22d.js → formatter-b674v2dg.js} +5 -5
- package/dist/chunks/{instruction-discovery-rb0m5pb6.js → formatter-bfj99pj9.js} +24 -24
- package/dist/chunks/{instruction-discovery-y8ptd9jv.js → formatter-bj587msa.js} +30 -30
- package/dist/chunks/{instruction-discovery-svysebdv.js → formatter-bjsqrap1.js} +163 -163
- package/dist/chunks/{instruction-discovery-gcqzh3f4.js → formatter-bpeqk324.js} +22 -22
- package/dist/chunks/{instruction-discovery-j34bs4nz.js → formatter-btbmdjwj.js} +4 -4
- package/dist/chunks/{instruction-discovery-2jb6nwe1.js → formatter-c1fmzc09.js} +4 -4
- package/dist/chunks/{instruction-discovery-afz809yg.js → formatter-c2rqg8ey.js} +17 -17
- package/dist/chunks/{instruction-discovery-c41wscbt.js → formatter-c41wscbt.js} +2 -2
- package/dist/chunks/{instruction-discovery-djszqvmq.js → formatter-c765mh8b.js} +9 -9
- package/dist/chunks/{instruction-discovery-1j9vsfxy.js → formatter-c7vpsa26.js} +13 -13
- package/dist/chunks/{instruction-discovery-c8ax2afj.js → formatter-c8ax2afj.js} +2 -2
- package/dist/chunks/{instruction-discovery-pw6jj9n3.js → formatter-c8cf3kt2.js} +15 -15
- package/dist/chunks/{instruction-discovery-b6qa6035.js → formatter-c8hpe9t1.js} +34 -34
- package/dist/chunks/{instruction-discovery-97y7hxer.js → formatter-ccrb4wds.js} +4 -4
- package/dist/chunks/{instruction-discovery-cmwkp3r5.js → formatter-cmwkp3r5.js} +1 -1
- package/dist/chunks/{instruction-discovery-81gd8ewx.js → formatter-cvavr63d.js} +24 -24
- package/dist/chunks/{instruction-discovery-s9bfrye6.js → formatter-cyejtnng.js} +59 -59
- package/dist/chunks/{instruction-discovery-eefd4g5w.js → formatter-d0da1tm4.js} +5 -5
- package/dist/chunks/{instruction-discovery-qa3qhgw8.js → formatter-d216944b.js} +7 -7
- package/dist/chunks/{instruction-discovery-vt28d6rb.js → formatter-d2x3fvxy.js} +20 -20
- package/dist/chunks/{instruction-discovery-58ytqwj2.js → formatter-d4j44yz6.js} +7 -7
- package/dist/chunks/{instruction-discovery-zkskjjqs.js → formatter-d55kms0x.js} +26 -26
- package/dist/chunks/formatter-d6n2v97e.js +26 -0
- package/dist/chunks/{instruction-discovery-z4dcjezs.js → formatter-db8hvn5r.js} +11 -11
- package/dist/chunks/{instruction-discovery-tvmrjeqd.js → formatter-dmd4mak0.js} +12 -12
- package/dist/chunks/{instruction-discovery-2ewrd21j.js → formatter-dn7ywjh2.js} +11 -11
- package/dist/chunks/{instruction-discovery-jvx148y3.js → formatter-dwg0wzat.js} +11 -11
- package/dist/chunks/{instruction-discovery-3dytr8s2.js → formatter-e3m5w1sy.js} +20 -20
- package/dist/chunks/{instruction-discovery-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-4swz1dz7.js → formatter-enarwepj.js} +11 -11
- package/dist/chunks/{instruction-discovery-vw6bdczd.js → formatter-ep1yn424.js} +5 -5
- package/dist/chunks/{instruction-discovery-ph842b28.js → formatter-ermxvwhp.js} +4 -4
- package/dist/chunks/{instruction-discovery-es1vcfrp.js → formatter-es1vcfrp.js} +3 -3
- package/dist/chunks/{instruction-discovery-gjqhxvm8.js → formatter-exsq973e.js} +17 -17
- package/dist/chunks/{instruction-discovery-0bs9zzzx.js → formatter-ez1f3vwt.js} +11 -11
- package/dist/chunks/{instruction-discovery-2k8khapm.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{instruction-discovery-zamq423t.js → formatter-fdmyxeta.js} +1 -1
- package/dist/chunks/{instruction-discovery-2san2fa0.js → formatter-fgbx85dz.js} +21 -21
- package/dist/chunks/{instruction-discovery-ezzmrcry.js → formatter-fk8kczgx.js} +28 -28
- package/dist/chunks/{instruction-discovery-88qvqy1e.js → formatter-fr7ck4vq.js} +14 -14
- package/dist/chunks/{instruction-discovery-fz79ktw5.js → formatter-gc2evk3x.js} +5 -5
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-8evda89h.js → formatter-gdmg7y7w.js} +29 -29
- package/dist/chunks/{instruction-discovery-7vsab7jg.js → formatter-gf1n7vvt.js} +4 -4
- package/dist/chunks/{instruction-discovery-tqenhx9q.js → formatter-gfzqzyz0.js} +6 -6
- package/dist/chunks/{instruction-discovery-xcd0eash.js → formatter-gjmk74th.js} +5 -5
- package/dist/chunks/{instruction-discovery-gk8qb678.js → formatter-gk8qb678.js} +1 -1
- package/dist/chunks/{instruction-discovery-1sc6p60b.js → formatter-gm3mawps.js} +6 -6
- package/dist/chunks/{instruction-discovery-z5hqtv59.js → formatter-gzeebjq4.js} +7 -7
- package/dist/chunks/{instruction-discovery-5hj7q0js.js → formatter-h1fz3f88.js} +9 -9
- package/dist/chunks/{instruction-discovery-qms70dv9.js → formatter-h3wbh357.js} +3 -3
- package/dist/chunks/{instruction-discovery-fykx5zb5.js → formatter-h5941s2r.js} +36 -36
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-h7s7r6s9.js → formatter-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instruction-discovery-hw2yy5aw.js → formatter-hd823ygp.js} +11 -11
- package/dist/chunks/{instruction-discovery-qgezrw5d.js → formatter-hd88bjr2.js} +22 -22
- package/dist/chunks/{instruction-discovery-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instruction-discovery-38mem431.js → formatter-hk61fc81.js} +31 -31
- package/dist/chunks/formatter-hvnp0mny.js +513 -0
- package/dist/chunks/{instruction-discovery-vezvtjyv.js → formatter-hy1va3t8.js} +11 -11
- package/dist/chunks/{instruction-discovery-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-j4c2xja6.js → formatter-j65a6egm.js} +13 -13
- package/dist/chunks/{instruction-discovery-wpemy600.js → formatter-j9vw60gp.js} +3 -3
- package/dist/chunks/{instruction-discovery-5r4v0xwy.js → formatter-jcp3whqs.js} +11 -11
- package/dist/chunks/{instruction-discovery-w96a8yrh.js → formatter-jpar7rgf.js} +11 -11
- package/dist/chunks/{instruction-discovery-350x23wf.js → formatter-jppqdx2t.js} +9 -9
- package/dist/chunks/{instruction-discovery-5qec7rge.js → formatter-jt9p6a1k.js} +5 -5
- package/dist/chunks/{instruction-discovery-n3aya5hh.js → formatter-jvhh335a.js} +28 -28
- package/dist/chunks/{instruction-discovery-1p07q0wb.js → formatter-jws6fkes.js} +6 -6
- package/dist/chunks/{instruction-discovery-xz5716ww.js → formatter-k573dvp0.js} +28 -28
- package/dist/chunks/{instruction-discovery-7np5bmja.js → formatter-kb20khyt.js} +42 -42
- package/dist/chunks/{instruction-discovery-khmqacep.js → formatter-khmqacep.js} +1 -1
- package/dist/chunks/formatter-kqgdmvde.js +253 -0
- package/dist/chunks/{instruction-discovery-yh9g6p3v.js → formatter-kt03xgs8.js} +42 -42
- package/dist/chunks/{instruction-discovery-ewk422xx.js → formatter-kx7rxa1b.js} +14 -14
- package/dist/chunks/{instruction-discovery-9jcxats4.js → formatter-m00031xg.js} +43 -43
- package/dist/chunks/{instruction-discovery-zmbx7t07.js → formatter-m5rzs9kv.js} +46 -46
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-vhjwdtv8.js → formatter-mjgetwmq.js} +45 -45
- package/dist/chunks/{instruction-discovery-xzdfrpe2.js → formatter-mnrb0wvm.js} +26 -26
- package/dist/chunks/{instruction-discovery-4r59zyn6.js → formatter-mw6z6saw.js} +23 -23
- package/dist/chunks/{instruction-discovery-0cz3jc0p.js → formatter-n3zkspvb.js} +8 -8
- package/dist/chunks/{instruction-discovery-x5wrmng7.js → formatter-n61013np.js} +11 -11
- package/dist/chunks/{instruction-discovery-rwbpmje9.js → formatter-n6x4mcww.js} +18 -18
- package/dist/chunks/{instruction-discovery-yztevfhp.js → formatter-n97r6b1p.js} +20 -20
- package/dist/chunks/{instruction-discovery-aahhmcvt.js → formatter-n9a6feh5.js} +32 -32
- package/dist/chunks/{instruction-discovery-r75v65gt.js → formatter-ngdfe2fc.js} +5 -5
- package/dist/chunks/{instruction-discovery-dhhqcq64.js → formatter-nnh9ekd1.js} +10 -10
- package/dist/chunks/{instruction-discovery-y147vcw1.js → formatter-p4qrnvy6.js} +15 -15
- package/dist/chunks/{instruction-discovery-sddgd5f8.js → formatter-p66tndhm.js} +20 -20
- package/dist/chunks/{instruction-discovery-bt2dtkh7.js → formatter-p69x1384.js} +15 -15
- package/dist/chunks/{instruction-discovery-y1qj9qp6.js → formatter-p95p47f2.js} +31 -31
- package/dist/chunks/{instruction-discovery-yeyrdzm0.js → formatter-pfw33rzy.js} +24 -24
- package/dist/chunks/{instruction-discovery-xk3qqngr.js → formatter-pfzs8f4y.js} +9 -9
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-vky023fh.js → formatter-pwct3qgt.js} +4 -4
- package/dist/chunks/{instruction-discovery-fqp3mcfq.js → formatter-pxwtvwnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-0j77ygfz.js → formatter-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instruction-discovery-kppw7hr6.js → formatter-q253zft2.js} +11 -11
- package/dist/chunks/{instruction-discovery-ketq9gmb.js → formatter-qb5fy139.js} +8 -8
- package/dist/chunks/{instruction-discovery-ggsp0fny.js → formatter-qhcjrbh9.js} +11 -11
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-57b9ws8p.js → formatter-qqeeq2t9.js} +4 -4
- package/dist/chunks/{instruction-discovery-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-rtbh45rc.js → formatter-r1cvadwr.js} +12 -12
- package/dist/chunks/{instruction-discovery-wp8sj255.js → formatter-r24bhee7.js} +22 -22
- package/dist/chunks/{instruction-discovery-nzbbc5k0.js → formatter-r5h8n489.js} +7 -7
- package/dist/chunks/{instruction-discovery-yc7106p4.js → formatter-razkkmbj.js} +20 -20
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-ksqr7yfe.js → formatter-refxa0t0.js} +7 -7
- package/dist/chunks/{instruction-discovery-c5w8pbd1.js → formatter-rk5tjb03.js} +14 -14
- package/dist/chunks/{instruction-discovery-9w9w77gc.js → formatter-rtxeq7sf.js} +22 -22
- package/dist/chunks/{instruction-discovery-4w7gm2tt.js → formatter-rvzmyzm1.js} +20 -20
- package/dist/chunks/{instruction-discovery-5fa8zajf.js → formatter-ryccahdk.js} +15 -15
- package/dist/chunks/{instruction-discovery-ssgq4v3h.js → formatter-s41hc7hx.js} +18 -18
- package/dist/chunks/{instruction-discovery-5pbz2dd0.js → formatter-s57gzy7f.js} +4 -4
- package/dist/chunks/{instruction-discovery-dtqg9ce1.js → formatter-sfkj0ta1.js} +5 -5
- package/dist/chunks/{instruction-discovery-e80seqcp.js → formatter-sxcaecc0.js} +3 -3
- package/dist/chunks/{instruction-discovery-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{instruction-discovery-h4y0jjzh.js → formatter-t0p0w3g9.js} +20 -20
- package/dist/chunks/{instruction-discovery-wr0v3f2s.js → formatter-t4ngctge.js} +32 -32
- package/dist/chunks/{instruction-discovery-zp551mt7.js → formatter-t4pgss7x.js} +34 -34
- package/dist/chunks/{instruction-discovery-548fqp7q.js → formatter-ta4r65qv.js} +8 -8
- package/dist/chunks/{instruction-discovery-h04zhhvt.js → formatter-tat11k01.js} +9 -9
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wwyp4jt6.js → formatter-tbk04f64.js} +26 -26
- package/dist/chunks/{instruction-discovery-99rzeaw0.js → formatter-tbycc2hz.js} +8 -8
- package/dist/chunks/{instruction-discovery-q17sgkmf.js → formatter-tc000skt.js} +13 -13
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-wt4s349c.js → formatter-tk2nybwj.js} +22 -22
- package/dist/chunks/{instruction-discovery-tkb22qbm.js → formatter-tkb22qbm.js} +2 -2
- package/dist/chunks/{instruction-discovery-tym1zfxs.js → formatter-tmbn7gcx.js} +9 -9
- package/dist/chunks/{instruction-discovery-wnk72qpq.js → formatter-tmvn36x1.js} +8 -8
- package/dist/chunks/{instruction-discovery-204e7tx6.js → formatter-trr7bxs1.js} +13 -13
- package/dist/chunks/{instruction-discovery-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{instruction-discovery-gq58s3m0.js → formatter-tzsvtse1.js} +25 -25
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → formatter-v0es1rhs.js} +2 -2
- package/dist/chunks/{instruction-discovery-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instruction-discovery-sp61bypy.js → formatter-vc3r2ec9.js} +19 -19
- package/dist/chunks/{instruction-discovery-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-b6syrwy2.js → formatter-vgx6weyf.js} +8 -8
- package/dist/chunks/{instruction-discovery-d9kdwp41.js → formatter-vn11bvqc.js} +8 -8
- package/dist/chunks/{instruction-discovery-k2xcv0kf.js → formatter-vtk244ca.js} +12 -12
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-z2qawcf3.js → formatter-wcqpwpqs.js} +12 -12
- package/dist/chunks/{instruction-discovery-terdh6tz.js → formatter-wct31cks.js} +41 -41
- package/dist/chunks/{instruction-discovery-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-wf98qgyv.js → formatter-wee432v1.js} +18 -18
- package/dist/chunks/{instruction-discovery-bjx1sjef.js → formatter-wjr9rjd7.js} +6 -6
- package/dist/chunks/{instruction-discovery-mbkrq27a.js → formatter-wnkeg6nb.js} +8 -8
- package/dist/chunks/{instruction-discovery-wby3r2te.js → formatter-wpswfpkw.js} +11 -11
- package/dist/chunks/{instruction-discovery-2j1vbg91.js → formatter-wrhpknam.js} +34 -34
- package/dist/chunks/{instruction-discovery-7yw2sx3r.js → formatter-wsacapk7.js} +6 -6
- package/dist/chunks/{instruction-discovery-2ryng5r3.js → formatter-wte75qjz.js} +4 -4
- package/dist/chunks/{instruction-discovery-7dpqhkm4.js → formatter-x1xxp7pr.js} +69 -69
- package/dist/chunks/{instruction-discovery-171zjyze.js → formatter-x42b0rq9.js} +31 -31
- package/dist/chunks/{instruction-discovery-ksek9mqj.js → formatter-x6zpjsfk.js} +35 -35
- package/dist/chunks/{instruction-discovery-j9ysnh0t.js → formatter-xn8fmk94.js} +19 -19
- package/dist/chunks/{instruction-discovery-jhdf29st.js → formatter-xt4njr3s.js} +1 -1
- package/dist/chunks/{instruction-discovery-yng1p9nw.js → formatter-xweqhgzj.js} +9 -9
- package/dist/chunks/{instruction-discovery-0qwsa8cf.js → formatter-xyg64hc1.js} +13 -13
- package/dist/chunks/{instruction-discovery-v8pa3zp8.js → formatter-xz2e5smm.js} +18 -18
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-byr661vw.js → formatter-y1zhptrh.js} +13 -13
- package/dist/chunks/{instruction-discovery-ge2q9s3y.js → formatter-y3gx830p.js} +11 -11
- package/dist/chunks/{instruction-discovery-tppqj79j.js → formatter-y6y97je4.js} +13 -13
- package/dist/chunks/{instruction-discovery-jwcy2c2z.js → formatter-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-0n8a0ffz.js → formatter-y7hva13m.js} +6 -6
- package/dist/chunks/{instruction-discovery-xyc3y5xg.js → formatter-y9g90tep.js} +13 -13
- package/dist/chunks/{instruction-discovery-69enf89f.js → formatter-yg5tfmeg.js} +20 -20
- package/dist/chunks/{instruction-discovery-prhrtzb1.js → formatter-yt20gxxn.js} +49 -49
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-d0ak8zy9.js → formatter-z0ha1qbj.js} +7 -7
- package/dist/chunks/{instruction-discovery-8gxqpgph.js → formatter-zav06jzw.js} +4 -4
- package/dist/chunks/{instruction-discovery-wvej1134.js → formatter-zfcwc1y1.js} +6 -6
- package/dist/chunks/{instruction-discovery-g0z1em0w.js → formatter-zmrfgz7x.js} +4 -4
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-8tzwp5sx.js → formatter-zv6nfkan.js} +16 -16
- package/dist/chunks/{instruction-discovery-addxnjmp.js → formatter-zw2hpfmh.js} +4 -4
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-scgrse2b.js → formatter-zyk1yjk8.js} +5 -5
- package/dist/chunks/{instruction-discovery-myrhaa8e.js → formatter-zzm694dn.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +93 -93
- 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 +3 -3
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-0ef80a9n.js +0 -513
- package/dist/chunks/instruction-discovery-6xgwma86.js +0 -26
- package/dist/chunks/instruction-discovery-bmqnjeh2.js +0 -253
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bw78ga2c.js → formatter-bw78ga2c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service58,
|
|
3
|
+
node61
|
|
4
|
+
} from "./formatter-r24bhee7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node85
|
|
8
|
+
} from "./formatter-refxa0t0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node60
|
|
12
|
+
} from "./formatter-kt03xgs8.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service57;
|
|
40
|
+
const watcher = yield* Service58;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node60, FSUtil.node, node61, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-refxa0t0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node87
|
|
6
|
+
} from "./formatter-2r93mh4x.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
node85
|
|
10
|
+
} from "./formatter-refxa0t0.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make21
|
|
16
|
+
} from "./formatter-gfzqzyz0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service79,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node83
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service79 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service81;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make21;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service79.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node83 = makeLocationNode({
|
|
61
|
+
service: Service79,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node85, Global.node, node87, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service79, node83, exports_strategies };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service38,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service38 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service38.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service38, awaitActivation2, exports_service };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./formatter-jcp3whqs.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node85
|
|
12
|
+
} from "./formatter-refxa0t0.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service64,
|
|
20
|
+
node68,
|
|
21
|
+
Event12
|
|
22
|
+
} from "./formatter-hk61fc81.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./formatter-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info15,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service62,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node66,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event11 } from "@opencode/schema/model";
|
|
53
|
+
var ID8 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,12 +66,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info15 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service62 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
73
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service64;
|
|
75
75
|
const bus = yield* Service84;
|
|
76
76
|
const location = yield* Service81;
|
|
77
77
|
let input;
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info15.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service62.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node68, node88, node85] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info15, Service62, node66, supportsText2, compatibility2, parse5, exports_model2, Event11 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service80,
|
|
3
|
+
node84,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-tmbn7gcx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service51,
|
|
8
8
|
node54
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-gjmk74th.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service21
|
|
12
|
+
} from "./formatter-bj587msa.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-kqgdmvde.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service80, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service21);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
node54.replace(Layer.succeed(
|
|
57
|
+
node54.replace(Layer.succeed(Service51, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node84.replace(Layer.succeed(Service80, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Service46
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-rtxeq7sf.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-4pa8nav4.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-h1fz3f88.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-es1vcfrp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -87,8 +87,8 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service57
|
|
4
|
+
} from "./formatter-kt03xgs8.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin3 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service57;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin24 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin3, exports_websearch };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-refxa0t0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./formatter-tk2nybwj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service20,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-y9g90tep.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./formatter-j65a6egm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service71
|
|
17
|
+
} from "./formatter-cyejtnng.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service23,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-110tzrbd.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin39,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin39 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service23;
|
|
110
|
+
const fileMutation = yield* Service20;
|
|
111
|
+
const environment = yield* Service60;
|
|
112
|
+
const formatter = yield* Service22;
|
|
113
113
|
const location = yield* Service81;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service71;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name4,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input4,
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin46 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name4, Input4, Output3, Plugin39, exports_edit };
|