@opencode/core 0.0.0-dev-21741 → 0.0.0-dev-21745
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{provider-k0csj38z.js → snapshot-01ve1yxr.js} +23 -23
- package/dist/chunks/{provider-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{provider-6t7x7vt4.js → snapshot-06efqm8m.js} +17 -17
- package/dist/chunks/{provider-mhqptywc.js → snapshot-07c3528d.js} +38 -38
- package/dist/chunks/{provider-nm0wzb90.js → snapshot-0k1j1wdr.js} +11 -11
- package/dist/chunks/{provider-fa1zjye2.js → snapshot-0kjrd2qd.js} +33 -33
- package/dist/chunks/{provider-1b7feyff.js → snapshot-0p88zpcm.js} +4 -4
- package/dist/chunks/{provider-wggbn9vm.js → snapshot-0pchwhq8.js} +10 -10
- package/dist/chunks/{provider-gr1qaqsf.js → snapshot-0v17xkyr.js} +8 -8
- package/dist/chunks/{provider-mbrvjtz5.js → snapshot-0vn2ss9c.js} +5 -5
- package/dist/chunks/{provider-q8tzggtk.js → snapshot-146q7e0b.js} +16 -16
- package/dist/chunks/{provider-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{provider-fhtmtcx2.js → snapshot-1g4xnxab.js} +11 -11
- package/dist/chunks/{provider-yr9cnj92.js → snapshot-1nhpz7zk.js} +4 -4
- package/dist/chunks/{provider-5fm86d73.js → snapshot-1nqgcrc1.js} +51 -51
- package/dist/chunks/{provider-pacbbjc0.js → snapshot-1vdntpm3.js} +5 -5
- package/dist/chunks/{provider-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{provider-19mm4jkf.js → snapshot-22whgeeb.js} +18 -18
- package/dist/chunks/{provider-tmnyjpnt.js → snapshot-2njjtkdw.js} +47 -47
- package/dist/chunks/{provider-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
- package/dist/chunks/{provider-35ezct5e.js → snapshot-30ee3db1.js} +2 -2
- package/dist/chunks/{provider-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{provider-9jjx417m.js → snapshot-3qwxnent.js} +34 -34
- package/dist/chunks/{provider-453f90m3.js → snapshot-3y5jkgnv.js} +11 -11
- package/dist/chunks/{provider-7npwba49.js → snapshot-41peksc2.js} +7 -7
- package/dist/chunks/{provider-trxcyxd6.js → snapshot-49waears.js} +32 -32
- package/dist/chunks/snapshot-4a4jqpwz.js +257 -0
- package/dist/chunks/{provider-n0zcxq73.js → snapshot-4kk5y41y.js} +42 -42
- package/dist/chunks/{provider-ms6z8pm2.js → snapshot-4t0h3ecc.js} +11 -11
- package/dist/chunks/{provider-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{provider-7jzx5pkr.js → snapshot-4v48c47j.js} +15 -15
- package/dist/chunks/{provider-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
- package/dist/chunks/{provider-cgcf1fbe.js → snapshot-4xz63ymp.js} +33 -33
- package/dist/chunks/{provider-d1f6cs1b.js → snapshot-58rbgd2h.js} +23 -23
- package/dist/chunks/{provider-qkms8zfm.js → snapshot-59t3c98x.js} +6 -6
- package/dist/chunks/{provider-071pdryd.js → snapshot-5bn25yvx.js} +9 -9
- package/dist/chunks/{provider-pc1v25hk.js → snapshot-5crety7g.js} +3 -3
- package/dist/chunks/{provider-wzkzkmw6.js → snapshot-5js31cy8.js} +7 -7
- package/dist/chunks/{provider-957wh7sd.js → snapshot-5kbev7nh.js} +6 -6
- package/dist/chunks/{provider-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-b6vsg801.js → snapshot-5nnwax6m.js} +5 -5
- package/dist/chunks/{provider-b26jwmxb.js → snapshot-5tnc4nbn.js} +29 -29
- package/dist/chunks/{provider-bzc2yew2.js → snapshot-5x10bg3a.js} +20 -20
- package/dist/chunks/{provider-5zrxpy3q.js → snapshot-5zrxpy3q.js} +1 -1
- package/dist/chunks/{provider-msm4fd07.js → snapshot-62w55z8x.js} +8 -8
- package/dist/chunks/{provider-p9x59b0e.js → snapshot-67pdg5mz.js} +14 -14
- package/dist/chunks/{provider-bnmdnzdy.js → snapshot-6e1r9k58.js} +19 -19
- package/dist/chunks/{provider-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{provider-c79r94da.js → snapshot-6g24mm1y.js} +3 -3
- package/dist/chunks/{provider-0rm99xvh.js → snapshot-6hzzfs8d.js} +30 -30
- package/dist/chunks/{provider-b9ctexwj.js → snapshot-6n1s1dfa.js} +7 -7
- package/dist/chunks/{provider-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
- package/dist/chunks/{provider-aa4v34y7.js → snapshot-6tjk5bs4.js} +15 -15
- package/dist/chunks/{provider-7nznt803.js → snapshot-6vh6abp7.js} +4 -4
- package/dist/chunks/{provider-6q02j29c.js → snapshot-6zxm3gf7.js} +9 -9
- package/dist/chunks/{provider-k861cbc6.js → snapshot-75dns9y2.js} +16 -16
- package/dist/chunks/{provider-vrmynpr8.js → snapshot-7633k18y.js} +11 -11
- package/dist/chunks/{provider-w8qtt4th.js → snapshot-76cb1hcw.js} +4 -4
- package/dist/chunks/{provider-mfwfc967.js → snapshot-791mgs72.js} +12 -12
- package/dist/chunks/{provider-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-46ynt52a.js → snapshot-7m8hecea.js} +15 -15
- package/dist/chunks/{provider-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{provider-q49789rj.js → snapshot-7yect7x1.js} +2 -2
- package/dist/chunks/{provider-5ckzyhpz.js → snapshot-80pwfyqn.js} +16 -16
- package/dist/chunks/{provider-05yr7vd1.js → snapshot-81sa6vvk.js} +22 -22
- package/dist/chunks/{provider-xnzn40zn.js → snapshot-8f85gbek.js} +13 -13
- package/dist/chunks/{provider-9fjfbv8x.js → snapshot-8ny5g7zq.js} +22 -22
- package/dist/chunks/{provider-wm9hvyfa.js → snapshot-8vvxxr3d.js} +26 -26
- package/dist/chunks/{provider-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{provider-gfmp7vh0.js → snapshot-8xa1336w.js} +78 -78
- package/dist/chunks/{provider-mybr8r82.js → snapshot-8xmxx3r8.js} +24 -24
- package/dist/chunks/{provider-91rj84md.js → snapshot-91rj84md.js} +1 -1
- package/dist/chunks/{provider-9pkkzrmj.js → snapshot-96te9d4b.js} +5 -5
- package/dist/chunks/{provider-998yhzzq.js → snapshot-998yhzzq.js} +3 -3
- package/dist/chunks/{provider-5w231npz.js → snapshot-99e1pwyw.js} +61 -61
- package/dist/chunks/{provider-nbn2ey7n.js → snapshot-9bqzx224.js} +31 -31
- package/dist/chunks/{provider-apgvj0s5.js → snapshot-9ekt8wk3.js} +4 -4
- package/dist/chunks/{provider-mqcadzqw.js → snapshot-9g4cv0f3.js} +5 -5
- package/dist/chunks/{provider-rf6dem1w.js → snapshot-9jfbssnq.js} +13 -13
- package/dist/chunks/{provider-b3r2jmtt.js → snapshot-9pjcyyyz.js} +46 -46
- package/dist/chunks/{provider-6468grjv.js → snapshot-9xvj91tm.js} +32 -32
- package/dist/chunks/{provider-2esk3rz8.js → snapshot-9ydy8fkm.js} +9 -9
- package/dist/chunks/{provider-057k196j.js → snapshot-a5qg0yvf.js} +11 -11
- package/dist/chunks/snapshot-a610t88q.js +18 -0
- package/dist/chunks/{provider-7yfnjvkq.js → snapshot-a8azxzn2.js} +26 -26
- package/dist/chunks/{provider-an558sqv.js → snapshot-an558sqv.js} +1 -1
- package/dist/chunks/{provider-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{provider-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
- package/dist/chunks/{provider-5j03b1nz.js → snapshot-b5g8zywb.js} +5 -5
- package/dist/chunks/{provider-pa2pq7zw.js → snapshot-bcey06z6.js} +32 -32
- package/dist/chunks/{provider-42jd4697.js → snapshot-bjhzkqyk.js} +4 -4
- package/dist/chunks/{provider-9kx3zt08.js → snapshot-bjk9yhz6.js} +21 -21
- package/dist/chunks/{provider-5bther4g.js → snapshot-bkh5f3ma.js} +4 -4
- package/dist/chunks/{provider-mfpfhbf8.js → snapshot-brpe5pm9.js} +3 -3
- package/dist/chunks/{provider-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
- package/dist/chunks/{provider-4jdak5qx.js → snapshot-bzhcfbtm.js} +33 -33
- package/dist/chunks/{provider-zhbremzm.js → snapshot-c0jtyzjh.js} +18 -18
- package/dist/chunks/{provider-ny1dbsp1.js → snapshot-c1ny7psb.js} +13 -13
- package/dist/chunks/{provider-c3cfh5w6.js → snapshot-c3cfh5w6.js} +2 -2
- package/dist/chunks/{provider-z7ndhpe4.js → snapshot-c547q8a8.js} +3 -3
- package/dist/chunks/{provider-fddgahsh.js → snapshot-c63yzxyg.js} +11 -11
- package/dist/chunks/{provider-k7f2a4x5.js → snapshot-c76bvptd.js} +23 -23
- package/dist/chunks/{provider-293zmzk3.js → snapshot-cbdaszja.js} +25 -25
- package/dist/chunks/{provider-y3vq8k3g.js → snapshot-cyy23x7w.js} +340 -340
- package/dist/chunks/{provider-mpme1wak.js → snapshot-d2121cgz.js} +15 -15
- package/dist/chunks/{provider-mtkfycnh.js → snapshot-d2887f8n.js} +4 -4
- package/dist/chunks/{provider-h4fm09gc.js → snapshot-d4txh1kp.js} +32 -32
- package/dist/chunks/{provider-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{provider-c8gkay0f.js → snapshot-d69d80k0.js} +11 -11
- package/dist/chunks/{provider-wzkcfv1a.js → snapshot-dak4ewys.js} +35 -35
- package/dist/chunks/{provider-q2y63fzp.js → snapshot-damdxvc5.js} +28 -28
- package/dist/chunks/{provider-y00x4xpa.js → snapshot-dds9zz6p.js} +4 -4
- package/dist/chunks/{provider-0w85m5rg.js → snapshot-dhn570bz.js} +2 -2
- package/dist/chunks/{provider-32s59e8p.js → snapshot-dz8hhvgv.js} +9 -9
- package/dist/chunks/{provider-jz5mkmtx.js → snapshot-e5dqjz6v.js} +4 -4
- package/dist/chunks/{provider-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{provider-xrrkbgsx.js → snapshot-ed24c9s1.js} +26 -26
- package/dist/chunks/{provider-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-mw5gnzr4.js → snapshot-epqefa0z.js} +10 -10
- package/dist/chunks/{provider-hdwxh6w6.js → snapshot-erw1a2px.js} +14 -14
- package/dist/chunks/{provider-2y1gb7bf.js → snapshot-ew333j68.js} +37 -37
- package/dist/chunks/{provider-rsemmny5.js → snapshot-f3zns29m.js} +17 -17
- package/dist/chunks/{provider-sgn7mg05.js → snapshot-f4p1w2yj.js} +14 -14
- package/dist/chunks/{provider-skambewy.js → snapshot-f5pnm9ht.js} +5 -5
- package/dist/chunks/{provider-vfrgx50f.js → snapshot-fagjz3hv.js} +11 -10
- package/dist/chunks/{provider-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{provider-wcr2gwqf.js → snapshot-fjdpkb6n.js} +17 -17
- package/dist/chunks/{provider-1hgtrac8.js → snapshot-fk87wxfh.js} +20 -20
- package/dist/chunks/{provider-bnt6g489.js → snapshot-fkdm3x4n.js} +18 -18
- package/dist/chunks/{provider-51d35nkj.js → snapshot-fp2kss3x.js} +6 -6
- package/dist/chunks/{provider-wsbmx4s9.js → snapshot-frncqm0b.js} +24 -24
- package/dist/chunks/{provider-0q4bjshc.js → snapshot-ftzbw7kw.js} +6 -6
- package/dist/chunks/{provider-fznmdakp.js → snapshot-fznmdakp.js} +1 -1
- package/dist/chunks/{provider-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
- package/dist/chunks/{provider-bc9hewbq.js → snapshot-gkwb1x3r.js} +34 -34
- package/dist/chunks/{provider-q0r62q50.js → snapshot-gs87y69e.js} +27 -27
- package/dist/chunks/{provider-xajbcg1x.js → snapshot-gxj7r0cm.js} +4 -4
- package/dist/chunks/{provider-b1wgcghj.js → snapshot-gxket47c.js} +18 -18
- package/dist/chunks/{provider-9datcxrc.js → snapshot-gxrd13cp.js} +179 -179
- package/dist/chunks/{provider-21paxrje.js → snapshot-h740tfnc.js} +8 -8
- package/dist/chunks/{provider-kvn4msk3.js → snapshot-henamrq6.js} +26 -26
- package/dist/chunks/{provider-v2dw9gpr.js → snapshot-hp1h3ap0.js} +11 -11
- package/dist/chunks/{provider-yd1ff7ye.js → snapshot-hvbtf1fc.js} +12 -12
- package/dist/chunks/{provider-hy8c1z76.js → snapshot-hw621kav.js} +8 -8
- package/dist/chunks/{provider-kc4ez2ea.js → snapshot-hx3mz2q2.js} +8 -8
- package/dist/chunks/{provider-wawda81m.js → snapshot-hyg60882.js} +18 -18
- package/dist/chunks/{provider-z6y74fh4.js → snapshot-j0mfwgby.js} +24 -24
- package/dist/chunks/{provider-j113cymg.js → snapshot-j113cymg.js} +1 -1
- package/dist/chunks/{provider-4patj9gp.js → snapshot-j368hqxn.js} +48 -48
- package/dist/chunks/{provider-y5wnwt1s.js → snapshot-jaqz1j5c.js} +15 -15
- package/dist/chunks/{provider-s5hk0mtv.js → snapshot-jcvhz0ne.js} +5 -5
- package/dist/chunks/{provider-naz61gwx.js → snapshot-jevs3q22.js} +8 -8
- package/dist/chunks/{provider-jj9caqwr.js → snapshot-jj9caqwr.js} +3 -3
- package/dist/chunks/{provider-fma07qn0.js → snapshot-jxffhsbt.js} +32 -32
- package/dist/chunks/{provider-b2me7aax.js → snapshot-jy35taan.js} +28 -28
- package/dist/chunks/{provider-6f5ac1z8.js → snapshot-k4a9rn7k.js} +35 -35
- package/dist/chunks/{provider-2efbfxa2.js → snapshot-k5q8ak4g.js} +15 -15
- package/dist/chunks/{provider-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
- package/dist/chunks/{provider-edpnj26g.js → snapshot-k8hjh5qf.js} +17 -17
- package/dist/chunks/{provider-rstfs7br.js → snapshot-k8repwgk.js} +35 -35
- package/dist/chunks/{provider-kqwvs3nc.js → snapshot-kc3jq4k5.js} +9 -9
- package/dist/chunks/{provider-29328zmv.js → snapshot-kfbj1vfn.js} +13 -13
- package/dist/chunks/{provider-fy319ky4.js → snapshot-kk6qbz20.js} +22 -22
- package/dist/chunks/{provider-k5cfc06a.js → snapshot-ks2yvdq8.js} +21 -21
- package/dist/chunks/{provider-e8hxt5xr.js → snapshot-kv3e8w2a.js} +4 -4
- package/dist/chunks/{provider-8r9nj4s8.js → snapshot-ky596kc3.js} +4 -4
- package/dist/chunks/{provider-vp6aw561.js → snapshot-ky5h0dy4.js} +12 -12
- package/dist/chunks/{provider-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{provider-fes0xpg6.js → snapshot-m8nqxsmt.js} +25 -25
- package/dist/chunks/{provider-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
- package/dist/chunks/{provider-kpt1bh4f.js → snapshot-mbvkkv9q.js} +4 -4
- package/dist/chunks/{provider-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
- package/dist/chunks/{provider-0b26th02.js → snapshot-n3q07mde.js} +20 -20
- package/dist/chunks/{provider-szcgc7h4.js → snapshot-n6v2b7cw.js} +5 -5
- package/dist/chunks/{provider-6twykydk.js → snapshot-n7bnkb3p.js} +9 -9
- package/dist/chunks/{provider-39nsvtx9.js → snapshot-n95zghxh.js} +5 -5
- package/dist/chunks/{provider-770pw0s1.js → snapshot-nah043kf.js} +4 -4
- package/dist/chunks/{provider-2a13tp2z.js → snapshot-nb2pkzvt.js} +9 -9
- package/dist/chunks/{provider-be70t1qn.js → snapshot-nca90r8m.js} +17 -17
- package/dist/chunks/{provider-bjr1sk69.js → snapshot-nnbr5qt6.js} +16 -16
- package/dist/chunks/{provider-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{provider-7n1pfn98.js → snapshot-p0z6e7n7.js} +13 -13
- package/dist/chunks/{provider-xfdx5fe6.js → snapshot-p180b23n.js} +13 -13
- package/dist/chunks/{provider-fb40hhpr.js → snapshot-p1nmqc4v.js} +57 -40
- package/dist/chunks/{provider-70xnp472.js → snapshot-p1qgn14a.js} +9 -9
- package/dist/chunks/{provider-90mqr9hk.js → snapshot-p2y5jf41.js} +19 -19
- package/dist/chunks/{provider-325tyq60.js → snapshot-p9pds4nr.js} +8 -8
- package/dist/chunks/{provider-k37f66a8.js → snapshot-pbdpbsbw.js} +5 -5
- package/dist/chunks/{provider-bd45fzh3.js → snapshot-pbnk69jw.js} +11 -11
- package/dist/chunks/{provider-4tggksa0.js → snapshot-pcc0bmtm.js} +27 -27
- package/dist/chunks/{provider-6sjjy45b.js → snapshot-pg6c20a0.js} +18 -18
- package/dist/chunks/{provider-xcxdyyhc.js → snapshot-pgbwge99.js} +29 -29
- package/dist/chunks/{provider-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/snapshot-ps2yext1.js +26 -0
- package/dist/chunks/{provider-yjvz0ccp.js → snapshot-pyka91yh.js} +18 -18
- package/dist/chunks/{provider-5dcgybnw.js → snapshot-pyr79hg3.js} +14 -14
- package/dist/chunks/{provider-3ek9mykt.js → snapshot-q110d9ad.js} +22 -22
- package/dist/chunks/{provider-7gpj8ndm.js → snapshot-q6swskfy.js} +42 -42
- package/dist/chunks/{provider-4fp36y3f.js → snapshot-qgt613xz.js} +3 -3
- package/dist/chunks/{provider-mmk2bjs0.js → snapshot-qhacjaam.js} +4 -4
- package/dist/chunks/{provider-qjgzc4b4.js → snapshot-qjgzc4b4.js} +1 -1
- package/dist/chunks/{provider-m0emhkmq.js → snapshot-qrnt2mf5.js} +43 -43
- package/dist/chunks/{provider-bw2b3f7d.js → snapshot-qt0rakd9.js} +7 -7
- package/dist/chunks/{provider-zavmbsdh.js → snapshot-qz087kyw.js} +8 -8
- package/dist/chunks/{provider-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
- package/dist/chunks/{provider-x1cnjfky.js → snapshot-r1nmjmkp.js} +11 -11
- package/dist/chunks/{provider-n6k44f0v.js → snapshot-r3t0nk92.js} +14 -14
- package/dist/chunks/{provider-r6wgv8c9.js → snapshot-r6wgv8c9.js} +2 -2
- package/dist/chunks/{provider-jxd4r8gh.js → snapshot-r83r493t.js} +32 -32
- package/dist/chunks/{provider-wzwsv8q3.js → snapshot-r8f6rk3c.js} +8 -8
- package/dist/chunks/{provider-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{provider-xn1qvzts.js → snapshot-rfwvsy21.js} +13 -13
- package/dist/chunks/{provider-c7sk7bjx.js → snapshot-rh14b8v9.js} +11 -11
- package/dist/chunks/{provider-trdhprzm.js → snapshot-rsgnsn16.js} +16 -16
- package/dist/chunks/{provider-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{provider-79etx3tg.js → snapshot-rtza7ceg.js} +19 -19
- package/dist/chunks/{provider-47te7ynq.js → snapshot-rvyv8nvn.js} +46 -46
- package/dist/chunks/{provider-0760z1bf.js → snapshot-rwppv50t.js} +27 -27
- package/dist/chunks/{provider-nzabrtva.js → snapshot-s4gp6xhn.js} +24 -24
- package/dist/chunks/{provider-6a1y2vt9.js → snapshot-s7v4tzf9.js} +11 -11
- package/dist/chunks/{provider-79456s4q.js → snapshot-skwwrjz6.js} +41 -41
- package/dist/chunks/{provider-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
- package/dist/chunks/{provider-61k36nzc.js → snapshot-stzta4q0.js} +15 -15
- package/dist/chunks/{provider-a25a1x4r.js → snapshot-sxs6dstq.js} +11 -11
- package/dist/chunks/{provider-zmq402w3.js → snapshot-t0n1m2fz.js} +85 -85
- package/dist/chunks/{provider-0egfcpbc.js → snapshot-t4jqr6z5.js} +7 -7
- package/dist/chunks/{provider-c8666r4c.js → snapshot-tasvem1v.js} +6 -6
- package/dist/chunks/{provider-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{provider-4apf49bg.js → snapshot-teer94dd.js} +21 -21
- package/dist/chunks/{provider-8417gb1w.js → snapshot-tej0rhj5.js} +23 -23
- package/dist/chunks/{provider-jm272r5s.js → snapshot-tjbpd8jx.js} +24 -24
- package/dist/chunks/{provider-saf3hjad.js → snapshot-tqxvqvy9.js} +21 -21
- package/dist/chunks/{provider-1pyzd5rz.js → snapshot-tvw5eq5w.js} +4 -4
- package/dist/chunks/{provider-tw8zr1ps.js → snapshot-tw8zr1ps.js} +1 -1
- package/dist/chunks/{provider-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
- package/dist/chunks/{provider-kj5kbge2.js → snapshot-v2k3kh21.js} +8 -8
- package/dist/chunks/{provider-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{provider-5cvy86xw.js → snapshot-v67055n8.js} +9 -9
- package/dist/chunks/{provider-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
- package/dist/chunks/{provider-tc5xkez4.js → snapshot-veg4raah.js} +50 -50
- package/dist/chunks/{provider-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-9hrhwkwn.js → snapshot-vkc62rge.js} +27 -27
- package/dist/chunks/{provider-vmfhgzt5.js → snapshot-vmfhgzt5.js} +1 -1
- package/dist/chunks/{provider-btfhnvjh.js → snapshot-vpm8vpz0.js} +3 -3
- package/dist/chunks/{provider-vzmjdaw1.js → snapshot-vzmjdaw1.js} +2 -2
- package/dist/chunks/{provider-40za9wsf.js → snapshot-w2eysc6j.js} +9 -9
- package/dist/chunks/{provider-ex2hmasg.js → snapshot-w2frxgzv.js} +95 -95
- package/dist/chunks/{provider-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-kcyas487.js → snapshot-w71sye8r.js} +6 -6
- package/dist/chunks/{provider-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{provider-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{provider-fr33pd02.js → snapshot-wfa3pkfz.js} +25 -25
- package/dist/chunks/{provider-wqscedq8.js → snapshot-wqscedq8.js} +1 -1
- package/dist/chunks/{provider-2d7s4snt.js → snapshot-wrj7qkae.js} +1 -1
- package/dist/chunks/{provider-sgvwp5dh.js → snapshot-x453mv9b.js} +45 -45
- package/dist/chunks/{provider-k8ydtb0c.js → snapshot-x9s9q40r.js} +28 -28
- package/dist/chunks/{provider-zt6nk4e1.js → snapshot-xajebrz9.js} +51 -51
- package/dist/chunks/{provider-8fvj0qxe.js → snapshot-xfzdx1cq.js} +1 -1
- package/dist/chunks/{provider-5at8t5d4.js → snapshot-xh9mmxn9.js} +6 -6
- package/dist/chunks/{provider-8yt7yt50.js → snapshot-xqya8bhb.js} +24 -24
- package/dist/chunks/{provider-pkhmamfe.js → snapshot-xyjma05j.js} +9 -9
- package/dist/chunks/{provider-pjtzsg8v.js → snapshot-y3g4yaer.js} +35 -35
- package/dist/chunks/{provider-az8gwjeh.js → snapshot-y3rgpzve.js} +15 -15
- package/dist/chunks/{provider-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{provider-bkrx76dd.js → snapshot-yc89j42n.js} +21 -21
- package/dist/chunks/{provider-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-3g4a5sj5.js → snapshot-z0h4wvmy.js} +16 -16
- package/dist/chunks/{provider-45401wj5.js → snapshot-z1v7eazc.js} +32 -32
- package/dist/chunks/{provider-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
- package/dist/chunks/{provider-3d68epx0.js → snapshot-z642n2d8.js} +12 -12
- package/dist/chunks/{provider-51ndbk3m.js → snapshot-z6p19xhz.js} +15 -15
- package/dist/chunks/{provider-5sb34hzm.js → snapshot-zedte0ep.js} +13 -13
- package/dist/chunks/{provider-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
- package/dist/chunks/{provider-258zgyd3.js → snapshot-zndjfy4q.js} +4 -4
- package/dist/chunks/{provider-g24xrxm1.js → snapshot-zng1ess9.js} +12 -12
- package/dist/chunks/{provider-y0e44a6d.js → snapshot-znnhxh9a.js} +14 -14
- package/dist/chunks/{provider-rd00t4kt.js → snapshot-zpn8gsta.js} +36 -36
- package/dist/chunks/{provider-gb3g7p85.js → snapshot-zv5q208p.js} +3 -3
- package/dist/chunks/{provider-r9jfb1cd.js → snapshot-zy2m570x.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- 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 +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- 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 +72 -72
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +97 -97
- 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 +96 -96
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +111 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +1 -1
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- 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 +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- 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/types/models-dev.d.ts +4 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/provider-4my81qaj.js +0 -18
- package/dist/chunks/provider-srmym4gr.js +0 -257
- package/dist/chunks/provider-tme52cxz.js +0 -26
- /package/dist/chunks/{provider-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a058387c.js → snapshot-a058387c.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service49,
|
|
8
|
+
node52
|
|
9
|
+
} from "./snapshot-xqya8bhb.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service43,
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service43 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service49;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service43.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node46 = makeLocationNode({ service: Service43, layer, deps: [node52, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service43, node46, exports_ripgrep };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./snapshot-67pdg5mz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-y3g4yaer.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service59
|
|
10
|
+
} from "./snapshot-xajebrz9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service49
|
|
13
|
+
} from "./snapshot-xqya8bhb.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-fznmdakp.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-xh9mmxn9.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service59;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service49);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service80);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./snapshot-146q7e0b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./snapshot-rfwvsy21.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-vd3b3yk9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service33,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-a610t88q.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-gxrd13cp.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service33,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service82;
|
|
45
|
+
const kv = yield* Service85;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service33.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node20 = Node.makeLocationNode({
|
|
226
|
+
service: Service33,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node20, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./snapshot-146q7e0b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node63
|
|
7
|
+
} from "./snapshot-c0jtyzjh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service3,
|
|
10
|
+
node4
|
|
11
|
+
} from "./snapshot-rwppv50t.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service84
|
|
14
|
+
} from "./snapshot-9ydy8fkm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service33
|
|
17
|
+
} from "./snapshot-a610t88q.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node20,
|
|
20
|
+
ID2
|
|
21
|
+
} from "./snapshot-q110d9ad.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service7,
|
|
24
|
+
node8
|
|
25
|
+
} from "./snapshot-hw621kav.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-cyy23x7w.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make8,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-f4p1w2yj.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service8,
|
|
38
|
+
node9
|
|
39
|
+
} from "./snapshot-p0z6e7n7.js";
|
|
40
40
|
import {
|
|
41
41
|
Service4,
|
|
42
42
|
node5
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-vzmjdaw1.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
52
|
layer: () => layer3,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node3
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID2.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -137,13 +137,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
146
|
-
const bus = yield*
|
|
140
|
+
const managed = yield* Service84;
|
|
141
|
+
const registry = yield* Service33;
|
|
142
|
+
const sdk = yield* Service8;
|
|
143
|
+
const instance = yield* Service7;
|
|
144
|
+
const sources = yield* Service3;
|
|
145
|
+
const modules = yield* make8();
|
|
146
|
+
const bus = yield* Service82;
|
|
147
147
|
const updates = yield* Service4;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
node20,
|
|
224
|
+
node9,
|
|
225
|
+
node8,
|
|
225
226
|
node4,
|
|
226
|
-
node14,
|
|
227
227
|
node5,
|
|
228
|
-
|
|
228
|
+
node86,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node63,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export { layer3,
|
|
240
|
+
export { layer3, node3, exports_supervisor };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-qt0rakd9.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-wrj7qkae.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./snapshot-0kjrd2qd.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-xh9mmxn9.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Form } from "@opencode/schema/form";
|
|
12
|
-
var providerID =
|
|
12
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
13
13
|
var CloudflareWorkersAIPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./snapshot-rsgnsn16.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./snapshot-y3g4yaer.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./snapshot-xajebrz9.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-vpm8vpz0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./snapshot-nnbr5qt6.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service67
|
|
21
|
+
} from "./snapshot-skwwrjz6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service22
|
|
24
|
+
} from "./snapshot-w2frxgzv.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service10
|
|
30
|
+
} from "./snapshot-p2y5jf41.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin30,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description4,
|
|
43
|
+
name: () => name9
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name9 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
55
55
|
].join(`
|
|
56
56
|
`)
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Input9 = Schema.Struct({
|
|
59
59
|
agent: Schema.String.annotate({
|
|
60
60
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
61
61
|
}),
|
|
@@ -71,12 +71,12 @@ var Input5 = Schema.Struct({
|
|
|
71
71
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
|
-
var
|
|
74
|
+
var Output6 = Schema.Struct({
|
|
75
75
|
sessionID: SessionSchema2.ID,
|
|
76
76
|
status: Schema.Literals(["completed", "running"]),
|
|
77
77
|
output: Schema.String
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var description4 = [
|
|
80
80
|
"Spawns an agent in a child session to work on the specified task.",
|
|
81
81
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
82
82
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -85,16 +85,16 @@ var description3 = [
|
|
|
85
85
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
86
86
|
].join(`
|
|
87
87
|
`);
|
|
88
|
-
var
|
|
88
|
+
var Plugin30 = {
|
|
89
89
|
id: "opencode.tool.subagent",
|
|
90
90
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
91
|
-
const sessions = yield*
|
|
92
|
-
const jobs = yield*
|
|
93
|
-
const agents = yield*
|
|
94
|
-
const config = yield*
|
|
95
|
-
const permission = yield*
|
|
96
|
-
const models = yield*
|
|
97
|
-
const subagents = yield*
|
|
91
|
+
const sessions = yield* Service22;
|
|
92
|
+
const jobs = yield* Service56;
|
|
93
|
+
const agents = yield* Service70;
|
|
94
|
+
const config = yield* Service59;
|
|
95
|
+
const permission = yield* Service67;
|
|
96
|
+
const models = yield* Service75;
|
|
97
|
+
const subagents = yield* Service10;
|
|
98
98
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
99
99
|
const ref = yield* Effect.try({
|
|
100
100
|
try: () => Ref2.parse(input),
|
|
@@ -114,11 +114,11 @@ var Plugin21 = {
|
|
|
114
114
|
return ref;
|
|
115
115
|
});
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name9,
|
|
118
118
|
options: { codemode: false },
|
|
119
|
-
description:
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
119
|
+
description: description4,
|
|
120
|
+
input: Input9,
|
|
121
|
+
output: Output6,
|
|
122
122
|
execute: (input, context) => Effect.gen(function* () {
|
|
123
123
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
124
124
|
let current = parent;
|
|
@@ -138,7 +138,7 @@ var Plugin21 = {
|
|
|
138
138
|
if (agent.mode === "primary")
|
|
139
139
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
140
140
|
yield* permission.assert({
|
|
141
|
-
action:
|
|
141
|
+
action: name9,
|
|
142
142
|
resources: [agent.id],
|
|
143
143
|
save: [agent.id],
|
|
144
144
|
sessionID: context.sessionID,
|
|
@@ -217,7 +217,7 @@ ${output.output}
|
|
|
217
217
|
})))
|
|
218
218
|
})).pipe(Effect.orDie);
|
|
219
219
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
220
|
-
if (event.tool !==
|
|
220
|
+
if (event.tool !== name9 || !Predicate.isObject(event.input))
|
|
221
221
|
return;
|
|
222
222
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
223
223
|
return;
|
|
@@ -229,13 +229,13 @@ ${output.output}
|
|
|
229
229
|
event.input = input;
|
|
230
230
|
}));
|
|
231
231
|
const hook = (event) => Effect.gen(function* () {
|
|
232
|
-
const tool = event.tools[
|
|
232
|
+
const tool = event.tools[name9];
|
|
233
233
|
if (!tool)
|
|
234
234
|
return;
|
|
235
235
|
const selected = yield* agents.resolve(event.agent);
|
|
236
236
|
if (!selected)
|
|
237
237
|
return;
|
|
238
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
238
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
239
239
|
if (available.length === 0)
|
|
240
240
|
return;
|
|
241
241
|
tool.description = [
|
|
@@ -252,4 +252,4 @@ ${output.output}
|
|
|
252
252
|
})
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
export {
|
|
255
|
+
export { name9, Input9, Output6, description4, Plugin30, exports_subagent };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service71,
|
|
10
|
+
node: () => node74
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service71 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service71.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service71, node74, exports_hooks };
|