@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./bus-arcj627b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./bus-8292cgjf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service43,
|
|
11
|
+
node46
|
|
12
|
+
} from "./bus-ve6nm2s5.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node82
|
|
20
|
+
} from "./bus-35s1r081.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-yv5atzv7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service48,
|
|
26
|
+
node51
|
|
27
|
+
} from "./bus-f5ckxc6k.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-k7d0894y.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./bus-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service41
|
|
39
|
+
} from "./bus-zcrspsvn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service73,
|
|
42
|
+
node78
|
|
43
|
+
} from "./bus-gdvdcvqc.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service42,
|
|
48
|
+
node45,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./bus-50tgre74.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service40,
|
|
53
|
+
node44
|
|
54
|
+
} from "./bus-jkvdn3cn.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./bus-x8d28zyr.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./bus-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service27,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service27 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service48;
|
|
93
|
+
const store = yield* Service73;
|
|
94
|
+
const execution = yield* Service40;
|
|
95
|
+
const instances = yield* Service43;
|
|
96
|
+
const admission = yield* Service42;
|
|
97
|
+
const database = yield* Service80;
|
|
98
|
+
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service27,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
node81,
|
|
173
|
-
node55,
|
|
174
|
-
node76,
|
|
175
|
-
node47,
|
|
176
|
-
node50,
|
|
177
|
-
node49,
|
|
178
|
-
node83,
|
|
179
172
|
node82,
|
|
180
|
-
|
|
173
|
+
node51,
|
|
174
|
+
node78,
|
|
175
|
+
node44,
|
|
176
|
+
node46,
|
|
177
|
+
node45,
|
|
178
|
+
node85,
|
|
179
|
+
node84,
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node31, exports_move };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./bus-wk58jv74.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service69,
|
|
16
|
+
node74
|
|
17
|
+
} from "./bus-y7whqpt3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service57,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node61,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service57 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service69;
|
|
110
|
+
return Service57.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node61 = makeGlobalNode({
|
|
171
|
+
service: Service57,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node74]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service57, isError2, validateBranch2, node61, exports_repository_cache };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./bus-arcj627b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./bus-8292cgjf.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info24,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service66,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node70
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service66 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service66.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info24({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event17, Info24, Service66, node70, exports_credential };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./bus-ve6nm2s5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-qc068m1q.js";
|
|
7
7
|
import {
|
|
8
8
|
Service59
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-xjr4j2j6.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
25
|
+
const instances = yield* Service43;
|
|
26
26
|
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service77,
|
|
3
|
-
node82
|
|
4
|
-
} from "./file-mutation-qe9w01wa.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./bus-8292cgjf.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./bus-wk58jv74.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node81
|
|
12
|
+
} from "./bus-yv5atzv7.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-qc068m1q.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service64,
|
|
18
|
+
node68
|
|
19
|
+
} from "./bus-s2pmvhcg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./bus-0vqg61vt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service7,
|
|
25
25
|
node10
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-fjmrr6sh.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service64;
|
|
48
|
+
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
|
+
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node68, FSUtil.node, node81, node83, node84, node20, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|