@opencode/core 0.0.0-dev-20237 → 0.0.0-dev-20240
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{skill-j1r0ka2e.js → filesystem-08mcr500.js} +23 -23
- package/dist/chunks/{skill-gkz2nmdk.js → filesystem-09fmdqc3.js} +7 -7
- package/dist/chunks/{skill-0xqyf95c.js → filesystem-0br3sbwn.js} +4 -4
- package/dist/chunks/{skill-fe2ac55b.js → filesystem-0hhvd48t.js} +10 -10
- package/dist/chunks/{skill-82rhge12.js → filesystem-0jq9fyba.js} +9 -9
- package/dist/chunks/{skill-r0765b4t.js → filesystem-0mh2q183.js} +17 -17
- package/dist/chunks/{skill-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-ksb7a39g.js → filesystem-0pcvbqvq.js} +18 -18
- package/dist/chunks/{skill-0t83qpjm.js → filesystem-0qhtvwpj.js} +3 -3
- package/dist/chunks/{skill-nq344hgp.js → filesystem-0qx4m1me.js} +11 -11
- package/dist/chunks/{skill-e2902ssh.js → filesystem-0w7xa6ee.js} +23 -23
- package/dist/chunks/{skill-c4y0dw4v.js → filesystem-0yevmncv.js} +12 -12
- package/dist/chunks/{skill-02e79zmk.js → filesystem-13n5q7dt.js} +44 -44
- package/dist/chunks/{skill-tsxjjv1e.js → filesystem-1cn5a5mh.js} +13 -13
- package/dist/chunks/{skill-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-x9c38wyg.js → filesystem-1gfephy1.js} +16 -16
- package/dist/chunks/{skill-acr7r75c.js → filesystem-1p1fqfpr.js} +11 -11
- package/dist/chunks/{skill-b79dj70a.js → filesystem-1y3mx57g.js} +24 -24
- package/dist/chunks/{skill-33w4ejhs.js → filesystem-1ygqh575.js} +6 -6
- package/dist/chunks/{skill-z6nedmjx.js → filesystem-1zh729eh.js} +3 -3
- package/dist/chunks/{skill-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{skill-gxs9g1kt.js → filesystem-228pzppe.js} +26 -26
- package/dist/chunks/{skill-k8dasee7.js → filesystem-2336b01z.js} +8 -8
- package/dist/chunks/{skill-pfh7wc7b.js → filesystem-24yp57y1.js} +7 -7
- package/dist/chunks/{skill-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-stpd6zpk.js → filesystem-2arffnsn.js} +4 -4
- package/dist/chunks/{skill-aq6xkhjv.js → filesystem-2at83sxs.js} +78 -78
- package/dist/chunks/{skill-c5c0bz0t.js → filesystem-2cmv458r.js} +5 -5
- package/dist/chunks/{skill-wyqfhbgc.js → filesystem-2jnrxcaz.js} +24 -24
- package/dist/chunks/{skill-6ae6vdbn.js → filesystem-2np3k2bf.js} +21 -21
- package/dist/chunks/{skill-x1f6mcey.js → filesystem-2qdytgm4.js} +10 -10
- package/dist/chunks/{skill-cwa6csj7.js → filesystem-2sejkfem.js} +9 -9
- package/dist/chunks/{skill-5xhambgh.js → filesystem-2w4eq4pf.js} +11 -11
- package/dist/chunks/{skill-05jx979n.js → filesystem-2x1f9zwj.js} +32 -32
- package/dist/chunks/{skill-1tk41c3c.js → filesystem-32jxf96r.js} +17 -17
- package/dist/chunks/{skill-69h1251q.js → filesystem-39z47dss.js} +15 -15
- package/dist/chunks/{skill-6anwy9fs.js → filesystem-3a6re68j.js} +6 -6
- package/dist/chunks/{skill-qqbwnzxa.js → filesystem-3cjwh6g5.js} +12 -12
- package/dist/chunks/{skill-kaeqdmt3.js → filesystem-3dgq6m1n.js} +42 -42
- package/dist/chunks/{skill-62q6nj2w.js → filesystem-3f9dn8j5.js} +3 -3
- package/dist/chunks/{skill-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-41n2mfp4.js → filesystem-44mxtx8s.js} +8 -8
- package/dist/chunks/{skill-4jxxczjb.js → filesystem-47syppsm.js} +32 -32
- package/dist/chunks/{skill-3hcb6rdt.js → filesystem-4dfa1csd.js} +27 -27
- package/dist/chunks/{skill-nzyhnfxz.js → filesystem-4dgbcxzg.js} +4 -4
- package/dist/chunks/{skill-c0kkjxwe.js → filesystem-4ev5vm6j.js} +3 -3
- package/dist/chunks/{skill-yt5a1n88.js → filesystem-4hdsm0pm.js} +17 -17
- package/dist/chunks/{skill-01snebf5.js → filesystem-57ez7d0k.js} +9 -9
- package/dist/chunks/{skill-xbe6bypq.js → filesystem-5c120nwe.js} +5 -5
- package/dist/chunks/{skill-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-bpavgjm0.js → filesystem-5e7rf9zs.js} +37 -37
- package/dist/chunks/{skill-t16rew40.js → filesystem-5frpvc34.js} +2 -2
- package/dist/chunks/{skill-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-166kng33.js → filesystem-5y480sgp.js} +8 -8
- package/dist/chunks/{skill-2td3t4dt.js → filesystem-61126d0d.js} +23 -23
- package/dist/chunks/{skill-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{skill-9d7p7x83.js → filesystem-6b713qfj.js} +3 -3
- package/dist/chunks/{skill-5nt9epk8.js → filesystem-6j06p5mc.js} +33 -33
- package/dist/chunks/{skill-zfayrh6s.js → filesystem-6ma10yar.js} +9 -9
- package/dist/chunks/{skill-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-k06xh4tx.js → filesystem-6nczgvap.js} +29 -29
- package/dist/chunks/{skill-gnt09e10.js → filesystem-6pmqbm9x.js} +20 -20
- package/dist/chunks/{skill-42rnjcxf.js → filesystem-6shp5cvc.js} +28 -28
- package/dist/chunks/{skill-mnzpn3j7.js → filesystem-6vvbwd4g.js} +62 -62
- package/dist/chunks/{skill-3xm9kejs.js → filesystem-72b58gz1.js} +13 -13
- package/dist/chunks/{skill-73tb2d7t.js → filesystem-73tb2d7t.js} +1 -1
- package/dist/chunks/{skill-930cty0c.js → filesystem-7601emta.js} +17 -17
- package/dist/chunks/{skill-c8xqcx36.js → filesystem-76eeqvp0.js} +6 -6
- package/dist/chunks/{skill-f03reshw.js → filesystem-7b1f8sqc.js} +32 -32
- package/dist/chunks/{skill-12mt9w14.js → filesystem-7bgd9sa5.js} +37 -37
- package/dist/chunks/{skill-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-kt88g7f7.js → filesystem-7btysaay.js} +5 -5
- package/dist/chunks/{skill-rkprpv83.js → filesystem-7fkffz83.js} +4 -4
- package/dist/chunks/{skill-m2gt79bm.js → filesystem-7h5ye0bq.js} +22 -22
- package/dist/chunks/{skill-hehaxqkv.js → filesystem-7zpeh0yx.js} +4 -4
- package/dist/chunks/{skill-zqz91wsf.js → filesystem-80023xb3.js} +19 -19
- package/dist/chunks/{skill-84txncab.js → filesystem-84txncab.js} +1 -1
- package/dist/chunks/{skill-n9bzg1w7.js → filesystem-85j366jc.js} +38 -38
- package/dist/chunks/{skill-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{skill-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-7b217tc9.js → filesystem-8e5zyrwm.js} +35 -35
- package/dist/chunks/{skill-1wfab70b.js → filesystem-8hh75t8h.js} +11 -11
- package/dist/chunks/{skill-jn0tk1mz.js → filesystem-8n69n882.js} +8 -8
- package/dist/chunks/{skill-3ssf1kws.js → filesystem-8q7cq0y1.js} +3 -3
- package/dist/chunks/{skill-fbspgn15.js → filesystem-8r56x03s.js} +35 -35
- package/dist/chunks/{skill-vv97ra8n.js → filesystem-8zqs9j7p.js} +11 -11
- package/dist/chunks/{skill-94ek1h2f.js → filesystem-94ek1h2f.js} +2 -2
- package/dist/chunks/{skill-xre8zksc.js → filesystem-95svx96e.js} +5 -5
- package/dist/chunks/{skill-b56acg1n.js → filesystem-9g8aqzdg.js} +28 -28
- package/dist/chunks/{skill-jfga7b6d.js → filesystem-9jgr38p9.js} +28 -28
- package/dist/chunks/{skill-7ys3fh6j.js → filesystem-9p42wv5p.js} +26 -26
- package/dist/chunks/{skill-dhf01b5r.js → filesystem-9sdebhyw.js} +25 -25
- package/dist/chunks/{skill-9267ka6q.js → filesystem-9y094rtb.js} +11 -11
- package/dist/chunks/{skill-0pvgc5fc.js → filesystem-9zrft0gr.js} +20 -20
- package/dist/chunks/{skill-n31131qv.js → filesystem-a48f9ws0.js} +8 -8
- package/dist/chunks/{skill-2ppm8z92.js → filesystem-a4ym3kq6.js} +28 -28
- package/dist/chunks/{skill-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-pxrjaj7s.js → filesystem-afed7ext.js} +12 -12
- package/dist/chunks/{skill-kvq9gs2a.js → filesystem-akdn9jnb.js} +22 -22
- package/dist/chunks/{skill-ymhhb4xg.js → filesystem-av5s1sdw.js} +10 -10
- package/dist/chunks/{skill-hv0qy6mp.js → filesystem-awczx5q5.js} +90 -90
- package/dist/chunks/{skill-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-h0bsqr2d.js → filesystem-bg71ph9x.js} +28 -28
- package/dist/chunks/{skill-da5vet0q.js → filesystem-bk2qgnaw.js} +11 -11
- package/dist/chunks/{skill-k5cqq88k.js → filesystem-bnkgx7re.js} +6 -6
- package/dist/chunks/{skill-ppnbyhnm.js → filesystem-bw0ym531.js} +6 -6
- package/dist/chunks/{skill-39gcggxw.js → filesystem-c2zxq3ay.js} +15 -15
- package/dist/chunks/{skill-rywzfdxh.js → filesystem-c35597j6.js} +4 -4
- package/dist/chunks/{skill-nb9s5zz7.js → filesystem-cbwhh3ee.js} +6 -6
- package/dist/chunks/{skill-9kv5zmv8.js → filesystem-cd22b0cq.js} +23 -23
- package/dist/chunks/{skill-8v90e2yj.js → filesystem-cf01cagz.js} +6 -6
- package/dist/chunks/{skill-4y6x6qg6.js → filesystem-cht1zc30.js} +24 -24
- package/dist/chunks/{skill-ak13h7x1.js → filesystem-cj5wqxwp.js} +24 -24
- package/dist/chunks/{skill-ckecvw8r.js → filesystem-ckecvw8r.js} +2 -2
- package/dist/chunks/{skill-24y2m8kc.js → filesystem-cm0vdedy.js} +32 -32
- package/dist/chunks/{skill-k9rg1vcq.js → filesystem-cwy3e0f0.js} +17 -17
- package/dist/chunks/{skill-pjj8fg0r.js → filesystem-d43zz4nj.js} +14 -14
- package/dist/chunks/{skill-bzdcx9ae.js → filesystem-d4a7av5z.js} +13 -13
- package/dist/chunks/{skill-3ntmf9xr.js → filesystem-dah9s5zy.js} +11 -11
- package/dist/chunks/{skill-vncycja5.js → filesystem-dfe8djrf.js} +4 -4
- package/dist/chunks/{skill-tb58a56a.js → filesystem-dh864dnf.js} +13 -13
- package/dist/chunks/{skill-84kt9vsc.js → filesystem-dqfphc03.js} +9 -9
- package/dist/chunks/{skill-0f3gj77r.js → filesystem-dqhaz4gz.js} +3 -3
- package/dist/chunks/{skill-5j0nb8qw.js → filesystem-drvrjmpp.js} +18 -18
- package/dist/chunks/{skill-yjptyezs.js → filesystem-e6hmchc5.js} +5 -5
- package/dist/chunks/{skill-ecfe7b91.js → filesystem-ecfe7b91.js} +2 -2
- package/dist/chunks/{skill-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-13n9hswx.js → filesystem-enhz8yge.js} +5 -5
- package/dist/chunks/{skill-xaqw7sw8.js → filesystem-erxx58th.js} +11 -11
- package/dist/chunks/{skill-7dqw4kz8.js → filesystem-esafk7q3.js} +5 -5
- package/dist/chunks/{skill-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-chb5khpn.js → filesystem-f0368xkp.js} +40 -40
- package/dist/chunks/{skill-nn73yg3e.js → filesystem-f2515zf3.js} +16 -16
- package/dist/chunks/{skill-vnrd2pbf.js → filesystem-f2fkfqad.js} +5 -5
- package/dist/chunks/{skill-yp2x3t23.js → filesystem-f2n192rq.js} +4 -4
- package/dist/chunks/{skill-wawnfvrj.js → filesystem-f2sgpmsp.js} +13 -13
- package/dist/chunks/{skill-xh99yx0k.js → filesystem-f9231ptw.js} +33 -33
- package/dist/chunks/{skill-358qdn69.js → filesystem-fbzhwgzx.js} +12 -12
- package/dist/chunks/{skill-ay6x5qvq.js → filesystem-ff7x310r.js} +31 -31
- package/dist/chunks/{skill-e1fx3kkg.js → filesystem-fhd6f79b.js} +18 -18
- package/dist/chunks/{skill-3bc8czyk.js → filesystem-fhz5gfgy.js} +5 -5
- package/dist/chunks/{skill-2tsm52y3.js → filesystem-fp2xarvc.js} +1 -1
- package/dist/chunks/{skill-f5xysf8q.js → filesystem-fp8ek5zt.js} +43 -43
- package/dist/chunks/{skill-vcj7ze88.js → filesystem-fqftz3yh.js} +32 -32
- package/dist/chunks/{skill-j41a475f.js → filesystem-fzts1kpm.js} +11 -11
- package/dist/chunks/{skill-xrg1vf6w.js → filesystem-g344s1sv.js} +13 -13
- package/dist/chunks/{skill-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-eke78wcn.js → filesystem-gfhtznv3.js} +11 -11
- package/dist/chunks/{skill-c7jmze4g.js → filesystem-grdteyps.js} +45 -45
- package/dist/chunks/{skill-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/filesystem-h32wa76p.js +507 -0
- package/dist/chunks/{skill-ynkewxt4.js → filesystem-h46f4tx0.js} +17 -17
- package/dist/chunks/{skill-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-mppm81rk.js → filesystem-h7y0hqxr.js} +15 -15
- package/dist/chunks/{skill-t9kmsb73.js → filesystem-hbmgyr7d.js} +4 -4
- package/dist/chunks/{skill-1xjx0jcc.js → filesystem-hd23g7nz.js} +8 -8
- package/dist/chunks/{skill-37rvd3xw.js → filesystem-hedm60x3.js} +17 -17
- package/dist/chunks/{skill-hpvsmwsq.js → filesystem-hjj02mgg.js} +51 -51
- package/dist/chunks/{skill-a5654xsm.js → filesystem-hn8wsm4z.js} +8 -8
- package/dist/chunks/{skill-5ekftjpa.js → filesystem-hrpet7xn.js} +11 -11
- package/dist/chunks/{skill-xvh5apvq.js → filesystem-hy0qjepx.js} +15 -15
- package/dist/chunks/{skill-bh8h4erd.js → filesystem-j2w0gmpe.js} +10 -10
- package/dist/chunks/{skill-qq8x5mwt.js → filesystem-j5208yae.js} +6 -6
- package/dist/chunks/{skill-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-zcqf6png.js → filesystem-j5w2yx54.js} +6 -6
- package/dist/chunks/{skill-vb37bbhn.js → filesystem-jdc9aac8.js} +25 -25
- package/dist/chunks/{skill-z4b8nh6b.js → filesystem-jkcp7byf.js} +20 -20
- package/dist/chunks/{skill-wddca7rf.js → filesystem-jt1vb5pc.js} +11 -11
- package/dist/chunks/{skill-je40c4e6.js → filesystem-jtxbrew9.js} +5 -5
- package/dist/chunks/{skill-dh06npjf.js → filesystem-k030p904.js} +1 -1
- package/dist/chunks/{skill-q8tdcmtc.js → filesystem-k1mgmdq6.js} +36 -36
- package/dist/chunks/{skill-pw9cs8ty.js → filesystem-kkkrdp4w.js} +17 -17
- package/dist/chunks/{skill-xg6r1qgc.js → filesystem-kwbyxxx0.js} +8 -8
- package/dist/chunks/{skill-qd8bqnjp.js → filesystem-m15jmbbr.js} +52 -52
- package/dist/chunks/{skill-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-9r2nfyx7.js → filesystem-m5q6th7b.js} +18 -18
- package/dist/chunks/{skill-gst7axd9.js → filesystem-m70sbz6t.js} +4 -4
- package/dist/chunks/{skill-78cw4hvj.js → filesystem-m7fy2dv4.js} +12 -12
- package/dist/chunks/{skill-jwcbjk8m.js → filesystem-m7kdp6gf.js} +22 -22
- package/dist/chunks/{skill-22jhghmt.js → filesystem-m8xa9e63.js} +1 -1
- package/dist/chunks/{skill-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-f3ngv102.js → filesystem-magykp64.js} +4 -4
- package/dist/chunks/{skill-29yd18qt.js → filesystem-mh9gscew.js} +11 -11
- package/dist/chunks/{skill-6pesj18r.js → filesystem-mkdy6qkj.js} +9 -9
- package/dist/chunks/{skill-e87a8knz.js → filesystem-mv22x3wf.js} +13 -13
- package/dist/chunks/{skill-x4yqaege.js → filesystem-mwj78qbb.js} +22 -22
- package/dist/chunks/{skill-s88d2qhj.js → filesystem-mxn40ybh.js} +19 -19
- package/dist/chunks/{skill-7jpg9h8k.js → filesystem-n09t85ck.js} +10 -10
- package/dist/chunks/{skill-5xpznt2d.js → filesystem-n1ka8r9d.js} +4 -4
- package/dist/chunks/{skill-9myccn1k.js → filesystem-n1mk886p.js} +20 -20
- package/dist/chunks/{skill-kvspnhsc.js → filesystem-n1rz67ba.js} +48 -48
- package/dist/chunks/{skill-3h2h1y40.js → filesystem-n33rgabk.js} +55 -55
- package/dist/chunks/{skill-y18e6gev.js → filesystem-n83saq1s.js} +10 -10
- package/dist/chunks/{skill-4f78rvnv.js → filesystem-n8gssbbw.js} +4 -4
- package/dist/chunks/{skill-kvxk94as.js → filesystem-n8zx0qm6.js} +34 -34
- package/dist/chunks/{skill-r2hayn6q.js → filesystem-nd0783xw.js} +15 -15
- package/dist/chunks/{skill-nscznvay.js → filesystem-nq7qbqzc.js} +9 -9
- package/dist/chunks/{skill-fysvmm5d.js → filesystem-nta5r5g3.js} +25 -25
- package/dist/chunks/{skill-k3c624dm.js → filesystem-nzks3jc8.js} +3 -3
- package/dist/chunks/{skill-xy6b16vx.js → filesystem-p3192dp6.js} +2 -2
- package/dist/chunks/{skill-1ajx6rf5.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{skill-xw95mvqy.js → filesystem-p5hnzy35.js} +25 -25
- package/dist/chunks/{skill-3xwzrf3b.js → filesystem-p751nfh9.js} +15 -15
- package/dist/chunks/{skill-3pbjq009.js → filesystem-pb1eahw5.js} +8 -8
- package/dist/chunks/{skill-nxhqveyz.js → filesystem-pecb0brz.js} +5 -5
- package/dist/chunks/filesystem-phz3h32g.js +18 -0
- package/dist/chunks/{skill-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-0yjsrvv1.js → filesystem-pjw9389s.js} +23 -23
- package/dist/chunks/{skill-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{skill-ew2gb6aq.js → filesystem-pq2pd6hh.js} +25 -25
- package/dist/chunks/{skill-cmn3mj5r.js → filesystem-qcg4vfgs.js} +6 -6
- package/dist/chunks/{skill-hk0w59rs.js → filesystem-qh690qjv.js} +95 -95
- package/dist/chunks/{skill-br47g7yq.js → filesystem-qkfs2zns.js} +9 -9
- package/dist/chunks/{skill-drwq78ky.js → filesystem-qqeeq2t9.js} +7 -7
- package/dist/chunks/{skill-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-17hcg36f.js → filesystem-qzz1k0t8.js} +7 -7
- package/dist/chunks/{skill-dqqwsh7m.js → filesystem-r45jhqb9.js} +5 -5
- package/dist/chunks/{skill-5v4xa2m0.js → filesystem-r56fmryn.js} +23 -23
- package/dist/chunks/{skill-p999qeks.js → filesystem-rd8q201w.js} +12 -12
- package/dist/chunks/{skill-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-speq931g.js → filesystem-rw86hr2t.js} +28 -28
- package/dist/chunks/{skill-zfq83p86.js → filesystem-s3srg93r.js} +43 -43
- package/dist/chunks/filesystem-scfp8aft.js +252 -0
- package/dist/chunks/{skill-1t26q381.js → filesystem-sh2daxqk.js} +9 -9
- package/dist/chunks/{skill-nm56gsv2.js → filesystem-smp49fay.js} +24 -24
- package/dist/chunks/{skill-tkw0q3t4.js → filesystem-svp7d0fp.js} +22 -22
- package/dist/chunks/{skill-s8d7rejh.js → filesystem-t550f9t1.js} +4 -4
- package/dist/chunks/{skill-qzqd9bbs.js → filesystem-t918d8cq.js} +8 -8
- package/dist/chunks/{skill-jjw1v7g2.js → filesystem-t9636gx1.js} +16 -16
- package/dist/chunks/{skill-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{skill-6hh8tjw2.js → filesystem-tkmwgdpd.js} +7 -7
- package/dist/chunks/{skill-5kmhhys3.js → filesystem-tks0bnq5.js} +11 -11
- package/dist/chunks/{skill-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-t0fxg8b9.js → filesystem-tz2bjj40.js} +5 -5
- package/dist/chunks/{skill-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-31w1qp3s.js → filesystem-vgm83cgp.js} +23 -23
- package/dist/chunks/{skill-s3qt3bff.js → filesystem-vmepscws.js} +20 -20
- package/dist/chunks/{skill-3kannwv6.js → filesystem-vn0yq8gz.js} +190 -190
- package/dist/chunks/{skill-ck9ayhb2.js → filesystem-vzawmjdf.js} +36 -36
- package/dist/chunks/{skill-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-616ym9rn.js → filesystem-w2qmsxre.js} +15 -15
- package/dist/chunks/{skill-rfphxygr.js → filesystem-w3bkza1g.js} +5 -5
- package/dist/chunks/{skill-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-61yxenrv.js → filesystem-wav3c6xe.js} +47 -47
- package/dist/chunks/{skill-wd3x2cqz.js → filesystem-wd3x2cqz.js} +2 -2
- package/dist/chunks/{skill-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{skill-xk3p1ns3.js → filesystem-wfz5d65w.js} +31 -31
- package/dist/chunks/{skill-75a1258m.js → filesystem-wjeg1wsf.js} +8 -8
- package/dist/chunks/filesystem-wmqnggde.js +26 -0
- package/dist/chunks/{skill-gdb981cj.js → filesystem-wy048fd6.js} +25 -25
- package/dist/chunks/{skill-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-ncjresk4.js → filesystem-x2qdxhwm.js} +8 -8
- package/dist/chunks/{skill-vecs23p9.js → filesystem-xdh9m6e8.js} +20 -20
- package/dist/chunks/{skill-2x5js52h.js → filesystem-xjaef4xf.js} +5 -5
- package/dist/chunks/{skill-xkntkrq7.js → filesystem-xkntkrq7.js} +2 -2
- package/dist/chunks/{skill-ryt2ydd6.js → filesystem-xm3bqwwb.js} +4 -4
- package/dist/chunks/{skill-g5agzp2h.js → filesystem-xvp1j2dc.js} +5 -5
- package/dist/chunks/{skill-s26hbv8p.js → filesystem-xxxym934.js} +4 -4
- package/dist/chunks/{skill-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-63890ep3.js → filesystem-y1vpz5e6.js} +40 -40
- package/dist/chunks/{skill-d90ttvv0.js → filesystem-y34854y5.js} +42 -42
- package/dist/chunks/{skill-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{skill-wcjyc11q.js → filesystem-ydgy0jv4.js} +8 -8
- package/dist/chunks/{skill-4ckgtqrh.js → filesystem-ypx73geg.js} +9 -9
- package/dist/chunks/{skill-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-rktsyv27.js → filesystem-yvr0je1c.js} +31 -31
- package/dist/chunks/{skill-z07pqspn.js → filesystem-z07pqspn.js} +3 -3
- package/dist/chunks/{skill-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-c0g7pnz1.js → filesystem-z29005y7.js} +18 -18
- package/dist/chunks/{skill-0729q2vn.js → filesystem-z4gv22m1.js} +27 -27
- package/dist/chunks/{skill-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-ae7xvq94.js → filesystem-zcsbmsrf.js} +30 -30
- package/dist/chunks/{skill-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-3ddj4795.js → filesystem-zeytjcpa.js} +16 -16
- package/dist/chunks/{skill-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{skill-famy2f9q.js → filesystem-zy8e99jb.js} +45 -45
- 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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- 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 +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/skill-9zdhvgqs.js +0 -18
- package/dist/chunks/skill-fwm3t8qh.js +0 -26
- package/dist/chunks/skill-gwtsjvj9.js +0 -507
- package/dist/chunks/skill-vekpjwn7.js +0 -252
- /package/dist/chunks/{skill-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./filesystem-afed7ext.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node73
|
|
17
|
+
} from "./filesystem-d4a7av5z.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node52,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service50.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node52 = makeGlobalNode({
|
|
171
|
+
service: Service50,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node73]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node52, exports_repository_cache };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./filesystem-wav3c6xe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./filesystem-f9231ptw.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin34
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin34 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
|
+
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin39 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin34, exports_compaction };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./filesystem-8e5zyrwm.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-bw0ym531.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID12.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./filesystem-cht1zc30.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./filesystem-nd0783xw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service53,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-mv22x3wf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service58
|
|
22
|
+
} from "./filesystem-n33rgabk.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service54,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-fhd6f79b.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin22,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin22 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service78;
|
|
112
|
+
const access = yield* Service54;
|
|
113
|
+
const fileMutation = yield* Service53;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service58;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin2 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output4, toModelContent3, Plugin22, exports_patch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./filesystem-grdteyps.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info32,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node84,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node84 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node85]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info32, Ref4, response2, Service80, node84, boundNode2, exports_location };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./filesystem-rw86hr2t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./filesystem-j5w2yx54.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-phz3h32g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service36;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service63), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./filesystem-1gfephy1.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service70,
|
|
15
|
-
node74
|
|
16
|
-
} from "./skill-pw9cs8ty.js";
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./filesystem-9sdebhyw.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
21
17
|
import {
|
|
22
|
-
|
|
23
|
-
Service77,
|
|
18
|
+
Service78,
|
|
24
19
|
node81
|
|
25
|
-
} from "./
|
|
20
|
+
} from "./filesystem-cht1zc30.js";
|
|
21
|
+
import {
|
|
22
|
+
ID15,
|
|
23
|
+
Service76,
|
|
24
|
+
node79
|
|
25
|
+
} from "./filesystem-9p42wv5p.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node77
|
|
35
|
+
} from "./filesystem-zcsbmsrf.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service29,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node32
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service29 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options2 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
102
|
+
var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service80;
|
|
104
|
+
const environment = yield* Service78;
|
|
105
|
+
const bus = yield* Service83;
|
|
106
|
+
const forms = yield* Service76;
|
|
107
|
+
const integration = yield* Service74;
|
|
108
|
+
const credentials = yield* Service75;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID13.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError3({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID15.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service78, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -408,7 +408,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service29.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured2(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [
|
|
519
|
+
service: Service29,
|
|
520
|
+
layer: layer13(options),
|
|
521
|
+
deps: [node84, node81, node87, node79, node77, node78]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node32 = configured2();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service29, Options2, layer13, configured2, node32, exports_mcp4 };
|