@opencode/core 0.0.0-dev-21058 → 0.0.0-dev-21062
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{project-dfmpseqs.js → git-00b36z4k.js} +8 -8
- package/dist/chunks/{project-h9jfk4va.js → git-00kba7x3.js} +21 -21
- package/dist/chunks/{project-qen1ec59.js → git-02fz4yjj.js} +1 -1
- package/dist/chunks/{project-7ra1gfj5.js → git-08mr04zk.js} +3 -3
- package/dist/chunks/{project-994b2pxg.js → git-0nde5ztd.js} +5 -5
- package/dist/chunks/{project-h9h3ykac.js → git-0qymy61s.js} +24 -24
- package/dist/chunks/{project-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{project-gvhzaye6.js → git-0wgmrba7.js} +11 -11
- package/dist/chunks/{project-sk0j6z0a.js → git-0y0ec6ym.js} +48 -48
- package/dist/chunks/{project-scy96xry.js → git-0y6maag9.js} +42 -42
- package/dist/chunks/{project-jfyd8byt.js → git-133h4rxs.js} +15 -15
- package/dist/chunks/{project-cz8x9c8g.js → git-161hqbep.js} +18 -18
- package/dist/chunks/{project-ba3xh6a2.js → git-19720hhg.js} +11 -11
- package/dist/chunks/{project-mxjpgj4j.js → git-1a515dmz.js} +3 -3
- package/dist/chunks/{project-yp2x3t23.js → git-1acjjqhc.js} +4 -4
- package/dist/chunks/{project-h8b1e0g7.js → git-1e8qp1yh.js} +29 -29
- package/dist/chunks/{project-bjx1sjef.js → git-1ffvrpkg.js} +6 -6
- package/dist/chunks/{project-mrbqc0zq.js → git-1hnmhrtt.js} +16 -16
- package/dist/chunks/{project-cg84fwzy.js → git-1zz9rj5d.js} +5 -5
- package/dist/chunks/{project-9g9rfe9e.js → git-2052heee.js} +14 -14
- package/dist/chunks/{project-xqw97vvf.js → git-27sw9x7x.js} +18 -18
- package/dist/chunks/{project-nvpqrmqg.js → git-28t5xsh3.js} +11 -11
- package/dist/chunks/git-28w77qnw.js +26 -0
- package/dist/chunks/{project-ftkezsz2.js → git-2cahkbfy.js} +30 -30
- package/dist/chunks/{project-drnf6xwf.js → git-2d0p9y9z.js} +2 -2
- package/dist/chunks/{project-mmme5mvc.js → git-2gbz9bkd.js} +4 -4
- package/dist/chunks/{project-4g8rzqh2.js → git-2qm80vd6.js} +11 -11
- package/dist/chunks/{project-kzyk8mcz.js → git-2tj3byjt.js} +40 -40
- package/dist/chunks/{project-b0jzx5be.js → git-2z976w7f.js} +4 -4
- package/dist/chunks/{project-ep2q945v.js → git-2zs3ps38.js} +15 -15
- package/dist/chunks/{project-h7s7r6s9.js → git-31xfzrxg.js} +5 -5
- package/dist/chunks/{project-gxsww4yb.js → git-352j6603.js} +15 -15
- package/dist/chunks/{project-n2g6t4s8.js → git-39381q6g.js} +26 -26
- package/dist/chunks/{project-1av17bgz.js → git-3es4phk5.js} +42 -42
- package/dist/chunks/{project-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-3vddrp31.js → git-3hk2ztfw.js} +3 -3
- package/dist/chunks/{project-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{project-29cpf1j0.js → git-3jq4fafe.js} +17 -17
- package/dist/chunks/{project-6hgkw0ap.js → git-3md19t04.js} +11 -11
- package/dist/chunks/{project-nhkfd5v3.js → git-3rx778rd.js} +21 -14
- package/dist/chunks/{project-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-s02j1kc0.js → git-3xn4xn8n.js} +6 -6
- package/dist/chunks/{project-3y377wv9.js → git-3y377wv9.js} +1 -1
- package/dist/chunks/{project-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{project-2t6h5syz.js → git-4327w5ky.js} +14 -14
- package/dist/chunks/{project-4434d9q2.js → git-4434d9q2.js} +2 -2
- package/dist/chunks/{project-ng4mt1p4.js → git-4a2776we.js} +11 -11
- package/dist/chunks/{project-77rprrbn.js → git-4gw7zdme.js} +18 -18
- package/dist/chunks/{project-ccd6hyrd.js → git-4kvk04s5.js} +8 -8
- package/dist/chunks/{project-qper1cvd.js → git-4p6eznaa.js} +12 -12
- package/dist/chunks/{project-xmfhmd05.js → git-4q8aq0yj.js} +5 -5
- package/dist/chunks/{project-73kdj4zj.js → git-4w5f3qm5.js} +8 -8
- package/dist/chunks/{project-xah2gnd0.js → git-4yt2kt0b.js} +4 -4
- package/dist/chunks/{project-gw6dy74d.js → git-510fpdjj.js} +34 -34
- package/dist/chunks/{project-qxmaq0sm.js → git-52fpbh6z.js} +8 -8
- package/dist/chunks/{project-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{project-tggy4efm.js → git-55s65rp4.js} +15 -15
- package/dist/chunks/{project-3z7vhxa6.js → git-58w8wmj1.js} +11 -11
- package/dist/chunks/{project-5bqrbzpz.js → git-59gkzr6d.js} +40 -40
- package/dist/chunks/{project-ggpn5cje.js → git-5e3m6ttb.js} +19 -19
- package/dist/chunks/{project-ef5jab3p.js → git-5jebk2rh.js} +24 -24
- package/dist/chunks/{project-azhwb1sg.js → git-5jhv0vnb.js} +296 -296
- package/dist/chunks/{project-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{project-tw4wzwtt.js → git-5mnnp3cw.js} +42 -42
- package/dist/chunks/{project-rax2wscr.js → git-5te1apv5.js} +31 -31
- package/dist/chunks/{project-rxptwqj8.js → git-5v8fgs5z.js} +2 -2
- package/dist/chunks/{project-4vht6qym.js → git-5y1ssq42.js} +25 -25
- package/dist/chunks/{project-td3rcjyz.js → git-63d46qpn.js} +5 -5
- package/dist/chunks/{project-9a6we621.js → git-64wjsvpw.js} +11 -11
- package/dist/chunks/{project-5gse0wef.js → git-66mwys5v.js} +15 -15
- package/dist/chunks/{project-217ry7f9.js → git-6ees7pqa.js} +5 -5
- package/dist/chunks/{project-6e2baheb.js → git-6mp3ggm1.js} +32 -32
- package/dist/chunks/{project-1j38pfxf.js → git-6n0ste9k.js} +23 -23
- package/dist/chunks/{project-66whjjpm.js → git-6vmt1kdw.js} +23 -23
- package/dist/chunks/{project-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{project-46k4mwc0.js → git-747advjj.js} +17 -17
- package/dist/chunks/{project-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{project-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-5ghbr0aa.js → git-7bznv11x.js} +21 -21
- package/dist/chunks/{project-2k8khapm.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{project-4zpqecgw.js → git-7kp85qqg.js} +11 -11
- package/dist/chunks/{project-0yh5wqb1.js → git-7th6dh9e.js} +7 -7
- package/dist/chunks/{project-cyxn42f6.js → git-7vdkza44.js} +11 -11
- package/dist/chunks/{project-ydbknben.js → git-7vtrn64f.js} +50 -50
- package/dist/chunks/{project-7xybr5h7.js → git-7wvrqce5.js} +14 -14
- package/dist/chunks/{project-a43zcwkp.js → git-7xe39psp.js} +3 -3
- package/dist/chunks/{project-0gtcxzh4.js → git-8159bw5m.js} +2 -2
- package/dist/chunks/{project-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{project-a44gt5xs.js → git-89embc53.js} +6 -6
- package/dist/chunks/{project-f1b4ke4h.js → git-8e2wevyg.js} +5 -5
- package/dist/chunks/{project-d9kbpe4j.js → git-8jwr2qnf.js} +9 -9
- package/dist/chunks/{project-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{project-s55z37mj.js → git-8myf2bph.js} +14 -14
- package/dist/chunks/{project-w92k2e0p.js → git-8sze2n9a.js} +4 -4
- package/dist/chunks/{project-j09zfasm.js → git-91qna3x0.js} +3 -3
- package/dist/chunks/{project-vr3y5df8.js → git-96k8c7ca.js} +28 -27
- package/dist/chunks/{project-csctevvr.js → git-9bb8qht6.js} +14 -14
- package/dist/chunks/{project-46ekg8ch.js → git-9hke9rzz.js} +1 -1
- package/dist/chunks/{project-ce17ykb7.js → git-9rqfv6yv.js} +5 -5
- package/dist/chunks/{project-vtbrqbj2.js → git-9tv8kj20.js} +14 -14
- package/dist/chunks/{project-1besy32e.js → git-a09dvcfs.js} +11 -11
- package/dist/chunks/{project-q9mystjd.js → git-a16f6bk4.js} +2 -2
- package/dist/chunks/{project-tgmc6crh.js → git-a8037f1v.js} +9 -9
- package/dist/chunks/{project-86bgjncs.js → git-aj2sbhs3.js} +3 -3
- package/dist/chunks/{project-2jtmvwcj.js → git-asvx1cy5.js} +40 -40
- package/dist/chunks/{project-zx3v58va.js → git-at7t4gwn.js} +8 -8
- package/dist/chunks/{project-yp4cx7tr.js → git-at87fsc1.js} +31 -31
- package/dist/chunks/{project-xxjgqtz4.js → git-azh057g0.js} +11 -11
- package/dist/chunks/{project-b19791qn.js → git-b6an89mh.js} +22 -22
- package/dist/chunks/{project-2f95q5sc.js → git-bcys5w9d.js} +16 -16
- package/dist/chunks/{project-rt5q178g.js → git-bv2ny28d.js} +18 -18
- package/dist/chunks/{project-c1fqxshp.js → git-c1fqxshp.js} +3 -3
- package/dist/chunks/{project-pby86dem.js → git-c4nsn6b8.js} +15 -15
- package/dist/chunks/{project-vpjv6pw6.js → git-c7rx12mq.js} +14 -14
- package/dist/chunks/{project-b22ng80r.js → git-c872t358.js} +6 -6
- package/dist/chunks/{project-t3er826d.js → git-chgyesm2.js} +4 -4
- package/dist/chunks/{project-nwxqhh9b.js → git-chhj7fee.js} +26 -26
- package/dist/chunks/{project-sw36zbc0.js → git-cm5f7pma.js} +11 -11
- package/dist/chunks/{project-fbyej2qz.js → git-cmqxwqzx.js} +3 -3
- package/dist/chunks/{project-ws0x2x5x.js → git-ct2atp7x.js} +27 -17
- package/dist/chunks/{project-g16p7fm5.js → git-ct331857.js} +10 -10
- package/dist/chunks/{project-ft3hqk2c.js → git-cwa6csj7.js} +9 -9
- package/dist/chunks/{project-yrcj3v3g.js → git-d2czbp48.js} +4 -4
- package/dist/chunks/{project-dcnp92q7.js → git-d69z9xpr.js} +11 -11
- package/dist/chunks/{project-0kb2qjdq.js → git-djyswthr.js} +20 -20
- package/dist/chunks/{project-jmfpatbx.js → git-dmecs3pv.js} +23 -23
- package/dist/chunks/{project-xd2frmpg.js → git-dnn66tcs.js} +29 -29
- package/dist/chunks/{project-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{project-dqxsqydv.js → git-dqxsqydv.js} +1 -1
- package/dist/chunks/{project-330cx653.js → git-ds58hxpb.js} +32 -32
- package/dist/chunks/{project-5yzzbxa7.js → git-dv1qgsyq.js} +8 -8
- package/dist/chunks/{project-q3rk13xd.js → git-e67s7wnb.js} +11 -11
- package/dist/chunks/{project-r2z489rp.js → git-e80seqcp.js} +3 -3
- package/dist/chunks/{project-w764hn2r.js → git-e9v5qsfh.js} +17 -17
- package/dist/chunks/{project-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{project-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-nsbd13pa.js → git-eq1gkzp1.js} +7 -7
- package/dist/chunks/{project-j8nb3x1t.js → git-etnbc6at.js} +13 -13
- package/dist/chunks/{project-hx9rzx00.js → git-ev8bzsg1.js} +7 -7
- package/dist/chunks/{project-et7yaydb.js → git-f78dsz6n.js} +11 -11
- package/dist/chunks/git-f81tjggh.js +18 -0
- package/dist/chunks/{project-8jhpg3r3.js → git-fe2th2wh.js} +4 -4
- package/dist/chunks/{project-hfe0sdpn.js → git-fe40c1g9.js} +125 -125
- package/dist/chunks/{project-5gypmxb6.js → git-fh3h2rrs.js} +9 -9
- package/dist/chunks/{project-vh35nqe6.js → git-fn9hs14h.js} +6 -6
- package/dist/chunks/{project-j6map0at.js → git-fww2ha2b.js} +10 -10
- package/dist/chunks/{project-khmqacep.js → git-fxaymqdw.js} +4 -4
- package/dist/chunks/{project-e1smpma2.js → git-fyn09b5n.js} +71 -71
- package/dist/chunks/{project-1pxz8ven.js → git-g6yfr6ja.js} +5 -5
- package/dist/chunks/{project-a1vqgawf.js → git-g97vj1p3.js} +13 -13
- package/dist/chunks/{project-aa1y9kb9.js → git-ga0xp5gq.js} +78 -78
- package/dist/chunks/{project-6rqqpc35.js → git-gayeec0v.js} +9 -9
- package/dist/chunks/{project-7qcbg35h.js → git-gd01rr9s.js} +14 -14
- package/dist/chunks/{project-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-7ey2hqh4.js → git-ge8zn40h.js} +6 -6
- package/dist/chunks/{project-etqtjtw0.js → git-geje6z9c.js} +3 -3
- package/dist/chunks/{project-7ac6etn3.js → git-gjcxsqdv.js} +6 -6
- package/dist/chunks/{project-6a3rfgsm.js → git-gpqws9nq.js} +4 -4
- package/dist/chunks/{project-crhch0qz.js → git-gwcrv1gc.js} +35 -35
- package/dist/chunks/{project-xwe6v4cn.js → git-gyxaygr4.js} +39 -39
- package/dist/chunks/{project-18n88jqj.js → git-h1n9eedh.js} +9 -9
- package/dist/chunks/{project-tz21801v.js → git-h1wet0ag.js} +22 -22
- package/dist/chunks/{project-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{project-jaj1xxek.js → git-hjwvg3qx.js} +32 -31
- package/dist/chunks/{project-kqx1b4hy.js → git-hkffa77z.js} +4 -4
- package/dist/chunks/{project-pjbrakwm.js → git-hqbqqsx7.js} +23 -23
- package/dist/chunks/{project-as6z21sy.js → git-j85zdcpy.js} +14 -14
- package/dist/chunks/{project-fzscntb9.js → git-j9tkb0kk.js} +78 -78
- package/dist/chunks/{project-vyp8f64q.js → git-jnrq1n4d.js} +34 -34
- package/dist/chunks/{project-6zpy51re.js → git-jq5qpyxf.js} +13 -13
- package/dist/chunks/{project-x4asfamj.js → git-jt1egq2b.js} +13 -13
- package/dist/chunks/git-jw0xc3ac.js +253 -0
- package/dist/chunks/{project-h39sbrp5.js → git-jx6k168v.js} +7 -7
- package/dist/chunks/{project-k58fcyrb.js → git-jyc9d1z3.js} +22 -22
- package/dist/chunks/{project-2yqxmsdx.js → git-k1am5yw9.js} +11 -11
- package/dist/chunks/{project-3sa7vbkn.js → git-kckqmhre.js} +8 -8
- package/dist/chunks/{project-zke4s1dj.js → git-kdazpp6j.js} +32 -32
- package/dist/chunks/{project-kbnja1kr.js → git-kftjr2e3.js} +13 -13
- package/dist/chunks/{project-9qzakqdf.js → git-kprygma0.js} +24 -24
- package/dist/chunks/{project-kwb1v3vj.js → git-kwb1v3vj.js} +1 -1
- package/dist/chunks/{project-gj014zr3.js → git-m7xf8rkm.js} +17 -17
- package/dist/chunks/{project-0xvaxfee.js → git-m9pkn1rm.js} +26 -26
- package/dist/chunks/{project-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-xzn6n07m.js → git-mafhwm8q.js} +9 -9
- package/dist/chunks/{project-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{project-d5bxh3kg.js → git-mnns84tq.js} +17 -17
- package/dist/chunks/{project-h5gvfa01.js → git-mqzqahne.js} +12 -12
- package/dist/chunks/{project-97fna9vq.js → git-mshkz34v.js} +5 -5
- package/dist/chunks/{project-jycptg83.js → git-myzt0ztr.js} +13 -13
- package/dist/chunks/{project-4m514emz.js → git-n0freqwz.js} +4 -4
- package/dist/chunks/{project-277eer69.js → git-n2srvep7.js} +4 -4
- package/dist/chunks/{project-d7x0sh0y.js → git-nd4tfyg0.js} +9 -9
- package/dist/chunks/{project-hcv80w8f.js → git-npw39rc8.js} +8 -8
- package/dist/chunks/{project-wzece18v.js → git-nx34zgwq.js} +15 -15
- package/dist/chunks/{project-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{project-dqf667jx.js → git-pmexrvbd.js} +11 -11
- package/dist/chunks/{project-0txttp9t.js → git-pvkdhk7d.js} +27 -27
- package/dist/chunks/{project-tbxcyk70.js → git-q39cs03p.js} +4 -4
- package/dist/chunks/{project-qa3qhgw8.js → git-qa3qhgw8.js} +1 -1
- package/dist/chunks/{project-h8r6qxhx.js → git-qh6v5qqy.js} +30 -30
- package/dist/chunks/{project-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{project-d57paz8b.js → git-qnjzkknc.js} +7 -7
- package/dist/chunks/{project-gsm4wa7c.js → git-qpm7s57z.js} +8 -8
- package/dist/chunks/{project-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{project-38cz93yf.js → git-r186t613.js} +28 -28
- package/dist/chunks/{project-2hxn28a9.js → git-r81t6b6n.js} +14 -14
- package/dist/chunks/{project-464fgrf8.js → git-raz7n7tw.js} +7 -7
- package/dist/chunks/{project-r2v4c7r0.js → git-rbpvdgf0.js} +8 -8
- package/dist/chunks/{project-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{project-rert0e01.js → git-rert0e01.js} +2 -2
- package/dist/chunks/{project-rj3eygr5.js → git-rj3eygr5.js} +2 -2
- package/dist/chunks/{project-b261b8hj.js → git-rr1z7ahj.js} +11 -11
- package/dist/chunks/{project-esffqqvs.js → git-rybfjp7a.js} +17 -17
- package/dist/chunks/{project-kwzxrt73.js → git-s84ry3mb.js} +14 -14
- package/dist/chunks/{project-rhjbct0v.js → git-s8d7rejh.js} +4 -4
- package/dist/chunks/{project-sa8ekw3f.js → git-sa8ekw3f.js} +2 -2
- package/dist/chunks/{project-b3f8fkhc.js → git-scgrse2b.js} +5 -5
- package/dist/chunks/{project-7d1j3gh0.js → git-ssaywjka.js} +12 -12
- package/dist/chunks/{project-tr0zcq97.js → git-ssf4yhs8.js} +8 -8
- package/dist/chunks/{project-vd0f7f2n.js → git-svvm20fx.js} +5 -5
- package/dist/chunks/{project-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{project-txm3e8qz.js → git-sz15zhhw.js} +4 -4
- package/dist/chunks/{project-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{project-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{project-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
- package/dist/chunks/{project-x342v6qz.js → git-ts0sm5wa.js} +3 -3
- package/dist/chunks/{project-embw8kgh.js → git-ttqh24zm.js} +4 -4
- package/dist/chunks/{project-k05z0ace.js → git-ttqw03tt.js} +16 -16
- package/dist/chunks/{project-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{project-8ckc28nh.js → git-v3qh3xqk.js} +15 -5
- package/dist/chunks/{project-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{project-29qym6xz.js → git-ve85v3xb.js} +4 -4
- package/dist/chunks/{project-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{project-9r8fms9q.js → git-vhnmz40v.js} +13 -13
- package/dist/chunks/{project-rdk8m1yb.js → git-vkjty8zp.js} +1 -1
- package/dist/chunks/{project-my4zabxr.js → git-vpm8vpz0.js} +2 -2
- package/dist/chunks/{project-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{project-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-hsdh5v8b.js → git-w6gd0mvv.js} +20 -20
- package/dist/chunks/{project-4ns3h2re.js → git-w6zk8pbt.js} +8 -8
- package/dist/chunks/{project-9sfv06ww.js → git-w91axksf.js} +10 -10
- package/dist/chunks/{project-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{project-524rf9nz.js → git-wjk3jbnn.js} +24 -24
- package/dist/chunks/{project-9wwfrree.js → git-wtk2ksb2.js} +21 -21
- package/dist/chunks/{project-zfa7ynd8.js → git-wwx8h3qn.js} +18 -18
- package/dist/chunks/{project-w2ve3f0z.js → git-x2hbrvsn.js} +4 -4
- package/dist/chunks/{project-6zxpntjp.js → git-x61k1gv7.js} +9 -9
- package/dist/chunks/{project-57b9ws8p.js → git-xfkkasph.js} +7 -7
- package/dist/chunks/{project-vrzt526f.js → git-xj1aydcy.js} +5 -5
- package/dist/chunks/{project-7r4qhcrf.js → git-xq7d7py0.js} +16 -16
- package/dist/chunks/{project-9rrg1j5j.js → git-xt6nrjvw.js} +16 -16
- package/dist/chunks/{project-pnzf6mjf.js → git-xybefm6f.js} +1 -1
- package/dist/chunks/{project-gashxpx8.js → git-xyq213da.js} +10 -10
- package/dist/chunks/{project-vvd3ek3r.js → git-y0p3px76.js} +17 -17
- package/dist/chunks/{project-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-4qzh7fhm.js → git-y1gc13fs.js} +13 -13
- package/dist/chunks/{project-1gbx2bbx.js → git-y32r5m3m.js} +5 -5
- package/dist/chunks/{project-agfffypt.js → git-y3m021e8.js} +6 -6
- package/dist/chunks/{project-7v81x33d.js → git-y54hr7f3.js} +9 -9
- package/dist/chunks/{project-6hjx5zpb.js → git-y56ehv6b.js} +9 -9
- package/dist/chunks/{project-s8c9wy2r.js → git-y8jmcg8k.js} +4 -4
- package/dist/chunks/{project-c8bydgjz.js → git-yf4jcbx9.js} +6 -6
- package/dist/chunks/{project-08y5q8wd.js → git-yrw4mpv0.js} +14 -14
- package/dist/chunks/{project-kvz5847h.js → git-ytcapqcx.js} +20 -20
- package/dist/chunks/{project-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-x4t8qxf4.js → git-z44656xp.js} +30 -30
- package/dist/chunks/{project-0r3c1bmw.js → git-z6c3x22d.js} +5 -5
- package/dist/chunks/{project-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-0pmjc72x.js → git-zt0d3ekd.js} +3 -3
- package/dist/chunks/{project-846x6n9b.js → git-zvm05j0q.js} +20 -20
- package/dist/chunks/{project-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +75 -75
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +101 -101
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -167
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +211 -211
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +205 -205
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/model.d.ts +3 -0
- package/dist/types/variant.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +96 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/project-by5v678g.js +0 -18
- package/dist/chunks/project-gz4v619e.js +0 -26
- package/dist/chunks/project-mneyqk4y.js +0 -253
- /package/dist/chunks/{project-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{project-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{project-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{project-pyv0edze.js → git-pyv0edze.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-c4nsn6b8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./git-96k8c7ca.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin29,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin29 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service68;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin29, exports_verbosity };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-zt0d3ekd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-n0freqwz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./git-yf4jcbx9.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-aj2sbhs3.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service71
|
|
29
|
+
} from "./git-2052heee.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service55
|
|
34
|
+
} from "./git-zvm05j0q.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service52
|
|
37
|
+
} from "./git-jnrq1n4d.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./git-j85zdcpy.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./git-w6gd0mvv.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./git-x61k1gv7.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./git-7th6dh9e.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./git-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make14
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service71;
|
|
69
|
+
const instances = yield* Service54;
|
|
70
|
+
const execution = yield* Service52;
|
|
71
|
+
const admission = yield* Service55;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service54, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service54, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service54, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make14, exports_session2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-n0freqwz.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref3,
|
|
11
11
|
Service78,
|
|
12
12
|
node82
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-5v8fgs5z.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service27,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node30
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service27 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service84;
|
|
44
44
|
const location = yield* Service78;
|
|
45
45
|
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service27.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node88, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service27, node30, exports_rpc, define2 };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-91qna3x0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service51,
|
|
17
|
+
node54
|
|
18
|
+
} from "./git-y54hr7f3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service72,
|
|
21
|
+
node76
|
|
22
|
+
} from "./git-4w5f3qm5.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./git-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service48,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node51
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service48 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service72;
|
|
58
|
+
const image = yield* Service51;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service48.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node51 = makeLocationNode({
|
|
277
|
+
service: Service48,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node76, node54]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service48, node51, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-n0freqwz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service75
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-3hk2ztfw.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service40,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-f81tjggh.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-fe40c1g9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service40,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service84;
|
|
45
45
|
const kv = yield* Service75;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service40.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node20 = Node.makeLocationNode({
|
|
226
|
+
service: Service40,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node20, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./git-00kba7x3.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service19,
|
|
24
|
+
node: () => node22
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service19 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service63;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service19.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node66, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service19, node22, exports_ripgrep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-n0freqwz.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-3y377wv9.js";
|
|
12
12
|
import {
|
|
13
13
|
ID16,
|
|
14
14
|
Service81,
|
|
15
15
|
node85,
|
|
16
16
|
Event19
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-y3m021e8.js";
|
|
18
18
|
import {
|
|
19
19
|
Service78,
|
|
20
20
|
node82
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-5v8fgs5z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -40,12 +40,12 @@ __export(exports_provider3, {
|
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
42
|
Event: () => Event17,
|
|
43
|
-
ID: () =>
|
|
43
|
+
ID: () => ID12,
|
|
44
44
|
Info: () => Info22,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service76,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node80,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -72,7 +72,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
74
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
|
-
var
|
|
75
|
+
var ID12 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -285,7 +285,7 @@ var Transport2 = Provider.Transport;
|
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
286
|
var Info22 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,7 +298,7 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service84;
|
|
303
303
|
const integrations = yield* Service81;
|
|
304
304
|
const location = yield* Service78;
|
|
@@ -420,7 +420,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
422
|
yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
-
return
|
|
423
|
+
return Service76.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node88, node85, node82] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service76, node80, exports_provider3, Event17 };
|