@opencode/core 0.0.0-dev-21430 → 0.0.0-dev-21441
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-034tev2y.js → model-034tev2y.js} +2 -2
- package/dist/chunks/{location-mjjmqb1d.js → model-08jnn3k2.js} +33 -33
- package/dist/chunks/{location-a1cwsqdb.js → model-0dhmp2yd.js} +35 -35
- package/dist/chunks/{location-b28fxhss.js → model-0dkhwkzm.js} +13 -13
- package/dist/chunks/{location-gg795btt.js → model-0kpm6ny7.js} +24 -24
- package/dist/chunks/{location-9ceytgjn.js → model-0ry3h72d.js} +32 -32
- package/dist/chunks/{location-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-07wcwaet.js → model-0xpx2h3j.js} +8 -8
- package/dist/chunks/{location-338tmc2w.js → model-15kwxkkw.js} +34 -34
- package/dist/chunks/{location-1ep2p91f.js → model-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-n2r55xd1.js → model-1nxqr4r9.js} +45 -45
- package/dist/chunks/{location-kjdm35cs.js → model-1pxz8ven.js} +5 -5
- package/dist/chunks/{location-gg5w8wvf.js → model-1w8evpxr.js} +10 -10
- package/dist/chunks/model-1x11rq2a.js +18 -0
- package/dist/chunks/{location-y49bgj8b.js → model-1xasrt0z.js} +22 -22
- package/dist/chunks/{location-fmvmqg86.js → model-1xc2j506.js} +29 -29
- package/dist/chunks/{location-dys7k0s0.js → model-2395y7e1.js} +8 -8
- package/dist/chunks/{location-nry4qgac.js → model-27b5n917.js} +5 -5
- package/dist/chunks/{location-rdmm8wx1.js → model-2akrk0qn.js} +3 -3
- package/dist/chunks/{location-0qe50jst.js → model-2amemk0s.js} +13 -13
- package/dist/chunks/{location-fwy8kg2k.js → model-2dk47r97.js} +13 -13
- package/dist/chunks/{location-aecj3y8p.js → model-2n2s27fs.js} +21 -21
- package/dist/chunks/{location-83xz3hbj.js → model-2vtc1qv7.js} +33 -33
- package/dist/chunks/{location-hyvp8sn8.js → model-2y6xfkhh.js} +1 -1
- package/dist/chunks/{location-a2wnnmtd.js → model-2z6g8rew.js} +4 -4
- package/dist/chunks/{location-p2d2ky5d.js → model-30xa8m6v.js} +1 -1
- package/dist/chunks/model-33hq420q.js +257 -0
- package/dist/chunks/{location-zec5t9m9.js → model-34596wkg.js} +4 -4
- package/dist/chunks/{location-n5q7pmwt.js → model-3c7a270v.js} +326 -326
- package/dist/chunks/{location-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-5csbs030.js → model-3m9ff5cy.js} +14 -14
- package/dist/chunks/model-3tt614cf.js +26 -0
- package/dist/chunks/{location-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-w9vf9qqj.js → model-3z0hjn58.js} +9 -9
- package/dist/chunks/{location-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-ncmgswqr.js → model-4qx9rxvs.js} +11 -11
- package/dist/chunks/{location-trya7axm.js → model-4rqs6yce.js} +8 -8
- package/dist/chunks/{location-hfhp5k6j.js → model-4tv8d2yj.js} +3 -3
- package/dist/chunks/{location-8zbn9c46.js → model-4w56xpem.js} +2 -2
- package/dist/chunks/{location-d1ftyfm1.js → model-4zjt8g5w.js} +27 -27
- package/dist/chunks/{location-vdnac628.js → model-53b0axgb.js} +21 -21
- package/dist/chunks/{location-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{location-stn64ya2.js → model-54x82z2x.js} +15 -15
- package/dist/chunks/{location-d99zq9a9.js → model-5a9tc6z0.js} +24 -24
- package/dist/chunks/{location-wxy29yzb.js → model-5b8v8zrf.js} +11 -11
- package/dist/chunks/{location-xc0mr4yb.js → model-5ja1d4ns.js} +7 -7
- package/dist/chunks/{location-mmyy2hne.js → model-5kyqk3pq.js} +14 -14
- package/dist/chunks/{location-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-jzxww0nw.js → model-5vj573xy.js} +15 -15
- package/dist/chunks/{location-rqxnffma.js → model-5w4y226k.js} +11 -11
- package/dist/chunks/{location-6827pfxn.js → model-6827pfxn.js} +1 -1
- package/dist/chunks/{location-9bh5q6pj.js → model-6ac9zck1.js} +2 -2
- package/dist/chunks/{location-3r2m892a.js → model-6bsfpg63.js} +34 -34
- package/dist/chunks/{location-516j2px1.js → model-6f4br6b4.js} +15 -15
- package/dist/chunks/{location-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-qhft0c11.js → model-6ytk35w5.js} +8 -8
- package/dist/chunks/{location-21b844t5.js → model-7428ym6e.js} +34 -34
- package/dist/chunks/{location-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{location-xmrc0ft6.js → model-77yby8k2.js} +13 -13
- package/dist/chunks/{location-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-m64xvjj1.js → model-7d2a7xbs.js} +5 -5
- package/dist/chunks/{location-j5yzhdah.js → model-7emsy3e5.js} +11 -11
- package/dist/chunks/{location-mzkqbs9t.js → model-7fhvptcd.js} +10 -10
- package/dist/chunks/{location-sm4k3a60.js → model-7rsrdkkd.js} +5 -5
- package/dist/chunks/{location-3y1df9hb.js → model-81e2q9d2.js} +6 -6
- package/dist/chunks/{location-5663gavc.js → model-85wqss2v.js} +23 -23
- package/dist/chunks/{location-68d09h7d.js → model-86adn4hf.js} +19 -19
- package/dist/chunks/{location-bfk5x8m4.js → model-87d4rxkd.js} +25 -25
- package/dist/chunks/{location-98hve3fq.js → model-89bp7pxy.js} +37 -37
- package/dist/chunks/{location-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{location-r771kefb.js → model-8f2rgp07.js} +11 -11
- package/dist/chunks/{location-74mnjb9k.js → model-8f3yd2r3.js} +16 -16
- package/dist/chunks/{location-snt75n4w.js → model-8faye2d5.js} +3 -3
- package/dist/chunks/{location-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-8mywswrd.js → model-8mywswrd.js} +1 -1
- package/dist/chunks/{location-n63hq1yp.js → model-8ppdvrmr.js} +32 -32
- package/dist/chunks/{location-dbapnq8x.js → model-8xb7wkp5.js} +5 -5
- package/dist/chunks/{location-0f97zcpq.js → model-8xxqt97s.js} +12 -12
- package/dist/chunks/{location-k0ze7r27.js → model-8yj6gt86.js} +19 -19
- package/dist/chunks/{location-w375ekyd.js → model-90vjyywb.js} +19 -19
- package/dist/chunks/{location-9hn6k4tm.js → model-9hn6k4tm.js} +1 -1
- package/dist/chunks/{location-zajs041s.js → model-9s88q58m.js} +32 -32
- package/dist/chunks/{location-9wev2pgg.js → model-9wev2pgg.js} +1 -1
- package/dist/chunks/{location-9jfsax2t.js → model-9zh18pxw.js} +12 -12
- package/dist/chunks/{location-7v6vae4w.js → model-a20pjse5.js} +3 -3
- package/dist/chunks/{location-2tbztjht.js → model-a3azppd8.js} +25 -25
- package/dist/chunks/{location-jpb42pwq.js → model-am1tmpj5.js} +10 -10
- package/dist/chunks/{location-k0wzqvjk.js → model-avhh8dq0.js} +48 -48
- package/dist/chunks/{location-am1vdybj.js → model-avvce0kw.js} +4 -4
- package/dist/chunks/{location-y05taef3.js → model-awq6q12e.js} +14 -14
- package/dist/chunks/{location-f32pwxtn.js → model-ay72y2y9.js} +11 -11
- package/dist/chunks/{location-addxnjmp.js → model-azwe5p1w.js} +4 -4
- package/dist/chunks/{location-76rvckpe.js → model-b4nzaj04.js} +5 -5
- package/dist/chunks/{location-4qxrp1dj.js → model-b58xtxx6.js} +36 -36
- package/dist/chunks/{location-qacj84y4.js → model-b66sbxdz.js} +32 -32
- package/dist/chunks/{location-9zsn4ryv.js → model-b8gd3dkx.js} +11 -11
- package/dist/chunks/{location-bjx1sjef.js → model-bjx1sjef.js} +2 -2
- package/dist/chunks/{location-waskdk5r.js → model-bmr56wjg.js} +4 -4
- package/dist/chunks/{location-1g1nqesa.js → model-bpxfg8jv.js} +22 -22
- package/dist/chunks/{location-nc7xb224.js → model-br1q80at.js} +51 -51
- package/dist/chunks/{location-tgvsetpk.js → model-brrmpkdk.js} +13 -13
- package/dist/chunks/{location-b674v2dg.js → model-bx0gyb4h.js} +5 -5
- package/dist/chunks/{location-bzeyqsqd.js → model-bzeyqsqd.js} +1 -1
- package/dist/chunks/{location-t2xhzx1r.js → model-c3rxg466.js} +36 -36
- package/dist/chunks/{location-s041gtt0.js → model-c5kkdnkt.js} +21 -21
- package/dist/chunks/{location-ysdyyay3.js → model-c6tn7fe1.js} +24 -24
- package/dist/chunks/{location-dhmh7aw6.js → model-ca7w653e.js} +4 -4
- package/dist/chunks/{location-28zjsd3e.js → model-cgbdwjd7.js} +11 -11
- package/dist/chunks/{location-txx63mhx.js → model-cxnntska.js} +89 -89
- package/dist/chunks/{location-wbq5q4f0.js → model-d2e8srxd.js} +20 -20
- package/dist/chunks/{location-v2f1b6th.js → model-d8wdsj84.js} +5 -5
- package/dist/chunks/{location-e357gpbq.js → model-dbqzdb30.js} +9 -9
- package/dist/chunks/{location-dgzq35zb.js → model-dgzq35zb.js} +3 -3
- package/dist/chunks/{location-vmt5mznf.js → model-dp7s877j.js} +6 -6
- package/dist/chunks/{location-77y8wgeh.js → model-dq6h6djq.js} +3 -3
- package/dist/chunks/{location-57b9ws8p.js → model-drwq78ky.js} +5 -5
- package/dist/chunks/{location-ysjtvpas.js → model-dsbszv0b.js} +5 -5
- package/dist/chunks/{location-gafzn91c.js → model-dwapqv7g.js} +30 -30
- package/dist/chunks/{location-tyk0w0pd.js → model-e23enc76.js} +15 -15
- package/dist/chunks/{location-1x8ctv13.js → model-e4w4kj9m.js} +5 -5
- package/dist/chunks/{location-e80seqcp.js → model-e80seqcp.js} +1 -1
- package/dist/chunks/{location-qg3jze5q.js → model-e9fdq14h.js} +11 -11
- package/dist/chunks/{location-ph842b28.js → model-eahhehpg.js} +4 -4
- package/dist/chunks/{location-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-8w3e00az.js → model-ev10eca8.js} +43 -43
- package/dist/chunks/{location-asa024m6.js → model-exttmg6k.js} +52 -52
- package/dist/chunks/{location-sf4c3jp0.js → model-f4bf12x2.js} +37 -37
- package/dist/chunks/{location-gg3qganw.js → model-f68rgk4v.js} +8 -8
- package/dist/chunks/{location-yvy8rc3z.js → model-f8ak2qw6.js} +18 -18
- package/dist/chunks/{location-h1s5a7fb.js → model-fa88cff1.js} +44 -44
- package/dist/chunks/{location-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{location-r9w3djhf.js → model-fdms3n6w.js} +9 -9
- package/dist/chunks/{location-3adnxn06.js → model-fh73kyk7.js} +4 -4
- package/dist/chunks/{location-ctz7jbry.js → model-fqhbsnr5.js} +8 -8
- package/dist/chunks/{location-demjctvx.js → model-ftyq7w3n.js} +26 -26
- package/dist/chunks/{location-2excde36.js → model-gctjtgeh.js} +27 -27
- package/dist/chunks/{location-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-313pbxt2.js → model-gqpz6z8g.js} +23 -23
- package/dist/chunks/{location-e9vjet1j.js → model-gscfk59s.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-cpq8ekdt.js → model-h9snv32e.js} +23 -23
- package/dist/chunks/{location-fn9t717r.js → model-hbb7npd7.js} +3 -3
- package/dist/chunks/{location-dmw8mvpz.js → model-hcmqm60a.js} +34 -34
- package/dist/chunks/{location-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-c3dg826k.js → model-hwdjztbp.js} +23 -23
- package/dist/chunks/{location-tcay1cqt.js → model-j5w2yx54.js} +6 -6
- package/dist/chunks/{location-fd08frkx.js → model-jcdh4pz8.js} +2 -2
- package/dist/chunks/{location-yetj4y2f.js → model-jew53rqn.js} +192 -192
- package/dist/chunks/{location-0ferak4p.js → model-jgm9yn5c.js} +20 -20
- package/dist/chunks/{location-4pdt9v4n.js → model-jn9d9ctp.js} +9 -9
- package/dist/chunks/{location-020242mm.js → model-jy4cskw3.js} +15 -15
- package/dist/chunks/{location-wvzvsjpz.js → model-k4rzk3de.js} +23 -23
- package/dist/chunks/{location-62v5rbec.js → model-k5rzg22z.js} +13 -13
- package/dist/chunks/{location-b04q5t5m.js → model-khvb0rwv.js} +30 -30
- package/dist/chunks/{location-zgkfskaa.js → model-kknjmmkb.js} +53 -53
- package/dist/chunks/{location-e3x0acme.js → model-ktx3g641.js} +25 -25
- package/dist/chunks/{location-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-vzcdy7t2.js → model-kzfz4mgv.js} +6 -6
- package/dist/chunks/{location-garxcygd.js → model-kzr27bp7.js} +31 -31
- package/dist/chunks/{location-m97symvc.js → model-m256j290.js} +39 -39
- package/dist/chunks/{location-8h9rdd29.js → model-m2t04kmm.js} +58 -58
- package/dist/chunks/{location-fr4cd36j.js → model-m39x472g.js} +12 -12
- package/dist/chunks/{location-axe3mf62.js → model-m5jcjszt.js} +3 -3
- package/dist/chunks/{location-6k57be7g.js → model-m5qzm2bd.js} +30 -30
- package/dist/chunks/{location-xc1ymh3x.js → model-m8v7608e.js} +6 -6
- package/dist/chunks/{location-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{location-d63h9wdy.js → model-mwbfd4d0.js} +25 -25
- package/dist/chunks/{location-hsr8yxc9.js → model-mwez8230.js} +23 -23
- package/dist/chunks/{location-m15ha2ry.js → model-n16tn8ct.js} +6 -6
- package/dist/chunks/{location-6hq2s9rg.js → model-n1vev70q.js} +40 -40
- package/dist/chunks/{location-7sn7bbtk.js → model-n58kta93.js} +8 -8
- package/dist/chunks/{location-z6z736zf.js → model-n9xrk5dn.js} +25 -25
- package/dist/chunks/{location-vt1s2zds.js → model-nckr5t4x.js} +4 -4
- package/dist/chunks/{location-fqtvmpfq.js → model-ngts6ef0.js} +8 -8
- package/dist/chunks/{location-vwsfg3fg.js → model-nhf8j9q0.js} +12 -12
- package/dist/chunks/{location-ek46kvq2.js → model-njf7xda2.js} +8 -8
- package/dist/chunks/{location-fxaymqdw.js → model-ny8edt06.js} +4 -4
- package/dist/chunks/{location-4sem758r.js → model-nyz2bd3h.js} +10 -10
- package/dist/chunks/{location-nz56sr1f.js → model-nz56sr1f.js} +2 -2
- package/dist/chunks/{location-v4r857ee.js → model-p6mr1rmw.js} +33 -33
- package/dist/chunks/{location-8ft9mnds.js → model-p7rtpkhv.js} +26 -26
- package/dist/chunks/{location-3v68m8yr.js → model-pew5zx78.js} +5 -5
- package/dist/chunks/{location-bzgnhg0n.js → model-phs6h013.js} +31 -31
- package/dist/chunks/{location-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{location-v97gy4rz.js → model-pr0snp0j.js} +14 -14
- package/dist/chunks/{location-2pz8qhez.js → model-pw60dnzh.js} +9 -9
- package/dist/chunks/{location-j973zg4r.js → model-pw8bav78.js} +8 -8
- package/dist/chunks/{location-jhn3db5w.js → model-pwfw76w7.js} +11 -11
- package/dist/chunks/{location-dkrr3wvc.js → model-py3gqn7c.js} +16 -16
- package/dist/chunks/{location-0spnvnyv.js → model-q0qyqwgx.js} +22 -22
- package/dist/chunks/{location-338tp1sw.js → model-q6ad194x.js} +17 -17
- package/dist/chunks/{location-ets9hpqy.js → model-qb0nxf2n.js} +18 -18
- package/dist/chunks/{location-fcrkznn8.js → model-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-n7dc1ar6.js → model-qkxbdw2e.js} +43 -43
- package/dist/chunks/{location-1wyvxh86.js → model-qn4zc13r.js} +9 -9
- package/dist/chunks/{location-jdsf1v6s.js → model-qrp2wwz7.js} +28 -28
- package/dist/chunks/{location-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{location-e3naqsya.js → model-qx1ath16.js} +11 -11
- package/dist/chunks/{location-c765mh8b.js → model-r2m716tb.js} +5 -5
- package/dist/chunks/{location-gnx3cc6w.js → model-r7nsrefv.js} +8 -8
- package/dist/chunks/{location-phz50fbd.js → model-ra67jj04.js} +9 -9
- package/dist/chunks/{location-dgsn3vfw.js → model-rcepm1f5.js} +24 -24
- package/dist/chunks/{location-g4fwqmp5.js → model-rdkdw8j4.js} +16 -16
- package/dist/chunks/{location-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-bzb0xpje.js → model-rgdzsb23.js} +26 -26
- package/dist/chunks/{location-w92k2e0p.js → model-rkprpv83.js} +8 -8
- package/dist/chunks/{location-pr35srdg.js → model-rnn7w1p4.js} +11 -11
- package/dist/chunks/{location-kypjhz4q.js → model-rrb7xk1e.js} +11 -11
- package/dist/chunks/{location-fp99e1xt.js → model-s1qgsmy4.js} +22 -22
- package/dist/chunks/{location-9t8hw933.js → model-skg07gn4.js} +18 -18
- package/dist/chunks/{location-jm6wfgtn.js → model-spzr18gk.js} +10 -10
- package/dist/chunks/{location-6fbgyqx2.js → model-svdetgap.js} +29 -29
- package/dist/chunks/{location-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{location-mnc26hcw.js → model-t2vetksk.js} +7 -7
- package/dist/chunks/{location-s8d7rejh.js → model-t550f9t1.js} +4 -4
- package/dist/chunks/{location-ryr25ayn.js → model-t6vsspdg.js} +7 -7
- package/dist/chunks/{location-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-22zynyp8.js → model-tbrkfg2j.js} +35 -35
- package/dist/chunks/{location-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{location-ac8jf0gv.js → model-te2qnrax.js} +27 -27
- package/dist/chunks/{location-tnv0fyap.js → model-te35nyvt.js} +21 -21
- package/dist/chunks/{location-bvjxnz85.js → model-tevdrw4n.js} +12 -12
- package/dist/chunks/{location-jgwkv6jn.js → model-tg52m06j.js} +4 -4
- package/dist/chunks/{location-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-ar4nzpwm.js → model-tsspjr8t.js} +15 -15
- package/dist/chunks/{location-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{location-38vrzhk4.js → model-tz64kvcc.js} +15 -15
- package/dist/chunks/{location-ya11n351.js → model-tzbng3th.js} +12 -12
- package/dist/chunks/{location-v210v162.js → model-v210v162.js} +2 -2
- package/dist/chunks/{location-yh8p5p3y.js → model-v2naxce5.js} +17 -17
- package/dist/chunks/{location-hyarejjy.js → model-v37eec1m.js} +11 -11
- package/dist/chunks/{location-f5gknkdx.js → model-v7jr1a0f.js} +15 -15
- package/dist/chunks/{location-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-h9pnpq88.js → model-v7z2bvyd.js} +4 -4
- package/dist/chunks/{location-5g57z1ma.js → model-vep9yay1.js} +4 -4
- package/dist/chunks/{location-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{location-tw7m84f2.js → model-w234dzpk.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-x1n877dv.js → model-w77emq9p.js} +18 -18
- package/dist/chunks/{location-8n6gk45f.js → model-w8tsas1h.js} +8 -8
- package/dist/chunks/{location-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{location-dsyqdg7y.js → model-wmsy6ejg.js} +43 -43
- package/dist/chunks/{location-nymjqhfd.js → model-wsw3qazc.js} +19 -19
- package/dist/chunks/{location-m7kdtezn.js → model-wt7gg852.js} +13 -13
- package/dist/chunks/{location-9p7ryr2b.js → model-x9d5zs2r.js} +7 -7
- package/dist/chunks/{location-zp589yax.js → model-xe4x800z.js} +12 -12
- package/dist/chunks/{location-bhva45zq.js → model-xftgp53z.js} +12 -12
- package/dist/chunks/{location-829bc28g.js → model-xqpjqq35.js} +17 -17
- package/dist/chunks/{location-h01qn727.js → model-xqwg9xjb.js} +18 -18
- package/dist/chunks/{location-xw9fg8fb.js → model-xw9fg8fb.js} +2 -2
- package/dist/chunks/{location-vgqhef6t.js → model-xx1330xd.js} +50 -50
- package/dist/chunks/{location-t4dwgtwr.js → model-xx3qrjat.js} +11 -11
- package/dist/chunks/{location-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-dpkg50ah.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{location-fn7yw61f.js → model-y72932aq.js} +15 -15
- package/dist/chunks/{location-6xp44e9y.js → model-y8hhzqsr.js} +21 -21
- package/dist/chunks/{location-q84pcmhe.js → model-yjnk86sx.js} +70 -70
- package/dist/chunks/{location-xx7k8td3.js → model-yk480cxy.js} +4 -4
- package/dist/chunks/{location-p1wfrhak.js → model-yqbdvskr.js} +22 -22
- package/dist/chunks/{location-x2c0z4fa.js → model-ysh87z2r.js} +93 -93
- package/dist/chunks/{location-1a95124r.js → model-yvhtzdrt.js} +11 -11
- package/dist/chunks/{location-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-z18fegx4.js → model-z18fegx4.js} +1 -1
- package/dist/chunks/{location-x3h37q7j.js → model-z3qwewxj.js} +23 -23
- package/dist/chunks/{location-6559rxr6.js → model-z6m6eyhw.js} +6 -6
- package/dist/chunks/{location-aacha31a.js → model-z8y91tz7.js} +12 -12
- package/dist/chunks/{location-jg8pxvea.js → model-z9xssfm8.js} +3 -3
- package/dist/chunks/{location-hmcw1xv3.js → model-zbj3bdxr.js} +35 -35
- package/dist/chunks/{location-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-k5tmaff0.js → model-ztysxpw9.js} +36 -36
- package/dist/chunks/{location-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-d63sgyqh.js → model-zxqf7zeg.js} +9 -9
- package/dist/chunks/{location-scdee33y.js → model-zye99vjm.js} +2 -2
- 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 +83 -83
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +3 -3
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- 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 +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +137 -137
- 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 +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/location-48fz5dd2.js +0 -257
- package/dist/chunks/location-ht5y0zrb.js +0 -18
- package/dist/chunks/location-z6xb3w2g.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-4tv8d2yj.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node78
|
|
18
|
+
} from "./model-r7nsrefv.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID15,
|
|
31
|
+
Info: () => Info24,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service74,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured10,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node77
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID15 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info24 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID15,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info16 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID15,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service74 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured10 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service74,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node78]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info24({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service74.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID15.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node77 = configured10();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID15, Info24, NotFound2, CreateConflict2, Service74, configured10, node77, exports_workspace };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./model-2vtc1qv7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID11.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID11.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID11.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-tevdrw4n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-w1eejvng.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service83,
|
|
17
|
+
node87
|
|
18
|
+
} from "./model-85wqss2v.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info13,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service51,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node53
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info13 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service51 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service83;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info13.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info13.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service51.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node53 = makeLocationNode({
|
|
116
|
+
service: Service51,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node87]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info13, Service51, node53, exports_reference2, Event8 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./model-bpxfg8jv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./model-br1q80at.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service13,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-am1tmpj5.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make7
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make7 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service43;
|
|
35
|
+
const managed = yield* Service13;
|
|
36
|
+
const watcher = yield* Service44;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make7, LoadError2, exports_module };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-v37eec1m.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin5 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin7 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin7 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin5, exports_parallel };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-v37eec1m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin4 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin8 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin4, exports_tavily };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-5a9tc6z0.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin12
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin12 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin14 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID8.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID8.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin14 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin12, exports_agent };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-nyz2bd3h.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-m5jcjszt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service45,
|
|
20
|
+
make: () => make17,
|
|
21
|
+
node: () => node47
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service45 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make17 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service84;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make18 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service45.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make18 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service45, make17);
|
|
360
|
+
var node47 = makeGlobalNode({ service: Service45, layer, deps: [node88] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service45, make17, node47, exports_job };
|