@opencode/core 0.0.0-beta-19500 → 0.0.0-beta-19507
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +82 -82
- package/dist/chunks/{model-resolver-3kafhsr8.js → file-access-057tqkc7.js} +22 -22
- package/dist/chunks/file-access-05fbhmag.js +22 -0
- package/dist/chunks/{model-resolver-4kmhmgeg.js → file-access-074en4ea.js} +166 -166
- package/dist/chunks/{model-resolver-ydgy0jv4.js → file-access-07770t2t.js} +4 -4
- package/dist/chunks/{model-resolver-0g6mfyfr.js → file-access-092yf68v.js} +54 -54
- package/dist/chunks/{model-resolver-vvccsdf3.js → file-access-0bps82y7.js} +6 -6
- package/dist/chunks/{model-resolver-8yrnm0fa.js → file-access-0f9s97z0.js} +18 -18
- package/dist/chunks/{model-resolver-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-kvffe9p6.js → file-access-0qnveg08.js} +20 -20
- package/dist/chunks/{model-resolver-mwnd972w.js → file-access-0sxmdcx0.js} +36 -36
- package/dist/chunks/{model-resolver-prp52c5q.js → file-access-0wqa8qs0.js} +11 -11
- package/dist/chunks/{model-resolver-87mnny1s.js → file-access-162fttv1.js} +16 -16
- package/dist/chunks/{model-resolver-26jcn8kh.js → file-access-16hg2h50.js} +12 -12
- package/dist/chunks/{model-resolver-3gjfrb28.js → file-access-19kp6pf8.js} +27 -27
- package/dist/chunks/{model-resolver-789bpvq4.js → file-access-1bagj3va.js} +11 -11
- package/dist/chunks/{model-resolver-27596drg.js → file-access-1ct3cw4h.js} +26 -26
- package/dist/chunks/{model-resolver-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-j12k6d1r.js → file-access-1p1yz3k5.js} +36 -36
- package/dist/chunks/{model-resolver-kxpygcw9.js → file-access-1tq060df.js} +6 -6
- package/dist/chunks/{model-resolver-x1avke2d.js → file-access-1ve8gnt4.js} +92 -92
- package/dist/chunks/{model-resolver-hya8ywrc.js → file-access-1yag4scb.js} +73 -73
- package/dist/chunks/{model-resolver-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → file-access-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-ewbqqj16.js → file-access-289rv1w6.js} +15 -15
- package/dist/chunks/{model-resolver-htk69tte.js → file-access-29qf8dn7.js} +7 -7
- package/dist/chunks/{model-resolver-z63w68vq.js → file-access-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-mrsqtdpn.js → file-access-29ypnx2x.js} +36 -36
- package/dist/chunks/{model-resolver-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-wf4bebac.js → file-access-2a9f2qq7.js} +14 -14
- package/dist/chunks/{model-resolver-079cv0ze.js → file-access-2eywq100.js} +26 -26
- package/dist/chunks/{model-resolver-0pm1m3w8.js → file-access-2hhnmqep.js} +13 -13
- package/dist/chunks/{model-resolver-2k8khapm.js → file-access-2k8khapm.js} +1 -1
- package/dist/chunks/{model-resolver-g5rnekq0.js → file-access-2ve45fd6.js} +5 -5
- package/dist/chunks/{model-resolver-xs8g0vg3.js → file-access-2w1d5hqx.js} +6 -6
- package/dist/chunks/{model-resolver-h4q9s1ny.js → file-access-2wgyfjx6.js} +17 -17
- package/dist/chunks/{model-resolver-s534qmrw.js → file-access-2wyjv582.js} +4 -4
- package/dist/chunks/{model-resolver-z7dhx1kn.js → file-access-36d0e9rd.js} +24 -24
- package/dist/chunks/{model-resolver-gdvy8fx6.js → file-access-3fc6dm20.js} +4 -4
- package/dist/chunks/{model-resolver-ck6gmqc6.js → file-access-3h3mykw7.js} +39 -39
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-vncycja5.js → file-access-3j8sdtpz.js} +4 -4
- package/dist/chunks/{model-resolver-3q1jyqhd.js → file-access-3jp54z3r.js} +1 -1
- package/dist/chunks/{model-resolver-021ffpa0.js → file-access-3m9xbvw6.js} +19 -19
- package/dist/chunks/{model-resolver-z2b5d6zb.js → file-access-3p9gq7xw.js} +6 -6
- package/dist/chunks/{model-resolver-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-dqyg47hv.js → file-access-4786se8r.js} +1 -1
- package/dist/chunks/{model-resolver-gkv3re89.js → file-access-4r4fb002.js} +8 -8
- package/dist/chunks/{model-resolver-4y66k410.js → file-access-4y66k410.js} +2 -2
- package/dist/chunks/{model-resolver-ggj3dvvh.js → file-access-50m2c0q3.js} +15 -15
- package/dist/chunks/{model-resolver-8abbabsk.js → file-access-50wkfpjr.js} +24 -24
- package/dist/chunks/{model-resolver-rj9a996t.js → file-access-54r5fgfq.js} +9 -9
- package/dist/chunks/{model-resolver-sdcezsxk.js → file-access-55nxwdxq.js} +17 -17
- package/dist/chunks/{model-resolver-07cx4w7f.js → file-access-5bjhkrjj.js} +6 -6
- package/dist/chunks/{model-resolver-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-0jwvfzzp.js → file-access-5kn1j1nt.js} +23 -23
- package/dist/chunks/{model-resolver-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/file-access-64h6ppck.js +247 -0
- package/dist/chunks/{model-resolver-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-e86807kd.js → file-access-6b41461m.js} +92 -92
- package/dist/chunks/{model-resolver-70xr52zc.js → file-access-6fywv4en.js} +24 -24
- package/dist/chunks/{model-resolver-jwazx1ed.js → file-access-6hjqy50w.js} +36 -36
- package/dist/chunks/{model-resolver-h7ygw6q4.js → file-access-6jnybvqn.js} +9 -9
- package/dist/chunks/file-access-6kdq0pjd.js +4 -0
- package/dist/chunks/{model-resolver-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-vnv2t9ht.js → file-access-6s8fgxzr.js} +4 -4
- package/dist/chunks/{model-resolver-epzffrx8.js → file-access-6ybvw0w7.js} +25 -25
- package/dist/chunks/{model-resolver-h2fnsspk.js → file-access-6ymtkfzb.js} +11 -11
- package/dist/chunks/{model-resolver-m4hypjkm.js → file-access-6zwbw4we.js} +11 -11
- package/dist/chunks/{model-resolver-71q4at8m.js → file-access-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-4grgn5v0.js → file-access-798sgk8w.js} +11 -11
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-8p2zvf0d.js → file-access-7hbsyrtj.js} +31 -31
- package/dist/chunks/{model-resolver-7z7az0f5.js → file-access-7j92jdde.js} +4 -4
- package/dist/chunks/{model-resolver-0wmmprtc.js → file-access-7jrfegz8.js} +30 -30
- package/dist/chunks/{model-resolver-rtkh6q4b.js → file-access-7k68m5b6.js} +11 -11
- package/dist/chunks/{model-resolver-xtzwr8pq.js → file-access-7vczhnf2.js} +11 -11
- package/dist/chunks/{model-resolver-aztjpt51.js → file-access-7w5qhqhs.js} +18 -18
- package/dist/chunks/{model-resolver-ryr25ayn.js → file-access-806j49yq.js} +4 -4
- package/dist/chunks/{model-resolver-rsym84ch.js → file-access-81swgkk7.js} +7 -7
- package/dist/chunks/{model-resolver-rq6dswfj.js → file-access-833eac0h.js} +10 -10
- package/dist/chunks/{model-resolver-581kfnqp.js → file-access-85b01qar.js} +18 -18
- package/dist/chunks/{model-resolver-qyxt0tsw.js → file-access-8a0b7fze.js} +4 -4
- package/dist/chunks/{model-resolver-s2whfhf8.js → file-access-8cw6nfrt.js} +23 -23
- package/dist/chunks/{model-resolver-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-k6h76ggr.js → file-access-8mc8s27z.js} +25 -25
- package/dist/chunks/{model-resolver-8p4f9s12.js → file-access-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-nv6fkpt4.js → file-access-8p576cyw.js} +17 -17
- package/dist/chunks/{model-resolver-kk8h1mek.js → file-access-8t1wrec1.js} +8 -8
- package/dist/chunks/{model-resolver-8p8b376s.js → file-access-8v86gz5j.js} +27 -27
- package/dist/chunks/{model-resolver-3tq8bdpm.js → file-access-8wccq5jz.js} +13 -13
- package/dist/chunks/{model-resolver-87qnmf38.js → file-access-92a7scs5.js} +35 -35
- package/dist/chunks/{model-resolver-j7wq2tw5.js → file-access-93hpb89x.js} +3 -3
- package/dist/chunks/{model-resolver-k6556a45.js → file-access-954vm9zf.js} +6 -6
- package/dist/chunks/{model-resolver-bq4vzaks.js → file-access-9655radm.js} +46 -46
- package/dist/chunks/{model-resolver-yjv2keaj.js → file-access-98yekt2h.js} +37 -37
- package/dist/chunks/{model-resolver-rctyp4y4.js → file-access-9998dwsd.js} +24 -24
- package/dist/chunks/{model-resolver-djmbsxn3.js → file-access-99yaft7y.js} +9 -9
- package/dist/chunks/{model-resolver-p52p41ww.js → file-access-9b1t164c.js} +14 -14
- package/dist/chunks/{model-resolver-cbg8bv93.js → file-access-9d8v8ke2.js} +10 -10
- package/dist/chunks/{model-resolver-qn8ypmg1.js → file-access-9pf502c0.js} +12 -12
- package/dist/chunks/{model-resolver-a1bz86dw.js → file-access-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-twy35tz0.js → file-access-a5gt7g2r.js} +9 -9
- package/dist/chunks/{model-resolver-74w3tna1.js → file-access-a82vvkn3.js} +18 -18
- package/dist/chunks/{model-resolver-sph8ksss.js → file-access-a9h2vqbk.js} +9 -9
- package/dist/chunks/{model-resolver-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-wj9n5p3k.js → file-access-ad0pt644.js} +5 -5
- package/dist/chunks/{model-resolver-37s12vcn.js → file-access-ag9w8cw1.js} +5 -5
- package/dist/chunks/{model-resolver-6jcw83n3.js → file-access-avdg492x.js} +47 -47
- package/dist/chunks/{model-resolver-kbn8346a.js → file-access-awx7v7h5.js} +11 -11
- package/dist/chunks/{model-resolver-75evgfh8.js → file-access-ayfrx99c.js} +15 -15
- package/dist/chunks/{model-resolver-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-7fys8geh.js → file-access-bap3gy1s.js} +16 -16
- package/dist/chunks/{model-resolver-xg9t41r3.js → file-access-be40ghdv.js} +2 -2
- package/dist/chunks/{model-resolver-s5wnyv46.js → file-access-bh9xqmdb.js} +32 -32
- package/dist/chunks/{model-resolver-gw82nkc3.js → file-access-c1fhravq.js} +32 -32
- package/dist/chunks/{model-resolver-r9ghxtsk.js → file-access-c3jkddnq.js} +6 -6
- package/dist/chunks/{model-resolver-b22gj5xn.js → file-access-c6npeh2h.js} +32 -32
- package/dist/chunks/{model-resolver-a2cfvfg1.js → file-access-c7q2zwp5.js} +20 -20
- package/dist/chunks/{model-resolver-9stj6zpb.js → file-access-ca64vat9.js} +32 -32
- package/dist/chunks/{model-resolver-0wbgnjtz.js → file-access-ccxygkss.js} +5 -5
- package/dist/chunks/{model-resolver-cfpkc3c9.js → file-access-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-qa6ytjmd.js → file-access-cmrf6j2e.js} +15 -15
- package/dist/chunks/{model-resolver-dv1qgsyq.js → file-access-cmwkp3r5.js} +8 -8
- package/dist/chunks/{model-resolver-1hc11dc4.js → file-access-csf2jhsg.js} +4 -4
- package/dist/chunks/{model-resolver-tp3xxvx5.js → file-access-ct0crnq6.js} +43 -43
- package/dist/chunks/{model-resolver-0334ef0p.js → file-access-cza9j1er.js} +1 -1
- package/dist/chunks/{model-resolver-mg5mchpt.js → file-access-d09g07f5.js} +28 -28
- package/dist/chunks/{model-resolver-d2aac7k2.js → file-access-d2aac7k2.js} +2 -2
- package/dist/chunks/{model-resolver-2cshb6bs.js → file-access-d2nsem9c.js} +26 -26
- package/dist/chunks/{model-resolver-gwfcx2m0.js → file-access-d6ppqdhn.js} +22 -22
- package/dist/chunks/{model-resolver-n37c4crj.js → file-access-depwzj9d.js} +9 -9
- package/dist/chunks/{model-resolver-t7n9q6bq.js → file-access-dhmh7aw6.js} +4 -4
- package/dist/chunks/{model-resolver-me88hgte.js → file-access-dpnaqgym.js} +23 -23
- package/dist/chunks/{model-resolver-b77arecc.js → file-access-drbmzzp6.js} +26 -26
- package/dist/chunks/{model-resolver-98kgw1j6.js → file-access-dw1fjyb0.js} +5 -5
- package/dist/chunks/{model-resolver-mz60zy6e.js → file-access-dyw6ca8r.js} +18 -18
- package/dist/chunks/{model-resolver-vhj1rs6k.js → file-access-e0wvz8qy.js} +22 -22
- package/dist/chunks/{model-resolver-9rzqjwaz.js → file-access-e17bkqjz.js} +1 -1
- package/dist/chunks/{model-resolver-e6fygs6z.js → file-access-e2tvng7c.js} +23 -23
- package/dist/chunks/{model-resolver-erhkyex8.js → file-access-e3nd4ayr.js} +4 -4
- package/dist/chunks/{model-resolver-wrjeysgp.js → file-access-ea8nv0r7.js} +2 -2
- package/dist/chunks/{model-resolver-1gqabzhy.js → file-access-ebz469zm.js} +18 -18
- package/dist/chunks/{model-resolver-q91t8a1k.js → file-access-eh8n39qf.js} +18 -18
- package/dist/chunks/{model-resolver-f8xc4yre.js → file-access-ehknnwyx.js} +29 -29
- package/dist/chunks/{model-resolver-mb5a7wwz.js → file-access-epa61trx.js} +8 -8
- package/dist/chunks/{model-resolver-gwnxf6ch.js → file-access-eqpk83eg.js} +6 -6
- package/dist/chunks/{model-resolver-0mywzg06.js → file-access-etca44vv.js} +25 -25
- package/dist/chunks/{model-resolver-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-s1vvg2cq.js → file-access-f4mxeny4.js} +7 -7
- package/dist/chunks/{model-resolver-f828m53h.js → file-access-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-23sxaqwc.js → file-access-fjvydvzm.js} +5 -5
- package/dist/chunks/{model-resolver-9y7khav7.js → file-access-fpkam962.js} +15 -15
- package/dist/chunks/{model-resolver-f8zs2stk.js → file-access-fpv6qd1b.js} +8 -8
- package/dist/chunks/{model-resolver-spr8pf2r.js → file-access-fx94a4xa.js} +6 -6
- package/dist/chunks/{model-resolver-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-jbe1bvhn.js → file-access-fxtmjajv.js} +31 -31
- package/dist/chunks/{model-resolver-1ptmpf20.js → file-access-g14zqp48.js} +8 -8
- package/dist/chunks/{model-resolver-3hgg98pr.js → file-access-g3r1njd0.js} +28 -28
- package/dist/chunks/{model-resolver-774n8a20.js → file-access-g6ech2dm.js} +9 -9
- package/dist/chunks/{model-resolver-z2kz5700.js → file-access-gbhfcamq.js} +17 -17
- package/dist/chunks/{model-resolver-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-pvvs7m8f.js → file-access-h83x8fry.js} +13 -13
- package/dist/chunks/{model-resolver-wwmx33bt.js → file-access-h8sjebh6.js} +5 -5
- package/dist/chunks/{model-resolver-d2fv866c.js → file-access-h9wq4q8z.js} +13 -13
- package/dist/chunks/{model-resolver-fxqygnfa.js → file-access-hc7n3jk5.js} +4 -4
- package/dist/chunks/{model-resolver-d880b0y6.js → file-access-hgsea5z3.js} +30 -30
- package/dist/chunks/{model-resolver-zf0svfz5.js → file-access-hgyq9xg3.js} +18 -18
- package/dist/chunks/{model-resolver-z2qr9twd.js → file-access-hzmns3wg.js} +1 -1
- package/dist/chunks/{model-resolver-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-paphc93g.js → file-access-j935v87r.js} +2 -2
- package/dist/chunks/{model-resolver-qdcfe15v.js → file-access-jeanpfns.js} +1 -1
- package/dist/chunks/{model-resolver-2verbhpp.js → file-access-jgwtszpa.js} +37 -37
- package/dist/chunks/{model-resolver-mz65vdgf.js → file-access-jhcd8dwt.js} +20 -20
- package/dist/chunks/{model-resolver-121k57vw.js → file-access-jj63jgrn.js} +4 -4
- package/dist/chunks/file-access-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-4bfepadc.js → file-access-k1yeadxq.js} +4 -4
- package/dist/chunks/{model-resolver-hwap2x7x.js → file-access-k5rs1z8v.js} +22 -22
- package/dist/chunks/{model-resolver-kg06axw8.js → file-access-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-g190xswt.js → file-access-kk00bynn.js} +21 -21
- package/dist/chunks/{model-resolver-csz4k5km.js → file-access-kntbkpw6.js} +18 -18
- package/dist/chunks/{model-resolver-aczsg4vg.js → file-access-m0bw0e4m.js} +28 -28
- package/dist/chunks/{model-resolver-98a0b00a.js → file-access-m7y3f53v.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-a4vx34cq.js → file-access-m9wxyjft.js} +11 -11
- package/dist/chunks/{model-resolver-fdc0z0c3.js → file-access-mce70z9k.js} +2 -2
- package/dist/chunks/{model-resolver-1ygqh575.js → file-access-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-shqnjwtb.js → file-access-mqt7ckw4.js} +21 -21
- package/dist/chunks/{model-resolver-r532bney.js → file-access-mtegq6tq.js} +4 -4
- package/dist/chunks/{model-resolver-mhkvc446.js → file-access-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-resolver-dkck3j8g.js → file-access-n747g3fh.js} +5 -5
- package/dist/chunks/{model-resolver-drknmmyh.js → file-access-n7qjkrfm.js} +9 -9
- package/dist/chunks/{model-resolver-0hf448nj.js → file-access-n990e9jc.js} +8 -8
- package/dist/chunks/{model-resolver-x940zq77.js → file-access-nbddwgy7.js} +10 -10
- package/dist/chunks/{model-resolver-818pfwc9.js → file-access-ndzempgb.js} +11 -11
- package/dist/chunks/{model-resolver-mhdwrqr0.js → file-access-nfvsp598.js} +3 -3
- package/dist/chunks/{model-resolver-e82z9tr0.js → file-access-nhy5jxhy.js} +7 -7
- package/dist/chunks/{model-resolver-wgf958fy.js → file-access-nsva66p3.js} +30 -30
- package/dist/chunks/{model-resolver-6kyz0a76.js → file-access-nv5vn7qx.js} +4 -4
- package/dist/chunks/{model-resolver-3nxeqbj3.js → file-access-p49w4vfv.js} +16 -16
- package/dist/chunks/{model-resolver-vy514hgv.js → file-access-pgyeg8d2.js} +9 -9
- package/dist/chunks/{model-resolver-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-am89cgs6.js → file-access-pkpqbj6e.js} +12 -12
- package/dist/chunks/{model-resolver-g6fkknnq.js → file-access-px5bqy57.js} +26 -26
- package/dist/chunks/{model-resolver-bcbgj7m0.js → file-access-q1gv8zwg.js} +18 -18
- package/dist/chunks/{model-resolver-csz41kxq.js → file-access-q1yd4tcg.js} +5 -5
- package/dist/chunks/{model-resolver-trk3y68z.js → file-access-q6jpwyt1.js} +61 -61
- package/dist/chunks/{model-resolver-qwkytnft.js → file-access-qd8wwfxt.js} +9 -9
- package/dist/chunks/{model-resolver-xdk7tsve.js → file-access-qmy7xtej.js} +1 -1
- package/dist/chunks/{model-resolver-6wxzvafn.js → file-access-qny2rjqg.js} +11 -11
- package/dist/chunks/{model-resolver-y94qkjj7.js → file-access-qs55kqfs.js} +10 -10
- package/dist/chunks/{model-resolver-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-qn4ba14w.js → file-access-qte5z7bc.js} +5 -5
- package/dist/chunks/{model-resolver-6xt4p4wv.js → file-access-qxj3mjt1.js} +9 -9
- package/dist/chunks/{model-resolver-zpkbxaqd.js → file-access-r1hceb3x.js} +4 -4
- package/dist/chunks/{model-resolver-h3k867zz.js → file-access-r4k1wyhr.js} +5 -5
- package/dist/chunks/{model-resolver-1acjjqhc.js → file-access-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-resolver-r9mregkx.js → file-access-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-7cwz0yjz.js → file-access-rd8fjvyy.js} +17 -17
- package/dist/chunks/{model-resolver-5v1cn1j1.js → file-access-reqevd7p.js} +15 -15
- package/dist/chunks/{model-resolver-02nrjc1r.js → file-access-rhjbct0v.js} +6 -6
- package/dist/chunks/{model-resolver-532bqssk.js → file-access-rhqq9sj2.js} +13 -13
- package/dist/chunks/{model-resolver-t6gatd88.js → file-access-rq0v4azk.js} +48 -48
- package/dist/chunks/{model-resolver-ghej9zy6.js → file-access-rs20ccms.js} +19 -19
- package/dist/chunks/{model-resolver-5v85fpgj.js → file-access-rvpq5vnx.js} +25 -25
- package/dist/chunks/{model-resolver-03s1nxke.js → file-access-rvyy05ds.js} +11 -11
- package/dist/chunks/{model-resolver-942176fc.js → file-access-rzxs471t.js} +8 -8
- package/dist/chunks/{model-resolver-yrznvahk.js → file-access-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-t9e5d74p.js → file-access-s8aab4ga.js} +9 -9
- package/dist/chunks/{model-resolver-1zkr721w.js → file-access-sqb2tzxk.js} +16 -16
- package/dist/chunks/{model-resolver-kx6yd4vg.js → file-access-sthbbwkd.js} +35 -35
- package/dist/chunks/{model-resolver-atny4vj3.js → file-access-t9jk0gx5.js} +11 -11
- package/dist/chunks/{model-resolver-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-dktryzc1.js → file-access-tb22s7pw.js} +26 -26
- package/dist/chunks/{model-resolver-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-x6geafsy.js → file-access-tgqjfyja.js} +3 -3
- package/dist/chunks/{model-resolver-pqg5898n.js → file-access-tn359hwq.js} +12 -12
- package/dist/chunks/{model-resolver-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-rd8pgjwx.js → file-access-vcp78m62.js} +20 -20
- package/dist/chunks/{model-resolver-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-y3fea29m.js → file-access-vkg1qcnj.js} +18 -18
- package/dist/chunks/{model-resolver-hwxt52gm.js → file-access-vv3eqyfe.js} +5 -5
- package/dist/chunks/{model-resolver-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-t82489yp.js → file-access-wbqd4jb4.js} +35 -35
- package/dist/chunks/{model-resolver-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-24e6cc3r.js → file-access-we88g5cm.js} +7 -7
- package/dist/chunks/{model-resolver-0sp60s5d.js → file-access-weg980m4.js} +20 -20
- package/dist/chunks/{model-resolver-pm4pe4yk.js → file-access-wh2r9z7p.js} +29 -29
- package/dist/chunks/{model-resolver-rav9e4bf.js → file-access-wh3mwy9y.js} +8 -8
- package/dist/chunks/{model-resolver-64at0fy0.js → file-access-wk64ntyb.js} +8 -8
- package/dist/chunks/{model-resolver-8y92rm17.js → file-access-wqg2ybf7.js} +6 -6
- package/dist/chunks/{model-resolver-6fvs6bkh.js → file-access-x175c4wg.js} +43 -43
- package/dist/chunks/{model-resolver-q87s0xy8.js → file-access-x1cybn0h.js} +60 -60
- package/dist/chunks/{model-resolver-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-fvf9sjjr.js → file-access-x95hc271.js} +43 -43
- package/dist/chunks/{model-resolver-djqd3v5p.js → file-access-xjcerejp.js} +35 -35
- package/dist/chunks/{model-resolver-psjem9sa.js → file-access-xrs7w8df.js} +10 -10
- package/dist/chunks/{model-resolver-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-6hzp91we.js → file-access-y5g8bess.js} +7 -7
- package/dist/chunks/{model-resolver-dpkg50ah.js → file-access-y71avatq.js} +4 -4
- package/dist/chunks/{model-resolver-vxp3kcg3.js → file-access-ykczf8eq.js} +5 -5
- package/dist/chunks/{model-resolver-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-zceb237h.js → file-access-z2qkwvnb.js} +13 -13
- package/dist/chunks/{model-resolver-s72x8wcp.js → file-access-zbgzbq8q.js} +23 -23
- package/dist/chunks/{model-resolver-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
- package/dist/chunks/file-access-zka7qpah.js +462 -0
- package/dist/chunks/{model-resolver-0k7hqrra.js → file-access-zmvq2rqz.js} +22 -22
- package/dist/chunks/{model-resolver-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-htx7jtvk.js → file-access-zrk6752y.js} +22 -22
- package/dist/chunks/{model-resolver-0vvagabw.js → file-access-zsmcd3bd.js} +27 -27
- package/dist/chunks/{model-resolver-g53r2hff.js → file-access-zttfg7sr.js} +41 -41
- package/dist/chunks/{model-resolver-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- 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 +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/model-resolver-fbf46f8y.js +0 -462
- package/dist/chunks/model-resolver-hjw1g3kj.js +0 -247
- package/dist/chunks/model-resolver-j2k1bkn8.js +0 -22
- package/dist/chunks/model-resolver-qapv375x.js +0 -4
- package/dist/chunks/model-resolver-qdyb70sk.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → file-access-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → file-access-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node76,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node76 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node76, exports_driver };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event15,
|
|
10
|
-
Service64,
|
|
11
|
-
node67
|
|
12
|
-
} from "./model-resolver-mwnd972w.js";
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./file-access-kntbkpw6.js";
|
|
13
8
|
import {
|
|
9
|
+
Event19,
|
|
14
10
|
Service74,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
11
|
+
node79
|
|
12
|
+
} from "./file-access-0sxmdcx0.js";
|
|
13
|
+
import {
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./file-access-bap3gy1s.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node74
|
|
20
|
+
} from "./file-access-36d0e9rd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
ID10,
|
|
23
|
+
Service62,
|
|
24
24
|
node66
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-access-19kp6pf8.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-access-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
33
|
+
Service61,
|
|
34
34
|
node65
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-access-ehknnwyx.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-access-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
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service39,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer16,
|
|
67
|
+
node: () => node43
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID9.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service70;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service62;
|
|
181
|
+
const integration = yield* Service61;
|
|
182
|
+
const credentials = yield* Service74;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID9.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID10.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -358,7 +358,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* 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(
|
|
436
|
+
const result = yield* 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(Service70, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service39.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service39,
|
|
713
|
+
layer: layer16(options),
|
|
714
|
+
deps: [node80, node74, node83, node66, node65, node79]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node43 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service39, Options5, layer16, configured5, node43, exports_mcp4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-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: () => Service49,
|
|
10
|
+
node: () => node53
|
|
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 Service49 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node53 = LayerNode.unbound(Service49, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service49, node53, exports_service2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./file-access-t9jk0gx5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./file-access-0bps82y7.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-csf2jhsg.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-1bagj3va.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-access-7jrfegz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./file-access-6b41461m.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-access-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service49;
|
|
36
|
+
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./file-access-zsmcd3bd.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./file-access-ndzempgb.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-m7y3f53v.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./file-access-9655radm.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-access-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin17
|
|
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(Info20);
|
|
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 Plugin17 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service67;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin21 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -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 { Plugin17, exports_agent };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-access-t9jk0gx5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-access-kntbkpw6.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info28,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info28({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85, node83] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event19, Info28, Service74, node79, exports_credential };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./file-access-9655radm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./file-access-7hbsyrtj.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin2
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin2 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service67;
|
|
26
|
+
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin16 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin2, exports_compaction };
|