@opencode/core 0.0.0-dev-19666 → 0.0.0-dev-19669
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 +72 -72
- package/dist/chunks/{credential-y31b318c.js → config-022zszfk.js} +4 -4
- package/dist/chunks/{credential-68mh88x5.js → config-05c3m733.js} +13 -13
- package/dist/chunks/{credential-e5646j3d.js → config-0agk43sa.js} +5 -5
- package/dist/chunks/{credential-yh4x4bcf.js → config-0aktgs08.js} +4 -4
- package/dist/chunks/{credential-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-s6nyx2af.js → config-0q9emmhb.js} +8 -8
- package/dist/chunks/{credential-tf6e7ykh.js → config-14m7ayrf.js} +17 -17
- package/dist/chunks/{credential-w5hdw20w.js → config-1bsncdvr.js} +11 -11
- package/dist/chunks/{credential-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-738narex.js → config-1e147r25.js} +4 -4
- package/dist/chunks/{credential-e1gfgpzq.js → config-1hvh8taj.js} +9 -9
- package/dist/chunks/config-1x11rq2a.js +18 -0
- package/dist/chunks/{credential-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{credential-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{credential-nb113zne.js → config-23zcgvwt.js} +12 -12
- package/dist/chunks/{credential-cx9swraq.js → config-25xmm7zn.js} +3 -3
- package/dist/chunks/{credential-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-1fv74gqc.js → config-2a7hagjp.js} +6 -6
- package/dist/chunks/{credential-4t549gag.js → config-2ddykbk5.js} +15 -15
- package/dist/chunks/{credential-7jdsj2a9.js → config-2f04pwep.js} +3 -3
- package/dist/chunks/{credential-fmt9gx9z.js → config-2jhp5w19.js} +5 -5
- package/dist/chunks/{credential-h6wsj49y.js → config-2ra6th8z.js} +23 -23
- package/dist/chunks/{credential-r2m716tb.js → config-2sejkfem.js} +9 -9
- package/dist/chunks/{credential-nca7p386.js → config-2y34zzjz.js} +4 -4
- package/dist/chunks/{credential-xf4jyg83.js → config-35h9s572.js} +28 -28
- package/dist/chunks/{credential-g4bkzb6c.js → config-36nc0mh0.js} +35 -35
- package/dist/chunks/{credential-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-kmfjf26x.js → config-3hjq4k9b.js} +43 -43
- package/dist/chunks/{credential-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-x8e4p6xd.js → config-3tcwt8xv.js} +18 -18
- package/dist/chunks/{credential-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-xs6ytfqx.js → config-3z6jr724.js} +93 -93
- package/dist/chunks/{credential-hebf1kxy.js → config-41ctmhx5.js} +21 -21
- package/dist/chunks/{credential-gccs2bwb.js → config-433n4zsv.js} +8 -8
- package/dist/chunks/{credential-rynznh0p.js → config-45pswbny.js} +1 -1
- package/dist/chunks/{credential-bhbz1g28.js → config-462gqw78.js} +5 -5
- package/dist/chunks/{credential-2wkyznp6.js → config-4f88ejm2.js} +10 -10
- package/dist/chunks/{credential-wy8b5sm2.js → config-4jc5c4h4.js} +1 -1
- package/dist/chunks/{credential-gmvdm7qq.js → config-4kdn5gsy.js} +33 -33
- package/dist/chunks/{credential-esn92z5j.js → config-4q2pb1pk.js} +12 -12
- package/dist/chunks/{credential-r36d19v4.js → config-4yb3spsd.js} +47 -47
- package/dist/chunks/{credential-acm2yer0.js → config-4z4hjfg8.js} +15 -15
- package/dist/chunks/{credential-3e16hxxp.js → config-518q18qe.js} +57 -57
- package/dist/chunks/{credential-spyq2p40.js → config-573twbq1.js} +10 -10
- package/dist/chunks/{credential-d9s573fh.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{credential-13n5e6v7.js → config-580ke28x.js} +32 -32
- package/dist/chunks/{credential-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-9zjppy0x.js → config-5ef5jth6.js} +22 -22
- package/dist/chunks/{credential-kd1cpg0d.js → config-5kq55603.js} +20 -20
- package/dist/chunks/{credential-x3nvw3tt.js → config-5kyjgc7f.js} +9 -9
- package/dist/chunks/{credential-e3qxr5gk.js → config-5qd3pb7m.js} +2 -2
- package/dist/chunks/{credential-bgsk5sf6.js → config-5qzcfh3p.js} +29 -29
- package/dist/chunks/{credential-27ydpwgw.js → config-5s1182jw.js} +6 -6
- package/dist/chunks/{credential-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-x1md2fzm.js → config-62pgy11b.js} +12 -12
- package/dist/chunks/{credential-8eg2ksxv.js → config-643ds8g6.js} +28 -28
- package/dist/chunks/{credential-h774x8jn.js → config-64md96fj.js} +1 -1
- package/dist/chunks/{credential-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{credential-dfgcgxez.js → config-68erpj5b.js} +16 -16
- package/dist/chunks/{credential-5gsz1cxq.js → config-6cc51h1n.js} +8 -8
- package/dist/chunks/{credential-kna91w2n.js → config-6dckxdxh.js} +11 -11
- package/dist/chunks/{credential-kbfsvxgx.js → config-6g88tbc4.js} +3 -3
- package/dist/chunks/{credential-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{credential-0jq9fyba.js → config-6hjx5zpb.js} +9 -9
- package/dist/chunks/{credential-tckg6srr.js → config-6jk8pndw.js} +33 -33
- package/dist/chunks/{credential-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-0xq9xhmj.js → config-6ny01ear.js} +20 -20
- package/dist/chunks/{credential-f9tp8y98.js → config-6p9taxy6.js} +11 -11
- package/dist/chunks/{credential-bex791m1.js → config-6pfh26f2.js} +19 -19
- package/dist/chunks/{credential-11bvvhnn.js → config-6z3nc3kn.js} +43 -43
- package/dist/chunks/{credential-pamnnq1w.js → config-75z9d89n.js} +9 -9
- package/dist/chunks/{credential-64p606dm.js → config-77cm6sad.js} +4 -4
- package/dist/chunks/{credential-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-pf91bz7r.js → config-7djp59xp.js} +19 -19
- package/dist/chunks/{credential-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
- package/dist/chunks/{credential-22yysgjd.js → config-7eyqb4zv.js} +3 -3
- package/dist/chunks/{credential-0nx44e6s.js → config-7fvqwmd1.js} +7 -7
- package/dist/chunks/{credential-508p55fx.js → config-7g0vxfav.js} +21 -21
- package/dist/chunks/{credential-kzdc4nak.js → config-7ggebw46.js} +23 -23
- package/dist/chunks/{credential-ea5hcw4s.js → config-7gvwkz6m.js} +5 -5
- package/dist/chunks/{credential-nx9y3xfj.js → config-7mb7swr5.js} +30 -30
- package/dist/chunks/{credential-n9kbh9vm.js → config-7p797550.js} +9 -9
- package/dist/chunks/{credential-5apets8e.js → config-7q7pbdx1.js} +8 -8
- package/dist/chunks/{credential-7z7az0f5.js → config-7z7az0f5.js} +1 -1
- package/dist/chunks/{credential-pkvyjtqm.js → config-83eqs40m.js} +24 -24
- package/dist/chunks/{credential-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-dj2t23y0.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{credential-36q87gfm.js → config-92cf61v4.js} +32 -32
- package/dist/chunks/{credential-dn50tt4t.js → config-97z6t3tg.js} +23 -23
- package/dist/chunks/{credential-g7rb6ydv.js → config-9ajsxzhb.js} +41 -41
- package/dist/chunks/{credential-2d70jdp9.js → config-9fhefhqa.js} +36 -36
- package/dist/chunks/{credential-ze0v8k2q.js → config-9g708cjc.js} +14 -14
- package/dist/chunks/{credential-5yzzbxa7.js → config-9hn6k4tm.js} +8 -8
- package/dist/chunks/{credential-pq3mzx0q.js → config-9pyv24s2.js} +9 -9
- package/dist/chunks/{credential-83wkmbw3.js → config-9qts6h7q.js} +22 -22
- package/dist/chunks/{credential-ny7wh072.js → config-9sbp0fay.js} +27 -27
- package/dist/chunks/{credential-ww3m2m79.js → config-9ve2a8aw.js} +10 -10
- package/dist/chunks/{credential-05ygxhcx.js → config-9wjn16bc.js} +31 -31
- package/dist/chunks/{credential-nbj5kk3p.js → config-9yj167tz.js} +62 -62
- package/dist/chunks/{credential-5c4hm403.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{credential-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-w4apwaf4.js → config-acxx0f6f.js} +7 -7
- package/dist/chunks/{credential-9e4nk0tq.js → config-afrna9dt.js} +17 -17
- package/dist/chunks/{credential-4fxtva6j.js → config-at1586db.js} +27 -27
- package/dist/chunks/{credential-t1dawjzh.js → config-at1kfnmk.js} +8 -8
- package/dist/chunks/{credential-sxtjcjkh.js → config-axz21er9.js} +17 -17
- package/dist/chunks/{credential-vcr66jmq.js → config-b3kwjq0f.js} +44 -44
- package/dist/chunks/{credential-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-e7tvk2tq.js → config-bebye3jc.js} +17 -17
- package/dist/chunks/{credential-dfe8djrf.js → config-bf0ztrs3.js} +4 -4
- package/dist/chunks/{credential-prx5v8cj.js → config-bq5bs9zh.js} +21 -21
- package/dist/chunks/{credential-xvj7j57r.js → config-c228mxvk.js} +11 -11
- package/dist/chunks/{credential-zwsreqmt.js → config-c3sp0kct.js} +13 -13
- package/dist/chunks/{credential-aww5fh3f.js → config-c6cyd0ya.js} +27 -27
- package/dist/chunks/{credential-8pr7wmf3.js → config-c9bzb77z.js} +4 -4
- package/dist/chunks/{credential-htz6nkmz.js → config-cbakr6h8.js} +9 -9
- package/dist/chunks/{credential-m0jqrx5p.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{credential-qz49fwgp.js → config-cpy6gm2a.js} +4 -4
- package/dist/chunks/{credential-f5mgxjb1.js → config-cq78gtc7.js} +44 -44
- package/dist/chunks/{credential-1kf20zpt.js → config-cqhx78hs.js} +22 -22
- package/dist/chunks/{credential-q6fm3z54.js → config-cytean4k.js} +9 -9
- package/dist/chunks/{credential-bd16h6cm.js → config-cz7a148r.js} +18 -18
- package/dist/chunks/{credential-4fggj5wy.js → config-d73de1xr.js} +177 -177
- package/dist/chunks/{credential-dc33ykcf.js → config-d935dh1a.js} +11 -11
- package/dist/chunks/{credential-9j72sgz6.js → config-dfz1gvsg.js} +13 -13
- package/dist/chunks/{credential-0bnjtszc.js → config-dnt2jfde.js} +11 -11
- package/dist/chunks/{credential-e6jvw2we.js → config-drvanad6.js} +301 -301
- package/dist/chunks/{credential-drwq78ky.js → config-drwq78ky.js} +1 -1
- package/dist/chunks/{credential-81dmkzj2.js → config-dyacsyaw.js} +28 -28
- package/dist/chunks/{credential-xgvhk45p.js → config-e11g34hw.js} +12 -12
- package/dist/chunks/{credential-4zp3m0y7.js → config-e4wacjjh.js} +26 -26
- package/dist/chunks/{credential-dznngq2q.js → config-e5vn354j.js} +3 -3
- package/dist/chunks/{credential-qhjfj27n.js → config-e5zqv42s.js} +48 -48
- package/dist/chunks/{credential-bnhg3r2a.js → config-e76gvstb.js} +16 -16
- package/dist/chunks/{credential-eaj1djv9.js → config-eaj1djv9.js} +1 -1
- package/dist/chunks/{credential-dr1t5hnz.js → config-ed0becjx.js} +11 -11
- package/dist/chunks/{credential-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-1bbkgx8g.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{credential-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-rpjgfq5s.js → config-eye44qas.js} +9 -9
- package/dist/chunks/{credential-r7e4w6sk.js → config-ezcdrrzq.js} +3 -3
- package/dist/chunks/{credential-1acjjqhc.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{credential-2qerxkme.js → config-f3ebq5cb.js} +18 -18
- package/dist/chunks/{credential-x2k6c1jf.js → config-f3f181tw.js} +13 -13
- package/dist/chunks/{credential-kk00bynn.js → config-f3ngv102.js} +21 -21
- package/dist/chunks/{credential-hdnk95c8.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{credential-bgs9y14h.js → config-fepbnb8j.js} +5 -5
- package/dist/chunks/{credential-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-e6xxsv62.js → config-g7h0cpxk.js} +11 -11
- package/dist/chunks/config-gbadjzag.js +4 -0
- package/dist/chunks/{credential-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-8jc16yv6.js → config-grjd9chs.js} +13 -13
- package/dist/chunks/{credential-ddt2bs9e.js → config-gst7axd9.js} +4 -4
- package/dist/chunks/{credential-yyb7tjpc.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{credential-0e8sy9ry.js → config-gys2qmg6.js} +12 -12
- package/dist/chunks/{credential-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-2g36pw43.js → config-h5pvq839.js} +11 -11
- package/dist/chunks/{credential-83sndckj.js → config-h64w4zg1.js} +32 -32
- package/dist/chunks/{credential-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-5cfjqfg7.js → config-hdthj1pw.js} +11 -11
- package/dist/chunks/{credential-qfrqt7ba.js → config-hgq0066q.js} +41 -41
- package/dist/chunks/{credential-gj8zg189.js → config-hq4e2gtc.js} +8 -8
- package/dist/chunks/{credential-nbehtjny.js → config-hsp0jww6.js} +39 -39
- package/dist/chunks/{credential-6fr6g2j9.js → config-hwwdvv3e.js} +26 -26
- package/dist/chunks/{credential-zn7zem8s.js → config-hz2kr7wq.js} +20 -20
- package/dist/chunks/{credential-yypw0vbp.js → config-hzaycprp.js} +12 -12
- package/dist/chunks/{credential-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-4ft7aw51.js → config-j7rm3apw.js} +4 -4
- package/dist/chunks/{credential-h32de20b.js → config-j8b2fvbr.js} +11 -11
- package/dist/chunks/{credential-0y85p7dm.js → config-jkeb6b4x.js} +6 -6
- package/dist/chunks/config-jmfp9j8q.js +247 -0
- package/dist/chunks/{credential-f34svx4d.js → config-jmss0gwv.js} +22 -22
- package/dist/chunks/{credential-1ahzwbrc.js → config-jw4a8xw7.js} +5 -5
- package/dist/chunks/{credential-3dz6av1h.js → config-k0426t5b.js} +30 -30
- package/dist/chunks/{credential-r19fnxbw.js → config-k231vryy.js} +5 -5
- package/dist/chunks/{credential-jppvw2tx.js → config-k3gnzxs0.js} +5 -5
- package/dist/chunks/{credential-v689wcn1.js → config-k5mz3qne.js} +35 -35
- package/dist/chunks/{credential-1w9mhehj.js → config-k5w8kmw2.js} +7 -7
- package/dist/chunks/{credential-tc1y06w0.js → config-k7cgkg0j.js} +5 -5
- package/dist/chunks/{credential-9h1fa16h.js → config-kcdh3xhs.js} +25 -25
- package/dist/chunks/{credential-gx61xvmr.js → config-kh83n6qb.js} +3 -3
- package/dist/chunks/{credential-fkjmw100.js → config-knb7evpn.js} +6 -6
- package/dist/chunks/{credential-byrjk9ja.js → config-kt93bk96.js} +9 -9
- package/dist/chunks/{credential-z7hh0hye.js → config-ktzck27w.js} +9 -9
- package/dist/chunks/{credential-whtyrcz8.js → config-m7507t3w.js} +9 -9
- package/dist/chunks/{credential-2e11fzmp.js → config-m9gksh9z.js} +14 -14
- package/dist/chunks/{credential-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-0t1hp5a3.js → config-mb18hxf9.js} +3 -3
- package/dist/chunks/{credential-kk8h1mek.js → config-ms93yq6r.js} +8 -8
- package/dist/chunks/{credential-6mxat6pr.js → config-msmw8652.js} +13 -13
- package/dist/chunks/{credential-ewh97b2b.js → config-msq47qdw.js} +37 -37
- package/dist/chunks/{credential-4x37hr07.js → config-mwc4n0sc.js} +33 -33
- package/dist/chunks/{credential-6gewjzag.js → config-naab3paw.js} +25 -25
- package/dist/chunks/{credential-m665a3h5.js → config-ndqvy1j6.js} +10 -10
- package/dist/chunks/{credential-v8p7hepz.js → config-ngz4ns8d.js} +4 -4
- package/dist/chunks/{credential-gvqa5h3n.js → config-nhag9533.js} +20 -20
- package/dist/chunks/{credential-wn0ga2b8.js → config-nq7qbqzc.js} +9 -9
- package/dist/chunks/{credential-4ygq0zje.js → config-nr24wn3c.js} +22 -22
- package/dist/chunks/{credential-r1y777cf.js → config-nvjaav7c.js} +22 -22
- package/dist/chunks/{credential-4dgbcxzg.js → config-nzyhnfxz.js} +4 -4
- package/dist/chunks/{credential-d1mtykxg.js → config-p7a39gy5.js} +6 -6
- package/dist/chunks/{credential-nh00fgee.js → config-pcz6j2yq.js} +11 -11
- package/dist/chunks/{credential-5h89xv10.js → config-ph57x98w.js} +3 -3
- package/dist/chunks/{credential-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{credential-bfe3gwjm.js → config-q4vxcq8z.js} +10 -10
- package/dist/chunks/{credential-jfqtm2ew.js → config-qa3qhgw8.js} +4 -4
- package/dist/chunks/{credential-z7h5tktn.js → config-qpce9gs2.js} +36 -36
- package/dist/chunks/{credential-j1zf7whd.js → config-qqzkbgts.js} +28 -28
- package/dist/chunks/{credential-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-57nrd0dc.js → config-r3e0j0q4.js} +4 -4
- package/dist/chunks/{credential-r9mregkx.js → config-r9mregkx.js} +2 -2
- package/dist/chunks/{credential-pab7612g.js → config-rbqrbcat.js} +25 -25
- package/dist/chunks/{credential-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-e90yva4k.js → config-rf27w06z.js} +19 -19
- package/dist/chunks/{credential-vkw6eg78.js → config-rhydpgac.js} +7 -7
- package/dist/chunks/{credential-2xj68b26.js → config-rq184jbh.js} +15 -15
- package/dist/chunks/{credential-9kb0rfcz.js → config-s0bwfe95.js} +15 -15
- package/dist/chunks/{credential-51jra4mh.js → config-s8610hey.js} +2 -2
- package/dist/chunks/{credential-ws1cv121.js → config-sax4e3n0.js} +49 -49
- package/dist/chunks/{credential-v24739yc.js → config-sjf3tctt.js} +12 -12
- package/dist/chunks/{credential-bpxxtvpb.js → config-sk1cx54q.js} +5 -5
- package/dist/chunks/{credential-bbde4wd0.js → config-sqbhyrg9.js} +12 -12
- package/dist/chunks/{credential-17dh7jyv.js → config-sr5r393q.js} +36 -36
- package/dist/chunks/{credential-m9m18251.js → config-svpps34m.js} +4 -4
- package/dist/chunks/{credential-dgve2xzp.js → config-sx9t6843.js} +23 -23
- package/dist/chunks/{credential-c86qhz4v.js → config-t3saz5jn.js} +27 -27
- package/dist/chunks/{credential-3cmcwjyg.js → config-t51dyfnn.js} +2 -2
- package/dist/chunks/{credential-x27zz9cf.js → config-t67qj5tr.js} +10 -10
- package/dist/chunks/{credential-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{credential-3tbdz2xg.js → config-th32f3de.js} +11 -11
- package/dist/chunks/{credential-36cgn824.js → config-tn0aqsam.js} +5 -5
- package/dist/chunks/{credential-7eqb3hhp.js → config-trjvf7gb.js} +80 -80
- package/dist/chunks/{credential-xecgr4w2.js → config-trjyp1t4.js} +28 -28
- package/dist/chunks/{credential-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-p55ry8ca.js → config-v3vssvcb.js} +3 -3
- package/dist/chunks/{credential-9p1k4t37.js → config-v50j8aqv.js} +5 -5
- package/dist/chunks/{credential-6tsskk3m.js → config-v51c9181.js} +23 -23
- package/dist/chunks/{credential-dmsmn8n3.js → config-vbgyqf84.js} +26 -26
- package/dist/chunks/{credential-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-sr8e46fz.js → config-vj0cjykb.js} +21 -21
- package/dist/chunks/{credential-1t6ktrk6.js → config-vjmn77es.js} +4 -4
- package/dist/chunks/{credential-8mfdap3f.js → config-vkt5fbj2.js} +8 -8
- package/dist/chunks/{credential-b6cw5a0r.js → config-vqh7t5vg.js} +19 -19
- package/dist/chunks/{credential-p12fe6dj.js → config-vqtbthnm.js} +15 -15
- package/dist/chunks/{credential-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-64kphnzf.js → config-w1k39n5e.js} +4 -4
- package/dist/chunks/{credential-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-psbrwbtd.js → config-wbkyxrgf.js} +5 -5
- package/dist/chunks/{credential-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{credential-rqp7cg88.js → config-wf6wyyhn.js} +32 -32
- package/dist/chunks/{credential-6v4n8nt1.js → config-wzv49nq8.js} +15 -15
- package/dist/chunks/{credential-mkw2wvv0.js → config-x0e6qwje.js} +7 -7
- package/dist/chunks/{credential-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-1qcbrk1r.js → config-x8cxx485.js} +12 -12
- package/dist/chunks/{credential-9s36ejp2.js → config-xjanr18p.js} +299 -299
- package/dist/chunks/{credential-qb62zmsn.js → config-xkdyfc71.js} +67 -67
- package/dist/chunks/{credential-y1kk5z1y.js → config-y16t6rzn.js} +5 -5
- package/dist/chunks/{credential-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{credential-esaz05fm.js → config-ycwsxkae.js} +11 -11
- package/dist/chunks/{credential-fsh1gg8q.js → config-yqt7txvq.js} +17 -17
- package/dist/chunks/{credential-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-s4enseaf.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{credential-pz6wpjec.js → config-yz41ghh5.js} +11 -11
- package/dist/chunks/{credential-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-z2qvtray.js → config-z2qvtray.js} +1 -1
- package/dist/chunks/{credential-29x78va6.js → config-z63w68vq.js} +6 -6
- package/dist/chunks/{credential-5xwnfstc.js → config-z8ejak9q.js} +15 -15
- package/dist/chunks/{credential-1ae6kvz9.js → config-zbvzapc7.js} +20 -20
- package/dist/chunks/{credential-5dgyrznt.js → config-zdnme1nw.js} +16 -16
- package/dist/chunks/{credential-rq775frq.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-b6q09cwq.js → config-zg6vdfjp.js} +8 -8
- package/dist/chunks/{credential-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-vh8r7pqb.js → config-zwx2vm5j.js} +12 -12
- package/dist/chunks/{credential-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- 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 +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +120 -120
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- 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 +121 -121
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- 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 +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +124 -124
- 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 +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- 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 +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- 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 +222 -222
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- 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 +111 -111
- 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 +171 -171
- 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 +84 -84
- 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 +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +218 -218
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +92 -92
- 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 +121 -121
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +3 -3
- 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 +3 -3
- 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 +1 -1
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/credential-0mesazry.js +0 -4
- package/dist/chunks/credential-by5v678g.js +0 -18
- package/dist/chunks/credential-qsh95xcw.js +0 -247
- /package/dist/chunks/{credential-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./config-9qts6h7q.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info32,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service77,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node81,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service77 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node81 = LayerNode.unbound(Service77, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service78;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service77.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service77,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node82]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info32, Ref4, response2,
|
|
43
|
+
export { Info32, Ref4, response2, Service77, node81, boundNode2, exports_location };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./config-p7a39gy5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./config-sax4e3n0.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service81,
|
|
10
|
-
node85
|
|
11
|
-
} from "./credential-yypw0vbp.js";
|
|
7
|
+
} from "./config-ph57x98w.js";
|
|
12
8
|
import {
|
|
13
9
|
Service80,
|
|
14
10
|
node84
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./config-hzaycprp.js";
|
|
12
|
+
import {
|
|
13
|
+
Service79,
|
|
14
|
+
node83
|
|
15
|
+
} from "./config-sjf3tctt.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service78,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service78 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,11 +93,11 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service79;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service80;
|
|
101
101
|
const db = (yield* Service82).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service78.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node82 = makeGlobalNode({
|
|
276
|
+
service: Service78,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node84, node86, FSUtil.node, node83, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2,
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service78, node82, exports_project };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./config-hzaycprp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service75,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node79
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service80;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info29.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service75.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info29, Service75, node79, exports_agent4, Event20 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./config-qpce9gs2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./config-cq78gtc7.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-jkeb6b4x.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service61;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID7.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-ph57x98w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./config-hzaycprp.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-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
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service67,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node70
|
|
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 ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service67 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service82).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service80;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service67.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) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node70 = makeGlobalNode({ service: Service67, layer, deps: [node86, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event16, Info25, Service67, node70, exports_credential };
|