@opencode/core 0.0.0-dev-21821 → 0.0.0-dev-21823
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 +83 -83
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{state-034tev2y.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{state-kbdzx3mw.js → filesystem-03efvwc7.js} +5 -5
- package/dist/chunks/{state-gmbrqcch.js → filesystem-048zrydy.js} +23 -23
- package/dist/chunks/{state-06w9ffrv.js → filesystem-06w9ffrv.js} +1 -1
- package/dist/chunks/{state-06nwrmf6.js → filesystem-074yh523.js} +7 -7
- package/dist/chunks/filesystem-0983wq4j.js +26 -0
- package/dist/chunks/{state-wr3re1en.js → filesystem-0h8y3ex8.js} +4 -4
- package/dist/chunks/{state-yjdnphb5.js → filesystem-0kzfsnkr.js} +20 -20
- package/dist/chunks/{state-5ez0dp37.js → filesystem-0r6ymdag.js} +2 -2
- package/dist/chunks/{state-fhr2s1er.js → filesystem-0s7h5zzx.js} +17 -17
- package/dist/chunks/{state-w6p76wxk.js → filesystem-0v2akbxk.js} +15 -15
- package/dist/chunks/{state-x8nvjgx0.js → filesystem-11hfp36g.js} +4 -4
- package/dist/chunks/{state-d7fjdp3y.js → filesystem-14r675e2.js} +18 -18
- package/dist/chunks/{state-bktwhx9z.js → filesystem-1e41c092.js} +18 -18
- package/dist/chunks/{state-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{state-f9aw19jy.js → filesystem-1gvqg047.js} +12 -12
- package/dist/chunks/{state-q8ydsxx6.js → filesystem-1jewsfbp.js} +7 -7
- package/dist/chunks/{state-5bbtdh0c.js → filesystem-1kqxs66r.js} +15 -15
- package/dist/chunks/{state-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{state-p7vhpwh8.js → filesystem-1yq9hg58.js} +5 -5
- package/dist/chunks/{state-scz350ws.js → filesystem-1zp85v90.js} +13 -13
- package/dist/chunks/{state-ptmtz89k.js → filesystem-2552f9gw.js} +17 -17
- package/dist/chunks/{state-503es954.js → filesystem-286bwkth.js} +18 -18
- package/dist/chunks/{state-x4dm9tkt.js → filesystem-2a5amaht.js} +18 -18
- package/dist/chunks/{state-djjzzs3c.js → filesystem-2fawgvav.js} +6 -6
- package/dist/chunks/{state-acqd5mw7.js → filesystem-2ggcr862.js} +16 -16
- package/dist/chunks/{state-weh1a0nb.js → filesystem-2xs0rryy.js} +24 -24
- package/dist/chunks/{state-2z1j29yd.js → filesystem-2z1j29yd.js} +1 -1
- package/dist/chunks/{state-h7wan55b.js → filesystem-2zz4pbej.js} +14 -14
- package/dist/chunks/{state-c4970w7t.js → filesystem-32rqdfc7.js} +6 -6
- package/dist/chunks/{state-xt3e85c7.js → filesystem-37f9eqtg.js} +13 -13
- package/dist/chunks/{state-vyycp0en.js → filesystem-38my8t2w.js} +4 -4
- package/dist/chunks/{state-q52p07dj.js → filesystem-3bdnrd1q.js} +5 -5
- package/dist/chunks/{state-mpd21h1g.js → filesystem-3dffs2xc.js} +11 -11
- package/dist/chunks/{state-w9w8mt4n.js → filesystem-3gv0spa2.js} +4 -4
- package/dist/chunks/{state-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{state-s81f7mnr.js → filesystem-3p35tcse.js} +21 -21
- package/dist/chunks/{state-vnxcbc78.js → filesystem-3rr06q29.js} +8 -8
- package/dist/chunks/{state-ch4a6gtw.js → filesystem-3t73xeyv.js} +2 -2
- package/dist/chunks/{state-tm5er3st.js → filesystem-3wddgepz.js} +10 -10
- package/dist/chunks/{state-963r0pdn.js → filesystem-3y5jkgnv.js} +11 -11
- package/dist/chunks/{state-f0kzxy20.js → filesystem-40g71j7h.js} +26 -26
- package/dist/chunks/{state-amh70zsf.js → filesystem-40h6q7je.js} +40 -40
- package/dist/chunks/{state-m1w08pzq.js → filesystem-48wh137g.js} +29 -29
- package/dist/chunks/{state-jt25wn2n.js → filesystem-4angxd36.js} +7 -7
- package/dist/chunks/{state-3dsdetck.js → filesystem-4etepjnw.js} +6 -6
- package/dist/chunks/{state-4p9b4r2p.js → filesystem-4fhqgc15.js} +4 -4
- package/dist/chunks/{state-gfjw3g11.js → filesystem-4fvyz6gm.js} +36 -36
- package/dist/chunks/{state-y24xrewf.js → filesystem-4mnradvb.js} +14 -14
- package/dist/chunks/{state-hqncm972.js → filesystem-4npqj7c8.js} +11 -11
- package/dist/chunks/{state-4q1b57yv.js → filesystem-4q1b57yv.js} +4 -4
- package/dist/chunks/{state-e9rg68ej.js → filesystem-4t70q674.js} +2 -2
- package/dist/chunks/{state-h3b857xk.js → filesystem-4tqs0jzk.js} +4 -4
- package/dist/chunks/{state-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{state-rdrpd67x.js → filesystem-4wqc8mqe.js} +5 -5
- package/dist/chunks/{state-r67xb15b.js → filesystem-4x0avmzf.js} +2 -2
- package/dist/chunks/{state-4xvmh7wp.js → filesystem-4xvmh7wp.js} +3 -3
- package/dist/chunks/{state-81jtk0d4.js → filesystem-4yc3bycz.js} +5 -5
- package/dist/chunks/{state-h54749ae.js → filesystem-58g0x2b7.js} +7 -7
- package/dist/chunks/{state-77xnrh6j.js → filesystem-59ebw7nb.js} +4 -4
- package/dist/chunks/{state-mdn8gtgh.js → filesystem-5ae85xy6.js} +18 -18
- package/dist/chunks/{state-pr30wrsr.js → filesystem-5bcft13g.js} +3 -3
- package/dist/chunks/{state-972xsrgc.js → filesystem-5byqedsg.js} +9 -9
- package/dist/chunks/{state-ta944qmn.js → filesystem-5j8szzxn.js} +22 -22
- package/dist/chunks/{state-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-30b52wnj.js → filesystem-5pjpz24y.js} +17 -17
- package/dist/chunks/{state-771e9tr6.js → filesystem-5rqb1j6q.js} +5 -5
- package/dist/chunks/{state-992fen1c.js → filesystem-5w9558x0.js} +43 -43
- package/dist/chunks/{state-15n1g7v8.js → filesystem-5zvran9a.js} +8 -8
- package/dist/chunks/{state-jvnvsvj6.js → filesystem-600wwvjd.js} +9 -9
- package/dist/chunks/{state-61ennm6n.js → filesystem-61ennm6n.js} +1 -1
- package/dist/chunks/{state-tmt05c3b.js → filesystem-65d25esd.js} +6 -6
- package/dist/chunks/filesystem-6cw60t4e.js +261 -0
- package/dist/chunks/{state-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{state-9zkm52pa.js → filesystem-6gfsr0bt.js} +26 -26
- package/dist/chunks/{state-ygmx28v3.js → filesystem-6jp186ct.js} +13 -13
- package/dist/chunks/{state-6pjqjmy2.js → filesystem-6pjqjmy2.js} +1 -1
- package/dist/chunks/{state-m4cs48c6.js → filesystem-6rh867e6.js} +37 -37
- package/dist/chunks/{state-76cb1hcw.js → filesystem-76cb1hcw.js} +1 -1
- package/dist/chunks/{state-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-q6n1xzyn.js → filesystem-7gagvex5.js} +78 -78
- package/dist/chunks/{state-4vmx2553.js → filesystem-7hpze2gp.js} +31 -31
- package/dist/chunks/{state-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{state-adc3yk6d.js → filesystem-7yp67vww.js} +18 -18
- package/dist/chunks/{state-hta0w01s.js → filesystem-82raarjb.js} +133 -133
- package/dist/chunks/{state-1arg9991.js → filesystem-86m0qwc3.js} +9 -9
- package/dist/chunks/{state-87s5319w.js → filesystem-87s5319w.js} +1 -1
- package/dist/chunks/{state-tv6f3a3e.js → filesystem-8a1tt6eq.js} +15 -15
- package/dist/chunks/{state-wfrb9j0d.js → filesystem-8m0g8d5b.js} +8 -8
- package/dist/chunks/{state-qxq90j3e.js → filesystem-8shc1k29.js} +3 -3
- package/dist/chunks/{state-80e17k03.js → filesystem-8t7k9j69.js} +11 -11
- package/dist/chunks/{state-zxyxvdmp.js → filesystem-8vdykv35.js} +21 -21
- package/dist/chunks/{state-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{state-j02e2ssa.js → filesystem-8x51n0mm.js} +21 -21
- package/dist/chunks/{state-c5stsejj.js → filesystem-90x1sh4x.js} +48 -48
- package/dist/chunks/{state-91rj84md.js → filesystem-91rj84md.js} +1 -1
- package/dist/chunks/{state-qkreem8c.js → filesystem-934a61m2.js} +66 -66
- package/dist/chunks/{state-ce5fknq2.js → filesystem-96te9d4b.js} +5 -5
- package/dist/chunks/{state-998yhzzq.js → filesystem-998yhzzq.js} +3 -3
- package/dist/chunks/{state-2rqvw2mf.js → filesystem-9ab6dc0a.js} +30 -30
- package/dist/chunks/{state-9cx9sm2q.js → filesystem-9cx9sm2q.js} +1 -1
- package/dist/chunks/{state-k0jqhfwc.js → filesystem-9d5cfh3a.js} +18 -18
- package/dist/chunks/{state-bha90fza.js → filesystem-9g74tn6t.js} +20 -20
- package/dist/chunks/{state-hy8c1z76.js → filesystem-9kg5w032.js} +8 -8
- package/dist/chunks/{state-ncs6r1yk.js → filesystem-9w35abq4.js} +11 -11
- package/dist/chunks/{state-hb48s5x4.js → filesystem-9w5zpkrk.js} +23 -23
- package/dist/chunks/{state-4nw1g1b0.js → filesystem-a54cs83f.js} +12 -12
- package/dist/chunks/{state-wttyt2c5.js → filesystem-aa6rfe83.js} +24 -24
- package/dist/chunks/{state-tr3b758d.js → filesystem-abjs6xs3.js} +18 -18
- package/dist/chunks/{state-70bbkc3v.js → filesystem-aekqvw83.js} +3 -3
- package/dist/chunks/{state-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{state-w1dt9w7y.js → filesystem-azx0qc1w.js} +10 -10
- package/dist/chunks/{state-b0mv4wxm.js → filesystem-b0mv4wxm.js} +2 -2
- package/dist/chunks/{state-zap846dn.js → filesystem-b6qckq3s.js} +29 -29
- package/dist/chunks/{state-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{state-5t1vec6f.js → filesystem-bbzawyb8.js} +16 -16
- package/dist/chunks/{state-4z26ga1z.js → filesystem-bm3x8n5f.js} +19 -19
- package/dist/chunks/{state-hjqfsptq.js → filesystem-bnjexpda.js} +4 -4
- package/dist/chunks/{state-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{state-yee4tpcm.js → filesystem-c5tnkfyv.js} +23 -23
- package/dist/chunks/{state-ay9v92pn.js → filesystem-cgnt16pw.js} +4 -4
- package/dist/chunks/{state-aev3k5yp.js → filesystem-cwb88cey.js} +2 -2
- package/dist/chunks/{state-q5wyhmvf.js → filesystem-cwm52xht.js} +17 -17
- package/dist/chunks/{state-pjwfm23k.js → filesystem-cy5ef8hm.js} +11 -11
- package/dist/chunks/{state-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{state-0me3cbze.js → filesystem-d71bfcjn.js} +28 -28
- package/dist/chunks/{state-k8m6h63c.js → filesystem-dbgk2cxj.js} +9 -9
- package/dist/chunks/{state-7qcnp0x1.js → filesystem-dhs71wnc.js} +11 -11
- package/dist/chunks/{state-4kpnky1c.js → filesystem-dm791vdb.js} +10 -10
- package/dist/chunks/{state-gtz18rwj.js → filesystem-ds6cc6fh.js} +6 -6
- package/dist/chunks/{state-yc5f64c4.js → filesystem-dx106jag.js} +5 -5
- package/dist/chunks/{state-e07q2w5p.js → filesystem-e07q2w5p.js} +1 -1
- package/dist/chunks/{state-n8emybve.js → filesystem-e5reh5tz.js} +12 -12
- package/dist/chunks/{state-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{state-xbhwtc00.js → filesystem-e889e6n9.js} +12 -12
- package/dist/chunks/{state-ggp1yva8.js → filesystem-e90h7m11.js} +6 -6
- package/dist/chunks/{state-s4fqh25a.js → filesystem-efjhr83e.js} +32 -32
- package/dist/chunks/{state-mqcadzqw.js → filesystem-egmw08v6.js} +5 -5
- package/dist/chunks/{state-d4ba0d7d.js → filesystem-egnaf4wc.js} +11 -11
- package/dist/chunks/{state-vgk61ywp.js → filesystem-eqh43b5v.js} +9 -9
- package/dist/chunks/{state-y9dcbvc0.js → filesystem-f4c57skx.js} +3 -3
- package/dist/chunks/{state-90c15hge.js → filesystem-fakbbexg.js} +11 -11
- package/dist/chunks/{state-44asjrm9.js → filesystem-fdhm0b4k.js} +3 -3
- package/dist/chunks/{state-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{state-94q7ag8d.js → filesystem-fngyzhnx.js} +19 -19
- package/dist/chunks/{state-rt6z3ksq.js → filesystem-ftjyxsq7.js} +9 -9
- package/dist/chunks/{state-g3kbmw45.js → filesystem-fxjf9rj9.js} +33 -33
- package/dist/chunks/{state-0cwttbeb.js → filesystem-g0rar7vt.js} +5 -5
- package/dist/chunks/{state-g5h9c0rr.js → filesystem-g5h9c0rr.js} +2 -2
- package/dist/chunks/{state-hdnjkj1d.js → filesystem-gajzcr6m.js} +16 -16
- package/dist/chunks/{state-rcsw1nba.js → filesystem-gek54jmm.js} +27 -27
- package/dist/chunks/{state-wc8m166b.js → filesystem-gkn4n67r.js} +2 -2
- package/dist/chunks/{state-49chts1v.js → filesystem-gs4x0wfm.js} +17 -17
- package/dist/chunks/{state-p02wxyye.js → filesystem-h7hbrg9k.js} +52 -52
- package/dist/chunks/{state-hdfrs5mg.js → filesystem-hdfrs5mg.js} +2 -2
- package/dist/chunks/{state-gvr1nqb0.js → filesystem-hj2cbhc2.js} +16 -16
- package/dist/chunks/{state-x4pq83ar.js → filesystem-hk4y1qbf.js} +3 -3
- package/dist/chunks/{state-0zn7pq1y.js → filesystem-hndjxhwx.js} +8 -8
- package/dist/chunks/{state-jjx6aha5.js → filesystem-hx3mz2q2.js} +8 -8
- package/dist/chunks/{state-12k1n0af.js → filesystem-j0sqg4d1.js} +10 -10
- package/dist/chunks/{state-j113cymg.js → filesystem-j113cymg.js} +1 -1
- package/dist/chunks/{state-vyzzfsct.js → filesystem-j5n4xn75.js} +13 -13
- package/dist/chunks/{state-w04hajkc.js → filesystem-j77g158z.js} +8 -8
- package/dist/chunks/{state-h5tcmygr.js → filesystem-jd6wp082.js} +29 -29
- package/dist/chunks/{state-jefw9j3y.js → filesystem-jefw9j3y.js} +1 -1
- package/dist/chunks/{state-2v7qkbf0.js → filesystem-jfakxrjq.js} +24 -24
- package/dist/chunks/{state-dyf500ns.js → filesystem-jfh72r8h.js} +15 -15
- package/dist/chunks/{state-7va89kx5.js → filesystem-jnbf1chn.js} +11 -11
- package/dist/chunks/{state-8zstk8sy.js → filesystem-jnmjcr89.js} +20 -20
- package/dist/chunks/{state-rddythdj.js → filesystem-jpkt0sc6.js} +13 -13
- package/dist/chunks/{state-qyq8h28g.js → filesystem-jx89vj1k.js} +3 -3
- package/dist/chunks/{state-3tmwm9va.js → filesystem-jyenpfw3.js} +4 -4
- package/dist/chunks/{state-ceyjc8ge.js → filesystem-k7hxwx4t.js} +21 -21
- package/dist/chunks/{state-gtxfg6p1.js → filesystem-k7takf4z.js} +14 -14
- package/dist/chunks/{state-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{state-ssfehs1z.js → filesystem-kkqethq7.js} +4 -4
- package/dist/chunks/{state-wh4zer6t.js → filesystem-kncd35yj.js} +26 -26
- package/dist/chunks/{state-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{state-vcckamen.js → filesystem-kvgq4cgd.js} +24 -24
- package/dist/chunks/{state-ew0y3ary.js → filesystem-kvtqra18.js} +35 -35
- package/dist/chunks/{state-p5k0b6xz.js → filesystem-kw6b49qt.js} +36 -36
- package/dist/chunks/{state-st147jaz.js → filesystem-kzdpc3xr.js} +15 -15
- package/dist/chunks/{state-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{state-2kxtsxrk.js → filesystem-m4zwndh2.js} +1 -1
- package/dist/chunks/{state-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/{state-mj0wev1x.js → filesystem-mj0wev1x.js} +2 -2
- package/dist/chunks/{state-gp8afgt9.js → filesystem-msrvq25q.js} +31 -31
- package/dist/chunks/{state-gdb2frqz.js → filesystem-mwp0yv48.js} +1 -1
- package/dist/chunks/{state-4k1t9mxy.js → filesystem-mxem74k4.js} +13 -13
- package/dist/chunks/{state-nqykckqs.js → filesystem-n11a5kh1.js} +23 -23
- package/dist/chunks/{state-rvpcsj93.js → filesystem-n3hzq8hq.js} +17 -17
- package/dist/chunks/{state-szcgc7h4.js → filesystem-n6v2b7cw.js} +5 -5
- package/dist/chunks/{state-nah043kf.js → filesystem-nah043kf.js} +1 -1
- package/dist/chunks/{state-ygjj23b0.js → filesystem-neftya4w.js} +8 -8
- package/dist/chunks/{state-49xna53c.js → filesystem-ngzdt2ve.js} +3 -3
- package/dist/chunks/{state-gnqjpr12.js → filesystem-nsq4yd7p.js} +3 -3
- package/dist/chunks/{state-c8gsdbv5.js → filesystem-nwvcypp6.js} +11 -11
- package/dist/chunks/{state-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{state-rercxft0.js → filesystem-p07d65z0.js} +28 -28
- package/dist/chunks/{state-ya7cyy7h.js → filesystem-pfy2m4ca.js} +5 -5
- package/dist/chunks/{state-r2y2r2h5.js → filesystem-pgrw573c.js} +10 -10
- package/dist/chunks/{state-ady00g1q.js → filesystem-pk31y8jx.js} +10 -10
- package/dist/chunks/{state-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{state-dzff6n8n.js → filesystem-pp4x3x88.js} +8 -8
- package/dist/chunks/{state-9bgr5st8.js → filesystem-q13f8gqt.js} +11 -11
- package/dist/chunks/{state-w87973gh.js → filesystem-q1bdnzan.js} +1 -1
- package/dist/chunks/{state-0af46afc.js → filesystem-q4syar25.js} +9 -9
- package/dist/chunks/{state-emxrw28n.js → filesystem-q6kf4edm.js} +1 -1
- package/dist/chunks/{state-qg5qwe27.js → filesystem-qkpn6d5r.js} +77 -77
- package/dist/chunks/{state-2pqdxqk3.js → filesystem-qkrpwkqk.js} +8 -8
- package/dist/chunks/{state-4349p72q.js → filesystem-qswdam80.js} +44 -44
- package/dist/chunks/{state-sjc7ghj1.js → filesystem-qxe3n5xa.js} +4 -4
- package/dist/chunks/{state-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{state-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
- package/dist/chunks/{state-0gcad0bv.js → filesystem-r5y2frqw.js} +6 -6
- package/dist/chunks/{state-hvwvq3df.js → filesystem-r8f6rk3c.js} +5 -5
- package/dist/chunks/{state-rpazx2zk.js → filesystem-r9zbyr4a.js} +14 -14
- package/dist/chunks/{state-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{state-b7jmvbzq.js → filesystem-rh0vm7a3.js} +17 -17
- package/dist/chunks/{state-51j4br5n.js → filesystem-rk1c2d86.js} +28 -28
- package/dist/chunks/{state-4awm4drz.js → filesystem-rk5tncjm.js} +10 -10
- package/dist/chunks/{state-1c10trcx.js → filesystem-rrbn0j5d.js} +21 -21
- package/dist/chunks/{state-sf02nxf4.js → filesystem-rrv8kjjp.js} +22 -22
- package/dist/chunks/{state-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{state-5x6g3p31.js → filesystem-rz958wdz.js} +17 -17
- package/dist/chunks/{state-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
- package/dist/chunks/{state-h1ps7867.js → filesystem-sb8x2mjg.js} +16 -16
- package/dist/chunks/{state-jfeae8gq.js → filesystem-sbanjb5j.js} +11 -11
- package/dist/chunks/{state-dad9fjtp.js → filesystem-scbc8y9k.js} +2 -2
- package/dist/chunks/{state-vrcsa8qx.js → filesystem-smfcvx02.js} +9 -9
- package/dist/chunks/{state-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
- package/dist/chunks/{state-2ppa869z.js → filesystem-srha6svp.js} +7 -7
- package/dist/chunks/{state-99dpys38.js → filesystem-sx82062d.js} +308 -308
- package/dist/chunks/{state-4xa8m40g.js → filesystem-t4zj4gks.js} +24 -24
- package/dist/chunks/{state-54kk5jnt.js → filesystem-t6gd5zzm.js} +30 -30
- package/dist/chunks/{state-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{state-mzbswx4t.js → filesystem-ts7mkfs9.js} +2 -2
- package/dist/chunks/{state-xemekp33.js → filesystem-tvw5eq5w.js} +4 -4
- package/dist/chunks/{state-twv2r8f4.js → filesystem-twv2r8f4.js} +2 -2
- package/dist/chunks/{state-rfhngetd.js → filesystem-tz3v2dvp.js} +2 -2
- package/dist/chunks/{state-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{state-6avyng2x.js → filesystem-vcpv0cg0.js} +4 -4
- package/dist/chunks/{state-vd3b3yk9.js → filesystem-vd3b3yk9.js} +1 -1
- package/dist/chunks/{state-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{state-hq40j3p6.js → filesystem-vgqmettk.js} +29 -24
- package/dist/chunks/{state-8csxm7jm.js → filesystem-vh4zhzaj.js} +9 -9
- package/dist/chunks/{state-0czbrqz1.js → filesystem-vmpcefzm.js} +40 -40
- package/dist/chunks/{state-fw65n7rt.js → filesystem-vmw5emv6.js} +19 -19
- package/dist/chunks/{state-80jbgczm.js → filesystem-vvmd7csk.js} +16 -16
- package/dist/chunks/{state-33rsf8jw.js → filesystem-vxjvm93v.js} +9 -9
- package/dist/chunks/{state-40za9wsf.js → filesystem-w2eysc6j.js} +9 -9
- package/dist/chunks/{state-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-exhg2pyt.js → filesystem-w5d18jnt.js} +7 -7
- package/dist/chunks/{state-jrwc8w57.js → filesystem-w84f94qk.js} +11 -11
- package/dist/chunks/{state-mwta5nj0.js → filesystem-wachhca3.js} +4 -4
- package/dist/chunks/{state-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{state-br0kkpnn.js → filesystem-wmjzvx4b.js} +7 -7
- package/dist/chunks/{state-b945bzec.js → filesystem-wt7ydzte.js} +14 -14
- package/dist/chunks/{state-73sjrw23.js → filesystem-wybcmnnj.js} +21 -21
- package/dist/chunks/{state-pbrfva61.js → filesystem-x0vqv7fn.js} +9 -9
- package/dist/chunks/{state-evc2jewf.js → filesystem-xkat47kc.js} +13 -13
- package/dist/chunks/{state-vj4r112x.js → filesystem-xpyh10vg.js} +18 -18
- package/dist/chunks/{state-4eknyzsm.js → filesystem-xxteqpwx.js} +3 -3
- package/dist/chunks/{state-adchpjjx.js → filesystem-xy470p1n.js} +12 -12
- package/dist/chunks/{state-dta660tg.js → filesystem-y2rgpw35.js} +11 -11
- package/dist/chunks/{state-bfs9yhh1.js → filesystem-y5smbybx.js} +6 -6
- package/dist/chunks/{state-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{state-8371pj2x.js → filesystem-yh9xwh37.js} +6 -6
- package/dist/chunks/{state-y79xrw0m.js → filesystem-yjvjgdfq.js} +13 -13
- package/dist/chunks/{state-fa13985z.js → filesystem-yzs5y582.js} +4 -4
- package/dist/chunks/{state-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/filesystem-z355x5yr.js +18 -0
- package/dist/chunks/{state-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{state-qgrec3y3.js → filesystem-z3ayhk2f.js} +33 -33
- package/dist/chunks/{state-efrp7n2x.js → filesystem-z4ndfdcq.js} +9 -9
- package/dist/chunks/{state-n1qenrmb.js → filesystem-zdt59aw1.js} +6 -6
- package/dist/chunks/{state-xhqtt1yk.js → filesystem-zfk4rxgj.js} +4 -4
- package/dist/chunks/{state-4c4w8c1g.js → filesystem-zj038rf2.js} +6 -6
- package/dist/chunks/{state-zkg84ctx.js → filesystem-zkg84ctx.js} +1 -1
- package/dist/chunks/{state-cypkeheb.js → filesystem-zqmnxa57.js} +15 -15
- package/dist/chunks/{state-g3azxf0z.js → filesystem-zr78jqjw.js} +16 -16
- package/dist/chunks/{state-j9e6sx0d.js → filesystem-zz0567cx.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +87 -87
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +119 -119
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +90 -90
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -376
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +99 -99
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +109 -109
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- 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 +367 -367
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -364
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +97 -96
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev.js +102 -102
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode-legacy.js +105 -105
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +356 -356
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +99 -99
- 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 +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +216 -216
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +88 -88
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +119 -119
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/mcp/client.d.ts +2 -0
- package/dist/usage-limits.js +91 -91
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +80 -80
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/state-21kyany4.js +0 -261
- package/dist/chunks/state-28779zxv.js +0 -26
- package/dist/chunks/state-a610t88q.js +0 -18
- /package/dist/chunks/{state-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./filesystem-6rh867e6.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin4,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description2,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name4
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name4 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input4 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input10 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input4.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin4 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service73;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name4,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
106
|
-
input:
|
|
105
|
+
description: description2,
|
|
106
|
+
input: Input4,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin46 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name4,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin4, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./filesystem-rrbn0j5d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-mxem74k4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service17
|
|
11
|
+
} from "./filesystem-fakbbexg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./filesystem-6rh867e6.js";
|
|
15
15
|
import {
|
|
16
16
|
Service16
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-600wwvjd.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input13,
|
|
29
|
+
Output: () => Output9,
|
|
30
|
+
Plugin: () => Plugin15,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name13,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name13 = "write";
|
|
39
|
+
var Input13 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output9 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin15 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
55
|
const access = yield* Service16;
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service55;
|
|
58
|
+
const formatter = yield* Service17;
|
|
59
|
+
const permission = yield* Service73;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name13,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input13,
|
|
69
|
+
output: Output9,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name13, Input13, Output9, toModelContent6, Plugin15, exports_write };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
5
|
var Info21 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info21, SessionSchema2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-96te9d4b.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-4fhqgc15.js";
|
|
4
4
|
import {
|
|
5
5
|
Event18
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-g0rar7vt.js";
|
|
7
7
|
import {
|
|
8
8
|
ID14
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-y5smbybx.js";
|
|
10
10
|
import {
|
|
11
11
|
ID13
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-ds6cc6fh.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-4fhqgc15.js";
|
|
8
8
|
import {
|
|
9
9
|
Event18,
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-g0rar7vt.js";
|
|
13
13
|
import {
|
|
14
14
|
Service83,
|
|
15
15
|
node87
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-0r6ymdag.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node58
|
|
20
|
+
} from "./filesystem-rrbn0j5d.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
23
|
Service82,
|
|
24
24
|
node86
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-cwb88cey.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service80,
|
|
34
34
|
node84
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-y5smbybx.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 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service41,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
56
|
layer: () => layer19,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node44
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
109
|
var Options4 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -112,9 +112,9 @@ var Options4 = Schema.Struct({
|
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var layer19 = (options) => Layer.effect(
|
|
115
|
+
var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service83;
|
|
117
|
-
const environment = yield*
|
|
117
|
+
const environment = yield* Service55;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
119
|
const forms = yield* Service82;
|
|
120
120
|
const integration = yield* Service80;
|
|
@@ -272,7 +272,7 @@ var layer19 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
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(
|
|
275
|
+
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(Service55, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer19 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -478,11 +478,16 @@ var layer19 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service41.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
485
|
-
return Array.from(entries).toSorted(([a], [b]) => a.localeCompare(b)).map(([name, entry]) => ({
|
|
485
|
+
return Array.from(entries).toSorted(([a], [b]) => a.localeCompare(b)).map(([name, entry]) => ({
|
|
486
|
+
name,
|
|
487
|
+
status: entry.status,
|
|
488
|
+
title: entry.client?.title,
|
|
489
|
+
integrationID: entry.integrationID
|
|
490
|
+
}));
|
|
486
491
|
}),
|
|
487
492
|
add: Effect.fn("MCP.add")(function* (server, config) {
|
|
488
493
|
const name = ServerName2.make(server);
|
|
@@ -608,12 +613,12 @@ function mergeCatalogs(catalogs) {
|
|
|
608
613
|
}
|
|
609
614
|
function configured4(options) {
|
|
610
615
|
return makeLocationNode({
|
|
611
|
-
service:
|
|
616
|
+
service: Service41,
|
|
612
617
|
layer: layer19(options),
|
|
613
|
-
deps: [node87,
|
|
618
|
+
deps: [node87, node58, node90, node86, node84, node85]
|
|
614
619
|
});
|
|
615
620
|
}
|
|
616
|
-
var
|
|
621
|
+
var node44 = configured4();
|
|
617
622
|
function toElicitationField(key, property, required) {
|
|
618
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
619
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -664,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
664
669
|
}
|
|
665
670
|
}
|
|
666
671
|
|
|
667
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service41, Options4, layer19, configured4, node44, exports_mcp4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service50,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node53
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service50 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service50.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node53 = makeLocationNode({ service: Service50, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service50, node53, exports_image2 };
|