@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID9,
|
|
3
|
+
Service72,
|
|
4
4
|
node76
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-rsz0h36s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
18
|
+
Service71,
|
|
19
19
|
node75
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-676ffxyw.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
Service69,
|
|
23
23
|
node73
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-e9mw71vf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID7,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
29
|
+
Service70,
|
|
30
30
|
node74,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./reference-kenxh6gd.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./reference-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,14 +41,14 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service68,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
51
|
+
layer: () => layer26,
|
|
52
52
|
node: () => node72,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID8,
|
|
63
|
+
modelID: ID7,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID8,
|
|
73
|
+
modelID: ID7,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID8,
|
|
84
|
+
modelID: ID7,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID8,
|
|
95
|
+
modelID: ID7,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID8,
|
|
107
|
+
modelID: ID7,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID8,
|
|
117
|
+
modelID: ID7,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service68 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
236
|
return tokenSettings(specifier, credential.access);
|
|
237
237
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
238
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
239
|
+
if (model.providerID === ID8.azure)
|
|
240
240
|
return tokenSettings(specifier, "azure-cli");
|
|
241
241
|
return {};
|
|
242
242
|
};
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer26 = Layer.effect(Service68, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service71;
|
|
276
|
+
const models = yield* Service70;
|
|
277
|
+
const integrations = yield* Service72;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service69;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer25 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service68.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -324,9 +324,9 @@ function usesAPIKeyAuth(packageName) {
|
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
326
|
var node72 = makeLocationNode({
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
327
|
+
service: Service68,
|
|
328
|
+
layer: layer26,
|
|
329
329
|
deps: [node75, node74, node76, Npm.node, node73]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service68, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node72, exports_model_resolver };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-ss358qx3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./reference-3q9g49xq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./reference-cnzx7642.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service34,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-by5v678g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-vvtb55nw.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node26
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service64;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service34.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node26 = Node.makeLocationNode({
|
|
226
|
+
service: Service34,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node26, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./reference-hy1n1we9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./reference-drqqcwyg.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin45
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin45 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service36;
|
|
26
|
+
const permission = yield* Service76;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin11 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin45, exports_mcp_resource };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-3q9g49xq.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-gqtdsdt7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ID9,
|
|
14
|
+
Service72,
|
|
15
15
|
node76,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event15
|
|
17
|
+
} from "./reference-rsz0h36s.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-2sc3sc4p.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event14,
|
|
43
|
+
ID: () => ID8,
|
|
44
|
+
Info: () => Info17,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
|
-
Request: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Request: () => Request2,
|
|
48
|
+
Service: () => Service71,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
75
|
+
var ID8 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
279
279
|
return result;
|
|
280
280
|
}, new Map).values());
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Request2 = Provider.Request;
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info17 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service71 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,9 +298,9 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
301
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service83;
|
|
303
|
+
const integrations = yield* Service72;
|
|
304
304
|
const location = yield* Service81;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info17.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service71.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var node75 = makeLocationNode({ service:
|
|
432
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [node87, node76, node85] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service71, node75, exports_provider3, Event14 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-xwxft369.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-vacxjxj3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./reference-2k20t02z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./reference-cxy0as94.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-5ttccjpc.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin8
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin8 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service55;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin8, exports_compatibility };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_command5 };
|