@opencode/core 0.0.0-dev-51 → 0.0.0-dev-56
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-034tev2y.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{generate-3b9vt7br.js → rpc-06ezgrzy.js} +8 -8
- package/dist/chunks/{generate-qqg9c0kv.js → rpc-0ahs07zn.js} +4 -4
- package/dist/chunks/{generate-qm7m71ag.js → rpc-0c526ams.js} +13 -13
- package/dist/chunks/{generate-9qwv2st5.js → rpc-0rq8521k.js} +2 -2
- package/dist/chunks/{generate-avr56bkg.js → rpc-0vawvjhj.js} +6 -6
- package/dist/chunks/{generate-bgwcavjj.js → rpc-0vp9s6f9.js} +5 -5
- package/dist/chunks/{generate-2mksk9k9.js → rpc-0whhes9s.js} +15 -16
- package/dist/chunks/{generate-02m8mtj2.js → rpc-11r0hn6h.js} +11 -11
- package/dist/chunks/{generate-cp34masm.js → rpc-1cm167wn.js} +1 -1
- package/dist/chunks/{generate-tm4h45vh.js → rpc-1cz5jnx3.js} +21 -21
- package/dist/chunks/{generate-1ep2p91f.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{generate-mn1kjsd1.js → rpc-1fev81q9.js} +4 -4
- package/dist/chunks/{generate-s0m9mztq.js → rpc-1pr3bvqr.js} +54 -54
- package/dist/chunks/{generate-tfcaxdgg.js → rpc-1w0v2jg6.js} +79 -79
- package/dist/chunks/{generate-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{generate-1yq9hg58.js → rpc-1yq9hg58.js} +1 -1
- package/dist/chunks/{generate-204s3925.js → rpc-204s3925.js} +1 -1
- package/dist/chunks/{generate-ha5zw665.js → rpc-20pewr79.js} +35 -35
- package/dist/chunks/{generate-91w4e7n6.js → rpc-21sjz75x.js} +1 -1
- package/dist/chunks/{generate-jqrt1e18.js → rpc-24b1822y.js} +31 -31
- package/dist/chunks/{generate-tgz64rdx.js → rpc-24f1v18m.js} +11 -11
- package/dist/chunks/{generate-j9dfrzf1.js → rpc-27mf012m.js} +24 -24
- package/dist/chunks/{generate-bjz4w02w.js → rpc-2dyqtkwr.js} +2 -2
- package/dist/chunks/rpc-2fww1xq6.js +257 -0
- package/dist/chunks/{generate-jzv9q93k.js → rpc-2zq6pbnf.js} +18 -18
- package/dist/chunks/{generate-xsm7bj45.js → rpc-33fc7s0m.js} +21 -21
- package/dist/chunks/{generate-maje54r7.js → rpc-33kcjwwy.js} +10 -10
- package/dist/chunks/{generate-k1k960qh.js → rpc-37fv4m6h.js} +16 -16
- package/dist/chunks/{generate-mpxymb45.js → rpc-3dcwdj6v.js} +21 -21
- package/dist/chunks/{generate-jx1apdrb.js → rpc-3gda39my.js} +44 -44
- package/dist/chunks/{generate-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-c46s9eb3.js → rpc-3j1m3tq4.js} +5 -5
- package/dist/chunks/{generate-g3xh12jg.js → rpc-3jakq1d6.js} +15 -15
- package/dist/chunks/{generate-s754n69y.js → rpc-3kq4a6sg.js} +13 -13
- package/dist/chunks/{generate-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{generate-rn2g8gvy.js → rpc-3t8h1e95.js} +30 -30
- package/dist/chunks/{generate-wmv0rq0d.js → rpc-40d4xgsq.js} +22 -22
- package/dist/chunks/{generate-r41sfy63.js → rpc-40za9wsf.js} +6 -6
- package/dist/chunks/{generate-rcgfqkyt.js → rpc-45c1pec7.js} +21 -21
- package/dist/chunks/{generate-bnjyqssh.js → rpc-48d8ae9z.js} +6 -6
- package/dist/chunks/{generate-jbgpzec3.js → rpc-49q52fh6.js} +33 -33
- package/dist/chunks/{generate-yp7knqr4.js → rpc-4cp64nen.js} +17 -17
- package/dist/chunks/{generate-w73gsg3z.js → rpc-4d2pgjbv.js} +13 -13
- package/dist/chunks/{generate-a2vfm55n.js → rpc-4d6ha9s6.js} +3 -3
- package/dist/chunks/{generate-yxg6183e.js → rpc-4dp2wx2w.js} +65 -65
- package/dist/chunks/{generate-jn88007r.js → rpc-4fd5ta9m.js} +9 -9
- package/dist/chunks/{generate-985zap26.js → rpc-4m1g0ceg.js} +14 -14
- package/dist/chunks/{generate-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{generate-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{generate-z1tmcxf6.js → rpc-52f5rtfj.js} +17 -17
- package/dist/chunks/{generate-zvgjxag2.js → rpc-5456a48y.js} +9 -9
- package/dist/chunks/{generate-8vdz7xys.js → rpc-55pbqef1.js} +9 -9
- package/dist/chunks/{generate-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-r3wxrxmk.js → rpc-5t0ssftj.js} +13 -13
- package/dist/chunks/{generate-q83j2tds.js → rpc-5tsxr0ws.js} +14 -14
- package/dist/chunks/{generate-g2vd0h49.js → rpc-65dm05df.js} +28 -28
- package/dist/chunks/{generate-typae2vg.js → rpc-67nysykx.js} +11 -11
- package/dist/chunks/{generate-syenhh65.js → rpc-68a4b1nr.js} +9 -9
- package/dist/chunks/{generate-gax45btb.js → rpc-6dfsbm8p.js} +43 -43
- package/dist/chunks/{generate-6esdw8yj.js → rpc-6esdw8yj.js} +1 -1
- package/dist/chunks/{generate-4ynprk1k.js → rpc-6g6p8k27.js} +33 -33
- package/dist/chunks/{generate-9qrr5ytc.js → rpc-6m6bsj58.js} +21 -21
- package/dist/chunks/{generate-nchzvxb3.js → rpc-6sbpw0e5.js} +9 -9
- package/dist/chunks/{generate-b4fdcaj4.js → rpc-6v5hcgfq.js} +15 -15
- package/dist/chunks/{generate-xeax9z1c.js → rpc-6xsxm8kw.js} +33 -33
- package/dist/chunks/{generate-3kdbrncp.js → rpc-6y263vp8.js} +5 -5
- package/dist/chunks/{generate-4bm1jzjx.js → rpc-72tjyr14.js} +15 -15
- package/dist/chunks/{generate-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-mbftkfp3.js → rpc-7h2t6vc0.js} +6 -6
- package/dist/chunks/{generate-azvnm8mw.js → rpc-7ktfwhzn.js} +19 -19
- package/dist/chunks/{generate-0kbjdbg7.js → rpc-7m6jdvvc.js} +23 -23
- package/dist/chunks/{generate-b2v4ah60.js → rpc-7nwq7d8b.js} +5 -5
- package/dist/chunks/{generate-88zyrnzn.js → rpc-7pasvbr1.js} +11 -11
- package/dist/chunks/{generate-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{generate-0rtx0zsg.js → rpc-7zxwgkwf.js} +5 -5
- package/dist/chunks/{generate-xrxd4ypf.js → rpc-85wke8th.js} +29 -29
- package/dist/chunks/{generate-f9jtb5s4.js → rpc-883j7vh5.js} +28 -28
- package/dist/chunks/{generate-kq8jawwe.js → rpc-88pmpatn.js} +6 -6
- package/dist/chunks/{generate-knzehscp.js → rpc-8en22g3v.js} +22 -22
- package/dist/chunks/{generate-gr4a1mt9.js → rpc-8fdswnnk.js} +9 -9
- package/dist/chunks/{generate-5t7assdd.js → rpc-8k1232g8.js} +10 -10
- package/dist/chunks/{generate-jz6gy70s.js → rpc-8rgpj3v9.js} +18 -19
- package/dist/chunks/{generate-qhhpkx69.js → rpc-8v13ctkh.js} +28 -28
- package/dist/chunks/{generate-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{generate-90zstvax.js → rpc-90zstvax.js} +1 -1
- package/dist/chunks/{generate-1xht4w09.js → rpc-919vdwc6.js} +11 -11
- package/dist/chunks/{generate-zczrc06z.js → rpc-94dw899a.js} +16 -16
- package/dist/chunks/{generate-d8gzsssc.js → rpc-9aaqd4cr.js} +43 -43
- package/dist/chunks/{generate-9cx9sm2q.js → rpc-9cx9sm2q.js} +1 -1
- package/dist/chunks/{generate-6bxss06n.js → rpc-9d3qqyt3.js} +31 -31
- package/dist/chunks/{generate-n9d7asws.js → rpc-9ej9d65q.js} +8 -8
- package/dist/chunks/{generate-s7kyse9r.js → rpc-9q8g9sv8.js} +4 -4
- package/dist/chunks/{generate-qewh6z9z.js → rpc-9v9sw9y8.js} +11 -11
- package/dist/chunks/{generate-jtth4p70.js → rpc-9vv0e3hr.js} +7 -7
- package/dist/chunks/{generate-vz54nt0f.js → rpc-9wzjb77v.js} +5 -5
- package/dist/chunks/{generate-yt5vsp4r.js → rpc-a7mz7h33.js} +16 -16
- package/dist/chunks/{generate-xh4gmrhb.js → rpc-ag2aa0c3.js} +13 -13
- package/dist/chunks/{generate-fqgfpq08.js → rpc-akbz7b6h.js} +5 -5
- package/dist/chunks/{generate-7j904b11.js → rpc-aqre7xn4.js} +29 -29
- package/dist/chunks/{generate-awf2ev99.js → rpc-atqtx36x.js} +27 -27
- package/dist/chunks/{generate-9v1jeyvz.js → rpc-avmkrmj1.js} +12 -12
- package/dist/chunks/{generate-ayjs7tqn.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{generate-4yqzdbr3.js → rpc-ayzcn7ry.js} +25 -25
- package/dist/chunks/{generate-b6vsg801.js → rpc-b6vsg801.js} +2 -2
- package/dist/chunks/{generate-bjhzkqyk.js → rpc-bjhzkqyk.js} +1 -1
- package/dist/chunks/{generate-94knkh23.js → rpc-brp6nb8b.js} +27 -27
- package/dist/chunks/{generate-3k4091hg.js → rpc-bsfsn1q2.js} +14 -14
- package/dist/chunks/{generate-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{generate-qsbq0yh0.js → rpc-bvqmrn1m.js} +12 -12
- package/dist/chunks/{generate-pzy1ge40.js → rpc-c49xtfdh.js} +8 -8
- package/dist/chunks/{generate-4j6w92j1.js → rpc-cedkk2hn.js} +26 -26
- package/dist/chunks/{generate-6k90qmab.js → rpc-crdv5ver.js} +327 -327
- package/dist/chunks/{generate-mqx5s2g6.js → rpc-crhn495q.js} +9 -9
- package/dist/chunks/{generate-v9mkjqza.js → rpc-cttyfbh0.js} +18 -18
- package/dist/chunks/{generate-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{generate-871wsk36.js → rpc-cyj2kt6c.js} +6 -6
- package/dist/chunks/{generate-rjgm8kvq.js → rpc-d081q3rt.js} +78 -78
- package/dist/chunks/{generate-kkqethq7.js → rpc-d2887f8n.js} +4 -4
- package/dist/chunks/{generate-gfh3rx86.js → rpc-d3a27jat.js} +6 -6
- package/dist/chunks/{generate-wrj7qkae.js → rpc-d495y938.js} +1 -1
- package/dist/chunks/{generate-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{generate-c8yg7wh5.js → rpc-d9vrgche.js} +25 -25
- package/dist/chunks/{generate-djjzzs3c.js → rpc-djjzzs3c.js} +3 -3
- package/dist/chunks/{generate-m4qbnc51.js → rpc-drerwy6v.js} +3 -3
- package/dist/chunks/{generate-2jrrfqe1.js → rpc-drvbhkez.js} +2 -2
- package/dist/chunks/{generate-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{generate-9nckwqxr.js → rpc-dtbhyemk.js} +4 -4
- package/dist/chunks/{generate-z4da6g8s.js → rpc-dv6qm9br.js} +26 -26
- package/dist/chunks/{generate-pcty9z1k.js → rpc-e07q2w5p.js} +4 -4
- package/dist/chunks/{generate-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{generate-1ap48dzm.js → rpc-emfgrb33.js} +25 -25
- package/dist/chunks/{generate-5nrwf5y6.js → rpc-enhdjx8m.js} +7 -7
- package/dist/chunks/{generate-anmc9emg.js → rpc-ey18rynk.js} +23 -23
- package/dist/chunks/{generate-vhq13nx9.js → rpc-f1jvjr49.js} +3 -3
- package/dist/chunks/{generate-tn5ra6b3.js → rpc-f4tcs0jy.js} +14 -14
- package/dist/chunks/{generate-hvqg9qdf.js → rpc-fdaca9h8.js} +13 -13
- package/dist/chunks/{generate-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{generate-gjdtpzew.js → rpc-ffj9xh6w.js} +1 -1
- package/dist/chunks/{generate-fg9p65nk.js → rpc-fg9p65nk.js} +2 -2
- package/dist/chunks/{generate-d5nbwyme.js → rpc-fkvkceny.js} +48 -48
- package/dist/chunks/{generate-jtgecbs6.js → rpc-fpp6hpcz.js} +15 -15
- package/dist/chunks/{generate-p6jdjv39.js → rpc-fxp3jdxe.js} +3 -3
- package/dist/chunks/{generate-wr3re1en.js → rpc-fznmdakp.js} +4 -4
- package/dist/chunks/{generate-825sajmc.js → rpc-g3vbb411.js} +27 -27
- package/dist/chunks/{generate-bj9t89jc.js → rpc-g5cwnqn4.js} +5 -5
- package/dist/chunks/{generate-nx49a0zd.js → rpc-g5f8x4xx.js} +2 -2
- package/dist/chunks/{generate-jse617h6.js → rpc-g5n7re5f.js} +36 -36
- package/dist/chunks/{generate-gh6ydj5k.js → rpc-g60qat9x.js} +26 -26
- package/dist/chunks/{generate-vrcsa8qx.js → rpc-gcjdgkn2.js} +9 -9
- package/dist/chunks/{generate-gg8p9cgs.js → rpc-gg8p9cgs.js} +3 -3
- package/dist/chunks/{generate-gb808nsr.js → rpc-gnpspdhe.js} +2 -2
- package/dist/chunks/{generate-a78n6d5c.js → rpc-gs6z249h.js} +11 -11
- package/dist/chunks/{generate-n01qhj0y.js → rpc-gtn9c16a.js} +4 -4
- package/dist/chunks/{generate-0dtejqt5.js → rpc-h05nesbv.js} +16 -16
- package/dist/chunks/{generate-hdfrs5mg.js → rpc-hdfrs5mg.js} +2 -2
- package/dist/chunks/{generate-8y4jps98.js → rpc-hfgk9wzg.js} +4 -4
- package/dist/chunks/{generate-v6mt8wtr.js → rpc-hggwpgzd.js} +2 -2
- package/dist/chunks/{generate-hpg1pkwy.js → rpc-hpg1pkwy.js} +1 -1
- package/dist/chunks/{generate-q85rya1m.js → rpc-hvvf9qw8.js} +6 -6
- package/dist/chunks/rpc-hzxj5g2m.js +26 -0
- package/dist/chunks/{generate-svmy10xz.js → rpc-j3crpzxq.js} +18 -18
- package/dist/chunks/{generate-a9ec5j8c.js → rpc-j8mbjqzd.js} +18 -18
- package/dist/chunks/{generate-q2kz667v.js → rpc-jag19rqs.js} +8 -8
- package/dist/chunks/{generate-5cn08dj1.js → rpc-je2wvarz.js} +11 -11
- package/dist/chunks/{generate-jfaecv01.js → rpc-jfaecv01.js} +1 -1
- package/dist/chunks/{generate-4nmwn958.js → rpc-jpf9vwqw.js} +7 -7
- package/dist/chunks/{generate-p9z57wfw.js → rpc-jq6y1ase.js} +12 -12
- package/dist/chunks/{generate-jtnps1zs.js → rpc-jtnps1zs.js} +2 -2
- package/dist/chunks/rpc-jztn5z23.js +18 -0
- package/dist/chunks/{generate-25bqyrh1.js → rpc-k5kj76dt.js} +11 -11
- package/dist/chunks/{generate-k814nvkf.js → rpc-k814nvkf.js} +1 -1
- package/dist/chunks/{generate-wbc755ty.js → rpc-kacyanm6.js} +19 -19
- package/dist/chunks/{generate-xe60g4xd.js → rpc-kc9nrs0j.js} +21 -21
- package/dist/chunks/{generate-f1kba4eb.js → rpc-kcdb1e28.js} +19 -19
- package/dist/chunks/{generate-xa3svp4j.js → rpc-kk9fztqn.js} +11 -11
- package/dist/chunks/{generate-9hkg0qbv.js → rpc-ksghqzra.js} +30 -30
- package/dist/chunks/{generate-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{generate-scab19z6.js → rpc-kv3397pn.js} +4 -4
- package/dist/chunks/{generate-zgd8t41s.js → rpc-kwh42651.js} +9 -9
- package/dist/chunks/{generate-te8xnvcw.js → rpc-kzsyc12b.js} +11 -11
- package/dist/chunks/{generate-dqx4xtgw.js → rpc-m0beerck.js} +21 -21
- package/dist/chunks/{generate-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{generate-zx09p1gy.js → rpc-m2zathk5.js} +14 -14
- package/dist/chunks/{generate-f1qn86q9.js → rpc-m5e8m7x2.js} +16 -16
- package/dist/chunks/{generate-38rcx8gw.js → rpc-m9dmsm3n.js} +4 -4
- package/dist/chunks/{generate-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-hx3mz2q2.js → rpc-mj1vn29f.js} +7 -7
- package/dist/chunks/{generate-sz7wvhh4.js → rpc-mm8jtwth.js} +17 -17
- package/dist/chunks/{generate-1k9p9gsd.js → rpc-mpm5mb5p.js} +36 -36
- package/dist/chunks/{generate-fdda4p52.js → rpc-mqf62vgd.js} +12 -12
- package/dist/chunks/{generate-0ykwm9kb.js → rpc-myx6e55h.js} +11 -11
- package/dist/chunks/{generate-65hsbk6w.js → rpc-n3f5ztfg.js} +9 -9
- package/dist/chunks/{generate-ts8qfj50.js → rpc-na8jz2jz.js} +4 -4
- package/dist/chunks/{generate-nah043kf.js → rpc-nah043kf.js} +1 -1
- package/dist/chunks/{generate-v7wnn3sr.js → rpc-ncgr05pj.js} +26 -26
- package/dist/chunks/{generate-0bvbaefb.js → rpc-nf3nsvxh.js} +4 -4
- package/dist/chunks/{generate-2cy0x1ts.js → rpc-ngfv116b.js} +6 -6
- package/dist/chunks/{generate-k1km0kwj.js → rpc-npb0m00r.js} +11 -11
- package/dist/chunks/{generate-p015t6z3.js → rpc-p015t6z3.js} +2 -2
- package/dist/chunks/{generate-tenqdnpv.js → rpc-p2p83sy3.js} +13 -13
- package/dist/chunks/{generate-gcjxwgkz.js → rpc-pjvdrmby.js} +6 -6
- package/dist/chunks/{generate-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{generate-cwqxgzxh.js → rpc-pms2m0st.js} +8 -8
- package/dist/chunks/{generate-s4f8ct6t.js → rpc-pn41xxg3.js} +4 -4
- package/dist/chunks/{generate-8rgb2cvr.js → rpc-pnwsrq7c.js} +11 -11
- package/dist/chunks/{generate-vgnm1wd9.js → rpc-pv5ds392.js} +5 -5
- package/dist/chunks/{generate-1jd23vs3.js → rpc-pxrx0r0g.js} +32 -32
- package/dist/chunks/{generate-psxcd178.js → rpc-q08g37zc.js} +1 -1
- package/dist/chunks/{generate-dtqg9ce1.js → rpc-q17z9dx8.js} +5 -5
- package/dist/chunks/{generate-6yhvg7vh.js → rpc-q2mw85a4.js} +140 -140
- package/dist/chunks/{generate-0pzycfxn.js → rpc-qedxx4df.js} +11 -11
- package/dist/chunks/{generate-x3pdsm9g.js → rpc-qj76h0fc.js} +9 -9
- package/dist/chunks/{generate-qkqjbc48.js → rpc-qkqjbc48.js} +1 -1
- package/dist/chunks/{generate-gfnmyn48.js → rpc-qmj7wcqf.js} +8 -8
- package/dist/chunks/{generate-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{generate-vpm8vpz0.js → rpc-qsee9sfb.js} +2 -2
- package/dist/chunks/{generate-xdem3tjk.js → rpc-qx5f0d2q.js} +46 -26
- package/dist/chunks/{generate-8k8pzbp4.js → rpc-qz087kyw.js} +8 -8
- package/dist/chunks/{generate-syecjwvp.js → rpc-r0rv0wyp.js} +9 -9
- package/dist/chunks/{generate-r0yr0wbs.js → rpc-r0yr0wbs.js} +1 -1
- package/dist/chunks/{generate-m5ef9g4d.js → rpc-r3fd02n6.js} +10 -10
- package/dist/chunks/{generate-cg7vdfn2.js → rpc-r427bdzm.js} +10 -10
- package/dist/chunks/{generate-r542h3bh.js → rpc-r542h3bh.js} +1 -1
- package/dist/chunks/{generate-nxr9jypn.js → rpc-r7pyyrd2.js} +11 -11
- package/dist/chunks/{generate-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{generate-sd44476b.js → rpc-rj5anvxz.js} +4 -4
- package/dist/chunks/{generate-5g3z7kak.js → rpc-rmq8nx06.js} +42 -42
- package/dist/chunks/{generate-sjr9jxa3.js → rpc-rrxyghcz.js} +22 -22
- package/dist/chunks/{generate-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{generate-t5d1jndw.js → rpc-s5vpcb73.js} +4 -4
- package/dist/chunks/{generate-k80pfa45.js → rpc-s7hqqt4z.js} +31 -31
- package/dist/chunks/{generate-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
- package/dist/chunks/{generate-t09et5ra.js → rpc-sdtp6k0d.js} +11 -11
- package/dist/chunks/{generate-96rd774k.js → rpc-sedz7jsj.js} +22 -22
- package/dist/chunks/{generate-mryb701n.js → rpc-sj12gjca.js} +4 -4
- package/dist/chunks/{generate-sqjzf8x2.js → rpc-sqjzf8x2.js} +1 -1
- package/dist/chunks/{generate-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{generate-7yect7x1.js → rpc-t5jqs5j7.js} +2 -2
- package/dist/chunks/{generate-9v7mpwrt.js → rpc-t7gq5xjm.js} +15 -15
- package/dist/chunks/{generate-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{generate-kmzgegqq.js → rpc-tg1vr1qt.js} +8 -8
- package/dist/chunks/{generate-tzqjqrvg.js → rpc-th47pjd4.js} +22 -22
- package/dist/chunks/{generate-spmxmxwp.js → rpc-tjxwgd7m.js} +18 -18
- package/dist/chunks/{generate-30ee3db1.js → rpc-tv0gzqtp.js} +2 -2
- package/dist/chunks/{generate-wvfn79zg.js → rpc-twcvacat.js} +2 -2
- package/dist/chunks/{generate-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{generate-ecnyqwbg.js → rpc-twsxhs3f.js} +14 -14
- package/dist/chunks/{generate-t5j4wmcc.js → rpc-twvtkg4y.js} +10 -10
- package/dist/chunks/{generate-8r41k98t.js → rpc-txpcm6be.js} +34 -34
- package/dist/chunks/{generate-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/{generate-p3c06s3c.js → rpc-v5xd2mpf.js} +17 -17
- package/dist/chunks/{generate-21jrj54j.js → rpc-v83fq82d.js} +25 -25
- package/dist/chunks/{generate-ca66pcgg.js → rpc-v92b8r51.js} +14 -14
- package/dist/chunks/{generate-0dmxj0ks.js → rpc-vb2mcp36.js} +8 -8
- package/dist/chunks/{generate-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-dajgfvtb.js → rpc-vnn3phs4.js} +18 -18
- package/dist/chunks/{generate-ms4mtp00.js → rpc-vsne3b7e.js} +14 -14
- package/dist/chunks/{generate-qt0rakd9.js → rpc-vtjnzknn.js} +7 -7
- package/dist/chunks/{generate-zt6ym1y0.js → rpc-w1hkhdtf.js} +13 -13
- package/dist/chunks/{generate-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-76cb1hcw.js → rpc-w8qtt4th.js} +4 -4
- package/dist/chunks/{generate-nskk21ck.js → rpc-w8t2j0ev.js} +3 -3
- package/dist/chunks/{generate-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{generate-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{generate-zwc34jj0.js → rpc-whngmfrz.js} +16 -16
- package/dist/chunks/{generate-ax4wpyb0.js → rpc-whz9p1gq.js} +15 -15
- package/dist/chunks/{generate-c0j152jj.js → rpc-x356pzge.js} +40 -40
- package/dist/chunks/{generate-dzvgbg8c.js → rpc-x60fdxnj.js} +16 -16
- package/dist/chunks/{generate-11hfp36g.js → rpc-x8nvjgx0.js} +4 -4
- package/dist/chunks/{generate-1q071vx1.js → rpc-xa9xwx2k.js} +28 -27
- package/dist/chunks/{generate-sz054x7k.js → rpc-xnf74d9j.js} +3 -3
- package/dist/chunks/{generate-q9prhzwj.js → rpc-xnnf989s.js} +35 -35
- package/dist/chunks/{generate-vsnnaxjq.js → rpc-xpve62cf.js} +4 -4
- package/dist/chunks/{generate-mzs1wwgg.js → rpc-xqhxnj8s.js} +13 -13
- package/dist/chunks/{generate-qgxcsxqz.js → rpc-xxpmek4t.js} +9 -9
- package/dist/chunks/{generate-8c52w60q.js → rpc-y3dxaa8f.js} +5 -5
- package/dist/chunks/{generate-yara3q77.js → rpc-yara3q77.js} +2 -2
- package/dist/chunks/{generate-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{generate-1c738wz7.js → rpc-yx939w10.js} +8 -8
- package/dist/chunks/{generate-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z38nccrw.js → rpc-z38nccrw.js} +1 -1
- package/dist/chunks/{generate-e44yaama.js → rpc-zbg53hjx.js} +7 -7
- package/dist/chunks/{generate-e8f4mwat.js → rpc-zbmx9syz.js} +26 -26
- package/dist/chunks/{generate-zgkm4kzm.js → rpc-zgkm4kzm.js} +3 -3
- package/dist/chunks/{generate-d8zpry8c.js → rpc-zr1w76qe.js} +4 -4
- package/dist/chunks/{generate-828gcpff.js → rpc-ztfp96c4.js} +35 -24
- package/dist/chunks/{generate-x2ghphdg.js → rpc-zvgac7b0.js} +17 -17
- package/dist/chunks/{generate-1vzec3kv.js → rpc-zzqwmb9j.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +7 -7
- 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 +107 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +106 -106
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +128 -128
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +360 -360
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +139 -139
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +101 -101
- 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 +167 -167
- package/dist/tool/plugin/edit.js +154 -154
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/integration.d.ts +0 -2
- package/dist/types/plugin/module.d.ts +10 -0
- package/dist/types/plugin/service.d.ts +12 -0
- package/dist/types/plugin.d.ts +1 -1
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/generate-00ve6mdn.js +0 -18
- package/dist/chunks/generate-1cgjwhkt.js +0 -26
- package/dist/chunks/generate-gf3p0gyn.js +0 -257
- /package/dist/chunks/{generate-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1jakw16s.js → rpc-1jakw16s.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4m86bj6y.js → rpc-4m86bj6y.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a058387c.js → rpc-a058387c.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-ncqqe42p.js → rpc-ncqqe42p.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-y3dxaa8f.js";
|
|
11
11
|
import {
|
|
12
12
|
Service83,
|
|
13
13
|
node87
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-twcvacat.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service36,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node39,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service36 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service85;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node39 = makeLocationNode({
|
|
158
|
+
service: Service36,
|
|
159
159
|
layer,
|
|
160
160
|
deps: [FSUtil.node, node89, Global.node, node87]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service65, Service65.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error2({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID4, Error2, Service36, node39, noopLayer2, exports_snapshot2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-1jakw16s.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-jfaecv01.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-8k1232g8.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make6 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make6();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -1,49 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-1fev81q9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./rpc-33kcjwwy.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service22,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-jztn5z23.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
make13,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./rpc-q2mw85a4.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./rpc-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
29
29
|
__export(exports_plugin2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event2,
|
|
31
|
+
GuiBundle: () => GuiBundle2,
|
|
31
32
|
ID: () => ID2,
|
|
32
|
-
Info: () =>
|
|
33
|
+
Info: () => Info4,
|
|
33
34
|
Plugin: () => exports_plugin2,
|
|
34
|
-
Service: () =>
|
|
35
|
+
Service: () => Service22,
|
|
35
36
|
Source: () => Source2,
|
|
36
37
|
State: () => State2,
|
|
37
38
|
awaitActivation: () => awaitActivation2,
|
|
38
|
-
node: () =>
|
|
39
|
+
node: () => node19
|
|
39
40
|
});
|
|
40
|
-
import { Event as
|
|
41
|
+
import { Event as Event2, GuiBundle as GuiBundle2, ID as ID2, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
|
+
import { readFile } from "node:fs/promises";
|
|
43
|
+
import { fileURLToPath } from "node:url";
|
|
41
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
42
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
43
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
44
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
45
48
|
const bus = yield* Service86;
|
|
46
|
-
const kv = yield*
|
|
49
|
+
const kv = yield* Service77;
|
|
47
50
|
const scope = yield* Scope.make();
|
|
48
51
|
const active = new Map;
|
|
49
52
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -65,11 +68,18 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
65
68
|
const pendingFailures = yield* Queue.unbounded();
|
|
66
69
|
let discovered = [];
|
|
67
70
|
let inventory = [];
|
|
68
|
-
const publish = changes2((items) => items, () => bus.publish(Plugin.Event.Updated, {}).pipe(Effect.asVoid));
|
|
71
|
+
const publish = changes2((items) => [items, Array.from(active.values(), (entry) => entry.plugin.gui?.revision)], () => bus.publish(Plugin.Event.Updated, {}).pipe(Effect.asVoid));
|
|
69
72
|
const list = Effect.fn("Plugin.list")(function* () {
|
|
70
73
|
return inventory;
|
|
71
74
|
});
|
|
72
|
-
const
|
|
75
|
+
const gui = Effect.fn("Plugin.gui")(function* (id) {
|
|
76
|
+
const gui = active.get(id)?.plugin.gui;
|
|
77
|
+
if (!gui)
|
|
78
|
+
return;
|
|
79
|
+
const code = yield* Effect.promise(() => readFile(fileURLToPath(gui.file), "utf8"));
|
|
80
|
+
return { code, revision: gui.revision, options: gui.options };
|
|
81
|
+
});
|
|
82
|
+
const host = yield* make13({ list });
|
|
73
83
|
const load = Effect.fnUntraced(function* (plugin) {
|
|
74
84
|
const activation = { plugin, scope: yield* Scope.fork(scope) };
|
|
75
85
|
const inherit = yield* inherit2();
|
|
@@ -204,12 +214,13 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
204
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
205
215
|
}));
|
|
206
216
|
yield* Effect.addFinalizer(close);
|
|
207
|
-
return
|
|
217
|
+
return Service22.of({
|
|
208
218
|
activate,
|
|
209
219
|
close,
|
|
210
220
|
awaitActivation: ready.await,
|
|
211
221
|
hold,
|
|
212
|
-
list
|
|
222
|
+
list,
|
|
223
|
+
gui
|
|
213
224
|
});
|
|
214
225
|
}));
|
|
215
226
|
function slotInfo(slot) {
|
|
@@ -218,13 +229,13 @@ function slotInfo(slot) {
|
|
|
218
229
|
id: slot.plugin.id,
|
|
219
230
|
source: slot.plugin.source ?? { type: "builtin" },
|
|
220
231
|
state: failure === undefined ? { status: "active" } : { status: "failed", ...failure },
|
|
221
|
-
features: { server: true
|
|
232
|
+
features: slot.plugin.features ?? { server: true }
|
|
222
233
|
};
|
|
223
234
|
}
|
|
224
|
-
var
|
|
225
|
-
service:
|
|
235
|
+
var node19 = Node.makeLocationNode({
|
|
236
|
+
service: Service22,
|
|
226
237
|
layer,
|
|
227
238
|
deps: [requirements3]
|
|
228
239
|
});
|
|
229
240
|
|
|
230
|
-
export {
|
|
241
|
+
export { node19, exports_plugin2, Event2, GuiBundle2, ID2, Info4, Source2, State2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-1fev81q9.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-6sbpw0e5.js";
|
|
13
13
|
import {
|
|
14
14
|
Service83,
|
|
15
15
|
node87
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-twcvacat.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-204s3925.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info12,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service62,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node65
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info12, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,9 +55,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service62 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
62
|
const location = yield* Service83;
|
|
63
63
|
const bus = yield* Service86;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info12));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service62.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node65 = makeLocationNode({
|
|
193
|
+
service: Service62,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [FSUtil.node, node87, node90]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info12, Mode2, Untracked2, DiffError2, InitializeError2, Service62, node65, exports_vcs };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-1fev81q9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -20,13 +20,13 @@ __export(exports_form, {
|
|
|
20
20
|
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node78,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -44,7 +44,7 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
48
|
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
@@ -79,16 +79,16 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service75 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
84
|
+
var layer28 = Layer.effect(Service75, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service86;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
93
|
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service75.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node78 = makeLocationNode({ service: Service75, layer: layer28, deps: [node90] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID14, Info25, Field2, Fields2, When2, State3, Answer2, Reply3,
|
|
319
|
+
export { ID14, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer28, node78, validateAnswer2, validateFields2, exports_form, Event17 };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2,
|
|
3
3
|
update3,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
4
|
+
make15,
|
|
5
|
+
exports_instructions4
|
|
6
|
+
} from "../chunks/rpc-67nysykx.js";
|
|
7
|
+
import"../chunks/rpc-fffv3p7h.js";
|
|
8
|
+
import"../chunks/rpc-gtn9c16a.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
exports_instructions4 as CodeModeInstructions,
|
|
11
|
+
make15 as make,
|
|
12
12
|
render2 as render,
|
|
13
13
|
update3 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/rpc-zgkm4kzm.js";
|
|
6
|
+
import"../chunks/rpc-jfaecv01.js";
|
|
7
|
+
import"../chunks/rpc-1jakw16s.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|