@opencode/core 0.0.0-dev-20822 → 0.0.0-dev-20823
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-xb2we2km.js → plugin-061x37t8.js} +1 -1
- package/dist/chunks/{generate-7ey4124n.js → plugin-08t5zg32.js} +11 -11
- package/dist/chunks/{generate-qawb3j5e.js → plugin-0afbjnzr.js} +22 -22
- package/dist/chunks/{generate-yanphvs7.js → plugin-0gsbwkzt.js} +40 -40
- package/dist/chunks/{generate-q0xm7vwc.js → plugin-0j77ygfz.js} +6 -6
- package/dist/chunks/{generate-pz6ttcym.js → plugin-0mghaw6q.js} +13 -13
- package/dist/chunks/{generate-414x8gee.js → plugin-0n53rfxy.js} +25 -25
- package/dist/chunks/{generate-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-cf46dtcg.js → plugin-0sacbgq8.js} +11 -11
- package/dist/chunks/{generate-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-as8fptsq.js → plugin-0vxwrg02.js} +22 -22
- package/dist/chunks/{generate-1etkwrgs.js → plugin-14qjrqcw.js} +6 -6
- package/dist/chunks/{generate-99p0sw4h.js → plugin-159r1yn6.js} +2 -2
- package/dist/chunks/{generate-r8xr0va3.js → plugin-1acjjqhc.js} +4 -4
- package/dist/chunks/{generate-5dcyhnv6.js → plugin-1bevbqqj.js} +14 -14
- package/dist/chunks/{generate-fdcefk57.js → plugin-1ck3q5mz.js} +24 -24
- package/dist/chunks/plugin-1s1cv7f2.js +253 -0
- package/dist/chunks/{generate-wpybfb3e.js → plugin-1z18ck0n.js} +9 -9
- package/dist/chunks/{generate-jgttmm4a.js → plugin-207ajt2h.js} +5 -5
- package/dist/chunks/{generate-p66htvvv.js → plugin-2125jrc0.js} +18 -18
- package/dist/chunks/{generate-4ts7tf6z.js → plugin-2ccvkpx1.js} +2 -2
- package/dist/chunks/{generate-5ndn92dg.js → plugin-2n265nzp.js} +17 -17
- package/dist/chunks/{generate-0qjyyrcy.js → plugin-2sgrzhf0.js} +11 -11
- package/dist/chunks/{generate-2vvh33eb.js → plugin-2vvh33eb.js} +2 -2
- package/dist/chunks/{generate-26ygdbvf.js → plugin-2y7g6pt4.js} +24 -24
- package/dist/chunks/{generate-31xfzrxg.js → plugin-31xfzrxg.js} +2 -2
- package/dist/chunks/{generate-bhj1c4q4.js → plugin-3azjfkq3.js} +27 -27
- package/dist/chunks/{generate-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → plugin-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-addxnjmp.js → plugin-3y377wv9.js} +4 -4
- package/dist/chunks/{generate-mkw2e1j5.js → plugin-3yxf4y5g.js} +9 -9
- package/dist/chunks/{generate-ns06ffs6.js → plugin-3zn4cnw5.js} +26 -26
- package/dist/chunks/{generate-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-v0es1rhs.js → plugin-4434d9q2.js} +9 -9
- package/dist/chunks/{generate-gpx3ftbp.js → plugin-45y5r6h0.js} +16 -16
- package/dist/chunks/{generate-0r3c1bmw.js → plugin-47jkzegy.js} +5 -5
- package/dist/chunks/{generate-xw12mrbm.js → plugin-4dzrgftc.js} +11 -11
- package/dist/chunks/{generate-73kdj4zj.js → plugin-4e8vs6eh.js} +8 -8
- package/dist/chunks/{generate-50zqcjzm.js → plugin-4jwpvep1.js} +15 -15
- package/dist/chunks/{generate-qq60wpws.js → plugin-4tw3697a.js} +19 -19
- package/dist/chunks/{generate-n1n192bv.js → plugin-4z58m4b4.js} +4 -4
- package/dist/chunks/{generate-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-z1f5xzt9.js → plugin-592bb1sy.js} +12 -12
- package/dist/chunks/{generate-zht27asq.js → plugin-59b115kr.js} +9 -9
- package/dist/chunks/{generate-p247cx2g.js → plugin-59wgbztd.js} +27 -27
- package/dist/chunks/{generate-etnnvm17.js → plugin-5bphcjzp.js} +4 -4
- package/dist/chunks/{generate-ryaf6466.js → plugin-5eggv871.js} +14 -14
- package/dist/chunks/{generate-6jcs850k.js → plugin-5egmf1b2.js} +32 -32
- package/dist/chunks/{generate-zpygae8c.js → plugin-5gsmcs0s.js} +13 -13
- package/dist/chunks/{generate-9jh6z5zf.js → plugin-5k5y8kfk.js} +3 -3
- package/dist/chunks/{generate-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-vjjaysxc.js → plugin-5pyjqqve.js} +2 -2
- package/dist/chunks/{generate-9mekg669.js → plugin-5rqt7f80.js} +11 -11
- package/dist/chunks/{generate-bxrzg0nt.js → plugin-5vxzgdcs.js} +4 -4
- package/dist/chunks/{generate-05ygkdhz.js → plugin-60q0me2z.js} +4 -4
- package/dist/chunks/{generate-jmpkjbdp.js → plugin-618rftj7.js} +31 -31
- package/dist/chunks/{generate-tzgez07c.js → plugin-65nfjkhg.js} +95 -95
- package/dist/chunks/{generate-7pkkq0g6.js → plugin-6b5daphh.js} +9 -9
- package/dist/chunks/{generate-p8jn648k.js → plugin-6my2x26h.js} +31 -31
- package/dist/chunks/{generate-7nvdqcj1.js → plugin-6n4yn6fb.js} +12 -12
- package/dist/chunks/{generate-3paqt3vg.js → plugin-6p3qk4zh.js} +20 -20
- package/dist/chunks/{generate-1t7jvytf.js → plugin-6q2kj0te.js} +3 -3
- package/dist/chunks/{generate-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-ghj4jhwa.js → plugin-74t6edms.js} +4 -4
- package/dist/chunks/{generate-9bxdtn1w.js → plugin-76f701w3.js} +41 -41
- package/dist/chunks/{generate-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-avjnwv6y.js → plugin-7ndy0eps.js} +9 -9
- package/dist/chunks/{generate-ghr137jg.js → plugin-7pghxf47.js} +1 -1
- package/dist/chunks/{generate-bh0zzf2s.js → plugin-7rwqf82v.js} +8 -8
- package/dist/chunks/{generate-m168jgsb.js → plugin-7s9vry3q.js} +3 -3
- package/dist/chunks/{generate-2xx6zsf3.js → plugin-7v81x33d.js} +9 -9
- package/dist/chunks/{generate-xjc6kz28.js → plugin-80ejkm49.js} +4 -4
- package/dist/chunks/{generate-df8cv41v.js → plugin-82d1f670.js} +11 -11
- package/dist/chunks/{generate-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{generate-qhhybq9g.js → plugin-8876qm3g.js} +16 -16
- package/dist/chunks/{generate-mkr540vq.js → plugin-88j6cjwm.js} +3 -3
- package/dist/chunks/{generate-d6ajg2rf.js → plugin-89rm2zja.js} +11 -11
- package/dist/chunks/{generate-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-a5vpg89g.js → plugin-8mv8d0mc.js} +20 -20
- package/dist/chunks/{generate-5y870mzr.js → plugin-8r87cmmw.js} +35 -35
- package/dist/chunks/{generate-00xy856b.js → plugin-8rwhsj9c.js} +30 -30
- package/dist/chunks/{generate-j09zfasm.js → plugin-91qna3x0.js} +3 -3
- package/dist/chunks/{generate-bj8v9jw6.js → plugin-93r0jw5s.js} +13 -13
- package/dist/chunks/{generate-hcv80w8f.js → plugin-967benbv.js} +11 -11
- package/dist/chunks/{generate-e39bpxxn.js → plugin-97q3h1t9.js} +25 -25
- package/dist/chunks/{generate-2v043g86.js → plugin-982dy9v8.js} +74 -74
- package/dist/chunks/{generate-ssc1sjfq.js → plugin-98mz35zf.js} +17 -17
- package/dist/chunks/{generate-g0445xdp.js → plugin-9hn6k4tm.js} +8 -8
- package/dist/chunks/{generate-062s4805.js → plugin-9rp2m95v.js} +9 -9
- package/dist/chunks/{generate-5swdxk6g.js → plugin-a1gprahp.js} +18 -18
- package/dist/chunks/{generate-5ymeyv1w.js → plugin-a347nh2p.js} +16 -16
- package/dist/chunks/{generate-wjqbea41.js → plugin-a3eadrmx.js} +1 -1
- package/dist/chunks/{generate-pzr67869.js → plugin-aee2tzq6.js} +22 -22
- package/dist/chunks/{generate-rbypsz8f.js → plugin-aybjdx56.js} +22 -22
- package/dist/chunks/{generate-t2fc4mz5.js → plugin-b27vhd2z.js} +4 -4
- package/dist/chunks/{generate-71ngg8t7.js → plugin-b2gqp5zp.js} +24 -24
- package/dist/chunks/{generate-bpcxez5f.js → plugin-b9gf7x45.js} +34 -34
- package/dist/chunks/{generate-ca2gnmfk.js → plugin-bcsbag3k.js} +14 -14
- package/dist/chunks/{generate-1ffvrpkg.js → plugin-bjx1sjef.js} +6 -6
- package/dist/chunks/{generate-09zenxvv.js → plugin-bmffrw1v.js} +22 -22
- package/dist/chunks/{generate-0w0a6ggm.js → plugin-bnjyp57e.js} +31 -31
- package/dist/chunks/{generate-5w5jq283.js → plugin-by2aypax.js} +42 -42
- package/dist/chunks/{generate-c1fqxshp.js → plugin-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-s6bjkv0c.js → plugin-cep37vxe.js} +5 -5
- package/dist/chunks/{generate-bqszwq89.js → plugin-cjwramev.js} +4 -4
- package/dist/chunks/{generate-twkdmtn8.js → plugin-cs3ybxkb.js} +18 -18
- package/dist/chunks/{generate-cpneeje0.js → plugin-d4he2qe1.js} +5 -5
- package/dist/chunks/plugin-d54hk8ag.js +26 -0
- package/dist/chunks/{generate-fjw3nvvd.js → plugin-d5atheqn.js} +31 -31
- package/dist/chunks/{generate-160rcs8y.js → plugin-d6kktm3w.js} +50 -50
- package/dist/chunks/{generate-gdrandd6.js → plugin-d7wb22yq.js} +50 -50
- package/dist/chunks/{generate-a89e0tac.js → plugin-d858xzj7.js} +4 -4
- package/dist/chunks/{generate-yj62bxk4.js → plugin-dcwmqsyn.js} +5 -5
- package/dist/chunks/{generate-j2jef1q4.js → plugin-dkaw1ydm.js} +4 -4
- package/dist/chunks/{generate-reqxrgzt.js → plugin-dv6pzha9.js} +84 -84
- package/dist/chunks/{generate-k16919zw.js → plugin-dzxee4qf.js} +163 -163
- package/dist/chunks/{generate-1pv1yjxt.js → plugin-e24d0z83.js} +13 -13
- package/dist/chunks/{generate-veskmrv3.js → plugin-e2rpexqj.js} +16 -16
- package/dist/chunks/{generate-5qd3pb7m.js → plugin-e3qxr5gk.js} +2 -2
- package/dist/chunks/{generate-nma959mg.js → plugin-e80seqcp.js} +3 -3
- package/dist/chunks/{generate-f8csk04c.js → plugin-e9djhfqm.js} +47 -47
- package/dist/chunks/{generate-y8h65rfj.js → plugin-ebwd0fgm.js} +9 -9
- package/dist/chunks/{generate-eej6y6fw.js → plugin-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-94s2fjr0.js → plugin-ejjdbph3.js} +21 -21
- package/dist/chunks/{generate-6f79zr0p.js → plugin-enj9hnwr.js} +23 -23
- package/dist/chunks/{generate-nt3nt5tk.js → plugin-epsvh9ph.js} +11 -11
- package/dist/chunks/{generate-6r5cntrs.js → plugin-ers8c2fb.js} +19 -19
- package/dist/chunks/{generate-bzkva2b5.js → plugin-eybg9pzq.js} +30 -30
- package/dist/chunks/{generate-84n10917.js → plugin-fbda8msv.js} +11 -11
- package/dist/chunks/{generate-7dqw4kz8.js → plugin-fcrkznn8.js} +5 -5
- package/dist/chunks/{generate-x2aynqqh.js → plugin-fdms3n6w.js} +9 -9
- package/dist/chunks/{generate-qzdbzfxf.js → plugin-fft94ved.js} +11 -11
- package/dist/chunks/{generate-sxfhf5rq.js → plugin-fj1pakky.js} +9 -9
- package/dist/chunks/{generate-q43yzn0p.js → plugin-fpz8ppdk.js} +23 -23
- package/dist/chunks/{generate-6nb7w1fw.js → plugin-fz0yqa9g.js} +10 -10
- package/dist/chunks/{generate-3bq8wp9n.js → plugin-gam45aax.js} +30 -30
- package/dist/chunks/{generate-1a6rqj7y.js → plugin-gbye2m5q.js} +42 -42
- package/dist/chunks/{generate-7zp440a8.js → plugin-gc8tyy0w.js} +59 -59
- package/dist/chunks/{generate-3g8j9he4.js → plugin-gd0tnyjc.js} +1 -1
- package/dist/chunks/{generate-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-rj5es3mk.js → plugin-gdwkbaw9.js} +3 -3
- package/dist/chunks/{generate-11t5tcys.js → plugin-geph165d.js} +7 -7
- package/dist/chunks/{generate-gk8qb678.js → plugin-gk8qb678.js} +1 -1
- package/dist/chunks/{generate-8kt5z095.js → plugin-gme4fe1z.js} +51 -51
- package/dist/chunks/{generate-mmvfs7np.js → plugin-h2k9w14v.js} +5 -5
- package/dist/chunks/{generate-qjgcwqyh.js → plugin-h4qdfb04.js} +3 -3
- package/dist/chunks/{generate-zyt2xg97.js → plugin-h59tgy8a.js} +10 -10
- package/dist/chunks/{generate-td2b297g.js → plugin-h6c5betn.js} +9 -9
- package/dist/chunks/{generate-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-sycqys4s.js → plugin-hffdwvyh.js} +5 -5
- package/dist/chunks/{generate-jy4fskgg.js → plugin-hgd10vy7.js} +14 -14
- package/dist/chunks/{generate-yv88v3w0.js → plugin-hgf982ah.js} +10 -10
- package/dist/chunks/{generate-hgz4x7wa.js → plugin-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-dpsbv5y8.js → plugin-hn97hcnn.js} +21 -21
- package/dist/chunks/{generate-hq3c8me3.js → plugin-hq3c8me3.js} +1 -1
- package/dist/chunks/{generate-h2qe489w.js → plugin-hxvz4mjc.js} +12 -12
- package/dist/chunks/{generate-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-dh1vd407.js → plugin-j8ftn7g2.js} +13 -13
- package/dist/chunks/{generate-h2vs0bhh.js → plugin-j8xqtsvv.js} +9 -9
- package/dist/chunks/{generate-gnjv7wb4.js → plugin-jfgygxms.js} +20 -20
- package/dist/chunks/{generate-56x7qzcz.js → plugin-jjhd5z8q.js} +15 -15
- package/dist/chunks/{generate-49w7vtg3.js → plugin-jmnf8cfw.js} +26 -26
- package/dist/chunks/{generate-c3ckhrz0.js → plugin-jqssw7m0.js} +3 -3
- package/dist/chunks/{generate-kdjbjbt9.js → plugin-jsfp09cq.js} +8 -8
- package/dist/chunks/{generate-5x9qztn0.js → plugin-k5pxengy.js} +2 -2
- package/dist/chunks/{generate-s753ees3.js → plugin-k62wg7bw.js} +9 -9
- package/dist/chunks/{generate-6se1cknn.js → plugin-kaxes9n8.js} +27 -27
- package/dist/chunks/{generate-yw8jj2jc.js → plugin-kgvr5kes.js} +29 -29
- package/dist/chunks/{generate-57myy5jh.js → plugin-kjdm35cs.js} +5 -5
- package/dist/chunks/{generate-txm3e8qz.js → plugin-kqv3x6rj.js} +9 -9
- package/dist/chunks/{generate-kqx1b4hy.js → plugin-kqx1b4hy.js} +4 -4
- package/dist/chunks/{generate-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-e0qr11w8.js → plugin-m9x0s52e.js} +3 -3
- package/dist/chunks/{generate-kwr9kqyk.js → plugin-mjp57ywm.js} +13 -13
- package/dist/chunks/{generate-6enyyjcc.js → plugin-mjyc0eg7.js} +22 -22
- package/dist/chunks/{generate-dts7v26c.js → plugin-mnwggq08.js} +14 -14
- package/dist/chunks/{generate-1wa46tec.js → plugin-mp572k2z.js} +25 -25
- package/dist/chunks/{generate-vwp368aj.js → plugin-mvmfgwc8.js} +8 -8
- package/dist/chunks/{generate-rpf1qvc3.js → plugin-mweeaapw.js} +4 -4
- package/dist/chunks/{generate-4btsmmfc.js → plugin-nqjpk2mw.js} +7 -7
- package/dist/chunks/{generate-jmh888fr.js → plugin-nrp9mwhy.js} +9 -9
- package/dist/chunks/{generate-1ajhb62d.js → plugin-nz755hq5.js} +11 -11
- package/dist/chunks/{generate-tgk11rr4.js → plugin-p43j5atp.js} +13 -13
- package/dist/chunks/{generate-zs97etz9.js → plugin-pbd184me.js} +6 -6
- package/dist/chunks/{generate-2p1053mb.js → plugin-phs13s5a.js} +10 -10
- package/dist/chunks/{generate-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{generate-dw0pgfhe.js → plugin-pvhak42s.js} +23 -23
- package/dist/chunks/{generate-8sze2n9a.js → plugin-py3kkmfq.js} +6 -6
- package/dist/chunks/{generate-5rfpaqnm.js → plugin-qcy1afjb.js} +4 -4
- package/dist/chunks/{generate-xnb3xs02.js → plugin-qemahjw3.js} +15 -15
- package/dist/chunks/{generate-5y4yv9md.js → plugin-qk5bkgmy.js} +30 -30
- package/dist/chunks/{generate-y1hkzf3z.js → plugin-qkpse39q.js} +17 -17
- package/dist/chunks/{generate-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-2qfnhhnx.js → plugin-qsyqdstv.js} +14 -14
- package/dist/chunks/{generate-tzs3fzf0.js → plugin-r56qnc8x.js} +31 -31
- package/dist/chunks/plugin-rap9a73h.js +18 -0
- package/dist/chunks/{generate-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rbpvdgf0.js → plugin-re585wd9.js} +5 -5
- package/dist/chunks/{generate-rert0e01.js → plugin-rert0e01.js} +2 -2
- package/dist/chunks/{generate-rhjbct0v.js → plugin-rhjbct0v.js} +1 -1
- package/dist/chunks/{generate-rj3eygr5.js → plugin-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-dvy4g42d.js → plugin-rkcx3hv9.js} +16 -16
- package/dist/chunks/{generate-c9gd1t00.js → plugin-rpvf7ht0.js} +3 -3
- package/dist/chunks/{generate-89m67667.js → plugin-rq8jj6w9.js} +35 -35
- package/dist/chunks/{generate-9bbmxcdc.js → plugin-rvws41zy.js} +321 -321
- package/dist/chunks/{generate-4ef53dch.js → plugin-s42vkex2.js} +49 -49
- package/dist/chunks/{generate-knydcxqy.js → plugin-s4k562zt.js} +27 -27
- package/dist/chunks/{generate-sa8ekw3f.js → plugin-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-b3f8fkhc.js → plugin-scgrse2b.js} +5 -5
- package/dist/chunks/{generate-22bged4x.js → plugin-sg3541yr.js} +15 -15
- package/dist/chunks/{generate-em04vqmr.js → plugin-sjt8vgj6.js} +5 -5
- package/dist/chunks/{generate-ef9wzcjn.js → plugin-sk8sg77m.js} +25 -25
- package/dist/chunks/{generate-neaak72d.js → plugin-sp3frt9s.js} +1 -1
- package/dist/chunks/{generate-w97zvttz.js → plugin-sqt863se.js} +16 -16
- package/dist/chunks/{generate-4cnnb2a1.js → plugin-svz1m89k.js} +11 -11
- package/dist/chunks/{generate-wnmcdmt7.js → plugin-sxjx4pe5.js} +18 -18
- package/dist/chunks/{generate-syv4x271.js → plugin-syv4x271.js} +1 -1
- package/dist/chunks/{generate-r7y0pbzb.js → plugin-t5xaxvnk.js} +17 -17
- package/dist/chunks/{generate-zee1rnkq.js → plugin-t7n9q6bq.js} +4 -4
- package/dist/chunks/{generate-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-x59vjzsy.js → plugin-tbpvgwx6.js} +24 -24
- package/dist/chunks/{generate-nzq7ck9f.js → plugin-tcay1cqt.js} +6 -6
- package/dist/chunks/{generate-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-5yppedq1.js → plugin-td7tnc1b.js} +21 -21
- package/dist/chunks/{generate-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{generate-qfdnw4sm.js → plugin-thbc8ajp.js} +2 -2
- package/dist/chunks/{generate-17ykyzhr.js → plugin-thqymva4.js} +1 -1
- package/dist/chunks/{generate-8a4nd1r6.js → plugin-tkjfcan5.js} +12 -12
- package/dist/chunks/{generate-1y9xp183.js → plugin-tkm6pdgr.js} +11 -11
- package/dist/chunks/{generate-amyfrnhk.js → plugin-tkwas6xg.js} +35 -35
- package/dist/chunks/{generate-kkxs5m9r.js → plugin-tn8e1b0c.js} +24 -24
- package/dist/chunks/{generate-hz1z6h17.js → plugin-twpht90h.js} +10 -10
- package/dist/chunks/{generate-tyytaxap.js → plugin-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-rx2z3qfv.js → plugin-v61fahaf.js} +8 -8
- package/dist/chunks/{generate-v7p4zvkq.js → plugin-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-rcgjm4ey.js → plugin-v9bjd2nm.js} +18 -18
- package/dist/chunks/{generate-krndrss9.js → plugin-vbdk3j7h.js} +4 -4
- package/dist/chunks/{generate-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-kq9xgsr8.js → plugin-vh8m0kv7.js} +20 -20
- package/dist/chunks/{generate-gm31ynds.js → plugin-vrzt526f.js} +5 -5
- package/dist/chunks/{generate-m3tq90br.js → plugin-vv26c3w7.js} +20 -20
- package/dist/chunks/{generate-w3z8hpcs.js → plugin-vvxj09sc.js} +8 -8
- package/dist/chunks/{generate-hzrfc1p4.js → plugin-vx3jgdek.js} +3 -3
- package/dist/chunks/{generate-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-06vzgydv.js → plugin-w1c9a0va.js} +34 -34
- package/dist/chunks/{generate-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-b9zxqtkb.js → plugin-wa63aazd.js} +11 -11
- package/dist/chunks/{generate-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{generate-y8v0f4w6.js → plugin-wgm6beay.js} +5 -5
- package/dist/chunks/{generate-mgrzhrw3.js → plugin-wpqcbwtm.js} +12 -12
- package/dist/chunks/{generate-ab9ytqvy.js → plugin-x21gy8xc.js} +12 -12
- package/dist/chunks/{generate-had0cjaf.js → plugin-x2a3d05p.js} +46 -46
- package/dist/chunks/{generate-jdedt8rb.js → plugin-x4scsdvr.js} +20 -20
- package/dist/chunks/{generate-xfkkasph.js → plugin-xfkkasph.js} +1 -1
- package/dist/chunks/{generate-tdpcz01t.js → plugin-xt2cp7j7.js} +4 -4
- package/dist/chunks/{generate-w40ef370.js → plugin-xvt8esm3.js} +39 -39
- package/dist/chunks/{generate-2p2kjyer.js → plugin-xx3z1yrm.js} +11 -11
- package/dist/chunks/{generate-9zbw5rmr.js → plugin-xz3vz871.js} +19 -19
- package/dist/chunks/{generate-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-xy6qx0pe.js → plugin-y5t2kk7f.js} +7 -7
- package/dist/chunks/{generate-y71avatq.js → plugin-y71avatq.js} +1 -1
- package/dist/chunks/{generate-g686f6pq.js → plugin-y7nndgyc.js} +9 -9
- package/dist/chunks/{generate-r9xkyv2s.js → plugin-yg218sex.js} +15 -15
- package/dist/chunks/{generate-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-mnrbdwmb.js → plugin-z5dg9brp.js} +17 -17
- package/dist/chunks/{generate-bkfwd95h.js → plugin-z7q32mm4.js} +11 -11
- package/dist/chunks/{generate-5zgyb8b4.js → plugin-zc9gfbxq.js} +12 -12
- package/dist/chunks/{generate-v4t6rftf.js → plugin-zfhqg2dq.js} +37 -37
- package/dist/chunks/{generate-pnndnpeh.js → plugin-zgfn1wqh.js} +12 -12
- package/dist/chunks/{generate-cqjzeja5.js → plugin-zhbky07k.js} +42 -42
- package/dist/chunks/{generate-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-kabgg1kx.js → plugin-zzv6123n.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +92 -92
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/generate-69mbkchx.js +0 -253
- package/dist/chunks/generate-enfqrz6s.js +0 -26
- package/dist/chunks/generate-f81tjggh.js +0 -18
- /package/dist/chunks/{generate-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-bw78ga2c.js → plugin-bw78ga2c.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → plugin-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → plugin-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service74,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service74 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service74.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node78 = makeLocationNode({
|
|
137
|
+
service: Service74,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service74, node78, exports_tool_output2 };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-88j6cjwm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./plugin-wpqcbwtm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./plugin-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-1z18ck0n.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service60
|
|
29
|
+
} from "./plugin-e2rpexqj.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service46
|
|
34
|
+
} from "./plugin-3azjfkq3.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service44
|
|
37
|
+
} from "./plugin-0gsbwkzt.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./plugin-8876qm3g.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./plugin-xz3vz871.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./plugin-9rp2m95v.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./plugin-6b5daphh.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./plugin-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make14
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service60;
|
|
69
|
+
const instances = yield* Service48;
|
|
70
|
+
const execution = yield* Service44;
|
|
71
|
+
const admission = yield* Service46;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make14, exports_session2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service77,
|
|
18
|
+
node81
|
|
19
|
+
} from "./plugin-2n265nzp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service70,
|
|
22
|
+
node73
|
|
23
|
+
} from "./plugin-jmnf8cfw.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service69,
|
|
33
|
+
node: () => node72
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service69,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node72,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service69 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service77;
|
|
66
|
+
const workspace = yield* Service70;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node72 = makeLocationNode({
|
|
71
|
+
service: Service69,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node81, node73]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service69, node72, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service77
|
|
14
|
+
} from "./plugin-2n265nzp.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-ejjdbph3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin11,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin11 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service77;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin11, exports_git };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./plugin-by2aypax.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./plugin-tkm6pdgr.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const output = yield* Service74;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-3y377wv9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./plugin-wpqcbwtm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./plugin-6my2x26h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-r56qnc8x.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service76
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-6p3qk4zh.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-zgfn1wqh.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-5k5y8kfk.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-2sgrzhf0.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./plugin-kaxes9n8.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./plugin-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID16.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
166
|
const providers = yield* Service76;
|
|
167
|
-
const bus = yield*
|
|
167
|
+
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -237,7 +237,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
243
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -265,7 +265,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-207ajt2h.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./plugin-d6kktm3w.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin40,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin40 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service59;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description3,
|
|
104
|
-
input:
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin4 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin40, extractTextFromHTML2, exports_webfetch };
|