@opencode/core 0.0.0-dev-19968 → 0.0.0-dev-19969
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{filesystem-1sj6h7by.js → instance-0arm7s4z.js} +9 -9
- package/dist/chunks/{filesystem-qd2k5aj0.js → instance-0kcpgx0r.js} +11 -11
- package/dist/chunks/{filesystem-03qp45f7.js → instance-0medzxsg.js} +7 -7
- package/dist/chunks/{filesystem-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-yykhtw2b.js → instance-0t7jyax9.js} +18 -18
- package/dist/chunks/{filesystem-mnbb8qz6.js → instance-0vy811n1.js} +6 -6
- package/dist/chunks/{filesystem-ngq841kw.js → instance-0xwaf9e7.js} +34 -34
- package/dist/chunks/{filesystem-2yvcjg7x.js → instance-1106zbwe.js} +20 -20
- package/dist/chunks/{filesystem-yxwwfj09.js → instance-13wg6e4h.js} +8 -8
- package/dist/chunks/{filesystem-vzmjqrzc.js → instance-169s82rh.js} +17 -17
- package/dist/chunks/{filesystem-ec8389mk.js → instance-18e56dsp.js} +4 -4
- package/dist/chunks/{filesystem-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-kvnpp68b.js → instance-1dygx2bh.js} +9 -9
- package/dist/chunks/{filesystem-bmtrff8t.js → instance-1e270gxy.js} +20 -20
- package/dist/chunks/{filesystem-v0jz8j41.js → instance-20emab4w.js} +18 -18
- package/dist/chunks/{filesystem-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-6h73sxmp.js → instance-2402vzrj.js} +5 -5
- package/dist/chunks/{filesystem-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-hm7q9217.js → instance-2hhwkzt2.js} +10 -10
- package/dist/chunks/{filesystem-x65z75f3.js → instance-2q4j323f.js} +3 -3
- package/dist/chunks/{filesystem-2427g10n.js → instance-2xrpc6vf.js} +17 -17
- package/dist/chunks/{filesystem-16k897g6.js → instance-32cadd4t.js} +81 -81
- package/dist/chunks/{filesystem-rtz42hzw.js → instance-348w6try.js} +11 -11
- package/dist/chunks/{filesystem-grac4bzh.js → instance-34egh3ee.js} +20 -20
- package/dist/chunks/{filesystem-qa3qhgw8.js → instance-34rkz0x9.js} +7 -7
- package/dist/chunks/{filesystem-zxb2s64m.js → instance-3cerfjhm.js} +4 -4
- package/dist/chunks/{filesystem-07cknprf.js → instance-3dcaaqz8.js} +85 -85
- package/dist/chunks/{filesystem-3fvwfshq.js → instance-3er8gc7n.js} +12 -12
- package/dist/chunks/{filesystem-3ewed21c.js → instance-3ewed21c.js} +1 -1
- package/dist/chunks/{filesystem-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-y86nc7k9.js → instance-3nfsyj83.js} +5 -5
- package/dist/chunks/{filesystem-pha35y92.js → instance-3p722e5w.js} +9 -9
- package/dist/chunks/{filesystem-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-jyjec5pm.js → instance-41wzkj33.js} +15 -15
- package/dist/chunks/{filesystem-v321thzt.js → instance-42sda6bc.js} +4 -4
- package/dist/chunks/{filesystem-tdj2jmmg.js → instance-43z8zp06.js} +24 -24
- package/dist/chunks/{filesystem-mmr7bq34.js → instance-44ke2mar.js} +8 -8
- package/dist/chunks/{filesystem-kr1rbf8c.js → instance-4a5n5c6p.js} +13 -13
- package/dist/chunks/{filesystem-93cj6zmr.js → instance-4vyz88v0.js} +9 -9
- package/dist/chunks/{filesystem-s5met55r.js → instance-4w5f3qm5.js} +8 -8
- package/dist/chunks/{filesystem-zkhexgat.js → instance-4wkp449m.js} +27 -27
- package/dist/chunks/{filesystem-qvb3nf84.js → instance-52fpbh6z.js} +8 -8
- package/dist/chunks/{filesystem-56gdpj1q.js → instance-56gdpj1q.js} +2 -2
- package/dist/chunks/{filesystem-48zn05f2.js → instance-57fxdjxs.js} +5 -5
- package/dist/chunks/{filesystem-81czwxpn.js → instance-5c0f1prt.js} +4 -4
- package/dist/chunks/{filesystem-a1bz86dw.js → instance-5c4hm403.js} +3 -3
- package/dist/chunks/{filesystem-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-k6w0f24y.js → instance-5t5mrzbt.js} +10 -10
- package/dist/chunks/{filesystem-dxwm750g.js → instance-5z0s7hma.js} +2 -2
- package/dist/chunks/{filesystem-xkvv7e7p.js → instance-63agwps4.js} +21 -21
- package/dist/chunks/{filesystem-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-0zn36fza.js → instance-6av87b3m.js} +5 -5
- package/dist/chunks/{filesystem-x0egy8f5.js → instance-6axakrx7.js} +15 -15
- package/dist/chunks/{filesystem-brwjxhej.js → instance-6f1vsx9m.js} +47 -47
- package/dist/chunks/{filesystem-xb8c9x5k.js → instance-6jhev1wb.js} +23 -23
- package/dist/chunks/{filesystem-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-kr3cfjxs.js → instance-6scc2srg.js} +24 -24
- package/dist/chunks/{filesystem-77dd9v53.js → instance-6sdge6br.js} +16 -16
- package/dist/chunks/{filesystem-vkhk71nk.js → instance-6skg845x.js} +16 -16
- package/dist/chunks/{filesystem-met5cert.js → instance-78b7q07n.js} +11 -11
- package/dist/chunks/{filesystem-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-0jwsre1p.js → instance-7dqw4kz8.js} +5 -5
- package/dist/chunks/{filesystem-bf42px1p.js → instance-7mkrakm3.js} +28 -28
- package/dist/chunks/{filesystem-66v3shg0.js → instance-7nqjdm3x.js} +15 -15
- package/dist/chunks/{filesystem-6pz80v41.js → instance-7q98jckk.js} +5 -5
- package/dist/chunks/{filesystem-wz13sdny.js → instance-7v5zyxc4.js} +20 -20
- package/dist/chunks/{filesystem-73tb2d7t.js → instance-7yh4e7ss.js} +3 -3
- package/dist/chunks/{filesystem-grmnzeke.js → instance-802z7qvb.js} +11 -11
- package/dist/chunks/{filesystem-zpv4nz19.js → instance-80e070g0.js} +20 -20
- package/dist/chunks/{filesystem-bajakh74.js → instance-89smrnyf.js} +4 -4
- package/dist/chunks/{filesystem-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-15jj1v8s.js → instance-8m1qzjqa.js} +4 -4
- package/dist/chunks/{filesystem-mn84faw2.js → instance-8nyhjscm.js} +11 -11
- package/dist/chunks/{filesystem-g5hy5kmy.js → instance-8ya5t551.js} +9 -9
- package/dist/chunks/{filesystem-svap4v14.js → instance-8yd9n7c3.js} +29 -29
- package/dist/chunks/{filesystem-2rvjwpf0.js → instance-8z3n43ng.js} +8 -8
- package/dist/chunks/{filesystem-sq3japyz.js → instance-8z7vqw16.js} +6 -6
- package/dist/chunks/{filesystem-jaqhawhw.js → instance-90d88jxv.js} +22 -22
- package/dist/chunks/{filesystem-kjpvn9gz.js → instance-91sfrdq4.js} +7 -7
- package/dist/chunks/{filesystem-8hvwwpmz.js → instance-920kjae8.js} +14 -14
- package/dist/chunks/{filesystem-p1yj9rea.js → instance-942k4txe.js} +10 -10
- package/dist/chunks/{filesystem-g7qez7ar.js → instance-9c8x5hj6.js} +3 -3
- package/dist/chunks/{filesystem-n52vytmr.js → instance-9gxknh3w.js} +20 -20
- package/dist/chunks/{filesystem-skzznzbs.js → instance-9sx4jprw.js} +15 -15
- package/dist/chunks/{filesystem-ksn5d0ww.js → instance-9x58gdtd.js} +19 -19
- package/dist/chunks/{filesystem-tdgd79rq.js → instance-a3r4dcrj.js} +2 -2
- package/dist/chunks/{filesystem-mhyw0mv8.js → instance-a4wqs0qd.js} +5 -5
- package/dist/chunks/{filesystem-5fe2effp.js → instance-a5v6591k.js} +16 -16
- package/dist/chunks/{filesystem-vqqa88a0.js → instance-a68xx6mc.js} +15 -15
- package/dist/chunks/{filesystem-ztj62dtv.js → instance-a78sm17e.js} +25 -25
- package/dist/chunks/{filesystem-b24zw4yy.js → instance-aacen85z.js} +3 -3
- package/dist/chunks/{filesystem-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-vrqcba6b.js → instance-ae3cyfbt.js} +4 -4
- package/dist/chunks/{filesystem-wwsm4ja9.js → instance-akpn57d0.js} +5 -5
- package/dist/chunks/{filesystem-awwr15q3.js → instance-amsj32t7.js} +35 -35
- package/dist/chunks/instance-apny2dvq.js +26 -0
- package/dist/chunks/{filesystem-jpg3dfx2.js → instance-b2xtf7a2.js} +157 -157
- package/dist/chunks/{filesystem-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-ese628mp.js → instance-bj5af21g.js} +4 -4
- package/dist/chunks/{filesystem-hxtyzbxe.js → instance-brj7f68z.js} +13 -13
- package/dist/chunks/{filesystem-qpk9q6jw.js → instance-bw7hp6y0.js} +20 -20
- package/dist/chunks/{filesystem-tt1k1f2x.js → instance-bxgmka7t.js} +8 -8
- package/dist/chunks/{filesystem-j797beme.js → instance-bxnpdx9q.js} +29 -29
- package/dist/chunks/{filesystem-jd17btx7.js → instance-c68e7n82.js} +12 -12
- package/dist/chunks/{filesystem-v10hvdrj.js → instance-cc57b8eb.js} +17 -17
- package/dist/chunks/{filesystem-qn27zvar.js → instance-cmev2171.js} +21 -21
- package/dist/chunks/{filesystem-9a9gf2p8.js → instance-d04atdpy.js} +44 -20
- package/dist/chunks/{filesystem-d4he2qe1.js → instance-d4he2qe1.js} +2 -2
- package/dist/chunks/{filesystem-hahrk1qf.js → instance-d8emr1nn.js} +41 -41
- package/dist/chunks/{filesystem-57ez7d0k.js → instance-d9s573fh.js} +2 -2
- package/dist/chunks/{filesystem-8p4f9s12.js → instance-dj2t23y0.js} +2 -2
- package/dist/chunks/{filesystem-7m52tntm.js → instance-dvy48r7d.js} +35 -35
- package/dist/chunks/{filesystem-fr7p31gg.js → instance-dy133t77.js} +30 -30
- package/dist/chunks/{filesystem-b5wjsjny.js → instance-dyr55xgd.js} +6 -6
- package/dist/chunks/{filesystem-46ayrqc0.js → instance-dzzw49r9.js} +30 -30
- package/dist/chunks/{filesystem-j710vash.js → instance-e1hrzsan.js} +12 -12
- package/dist/chunks/{filesystem-w4arg62q.js → instance-e6hd9jay.js} +4 -4
- package/dist/chunks/{filesystem-315q9sqw.js → instance-e74jkeqy.js} +9 -9
- package/dist/chunks/{filesystem-2a4f6v5q.js → instance-ednp5hmx.js} +8 -8
- package/dist/chunks/{filesystem-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-22fs68yw.js → instance-ehfrdykz.js} +3 -3
- package/dist/chunks/{filesystem-erw5rpbs.js → instance-erw5rpbs.js} +2 -2
- package/dist/chunks/{filesystem-6v7g53sy.js → instance-eswj1m7q.js} +12 -12
- package/dist/chunks/{filesystem-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-13fp0ry5.js → instance-evqvn1bq.js} +24 -24
- package/dist/chunks/{filesystem-b0b9rar1.js → instance-eww8yfqb.js} +3 -3
- package/dist/chunks/{filesystem-984jxsb2.js → instance-exw6kppz.js} +10 -10
- package/dist/chunks/{filesystem-evbgk2k8.js → instance-ez47arx5.js} +5 -5
- package/dist/chunks/{filesystem-g3kw94se.js → instance-f36xz99c.js} +11 -11
- package/dist/chunks/{filesystem-f5gy8qwh.js → instance-f5gy8qwh.js} +1 -1
- package/dist/chunks/{filesystem-ww56n17f.js → instance-fd8ak9n2.js} +31 -31
- package/dist/chunks/{filesystem-36j95q9q.js → instance-fe5a3tee.js} +29 -29
- package/dist/chunks/{filesystem-mhpg8jts.js → instance-fhs3yhrh.js} +10 -10
- package/dist/chunks/{filesystem-xdrba4jw.js → instance-fsbk27r1.js} +9 -9
- package/dist/chunks/{filesystem-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-5crjye1b.js → instance-fz350qxn.js} +1 -1
- package/dist/chunks/{filesystem-mnk47x55.js → instance-gb0s1thq.js} +26 -26
- package/dist/chunks/{filesystem-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-tfrapzag.js → instance-gkp8hd49.js} +25 -25
- package/dist/chunks/{filesystem-xnqh7ddg.js → instance-gn8wng26.js} +14 -14
- package/dist/chunks/{filesystem-gg9gwaxk.js → instance-grqp3m57.js} +10 -10
- package/dist/chunks/{filesystem-eftxckxc.js → instance-gvakzy6w.js} +10 -10
- package/dist/chunks/{filesystem-9zdp25nh.js → instance-h3622pax.js} +66 -66
- package/dist/chunks/{filesystem-tk02apgh.js → instance-h3yahare.js} +2 -2
- package/dist/chunks/{filesystem-44h5tttr.js → instance-h6r3nrb9.js} +4 -4
- package/dist/chunks/{filesystem-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-f828m53h.js → instance-hdnk95c8.js} +2 -2
- package/dist/chunks/{filesystem-pecb0brz.js → instance-hfvc964k.js} +5 -5
- package/dist/chunks/{filesystem-qry1ksyx.js → instance-hryj1gvx.js} +11 -11
- package/dist/chunks/{filesystem-nfdxhgw7.js → instance-hvq94ypk.js} +8 -8
- package/dist/chunks/{filesystem-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-vjnb44yt.js → instance-jexxy024.js} +3 -3
- package/dist/chunks/{filesystem-fchff7g2.js → instance-jg07q21c.js} +27 -27
- package/dist/chunks/instance-jpkg9g2n.js +252 -0
- package/dist/chunks/{filesystem-ks2vqhf1.js → instance-jt7n26mq.js} +25 -25
- package/dist/chunks/{filesystem-zvxfwhrf.js → instance-k01a1t0e.js} +13 -13
- package/dist/chunks/{filesystem-wz3jbs46.js → instance-k0ppcc2p.js} +3 -3
- package/dist/chunks/{filesystem-nzks3jc8.js → instance-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-vxacc3vd.js → instance-k9q15fzj.js} +9 -9
- package/dist/chunks/{filesystem-wjxs5s53.js → instance-kbzjgdb7.js} +18 -18
- package/dist/chunks/{filesystem-pqcpq1re.js → instance-kcac5gez.js} +17 -17
- package/dist/chunks/{filesystem-f88yg6e4.js → instance-kegdzgf6.js} +11 -11
- package/dist/chunks/{filesystem-2m0fmnh7.js → instance-kf2n53d4.js} +11 -11
- package/dist/chunks/{filesystem-fe2qydnk.js → instance-kgb9avch.js} +6 -6
- package/dist/chunks/{filesystem-zwx65035.js → instance-kmefq73e.js} +40 -40
- package/dist/chunks/{filesystem-mebwty07.js → instance-kmeqxgz4.js} +15 -15
- package/dist/chunks/{filesystem-qgahmr9f.js → instance-kmz07ghj.js} +46 -46
- package/dist/chunks/{filesystem-qehgnnt6.js → instance-kphz97gq.js} +24 -24
- package/dist/chunks/{filesystem-y56rcaa9.js → instance-ksfgay0w.js} +4 -4
- package/dist/chunks/{filesystem-cfpkc3c9.js → instance-m0jqrx5p.js} +2 -2
- package/dist/chunks/{filesystem-m3fdjcah.js → instance-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-9ggrt063.js → instance-m59hpyh2.js} +13 -13
- package/dist/chunks/{filesystem-1x75wf9g.js → instance-m64xvjj1.js} +5 -5
- package/dist/chunks/{filesystem-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-g190xswt.js → instance-magykp64.js} +4 -4
- package/dist/chunks/{filesystem-w7zfn541.js → instance-mh5wa5mc.js} +10 -10
- package/dist/chunks/{filesystem-w5ce3m9w.js → instance-ms79m58m.js} +11 -11
- package/dist/chunks/{filesystem-wmgcd47k.js → instance-ms7qbkvj.js} +9 -9
- package/dist/chunks/{filesystem-db81embj.js → instance-mxvnmrt4.js} +25 -25
- package/dist/chunks/{filesystem-e2hjzebn.js → instance-n4r3xatb.js} +4 -4
- package/dist/chunks/instance-n95b3jav.js +18 -0
- package/dist/chunks/{filesystem-bcb5hys9.js → instance-ndqtf2h8.js} +6 -6
- package/dist/chunks/{filesystem-dz8x4rxg.js → instance-nqyhrfcc.js} +4 -4
- package/dist/chunks/{filesystem-s6v8axxj.js → instance-nrjyvqh1.js} +305 -305
- package/dist/chunks/{filesystem-5cavj4mt.js → instance-nzwgqx1m.js} +13 -13
- package/dist/chunks/{filesystem-p28j5sbe.js → instance-p28j5sbe.js} +2 -2
- package/dist/chunks/{filesystem-kypwf0cg.js → instance-p98eg1yg.js} +13 -13
- package/dist/chunks/{filesystem-8v6pyhej.js → instance-phstrbs2.js} +8 -8
- package/dist/chunks/{filesystem-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-5g1dwb5p.js → instance-pmnh5vt6.js} +35 -35
- package/dist/chunks/{filesystem-j83byb14.js → instance-pmr4s4kc.js} +4 -4
- package/dist/chunks/{filesystem-d0g5vkrh.js → instance-px5qkjhn.js} +16 -16
- package/dist/chunks/{filesystem-kc9c06qf.js → instance-q38v6rtx.js} +27 -27
- package/dist/chunks/{filesystem-dxath9w1.js → instance-q5jzdjse.js} +19 -19
- package/dist/chunks/{filesystem-edh3qeam.js → instance-q6my464a.js} +15 -15
- package/dist/chunks/{filesystem-gsky0jx5.js → instance-qb4wxkby.js} +8 -8
- package/dist/chunks/{filesystem-7bg29hqq.js → instance-qdadg2d8.js} +42 -42
- package/dist/chunks/{filesystem-4f6fk8j7.js → instance-qgqs31an.js} +43 -43
- package/dist/chunks/{filesystem-kybncw40.js → instance-qm610anm.js} +34 -34
- package/dist/chunks/{filesystem-ccfvz9bx.js → instance-qrw53g8s.js} +3 -3
- package/dist/chunks/{filesystem-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-nzkfsc2b.js → instance-r2w9n6jb.js} +10 -10
- package/dist/chunks/{filesystem-hp7p304c.js → instance-r5xgne7f.js} +4 -4
- package/dist/chunks/{filesystem-1acjjqhc.js → instance-r8xr0va3.js} +4 -4
- package/dist/chunks/{filesystem-3q78x1dv.js → instance-rbsak3h7.js} +47 -47
- package/dist/chunks/{filesystem-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-a9j7mz3k.js → instance-rk498y91.js} +14 -14
- package/dist/chunks/{filesystem-zeh9ct20.js → instance-rq775frq.js} +2 -2
- package/dist/chunks/{filesystem-bgg2t0gn.js → instance-rvxas66n.js} +9 -9
- package/dist/chunks/{filesystem-7n1bffd1.js → instance-rw6keqws.js} +44 -44
- package/dist/chunks/{filesystem-gkek2rvn.js → instance-rxz67725.js} +3 -3
- package/dist/chunks/{filesystem-wk5z6jzv.js → instance-s1kvmffy.js} +9 -9
- package/dist/chunks/{filesystem-e3tgbcs4.js → instance-s5peyk7f.js} +5 -5
- package/dist/chunks/{filesystem-t550f9t1.js → instance-s8d7rejh.js} +4 -4
- package/dist/chunks/{filesystem-yjptyezs.js → instance-sea71n5d.js} +5 -5
- package/dist/chunks/{filesystem-rf0nmp6z.js → instance-srbt4y13.js} +15 -15
- package/dist/chunks/{filesystem-t8qw8ht6.js → instance-svv44k5v.js} +4 -4
- package/dist/chunks/{filesystem-zvtjwpsx.js → instance-sxvkxhkg.js} +13 -13
- package/dist/chunks/{filesystem-sthqeftk.js → instance-sy5mz7yq.js} +28 -28
- package/dist/chunks/{filesystem-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-794cfd8q.js → instance-tca87vc6.js} +22 -22
- package/dist/chunks/{filesystem-89znhe33.js → instance-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-dq0v80fr.js → instance-tgcnk5sw.js} +5 -5
- package/dist/chunks/{filesystem-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-40n4jky6.js → instance-tw29gp78.js} +1 -1
- package/dist/chunks/{filesystem-nt3wrqm0.js → instance-txy3wwf1.js} +20 -20
- package/dist/chunks/{filesystem-my7dxsb1.js → instance-v042tw2h.js} +11 -11
- package/dist/chunks/{filesystem-q04s9zb8.js → instance-v3ffzf1e.js} +8 -8
- package/dist/chunks/{filesystem-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-qrjye5nx.js → instance-vm15evav.js} +5 -5
- package/dist/chunks/{filesystem-kxvxc5re.js → instance-vmhx6zfk.js} +33 -33
- package/dist/chunks/{filesystem-818pfwc9.js → instance-vtgtp4yy.js} +8 -8
- package/dist/chunks/{filesystem-1vr7vy9f.js → instance-vxh5zej0.js} +7 -7
- package/dist/chunks/{filesystem-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-pc2tjt9j.js → instance-w3ej4pdp.js} +12 -12
- package/dist/chunks/{filesystem-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-r80rqf00.js → instance-wctfcgtb.js} +6 -6
- package/dist/chunks/{filesystem-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-j6ye8ttg.js → instance-wg912b83.js} +8 -8
- package/dist/chunks/{filesystem-367n4pkp.js → instance-wj7d1h67.js} +7 -7
- package/dist/chunks/{filesystem-3sfkgk8j.js → instance-wnys78fq.js} +6 -6
- package/dist/chunks/{filesystem-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-b8xkcadc.js → instance-x42n2f8p.js} +39 -39
- package/dist/chunks/{filesystem-7a4kky8k.js → instance-x4rw4w81.js} +16 -16
- package/dist/chunks/{filesystem-6qr3rp4k.js → instance-xa3qyksy.js} +8 -8
- package/dist/chunks/{filesystem-qqeeq2t9.js → instance-xfkkasph.js} +7 -7
- package/dist/chunks/{filesystem-txhkcd96.js → instance-xgs6q205.js} +28 -28
- package/dist/chunks/{filesystem-71yfdm4g.js → instance-xk1xs2zw.js} +8 -8
- package/dist/chunks/{filesystem-726ec35f.js → instance-xpyhybyw.js} +22 -22
- package/dist/chunks/{filesystem-zjnwzkxq.js → instance-xvbe4gpm.js} +11 -11
- package/dist/chunks/{filesystem-1yx9ccg8.js → instance-xxdkhvbx.js} +13 -13
- package/dist/chunks/{filesystem-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-swkgbbmy.js → instance-y2asgbh2.js} +4 -4
- package/dist/chunks/{filesystem-m977vtgv.js → instance-y3krmexz.js} +25 -25
- package/dist/chunks/{filesystem-y71avatq.js → instance-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-yech8yc4.js → instance-y9hhpr28.js} +28 -28
- package/dist/chunks/{filesystem-8mwr3tr3.js → instance-ya7qvh1y.js} +18 -18
- package/dist/chunks/{filesystem-vd0xk4sc.js → instance-ybhbtxjg.js} +3 -3
- package/dist/chunks/{filesystem-fpq9acqp.js → instance-ycjb11n5.js} +6 -6
- package/dist/chunks/{filesystem-6m3ppzzx.js → instance-ymdp9mgg.js} +24 -24
- package/dist/chunks/{filesystem-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-yrznvahk.js → instance-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-xjtsx636.js → instance-yt3hy1g9.js} +5 -5
- package/dist/chunks/{filesystem-gv6a8nnw.js → instance-yyb7tjpc.js} +2 -2
- package/dist/chunks/{filesystem-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-z63w68vq.js → instance-z63w68vq.js} +2 -2
- package/dist/chunks/{filesystem-8jvadsa9.js → instance-z7k40tce.js} +6 -6
- package/dist/chunks/{filesystem-kepwjj04.js → instance-z8erz8wy.js} +7 -7
- package/dist/chunks/{filesystem-pnv527nz.js → instance-zar83q85.js} +9 -9
- package/dist/chunks/{filesystem-h3w2pzs8.js → instance-zdsm8h92.js} +15 -15
- package/dist/chunks/{filesystem-2yx30dk6.js → instance-zfvbghcg.js} +13 -13
- package/dist/chunks/{filesystem-4d658vbe.js → instance-zh3h4z3r.js} +32 -32
- package/dist/chunks/{filesystem-19w9qk9n.js → instance-zhq6vg7a.js} +1 -1
- package/dist/chunks/{filesystem-nkwqxfa5.js → instance-zjyssjce.js} +15 -15
- package/dist/chunks/{filesystem-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-7e47eksq.js → instance-zypjemhe.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +128 -128
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/filesystem-1spfb7yw.js +0 -26
- package/dist/chunks/filesystem-598yv1c4.js +0 -252
- package/dist/chunks/filesystem-619r8v3y.js +0 -18
- /package/dist/chunks/{filesystem-0mesazry.js → instance-0mesazry.js} +0 -0
- /package/dist/chunks/{filesystem-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → instance-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-3cerfjhm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-h3yahare.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service49,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node52
|
|
16
|
+
} from "./instance-9sx4jprw.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service49;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
|
+
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87, node84,
|
|
276
|
+
deps: [node87, node84, node52]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./instance-a68xx6mc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./instance-3dcaaqz8.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make5 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service30;
|
|
24
|
+
const jobs = yield* Service63;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-3cerfjhm.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-h3yahare.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./instance-4wkp449m.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node79,
|
|
44
|
+
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service76;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service75.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-xpyhybyw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./instance-d8emr1nn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
@@ -430,15 +430,15 @@ var Plugin40 = define({
|
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service51;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service55,
|
|
8
|
+
node59
|
|
9
|
+
} from "./instance-63agwps4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./instance-8yd9n7c3.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service6,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node8,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service55;
|
|
331
|
+
return Service6.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node8 = makeLocationNode({ service: Service6, layer, deps: [node59] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-qm610anm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service42,
|
|
12
|
+
node45
|
|
13
|
+
} from "./instance-kmz07ghj.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-y3krmexz.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service34,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node38
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service34 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service34, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service42;
|
|
68
|
+
return Service34.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make21({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node38 = makeLocationNode({ service: Service34, layer: layer12, deps: [node45] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service34, layer12, node38, exports_instructions3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-4wkp449m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node78
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -33,6 +33,8 @@ import { Auth, Endpoint, RequestExecutor } from "@opencode/ai/route";
|
|
|
33
33
|
import { ProviderShared } from "@opencode/ai/protocols/shared";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Option, Schema, Scope, Stream } from "effect";
|
|
35
35
|
import { makeParser } from "effect/unstable/encoding/Sse";
|
|
36
|
+
import { HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
37
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
36
38
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
37
39
|
function wrapSSE(res, ms, ctl) {
|
|
38
40
|
if (typeof ms !== "number" || ms <= 0)
|
|
@@ -118,19 +120,38 @@ function prepareOptions(model, pkg) {
|
|
|
118
120
|
opts.body = JSON.stringify(mergeOverlay2(decoded, model.body));
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
|
-
const
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
});
|
|
123
|
+
const send = typeof customFetch === "function" ? customFetch : fetch;
|
|
124
|
+
const middleware = httpMiddleware.getStore();
|
|
125
|
+
const res = middleware ? await throughMiddleware(middleware, send, input, { ...opts, timeout: false }) : await send(input, { ...opts, timeout: false });
|
|
125
126
|
if (!chunkAbortCtl || typeof chunkTimeout !== "number")
|
|
126
127
|
return res;
|
|
127
128
|
return wrapSSE(res, chunkTimeout, chunkAbortCtl);
|
|
128
129
|
};
|
|
129
130
|
return options;
|
|
130
131
|
}
|
|
132
|
+
var httpMiddleware = new AsyncLocalStorage;
|
|
133
|
+
function throughMiddleware(store, send, input, init) {
|
|
134
|
+
const toError = (cause) => cause instanceof Error ? cause : new Error(String(cause));
|
|
135
|
+
const request = input instanceof Request ? new Request(input, init) : new Request(String(input), init);
|
|
136
|
+
return Effect.runPromiseWith(store.context)(Effect.gen(function* () {
|
|
137
|
+
const body = request.body ? new Uint8Array(yield* Effect.promise(() => request.arrayBuffer())) : undefined;
|
|
138
|
+
const response = yield* store.http(body ? HttpClientRequest.bodyUint8Array(HttpClientRequest.fromWeb(request), body, request.headers.get("content-type") ?? undefined) : HttpClientRequest.fromWeb(request), (sent) => Effect.gen(function* () {
|
|
139
|
+
const web = yield* HttpClientRequest.toWeb(sent);
|
|
140
|
+
const response = yield* Effect.tryPromise(async () => send(web.url, {
|
|
141
|
+
...init,
|
|
142
|
+
method: web.method,
|
|
143
|
+
headers: web.headers,
|
|
144
|
+
body: web.body ? await web.arrayBuffer() : undefined
|
|
145
|
+
}));
|
|
146
|
+
return HttpClientResponse.fromWeb(sent, response);
|
|
147
|
+
}).pipe(Effect.mapError(toError)));
|
|
148
|
+
const stream = [204, 205, 304].includes(response.status) ? null : yield* Stream.toReadableStreamEffect(response.stream);
|
|
149
|
+
return new Response(stream, { status: response.status, headers: response.headers });
|
|
150
|
+
}), { signal: init.signal ?? undefined });
|
|
151
|
+
}
|
|
131
152
|
|
|
132
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
133
|
-
providerID:
|
|
154
|
+
providerID: ID13,
|
|
134
155
|
cause: Schema.Defect()
|
|
135
156
|
}) {
|
|
136
157
|
}
|
|
@@ -138,9 +159,9 @@ function initError(providerID) {
|
|
|
138
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
139
160
|
}
|
|
140
161
|
|
|
141
|
-
class
|
|
162
|
+
class Service74 extends Context.Service()("@opencode/AISDK") {
|
|
142
163
|
}
|
|
143
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
144
165
|
let sdkHooks = [];
|
|
145
166
|
let languageHooks = [];
|
|
146
167
|
const languages = new Map;
|
|
@@ -178,7 +199,7 @@ var locationLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
178
199
|
}
|
|
179
200
|
return event;
|
|
180
201
|
});
|
|
181
|
-
const service =
|
|
202
|
+
const service = Service74.of({
|
|
182
203
|
hook: {
|
|
183
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
184
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -269,7 +290,7 @@ function modelFromLanguage(info, language) {
|
|
|
269
290
|
with: () => route,
|
|
270
291
|
model: (input) => LanguageModel.make({ ...input, provider: "provider" in input ? input.provider : providerID, route }),
|
|
271
292
|
prepareTransport: (body) => Effect.succeed(body),
|
|
272
|
-
streamPrepared: (prepared) => streamLanguage(language, prepared)
|
|
293
|
+
streamPrepared: (prepared, _request, _runtime, options) => streamLanguage(language, prepared, options?.http)
|
|
273
294
|
};
|
|
274
295
|
return LanguageModel.make({
|
|
275
296
|
id: info.modelID ?? info.id,
|
|
@@ -547,11 +568,14 @@ function metadataProviderOptions(input) {
|
|
|
547
568
|
return;
|
|
548
569
|
return Object.fromEntries(Object.entries(input).map(([key, value]) => [key, jsonObject(value)]));
|
|
549
570
|
}
|
|
550
|
-
function streamLanguage(language, options) {
|
|
571
|
+
function streamLanguage(language, options, http) {
|
|
551
572
|
const state = { step: 0, toolNames: {} };
|
|
552
|
-
return Stream.concat(Stream.make(LLMEvent.stepStart({ index: state.step })), Stream.unwrap(Effect.
|
|
553
|
-
|
|
554
|
-
|
|
573
|
+
return Stream.concat(Stream.make(LLMEvent.stepStart({ index: state.step })), Stream.unwrap(Effect.gen(function* () {
|
|
574
|
+
const context = yield* Effect.context();
|
|
575
|
+
return yield* Effect.tryPromise({
|
|
576
|
+
try: () => http ? httpMiddleware.run({ http, context }, () => language.doStream(options)) : language.doStream(options),
|
|
577
|
+
catch: (error) => llmError(error, "request")
|
|
578
|
+
});
|
|
555
579
|
}).pipe(Effect.map((result) => Stream.fromReadableStream({
|
|
556
580
|
evaluate: () => result.stream,
|
|
557
581
|
onError: (error) => llmError(error, "read")
|
|
@@ -819,6 +843,6 @@ function providerErrorMessage(error) {
|
|
|
819
843
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
820
844
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
821
845
|
}
|
|
822
|
-
var
|
|
846
|
+
var node78 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
|
|
823
847
|
|
|
824
|
-
export { InitError2,
|
|
848
|
+
export { InitError2, Service74, locationLayer2, node78, exports_aisdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|