@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./bus-arcj627b.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node84
|
|
9
|
+
} from "./bus-8292cgjf.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-wmbchhnn.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node78
|
|
22
|
+
} from "./bus-gdvdcvqc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service28,
|
|
25
|
+
node33
|
|
26
|
+
} from "./bus-ntazn48k.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node4
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service79;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service28;
|
|
65
|
+
const store = yield* Service73;
|
|
66
|
+
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node4 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node84, llmClient2, node33, node78, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./bus-8292cgjf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID12
|
|
6
|
+
} from "./bus-9qn3qky1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID9
|
|
9
|
+
} from "./bus-8e0dmvmv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event17
|
|
12
|
+
} from "./bus-3sx2gfrt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID5
|
|
15
|
+
} from "./bus-5cry39zx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service46
|
|
18
|
+
} from "./bus-0g3tnqy3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get2
|
|
21
|
+
} from "./bus-7s03h6w8.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID12.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service46;
|
|
31
|
+
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get2(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID9.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service77,
|
|
10
|
-
node82
|
|
11
|
-
} from "./file-mutation-qe9w01wa.js";
|
|
5
|
+
Service80,
|
|
6
|
+
node85
|
|
7
|
+
} from "./bus-arcj627b.js";
|
|
12
8
|
import {
|
|
13
9
|
Service79,
|
|
14
10
|
node84
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./bus-8292cgjf.js";
|
|
12
|
+
import {
|
|
13
|
+
Service78,
|
|
14
|
+
node83
|
|
15
|
+
} from "./bus-wk58jv74.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service79;
|
|
102
|
+
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service77.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node82 = makeGlobalNode({
|
|
277
|
+
service: Service77,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2,
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./bus-yv5atzv7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./bus-yn80fmw6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service25
|
|
15
|
+
} from "./bus-knth1fvs.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-15qsbqmq.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service71
|
|
24
|
+
} from "./bus-6ez8fd9t.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service70
|
|
27
|
+
} from "./bus-k8ebjhqy.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin6,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin6 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service67;
|
|
70
|
+
const ripgrep = yield* Service25;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service70;
|
|
73
|
+
const permission = yield* Service71;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin37 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output4, toModelContent3, Plugin6, exports_glob };
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-gdvy8fx6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render3(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -45,10 +45,10 @@ function render2(catalog) {
|
|
|
45
45
|
${tools.join(`
|
|
46
46
|
`)}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render3(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,18 +113,18 @@ ${render2(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make15 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
118
|
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
124
|
-
changed:
|
|
123
|
+
initial: render3,
|
|
124
|
+
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render3, update3, make15, exports_instructions5 };
|