@opencode/core 0.0.0-dev-19676 → 0.0.0-dev-19677
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{mime-csf2jhsg.js → command-06dxphr1.js} +4 -4
- package/dist/chunks/{mime-fka8s72p.js → command-0gbtp71g.js} +17 -17
- package/dist/chunks/{mime-2k8khapm.js → command-0jwsre1p.js} +5 -5
- package/dist/chunks/{mime-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-dv7jba04.js → command-0qescp40.js} +1 -1
- package/dist/chunks/{mime-9wp7cw93.js → command-0rbej475.js} +16 -16
- package/dist/chunks/{mime-6vjs791k.js → command-0t3f5f2j.js} +24 -24
- package/dist/chunks/{mime-9tpvgkm4.js → command-0v94nfhm.js} +9 -9
- package/dist/chunks/{mime-vv2e8ggb.js → command-0vgngd9g.js} +26 -26
- package/dist/chunks/{mime-e6d6pdps.js → command-10jtetaj.js} +4 -4
- package/dist/chunks/{mime-pzbdg5ae.js → command-12fr5h43.js} +4 -4
- package/dist/chunks/{mime-pk5h2d3g.js → command-162dzd26.js} +4 -4
- package/dist/chunks/{mime-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-tphheadp.js → command-1hpee78n.js} +10 -10
- package/dist/chunks/{mime-1bx7pb99.js → command-1jzmnccz.js} +8 -8
- package/dist/chunks/{mime-zshjmg5c.js → command-1qsftg3h.js} +23 -23
- package/dist/chunks/{mime-qst8j85x.js → command-1sjdykg9.js} +18 -18
- package/dist/chunks/{mime-q5ptgr8r.js → command-1v7c51ma.js} +12 -12
- package/dist/chunks/{mime-vx1605wv.js → command-1w4m95ye.js} +2 -2
- package/dist/chunks/command-1x11rq2a.js +18 -0
- package/dist/chunks/{mime-56gdpj1q.js → command-1ygqh575.js} +9 -9
- package/dist/chunks/{mime-4jpncxq3.js → command-205fktxw.js} +10 -10
- package/dist/chunks/{mime-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{mime-0p4r5z7z.js → command-2277p7za.js} +3 -3
- package/dist/chunks/{mime-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-hefg7mzt.js → command-24k4k4wx.js} +20 -20
- package/dist/chunks/{mime-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-dfg0bpnz.js → command-2ehyz9hr.js} +11 -11
- package/dist/chunks/{mime-dys6fa9v.js → command-2s9v5q2j.js} +6 -6
- package/dist/chunks/{mime-50px0bpn.js → command-2sgz0h5a.js} +6 -6
- package/dist/chunks/{mime-bg2g1xyx.js → command-2zsjkq9g.js} +20 -20
- package/dist/chunks/{mime-xhj2ag2n.js → command-30bm9ajm.js} +16 -16
- package/dist/chunks/{mime-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-6jhr0q17.js → command-3h2szgxz.js} +6 -6
- package/dist/chunks/{mime-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-9cg1cz13.js → command-3pzavtjr.js} +14 -14
- package/dist/chunks/{mime-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-2qp6y8xf.js → command-3w0fmcng.js} +5 -5
- package/dist/chunks/{mime-yp7kb132.js → command-41h8t21e.js} +5 -5
- package/dist/chunks/{mime-qqevf9na.js → command-45j2k0pw.js} +24 -24
- package/dist/chunks/{mime-d3xmts5k.js → command-467dymen.js} +29 -29
- package/dist/chunks/{mime-k7p6gza5.js → command-46pvzydw.js} +23 -23
- package/dist/chunks/{mime-cjwramev.js → command-4d8evfpc.js} +6 -6
- package/dist/chunks/{mime-h6r3nrb9.js → command-4dgbcxzg.js} +4 -4
- package/dist/chunks/{mime-1s8fjf9r.js → command-4dq01fp5.js} +11 -11
- package/dist/chunks/{mime-na6wbzjd.js → command-4jv5ref6.js} +79 -79
- package/dist/chunks/{mime-yn99wfgb.js → command-4sbvrcej.js} +17 -17
- package/dist/chunks/{mime-x2q6da39.js → command-4w1whx26.js} +4 -4
- package/dist/chunks/{mime-x233q2fk.js → command-53tjwt9g.js} +44 -44
- package/dist/chunks/{mime-57ez7d0k.js → command-57ez7d0k.js} +2 -2
- package/dist/chunks/{mime-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-49g88a08.js → command-5mffgv55.js} +2 -2
- package/dist/chunks/{mime-1a6p2twq.js → command-5q02cxx3.js} +4 -4
- package/dist/chunks/{mime-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-xf04dma3.js → command-5vcsb3kk.js} +32 -32
- package/dist/chunks/{mime-31besbt1.js → command-666pnfkr.js} +16 -16
- package/dist/chunks/{mime-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{mime-tt83xs7d.js → command-68wccpr5.js} +25 -25
- package/dist/chunks/{mime-4416c72h.js → command-69a0df8h.js} +10 -10
- package/dist/chunks/{mime-89bb6baa.js → command-69j91c1q.js} +8 -8
- package/dist/chunks/{mime-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-bbe2nkwj.js → command-6xmmm4dq.js} +15 -15
- package/dist/chunks/{mime-v5anqx5b.js → command-6yyja3sr.js} +9 -9
- package/dist/chunks/{mime-35bpgycj.js → command-7262bdbz.js} +13 -13
- package/dist/chunks/{mime-mvfsc1pv.js → command-73tb2d7t.js} +3 -3
- package/dist/chunks/{mime-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-zhq7v0p7.js → command-7d93j08s.js} +7 -7
- package/dist/chunks/{mime-2zjw9q23.js → command-7hj3xbrc.js} +21 -21
- package/dist/chunks/{mime-3aemhp6x.js → command-7htbj526.js} +28 -28
- package/dist/chunks/{mime-04tfxcdr.js → command-7p3xftwe.js} +12 -12
- package/dist/chunks/{mime-78rkm6ft.js → command-7q2zmtmd.js} +13 -13
- package/dist/chunks/{mime-1765dzhp.js → command-7v69ty2b.js} +22 -22
- package/dist/chunks/{mime-bk4n5516.js → command-7wdpv7yx.js} +16 -16
- package/dist/chunks/{mime-rqv9ygtn.js → command-7wxbqxph.js} +22 -22
- package/dist/chunks/{mime-qvwwf4fp.js → command-840wgd2q.js} +24 -24
- package/dist/chunks/{mime-859cc6bp.js → command-84q2vxed.js} +23 -23
- package/dist/chunks/{mime-92atbx3b.js → command-8977mvv6.js} +11 -11
- package/dist/chunks/{mime-1zpnajcw.js → command-8a8wdyzn.js} +11 -11
- package/dist/chunks/{mime-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-8p4f9s12.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{mime-8phwd4yj.js → command-8phwd4yj.js} +2 -2
- package/dist/chunks/command-95efmqcm.js +247 -0
- package/dist/chunks/{mime-21rnv1zr.js → command-96hc392c.js} +6 -6
- package/dist/chunks/{mime-e5b7myd9.js → command-9esbgk1q.js} +4 -4
- package/dist/chunks/{mime-de09dxhj.js → command-9fzyx5wt.js} +1 -1
- package/dist/chunks/{mime-1v6wmkfd.js → command-9g3kc011.js} +5 -5
- package/dist/chunks/{mime-9r7qax81.js → command-9hcft21q.js} +11 -11
- package/dist/chunks/{mime-3hfr6h8q.js → command-9hn6k4tm.js} +8 -8
- package/dist/chunks/{mime-fejzv7cs.js → command-9pj1fj9p.js} +13 -13
- package/dist/chunks/{mime-d1mtykxg.js → command-9r15s34d.js} +6 -6
- package/dist/chunks/{mime-mkhs8n3r.js → command-9r59gk3z.js} +6 -6
- package/dist/chunks/{mime-7jws6rem.js → command-9s6fqtph.js} +302 -302
- package/dist/chunks/{mime-y2yt4szk.js → command-9y0w708y.js} +8 -8
- package/dist/chunks/{mime-af04s6ss.js → command-a1a50ys5.js} +5 -5
- package/dist/chunks/{mime-a1bz86dw.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{mime-0aa0h9xn.js → command-a6aqwg0c.js} +1 -1
- package/dist/chunks/{mime-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-dtqm20v3.js → command-ahh5tn9t.js} +6 -6
- package/dist/chunks/{mime-03vjrbdx.js → command-akdr1yx1.js} +9 -9
- package/dist/chunks/{mime-d9age9tx.js → command-at45qxm4.js} +2 -2
- package/dist/chunks/{mime-ewpsdr79.js → command-b2aemhvb.js} +15 -15
- package/dist/chunks/{mime-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-aya75d5a.js → command-b7td26qf.js} +9 -9
- package/dist/chunks/{mime-px5d9yap.js → command-b9g9100q.js} +8 -8
- package/dist/chunks/{mime-vkxpz7g2.js → command-bajakh74.js} +4 -4
- package/dist/chunks/{mime-f8vcdpta.js → command-bbzxkx14.js} +28 -28
- package/dist/chunks/{mime-zn83cexa.js → command-ber7v889.js} +8 -8
- package/dist/chunks/{mime-mkf4aqmw.js → command-bja92bag.js} +18 -18
- package/dist/chunks/{mime-rvws15xt.js → command-bxvsvvek.js} +9 -9
- package/dist/chunks/{mime-ts2x07a1.js → command-bz85s9hh.js} +1 -1
- package/dist/chunks/{mime-rw2tks3h.js → command-c18bwgtt.js} +23 -23
- package/dist/chunks/{mime-nszcs87g.js → command-c492wyyq.js} +7 -7
- package/dist/chunks/{mime-azt3m59k.js → command-c89895qa.js} +22 -22
- package/dist/chunks/command-ca6m86r2.js +26 -0
- package/dist/chunks/{mime-2pnhn36q.js → command-cavr175a.js} +21 -21
- package/dist/chunks/{mime-cfpkc3c9.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{mime-7hx8j49b.js → command-cnkwk6vd.js} +13 -13
- package/dist/chunks/{mime-dab9gdbe.js → command-cq2x0peb.js} +4 -4
- package/dist/chunks/{mime-ex7fm8gg.js → command-cy3cnjq8.js} +4 -4
- package/dist/chunks/{mime-65ay1smp.js → command-cykmh698.js} +23 -23
- package/dist/chunks/{mime-dyte7aq0.js → command-d1sy02nx.js} +37 -37
- package/dist/chunks/{mime-yqz1tghx.js → command-d24a1m55.js} +14 -14
- package/dist/chunks/{mime-ny4f3s0v.js → command-dfzezczs.js} +1 -1
- package/dist/chunks/{mime-2n5k2cty.js → command-dmajge55.js} +27 -27
- package/dist/chunks/{mime-drwq78ky.js → command-drwq78ky.js} +1 -1
- package/dist/chunks/{mime-d89gs2xh.js → command-dsk9gyby.js} +6 -6
- package/dist/chunks/{mime-sat34sqy.js → command-dy775f0c.js} +12 -12
- package/dist/chunks/{mime-tprcptpe.js → command-e01edj6k.js} +36 -36
- package/dist/chunks/{mime-kb5bv2n4.js → command-e2a7kn3r.js} +35 -35
- package/dist/chunks/{mime-d5zrkzmf.js → command-e3bagrz8.js} +3 -3
- package/dist/chunks/{mime-4vy2cx8a.js → command-ecywet7n.js} +30 -30
- package/dist/chunks/{mime-pn533w1y.js → command-eeq2162a.js} +86 -86
- package/dist/chunks/{mime-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-4b3a3k2s.js → command-ek5xzf05.js} +24 -24
- package/dist/chunks/{mime-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-b9spxxcf.js → command-ez8ghmhr.js} +6 -6
- package/dist/chunks/{mime-xj9vawve.js → command-f6jpff70.js} +16 -16
- package/dist/chunks/{mime-f828m53h.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{mime-kdq8v965.js → command-fdms3n6w.js} +9 -9
- package/dist/chunks/{mime-jfqtm2ew.js → command-fdv30zvt.js} +7 -7
- package/dist/chunks/{mime-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{mime-stxr33d1.js → command-fza673sd.js} +8 -8
- package/dist/chunks/{mime-zyr433b0.js → command-g8jasmdt.js} +11 -11
- package/dist/chunks/{mime-1qzraqgc.js → command-g97kwpg6.js} +43 -43
- package/dist/chunks/command-gbadjzag.js +4 -0
- package/dist/chunks/{mime-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-ebd70zp7.js → command-gfcakcdp.js} +3 -3
- package/dist/chunks/{mime-5qmhr9cv.js → command-ghzty3dd.js} +24 -24
- package/dist/chunks/{mime-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-wa5xcfdj.js → command-gw8w5vjt.js} +28 -28
- package/dist/chunks/{mime-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{mime-et3m3hv9.js → command-h0jpty9f.js} +11 -11
- package/dist/chunks/{mime-pbpjca3p.js → command-h3kwk8y9.js} +7 -7
- package/dist/chunks/{mime-dzw83ac5.js → command-h5m7e0fe.js} +9 -9
- package/dist/chunks/{mime-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-cswecm5v.js → command-h9ammvhv.js} +24 -24
- package/dist/chunks/{mime-rqd9fwpe.js → command-h9r75fxg.js} +1 -1
- package/dist/chunks/{mime-11qgt1va.js → command-ha607pgt.js} +6 -6
- package/dist/chunks/{mime-9jq91ht4.js → command-hatahbqr.js} +23 -23
- package/dist/chunks/{mime-c6s0q70p.js → command-hjm0k3fp.js} +2 -2
- package/dist/chunks/{mime-mqb6w0rk.js → command-hy1f76q1.js} +4 -4
- package/dist/chunks/{mime-h1957gbp.js → command-j4d74nk7.js} +35 -35
- package/dist/chunks/{mime-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-me1tt2vw.js → command-j7qr8k9e.js} +11 -11
- package/dist/chunks/{mime-k3gnzxs0.js → command-jppvw2tx.js} +5 -5
- package/dist/chunks/{mime-8htb71ed.js → command-jv9wq4h1.js} +15 -15
- package/dist/chunks/{mime-w93avjv0.js → command-k6zsgamj.js} +8 -8
- package/dist/chunks/{mime-4bfa0ewn.js → command-kfep38wt.js} +51 -51
- package/dist/chunks/{mime-b4ahrz2h.js → command-khnzgmt2.js} +24 -24
- package/dist/chunks/{mime-s6wmy0wz.js → command-km6ktv04.js} +6 -6
- package/dist/chunks/{mime-knb7evpn.js → command-knb7evpn.js} +2 -2
- package/dist/chunks/{mime-h4c27ev9.js → command-kwqsq9eb.js} +1 -1
- package/dist/chunks/{mime-tqkrwgse.js → command-ky3seynh.js} +2 -2
- package/dist/chunks/{mime-e6yqvfab.js → command-kzm1fy32.js} +17 -17
- package/dist/chunks/{mime-gnrjfmn5.js → command-m728j35j.js} +10 -10
- package/dist/chunks/{mime-cfzsy5dn.js → command-m8hf639e.js} +8 -8
- package/dist/chunks/{mime-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-b1vqta1q.js → command-mrwc1hpc.js} +6 -6
- package/dist/chunks/{mime-hnbtvde1.js → command-mx4gtjsx.js} +17 -17
- package/dist/chunks/{mime-1mc3rdpb.js → command-n2jgbhgk.js} +11 -11
- package/dist/chunks/{mime-p8z9n6pf.js → command-n8fcz8br.js} +5 -5
- package/dist/chunks/{mime-3wkg3shk.js → command-n9gqnw48.js} +24 -24
- package/dist/chunks/{mime-6rhtevmb.js → command-nwkv3axv.js} +8 -8
- package/dist/chunks/{mime-khwtb84z.js → command-p04t4jyd.js} +5 -5
- package/dist/chunks/{mime-wpdxnz6z.js → command-p5t2wdxk.js} +11 -11
- package/dist/chunks/{mime-pky3fvqk.js → command-p7kdkvkh.js} +22 -22
- package/dist/chunks/{mime-dv2t2cas.js → command-pb15jk6q.js} +24 -24
- package/dist/chunks/{mime-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-t8pjkv49.js → command-pka3f0bn.js} +23 -23
- package/dist/chunks/{mime-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{mime-2f2be1sz.js → command-q1hc292q.js} +11 -11
- package/dist/chunks/{mime-ddt2bs9e.js → command-q5asdkn4.js} +4 -4
- package/dist/chunks/{mime-w22xa3ag.js → command-q68zbz63.js} +8 -8
- package/dist/chunks/{mime-c82sf4kt.js → command-qa89xvga.js} +43 -43
- package/dist/chunks/{mime-xgtksw21.js → command-qhvr2jea.js} +4 -4
- package/dist/chunks/{mime-yr3ynvqg.js → command-qj8dptrs.js} +50 -50
- package/dist/chunks/{mime-cpqxnny0.js → command-qnga3n65.js} +18 -18
- package/dist/chunks/{mime-cgxdsxqf.js → command-qnt9sasj.js} +8 -8
- package/dist/chunks/{mime-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-5d607bsg.js → command-r2m716tb.js} +9 -9
- package/dist/chunks/{mime-x3ws3syc.js → command-r7fwjr8e.js} +47 -47
- package/dist/chunks/{mime-z8jfcem0.js → command-rc7jd0ep.js} +11 -11
- package/dist/chunks/{mime-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-j3s2z371.js → command-rhafb4aa.js} +9 -9
- package/dist/chunks/{mime-9xx6hc8d.js → command-rqr91q1p.js} +24 -24
- package/dist/chunks/{mime-ysv8z11j.js → command-rqz3bkzt.js} +8 -8
- package/dist/chunks/{mime-gq9ay3kp.js → command-rre36xp5.js} +13 -13
- package/dist/chunks/{mime-d338qq6w.js → command-s57hh4xa.js} +62 -62
- package/dist/chunks/{mime-9w5xwdkh.js → command-s86fxarf.js} +18 -18
- package/dist/chunks/{mime-xvw106k3.js → command-seydkqn5.js} +4 -4
- package/dist/chunks/{mime-w3byk4vz.js → command-sgve36kw.js} +134 -134
- package/dist/chunks/{mime-18e56dsp.js → command-shh6fz4q.js} +4 -4
- package/dist/chunks/{mime-7s5w9y6x.js → command-sj80jspt.js} +35 -35
- package/dist/chunks/{mime-vme96mrp.js → command-stnkqxxq.js} +13 -13
- package/dist/chunks/{mime-bnf67f0t.js → command-t23rfjnq.js} +6 -6
- package/dist/chunks/{mime-0gdmqesm.js → command-t550f9t1.js} +4 -4
- package/dist/chunks/{mime-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-wgcccx00.js → command-tbvzjzzt.js} +41 -41
- package/dist/chunks/{mime-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-mjhwwr1h.js → command-tcy8tav0.js} +8 -8
- package/dist/chunks/{mime-tvjtxmeb.js → command-td2jtkpf.js} +16 -16
- package/dist/chunks/{mime-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{mime-5mc1avxv.js → command-tfdat96q.js} +9 -9
- package/dist/chunks/{mime-jenzj19r.js → command-tk1ghjnq.js} +3 -3
- package/dist/chunks/{mime-v9shbp9h.js → command-tqxxrrwb.js} +30 -30
- package/dist/chunks/{mime-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-02w4s5j2.js → command-v10a7mjz.js} +26 -26
- package/dist/chunks/{mime-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-x1q5t1cj.js → command-vry016k2.js} +20 -20
- package/dist/chunks/{mime-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-sarbwdm8.js → command-vzjsab6x.js} +11 -11
- package/dist/chunks/{mime-wryja361.js → command-w2xdsg80.js} +9 -9
- package/dist/chunks/{mime-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-ttvrg1dv.js → command-w9037jm3.js} +30 -30
- package/dist/chunks/{mime-jm4d1k5k.js → command-wbhg106y.js} +24 -24
- package/dist/chunks/{mime-8m9832bt.js → command-wd5s8d9s.js} +31 -31
- package/dist/chunks/{mime-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{mime-7tbaktnp.js → command-wevghkec.js} +24 -24
- package/dist/chunks/{mime-gyv66jpz.js → command-wmnva1mv.js} +3 -3
- package/dist/chunks/{mime-ky8k1321.js → command-wmqsncpr.js} +12 -12
- package/dist/chunks/{mime-6217hwpf.js → command-wpsghzwe.js} +20 -20
- package/dist/chunks/{mime-vwpcvpsn.js → command-wpxh4773.js} +27 -27
- package/dist/chunks/{mime-g70g2r7n.js → command-wtvb9gzx.js} +9 -9
- package/dist/chunks/{mime-p8vshhkt.js → command-wxffcvth.js} +9 -9
- package/dist/chunks/{mime-s5a290ta.js → command-x0dfaghg.js} +13 -13
- package/dist/chunks/{mime-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-59zrdmmg.js → command-xd79hgjq.js} +17 -17
- package/dist/chunks/{mime-khfmzn3h.js → command-xf7eefbk.js} +9 -9
- package/dist/chunks/{mime-nknd4ny9.js → command-xmzstg3h.js} +7 -7
- package/dist/chunks/{mime-ggj56nfp.js → command-xnq8y3wp.js} +8 -8
- package/dist/chunks/{mime-658y826x.js → command-xw6050bm.js} +17 -17
- package/dist/chunks/{mime-nvxqht09.js → command-xxynqx5z.js} +3 -3
- package/dist/chunks/{mime-db3cn5xg.js → command-y10xyzsy.js} +3 -3
- package/dist/chunks/{mime-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{mime-d1b248br.js → command-y8nmaz64.js} +6 -6
- package/dist/chunks/{mime-6s8mww07.js → command-yaf95dqt.js} +11 -11
- package/dist/chunks/{mime-wbkyxrgf.js → command-yjptyezs.js} +5 -5
- package/dist/chunks/{mime-f2n192rq.js → command-yp2x3t23.js} +4 -4
- package/dist/chunks/{mime-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → command-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-2593zg0c.js → command-ytvz0vpx.js} +29 -29
- package/dist/chunks/{mime-was7srj9.js → command-yy3gmdz3.js} +8 -8
- package/dist/chunks/{mime-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-29x78va6.js → command-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-4d0m0hwd.js → command-z9kmesag.js} +46 -46
- package/dist/chunks/{mime-zqcrhym3.js → command-zam46q7w.js} +11 -11
- package/dist/chunks/{mime-mbhmg47f.js → command-zch60zmd.js} +11 -11
- package/dist/chunks/{mime-hag8cqx7.js → command-zeays675.js} +16 -16
- package/dist/chunks/{mime-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-0szpgk4d.js → command-zgsp9d7f.js} +31 -31
- package/dist/chunks/{mime-p3p972wa.js → command-zk8c4w5t.js} +5 -5
- package/dist/chunks/{mime-veh1f6j0.js → command-zmnepbn3.js} +7 -7
- package/dist/chunks/{mime-nagyd8v8.js → command-zr1jw1p3.js} +29 -29
- package/dist/chunks/{mime-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-5b28hma2.js → command-zveb96hb.js} +29 -29
- package/dist/chunks/{mime-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +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 +79 -79
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/mime-0mesazry.js +0 -4
- package/dist/chunks/mime-4v7qdvcn.js +0 -18
- package/dist/chunks/mime-mggzc1am.js +0 -26
- package/dist/chunks/mime-twjzhaa3.js +0 -247
- /package/dist/chunks/{mime-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info24,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-xxynqx5z.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-gfcakcdp.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-162dzd26.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-rqz3bkzt.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service56,
|
|
24
|
+
node59
|
|
25
|
+
} from "./command-9r15s34d.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node60
|
|
34
|
+
} from "./command-khnzgmt2.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./command-bajakh74.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-rre36xp5.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node23
|
|
47
|
+
} from "./command-1sjdykg9.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node72
|
|
51
|
+
} from "./command-yaf95dqt.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./command-wxffcvth.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service63,
|
|
68
|
+
node66
|
|
69
|
+
} from "./command-666pnfkr.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service58,
|
|
72
|
+
node61
|
|
73
|
+
} from "./command-kzm1fy32.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service53,
|
|
76
|
+
node57
|
|
77
|
+
} from "./command-d1sy02nx.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./command-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service26,
|
|
83
|
+
node30
|
|
84
|
+
} from "./command-j7qr8k9e.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./command-7wdpv7yx.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./command-1jzmnccz.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service77,
|
|
93
|
+
node81
|
|
94
|
+
} from "./command-b9g9100q.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service19,
|
|
100
|
+
node22
|
|
101
|
+
} from "./command-qj8dptrs.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service33,
|
|
104
|
+
node36
|
|
105
|
+
} from "./command-69j91c1q.js";
|
|
106
106
|
import {
|
|
107
107
|
make12
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./command-w9037jm3.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./command-n2jgbhgk.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./command-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info24,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service18,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node21
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service82;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service81;
|
|
159
159
|
const projects = yield* Service79;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service53;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service26;
|
|
163
|
+
const store = yield* Service63;
|
|
164
|
+
const instances = yield* Service56;
|
|
165
|
+
const moves = yield* Service19;
|
|
166
|
+
const jobs = yield* Service58;
|
|
167
|
+
const environments = yield* Service33;
|
|
168
|
+
const locations = yield* Service77;
|
|
169
169
|
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service18.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service82, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service56, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node21 = Node.makeGlobalNode({
|
|
330
|
+
service: Service18,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node61,
|
|
334
|
+
node36,
|
|
335
335
|
node86,
|
|
336
336
|
node85,
|
|
337
337
|
node83,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node57,
|
|
339
|
+
node30,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node66,
|
|
342
|
+
node59,
|
|
343
|
+
node60,
|
|
344
|
+
node22,
|
|
345
|
+
node23,
|
|
346
|
+
node81,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node72
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput3, Service18, node21, exports_session };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-162dzd26.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-kfep38wt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event4,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service35,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event4 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info5 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service35 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service81;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service35.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node38 = makeLocationNode({
|
|
112
|
+
service: Service35,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node85]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID3, Name2, available2, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-yaf95dqt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-162dzd26.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-f6jpff70.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-p7kdkvkh.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-pka3f0bn.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-gfcakcdp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-162dzd26.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event19,
|
|
24
|
-
ID: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
25
|
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
43
|
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
-
id:
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service82).db;
|
|
55
55
|
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -77,7 +77,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
79
|
const credential = new Info30({
|
|
80
|
-
id:
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node86, node85] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event19, Info30, Service74, node78, exports_credential };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-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: () => Service2,
|
|
13
|
+
node: () => node3
|
|
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 Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, 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 Service2.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(Service9, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command4 };
|