@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,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./config-hzaycprp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./config-9g708cjc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service75,
|
|
12
|
+
node79
|
|
13
|
+
} from "./config-9sbp0fay.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./config-7p797550.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./config-m9gksh9z.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node76
|
|
27
|
+
} from "./config-z8ejak9q.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node78
|
|
31
|
+
} from "./config-at1kfnmk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./config-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service71,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node75
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service71 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service80;
|
|
132
|
+
const location = yield* Service77;
|
|
133
|
+
const agents = yield* Service75;
|
|
134
|
+
const sessions = yield* Service73;
|
|
135
|
+
const saved = yield* Service72;
|
|
136
|
+
const hooks = yield* Service74;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError10({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID13.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service71.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node75 = makeLocationNode({
|
|
289
|
+
service: Service71,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node81, node79, node77, node76, node78]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service71, node75, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./config-cq78gtc7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin13 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin10, exports_warming };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service56,
|
|
8
8
|
node58
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-nhag9533.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-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: () => Service17,
|
|
24
|
+
node: () => node19
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/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 Service17 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(Service17, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service56;
|
|
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(Service50, 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 Service17.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [node58, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service17, node19, exports_ripgrep };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./config-hzaycprp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node48
|
|
18
|
+
} from "./config-sx9t6843.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -43,14 +43,14 @@ import { Event as Event7 } from "@opencode/schema/reference";
|
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service80;
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node47 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node84, node48]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service45, node47, exports_reference2, Event7 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service74,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service74 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service74.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service74, node78, exports_hooks };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./config-t67qj5tr.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-2f04pwep.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node55
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service53 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -85,8 +85,8 @@ function decrementSession(input, sessionID) {
|
|
|
85
85
|
next.set(sessionID, count - 1);
|
|
86
86
|
return next;
|
|
87
87
|
}
|
|
88
|
-
var
|
|
89
|
-
const kv = yield*
|
|
88
|
+
var make18 = Effect.gen(function* () {
|
|
89
|
+
const kv = yield* Service81;
|
|
90
90
|
const state = {
|
|
91
91
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
92
92
|
scope: yield* Scope.Scope
|
|
@@ -315,7 +315,7 @@ var make20 = Effect.gen(function* () {
|
|
|
315
315
|
return recovered;
|
|
316
316
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
317
317
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
318
|
-
return
|
|
318
|
+
return Service53.of({
|
|
319
319
|
get,
|
|
320
320
|
start,
|
|
321
321
|
wait,
|
|
@@ -327,7 +327,7 @@ var make20 = Effect.gen(function* () {
|
|
|
327
327
|
completeBackground
|
|
328
328
|
});
|
|
329
329
|
});
|
|
330
|
-
var layer = Layer.effect(
|
|
331
|
-
var
|
|
330
|
+
var layer = Layer.effect(Service53, make18);
|
|
331
|
+
var node55 = makeGlobalNode({ service: Service53, layer, deps: [node85] });
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { Service53, make18, node55, exports_job };
|