@opencode/core 0.0.0-dev-20024 → 0.0.0-dev-20026
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -82
- package/dist/aisdk-native.js +89 -88
- package/dist/aisdk.js +94 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -68
- package/dist/chunks/variant-02av72dv.js +89 -0
- package/dist/chunks/{location-mutation-gw3jpy4y.js → variant-0bzevza6.js} +18 -18
- package/dist/chunks/{location-mutation-r23z5d8f.js → variant-0f3fkebw.js} +4 -4
- package/dist/chunks/{location-mutation-crtwvk10.js → variant-0kdyx93j.js} +20 -20
- package/dist/chunks/{location-mutation-jqcqaqk1.js → variant-0krcabsn.js} +6 -6
- package/dist/chunks/{location-mutation-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-8ank75fn.js → variant-0xezjjjn.js} +8 -8
- package/dist/chunks/{location-mutation-p1zpfjkz.js → variant-0z6w7vfv.js} +12 -12
- package/dist/chunks/{location-mutation-818pfwc9.js → variant-17j9h1rv.js} +11 -11
- package/dist/chunks/{location-mutation-00z3vp5f.js → variant-1a6p2twq.js} +4 -4
- package/dist/chunks/{location-mutation-73tb2d7t.js → variant-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-mutation-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-9pajzaat.js → variant-1j4qs2dp.js} +13 -13
- package/dist/chunks/{location-mutation-8sfmeb4x.js → variant-1w0wkfxf.js} +5 -5
- package/dist/chunks/{location-mutation-3m46hkaz.js → variant-1wyzf5g7.js} +2 -2
- package/dist/chunks/{location-mutation-rvsn1kwz.js → variant-1xcw6xjf.js} +22 -22
- package/dist/chunks/{location-mutation-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-4a6h4wrp.js → variant-21xkm9mw.js} +32 -32
- package/dist/chunks/{location-mutation-6h73sxmp.js → variant-2402vzrj.js} +5 -5
- package/dist/chunks/{location-mutation-z63w68vq.js → variant-29x78va6.js} +6 -6
- package/dist/chunks/{location-mutation-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-zcqf6png.js → variant-2a6rn6yr.js} +6 -6
- package/dist/chunks/{location-mutation-fxt475k0.js → variant-2d0rz701.js} +16 -16
- package/dist/chunks/{location-mutation-2d57kztd.js → variant-2d57kztd.js} +1 -1
- package/dist/chunks/{location-mutation-1dcx1n9a.js → variant-2eyvmpqy.js} +24 -24
- package/dist/chunks/{location-mutation-xyqjfxv0.js → variant-2g7pkq9k.js} +20 -20
- package/dist/chunks/{location-mutation-h04cqsq0.js → variant-2hr5nhwa.js} +8 -8
- package/dist/chunks/{location-mutation-5qgdv5h0.js → variant-2n3rws7p.js} +35 -35
- package/dist/chunks/{location-mutation-qdbakdjh.js → variant-2p623br6.js} +5 -5
- package/dist/chunks/{location-mutation-3cawfvg9.js → variant-2ptfhmaq.js} +16 -16
- package/dist/chunks/{location-mutation-fn652s59.js → variant-31rgt9cd.js} +15 -15
- package/dist/chunks/{location-mutation-twg0f83k.js → variant-34c7v6d4.js} +1 -0
- package/dist/chunks/{location-mutation-s8zy8myc.js → variant-3cz8rj72.js} +5 -5
- package/dist/chunks/{location-mutation-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-k9d40v1y.js → variant-3g33scay.js} +4 -4
- package/dist/chunks/{location-mutation-415g09m0.js → variant-3h50d2d8.js} +10 -10
- package/dist/chunks/{location-mutation-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-jxc4myrx.js → variant-3prdw56f.js} +43 -43
- package/dist/chunks/{location-mutation-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-j4g6bjqf.js → variant-3wwqqeqp.js} +6 -6
- package/dist/chunks/{location-mutation-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-mutation-vry9y5h5.js → variant-45p7gsnq.js} +28 -28
- package/dist/chunks/{location-mutation-wgt0n93c.js → variant-4h2qm5xd.js} +42 -42
- package/dist/chunks/{location-mutation-gseev5jd.js → variant-4hz2mmtn.js} +6 -6
- package/dist/chunks/{location-mutation-kansrtmv.js → variant-4n6z1r8s.js} +24 -24
- package/dist/chunks/{location-mutation-hdnk95c8.js → variant-54tcyq79.js} +2 -2
- package/dist/chunks/{location-mutation-fzw6kvvp.js → variant-557d9c8t.js} +16 -16
- package/dist/chunks/{location-mutation-3emyecbb.js → variant-563rq041.js} +87 -87
- package/dist/chunks/{location-mutation-1ygqh575.js → variant-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-mutation-05j4n1ws.js → variant-5b64cte8.js} +18 -18
- package/dist/chunks/{location-mutation-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-5ekn9679.js → variant-5ekn9679.js} +1 -1
- package/dist/chunks/{location-mutation-b5mcfzkp.js → variant-5hwa0061.js} +5 -5
- package/dist/chunks/{location-mutation-rkfnr0xp.js → variant-5jf3agd7.js} +1 -1
- package/dist/chunks/{location-mutation-s9s562vb.js → variant-5mef3xk7.js} +13 -13
- package/dist/chunks/{location-mutation-ryr2m08g.js → variant-5mvsdnr7.js} +4 -4
- package/dist/chunks/{location-mutation-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-h6syajn5.js → variant-62m7qsdd.js} +3 -3
- package/dist/chunks/{location-mutation-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-1xykv8xw.js → variant-6mmx0pze.js} +10 -10
- package/dist/chunks/{location-mutation-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-0e212dhy.js → variant-6p55r51m.js} +3 -3
- package/dist/chunks/{location-mutation-hsq7tvrb.js → variant-6rxwp35s.js} +17 -17
- package/dist/chunks/{location-mutation-g190xswt.js → variant-6sr3ve8g.js} +21 -21
- package/dist/chunks/{location-mutation-41rytcpr.js → variant-6w0aczmv.js} +8 -8
- package/dist/chunks/{location-mutation-2h7nr2dq.js → variant-6wjad31y.js} +7 -7
- package/dist/chunks/{location-mutation-w8qbsc09.js → variant-6zedfc54.js} +27 -27
- package/dist/chunks/{location-mutation-965jek49.js → variant-71zkw7xr.js} +9 -9
- package/dist/chunks/{location-mutation-6a753ss8.js → variant-72v9w41r.js} +54 -54
- package/dist/chunks/{location-mutation-ver2men6.js → variant-75x4dgvy.js} +10 -10
- package/dist/chunks/{location-mutation-r46pqq1s.js → variant-7836xe6r.js} +7 -7
- package/dist/chunks/{location-mutation-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-5vdq9pgq.js → variant-7c8esnqs.js} +20 -20
- package/dist/chunks/{location-mutation-zja6ntk0.js → variant-7d4hdxdy.js} +11 -11
- package/dist/chunks/{location-mutation-qgn6gcr1.js → variant-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-mutation-cxds2wxd.js → variant-7xgrqf4n.js} +18 -18
- package/dist/chunks/{location-mutation-bj3p2s8f.js → variant-7y60eay9.js} +37 -37
- package/dist/chunks/{location-mutation-3k04zyzs.js → variant-7yrwfpwm.js} +11 -11
- package/dist/chunks/{location-mutation-43q23gcr.js → variant-80dj63ps.js} +9 -9
- package/dist/chunks/{location-mutation-gmjjhz4f.js → variant-834a0b17.js} +7 -7
- package/dist/chunks/{location-mutation-m8ar47ek.js → variant-83xz4qq9.js} +20 -20
- package/dist/chunks/{location-mutation-t1w7zdgx.js → variant-84sj45vf.js} +15 -15
- package/dist/chunks/{location-mutation-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-t7ph3h46.js → variant-8eh51za7.js} +11 -11
- package/dist/chunks/{location-mutation-rjxwg6my.js → variant-8epdgwc0.js} +26 -26
- package/dist/chunks/{location-mutation-xsytrpqt.js → variant-8fz7s7fk.js} +6 -6
- package/dist/chunks/{location-mutation-mwvyrfwc.js → variant-8mvw6bgy.js} +29 -29
- package/dist/chunks/{location-mutation-4j809b3d.js → variant-8nx8zez9.js} +13 -13
- package/dist/chunks/{location-mutation-say5sfs8.js → variant-8qdtva9t.js} +17 -17
- package/dist/chunks/{location-mutation-k6y504h4.js → variant-8tpythmx.js} +24 -24
- package/dist/chunks/variant-8wj87zfr.js +14 -0
- package/dist/chunks/{location-mutation-2gp9g042.js → variant-9byqxeta.js} +17 -17
- package/dist/chunks/{location-mutation-vtxr0yy2.js → variant-9cyfspf3.js} +5 -5
- package/dist/chunks/{location-mutation-f0h3qbzs.js → variant-9esb0m0p.js} +5 -5
- package/dist/chunks/{location-mutation-11aw4bp1.js → variant-9f1seg8j.js} +32 -32
- package/dist/chunks/{location-mutation-kp86r9b3.js → variant-9jwjh49g.js} +32 -32
- package/dist/chunks/{location-mutation-9pp8k1fj.js → variant-9mye8vwy.js} +14 -14
- package/dist/chunks/{location-mutation-bt0ey53w.js → variant-9qw4j31g.js} +9 -9
- package/dist/chunks/{location-mutation-xpk8r8b8.js → variant-9r5qhkng.js} +22 -22
- package/dist/chunks/{location-mutation-1d112cb4.js → variant-a5fr2mj9.js} +23 -23
- package/dist/chunks/{location-mutation-6v9me7yx.js → variant-a5t4p5xt.js} +24 -24
- package/dist/chunks/{location-mutation-0rcbddbz.js → variant-a6x7shte.js} +5 -5
- package/dist/chunks/{location-mutation-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-4key4fq7.js → variant-af7j52hr.js} +4 -4
- package/dist/chunks/{location-mutation-7e2ke00k.js → variant-ajk3nktm.js} +21 -21
- package/dist/chunks/{location-mutation-q7tj62n7.js → variant-apg24jar.js} +28 -28
- package/dist/chunks/{location-mutation-9m8se1t0.js → variant-ar8vm0ff.js} +13 -13
- package/dist/chunks/{location-mutation-1rmaqtrx.js → variant-avd8ev9v.js} +4 -4
- package/dist/chunks/{location-mutation-sj6hyns7.js → variant-avrnkb01.js} +46 -46
- package/dist/chunks/{location-mutation-0yd4bm3n.js → variant-b51jbz85.js} +10 -10
- package/dist/chunks/variant-b6ck6p7e.js +26 -0
- package/dist/chunks/{location-mutation-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-jqe8c22f.js → variant-b8y4420x.js} +41 -41
- package/dist/chunks/{location-mutation-jkkh0dgx.js → variant-b9dsjnj7.js} +8 -8
- package/dist/chunks/{location-mutation-gdpzykdj.js → variant-bfhm6t97.js} +13 -13
- package/dist/chunks/{location-mutation-r339gb8t.js → variant-bjn6skbd.js} +5 -5
- package/dist/chunks/{location-mutation-ec87kc5z.js → variant-bjn91642.js} +4 -4
- package/dist/chunks/{location-mutation-5c4hm403.js → variant-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-mutation-mzeaa52x.js → variant-c5ezeqt5.js} +27 -27
- package/dist/chunks/{location-mutation-0hmy5ypz.js → variant-c8swy7ka.js} +15 -15
- package/dist/chunks/{location-mutation-2y3whdx8.js → variant-cenw4sj9.js} +182 -182
- package/dist/chunks/{location-mutation-18fjsgbr.js → variant-cgrt34rb.js} +26 -26
- package/dist/chunks/{location-mutation-asscy6pk.js → variant-cm9mwwq8.js} +24 -24
- package/dist/chunks/{location-mutation-8pt1jyw7.js → variant-cmh4zy5x.js} +17 -17
- package/dist/chunks/variant-cr86fwsy.js +252 -0
- package/dist/chunks/variant-ctefx7dc.js +18 -0
- package/dist/chunks/{location-mutation-2n6xcrtw.js → variant-d27k1qq2.js} +17 -17
- package/dist/chunks/{location-mutation-hptm3x45.js → variant-d42e34ke.js} +51 -51
- package/dist/chunks/{location-mutation-krscvss0.js → variant-dbdtaeh3.js} +56 -44
- package/dist/chunks/{location-mutation-3mmzvcvq.js → variant-dcer5810.js} +26 -26
- package/dist/chunks/{location-mutation-qhq71jc6.js → variant-dfjemdtf.js} +26 -26
- package/dist/chunks/{location-mutation-qw39grzm.js → variant-dngx6zgq.js} +4 -4
- package/dist/chunks/{location-mutation-qqeeq2t9.js → variant-drwq78ky.js} +7 -7
- package/dist/chunks/{location-mutation-jvr0a44c.js → variant-dtss6q18.js} +11 -11
- package/dist/chunks/{location-mutation-5ntswbj3.js → variant-dvc89yjx.js} +8 -8
- package/dist/chunks/{location-mutation-9v8wx44b.js → variant-e37stjd8.js} +11 -11
- package/dist/chunks/{location-mutation-5qd3pb7m.js → variant-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-mutation-jt89ckk3.js → variant-e6y173sj.js} +9 -9
- package/dist/chunks/{location-mutation-02nrjc1r.js → variant-eaj1djv9.js} +4 -4
- package/dist/chunks/{location-mutation-yf8gt2v7.js → variant-ecnb5xks.js} +13 -13
- package/dist/chunks/{location-mutation-6zprjfx5.js → variant-edv89m0p.js} +44 -44
- package/dist/chunks/{location-mutation-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-mutation-eqxdc8mp.js → variant-ehd2w0yp.js} +17 -17
- package/dist/chunks/{location-mutation-bgs9y14h.js → variant-engkm2d6.js} +5 -5
- package/dist/chunks/{location-mutation-j8rzd9ap.js → variant-eqvqvd13.js} +15 -15
- package/dist/chunks/{location-mutation-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-mutation-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-sa96sbyt.js → variant-f747t98r.js} +14 -14
- package/dist/chunks/{location-mutation-ar5042nv.js → variant-fbc9vsj2.js} +23 -23
- package/dist/chunks/variant-fczcbajx.js +503 -0
- package/dist/chunks/{location-mutation-zq3deerb.js → variant-fhpv401t.js} +47 -47
- package/dist/chunks/{location-mutation-ks0b5fhh.js → variant-fjeqa7jj.js} +10 -10
- package/dist/chunks/{location-mutation-y9vcbm1p.js → variant-fx8cm3j5.js} +11 -11
- package/dist/chunks/{location-mutation-ydgy0jv4.js → variant-fzgxakwn.js} +6 -6
- package/dist/chunks/{location-mutation-ygx1qhaf.js → variant-fzhdr1mx.js} +1 -1
- package/dist/chunks/{location-mutation-b7btgvj5.js → variant-g04dwg7s.js} +4 -4
- package/dist/chunks/{location-mutation-n0tvqc4h.js → variant-g1zq083n.js} +13 -13
- package/dist/chunks/{location-mutation-2znrjh5s.js → variant-g20tdqpk.js} +32 -32
- package/dist/chunks/{location-mutation-jca4demv.js → variant-g2yz86wh.js} +2 -2
- package/dist/chunks/{location-mutation-fy2r6802.js → variant-gbdr24b9.js} +12 -12
- package/dist/chunks/{location-mutation-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-83dgf92e.js → variant-gf45v5rv.js} +6 -6
- package/dist/chunks/{location-mutation-m0jqrx5p.js → variant-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-mutation-f9pjpvtx.js → variant-gga0wymx.js} +68 -68
- package/dist/chunks/{location-mutation-jp1d2c53.js → variant-gs9rpsen.js} +11 -11
- package/dist/chunks/{location-mutation-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mutation-cpj0znwe.js → variant-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-mutation-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-e6hmchc5.js → variant-hcz3zddy.js} +5 -5
- package/dist/chunks/{location-mutation-8sd99ncp.js → variant-hkafdcbz.js} +3 -3
- package/dist/chunks/{location-mutation-enrvee4b.js → variant-hpfrvn9v.js} +16 -16
- package/dist/chunks/{location-mutation-krrzbazv.js → variant-j55501wg.js} +6 -6
- package/dist/chunks/{location-mutation-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-rqt3ht1f.js → variant-jes8xwtq.js} +6 -6
- package/dist/chunks/{location-mutation-g2z23txw.js → variant-jfmkgsry.js} +26 -26
- package/dist/chunks/{location-mutation-86czshtb.js → variant-jk953tft.js} +4 -4
- package/dist/chunks/{location-mutation-07ha980f.js → variant-jn81emqq.js} +14 -14
- package/dist/chunks/{location-mutation-zbb1t9ts.js → variant-jx4tygjy.js} +10 -10
- package/dist/chunks/{location-mutation-mp1fmwr2.js → variant-k5y748ge.js} +5 -5
- package/dist/chunks/{location-mutation-xv8bhmcn.js → variant-kad49353.js} +18 -18
- package/dist/chunks/{location-mutation-frptvanx.js → variant-kfd45557.js} +19 -19
- package/dist/chunks/{location-mutation-mmr7bq34.js → variant-knb7evpn.js} +8 -8
- package/dist/chunks/{location-mutation-a8v3d86t.js → variant-kns7re6s.js} +15 -15
- package/dist/chunks/{location-mutation-n03y2nvv.js → variant-kqbmdx55.js} +27 -27
- package/dist/chunks/{location-mutation-kwyenn5c.js → variant-kzynzy4y.js} +12 -12
- package/dist/chunks/{location-mutation-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-mutation-nkf7ea5p.js → variant-m74j5n8t.js} +55 -55
- package/dist/chunks/{location-mutation-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-287swpq4.js → variant-md1qfzvn.js} +42 -42
- package/dist/chunks/{location-mutation-4541pte3.js → variant-mjncxbbh.js} +6 -6
- package/dist/chunks/{location-mutation-z58mz0mp.js → variant-mm84f3fs.js} +24 -24
- package/dist/chunks/{location-mutation-etdfdz9n.js → variant-mn93ga5d.js} +20 -20
- package/dist/chunks/{location-mutation-drrkymsn.js → variant-n2cj49gr.js} +24 -24
- package/dist/chunks/{location-mutation-jvw73btf.js → variant-n3hpqbgj.js} +11 -11
- package/dist/chunks/{location-mutation-xpnq3dj5.js → variant-n7hwxzgv.js} +28 -28
- package/dist/chunks/{location-mutation-b97j21th.js → variant-na0h3a6c.js} +19 -19
- package/dist/chunks/{location-mutation-jw9sfpm0.js → variant-ngjw7veb.js} +3 -3
- package/dist/chunks/{location-mutation-j7sdw5nk.js → variant-nj481gba.js} +5 -5
- package/dist/chunks/{location-mutation-qhq4a865.js → variant-nk7804dj.js} +11 -11
- package/dist/chunks/{location-mutation-pa6qpeew.js → variant-nmvjxe16.js} +10 -10
- package/dist/chunks/{location-mutation-qxt041pa.js → variant-nq97rzw1.js} +23 -23
- package/dist/chunks/{location-mutation-r9vycjg2.js → variant-nv7t75ky.js} +14 -14
- package/dist/chunks/{location-mutation-a3kw06th.js → variant-nydghdxw.js} +25 -25
- package/dist/chunks/{location-mutation-nzks3jc8.js → variant-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-mutation-pa8pe2x7.js → variant-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-mutation-h69yr78q.js → variant-p8djes8h.js} +21 -21
- package/dist/chunks/{location-mutation-57ez7d0k.js → variant-pef6k0gg.js} +9 -9
- package/dist/chunks/{location-mutation-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-sgtdr5xd.js → variant-ppxpc5nv.js} +5 -5
- package/dist/chunks/{location-mutation-dj2t23y0.js → variant-psazpmmj.js} +3 -2
- package/dist/chunks/{location-mutation-he6wdzpy.js → variant-pt7424fw.js} +9 -9
- package/dist/chunks/{location-mutation-3c4e3q8d.js → variant-q7azfttr.js} +4 -4
- package/dist/chunks/{location-mutation-8fh4dspn.js → variant-q7mj73f6.js} +24 -24
- package/dist/chunks/variant-qapv375x.js +4 -0
- package/dist/chunks/{location-mutation-c9kahmjr.js → variant-qmkkft71.js} +20 -20
- package/dist/chunks/{location-mutation-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-c765mh8b.js → variant-r2m716tb.js} +5 -5
- package/dist/chunks/{location-mutation-ja93bcmn.js → variant-r39jerzg.js} +10 -10
- package/dist/chunks/{location-mutation-cm78evcp.js → variant-r6cdbtvh.js} +4 -4
- package/dist/chunks/{location-mutation-65jmxcge.js → variant-r8bjv7hd.js} +17 -17
- package/dist/chunks/{location-mutation-8r1zxxnv.js → variant-r9684t3a.js} +8 -8
- package/dist/chunks/{location-mutation-5jx0ywhf.js → variant-rbqcddk9.js} +11 -11
- package/dist/chunks/{location-mutation-8ga603cp.js → variant-rc0khjqf.js} +12 -12
- package/dist/chunks/{location-mutation-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-mutation-cpmmh3r9.js → variant-rh1n8m2g.js} +11 -11
- package/dist/chunks/{location-mutation-pnv527nz.js → variant-rhafb4aa.js} +9 -9
- package/dist/chunks/{location-mutation-t3zkw3za.js → variant-rt8yt3bf.js} +15 -15
- package/dist/chunks/{location-mutation-gh02xaqr.js → variant-rtgnjske.js} +31 -31
- package/dist/chunks/{location-mutation-hnz1vd55.js → variant-rwnjws6z.js} +10 -10
- package/dist/chunks/{location-mutation-63x4799j.js → variant-s07fdbeq.js} +19 -19
- package/dist/chunks/{location-mutation-ypxn8na5.js → variant-s41dxx30.js} +3 -3
- package/dist/chunks/{location-mutation-yrznvahk.js → variant-s4enseaf.js} +2 -2
- package/dist/chunks/{location-mutation-y56ehv6b.js → variant-s5d9hk7s.js} +9 -9
- package/dist/chunks/{location-mutation-hgyg00rt.js → variant-s7h606h9.js} +18 -18
- package/dist/chunks/{location-mutation-pxq2x33y.js → variant-sjgae2xy.js} +25 -25
- package/dist/chunks/{location-mutation-ye6tmwz4.js → variant-stas9bdh.js} +9 -9
- package/dist/chunks/{location-mutation-9tc9jvay.js → variant-t0yy7xg2.js} +89 -89
- package/dist/chunks/{location-mutation-zkfs0tv5.js → variant-t3hvp6ye.js} +36 -36
- package/dist/chunks/{location-mutation-rc523c8n.js → variant-t6055e0v.js} +33 -33
- package/dist/chunks/{location-mutation-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-vbfgae2j.js → variant-tbmac1c7.js} +4 -4
- package/dist/chunks/{location-mutation-89znhe33.js → variant-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-mutation-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-avzvtmgr.js → variant-tk2xtqnn.js} +32 -32
- package/dist/chunks/{location-mutation-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-6m9azzzz.js → variant-v1nyvan4.js} +37 -37
- package/dist/chunks/{location-mutation-8w4b0w14.js → variant-v1x57w6y.js} +19 -19
- package/dist/chunks/{location-mutation-8f5p4pwe.js → variant-v7eyjk8c.js} +36 -36
- package/dist/chunks/{location-mutation-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-qt5asz00.js → variant-vkepkbsm.js} +20 -20
- package/dist/chunks/{location-mutation-cn3vn15h.js → variant-vrk0cgw0.js} +24 -24
- package/dist/chunks/{location-mutation-sqy4ahhk.js → variant-vtd2qwnf.js} +1 -1
- package/dist/chunks/{location-mutation-7errh0f2.js → variant-vya4f7hk.js} +15 -15
- package/dist/chunks/{location-mutation-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-pw9v3g6d.js → variant-was7srj9.js} +5 -5
- package/dist/chunks/{location-mutation-nswc3ws5.js → variant-wbtey438.js} +5 -5
- package/dist/chunks/{location-mutation-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-wz9pjx5y.js → variant-wnsqmkbm.js} +24 -24
- package/dist/chunks/{location-mutation-760hvg9h.js → variant-wtm3ybk1.js} +3 -3
- package/dist/chunks/{location-mutation-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-tkmwgdpd.js → variant-xb02k0wq.js} +7 -7
- package/dist/chunks/{location-mutation-147kkz38.js → variant-xe0jn6g3.js} +8 -8
- package/dist/chunks/{location-mutation-q3t37ft6.js → variant-xkhfjrgz.js} +3 -3
- package/dist/chunks/{location-mutation-yefjccnd.js → variant-xycc92pn.js} +32 -32
- package/dist/chunks/{location-mutation-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-dpkg50ah.js → variant-y71avatq.js} +4 -4
- package/dist/chunks/{location-mutation-eztkbwah.js → variant-yaktvxn2.js} +18 -18
- package/dist/chunks/{location-mutation-c2h7be1y.js → variant-ybday7y9.js} +8 -8
- package/dist/chunks/{location-mutation-6jm6bgjn.js → variant-yf5fe4my.js} +18 -18
- package/dist/chunks/{location-mutation-y16p1w2y.js → variant-yh7kjdpc.js} +9 -9
- package/dist/chunks/{location-mutation-1acjjqhc.js → variant-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-mutation-sd4hb3jk.js → variant-yq6sxka3.js} +52 -48
- package/dist/chunks/{location-mutation-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-z06cc0jq.js → variant-z16bdfpw.js} +11 -11
- package/dist/chunks/{location-mutation-37s12vcn.js → variant-z3pw5915.js} +5 -5
- package/dist/chunks/{location-mutation-a1r0sk56.js → variant-zd5rdewp.js} +8 -8
- package/dist/chunks/{location-mutation-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-c1df4dj7.js → variant-zqy8ejrp.js} +11 -11
- package/dist/chunks/{location-mutation-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-ddt2bs9e.js → variant-zvt5dnpc.js} +4 -4
- package/dist/chunks/{location-mutation-qaa2yvb1.js → variant-zxbrzaq9.js} +23 -23
- package/dist/chunks/{location-mutation-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-mutation-d4yhjfbe.js → variant-zzexawz9.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -84
- package/dist/config/discovery.js +84 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -105
- package/dist/config/plugin/agent.js +125 -124
- package/dist/config/plugin/command.js +214 -213
- package/dist/config/plugin/compaction.js +162 -161
- package/dist/config/plugin/compatibility.js +141 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -123
- package/dist/config/plugin/image.js +123 -122
- package/dist/config/plugin/instruction.js +90 -89
- package/dist/config/plugin/location-watcher.js +123 -122
- package/dist/config/plugin/mcp.js +132 -131
- package/dist/config/plugin/policy.js +124 -123
- package/dist/config/plugin/provider.js +123 -122
- package/dist/config/plugin/reference.js +125 -124
- package/dist/config/plugin/shell.js +123 -122
- package/dist/config/plugin/skill-file.js +102 -101
- package/dist/config/plugin/skill.js +144 -143
- package/dist/config/plugin/snapshot.js +123 -122
- package/dist/config/plugin/source.js +126 -125
- package/dist/config/plugin/tool-output.js +125 -124
- package/dist/config/plugin/websearch.js +122 -121
- package/dist/config/plugin/worktree.js +125 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -82
- package/dist/database/database.js +66 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +6 -0
- package/dist/database/migration.gen.js +49 -48
- package/dist/database/migration.js +51 -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 +80 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -69
- package/dist/file-access.js +104 -103
- package/dist/file-mutation.js +94 -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 +4 -4
- package/dist/filesystem/location-watcher.js +221 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -107
- package/dist/form.js +84 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -86
- package/dist/generate.js +103 -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 +91 -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 +361 -360
- package/dist/instruction-discovery.js +85 -84
- package/dist/instructions/builtins.js +87 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -87
- package/dist/job.js +77 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -72
- package/dist/location-activity.js +132 -131
- package/dist/location-lifecycle.js +107 -105
- package/dist/location-mutation.js +104 -103
- package/dist/location-service-map.js +86 -85
- package/dist/location-services.js +358 -357
- package/dist/location.js +89 -88
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -90
- package/dist/mcp/index.js +108 -107
- package/dist/mcp/instructions.js +128 -127
- package/dist/mcp/oauth.js +78 -77
- package/dist/mcp/stdio.js +90 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -90
- package/dist/model-resolver.js +96 -95
- package/dist/model.js +102 -101
- package/dist/models-dev.js +107 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -74
- package/dist/plugin/agent.js +104 -103
- package/dist/plugin/command.js +101 -100
- package/dist/plugin/compaction.js +133 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -89
- package/dist/plugin/provider/azure.js +122 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -118
- package/dist/plugin/provider/digitalocean.js +93 -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 +93 -92
- package/dist/plugin/provider/gitlab.js +91 -90
- package/dist/plugin/provider/google-vertex.js +90 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -76
- package/dist/plugin/provider/lmstudio.js +122 -121
- package/dist/plugin/provider/modal.js +92 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -121
- package/dist/plugin/provider/openai.js +94 -93
- package/dist/plugin/provider/opencode.js +94 -93
- package/dist/plugin/provider/openrouter.js +91 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -77
- package/dist/plugin/provider/prompt-cache-key.js +90 -89
- package/dist/plugin/provider/sap-ai-core.js +91 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -89
- package/dist/plugin/provider/vllm.js +122 -121
- package/dist/plugin/provider/xai.js +91 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -159
- package/dist/plugin/sdk.js +72 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -85
- package/dist/plugin/vcs/hg.js +86 -85
- package/dist/plugin/warming.js +121 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -89
- package/dist/provider.js +101 -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 +96 -95
- package/dist/reference/instructions.js +89 -88
- package/dist/reference.js +91 -90
- package/dist/repository-cache.js +81 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -96
- package/dist/rpc.js +86 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -73
- package/dist/session/compaction.js +134 -133
- package/dist/session/context.js +152 -151
- package/dist/session/diff.js +88 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -220
- package/dist/session/execution.js +126 -125
- package/dist/session/generate.js +153 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -129
- package/dist/session/projector.js +86 -85
- package/dist/session/prompt.js +105 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -113
- package/dist/session/runner/step.js +126 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -171
- package/dist/session/shell.js +138 -137
- package/dist/session/skill.js +103 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -72
- package/dist/session/store.js +85 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -155
- package/dist/session/to-session-error.js +111 -110
- package/dist/session/transfer.js +217 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -217
- 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 +13 -13
- package/dist/shell.js +140 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -104
- package/dist/skill.js +112 -111
- package/dist/snapshot.js +87 -86
- 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 +127 -126
- package/dist/tool/plugin/edit.js +120 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -123
- package/dist/tool/plugin/grep.js +116 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -121
- package/dist/tool/plugin/question.js +105 -104
- package/dist/tool/plugin/read.js +123 -122
- package/dist/tool/plugin/shell.js +215 -214
- package/dist/tool/plugin/skill.js +109 -108
- package/dist/tool/plugin/subagent.js +219 -218
- package/dist/tool/plugin/webfetch.js +112 -111
- package/dist/tool/plugin/websearch.js +112 -111
- package/dist/tool/plugin/write.js +118 -117
- package/dist/tool/read-filesystem.js +100 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/database/migration/20260923013825_project_time_active.d.ts +3 -0
- package/dist/types/project/schema.d.ts +5 -0
- package/dist/types/project/sql.d.ts +16 -0
- package/dist/types/project.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -88
- package/dist/websearch.js +80 -79
- package/dist/wellknown/plugin.js +76 -75
- package/dist/wellknown.js +81 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -88
- package/dist/worktree.js +96 -95
- package/package.json +8 -8
- package/dist/chunks/location-mutation-emdvc7y7.js +0 -503
- package/dist/chunks/location-mutation-gbadjzag.js +0 -4
- package/dist/chunks/location-mutation-p7p1ybb8.js +0 -26
- package/dist/chunks/location-mutation-vnkjks7b.js +0 -18
- package/dist/chunks/location-mutation-xgef326k.js +0 -252
- package/dist/chunks/location-mutation-xx9kgtw1.js +0 -65
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./variant-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service71,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node75,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service71 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service71.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service71.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service71).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service71, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service71, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node75 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options8, Service71, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured10, node75, exports_watcher };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service40,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node44
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service40 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service40.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node44 = makeGlobalNode({ service: Service40, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service40, makeLayer2, layer16, node44, exports_model_transport };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-0f3fkebw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service56,
|
|
17
|
+
node59
|
|
18
|
+
} from "./variant-fbc9vsj2.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./variant-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./variant-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service55,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node58
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service55 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service56;
|
|
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(Service66, 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 [Info8.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info8.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(Service66, 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 Service55.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(Service66, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node58 = makeLocationNode({
|
|
116
|
+
service: Service55,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node59]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info8, Service55, node58, exports_reference2, Event8 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-0f3fkebw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./variant-ehd2w0yp.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service66,
|
|
14
|
+
node70
|
|
15
|
+
} from "./variant-f747t98r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node12
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service66;
|
|
41
|
+
const location = yield* Service75;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node,
|
|
101
|
+
deps: [node87, FSUtil.node, node79, node70]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node12, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-zzexawz9.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-21xkm9mw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./variant-kqbmdx55.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service79;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID16.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref3
|
|
3
|
+
} from "./variant-ehd2w0yp.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service58,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node61,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service58 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service58, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node61 = LayerNode.unbound(Service58, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service58;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
|
39
39
|
yield* Effect.logInfo("location services reloaded", { count: refs.length });
|
|
40
40
|
});
|
|
41
41
|
function canonical3(ref) {
|
|
42
|
-
return
|
|
42
|
+
return Ref3.make({
|
|
43
43
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
44
44
|
workspaceID: ref.workspaceID
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service58, node61, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-wtm3ybk1.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service78,
|
|
17
|
+
node: () => node82
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service78 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service78.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service78, node82, exports_kv };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-m74j5n8t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service35,
|
|
12
|
+
node38
|
|
13
|
+
} from "./variant-d42e34ke.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./variant-8mvw6bgy.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service33,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service33 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service35;
|
|
68
|
+
return Service33.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make21({
|
|
71
71
|
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node36 = makeLocationNode({ service: Service33, layer: layer12, deps: [node38] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service33, layer12, node36, exports_instructions3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./variant-avrnkb01.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./variant-dcer5810.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigCompactionPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_compaction = {};
|
|
16
|
+
__export(exports_compaction, {
|
|
17
|
+
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
+
Plugin: () => Plugin17
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
|
+
const compaction = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin22 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin17, exports_compaction };
|