@opencode/core 0.0.0-dev-19277 → 0.0.0-dev-19282
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 +73 -73
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-zy5vpaje.js → bus-01nje3d7.js} +6 -6
- package/dist/chunks/{file-mutation-qvpva3ng.js → bus-095cpp92.js} +35 -35
- package/dist/chunks/{file-mutation-6q1wcpsb.js → bus-0ch8tq9c.js} +11 -11
- package/dist/chunks/{file-mutation-367cq7nk.js → bus-0e6zaxnc.js} +4 -4
- package/dist/chunks/{file-mutation-2y7rw762.js → bus-0g3tnqy3.js} +28 -28
- package/dist/chunks/{file-mutation-7yqjxrmz.js → bus-0gaj4617.js} +4 -4
- package/dist/chunks/{file-mutation-8drta6s7.js → bus-0khbs0qs.js} +3 -3
- package/dist/chunks/{file-mutation-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-t8dsf4y4.js → bus-0tm0kv5t.js} +26 -26
- package/dist/chunks/{file-mutation-r98e92ep.js → bus-0v53mg2y.js} +4 -4
- package/dist/chunks/{file-mutation-wcwgv12t.js → bus-0vqg61vt.js} +20 -20
- package/dist/chunks/{file-mutation-axp4ehpq.js → bus-0w62qmxp.js} +4 -4
- package/dist/chunks/{file-mutation-q2n4r9w0.js → bus-111gxffx.js} +6 -6
- package/dist/chunks/{file-mutation-6bjqtyfe.js → bus-15qsbqmq.js} +21 -21
- package/dist/chunks/{file-mutation-a2ew8a62.js → bus-19vf66h0.js} +4 -4
- package/dist/chunks/{file-mutation-y29mgp2t.js → bus-1ajrde1x.js} +11 -11
- package/dist/chunks/{file-mutation-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-0hpxrkyb.js → bus-1dfhrqqs.js} +5 -5
- package/dist/chunks/{file-mutation-d8w89wm7.js → bus-1g0hxw53.js} +35 -35
- package/dist/chunks/{file-mutation-8j6q4g8w.js → bus-1pv26y79.js} +24 -24
- package/dist/chunks/{file-mutation-spm6zjyx.js → bus-1qfm9ec4.js} +15 -15
- package/dist/chunks/{file-mutation-8qyd7cwr.js → bus-1w4paq8s.js} +23 -23
- package/dist/chunks/{file-mutation-8dh3d31y.js → bus-1wsj65et.js} +24 -24
- package/dist/chunks/{file-mutation-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-tyjqv9hn.js → bus-27rw376c.js} +74 -74
- package/dist/chunks/{file-mutation-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-a3nznhzv.js → bus-2ee18q3c.js} +11 -11
- package/dist/chunks/{file-mutation-42sfbp1j.js → bus-2gqyg9n5.js} +16 -16
- package/dist/chunks/{file-mutation-xx4rmm3g.js → bus-2rrdrtgw.js} +6 -6
- package/dist/chunks/{file-mutation-0gapa1rm.js → bus-2vgzs72b.js} +5 -5
- package/dist/chunks/{file-mutation-nkzsta8f.js → bus-2z7mxnbp.js} +32 -32
- package/dist/chunks/{file-mutation-cts2bt7k.js → bus-31nc7ye1.js} +20 -20
- package/dist/chunks/{file-mutation-dv81esc2.js → bus-35s1r081.js} +25 -25
- package/dist/chunks/{file-mutation-tn6wbc2f.js → bus-3dkb1mkq.js} +35 -35
- package/dist/chunks/{file-mutation-fxp7jvj2.js → bus-3fqa324q.js} +16 -16
- package/dist/chunks/{file-mutation-ehc12fd7.js → bus-3fvkbj1e.js} +59 -59
- package/dist/chunks/{file-mutation-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-rsq2zz8k.js → bus-3r5z9a2m.js} +23 -23
- package/dist/chunks/{file-mutation-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-39d2pp1w.js → bus-3sx2gfrt.js} +34 -34
- package/dist/chunks/{file-mutation-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3r6p895e.js → bus-41tqqwbx.js} +7 -7
- package/dist/chunks/{file-mutation-hjt4xg1x.js → bus-47gsdddb.js} +7 -7
- package/dist/chunks/{file-mutation-1c43r3nd.js → bus-49t4jawx.js} +34 -34
- package/dist/chunks/{file-mutation-9jpw5dy7.js → bus-4etzfxb1.js} +27 -27
- package/dist/chunks/{file-mutation-tcyfzrxp.js → bus-4mjzz0d5.js} +30 -30
- package/dist/chunks/{file-mutation-n3ehebhz.js → bus-4pc0t7v2.js} +12 -12
- package/dist/chunks/{file-mutation-qcavarx3.js → bus-4yd2q2gq.js} +6 -6
- package/dist/chunks/{file-mutation-2gz38ge4.js → bus-50tgre74.js} +26 -26
- package/dist/chunks/{file-mutation-ex1n32br.js → bus-527n8bmw.js} +24 -24
- package/dist/chunks/{file-mutation-mfqp6xfm.js → bus-56gdpj1q.js} +6 -6
- package/dist/chunks/{file-mutation-0dvs85g7.js → bus-58mjts13.js} +26 -26
- package/dist/chunks/{file-mutation-3g8y8pv7.js → bus-5ahfvgqs.js} +155 -155
- package/dist/chunks/{file-mutation-q6btqjeq.js → bus-5cry39zx.js} +27 -27
- package/dist/chunks/{file-mutation-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-35v8zpsc.js → bus-5fm2rry0.js} +10 -10
- package/dist/chunks/{file-mutation-5hk4b2g6.js → bus-5hk4b2g6.js} +1 -1
- package/dist/chunks/{file-mutation-s8bq04yk.js → bus-5kx2m9j7.js} +8 -8
- package/dist/chunks/{file-mutation-5br4wbzw.js → bus-5kxxz5p9.js} +26 -26
- package/dist/chunks/{file-mutation-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-3xgyx5eq.js → bus-6b30g155.js} +17 -17
- package/dist/chunks/{file-mutation-jyyxenps.js → bus-6ez8fd9t.js} +33 -33
- package/dist/chunks/{file-mutation-2402vzrj.js → bus-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-7xb7fmfe.js → bus-6sg4x804.js} +4 -4
- package/dist/chunks/{file-mutation-mejqjgjf.js → bus-6zhe6btj.js} +39 -39
- package/dist/chunks/{file-mutation-c3kepfq8.js → bus-710w2ech.js} +1 -1
- package/dist/chunks/{file-mutation-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-fabdmt4z.js → bus-749mk3f5.js} +18 -18
- package/dist/chunks/{file-mutation-4zsgf4s5.js → bus-750rpxws.js} +3 -3
- package/dist/chunks/{file-mutation-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-fcrkznn8.js → bus-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-f8714f1t.js → bus-7s03h6w8.js} +18 -18
- package/dist/chunks/{file-mutation-81swgkk7.js → bus-81swgkk7.js} +2 -2
- package/dist/chunks/{file-mutation-qe9w01wa.js → bus-8292cgjf.js} +16 -16
- package/dist/chunks/{file-mutation-a8rhcpbw.js → bus-84zmkpg3.js} +46 -46
- package/dist/chunks/{file-mutation-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-72tn9ghv.js → bus-8e0dmvmv.js} +12 -12
- package/dist/chunks/{file-mutation-bn9crtcs.js → bus-8ey7957k.js} +15 -15
- package/dist/chunks/{file-mutation-xb2ts2qy.js → bus-8madsdx3.js} +9 -9
- package/dist/chunks/{file-mutation-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-79r1wrqa.js → bus-8qk9tw02.js} +1 -1
- package/dist/chunks/{file-mutation-8ghb20vc.js → bus-91ewnwxd.js} +32 -32
- package/dist/chunks/bus-92fxycsj.js +247 -0
- package/dist/chunks/{file-mutation-vvzkhv7j.js → bus-93495grw.js} +7 -7
- package/dist/chunks/{file-mutation-eg73htfk.js → bus-9ffmp1f5.js} +10 -10
- package/dist/chunks/{file-mutation-6cmsf6vb.js → bus-9j23snw0.js} +10 -10
- package/dist/chunks/{file-mutation-t69nnh3p.js → bus-9qn3qky1.js} +6 -6
- package/dist/chunks/{file-mutation-dfjp71nt.js → bus-9v7msvga.js} +13 -13
- package/dist/chunks/{file-mutation-5c4hm403.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-5gadzevc.js → bus-a4r18kjz.js} +2 -2
- package/dist/chunks/{file-mutation-rz0qknjf.js → bus-a9ab9jmj.js} +5 -5
- package/dist/chunks/{file-mutation-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-wbvqtf6x.js → bus-abqnwdt9.js} +20 -20
- package/dist/chunks/{file-mutation-cnev1v43.js → bus-ahpydw3r.js} +35 -35
- package/dist/chunks/{file-mutation-p28nmw69.js → bus-anhc60mz.js} +4 -4
- package/dist/chunks/{file-mutation-16c289jz.js → bus-arcj627b.js} +11 -11
- package/dist/chunks/{file-mutation-njwpmmd3.js → bus-at3ejqj0.js} +12 -12
- package/dist/chunks/{file-mutation-7y01f8qv.js → bus-atw9v79g.js} +20 -20
- package/dist/chunks/{file-mutation-r8kbebh4.js → bus-b66t5cb8.js} +9 -9
- package/dist/chunks/{file-mutation-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-2tfmgkzg.js → bus-bha4atvq.js} +4 -4
- package/dist/chunks/{file-mutation-9rd8ck05.js → bus-brzgr68a.js} +22 -22
- package/dist/chunks/{file-mutation-a1pyxhvt.js → bus-c2q1mjgh.js} +8 -8
- package/dist/chunks/{file-mutation-tn0aqsam.js → bus-c78bbtc9.js} +5 -5
- package/dist/chunks/{file-mutation-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/bus-cptd71b8.js +462 -0
- package/dist/chunks/{file-mutation-jxd5bzpm.js → bus-csec5e4m.js} +9 -9
- package/dist/chunks/{file-mutation-g52xpjny.js → bus-cvb05pnf.js} +22 -22
- package/dist/chunks/{file-mutation-smky3vmn.js → bus-d21tpfeg.js} +11 -11
- package/dist/chunks/{file-mutation-af04s6ss.js → bus-d2aac7k2.js} +5 -5
- package/dist/chunks/{file-mutation-8sghyhzw.js → bus-dc76j9wz.js} +8 -8
- package/dist/chunks/{file-mutation-dv1qgsyq.js → bus-dgj0dq1g.js} +8 -8
- package/dist/chunks/{file-mutation-ke6fm163.js → bus-e39t2h66.js} +11 -11
- package/dist/chunks/{file-mutation-7h5kkf6d.js → bus-e406nj4k.js} +4 -4
- package/dist/chunks/{file-mutation-r907z5k8.js → bus-e47b9zhk.js} +1 -1
- package/dist/chunks/{file-mutation-3104awdf.js → bus-e8bm4rm7.js} +14 -14
- package/dist/chunks/{file-mutation-eaj1djv9.js → bus-eaj1djv9.js} +1 -1
- package/dist/chunks/{file-mutation-veksjtca.js → bus-edsk2t6a.js} +9 -9
- package/dist/chunks/{file-mutation-ftbctthd.js → bus-ekxn0p07.js} +20 -20
- package/dist/chunks/{file-mutation-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-s28tf7nw.js → bus-f5ckxc6k.js} +8 -8
- package/dist/chunks/{file-mutation-hdnk95c8.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-z7xj2rat.js → bus-fa0cr6zp.js} +3 -3
- package/dist/chunks/{file-mutation-dcj77ap2.js → bus-ffx4mq6v.js} +1 -1
- package/dist/chunks/{file-mutation-gfqzzqy5.js → bus-fjmrr6sh.js} +8 -8
- package/dist/chunks/{file-mutation-hxjrekng.js → bus-fjta8say.js} +25 -25
- package/dist/chunks/{file-mutation-cjsb4aez.js → bus-frwpyczr.js} +4 -4
- package/dist/chunks/{file-mutation-5jrddqs7.js → bus-fw00bc85.js} +16 -16
- package/dist/chunks/{file-mutation-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-8ebjx6fe.js → bus-fxdzhz3a.js} +39 -39
- package/dist/chunks/{file-mutation-4qwq4s91.js → bus-gcx2w7qz.js} +22 -22
- package/dist/chunks/{file-mutation-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-hyb8y3ys.js → bus-gdvdcvqc.js} +17 -17
- package/dist/chunks/{file-mutation-3fc6dm20.js → bus-gdvy8fx6.js} +4 -4
- package/dist/chunks/{file-mutation-10thcfkt.js → bus-gezb754f.js} +9 -9
- package/dist/chunks/{file-mutation-jjs74g98.js → bus-gsx0ryk4.js} +9 -9
- package/dist/chunks/{file-mutation-wz87yraf.js → bus-gsy9mqvk.js} +10 -10
- package/dist/chunks/{file-mutation-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-2d2egxgf.js → bus-gwp5w4wb.js} +6 -6
- package/dist/chunks/{file-mutation-60258f1x.js → bus-gxnpxzy4.js} +30 -30
- package/dist/chunks/{file-mutation-wnmx9wgd.js → bus-h03br4j9.js} +16 -16
- package/dist/chunks/{file-mutation-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-92gnze2z.js → bus-hmy5m0zn.js} +22 -22
- package/dist/chunks/{file-mutation-2xjj231b.js → bus-hpd8f1qh.js} +6 -6
- package/dist/chunks/{file-mutation-whxd3enn.js → bus-j4zenrww.js} +7 -7
- package/dist/chunks/{file-mutation-7w3s9kd0.js → bus-j5208yae.js} +4 -4
- package/dist/chunks/{file-mutation-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-4a9jveby.js → bus-jdmm99th.js} +13 -13
- package/dist/chunks/{file-mutation-xjy62hxy.js → bus-jkvdn3cn.js} +40 -40
- package/dist/chunks/{file-mutation-0wyskpwe.js → bus-jmvyb28c.js} +17 -17
- package/dist/chunks/{file-mutation-bb3vk36n.js → bus-jny78evx.js} +56 -56
- package/dist/chunks/{file-mutation-247w7exe.js → bus-jvq7qv7z.js} +28 -28
- package/dist/chunks/{file-mutation-dmvjy0zd.js → bus-jzvr1g73.js} +12 -12
- package/dist/chunks/{file-mutation-hmdpr2b6.js → bus-k0h28rmr.js} +9 -9
- package/dist/chunks/{file-mutation-mn56vmxg.js → bus-k0vm1vsh.js} +11 -11
- package/dist/chunks/{file-mutation-k2h4r4s0.js → bus-k2h4r4s0.js} +1 -1
- package/dist/chunks/{file-mutation-jy4hnskt.js → bus-k6gg2q9r.js} +13 -13
- package/dist/chunks/{file-mutation-k7d0894y.js → bus-k7d0894y.js} +3 -3
- package/dist/chunks/{file-mutation-42f597f5.js → bus-k8ebjhqy.js} +18 -18
- package/dist/chunks/{file-mutation-np31jw2q.js → bus-kdc4anf3.js} +2 -2
- package/dist/chunks/{file-mutation-8cta7abr.js → bus-kfxc74n2.js} +27 -27
- package/dist/chunks/{file-mutation-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-zz8a5fkg.js → bus-kj0cw3p7.js} +37 -37
- package/dist/chunks/{file-mutation-hrd90x2a.js → bus-knth1fvs.js} +14 -14
- package/dist/chunks/{file-mutation-p2xftarf.js → bus-kxxjg53x.js} +69 -69
- package/dist/chunks/{file-mutation-gx7t6n5h.js → bus-kycn6yts.js} +6 -6
- package/dist/chunks/{file-mutation-da1r5k86.js → bus-kz255f3e.js} +9 -9
- package/dist/chunks/{file-mutation-rqkamac7.js → bus-m08xmbhd.js} +15 -15
- package/dist/chunks/{file-mutation-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-06jyfgyp.js → bus-mctj3t5d.js} +15 -15
- package/dist/chunks/{file-mutation-mkcjrzeh.js → bus-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-dmkr9q0x.js → bus-mkyh9633.js} +38 -38
- package/dist/chunks/{file-mutation-5937bz6q.js → bus-mm6hcqyy.js} +17 -17
- package/dist/chunks/{file-mutation-51p8cq1d.js → bus-mnrz82hq.js} +5 -5
- package/dist/chunks/{file-mutation-mhkvc446.js → bus-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-mutation-1gxa8pvp.js → bus-mykmszv9.js} +9 -9
- package/dist/chunks/{file-mutation-qzdhe1zn.js → bus-n0xr8ydk.js} +32 -32
- package/dist/chunks/{file-mutation-p39afa95.js → bus-n7myrqvg.js} +11 -11
- package/dist/chunks/{file-mutation-5n93a29p.js → bus-n8acapy8.js} +6 -6
- package/dist/chunks/{file-mutation-ext9pkk2.js → bus-nk7ds145.js} +16 -16
- package/dist/chunks/{file-mutation-836726zz.js → bus-nnchxen3.js} +40 -40
- package/dist/chunks/{file-mutation-zfq492nr.js → bus-nnmhqe7b.js} +18 -18
- package/dist/chunks/{file-mutation-g38wjbjk.js → bus-ntazn48k.js} +87 -87
- package/dist/chunks/{file-mutation-s0hza5ac.js → bus-nw2nz702.js} +4 -4
- package/dist/chunks/{file-mutation-60kyphxy.js → bus-nx25f60x.js} +18 -18
- package/dist/chunks/{file-mutation-pb9tbqa1.js → bus-nx8jdvz1.js} +32 -32
- package/dist/chunks/{file-mutation-qcfsefxz.js → bus-p0cja4mf.js} +5 -5
- package/dist/chunks/{file-mutation-p72z5xx6.js → bus-p72z5xx6.js} +2 -2
- package/dist/chunks/{file-mutation-xckwjtqa.js → bus-pf6z3403.js} +5 -5
- package/dist/chunks/{file-mutation-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-s2jbkb1q.js → bus-qaed280k.js} +5 -5
- package/dist/chunks/bus-qc068m1q.js +18 -0
- package/dist/chunks/{file-mutation-j1tv1ftq.js → bus-qdd4vj03.js} +21 -21
- package/dist/chunks/{file-mutation-vbqfnkw5.js → bus-qr92006n.js} +14 -14
- package/dist/chunks/{file-mutation-9mc8gqcg.js → bus-qrtv3c58.js} +20 -20
- package/dist/chunks/{file-mutation-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-vmq7ehpy.js → bus-qte5z7bc.js} +5 -5
- package/dist/chunks/{file-mutation-hjqx3p8t.js → bus-r1mjw3sd.js} +14 -14
- package/dist/chunks/{file-mutation-3atm5pec.js → bus-renqy12v.js} +6 -6
- package/dist/chunks/{file-mutation-w79zsp0s.js → bus-rfnzy394.js} +1 -1
- package/dist/chunks/{file-mutation-0zraj51v.js → bus-rgdf5anz.js} +15 -15
- package/dist/chunks/{file-mutation-y3btstjn.js → bus-rpsfnwf3.js} +43 -43
- package/dist/chunks/{file-mutation-2g1m3br9.js → bus-rvyv87x2.js} +4 -4
- package/dist/chunks/{file-mutation-nf9faws4.js → bus-s2pmvhcg.js} +16 -16
- package/dist/chunks/{file-mutation-4066mr2m.js → bus-s7xtjryh.js} +1 -1
- package/dist/chunks/{file-mutation-ezt9sm97.js → bus-sqevgg1x.js} +6 -6
- package/dist/chunks/{file-mutation-3fz5m4fk.js → bus-t9atnbvs.js} +32 -32
- package/dist/chunks/{file-mutation-nkz4n0yd.js → bus-t9dh7k1x.js} +14 -14
- package/dist/chunks/{file-mutation-00mqm9kf.js → bus-t9e6e84n.js} +1 -1
- package/dist/chunks/{file-mutation-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-q1a91n7k.js → bus-tfym5c4x.js} +8 -8
- package/dist/chunks/{file-mutation-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-pazvw4y1.js → bus-ve2nztfh.js} +10 -10
- package/dist/chunks/{file-mutation-7bnzk546.js → bus-ve6nm2s5.js} +6 -6
- package/dist/chunks/{file-mutation-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-8jbc784w.js → bus-vgjt9c5s.js} +5 -5
- package/dist/chunks/{file-mutation-p5needny.js → bus-vmmc4gn1.js} +32 -32
- package/dist/chunks/{file-mutation-dw27n1fr.js → bus-vn9qcck8.js} +30 -30
- package/dist/chunks/{file-mutation-25j8zc8k.js → bus-vwqs12jy.js} +10 -10
- package/dist/chunks/{file-mutation-pzh16mkn.js → bus-vyjzrkx0.js} +9 -9
- package/dist/chunks/{file-mutation-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-paegk39x.js → bus-w1k39n5e.js} +4 -4
- package/dist/chunks/{file-mutation-94akxnqj.js → bus-w3seh447.js} +21 -21
- package/dist/chunks/{file-mutation-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-ptzhgr5h.js → bus-w81afp83.js} +8 -8
- package/dist/chunks/{file-mutation-sp6dvf2v.js → bus-wccq2216.js} +9 -9
- package/dist/chunks/{file-mutation-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-mg72ab2k.js → bus-whbvmyya.js} +27 -27
- package/dist/chunks/{file-mutation-rctxm0qc.js → bus-wjc2s1ba.js} +29 -29
- package/dist/chunks/{file-mutation-tdz9b6vr.js → bus-wk58jv74.js} +10 -10
- package/dist/chunks/{file-mutation-yrrr1c1d.js → bus-wmbchhnn.js} +8 -8
- package/dist/chunks/{file-mutation-7yae232w.js → bus-wmshdsxh.js} +11 -11
- package/dist/chunks/{file-mutation-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-0rkmensh.js → bus-x227z7gv.js} +13 -13
- package/dist/chunks/{file-mutation-x43y2vfs.js → bus-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-dpkj867d.js → bus-x8d28zyr.js} +24 -24
- package/dist/chunks/{file-mutation-qtc2be4y.js → bus-xfbp7vg3.js} +19 -19
- package/dist/chunks/{file-mutation-n37c4crj.js → bus-xhmq8qgk.js} +9 -9
- package/dist/chunks/{file-mutation-48dbrct6.js → bus-xjr4j2j6.js} +35 -35
- package/dist/chunks/{file-mutation-z1rj0apg.js → bus-xkvztyjm.js} +4 -4
- package/dist/chunks/{file-mutation-m6yajhq8.js → bus-xtx0ppn2.js} +9 -9
- package/dist/chunks/{file-mutation-6sv6dpsj.js → bus-xxcpn45b.js} +23 -23
- package/dist/chunks/{file-mutation-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-dpkg50ah.js → bus-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-606feepv.js → bus-y7whqpt3.js} +13 -13
- package/dist/chunks/{file-mutation-xgggc9mx.js → bus-y8qpbdny.js} +7 -7
- package/dist/chunks/{file-mutation-a3x7agn0.js → bus-yms512cs.js} +13 -13
- package/dist/chunks/{file-mutation-zsxc4c9d.js → bus-yn80fmw6.js} +24 -24
- package/dist/chunks/{file-mutation-1acjjqhc.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/bus-ypn041zc.js +22 -0
- package/dist/chunks/{file-mutation-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-bpestkwk.js → bus-yrm8zfgt.js} +18 -18
- package/dist/chunks/{file-mutation-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-kw005k4s.js → bus-yv5atzv7.js} +14 -14
- package/dist/chunks/{file-mutation-3az26vt0.js → bus-ywkmcjzw.js} +4 -4
- package/dist/chunks/{file-mutation-tjz4jb0t.js → bus-yxfbxqnd.js} +23 -23
- package/dist/chunks/{file-mutation-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-x4nm51dm.js → bus-z9e6b7he.js} +5 -5
- package/dist/chunks/{file-mutation-vhyew4fq.js → bus-zardaqg6.js} +13 -13
- package/dist/chunks/{file-mutation-tdzs1sts.js → bus-zc9t3nk1.js} +18 -18
- package/dist/chunks/{file-mutation-kne8f3cn.js → bus-zcrspsvn.js} +4 -4
- package/dist/chunks/{file-mutation-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-4xhhjths.js → bus-zex37ywk.js} +5 -5
- package/dist/chunks/{file-mutation-06z9ykg9.js → bus-zfaxcb8h.js} +4 -4
- package/dist/chunks/{file-mutation-7p10x1xf.js → bus-zmgyev29.js} +23 -23
- package/dist/chunks/{file-mutation-y6gtn0j7.js → bus-zpp4pmky.js} +8 -8
- package/dist/chunks/{file-mutation-hh3rdgg0.js → bus-zq6w5y0q.js} +13 -13
- package/dist/chunks/{file-mutation-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-kmv022h3.js → bus-zxgnc9zk.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +71 -71
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +74 -74
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.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 +5 -5
- 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 +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +7 -7
- package/dist/shell.js +127 -127
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +103 -103
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/file-mutation-222skj7k.js +0 -22
- package/dist/chunks/file-mutation-8133rf48.js +0 -462
- package/dist/chunks/file-mutation-9sh4wc5j.js +0 -18
- package/dist/chunks/file-mutation-b48n75y5.js +0 -247
- /package/dist/chunks/{file-mutation-0mesazry.js → bus-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-2f04pwep.js → bus-2f04pwep.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-paphc93g.js → bus-paphc93g.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service45,
|
|
6
|
+
node48
|
|
7
|
+
} from "./bus-6zhe6btj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-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: () => Service18,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer9,
|
|
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 UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service18 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service45;
|
|
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",
|
|
@@ -61,12 +61,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service18.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node22 = makeLocationNode({
|
|
67
|
+
service: Service18,
|
|
68
|
+
layer: layer9,
|
|
69
|
+
deps: [node48, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service18, layer9, node22, exports_generate };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./bus-8292cgjf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service66,
|
|
11
|
+
node70
|
|
12
|
+
} from "./bus-3sx2gfrt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./bus-yv5atzv7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node71
|
|
20
|
+
} from "./bus-yn80fmw6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID8,
|
|
23
|
+
Service53,
|
|
24
|
+
node57
|
|
25
|
+
} from "./bus-1w4paq8s.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service47,
|
|
34
|
+
node50
|
|
35
|
+
} from "./bus-5cry39zx.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-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: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service38,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool2,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer16,
|
|
67
|
+
node: () => node42
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool2 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service67;
|
|
179
|
+
const bus = yield* Service79;
|
|
180
|
+
const forms = yield* Service53;
|
|
181
|
+
const integration = yield* Service47;
|
|
182
|
+
const credentials = yield* Service66;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID8.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -358,7 +358,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool2({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* 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(
|
|
436
|
+
const result = yield* 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(Service67, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service38.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service38,
|
|
713
|
+
layer: layer16(options),
|
|
714
|
+
deps: [node81, node71, node84, node57, node50, node70]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node42 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./bus-6ez8fd9t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service51
|
|
10
|
+
} from "./bus-0tm0kv5t.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input6,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin7,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name6,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin7 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service51;
|
|
51
|
+
const permission = yield* Service71;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input6,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin38 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output5, description4, toModelOutput2, Plugin7, exports_skill };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./bus-arcj627b.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID14,
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
17
|
+
Info: () => Info27,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service72,
|
|
21
21
|
node: () => node77
|
|
@@ -26,8 +26,8 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID14 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var Info27 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -39,7 +39,7 @@ var AddInput2 = Schema.Struct({
|
|
|
39
39
|
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
41
|
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
-
const db = (yield*
|
|
42
|
+
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -64,6 +64,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
64
64
|
});
|
|
65
65
|
return Service72.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var node77 = makeGlobalNode({ service: Service72, layer, deps: [
|
|
67
|
+
var node77 = makeGlobalNode({ service: Service72, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export { ID14,
|
|
69
|
+
export { ID14, Info27, ListInput4, AddInput2, Service72, node77, exports_saved };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node74
|
|
7
|
+
} from "./bus-y7whqpt3.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-2f04pwep.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
@@ -78,7 +78,7 @@ function decrementSession(input, sessionID) {
|
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
80
|
var make19 = Effect.gen(function* () {
|
|
81
|
-
const kv = yield*
|
|
81
|
+
const kv = yield* Service69;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -320,6 +320,6 @@ var make19 = Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
322
|
var layer = Layer.effect(Service56, make19);
|
|
323
|
-
var node60 = makeGlobalNode({ service: Service56, layer, deps: [
|
|
323
|
+
var node60 = makeGlobalNode({ service: Service56, layer, deps: [node74] });
|
|
324
324
|
|
|
325
325
|
export { Service56, make19, node60, exports_job };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./bus-fxdzhz3a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./bus-vyjzrkx0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const image = yield* Service58;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin10 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin30, exports_image };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./bus-yv5atzv7.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service36,
|
|
19
|
+
node: () => node41
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service76;
|
|
29
|
+
return Service36.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node41 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service36, node41, exports_builtins };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-2f04pwep.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|