@opencode/core 0.0.0-dev-20184 → 0.0.0-dev-20188
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{permission-8wm8yswe.js → worktree-020j3mp2.js} +6 -6
- package/dist/chunks/{permission-2vs2nh1n.js → worktree-06x8he3q.js} +4 -4
- package/dist/chunks/{permission-gyh65ccy.js → worktree-0kvqmx4f.js} +5 -5
- package/dist/chunks/{permission-2jv99ep9.js → worktree-0pa72kx5.js} +1 -1
- package/dist/chunks/{permission-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-rzczz02k.js → worktree-0rvaxq3r.js} +46 -46
- package/dist/chunks/{permission-4se0c4pr.js → worktree-11qj5279.js} +51 -51
- package/dist/chunks/{permission-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-etzz3kcr.js → worktree-1h80sv90.js} +8 -8
- package/dist/chunks/{permission-rts5f3sp.js → worktree-1hj8qdg9.js} +36 -36
- package/dist/chunks/{permission-5x8k1esv.js → worktree-1rrnyw52.js} +13 -13
- package/dist/chunks/{permission-bjmw0wh0.js → worktree-1vezjmp5.js} +18 -18
- package/dist/chunks/{permission-r6hzy11n.js → worktree-20zz1ang.js} +12 -12
- package/dist/chunks/{permission-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{permission-hmgm1r3d.js → worktree-2320a07y.js} +36 -36
- package/dist/chunks/{permission-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-wbxghec3.js → worktree-28dctkqw.js} +20 -20
- package/dist/chunks/{permission-nw7zyz1n.js → worktree-29hn33b2.js} +15 -15
- package/dist/chunks/{permission-cyr9qmn9.js → worktree-29w74my6.js} +4 -4
- package/dist/chunks/{permission-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-9m7h70yb.js → worktree-2a6vj052.js} +10 -10
- package/dist/chunks/{permission-sfya1ybz.js → worktree-2ffy1121.js} +29 -29
- package/dist/chunks/{permission-ddxa4xrn.js → worktree-2hf6az8f.js} +86 -86
- package/dist/chunks/{permission-q9rwvn8w.js → worktree-2jvd2xkt.js} +43 -43
- package/dist/chunks/{permission-7tt26n7w.js → worktree-2vjymgz4.js} +11 -11
- package/dist/chunks/{permission-24tsh65v.js → worktree-2w3tjptc.js} +5 -5
- package/dist/chunks/{permission-qhrscye9.js → worktree-31ywg3jd.js} +14 -14
- package/dist/chunks/{permission-ayaqcnb4.js → worktree-32m0rg18.js} +13 -13
- package/dist/chunks/{permission-33w4ejhs.js → worktree-33w4ejhs.js} +2 -2
- package/dist/chunks/{permission-ratrq7cm.js → worktree-34rkz0x9.js} +7 -7
- package/dist/chunks/{permission-pwy65ecz.js → worktree-3521mr9s.js} +15 -15
- package/dist/chunks/worktree-37xvps52.js +26 -0
- package/dist/chunks/{permission-cf69m2yy.js → worktree-37z41h2b.js} +27 -27
- package/dist/chunks/{permission-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-qp1prb2r.js → worktree-3pe3bqaw.js} +8 -8
- package/dist/chunks/{permission-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-cgdrf0ef.js → worktree-3t5az78k.js} +10 -10
- package/dist/chunks/{permission-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-t0fxg8b9.js → worktree-3w0fmcng.js} +5 -5
- package/dist/chunks/{permission-ej9m8fc8.js → worktree-3z2pry7k.js} +7 -7
- package/dist/chunks/{permission-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-6hjv98hr.js → worktree-484bq32a.js} +20 -20
- package/dist/chunks/{permission-saj04eec.js → worktree-4p0mh606.js} +13 -13
- package/dist/chunks/worktree-4v7qdvcn.js +18 -0
- package/dist/chunks/{permission-s0pzxwsy.js → worktree-4xwskevg.js} +43 -43
- package/dist/chunks/{permission-sgt0rw0w.js → worktree-5445nesp.js} +11 -11
- package/dist/chunks/{permission-ssdqnhy0.js → worktree-56dkfrzf.js} +4 -4
- package/dist/chunks/{permission-kjt3qfh8.js → worktree-57ez7d0k.js} +9 -9
- package/dist/chunks/{permission-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-tnyskk9d.js → worktree-5gpad69q.js} +22 -22
- package/dist/chunks/{permission-rw86at65.js → worktree-5m20xtfs.js} +24 -24
- package/dist/chunks/{permission-yf6svgv2.js → worktree-5pc61bqy.js} +23 -23
- package/dist/chunks/{permission-kmx0na6r.js → worktree-5qwkxp89.js} +4 -4
- package/dist/chunks/{permission-nmxb84e1.js → worktree-5rbhaw37.js} +17 -17
- package/dist/chunks/{permission-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{permission-3ajs7g5c.js → worktree-6bh1zc7k.js} +1 -1
- package/dist/chunks/{permission-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-57g7wts8.js → worktree-6q03a5wq.js} +22 -22
- package/dist/chunks/{permission-5tkkp2n3.js → worktree-6wqfvy1r.js} +29 -29
- package/dist/chunks/{permission-dymtc34b.js → worktree-70b2t1mc.js} +162 -162
- package/dist/chunks/{permission-f22ykn95.js → worktree-720pgjf4.js} +36 -36
- package/dist/chunks/{permission-h3k9h1nw.js → worktree-73rm0k6w.js} +5 -5
- package/dist/chunks/{permission-1bbkgx8g.js → worktree-73tb2d7t.js} +3 -3
- package/dist/chunks/{permission-b56pkp53.js → worktree-75w1k5vs.js} +14 -14
- package/dist/chunks/{permission-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-2k7qy34m.js → worktree-7ebfd3s5.js} +11 -11
- package/dist/chunks/{permission-fqwz5wn3.js → worktree-7k4j4fqt.js} +24 -24
- package/dist/chunks/{permission-5e8g6gvh.js → worktree-7p71tqc9.js} +16 -16
- package/dist/chunks/{permission-k1gkpfdk.js → worktree-7s451enq.js} +8 -8
- package/dist/chunks/{permission-4z4dz35z.js → worktree-7v9khnky.js} +6 -6
- package/dist/chunks/{permission-w3nd4yv7.js → worktree-7wndjkhp.js} +41 -41
- package/dist/chunks/{permission-j33wwp0m.js → worktree-8695v8ev.js} +28 -28
- package/dist/chunks/{permission-6na13bja.js → worktree-87cgy5hv.js} +3 -3
- package/dist/chunks/{permission-2hr5nhwa.js → worktree-89bb6baa.js} +8 -8
- package/dist/chunks/{permission-tkvyhn45.js → worktree-89z5ntxh.js} +5 -5
- package/dist/chunks/{permission-3sfvjz79.js → worktree-8cv5adkj.js} +8 -8
- package/dist/chunks/{permission-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-vhgy81xs.js → worktree-8k7kyfyn.js} +9 -9
- package/dist/chunks/{permission-6p737ktq.js → worktree-8w5jxq7f.js} +9 -9
- package/dist/chunks/{permission-hgfrrbh0.js → worktree-8z6bjbtb.js} +22 -22
- package/dist/chunks/{permission-94ek1h2f.js → worktree-94ek1h2f.js} +2 -2
- package/dist/chunks/{permission-1g0f3apw.js → worktree-9f3zk6vx.js} +18 -18
- package/dist/chunks/{permission-6jdx8b0n.js → worktree-9kr90avb.js} +28 -28
- package/dist/chunks/{permission-e92bq28b.js → worktree-9me17b34.js} +30 -30
- package/dist/chunks/{permission-ehajrkt1.js → worktree-9tefhynz.js} +14 -14
- package/dist/chunks/{permission-pxsqpsjb.js → worktree-9zvrdw08.js} +16 -16
- package/dist/chunks/{permission-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-8faqvjx1.js → worktree-ajt6jt3w.js} +23 -23
- package/dist/chunks/{permission-cnrsv64g.js → worktree-b24016yy.js} +41 -41
- package/dist/chunks/{permission-b6yfrbdv.js → worktree-b2d04wat.js} +11 -11
- package/dist/chunks/{permission-qbhgxd5f.js → worktree-b6bm2ck9.js} +10 -10
- package/dist/chunks/{permission-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-bkfea2es.js → worktree-bbp6pymt.js} +35 -35
- package/dist/chunks/{permission-vx0142rj.js → worktree-be2558nw.js} +20 -20
- package/dist/chunks/{permission-e5bmervc.js → worktree-be4hb00e.js} +8 -8
- package/dist/chunks/{permission-wy5fy4m8.js → worktree-begby2a8.js} +20 -20
- package/dist/chunks/{permission-v0xzzsdq.js → worktree-bh2nsqp8.js} +27 -27
- package/dist/chunks/{permission-vry6d8rm.js → worktree-bk66cvw8.js} +16 -16
- package/dist/chunks/{permission-yenfhe7g.js → worktree-bp18y4ry.js} +6 -6
- package/dist/chunks/{permission-y0pwr5yx.js → worktree-bqkvb2j5.js} +4 -4
- package/dist/chunks/{permission-a0zk29s1.js → worktree-c2pw6yvc.js} +4 -4
- package/dist/chunks/{permission-8zd0p5g4.js → worktree-cahryj50.js} +27 -27
- package/dist/chunks/{permission-k2h4r4s0.js → worktree-cavr175a.js} +4 -4
- package/dist/chunks/{permission-j1mnsbt4.js → worktree-cd6xvapc.js} +7 -7
- package/dist/chunks/{permission-ckecvw8r.js → worktree-ckecvw8r.js} +2 -2
- package/dist/chunks/{permission-kpt7db8g.js → worktree-cp4cyprf.js} +5 -5
- package/dist/chunks/{permission-5fsz5bhv.js → worktree-czczktcr.js} +11 -11
- package/dist/chunks/{permission-w4tz3mw8.js → worktree-czx3r0mk.js} +11 -11
- package/dist/chunks/{permission-xpj8nf9s.js → worktree-d1v6nj19.js} +32 -32
- package/dist/chunks/{permission-fatsxjpm.js → worktree-d9j01kt6.js} +8 -8
- package/dist/chunks/{permission-f82z4zvv.js → worktree-dh8jqdrh.js} +3 -3
- package/dist/chunks/{permission-drwq78ky.js → worktree-drwq78ky.js} +1 -1
- package/dist/chunks/{permission-51n5pk6z.js → worktree-dwn1dze5.js} +9 -9
- package/dist/chunks/{permission-y800c526.js → worktree-e4jktww8.js} +24 -24
- package/dist/chunks/{permission-x9rrqg2b.js → worktree-e7pxnx0w.js} +13 -13
- package/dist/chunks/{permission-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-6pncvqss.js → worktree-ezkyf0b6.js} +51 -51
- package/dist/chunks/{permission-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{permission-fafky6mp.js → worktree-f2t31f47.js} +24 -24
- package/dist/chunks/{permission-k1t2h6fm.js → worktree-fgq08y9p.js} +5 -5
- package/dist/chunks/{permission-bczx3n1j.js → worktree-fgxhpymv.js} +2 -2
- package/dist/chunks/{permission-0fmtf5bj.js → worktree-fknhp1f0.js} +15 -15
- package/dist/chunks/{permission-kxpygcw9.js → worktree-fvanntqq.js} +6 -6
- package/dist/chunks/{permission-w3v9xvx0.js → worktree-fwbkdqa5.js} +6 -6
- package/dist/chunks/{permission-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-z5xy1pp3.js → worktree-gesdtaaj.js} +11 -11
- package/dist/chunks/{permission-qy5jqk5y.js → worktree-gjd67er9.js} +8 -8
- package/dist/chunks/{permission-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{permission-2zqtqwz1.js → worktree-gvx64vq2.js} +87 -87
- package/dist/chunks/{permission-97fqmzxy.js → worktree-gy2xc5tx.js} +15 -15
- package/dist/chunks/{permission-rxe57bkw.js → worktree-gy767g1q.js} +6 -6
- package/dist/chunks/{permission-afzgrqyy.js → worktree-h0syphj7.js} +26 -26
- package/dist/chunks/{permission-4dgbcxzg.js → worktree-h6r3nrb9.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-b2mnzr05.js → worktree-hbt46k8x.js} +13 -13
- package/dist/chunks/{permission-pvxjc7f1.js → worktree-hcpeyj26.js} +30 -30
- package/dist/chunks/{permission-97q5ahja.js → worktree-hgnyvjm7.js} +313 -313
- package/dist/chunks/{permission-hnr5yq9h.js → worktree-hnr5yq9h.js} +2 -2
- package/dist/chunks/worktree-hq0gjsme.js +252 -0
- package/dist/chunks/{permission-4sak20nb.js → worktree-j26sntzs.js} +12 -12
- package/dist/chunks/{permission-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-dhfnq7cz.js → worktree-j9ayj4zc.js} +27 -27
- package/dist/chunks/{permission-t48gppwk.js → worktree-janr2w61.js} +22 -22
- package/dist/chunks/{permission-54rshveq.js → worktree-jnbt5kke.js} +23 -23
- package/dist/chunks/{permission-tk1jy2x3.js → worktree-jq2khwfm.js} +20 -20
- package/dist/chunks/{permission-n3nn477v.js → worktree-jt1zekb2.js} +18 -18
- package/dist/chunks/{permission-jwcy2c2z.js → worktree-jwcy2c2z.js} +1 -1
- package/dist/chunks/{permission-ghv54smh.js → worktree-jxben73j.js} +11 -11
- package/dist/chunks/{permission-ngt7ecf9.js → worktree-k15ab44n.js} +6 -6
- package/dist/chunks/{permission-nzks3jc8.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-reg6q42h.js → worktree-k8hpw67k.js} +5 -5
- package/dist/chunks/{permission-r2f6481p.js → worktree-kdw1p45x.js} +19 -19
- package/dist/chunks/{permission-v8m7gbe5.js → worktree-ke9wcgg9.js} +9 -9
- package/dist/chunks/{permission-tbhezzwm.js → worktree-kgkh60qc.js} +31 -31
- package/dist/chunks/{permission-14c14xej.js → worktree-kmntd6fa.js} +14 -14
- package/dist/chunks/{permission-n0t91eez.js → worktree-kqa3zwqq.js} +28 -28
- package/dist/chunks/{permission-4gk3n205.js → worktree-kvdx9qh0.js} +22 -22
- package/dist/chunks/{permission-1nzh38e4.js → worktree-kw9xdzv2.js} +9 -9
- package/dist/chunks/{permission-k3cdxeqz.js → worktree-kwyat364.js} +16 -16
- package/dist/chunks/{permission-m7va1g8x.js → worktree-ky3seynh.js} +2 -2
- package/dist/chunks/{permission-etsqtbhr.js → worktree-m08wkhy0.js} +8 -8
- package/dist/chunks/{permission-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-5q13c62c.js → worktree-m6f3t844.js} +8 -8
- package/dist/chunks/{permission-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-2vgzs72b.js → worktree-ma48de29.js} +5 -5
- package/dist/chunks/{permission-j9q6k7aj.js → worktree-mbycs7xn.js} +8 -8
- package/dist/chunks/{permission-5qbehed9.js → worktree-mc8dzm2m.js} +6 -6
- package/dist/chunks/{permission-5hfyzxkm.js → worktree-mdskkmyq.js} +15 -15
- package/dist/chunks/{permission-gzfen01c.js → worktree-mfhjs9pf.js} +4 -4
- package/dist/chunks/{permission-ajdjch6h.js → worktree-mkw5hrks.js} +9 -9
- package/dist/chunks/{permission-mvksx64m.js → worktree-mvksx64m.js} +4 -4
- package/dist/chunks/{permission-nj1ne2aq.js → worktree-mwtjvb3s.js} +58 -58
- package/dist/chunks/{permission-f35htakt.js → worktree-mwz6j41z.js} +6 -6
- package/dist/chunks/{permission-yynwptpj.js → worktree-mxjy4sk4.js} +19 -19
- package/dist/chunks/{permission-zq57yxn8.js → worktree-n093hytc.js} +76 -76
- package/dist/chunks/{permission-xcxmx1ny.js → worktree-n1f7dk7k.js} +16 -16
- package/dist/chunks/{permission-2rpfb17w.js → worktree-n2fgpkxf.js} +17 -17
- package/dist/chunks/{permission-1xa0h2ms.js → worktree-n6yw1bmz.js} +6 -6
- package/dist/chunks/{permission-d33bm1cf.js → worktree-n79fjaqn.js} +14 -14
- package/dist/chunks/{permission-vs1r7qq9.js → worktree-n8epb2f3.js} +21 -21
- package/dist/chunks/{permission-x3mwxeme.js → worktree-n99xb23m.js} +8 -8
- package/dist/chunks/{permission-24acafqq.js → worktree-na68e3aj.js} +23 -23
- package/dist/chunks/{permission-0jdm48jn.js → worktree-naew6wv7.js} +40 -40
- package/dist/chunks/{permission-k2g1dzr3.js → worktree-newx50ce.js} +3 -3
- package/dist/chunks/{permission-kfphszmj.js → worktree-nscznvay.js} +9 -9
- package/dist/chunks/{permission-azs9k5d5.js → worktree-nx4vh8py.js} +10 -10
- package/dist/chunks/{permission-yt0fqk68.js → worktree-p44d8wdy.js} +5 -5
- package/dist/chunks/{permission-7ewykddx.js → worktree-p4ngywjt.js} +5 -5
- package/dist/chunks/{permission-h7h63fbb.js → worktree-p9g6edyn.js} +11 -11
- package/dist/chunks/{permission-0g7pd6ta.js → worktree-pcsd5hvp.js} +28 -28
- package/dist/chunks/{permission-d847bbj0.js → worktree-pe8mbhm6.js} +13 -13
- package/dist/chunks/{permission-pfwe42sa.js → worktree-pewkkx94.js} +10 -10
- package/dist/chunks/{permission-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-svf4gwh1.js → worktree-pjzg4rs2.js} +4 -4
- package/dist/chunks/{permission-5v1y5507.js → worktree-pkbn8ntv.js} +5 -5
- package/dist/chunks/{permission-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{permission-19vh884z.js → worktree-pmpthfvp.js} +20 -20
- package/dist/chunks/{permission-684ndb9j.js → worktree-pp758716.js} +22 -22
- package/dist/chunks/{permission-1ysbcb6q.js → worktree-pqjrvzcw.js} +11 -11
- package/dist/chunks/{permission-kz92j2tj.js → worktree-ps7587j7.js} +18 -18
- package/dist/chunks/{permission-bp0aq75x.js → worktree-q3eynse1.js} +7 -7
- package/dist/chunks/{permission-sebm3pt6.js → worktree-qfhs05fv.js} +12 -12
- package/dist/chunks/{permission-2k8khapm.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{permission-2sejkfem.js → worktree-qmqgtz8f.js} +9 -9
- package/dist/chunks/{permission-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-j3ddgfcr.js → worktree-qt2a2r7m.js} +6 -6
- package/dist/chunks/{permission-ywyx2haj.js → worktree-qz02d4gv.js} +7 -7
- package/dist/chunks/{permission-zvaxvgce.js → worktree-qzdhq6gs.js} +20 -20
- package/dist/chunks/{permission-dfpaty28.js → worktree-qzzxwa2f.js} +11 -11
- package/dist/chunks/{permission-smr7e5fr.js → worktree-r7thwgs5.js} +18 -18
- package/dist/chunks/{permission-8dz9zr32.js → worktree-ra57bp20.js} +9 -9
- package/dist/chunks/{permission-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-1ycd2rxc.js → worktree-rfb9sreq.js} +37 -37
- package/dist/chunks/{permission-rhjbct0v.js → worktree-rhjbct0v.js} +1 -1
- package/dist/chunks/{permission-hkspma10.js → worktree-rk8vfsg9.js} +14 -14
- package/dist/chunks/{permission-6pc27hjz.js → worktree-rkprpv83.js} +6 -6
- package/dist/chunks/{permission-p0thxmc5.js → worktree-s3sfgg05.js} +3 -3
- package/dist/chunks/{permission-y6x7sa31.js → worktree-s4bg3x1g.js} +38 -38
- package/dist/chunks/{permission-fmnxy78r.js → worktree-s61wkdxb.js} +17 -17
- package/dist/chunks/{permission-584yye6p.js → worktree-sf02ybzk.js} +40 -40
- package/dist/chunks/{permission-v3sgzvyr.js → worktree-sfntmzm9.js} +1 -1
- package/dist/chunks/{permission-34t9xht8.js → worktree-sg55x592.js} +48 -48
- package/dist/chunks/{permission-p5t99sjb.js → worktree-st0wxvz0.js} +13 -13
- package/dist/chunks/{permission-r98e92ep.js → worktree-sx1n432n.js} +4 -4
- package/dist/chunks/{permission-sxzvkvgj.js → worktree-sxzvkvgj.js} +1 -1
- package/dist/chunks/{permission-v0ggm0fh.js → worktree-t2h3929f.js} +14 -14
- package/dist/chunks/{permission-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-41czef58.js → worktree-tb1cafh6.js} +4 -4
- package/dist/chunks/{permission-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{permission-8nrxx7ew.js → worktree-tkv06rt5.js} +7 -7
- package/dist/chunks/{permission-5yzzbxa7.js → worktree-tpw6cwsb.js} +8 -8
- package/dist/chunks/{permission-jksg1452.js → worktree-ttf2sjfk.js} +15 -15
- package/dist/chunks/{permission-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-6fk4tdpn.js → worktree-txhsw5z1.js} +10 -10
- package/dist/chunks/{permission-mkg8e4q8.js → worktree-v38nc8kc.js} +28 -28
- package/dist/chunks/{permission-pm3n1g0e.js → worktree-vdgcnvxy.js} +15 -15
- package/dist/chunks/{permission-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-7wb193pp.js → worktree-vf3zqv76.js} +15 -15
- package/dist/chunks/{permission-y06pfwqc.js → worktree-vfkxywyq.js} +24 -24
- package/dist/chunks/{permission-zzja90ps.js → worktree-vwwmtnca.js} +19 -19
- package/dist/chunks/{permission-awaee7qt.js → worktree-vyqn3nqs.js} +6 -6
- package/dist/chunks/{permission-j23yr5b5.js → worktree-vz9haa5b.js} +33 -33
- package/dist/chunks/{permission-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-xwb191sg.js → worktree-w17508vf.js} +12 -12
- package/dist/chunks/{permission-b6mtjhv1.js → worktree-w1j9nm09.js} +10 -10
- package/dist/chunks/{permission-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-wd3x2cqz.js → worktree-wd3x2cqz.js} +2 -2
- package/dist/chunks/{permission-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{permission-m9b6kb6q.js → worktree-wkx5ts7j.js} +1 -1
- package/dist/chunks/{permission-yt30x9cm.js → worktree-x0sgcbm0.js} +24 -24
- package/dist/chunks/{permission-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-ae682ca7.js → worktree-x2fe1d14.js} +3 -3
- package/dist/chunks/{permission-xqczf6qp.js → worktree-x5qaxq4m.js} +11 -11
- package/dist/chunks/{permission-awv4ahag.js → worktree-x6pndzmr.js} +11 -11
- package/dist/chunks/{permission-ck61pxrr.js → worktree-x7a8dc8r.js} +33 -33
- package/dist/chunks/{permission-hcrg44m0.js → worktree-xhsn75b2.js} +7 -7
- package/dist/chunks/{permission-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
- package/dist/chunks/{permission-nkdg3sj8.js → worktree-xnrrqkxx.js} +7 -7
- package/dist/chunks/{permission-256nx13v.js → worktree-xxynqx5z.js} +3 -3
- package/dist/chunks/{permission-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-4scqb8zw.js → worktree-y2d6hc89.js} +17 -17
- package/dist/chunks/{permission-m4avm7a4.js → worktree-y3ntbath.js} +15 -15
- package/dist/chunks/{permission-9s46jenq.js → worktree-y6yanky9.js} +33 -33
- package/dist/chunks/{permission-czy61f26.js → worktree-yhqrd6s3.js} +12 -12
- package/dist/chunks/{permission-45e4geyc.js → worktree-ykpsr87k.js} +35 -35
- package/dist/chunks/{permission-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-e7vdtnc4.js → worktree-yvppbn9c.js} +7 -7
- package/dist/chunks/{permission-z07pqspn.js → worktree-z07pqspn.js} +3 -3
- package/dist/chunks/{permission-nb9p6b26.js → worktree-z0aj456m.js} +4 -4
- package/dist/chunks/{permission-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-5qc3t8ee.js → worktree-z2q1945k.js} +40 -40
- package/dist/chunks/{permission-3f4rnrsa.js → worktree-z4nhvzkj.js} +23 -23
- package/dist/chunks/{permission-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-h7eh6x2y.js → worktree-za9cx4qh.js} +8 -8
- package/dist/chunks/{permission-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/chunks/{permission-nr94q6s0.js → worktree-zz9f7sca.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +82 -82
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +77 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- 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 +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- 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 +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +114 -114
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/permission-gexvz8d1.js +0 -26
- package/dist/chunks/permission-hbvxqsxt.js +0 -252
- package/dist/chunks/permission-rap9a73h.js +0 -18
- /package/dist/chunks/{permission-0mesazry.js → worktree-0mesazry.js} +0 -0
- /package/dist/chunks/{permission-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./worktree-n1f7dk7k.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
Service79,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node82
|
|
9
|
+
} from "./worktree-kwyat364.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-gy2xc5tx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -33,15 +33,15 @@ __export(exports_integration, {
|
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
34
|
Event: () => Event18,
|
|
35
35
|
ID: () => ID14,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
|
-
Ref: () =>
|
|
42
|
+
Ref: () => Ref3,
|
|
43
43
|
Service: () => Service77,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node80
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,7 +98,7 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
103
|
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
@@ -107,7 +107,7 @@ var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
108
|
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
109
109
|
const credentials = yield* Service79;
|
|
110
|
-
const bus = yield*
|
|
110
|
+
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
583
|
+
var node80 = makeLocationNode({
|
|
584
584
|
service: Service77,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node82, node86, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node80, exports_integration, Event18 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-2vjymgz4.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin16,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin16 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin17 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin17 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin16, exports_firecrawl };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node86
|
|
7
|
+
} from "./worktree-n1f7dk7k.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
10
|
Service79,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node82
|
|
12
|
+
} from "./worktree-kwyat364.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node83
|
|
16
|
+
} from "./worktree-s61wkdxb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service58,
|
|
19
|
+
node60
|
|
20
|
+
} from "./worktree-x0sgcbm0.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
23
|
Service78,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
node81
|
|
25
|
+
} from "./worktree-gy2xc5tx.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service77,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
node80
|
|
35
|
+
} from "./worktree-r7thwgs5.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./worktree-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service33,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer11,
|
|
58
|
+
node: () => node36
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,18 +93,18 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
104
|
+
var layer11 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service80;
|
|
106
|
+
const environment = yield* Service58;
|
|
107
|
+
const bus = yield* Service83;
|
|
108
108
|
const forms = yield* Service78;
|
|
109
109
|
const integration = yield* Service77;
|
|
110
110
|
const credentials = yield* Service79;
|
|
@@ -259,7 +259,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service58, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -410,7 +410,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service33.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured3(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service33,
|
|
522
|
+
layer: layer11(options),
|
|
523
|
+
deps: [node83, node60, node86, node81, node80, node82]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node36 = configured3();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options3, layer11, configured3, node36, exports_mcp4 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node60
|
|
9
|
+
} from "./worktree-x0sgcbm0.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-n99xb23m.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,7 +33,7 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service4,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
38
|
node: () => node6,
|
|
39
39
|
read: () => read2
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service58;
|
|
335
|
+
return Service4.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var node6 = makeLocationNode({ service:
|
|
340
|
+
var node6 = makeLocationNode({ service: Service4, layer, deps: [node60] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node6, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./worktree-cahryj50.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./worktree-x6pndzmr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
node85
|
|
8
|
-
} from "./permission-xcxmx1ny.js";
|
|
9
|
-
import {
|
|
10
|
-
Service82,
|
|
6
|
+
Service83,
|
|
11
7
|
node86
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./worktree-n1f7dk7k.js";
|
|
9
|
+
import {
|
|
10
|
+
Service43,
|
|
11
|
+
node45
|
|
12
|
+
} from "./worktree-5rbhaw37.js";
|
|
13
13
|
import {
|
|
14
14
|
Service42,
|
|
15
15
|
node44
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-sxzvkvgj.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./worktree-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service39
|
|
26
|
+
} from "./worktree-06x8he3q.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-mwz6j41z.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service68,
|
|
32
|
+
node71
|
|
33
|
+
} from "./worktree-y3ntbath.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-bqkvb2j5.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-f2t31f47.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./worktree-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service38,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer15,
|
|
50
|
+
node: () => node41,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service38 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
68
|
+
var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service68;
|
|
70
70
|
const instances = yield* Service42;
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
71
|
+
const bus = yield* Service83;
|
|
72
|
+
const jobs = yield* Service43;
|
|
73
73
|
const db = (yield* Service84).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make15({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service38.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node41 = makeGlobalNode({
|
|
133
|
+
service: Service38,
|
|
134
|
+
layer: layer15,
|
|
135
|
+
deps: [node71, node44, node86, node87, node45]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer2 = Layer.succeed(
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service38, terminal2, layer15, node41, noopLayer2, exports_execution };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./worktree-0rvaxq3r.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info32,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info32, Ref4, response2, Service80, node83, boundNode2, exports_location };
|