@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./filesystem-7yp67vww.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./filesystem-kw6b49qt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service20,
|
|
12
12
|
statements3,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-cy5ef8hm.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make6
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make6 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service68;
|
|
35
|
+
const managed = yield* Service20;
|
|
36
|
+
const watcher = yield* Service69;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make6, LoadError2, exports_module };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make23,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-jefw9j3y.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-6rh867e6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service41,
|
|
12
|
+
node44
|
|
13
|
+
} from "./filesystem-vgqmettk.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./filesystem-kvtqra18.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service32,
|
|
27
|
+
layer: () => layer15,
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -65,11 +65,11 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service32 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
const mcp = yield*
|
|
72
|
-
return
|
|
70
|
+
var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
71
|
+
const mcp = yield* Service41;
|
|
72
|
+
return Service32.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
74
|
const source = (value) => make23({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
@@ -90,7 +90,7 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node36 = makeLocationNode({ service: Service32, layer: layer15, deps: [node44] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service32, layer15, node36, exports_instructions3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service10 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service10.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service10, node12, exports_update };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service65,
|
|
3
|
+
node69,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-dbgk2cxj.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./filesystem-32rqdfc7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./filesystem-2xs0rryy.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-6cw60t4e.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service65, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service19);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node67.replace(Layer.succeed(Service63, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node69.replace(Layer.succeed(Service65, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info15
|
|
9
|
-
} from "./state-ggp1yva8.js";
|
|
6
|
+
} from "./filesystem-87s5319w.js";
|
|
10
7
|
import {
|
|
11
8
|
Info16
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./filesystem-e90h7m11.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./filesystem-wmjzvx4b.js";
|
|
13
|
+
import {
|
|
14
|
+
Info15
|
|
15
|
+
} from "./filesystem-4wqc8mqe.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info14
|
|
21
|
+
} from "./filesystem-n6v2b7cw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-jyenpfw3.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5fjb7ams.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-dx106jag.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-f4c57skx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./filesystem-32rqdfc7.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-z355x5yr.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-srha6svp.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-9ab6dc0a.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service30
|
|
18
|
+
} from "./filesystem-7gagvex5.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-9cx9sm2q.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service63;
|
|
36
36
|
const database = yield* Service87;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service30;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-0r6ymdag.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./filesystem-kw6b49qt.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9g74tn6t.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-6pjqjmy2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin24
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin24 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service68;
|
|
35
35
|
const location = yield* Service83;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin24, exports_reference };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-4fhqgc15.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-g0rar7vt.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-61ennm6n.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-cwb88cey.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration2 = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-8x51n0mm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID7.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-f4c57skx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-4fhqgc15.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./filesystem-32rqdfc7.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
Service43
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-4yc3bycz.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-8shc1k29.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-998yhzzq.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-srha6svp.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service63;
|
|
44
44
|
const database = yield* Service87;
|
|
45
45
|
const bus = yield* Service86;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
@@ -72,7 +72,7 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service63;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
78
|
const snapshot = yield* Service43;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service79
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-ds6cc6fh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./filesystem-kw6b49qt.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service79;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service68);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service40 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service40.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service40, awaitActivation2, exports_service };
|