@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
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./snapshot-xajebrz9.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service49
|
|
13
|
+
} from "./snapshot-xqya8bhb.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service56
|
|
16
|
+
} from "./snapshot-nnbr5qt6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service67
|
|
19
|
+
} from "./snapshot-skwwrjz6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-gxket47c.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service62,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-rtza7ceg.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service46
|
|
37
|
+
} from "./snapshot-1nqgcrc1.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./snapshot-w2frxgzv.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./snapshot-5js31cy8.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin24,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name3 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input3 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin24 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service22;
|
|
124
|
+
const jobs = yield* Service56;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service49;
|
|
127
|
+
const access = yield* Service13;
|
|
128
|
+
const shell = yield* Service46;
|
|
129
|
+
const shellSelect = yield* Service62;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service67;
|
|
132
|
+
const config = yield* Service59;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin22 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin22 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin22 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin22 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name3,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name3];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin24, exports_shell2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./snapshot-146q7e0b.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-bjhzkqyk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./snapshot-3qwxnent.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./snapshot-5tnc4nbn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./snapshot-0kjrd2qd.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-hvbtf1fc.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-5kbev7nh.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-skwwrjz6.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-5tnc4nbn.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-x453mv9b.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-nca90r8m.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make15,
|
|
14
|
+
node: () => node54,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make15 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node54 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make15, RegistryService2, registry2, registryNode2, node54, exports_driver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
6
|
Info12
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-wqscedq8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node83
|
|
9
|
+
} from "./snapshot-67pdg5mz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service37,
|
|
12
|
+
node40
|
|
13
|
+
} from "./snapshot-jy35taan.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event4,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError4,
|
|
34
|
+
Service: () => Service36,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node39
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content2 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event4 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service36 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service80;
|
|
102
|
+
const search = yield* Service37;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service36.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError4({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node39 = makeLocationNode({
|
|
162
|
+
service: Service36,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node83, node40]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service36, node39, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./snapshot-67pdg5mz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service43,
|
|
10
|
+
node46
|
|
11
|
+
} from "./snapshot-pyka91yh.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./snapshot-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service37,
|
|
25
|
+
configured: () => configured4,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node40
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import path from "path";
|
|
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
32
32
|
import { Fff } from "#fff";
|
|
33
33
|
import fuzzysort from "fuzzysort";
|
|
34
34
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
35
|
-
class
|
|
35
|
+
class Service37 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
36
36
|
}
|
|
37
37
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
38
38
|
function emptyIndex() {
|
|
@@ -51,9 +51,9 @@ function search(index, input) {
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var ripgrepLayer = Layer.effect(
|
|
55
|
-
const location = yield*
|
|
56
|
-
const ripgrep = yield*
|
|
54
|
+
var ripgrepLayer = Layer.effect(Service37, Effect.gen(function* () {
|
|
55
|
+
const location = yield* Service80;
|
|
56
|
+
const ripgrep = yield* Service43;
|
|
57
57
|
const scope = yield* Scope.Scope;
|
|
58
58
|
const clock = yield* Clock.Clock;
|
|
59
59
|
const home = isHome2(location.directory);
|
|
@@ -70,7 +70,7 @@ var ripgrepLayer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
70
70
|
cwd: location.directory,
|
|
71
71
|
pattern: "*",
|
|
72
72
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
73
|
-
exclude: home ? [...
|
|
73
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
74
74
|
onEntry: (entry) => Effect.sync(() => {
|
|
75
75
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
76
76
|
const parts = entry.path.split("/");
|
|
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
98
98
|
Deferred.doneUnsafe(attempt, exit);
|
|
99
99
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service37.of({
|
|
102
102
|
find: (input) => Effect.gen(function* () {
|
|
103
103
|
yield* refresh;
|
|
104
104
|
return search(index, input);
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
107
|
}));
|
|
108
|
-
var fffLayer2 = Layer.effect(
|
|
109
|
-
const location = yield*
|
|
108
|
+
var fffLayer2 = Layer.effect(Service37, Effect.gen(function* () {
|
|
109
|
+
const location = yield* Service80;
|
|
110
110
|
const result = yield* Effect.try({
|
|
111
111
|
try: () => Fff.create({
|
|
112
112
|
basePath: location.directory,
|
|
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
119
119
|
if (!result?.ok) {
|
|
120
120
|
if (result)
|
|
121
121
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
122
|
-
return
|
|
122
|
+
return Service37.of({
|
|
123
123
|
find: () => Effect.succeed([])
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
127
|
-
return
|
|
127
|
+
return Service37.of({
|
|
128
128
|
find: (input) => Effect.sync(() => {
|
|
129
129
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
130
130
|
const items = (() => {
|
|
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
170
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
171
|
-
const location = yield*
|
|
171
|
+
const location = yield* Service80;
|
|
172
172
|
if (location.workspaceID)
|
|
173
173
|
return ripgrepLayer;
|
|
174
174
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
175
175
|
return ripgrepLayer;
|
|
176
176
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
177
177
|
}));
|
|
178
|
-
function
|
|
179
|
-
return makeLocationNode({ service:
|
|
178
|
+
function configured4(options) {
|
|
179
|
+
return makeLocationNode({ service: Service37, layer: layer(options), deps: [node83, node46] });
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var node40 = configured4();
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Service37, fffLayer2, configured4, node40, exports_search };
|