@opencode/core 0.0.0-dev-19639 → 0.0.0-dev-19641
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{kv-7ac170kv.js → repository-022zszfk.js} +4 -4
- package/dist/chunks/{kv-9d2y98hx.js → repository-0b14vw1q.js} +10 -10
- package/dist/chunks/{kv-7dqw4kz8.js → repository-0jwsre1p.js} +5 -5
- package/dist/chunks/{kv-ktsp86c1.js → repository-0m270a1v.js} +12 -12
- package/dist/chunks/{kv-6h8410cm.js → repository-0njt823n.js} +15 -15
- package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-zrdk0evt.js → repository-0rq3g8zw.js} +47 -47
- package/dist/chunks/{kv-hpfvhvya.js → repository-0tzy42a9.js} +8 -8
- package/dist/chunks/{kv-9gth7wdx.js → repository-0w1f861w.js} +19 -19
- package/dist/chunks/{kv-ywb23tag.js → repository-13r5jw2b.js} +4 -4
- package/dist/chunks/{kv-aazbweyx.js → repository-17293f3c.js} +25 -25
- package/dist/chunks/{kv-v3w1xs5d.js → repository-1bcxbe9x.js} +18 -18
- package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-y98n2nmb.js → repository-1ekzbtbf.js} +22 -22
- package/dist/chunks/{kv-60rh8x3g.js → repository-1sretzg1.js} +6 -6
- package/dist/chunks/{kv-548bwhbx.js → repository-1wg5p6ww.js} +5 -5
- package/dist/chunks/{kv-rxk5qj53.js → repository-1yz0g0m5.js} +5 -5
- package/dist/chunks/{kv-9c9zbnn4.js → repository-20zb88xt.js} +8 -8
- package/dist/chunks/{kv-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{kv-msq0jde0.js → repository-26k5bknw.js} +4 -4
- package/dist/chunks/{kv-psw4s0xn.js → repository-28va4af7.js} +29 -29
- package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-zr0yvs15.js → repository-2djr425b.js} +14 -14
- package/dist/chunks/{kv-dj9sq318.js → repository-2f0bjgcj.js} +5 -5
- package/dist/chunks/{kv-ydpmx7wn.js → repository-2j4r6xad.js} +32 -32
- package/dist/chunks/{kv-cm4vr11e.js → repository-2jd8g396.js} +4 -4
- package/dist/chunks/{kv-r2m716tb.js → repository-2sejkfem.js} +9 -9
- package/dist/chunks/{kv-verbbpg9.js → repository-2stkan3c.js} +15 -15
- package/dist/chunks/{kv-990yn902.js → repository-2zax08mt.js} +26 -26
- package/dist/chunks/{kv-x58pb539.js → repository-30eqmqpp.js} +11 -11
- package/dist/chunks/{kv-dn2vbr7z.js → repository-34fqh6p5.js} +11 -11
- package/dist/chunks/{kv-zegzr0ah.js → repository-37b6ez2j.js} +23 -23
- package/dist/chunks/{kv-4rpey7g3.js → repository-37ebpvw9.js} +9 -9
- package/dist/chunks/{kv-sm181a3e.js → repository-39f1584t.js} +39 -39
- package/dist/chunks/{kv-vmmg1jfa.js → repository-3bf1s52j.js} +11 -11
- package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-z7pmxwv1.js → repository-3r50wr0m.js} +11 -11
- package/dist/chunks/{kv-g5wygk5r.js → repository-3r7y1bmj.js} +8 -8
- package/dist/chunks/{kv-by366b0z.js → repository-3rsfwx59.js} +11 -11
- package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-tpej8ve4.js → repository-43n7bj9p.js} +17 -17
- package/dist/chunks/{kv-jsa56ppy.js → repository-43x1z7ts.js} +15 -15
- package/dist/chunks/{kv-werfsjnx.js → repository-46mp2fbj.js} +22 -22
- package/dist/chunks/{kv-5kjbzgy0.js → repository-4c6j548z.js} +20 -20
- package/dist/chunks/{kv-v001sjzq.js → repository-4d9e275k.js} +3 -3
- package/dist/chunks/{kv-5rm646d3.js → repository-4dv6yh9h.js} +11 -11
- package/dist/chunks/{kv-bnkdgddv.js → repository-4hbkshj8.js} +21 -21
- package/dist/chunks/{kv-5qkxfyep.js → repository-4jv7e9dq.js} +9 -9
- package/dist/chunks/{kv-ddq2qd83.js → repository-4w0z6s55.js} +28 -28
- package/dist/chunks/{kv-faqjheh2.js → repository-4wpthnmc.js} +9 -9
- package/dist/chunks/{kv-5syhs8jk.js → repository-4z0t326k.js} +14 -14
- package/dist/chunks/{kv-jw80jp6b.js → repository-50mzsvk4.js} +4 -4
- package/dist/chunks/{kv-pegpe8pp.js → repository-571g6s48.js} +19 -19
- package/dist/chunks/{kv-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
- package/dist/chunks/{kv-xwztb879.js → repository-59q7gtcp.js} +12 -12
- package/dist/chunks/{kv-csdaj16z.js → repository-5cmxdwv8.js} +3 -3
- package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-4pwnbtse.js → repository-5f98ydnc.js} +32 -32
- package/dist/chunks/{kv-8b9twrdg.js → repository-5g2jcqse.js} +28 -28
- package/dist/chunks/{kv-sqenp41j.js → repository-5h5ndvra.js} +18 -18
- package/dist/chunks/{kv-d9s3hc82.js → repository-5q9xhcq9.js} +10 -10
- package/dist/chunks/{kv-3a9wmna2.js → repository-5r39x4nd.js} +28 -28
- package/dist/chunks/{kv-behht3cm.js → repository-5rarp9m9.js} +19 -19
- package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-3d23mvyt.js → repository-635kzfvw.js} +10 -10
- package/dist/chunks/{kv-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{kv-mjvv52aw.js → repository-6g79pp1f.js} +173 -173
- package/dist/chunks/{kv-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
- package/dist/chunks/{kv-e8m664vc.js → repository-6h7ta2r3.js} +7 -7
- package/dist/chunks/{kv-6hjx5zpb.js → repository-6hjx5zpb.js} +2 -2
- package/dist/chunks/{kv-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-7p8zzw9r.js → repository-6t79sm08.js} +12 -12
- package/dist/chunks/{kv-fq769th7.js → repository-73jctnsv.js} +4 -4
- package/dist/chunks/{kv-mvfsc1pv.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{kv-g8saz83p.js → repository-77xs8jrs.js} +22 -22
- package/dist/chunks/{kv-ynbq69as.js → repository-7ahsy2sr.js} +12 -12
- package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-c5gn303e.js → repository-7j92jdde.js} +4 -4
- package/dist/chunks/{kv-mja1kt4d.js → repository-7mfhah3d.js} +10 -10
- package/dist/chunks/{kv-nh999r6h.js → repository-7vy5mh4c.js} +16 -16
- package/dist/chunks/{kv-vz25c400.js → repository-81nw3rhg.js} +24 -24
- package/dist/chunks/{kv-qdc4xrm1.js → repository-865gygx1.js} +14 -14
- package/dist/chunks/{kv-ammhsa5d.js → repository-86em9m03.js} +33 -33
- package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-dj2t23y0.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/repository-8rwa53fp.js +39 -0
- package/dist/chunks/{kv-837ekr2g.js → repository-96ck3y1q.js} +8 -8
- package/dist/chunks/{kv-ca0bryv0.js → repository-9acx0b21.js} +17 -17
- package/dist/chunks/{kv-fbge7qf9.js → repository-9br3a50d.js} +30 -30
- package/dist/chunks/repository-9brjy31v.js +18 -0
- package/dist/chunks/{kv-1jzfq4bq.js → repository-9c3hamek.js} +13 -13
- package/dist/chunks/{kv-gzwt477p.js → repository-9m23are0.js} +7 -7
- package/dist/chunks/{kv-z6c53ynw.js → repository-9saxrxxz.js} +20 -20
- package/dist/chunks/{kv-w7pp9m0t.js → repository-a0j2te89.js} +14 -14
- package/dist/chunks/{kv-5c4hm403.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-jkt2pdqn.js → repository-a3qwemy7.js} +32 -32
- package/dist/chunks/{kv-z5zwqd1h.js → repository-a6e77tp8.js} +5 -5
- package/dist/chunks/{kv-jhrsatcv.js → repository-a6s8q5eg.js} +5 -5
- package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-q6mv38f6.js → repository-ac81q4s3.js} +4 -4
- package/dist/chunks/{kv-hzk0yx3b.js → repository-afsf5zrf.js} +4 -4
- package/dist/chunks/{kv-aq3mj96b.js → repository-az2j28fx.js} +32 -32
- package/dist/chunks/{kv-d60avr4p.js → repository-b107pv8j.js} +12 -12
- package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-pstg3rfm.js → repository-b97cbvw3.js} +1 -1
- package/dist/chunks/{kv-pmr4s4kc.js → repository-bct739vz.js} +4 -4
- package/dist/chunks/{kv-43p703w4.js → repository-bkgzn7q8.js} +17 -17
- package/dist/chunks/{kv-hvj1z1b4.js → repository-bkwe381d.js} +3 -3
- package/dist/chunks/{kv-5q9yd8mm.js → repository-bwj8cqvh.js} +11 -11
- package/dist/chunks/{kv-hgkbtkys.js → repository-bx3vkr09.js} +11 -11
- package/dist/chunks/{kv-x3krd4w8.js → repository-c8kcw06k.js} +4 -4
- package/dist/chunks/{kv-kb187nae.js → repository-cah5jjgh.js} +13 -13
- package/dist/chunks/{kv-x50x66fn.js → repository-cfgwhw3h.js} +3 -3
- package/dist/chunks/{kv-m0jqrx5p.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-eh9sc5va.js → repository-cj770ezy.js} +3 -3
- package/dist/chunks/{kv-gqhmbrjs.js → repository-cw881m61.js} +15 -15
- package/dist/chunks/{kv-3xjrnnx0.js → repository-d000v5z8.js} +7 -7
- package/dist/chunks/{kv-yx4rmz5q.js → repository-d4g5efy4.js} +23 -23
- package/dist/chunks/{kv-r39yac3r.js → repository-d9tne6cj.js} +44 -44
- package/dist/chunks/{kv-ag4rn41e.js → repository-dhmh7aw6.js} +4 -4
- package/dist/chunks/{kv-nhy5jxhy.js → repository-drwq78ky.js} +2 -2
- package/dist/chunks/{kv-y7mmfpa1.js → repository-e0h9pzym.js} +8 -8
- package/dist/chunks/{kv-bndc73cn.js → repository-e5nv3ght.js} +5 -5
- package/dist/chunks/{kv-qn4ba14w.js → repository-e6hmchc5.js} +5 -5
- package/dist/chunks/{kv-hr5bc81f.js → repository-e942ejx1.js} +8 -8
- package/dist/chunks/{kv-s8d7rejh.js → repository-eaj1djv9.js} +6 -6
- package/dist/chunks/{kv-m5bnrnnk.js → repository-ebpy7ydq.js} +315 -311
- package/dist/chunks/{kv-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-19d1a1wx.js → repository-ekfd84qw.js} +6 -6
- package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-c38fatdf.js → repository-exmjsvk1.js} +31 -31
- package/dist/chunks/{kv-hdnk95c8.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{kv-j8xqf3tm.js → repository-f8hxmg9v.js} +28 -28
- package/dist/chunks/{kv-w66h423q.js → repository-f9hsjcna.js} +2 -2
- package/dist/chunks/{kv-g4g43v69.js → repository-fj59w752.js} +40 -40
- package/dist/chunks/{kv-g1sxm558.js → repository-fqtvmpfq.js} +8 -8
- package/dist/chunks/{kv-nxsj8qk0.js → repository-fqwrdfrt.js} +6 -6
- package/dist/chunks/{kv-0181d07v.js → repository-fv8t9jvx.js} +22 -22
- package/dist/chunks/{kv-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-70qbzkph.js → repository-fy7nm42b.js} +18 -18
- package/dist/chunks/{kv-g0445xdp.js → repository-g0445xdp.js} +1 -1
- package/dist/chunks/{kv-q3skwyt1.js → repository-g2e15dg2.js} +30 -30
- package/dist/chunks/{kv-br1n7bnk.js → repository-gb91vv51.js} +15 -15
- package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-zr3rbwkr.js → repository-gq5y28kq.js} +31 -31
- package/dist/chunks/{kv-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-rp9zvaag.js → repository-gvn8ez2x.js} +28 -28
- package/dist/chunks/{kv-cfxtxrf2.js → repository-gwwmekzm.js} +21 -21
- package/dist/chunks/{kv-gagqe2a0.js → repository-gzk9ftrh.js} +9 -9
- package/dist/chunks/{kv-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-k0hvzg6w.js → repository-h4vrw4b0.js} +22 -22
- package/dist/chunks/{kv-y91nftqb.js → repository-h61pwfc3.js} +29 -29
- package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-c9h4s5tc.js → repository-ht5x4zbg.js} +30 -30
- package/dist/chunks/{kv-m2xnkqg2.js → repository-hyrz6ndr.js} +12 -12
- package/dist/chunks/{kv-qj2k6z66.js → repository-hzher62h.js} +23 -23
- package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-t0ws8mbr.js → repository-jbj6873e.js} +48 -48
- package/dist/chunks/{kv-fdv30zvt.js → repository-jfqtm2ew.js} +7 -7
- package/dist/chunks/{kv-bqvrq9r3.js → repository-jgxmw31d.js} +24 -24
- package/dist/chunks/{kv-6ehbgqat.js → repository-jkp0d30b.js} +6 -6
- package/dist/chunks/{kv-8ma1xsee.js → repository-jr6vzt66.js} +20 -20
- package/dist/chunks/{kv-hkqaemm2.js → repository-jrjra3h9.js} +25 -25
- package/dist/chunks/{kv-s4xyvqvb.js → repository-jzcje4va.js} +9 -9
- package/dist/chunks/{kv-vm4kz6ms.js → repository-k32jw2e4.js} +33 -33
- package/dist/chunks/{kv-g800bs2f.js → repository-k9532399.js} +24 -24
- package/dist/chunks/{kv-r4yqrmdq.js → repository-kbj2dgab.js} +5 -5
- package/dist/chunks/{kv-e8340df8.js → repository-knb7evpn.js} +8 -8
- package/dist/chunks/{kv-pf8xhqfy.js → repository-krc45np2.js} +41 -41
- package/dist/chunks/{kv-1qnd0792.js → repository-m9cpa160.js} +25 -25
- package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-4q6ckhfj.js → repository-met9m5cx.js} +3 -3
- package/dist/chunks/{kv-56gdpj1q.js → repository-mfqp6xfm.js} +6 -6
- package/dist/chunks/{kv-j9e3hj5f.js → repository-mj9bj3qa.js} +11 -11
- package/dist/chunks/{kv-0faph1ym.js → repository-mqaq223z.js} +14 -14
- package/dist/chunks/{kv-dwdfpg9y.js → repository-n3hgnnfg.js} +20 -20
- package/dist/chunks/{kv-yvbb4q6z.js → repository-n7ks57xp.js} +17 -17
- package/dist/chunks/{kv-26xgc15z.js → repository-njhpxc61.js} +13 -13
- package/dist/chunks/{kv-k14ta1mw.js → repository-nk82223c.js} +43 -43
- package/dist/chunks/{kv-xk747vep.js → repository-nq7qbqzc.js} +9 -9
- package/dist/chunks/{kv-9g3kc011.js → repository-nr0jgk0c.js} +12 -12
- package/dist/chunks/{kv-ja5e70h9.js → repository-nvfv2zje.js} +23 -23
- package/dist/chunks/{kv-427pr1n5.js → repository-ny6gwsjz.js} +8 -8
- package/dist/chunks/{kv-5mtzsd3b.js → repository-nzyhnfxz.js} +4 -4
- package/dist/chunks/{kv-09evap6p.js → repository-p0xh360h.js} +87 -87
- package/dist/chunks/{kv-2tkww0cv.js → repository-p14npjjx.js} +63 -63
- package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{kv-kkqrf715.js → repository-pnddts6j.js} +25 -25
- package/dist/chunks/{kv-er44h2rz.js → repository-pq3jr96z.js} +23 -23
- package/dist/chunks/{kv-11cdrfz0.js → repository-q2hyck9q.js} +13 -13
- package/dist/chunks/{kv-6n468d57.js → repository-q5xvhvda.js} +6 -6
- package/dist/chunks/{kv-426xjh9f.js → repository-q7z9tvhr.js} +8 -8
- package/dist/chunks/{kv-hq4ym7hc.js → repository-qd2njzr9.js} +47 -47
- package/dist/chunks/{kv-je97d5cj.js → repository-qeaff0p2.js} +3 -3
- package/dist/chunks/repository-qg9b78g1.js +26 -0
- package/dist/chunks/{kv-5z94tqmr.js → repository-qnp88wjw.js} +11 -11
- package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-g5m2be3b.js → repository-r3mydpdq.js} +19 -19
- package/dist/chunks/{kv-r9mregkx.js → repository-r9mregkx.js} +2 -2
- package/dist/chunks/{kv-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-j15mfg1p.js → repository-rph3zd4r.js} +5 -5
- package/dist/chunks/{kv-51fjvt3r.js → repository-s3at8e16.js} +5 -5
- package/dist/chunks/{kv-af04s6ss.js → repository-s8zy8myc.js} +5 -5
- package/dist/chunks/{kv-06jg94xm.js → repository-scv7p57g.js} +9 -9
- package/dist/chunks/{kv-278xm5yv.js → repository-sczz11d2.js} +46 -46
- package/dist/chunks/{kv-82jgxh54.js → repository-se00bew5.js} +2 -2
- package/dist/chunks/{kv-f9v9ak1k.js → repository-snsps21s.js} +33 -33
- package/dist/chunks/{kv-k0nnq3t9.js → repository-t2e1hsky.js} +8 -8
- package/dist/chunks/{kv-2rjb08nw.js → repository-t9whz9s5.js} +15 -15
- package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{kv-gfkqpt1e.js → repository-tgjaptpn.js} +11 -11
- package/dist/chunks/{kv-5jh529f7.js → repository-tgw2f8kh.js} +28 -28
- package/dist/chunks/{kv-cd1mq5a8.js → repository-tkw0dwa4.js} +1 -1
- package/dist/chunks/{kv-3yaty7qs.js → repository-tqazb3zs.js} +18 -18
- package/dist/chunks/{kv-re5kaxrw.js → repository-tv6exmg3.js} +32 -32
- package/dist/chunks/{kv-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-41j1ttxa.js → repository-tzhkjsd2.js} +13 -13
- package/dist/chunks/{kv-hnwcghfw.js → repository-v0we2d6v.js} +6 -6
- package/dist/chunks/{kv-j1t3fp47.js → repository-v51x59az.js} +3 -3
- package/dist/chunks/{kv-0eyg9sj2.js → repository-v810rn0x.js} +10 -10
- package/dist/chunks/{kv-n1cf34bf.js → repository-v954m3w4.js} +39 -39
- package/dist/chunks/{kv-zwgd9mwv.js → repository-va8wdxy5.js} +5 -5
- package/dist/chunks/{kv-aeccn3br.js → repository-vampajpx.js} +1 -1
- package/dist/chunks/{kv-yrw3g6cq.js → repository-vcpa2avk.js} +33 -33
- package/dist/chunks/{kv-8s7dmzqa.js → repository-vedj7jxs.js} +10 -10
- package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-h61d1rt6.js → repository-vfqfc940.js} +11 -11
- package/dist/chunks/{kv-tyqkzprt.js → repository-vmgq4x8b.js} +2 -2
- package/dist/chunks/{kv-r0cp9c3a.js → repository-vmwh049b.js} +6 -6
- package/dist/chunks/{kv-e1nkw1ch.js → repository-vngg2jn0.js} +29 -29
- package/dist/chunks/{kv-kxq43fw0.js → repository-vryzrzb1.js} +28 -28
- package/dist/chunks/{kv-3fa9na4z.js → repository-vx1g14c0.js} +6 -6
- package/dist/chunks/{kv-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-avdt6qhh.js → repository-w82jb53m.js} +21 -21
- package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{kv-hmgs27qq.js → repository-wn8kwrzd.js} +54 -54
- package/dist/chunks/{kv-t1r2rqz2.js → repository-wrc0dh7x.js} +23 -23
- package/dist/chunks/{kv-qxckzp83.js → repository-wtqj0bfw.js} +13 -13
- package/dist/chunks/{kv-23razwnm.js → repository-wxwrdrcx.js} +5 -5
- package/dist/chunks/{kv-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-6jqkynh6.js → repository-x1xcpfha.js} +12 -12
- package/dist/chunks/{kv-s9q8v06y.js → repository-x2jqq3tx.js} +31 -31
- package/dist/chunks/{kv-gftr8a0n.js → repository-x38day4k.js} +11 -11
- package/dist/chunks/{kv-7e0sryjp.js → repository-x8vgmg82.js} +12 -12
- package/dist/chunks/{kv-6sg1sdqs.js → repository-xb9eygd1.js} +16 -16
- package/dist/chunks/{kv-9x5mrpkq.js → repository-xbfhd78n.js} +11 -11
- package/dist/chunks/{kv-2v2aaw6h.js → repository-xd2062wd.js} +5 -5
- package/dist/chunks/{kv-06bhybne.js → repository-xh5yjw9r.js} +13 -13
- package/dist/chunks/{kv-ptkydeht.js → repository-xprpbpqe.js} +32 -32
- package/dist/chunks/{kv-xxf7whvt.js → repository-xsqssq7j.js} +6 -6
- package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-tpej6hf6.js → repository-y3q03scc.js} +8 -8
- package/dist/chunks/{kv-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{kv-p70cw9s4.js → repository-ydgp3ck7.js} +28 -28
- package/dist/chunks/repository-ymz470xw.js +247 -0
- package/dist/chunks/{kv-egt3aqgc.js → repository-ynb51yw7.js} +75 -75
- package/dist/chunks/{kv-yp2x3t23.js → repository-yp2x3t23.js} +1 -1
- package/dist/chunks/{kv-782x85dz.js → repository-yqp3qt22.js} +54 -54
- package/dist/chunks/{kv-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-6w4gqaqz.js → repository-ys0bmy6s.js} +3 -3
- package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-g6qcyr5q.js → repository-z611y78c.js} +30 -30
- package/dist/chunks/{kv-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-fbsb99ch.js → repository-z7463j81.js} +19 -19
- package/dist/chunks/{kv-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-epmshq33.js → repository-zhj3zqsg.js} +8 -8
- package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-3c2xh2cb.js → repository-zre7zszm.js} +20 -20
- package/dist/chunks/{kv-8bcx3nez.js → repository-zt03gkt5.js} +4 -4
- package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -363
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +355 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -351
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +112 -112
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +10 -0
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -343
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +146 -146
- package/dist/session/diff.js +87 -87
- 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 +222 -222
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- 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 +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/plugin/identity.d.ts +8 -0
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/kv-1x11rq2a.js +0 -18
- package/dist/chunks/kv-5rea1s2y.js +0 -26
- package/dist/chunks/kv-h8hc1fxm.js +0 -247
- /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6kdq0pjd.js → repository-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./repository-7ahsy2sr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./repository-86em9m03.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service54,
|
|
12
|
+
node57
|
|
13
|
+
} from "./repository-h4vrw4b0.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service78,
|
|
19
19
|
node82
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-se00bew5.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-81nw3rhg.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-met9m5cx.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service55,
|
|
36
|
+
Event10,
|
|
37
|
+
node58
|
|
38
|
+
} from "./repository-w82jb53m.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service53,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer20,
|
|
53
|
+
node: () => node56,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service53, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service78;
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
97
|
+
const watcher = yield* Service54;
|
|
98
|
+
const bus = yield* Service80;
|
|
99
|
+
const credentials = yield* Service63;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service55;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service53.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service53,
|
|
268
|
+
layer: layer20(options),
|
|
269
|
+
deps: [node57, node84, FSUtil.node, Global.node, node82, node67, node58]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node56 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options5, Service53, Test2, testLayer2, layer20, configured6, node56, exports_config };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node14, exports_discovery };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./repository-wn8kwrzd.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin37,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name4 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input4 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input4.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin37 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service73;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name4,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input4,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin12 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name4,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, Plugin37, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-se00bew5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service71,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node75
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service71 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service71, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node75 = LayerNode.unbound(Service71, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service71, node75, canonical3, exports_location_service_map };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info23 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info23, key2, exports_connection };
|