@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service44
|
|
7
|
+
} from "./instance-gkp8hd49.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-jexxy024.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-ybhbtxjg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service44;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-3cerfjhm.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-h3yahare.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node25
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service22 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service22.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service22, node25, exports_rpc, define2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-ksfgay0w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make10, exports_retry };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./instance-6axakrx7.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./instance-bxnpdx9q.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./instance-d8emr1nn.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-jexxy024.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service63
|
|
18
|
+
} from "./instance-a68xx6mc.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./instance-qm610anm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./instance-3dcaaqz8.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-bxgmka7t.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instance-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
|
+
Output: () => Output5,
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name6 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input12 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin7 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service30;
|
|
93
|
+
const jobs = yield* Service63;
|
|
94
|
+
const agents = yield* Service71;
|
|
95
|
+
const config = yield* Service51;
|
|
96
|
+
const permission = yield* Service68;
|
|
97
|
+
const models = yield* Service75;
|
|
98
98
|
const subagents = yield* make5;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin31 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin31 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name6,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name6];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name6, Input6, Output5, description4, Plugin7, exports_subagent };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./instance-qdadg2d8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service19,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
19
|
layer: () => layer10,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node22
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service19 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var layer10 = Layer.effect(
|
|
38
|
+
var layer10 = Layer.effect(Service19, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service73;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service19.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
68
|
+
var node22 = makeLocationNode({
|
|
69
|
+
service: Service19,
|
|
70
70
|
layer: layer10,
|
|
71
|
-
deps: [
|
|
71
|
+
deps: [node77, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service19, layer10, node22, exports_generate };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-3cerfjhm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./instance-sy5mz7yq.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-h3yahare.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node59
|
|
20
|
+
} from "./instance-63agwps4.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./instance-p98eg1yg.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./instance-a78sm17e.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service42,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer16,
|
|
58
|
+
node: () => node45
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service42 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service55;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service78;
|
|
109
|
+
const integration = yield* Service77;
|
|
110
|
+
const credentials = yield* Service79;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,14 +144,14 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
@@ -240,7 +240,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service42.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node84,
|
|
515
|
+
service: Service42,
|
|
516
|
+
layer: layer16(options),
|
|
517
|
+
deps: [node84, node59, node87, node82, node81, node83]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node45 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service42, Options5, layer16, configured5, node45, exports_mcp4 };
|