@opencode/core 0.0.0-dev-20955 → 0.0.0-dev-20957
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 +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-tgty86k3.js → rpc-0g63a0te.js} +12 -12
- package/dist/chunks/{generate-93146j55.js → rpc-0kkmefz1.js} +24 -24
- package/dist/chunks/{generate-3sytbhw4.js → rpc-0rmdt9st.js} +3 -3
- package/dist/chunks/{generate-3f8w4jbq.js → rpc-0s8etjc9.js} +31 -31
- package/dist/chunks/{generate-k3bh1kct.js → rpc-0sgp6vrq.js} +12 -12
- package/dist/chunks/{generate-0vbcp93d.js → rpc-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-t1j722vw.js → rpc-0yp806wb.js} +4 -4
- package/dist/chunks/{generate-fwwk8vbp.js → rpc-11dqjexa.js} +9 -9
- package/dist/chunks/{generate-w64wyqh3.js → rpc-13wy7mfs.js} +10 -10
- package/dist/chunks/{generate-ect48nsn.js → rpc-1577rrhd.js} +60 -60
- package/dist/chunks/{generate-03d3gpge.js → rpc-19r4ktpx.js} +21 -21
- package/dist/chunks/{generate-ywt8jp22.js → rpc-1ffvrpkg.js} +6 -6
- package/dist/chunks/{generate-d9ts7e30.js → rpc-1hfz5630.js} +24 -24
- package/dist/chunks/{generate-fnp4h3kf.js → rpc-1j6h4v11.js} +16 -16
- package/dist/chunks/{generate-wrry1r48.js → rpc-1qpmd929.js} +4 -4
- package/dist/chunks/{generate-rt768fr5.js → rpc-1vnnf5cd.js} +41 -41
- package/dist/chunks/{generate-ahytbjxw.js → rpc-1yvzb6cq.js} +13 -13
- package/dist/chunks/{generate-jnem059t.js → rpc-20dqcrnk.js} +18 -18
- package/dist/chunks/{generate-583x01kt.js → rpc-2c1etwgk.js} +24 -24
- package/dist/chunks/{generate-y0nbp6f8.js → rpc-2ew3z5ht.js} +11 -11
- package/dist/chunks/{generate-gdzh3mgb.js → rpc-2jnytm9q.js} +5 -5
- package/dist/chunks/{generate-h7s7r6s9.js → rpc-31xfzrxg.js} +5 -5
- package/dist/chunks/{generate-jkf2f16v.js → rpc-35xt5v3z.js} +37 -37
- package/dist/chunks/{generate-8k409zfd.js → rpc-3cj7mw2f.js} +4 -4
- package/dist/chunks/{generate-sfda3pmv.js → rpc-3dn5qvj3.js} +33 -33
- package/dist/chunks/{generate-tjbwbx5p.js → rpc-3emygs37.js} +31 -31
- package/dist/chunks/{generate-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → rpc-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-a6awq7tx.js → rpc-3jxnaj1m.js} +11 -11
- package/dist/chunks/{generate-5dkn69vz.js → rpc-3sj8yt8v.js} +4 -4
- package/dist/chunks/{generate-ph1hy9gm.js → rpc-3sm5rdfs.js} +17 -17
- package/dist/chunks/{generate-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-d72m3w4m.js → rpc-3v44xrgw.js} +23 -23
- package/dist/chunks/{generate-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-se975k4p.js → rpc-412wv95y.js} +37 -37
- package/dist/chunks/{generate-w2h15q85.js → rpc-4xpgt2w9.js} +5 -5
- package/dist/chunks/{generate-ygr9627z.js → rpc-501wjxab.js} +3 -3
- package/dist/chunks/{generate-xcd0eash.js → rpc-51f5btjf.js} +6 -6
- package/dist/chunks/{generate-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-gp62719s.js → rpc-59nqaqqb.js} +1 -1
- package/dist/chunks/{generate-r42rn07b.js → rpc-5ck1sb4w.js} +27 -27
- package/dist/chunks/{generate-kvk9zhmn.js → rpc-5e3s40e2.js} +15 -15
- package/dist/chunks/{generate-73kdj4zj.js → rpc-5eer2xf9.js} +8 -8
- package/dist/chunks/{generate-87tbyhg2.js → rpc-5fpmpm6s.js} +11 -11
- package/dist/chunks/{generate-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-e3qxr5gk.js → rpc-5qd3pb7m.js} +2 -2
- package/dist/chunks/{generate-8fzym08n.js → rpc-5qwd6gw2.js} +14 -14
- package/dist/chunks/{generate-jhdf29st.js → rpc-5w9yjztw.js} +1 -1
- package/dist/chunks/{generate-zqxc0bxc.js → rpc-5xhe9v23.js} +9 -9
- package/dist/chunks/{generate-q41ybjg5.js → rpc-618s31kc.js} +10 -10
- package/dist/chunks/{generate-2ag2k7fv.js → rpc-61rpadeq.js} +32 -32
- package/dist/chunks/{generate-95tm7t3r.js → rpc-62yd8t86.js} +14 -14
- package/dist/chunks/{generate-dq37mrqa.js → rpc-633kc721.js} +11 -11
- package/dist/chunks/{generate-yj2ncqs1.js → rpc-664av6jq.js} +20 -20
- package/dist/chunks/{generate-87wvz1aq.js → rpc-669jbzsj.js} +11 -11
- package/dist/chunks/{generate-pv0ywq10.js → rpc-66keg2ed.js} +9 -9
- package/dist/chunks/{generate-agzhgt0s.js → rpc-6ax2sg4n.js} +26 -26
- package/dist/chunks/{generate-xs6tnz78.js → rpc-6fd9p91z.js} +13 -13
- package/dist/chunks/{generate-986mq3g4.js → rpc-6ha732mw.js} +26 -26
- package/dist/chunks/{generate-w92k2e0p.js → rpc-6pc27hjz.js} +4 -4
- package/dist/chunks/{generate-fx09zbwx.js → rpc-6sspz9tf.js} +11 -11
- package/dist/chunks/{generate-bexysgkj.js → rpc-6t1bbpnq.js} +7 -7
- package/dist/chunks/{generate-sh51cmbp.js → rpc-6tyv3xa5.js} +2 -2
- package/dist/chunks/{generate-efsjwg4m.js → rpc-6x6tfj0a.js} +12 -12
- package/dist/chunks/{generate-6xb47vfp.js → rpc-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-52ccxbw0.js → rpc-72gmrwx5.js} +25 -25
- package/dist/chunks/{generate-9m7bnam6.js → rpc-73tr020p.js} +74 -74
- package/dist/chunks/{generate-775gj3j1.js → rpc-775gj3j1.js} +2 -2
- package/dist/chunks/{generate-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-nydzyyh3.js → rpc-7jacs1jg.js} +27 -27
- package/dist/chunks/{generate-cb7hbdgq.js → rpc-7m6me2kh.js} +21 -21
- package/dist/chunks/{generate-jg7szpbk.js → rpc-7pw4k8pw.js} +20 -20
- package/dist/chunks/{generate-n7cqf3h2.js → rpc-81aqk3w6.js} +9 -9
- package/dist/chunks/{generate-w16k0wzf.js → rpc-82bj86tv.js} +6 -6
- package/dist/chunks/{generate-sgd1fqjm.js → rpc-85k52pgz.js} +13 -13
- package/dist/chunks/{generate-8m6m0r52.js → rpc-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-v4v0br85.js → rpc-91pgxm1y.js} +14 -14
- package/dist/chunks/{generate-6zk226fd.js → rpc-94zt7vas.js} +8 -8
- package/dist/chunks/{generate-9yaq9fmg.js → rpc-99tfdan1.js} +32 -32
- package/dist/chunks/{generate-cmwkp3r5.js → rpc-9hn6k4tm.js} +8 -8
- package/dist/chunks/{generate-h0js04z9.js → rpc-9pdrjcjq.js} +18 -18
- package/dist/chunks/{generate-vsxaf637.js → rpc-a4cx9gg9.js} +33 -33
- package/dist/chunks/{generate-ssfpbmz4.js → rpc-a4y2m2pn.js} +28 -28
- package/dist/chunks/{generate-jm74df8m.js → rpc-a7dkb545.js} +15 -15
- package/dist/chunks/{generate-7rfyzhr4.js → rpc-a8nkje97.js} +11 -11
- package/dist/chunks/{generate-kg7tw7af.js → rpc-a961kxqf.js} +11 -11
- package/dist/chunks/{generate-5cw9rgh0.js → rpc-atjwctsn.js} +21 -21
- package/dist/chunks/{generate-wy0e5ct7.js → rpc-awddqekk.js} +15 -15
- package/dist/chunks/{generate-1wcdeef4.js → rpc-axv8g7q4.js} +18 -18
- package/dist/chunks/{generate-d5jrddrm.js → rpc-azsbjgdx.js} +36 -36
- package/dist/chunks/{generate-2ecc8kjr.js → rpc-b1kwtjp2.js} +16 -16
- package/dist/chunks/{generate-hdkng2sj.js → rpc-b3f8fkhc.js} +5 -5
- package/dist/chunks/{generate-n8vdnqrc.js → rpc-b674v2dg.js} +5 -5
- package/dist/chunks/{generate-f7mmnwn2.js → rpc-b6pnk01m.js} +94 -94
- package/dist/chunks/{generate-fvphec8c.js → rpc-b6r9ty7s.js} +15 -15
- package/dist/chunks/{generate-hv879400.js → rpc-bfegkxfd.js} +11 -11
- package/dist/chunks/{generate-045nn9pc.js → rpc-bmr56wjg.js} +9 -9
- package/dist/chunks/{generate-nthsq1c9.js → rpc-bpa232ey.js} +9 -9
- package/dist/chunks/{generate-v2vqt7ja.js → rpc-bpwrvk6g.js} +15 -15
- package/dist/chunks/{generate-f68pm4a7.js → rpc-bqf8dw7y.js} +31 -31
- package/dist/chunks/{generate-bvn9nnns.js → rpc-bqg1e2cj.js} +4 -4
- package/dist/chunks/{generate-nfsm5mmz.js → rpc-by0awed6.js} +9 -9
- package/dist/chunks/{generate-e78mjzb8.js → rpc-c3kdpfj7.js} +32 -32
- package/dist/chunks/{generate-c41wscbt.js → rpc-c41wscbt.js} +2 -2
- package/dist/chunks/{generate-sst3xwvk.js → rpc-c445dxh9.js} +15 -15
- package/dist/chunks/rpc-c4rtve7x.js +253 -0
- package/dist/chunks/{generate-ejderhnd.js → rpc-c688b2mm.js} +5 -5
- package/dist/chunks/{generate-v2w00eb9.js → rpc-c6vcmfe6.js} +50 -50
- package/dist/chunks/{generate-c8ax2afj.js → rpc-c8ax2afj.js} +2 -2
- package/dist/chunks/{generate-jk72k5yt.js → rpc-cp4eewxm.js} +3 -3
- package/dist/chunks/{generate-es2491wy.js → rpc-cvgztn7t.js} +20 -20
- package/dist/chunks/{generate-basbsbfx.js → rpc-da09f1g7.js} +11 -11
- package/dist/chunks/{generate-3zg54vq3.js → rpc-dce2gzrk.js} +5 -5
- package/dist/chunks/{generate-dpkg50ah.js → rpc-dpkg50ah.js} +1 -1
- package/dist/chunks/{generate-dqxsqydv.js → rpc-dqxsqydv.js} +1 -1
- package/dist/chunks/{generate-57b9ws8p.js → rpc-drwq78ky.js} +5 -5
- package/dist/chunks/{generate-kj5e6n13.js → rpc-ds513cvv.js} +49 -49
- package/dist/chunks/{generate-6gv93bxn.js → rpc-dxybt9ry.js} +23 -23
- package/dist/chunks/{generate-nj9bcvzn.js → rpc-e545f8nm.js} +9 -9
- package/dist/chunks/{generate-29sdvvc3.js → rpc-e5vg0yv6.js} +8 -8
- package/dist/chunks/{generate-dzyqpy57.js → rpc-e6hwranf.js} +11 -11
- package/dist/chunks/{generate-eej6y6fw.js → rpc-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-es1vcfrp.js → rpc-es1vcfrp.js} +3 -3
- package/dist/chunks/{generate-yp2x3t23.js → rpc-f2n192rq.js} +4 -4
- package/dist/chunks/{generate-mf3tk837.js → rpc-f45r55fw.js} +15 -15
- package/dist/chunks/{generate-ratrq7cm.js → rpc-fqb2p7cx.js} +4 -4
- package/dist/chunks/{generate-9cjpt02s.js → rpc-fscc3096.js} +33 -33
- package/dist/chunks/{generate-y16p1w2y.js → rpc-fw181sc9.js} +9 -9
- package/dist/chunks/{generate-h784rw89.js → rpc-fwdmbr1p.js} +21 -21
- package/dist/chunks/{generate-xqhar19x.js → rpc-g62k8ye6.js} +16 -16
- package/dist/chunks/{generate-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-qmqgtz8f.js → rpc-gjwgx2c5.js} +5 -5
- package/dist/chunks/{generate-j8w73jpj.js → rpc-gtexymfp.js} +4 -4
- package/dist/chunks/{generate-21149sed.js → rpc-gtnvez50.js} +32 -32
- package/dist/chunks/{generate-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-tjjvxdpy.js → rpc-h8gytte2.js} +50 -50
- package/dist/chunks/{generate-4pgz46s9.js → rpc-h9a815dw.js} +37 -37
- package/dist/chunks/{generate-k2xyfnfp.js → rpc-haysr2j0.js} +13 -13
- package/dist/chunks/{generate-hgz4x7wa.js → rpc-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-wrjhv8ep.js → rpc-hk7b56jd.js} +85 -85
- package/dist/chunks/{generate-85x58gzh.js → rpc-hmqnqm20.js} +26 -26
- package/dist/chunks/{generate-htf6sggk.js → rpc-hnaazdex.js} +4 -4
- package/dist/chunks/{generate-hqhp0zxs.js → rpc-hqhp0zxs.js} +4 -4
- package/dist/chunks/{generate-tqhwrjj1.js → rpc-hra9bp9n.js} +16 -16
- package/dist/chunks/{generate-j09zfasm.js → rpc-j09zfasm.js} +3 -3
- package/dist/chunks/{generate-226jkg9e.js → rpc-j9ha8nqa.js} +16 -16
- package/dist/chunks/{generate-jrckhh2g.js → rpc-jewhh3wd.js} +8 -8
- package/dist/chunks/{generate-6g107h22.js → rpc-jk540des.js} +2 -2
- package/dist/chunks/rpc-jqh9b0xq.js +18 -0
- package/dist/chunks/{generate-fsay702y.js → rpc-k5swm7kd.js} +28 -28
- package/dist/chunks/{generate-sfas9ggz.js → rpc-k9yrfzzn.js} +10 -10
- package/dist/chunks/{generate-8nbsy07e.js → rpc-kchd60gm.js} +1 -1
- package/dist/chunks/{generate-khmqacep.js → rpc-khmqacep.js} +1 -1
- package/dist/chunks/{generate-qxc7eem4.js → rpc-kv3n5ztp.js} +11 -11
- package/dist/chunks/{generate-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → rpc-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-mb14aw74.js → rpc-mb14aw74.js} +2 -2
- package/dist/chunks/{generate-7tx5wnjn.js → rpc-mfj47n67.js} +17 -17
- package/dist/chunks/{generate-kdm0xk8y.js → rpc-mtc1cw2z.js} +1 -1
- package/dist/chunks/{generate-mxvxcxwy.js → rpc-mxvxcxwy.js} +1 -1
- package/dist/chunks/{generate-vjvmdf82.js → rpc-mzyxe8gm.js} +22 -22
- package/dist/chunks/{generate-fkjn3fdb.js → rpc-n3vb9epv.js} +14 -14
- package/dist/chunks/{generate-8yhdxqmw.js → rpc-n7pp7qj2.js} +32 -32
- package/dist/chunks/{generate-4bm5ja14.js → rpc-nb9p6b26.js} +4 -4
- package/dist/chunks/{generate-xfkrhj36.js → rpc-nets62yb.js} +3 -3
- package/dist/chunks/{generate-j55hjvtx.js → rpc-nfvfn1nf.js} +1 -1
- package/dist/chunks/{generate-dxb92a41.js → rpc-ngbwkpd3.js} +6 -6
- package/dist/chunks/{generate-h6degvvb.js → rpc-ngyrtr94.js} +9 -9
- package/dist/chunks/{generate-ed1g29hy.js → rpc-nma959mg.js} +3 -3
- package/dist/chunks/{generate-z7bx7nj5.js → rpc-nmp290x7.js} +7 -7
- package/dist/chunks/{generate-cwdksr8n.js → rpc-p690rpx8.js} +15 -15
- package/dist/chunks/{generate-pynaa69q.js → rpc-p7d7zdnm.js} +5 -5
- package/dist/chunks/{generate-qxc89awc.js → rpc-p7dppmtr.js} +13 -13
- package/dist/chunks/{generate-mvh6hcdn.js → rpc-p8sn5v2a.js} +50 -50
- package/dist/chunks/{generate-r5czv6vh.js → rpc-pba85c1x.js} +10 -10
- package/dist/chunks/{generate-espax8zg.js → rpc-pgp1nwjn.js} +4 -4
- package/dist/chunks/{generate-ds2qfcyy.js → rpc-phj7b8e3.js} +3 -3
- package/dist/chunks/{generate-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{generate-jwv7ab79.js → rpc-pkxj7ynd.js} +6 -6
- package/dist/chunks/{generate-q3xjw1w0.js → rpc-pqdj80dn.js} +6 -6
- package/dist/chunks/{generate-4a50zq9s.js → rpc-pybx3045.js} +28 -28
- package/dist/chunks/{generate-0j77ygfz.js → rpc-q0xm7vwc.js} +6 -6
- package/dist/chunks/{generate-4br13kzk.js → rpc-q2xhpvxb.js} +33 -33
- package/dist/chunks/{generate-gqb29rq1.js → rpc-qg87bzy9.js} +37 -37
- package/dist/chunks/{generate-7dqw4kz8.js → rpc-qgn6gcr1.js} +5 -5
- package/dist/chunks/{generate-qnc92qwc.js → rpc-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-353e70w1.js → rpc-qq400y0z.js} +13 -13
- package/dist/chunks/{generate-4wqhejgp.js → rpc-qrmqj55a.js} +13 -13
- package/dist/chunks/{generate-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-4v166rgp.js → rpc-qsqdkngs.js} +22 -22
- package/dist/chunks/{generate-m0ecvezt.js → rpc-qy24xa0s.js} +19 -19
- package/dist/chunks/{generate-4hd4yrbq.js → rpc-r0n6t0zc.js} +24 -24
- package/dist/chunks/{generate-z9k480np.js → rpc-r1smz7b8.js} +2 -2
- package/dist/chunks/{generate-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-adm7m3rs.js → rpc-rpfw3nqr.js} +7 -7
- package/dist/chunks/{generate-nsm5jq39.js → rpc-rxg505xh.js} +13 -13
- package/dist/chunks/{generate-ang39x71.js → rpc-s4a1trnd.js} +3 -3
- package/dist/chunks/{generate-ccf0qaaq.js → rpc-s6vv92hd.js} +25 -25
- package/dist/chunks/{generate-jcegsay8.js → rpc-sdw1hh26.js} +18 -18
- package/dist/chunks/{generate-gjwksjz5.js → rpc-sq1bvbqh.js} +16 -16
- package/dist/chunks/{generate-ftjs4a6p.js → rpc-sszn147w.js} +20 -20
- package/dist/chunks/{generate-syv4x271.js → rpc-syv4x271.js} +1 -1
- package/dist/chunks/{generate-gdq0r6pz.js → rpc-t2jpskh3.js} +25 -25
- package/dist/chunks/{generate-t550f9t1.js → rpc-t550f9t1.js} +1 -1
- package/dist/chunks/{generate-7f45822d.js → rpc-t827rtr3.js} +18 -18
- package/dist/chunks/{generate-3q2zmd79.js → rpc-tagbrba9.js} +22 -22
- package/dist/chunks/{generate-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-azrg85nq.js → rpc-td0am7tz.js} +50 -50
- package/dist/chunks/{generate-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{generate-hc9bykrx.js → rpc-tecdc32p.js} +13 -13
- package/dist/chunks/{generate-v0es1rhs.js → rpc-tg7bkhef.js} +7 -7
- package/dist/chunks/{generate-605983wd.js → rpc-tg8ddpts.js} +3 -3
- package/dist/chunks/{generate-tkb22qbm.js → rpc-tkb22qbm.js} +2 -2
- package/dist/chunks/{generate-tm0kqsz3.js → rpc-tm0kqsz3.js} +1 -1
- package/dist/chunks/{generate-w919w76e.js → rpc-tm6m41eq.js} +8 -8
- package/dist/chunks/{generate-vwz8vhph.js → rpc-tpxg3fy4.js} +17 -17
- package/dist/chunks/{generate-tyytaxap.js → rpc-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-6va2hmq8.js → rpc-v08rtmt7.js} +36 -36
- package/dist/chunks/{generate-r70na3yp.js → rpc-v1vh7s4p.js} +9 -9
- package/dist/chunks/{generate-v7p4zvkq.js → rpc-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-3ev3b5b8.js → rpc-veq4qypw.js} +16 -16
- package/dist/chunks/{generate-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-ajrp0zcc.js → rpc-vp0qwmgb.js} +20 -20
- package/dist/chunks/{generate-3hx241vc.js → rpc-vrxbghgd.js} +9 -9
- package/dist/chunks/{generate-91p1v22t.js → rpc-vwpcpzep.js} +8 -8
- package/dist/chunks/{generate-yxj30fw6.js → rpc-vxnp931j.js} +24 -24
- package/dist/chunks/{generate-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-84txncab.js → rpc-w1eejvng.js} +5 -5
- package/dist/chunks/{generate-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-had4kgfk.js → rpc-w4axh9wz.js} +4 -4
- package/dist/chunks/{generate-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{generate-6jfn6z1e.js → rpc-wf35t0j7.js} +9 -9
- package/dist/chunks/{generate-19hfexd2.js → rpc-wq4ymj1p.js} +48 -48
- package/dist/chunks/{generate-7d2a7xbs.js → rpc-wr7ps67x.js} +5 -5
- package/dist/chunks/{generate-28n4pc0c.js → rpc-wss8ekf6.js} +25 -25
- package/dist/chunks/{generate-wxd1amzp.js → rpc-wv6kh7cb.js} +326 -326
- package/dist/chunks/{generate-dvn0pkbj.js → rpc-x4bs0z10.js} +8 -8
- package/dist/chunks/{generate-j2jpnhmm.js → rpc-x7ajn6gb.js} +14 -14
- package/dist/chunks/{generate-yxv48c46.js → rpc-xb5bw9r2.js} +12 -12
- package/dist/chunks/{generate-nhttw11w.js → rpc-xccpgf1k.js} +25 -25
- package/dist/chunks/{generate-e9t82wt6.js → rpc-xf3b7ak0.js} +16 -16
- package/dist/chunks/{generate-4yd5fbph.js → rpc-xjwg7jja.js} +8 -8
- package/dist/chunks/{generate-007gt5h3.js → rpc-xxhgf0eh.js} +9 -9
- package/dist/chunks/{generate-48aqjxkx.js → rpc-xzhg0qv8.js} +24 -24
- package/dist/chunks/{generate-gs3khzew.js → rpc-xzr03pq0.js} +12 -12
- package/dist/chunks/{generate-gejnwnva.js → rpc-y0xznj3f.js} +11 -11
- package/dist/chunks/{generate-6yqf2094.js → rpc-y14yzbv9.js} +19 -19
- package/dist/chunks/{generate-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-hnepv2pm.js → rpc-y51ceatp.js} +30 -30
- package/dist/chunks/{generate-p9ntvqt0.js → rpc-y8s1cxkd.js} +32 -32
- package/dist/chunks/{generate-pt1jpjcb.js → rpc-yaxkaew0.js} +13 -13
- package/dist/chunks/{generate-trshtzzb.js → rpc-ycp3cd4k.js} +14 -14
- package/dist/chunks/{generate-tckds7f3.js → rpc-yfvzqt1f.js} +28 -28
- package/dist/chunks/{generate-18845wm5.js → rpc-yqek1wqm.js} +15 -15
- package/dist/chunks/{generate-ce6mw5w9.js → rpc-ysmpv3j4.js} +3 -3
- package/dist/chunks/{generate-3nw6a24a.js → rpc-yt30aj44.js} +23 -23
- package/dist/chunks/{generate-gqv3phke.js → rpc-yyyk3xhf.js} +26 -26
- package/dist/chunks/rpc-z00ewvj9.js +26 -0
- package/dist/chunks/{generate-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-egja09jm.js → rpc-z1zcjh09.js} +13 -13
- package/dist/chunks/{generate-86qjnnqk.js → rpc-z5pcptfa.js} +11 -11
- package/dist/chunks/{generate-0sawxzss.js → rpc-z7ej7fbh.js} +23 -23
- package/dist/chunks/{generate-vrsjek29.js → rpc-zb746e9k.js} +2 -2
- package/dist/chunks/{generate-8gxqpgph.js → rpc-zcrspsvn.js} +4 -4
- package/dist/chunks/{generate-g7x3whcf.js → rpc-zfca28xf.js} +4 -4
- package/dist/chunks/{generate-qjx1ax0j.js → rpc-zjtrsxny.js} +5 -5
- package/dist/chunks/{generate-aexvrqsg.js → rpc-zk21kkv9.js} +6 -6
- package/dist/chunks/{generate-8y991780.js → rpc-zm820vvs.js} +42 -42
- package/dist/chunks/{generate-zd7c0wbn.js → rpc-zqnnyapg.js} +19 -19
- package/dist/chunks/{generate-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-r3ynj49d.js → rpc-zt4ytqs0.js} +138 -138
- package/dist/chunks/{generate-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- 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 +92 -92
- 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 +119 -119
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +1 -1
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +83 -83
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- 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 +89 -89
- 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 +131 -131
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- 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 +131 -131
- 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 +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +4 -4
- 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 +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 +1 -1
- package/dist/session/session.js +166 -166
- 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 +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +112 -112
- package/dist/snapshot.js +95 -95
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +14 -14
- 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 +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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/generate-7fj5dwt0.js +0 -18
- package/dist/chunks/generate-7rkfa3ca.js +0 -26
- package/dist/chunks/generate-s7fpnt2j.js +0 -253
- /package/dist/chunks/{generate-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → rpc-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-c2sed5cq.js → rpc-c2sed5cq.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → rpc-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → rpc-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → rpc-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-tg8ddpts.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-s4a1trnd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service84,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer28,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node88
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service84 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service84, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service84, layer: layer28(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service84,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node88 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11,
|
|
96
|
+
export { Options11, Service84, layer28, layerFromClient2, configured13, configuredClient2, node88, exports_database };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info15,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info15 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info15, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-19r4ktpx.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./rpc-bfegkxfd.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-zfca28xf.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./rpc-c6vcmfe6.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./rpc-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin37
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin37 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service52;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin37, exports_agent2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./rpc-0sgp6vrq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./rpc-haysr2j0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service81,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node85,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service81 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service85;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service82;
|
|
110
|
+
return Service81.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node85 = makeGlobalNode({
|
|
171
|
+
service: Service81,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node89, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service81, isError2, validateBranch2, node85, exports_repository_cache };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85
|
|
3
|
-
} from "./generate-a6awq7tx.js";
|
|
4
1
|
import {
|
|
5
2
|
Service84
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./rpc-3jxnaj1m.js";
|
|
4
|
+
import {
|
|
5
|
+
Service83
|
|
6
|
+
} from "./rpc-g62k8ye6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./rpc-51f5btjf.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-ngyrtr94.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service63
|
|
29
|
+
} from "./rpc-y14yzbv9.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service42
|
|
34
|
+
} from "./rpc-hmqnqm20.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service40
|
|
37
|
+
} from "./rpc-zm820vvs.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./rpc-veq4qypw.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-wss8ekf6.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./rpc-5xhe9v23.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./rpc-vrxbghgd.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./rpc-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service83;
|
|
67
|
+
const database = yield* Service84;
|
|
68
|
+
const store = yield* Service63;
|
|
69
|
+
const instances = yield* Service44;
|
|
70
|
+
const execution = yield* Service40;
|
|
71
|
+
const admission = yield* Service42;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service44, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service44, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service44, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-6ha732mw.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-82bj86tv.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service44 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node46 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service44, node46, exports_service2 };
|