@opencode/core 0.0.0-dev-21044 → 0.0.0-dev-21047
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{worktree-rw3by220.js → reference-0170kczj.js} +9 -9
- package/dist/chunks/{worktree-ke97j4hd.js → reference-01es0w8g.js} +11 -11
- package/dist/chunks/{worktree-7gra0nqm.js → reference-0sgp6vrq.js} +12 -12
- package/dist/chunks/{worktree-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{worktree-2enf78eb.js → reference-1311jqsc.js} +23 -23
- package/dist/chunks/{worktree-z3v3p3gc.js → reference-132ycjkv.js} +21 -21
- package/dist/chunks/{worktree-yp2x3t23.js → reference-1acjjqhc.js} +4 -4
- package/dist/chunks/{worktree-had4kgfk.js → reference-1fmrbde1.js} +6 -6
- package/dist/chunks/{worktree-a42z6xrr.js → reference-1fq98kjr.js} +11 -11
- package/dist/chunks/{worktree-pq1r7b9t.js → reference-1kwkgjs8.js} +12 -12
- package/dist/chunks/{worktree-9q7v2qnn.js → reference-1n7cf0zt.js} +12 -12
- package/dist/chunks/{worktree-56sxvxk2.js → reference-1qqmef8y.js} +30 -30
- package/dist/chunks/{worktree-tpnh9f3m.js → reference-1wws9p1z.js} +11 -11
- package/dist/chunks/{worktree-rm813vtq.js → reference-256smw24.js} +8 -8
- package/dist/chunks/{worktree-867vdmc0.js → reference-2e24zj1v.js} +8 -8
- package/dist/chunks/{worktree-wypjq10p.js → reference-2k20t02z.js} +22 -22
- package/dist/chunks/{worktree-ngts6ef0.js → reference-2ktf0ed2.js} +8 -8
- package/dist/chunks/{worktree-pd9fs73p.js → reference-2sc3sc4p.js} +2 -2
- package/dist/chunks/{worktree-y7v3dsdp.js → reference-2yn5t4yf.js} +32 -32
- package/dist/chunks/{worktree-ph20cxtq.js → reference-2zmfhp2c.js} +9 -9
- package/dist/chunks/{worktree-qsadzg18.js → reference-36nn25hb.js} +43 -43
- package/dist/chunks/{worktree-sqj96g7w.js → reference-3ec2hwya.js} +13 -13
- package/dist/chunks/{worktree-zb83g9fx.js → reference-3emwttkv.js} +14 -14
- package/dist/chunks/{worktree-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-fkwcg6pt.js → reference-3fxqyn52.js} +11 -11
- package/dist/chunks/{worktree-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3hwn7j4h.js → reference-3hwn7j4h.js} +2 -2
- package/dist/chunks/{worktree-zr47jkhm.js → reference-3jxt0407.js} +4 -4
- package/dist/chunks/{worktree-5qdw7c1w.js → reference-3njtpr6j.js} +9 -9
- package/dist/chunks/{worktree-0vrkd98v.js → reference-3q9g49xq.js} +16 -16
- package/dist/chunks/{worktree-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-3z45eq7z.js → reference-48s9929f.js} +14 -14
- package/dist/chunks/{worktree-8jmcdnh7.js → reference-4cqhq9mq.js} +11 -11
- package/dist/chunks/{worktree-etsgmb9a.js → reference-4f65x4ny.js} +326 -326
- package/dist/chunks/{worktree-ecb605w9.js → reference-4jfm27c9.js} +11 -11
- package/dist/chunks/{worktree-4mg6ayqp.js → reference-4t88j5bp.js} +24 -24
- package/dist/chunks/{worktree-jkp0d30b.js → reference-51f5btjf.js} +6 -6
- package/dist/chunks/{worktree-h1vatst2.js → reference-51vcra35.js} +11 -11
- package/dist/chunks/{worktree-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-hf9tmbh5.js → reference-5527nycg.js} +13 -13
- package/dist/chunks/{worktree-9sgsjpgv.js → reference-55t5gfwz.js} +8 -8
- package/dist/chunks/{worktree-849efwnp.js → reference-5697ag0y.js} +12 -12
- package/dist/chunks/{worktree-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
- package/dist/chunks/{worktree-t215hqkg.js → reference-5ttccjpc.js} +6 -6
- package/dist/chunks/{worktree-vyxp6c24.js → reference-5vxqm9q6.js} +38 -38
- package/dist/chunks/{worktree-zfme70y8.js → reference-63db42yp.js} +2 -2
- package/dist/chunks/{worktree-6ts6ce7s.js → reference-63zg3mg5.js} +20 -20
- package/dist/chunks/{worktree-9py6qxwx.js → reference-65cg4f0c.js} +10 -10
- package/dist/chunks/{worktree-fzgjsfgc.js → reference-676ffxyw.js} +30 -30
- package/dist/chunks/{worktree-vnshx00a.js → reference-67prdeth.js} +5 -5
- package/dist/chunks/{worktree-b6k8njs9.js → reference-6gjn20d2.js} +11 -11
- package/dist/chunks/{worktree-ratrq7cm.js → reference-6hh8tjw2.js} +4 -4
- package/dist/chunks/{worktree-bsszwgw7.js → reference-6rbe1m5x.js} +29 -29
- package/dist/chunks/{worktree-gs51cq9s.js → reference-6vrtx8fp.js} +9 -9
- package/dist/chunks/{worktree-69yp9mph.js → reference-6wg64ttk.js} +3 -3
- package/dist/chunks/{worktree-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{worktree-rsdk20j4.js → reference-74gjv7rp.js} +47 -47
- package/dist/chunks/{worktree-775gj3j1.js → reference-775gj3j1.js} +2 -2
- package/dist/chunks/{worktree-hgwtmp3d.js → reference-78824m1b.js} +14 -14
- package/dist/chunks/{worktree-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-7yr5d591.js → reference-7der4bj9.js} +19 -19
- package/dist/chunks/{worktree-2k8khapm.js → reference-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-bk8ezkk0.js → reference-7f4pctag.js} +27 -27
- package/dist/chunks/{worktree-xjje6j52.js → reference-7kcbr8xv.js} +28 -28
- package/dist/chunks/{worktree-xh7gbsvn.js → reference-7m8vhqjz.js} +3 -3
- package/dist/chunks/{worktree-3v09aqcm.js → reference-7qen6kzn.js} +5 -5
- package/dist/chunks/{worktree-1cfb3ja4.js → reference-7xyrrtj6.js} +5 -5
- package/dist/chunks/{worktree-yqc6bamn.js → reference-7zt5x37y.js} +1 -1
- package/dist/chunks/{worktree-s2enf5ej.js → reference-80c1z9kc.js} +16 -16
- package/dist/chunks/{worktree-vwsjj8ea.js → reference-84d4sta2.js} +37 -37
- package/dist/chunks/{worktree-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{worktree-6n0c97dh.js → reference-85nhzk7w.js} +4 -4
- package/dist/chunks/{worktree-8v8p5ge9.js → reference-88bhjm42.js} +12 -12
- package/dist/chunks/{worktree-ksgsanrq.js → reference-8d801c91.js} +11 -11
- package/dist/chunks/{worktree-8m6m0r52.js → reference-8m6m0r52.js} +1 -1
- package/dist/chunks/{worktree-k61z228s.js → reference-8pedcj79.js} +19 -19
- package/dist/chunks/{worktree-j09zfasm.js → reference-91qna3x0.js} +3 -3
- package/dist/chunks/{worktree-1j6m29mr.js → reference-97aeaand.js} +9 -9
- package/dist/chunks/{worktree-gv9ar1vg.js → reference-9cjp3vjk.js} +11 -11
- package/dist/chunks/{worktree-g3gfrvz4.js → reference-9dtek7rd.js} +27 -27
- package/dist/chunks/{worktree-2t5j91cv.js → reference-9ja41e76.js} +7 -7
- package/dist/chunks/reference-9r6rs471.js +26 -0
- package/dist/chunks/{worktree-sdqwrm6h.js → reference-9v5dq8n9.js} +25 -25
- package/dist/chunks/{worktree-vp59edv1.js → reference-aad9zq7v.js} +13 -13
- package/dist/chunks/{worktree-1bfvb0c5.js → reference-agvdfdvn.js} +5 -5
- package/dist/chunks/{worktree-neqgramr.js → reference-ahz9yk24.js} +18 -18
- package/dist/chunks/{worktree-k5qw4hft.js → reference-axfvp7va.js} +5 -5
- package/dist/chunks/{worktree-ffy7j4h9.js → reference-axjfn32c.js} +27 -27
- package/dist/chunks/{worktree-716nhc93.js → reference-azemn7z6.js} +9 -9
- package/dist/chunks/{worktree-274sxbd4.js → reference-azpyr670.js} +14 -14
- package/dist/chunks/{worktree-zmr78fwr.js → reference-b674v2dg.js} +5 -5
- package/dist/chunks/{worktree-431wf54f.js → reference-bt0njgmc.js} +19 -19
- package/dist/chunks/reference-by5v678g.js +18 -0
- package/dist/chunks/{worktree-rj3eygr5.js → reference-c41wscbt.js} +2 -2
- package/dist/chunks/{worktree-09kdszyw.js → reference-c74bvw4q.js} +13 -13
- package/dist/chunks/{worktree-sa8ekw3f.js → reference-c8ax2afj.js} +2 -2
- package/dist/chunks/{worktree-xrz5dacv.js → reference-cnzx7642.js} +13 -13
- package/dist/chunks/{worktree-dn07pamb.js → reference-cqy527p5.js} +8 -8
- package/dist/chunks/{worktree-qx9v9416.js → reference-crn6sf7s.js} +13 -13
- package/dist/chunks/{worktree-20kcyg4f.js → reference-cxy0as94.js} +43 -43
- package/dist/chunks/{worktree-hde47968.js → reference-d1bka95m.js} +6 -6
- package/dist/chunks/{worktree-r70na3yp.js → reference-d7x0sh0y.js} +9 -9
- package/dist/chunks/{worktree-vm0yw9fx.js → reference-d9zmkgd4.js} +18 -18
- package/dist/chunks/{worktree-z341r0zt.js → reference-dfswxmta.js} +20 -20
- package/dist/chunks/{worktree-mpngx6ag.js → reference-djvxnjg8.js} +34 -34
- package/dist/chunks/{worktree-y71avatq.js → reference-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-smyxharx.js → reference-dq5fx745.js} +28 -28
- package/dist/chunks/{worktree-5t75nmpp.js → reference-dqdg7a0v.js} +4 -4
- package/dist/chunks/{worktree-dqxsqydv.js → reference-dqxsqydv.js} +1 -1
- package/dist/chunks/{worktree-c0gtsr28.js → reference-drqqcwyg.js} +60 -60
- package/dist/chunks/{worktree-xr554603.js → reference-drqybash.js} +4 -4
- package/dist/chunks/{worktree-qqeeq2t9.js → reference-drwq78ky.js} +7 -7
- package/dist/chunks/{worktree-fby0yz3e.js → reference-dxr3qdqn.js} +38 -38
- package/dist/chunks/{worktree-5pm97va6.js → reference-dz85ej5f.js} +14 -14
- package/dist/chunks/{worktree-k185drda.js → reference-e8vwfchq.js} +9 -9
- package/dist/chunks/{worktree-y692y4sj.js → reference-e9mw71vf.js} +10 -10
- package/dist/chunks/{worktree-rhjbct0v.js → reference-eaj1djv9.js} +8 -8
- package/dist/chunks/{worktree-t01nhfnz.js → reference-ec56ww6f.js} +27 -27
- package/dist/chunks/{worktree-r2z489rp.js → reference-ed1g29hy.js} +3 -3
- package/dist/chunks/{worktree-eej6y6fw.js → reference-eej6y6fw.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-c1fqxshp.js → reference-es1vcfrp.js} +3 -3
- package/dist/chunks/{worktree-beed7hnt.js → reference-ew5jdcsq.js} +76 -76
- package/dist/chunks/{worktree-deq11mm3.js → reference-f66eae49.js} +17 -17
- package/dist/chunks/{worktree-g2f11mr5.js → reference-f7b5ncsd.js} +21 -21
- package/dist/chunks/{worktree-j3eh7efd.js → reference-f8p265gv.js} +14 -14
- package/dist/chunks/{worktree-zev2zscf.js → reference-fqmb1432.js} +8 -8
- package/dist/chunks/{worktree-a8kyzpnb.js → reference-fvgfymht.js} +11 -11
- package/dist/chunks/{worktree-0nxfewx3.js → reference-g51r3c4s.js} +15 -15
- package/dist/chunks/{worktree-ft3hqk2c.js → reference-g6q9qykm.js} +9 -9
- package/dist/chunks/{worktree-h83xjv7f.js → reference-g6yfr6ja.js} +5 -5
- package/dist/chunks/{worktree-39ed28yb.js → reference-g7m13ce8.js} +30 -30
- package/dist/chunks/{worktree-yr3ekt3k.js → reference-g7y6ccmm.js} +16 -16
- package/dist/chunks/{worktree-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-w8zenwda.js → reference-gm24xgn7.js} +21 -21
- package/dist/chunks/{worktree-bh2h312c.js → reference-gn31e51v.js} +11 -11
- package/dist/chunks/{worktree-5qzk5w75.js → reference-gn5tm0bv.js} +7 -7
- package/dist/chunks/{worktree-x661k3y3.js → reference-gqtdsdt7.js} +4 -4
- package/dist/chunks/{worktree-h9wp8z5w.js → reference-gw7cjrad.js} +4 -4
- package/dist/chunks/{worktree-d21xt1cm.js → reference-gw8exty3.js} +12 -12
- package/dist/chunks/{worktree-7ab1jc12.js → reference-gwf8vbvc.js} +20 -20
- package/dist/chunks/{worktree-ws86dct2.js → reference-h45tnvxx.js} +76 -76
- package/dist/chunks/{worktree-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-h7s7r6s9.js → reference-h7s7r6s9.js} +2 -2
- package/dist/chunks/{worktree-kzc3h1h3.js → reference-h90v2x9d.js} +4 -4
- package/dist/chunks/{worktree-b3f8fkhc.js → reference-hdkng2sj.js} +5 -5
- package/dist/chunks/{worktree-3b80bnbc.js → reference-hfbyhya8.js} +10 -10
- package/dist/chunks/{worktree-hgz4x7wa.js → reference-hgz4x7wa.js} +1 -1
- package/dist/chunks/{worktree-znkwv8d1.js → reference-htrk4y28.js} +9 -9
- package/dist/chunks/{worktree-y1z7wqjc.js → reference-hvg0snfm.js} +18 -18
- package/dist/chunks/{worktree-qxnzw82z.js → reference-hy1n1we9.js} +46 -46
- package/dist/chunks/{worktree-njhqdk9p.js → reference-j58c5xyq.js} +9 -9
- package/dist/chunks/{worktree-3gdnc4sn.js → reference-je5d3c79.js} +15 -15
- package/dist/chunks/{worktree-dsxmv375.js → reference-jfzdx66h.js} +9 -9
- package/dist/chunks/{worktree-qyqa3c06.js → reference-jhzvven8.js} +7 -7
- package/dist/chunks/{worktree-6g107h22.js → reference-jk540des.js} +2 -2
- package/dist/chunks/{worktree-dhmh7aw6.js → reference-jvf3yq6v.js} +4 -4
- package/dist/chunks/{worktree-jfxk8smp.js → reference-jwyrdafh.js} +16 -16
- package/dist/chunks/{worktree-2t8wq7t2.js → reference-k4fxrsyq.js} +17 -17
- package/dist/chunks/{worktree-m365tgky.js → reference-kenxh6gd.js} +29 -29
- package/dist/chunks/{worktree-khmqacep.js → reference-khmqacep.js} +1 -1
- package/dist/chunks/{worktree-6mvtkawg.js → reference-kpdmttv2.js} +11 -11
- package/dist/chunks/{worktree-1qpfn3tg.js → reference-kph0xsh6.js} +20 -20
- package/dist/chunks/{worktree-p51f681n.js → reference-kprxdv5r.js} +2 -2
- package/dist/chunks/{worktree-b3c2e4qp.js → reference-krdwghjp.js} +5 -5
- package/dist/chunks/{worktree-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-maspj1v3.js → reference-maspj1v3.js} +1 -1
- package/dist/chunks/{worktree-ee7eyq7w.js → reference-mpssfq2q.js} +8 -8
- package/dist/chunks/{worktree-8f1339w9.js → reference-n0ve5gdb.js} +5 -5
- package/dist/chunks/{worktree-jt30ntq0.js → reference-n1shqbp3.js} +20 -20
- package/dist/chunks/{worktree-b9gd63k6.js → reference-n3kdjaet.js} +13 -13
- package/dist/chunks/{worktree-vfmvmnac.js → reference-n5esxn5z.js} +31 -31
- package/dist/chunks/{worktree-yc95rny5.js → reference-n5xpsxq8.js} +15 -15
- package/dist/chunks/{worktree-x5wrmng7.js → reference-n61013np.js} +11 -11
- package/dist/chunks/{worktree-0mm9aq32.js → reference-njp0gf2a.js} +17 -17
- package/dist/chunks/{worktree-aeef67my.js → reference-nkqw9m3h.js} +25 -25
- package/dist/chunks/{worktree-x2cz5peg.js → reference-nm3w2d7y.js} +19 -19
- package/dist/chunks/{worktree-667j1n9q.js → reference-nsxf7brj.js} +45 -45
- package/dist/chunks/{worktree-3nnccxaq.js → reference-nywhfaw1.js} +9 -9
- package/dist/chunks/{worktree-ybv9y61q.js → reference-p37hdxy1.js} +46 -46
- package/dist/chunks/{worktree-9hn6k4tm.js → reference-p42hj8p8.js} +8 -8
- package/dist/chunks/{worktree-fj921hw4.js → reference-p474d7yp.js} +22 -22
- package/dist/chunks/{worktree-0296bd6c.js → reference-p70m11t7.js} +11 -11
- package/dist/chunks/{worktree-14z0575r.js → reference-pjm3t1ca.js} +15 -15
- package/dist/chunks/{worktree-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-bevb4k0a.js → reference-pr1m8j7y.js} +8 -8
- package/dist/chunks/{worktree-kqx1b4hy.js → reference-pyg4v0b6.js} +4 -4
- package/dist/chunks/{worktree-0j77ygfz.js → reference-q0xm7vwc.js} +6 -6
- package/dist/chunks/{worktree-v08nt5ja.js → reference-q1m8dxm9.js} +20 -20
- package/dist/chunks/{worktree-0jp2gd70.js → reference-q2kevabj.js} +4 -4
- package/dist/chunks/{worktree-9jkjpzrk.js → reference-q53541n0.js} +32 -32
- package/dist/chunks/{worktree-4sh0xj3w.js → reference-q5423ys8.js} +31 -31
- package/dist/chunks/{worktree-nrv3sj1v.js → reference-q5ewyrx0.js} +32 -32
- package/dist/chunks/{worktree-52zw37wk.js → reference-qdtbhe1n.js} +5 -5
- package/dist/chunks/{worktree-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{worktree-g71v19aa.js → reference-qs0nx109.js} +24 -24
- package/dist/chunks/{worktree-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-ptx3q924.js → reference-qtq7qc2w.js} +13 -13
- package/dist/chunks/{worktree-0sjgtn60.js → reference-qxzvmfjp.js} +4 -4
- package/dist/chunks/{worktree-kt3sjp1b.js → reference-r83ag541.js} +14 -8
- package/dist/chunks/{worktree-0hpfwc9a.js → reference-r8f59mgg.js} +24 -24
- package/dist/chunks/{worktree-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-7fkffz83.js → reference-rkprpv83.js} +4 -4
- package/dist/chunks/{worktree-m6pmp8dy.js → reference-rpz1svrt.js} +1 -1
- package/dist/chunks/{worktree-xjsyyfzz.js → reference-rqf4m8aw.js} +25 -25
- package/dist/chunks/{worktree-8qc83v7e.js → reference-rqraeqvr.js} +4 -4
- package/dist/chunks/{worktree-j8kg77fh.js → reference-rsz0h36s.js} +29 -29
- package/dist/chunks/{worktree-kh8z24c7.js → reference-rtdaykpn.js} +20 -20
- package/dist/chunks/{worktree-t6hfbk19.js → reference-rtg68wpk.js} +23 -23
- package/dist/chunks/{worktree-p5vn9pc0.js → reference-rx2dg2kh.js} +45 -45
- package/dist/chunks/{worktree-pcb6a8b5.js → reference-rxbse8cr.js} +22 -22
- package/dist/chunks/{worktree-1cnr1ze3.js → reference-rygkxn9n.js} +45 -45
- package/dist/chunks/{worktree-2fzw7nf3.js → reference-s0kdr57z.js} +14 -14
- package/dist/chunks/{worktree-95xk19wm.js → reference-s5yya818.js} +32 -32
- package/dist/chunks/{worktree-pg7j9xfd.js → reference-s6vxrzhc.js} +5 -5
- package/dist/chunks/{worktree-vz11k4k8.js → reference-sa7t01dg.js} +91 -91
- package/dist/chunks/reference-sm5yn6ps.js +253 -0
- package/dist/chunks/{worktree-08rawchj.js → reference-ss358qx3.js} +3 -3
- package/dist/chunks/{worktree-m5f219rb.js → reference-sy99d12a.js} +18 -18
- package/dist/chunks/{worktree-syv4x271.js → reference-syv4x271.js} +1 -1
- package/dist/chunks/{worktree-wmdkv8mg.js → reference-t4p70czd.js} +11 -11
- package/dist/chunks/{worktree-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-89znhe33.js → reference-tcezcvh9.js} +4 -4
- package/dist/chunks/{worktree-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-rert0e01.js → reference-tkb22qbm.js} +2 -2
- package/dist/chunks/{worktree-tm0kqsz3.js → reference-tm0kqsz3.js} +1 -1
- package/dist/chunks/{worktree-tyytaxap.js → reference-tyytaxap.js} +1 -1
- package/dist/chunks/{worktree-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
- package/dist/chunks/{worktree-v7p4zvkq.js → reference-v7p4zvkq.js} +2 -2
- package/dist/chunks/{worktree-g6kap4fx.js → reference-vacxjxj3.js} +6 -6
- package/dist/chunks/{worktree-qryth85y.js → reference-vbm38ps9.js} +5 -5
- package/dist/chunks/{worktree-7jfpk3vs.js → reference-vcp5fwvv.js} +22 -22
- package/dist/chunks/{worktree-mf27tnfq.js → reference-vd7cyv2z.js} +29 -29
- package/dist/chunks/{worktree-wkcmpner.js → reference-ve45bn9x.js} +6 -6
- package/dist/chunks/{worktree-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-3y3fsy4j.js → reference-vm7c5k2y.js} +3 -3
- package/dist/chunks/{worktree-0fr5sr31.js → reference-vt08q70p.js} +15 -15
- package/dist/chunks/{worktree-y7vpfhcb.js → reference-vvtb55nw.js} +172 -172
- package/dist/chunks/{worktree-c8dwdg4v.js → reference-vz1ztd4p.js} +25 -25
- package/dist/chunks/{worktree-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-gyf50hgr.js → reference-w15h4m28.js} +15 -15
- package/dist/chunks/{worktree-k6nq8rg4.js → reference-w1s7mmem.js} +24 -24
- package/dist/chunks/{worktree-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-sh5ssvt8.js → reference-w4wr1etb.js} +14 -14
- package/dist/chunks/{worktree-pgp1nwjn.js → reference-wa9g86nq.js} +4 -4
- package/dist/chunks/{worktree-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-nkzytket.js → reference-whrbz81v.js} +30 -30
- package/dist/chunks/{worktree-1ffvrpkg.js → reference-wjr9rjd7.js} +9 -9
- package/dist/chunks/{worktree-7ttgb0nd.js → reference-wkqr0wp4.js} +50 -50
- package/dist/chunks/{worktree-sq3q4x2m.js → reference-wqvnp2kw.js} +4 -4
- package/dist/chunks/{worktree-e9s73vyg.js → reference-wwh6ay7x.js} +22 -22
- package/dist/chunks/{worktree-95sqqx4e.js → reference-wx7k6370.js} +21 -21
- package/dist/chunks/{worktree-grz2r9kj.js → reference-x7qcbpvq.js} +34 -34
- package/dist/chunks/{worktree-0xezf9n7.js → reference-x8h454cx.js} +25 -25
- package/dist/chunks/{worktree-ttng27y8.js → reference-xwxft369.js} +1 -1
- package/dist/chunks/{worktree-59phwr7n.js → reference-xx6qpep6.js} +33 -33
- package/dist/chunks/{worktree-c7a7nq54.js → reference-y179arr5.js} +29 -29
- package/dist/chunks/{worktree-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-bgtxx6qd.js → reference-y41eqcyh.js} +32 -32
- package/dist/chunks/{worktree-tafr0n6k.js → reference-y456k0gx.js} +21 -21
- package/dist/chunks/{worktree-y4jcqa2s.js → reference-y4ny2pth.js} +19 -19
- package/dist/chunks/{worktree-eeaf82dq.js → reference-y72zmemf.js} +8 -8
- package/dist/chunks/{worktree-8zg9y4xf.js → reference-yak3hf0z.js} +55 -55
- package/dist/chunks/{worktree-h9yqbyhm.js → reference-ym1z1sce.js} +3 -3
- package/dist/chunks/{worktree-rgpeez64.js → reference-ys0m66b2.js} +23 -23
- package/dist/chunks/{worktree-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-y0qqvbvy.js → reference-z4h9wx76.js} +39 -39
- package/dist/chunks/{worktree-35c3zvez.js → reference-zgkz7fqw.js} +20 -20
- package/dist/chunks/{worktree-zjtrsxny.js → reference-zjtrsxny.js} +2 -2
- package/dist/chunks/{worktree-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-gt06s37z.js → reference-zt9b6e62.js} +17 -17
- package/dist/chunks/{worktree-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-6gp0zckj.js → reference-zy8qbqak.js} +14 -14
- package/dist/chunks/{worktree-x2dmkytt.js → reference-zzdwtnvj.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/worktree-2jnbd3f3.js +0 -253
- package/dist/chunks/worktree-qjepztct.js +0 -26
- package/dist/chunks/worktree-v1faaxn9.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → reference-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{worktree-pyv0edze.js → reference-pyv0edze.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./reference-3q9g49xq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-3q9g49xq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Event17,
|
|
7
7
|
Service74,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node78
|
|
9
|
+
} from "./reference-q5423ys8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service55,
|
|
12
|
+
node57
|
|
13
|
+
} from "./reference-2k20t02z.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-2sc3sc4p.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-jk540des.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-hvg0snfm.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-2e24zj1v.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./reference-dqxsqydv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service56,
|
|
37
|
+
Event10,
|
|
38
|
+
node58
|
|
39
|
+
} from "./reference-rtg68wpk.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./reference-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
48
|
Options: () => Options7,
|
|
49
|
-
Service: () =>
|
|
49
|
+
Service: () => Service54,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured7,
|
|
52
52
|
latest: () => latest2,
|
|
53
53
|
layer: () => layer22,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -76,7 +76,7 @@ var Options7 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service54 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service54, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var layer22 = (options) => Layer.effect(
|
|
99
|
+
var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
101
|
const location = yield* Service81;
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
102
|
+
const watcher = yield* Service55;
|
|
103
|
+
const bus = yield* Service83;
|
|
104
104
|
const credentials = yield* Service74;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service56;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -186,7 +186,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
188
188
|
return [
|
|
189
|
-
...yield* Effect.forEach(
|
|
189
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
190
190
|
new Directory({ type: "directory", path: directory })
|
|
191
191
|
];
|
|
192
192
|
});
|
|
@@ -254,8 +254,8 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
268
268
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
269
269
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
270
270
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
271
|
-
const candidates =
|
|
271
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
272
272
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
273
273
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
274
274
|
`;
|
|
@@ -283,7 +283,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service54.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured7(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
300
|
+
service: Service54,
|
|
301
301
|
layer: layer22(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node57,
|
|
304
|
+
node87,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
307
|
node85,
|
|
308
|
-
|
|
309
|
-
|
|
308
|
+
node78,
|
|
309
|
+
node58,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node56 = configured7();
|
|
315
315
|
|
|
316
|
-
export { latest2, Options7,
|
|
316
|
+
export { latest2, Options7, Service54, Test2, testLayer2, layer22, configured7, node56, exports_config };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./reference-676ffxyw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./reference-cxy0as94.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service71;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service54);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service7.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node9, exports_discovery };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./reference-3q9g49xq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
ID11,
|
|
6
|
+
Event17,
|
|
7
7
|
Service74
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-q5423ys8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID8
|
|
11
|
+
} from "./reference-676ffxyw.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-d1bka95m.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
44
|
const credentials = yield* Service74;
|
|
45
|
-
const bus = yield*
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID8.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID8.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID8.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID8.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID8.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./reference-t4p70czd.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-tkb22qbm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service77,
|
|
21
|
+
node: () => node81
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service77 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service77.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info23, ListInput4, AddInput2, Service77, node81, exports_saved };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85
|
|
3
|
-
} from "./worktree-wmdkv8mg.js";
|
|
4
1
|
import {
|
|
5
2
|
Service84
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./reference-t4p70czd.js";
|
|
4
|
+
import {
|
|
5
|
+
Service83
|
|
6
|
+
} from "./reference-3q9g49xq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./reference-51f5btjf.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-e8vwfchq.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service78
|
|
29
|
+
} from "./reference-bt0njgmc.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service43
|
|
34
|
+
} from "./reference-nkqw9m3h.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service41
|
|
37
|
+
} from "./reference-z4h9wx76.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./reference-jwyrdafh.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./reference-9v5dq8n9.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./reference-htrk4y28.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./reference-nywhfaw1.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./reference-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
66
|
+
const bus = yield* Service83;
|
|
67
|
+
const database = yield* Service84;
|
|
68
|
+
const store = yield* Service78;
|
|
69
|
+
const instances = yield* Service44;
|
|
70
|
+
const execution = yield* Service41;
|
|
71
|
+
const admission = yield* Service43;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError10({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service44, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service44, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service44, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|