@opencode/core 0.0.0-dev-20449 → 0.0.0-dev-20451
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-service-map-mppcaqg4.js → model-resolver-03698r9s.js} +11 -11
- package/dist/chunks/{location-service-map-zv1vxfwa.js → model-resolver-09w5hx8q.js} +21 -21
- package/dist/chunks/{location-service-map-fp2xarvc.js → model-resolver-0bfcnrg1.js} +1 -1
- package/dist/chunks/{location-service-map-v5cas4zw.js → model-resolver-0dxv4pc1.js} +16 -16
- package/dist/chunks/{location-service-map-cbr2xbws.js → model-resolver-0n2zq7cp.js} +18 -18
- package/dist/chunks/{location-service-map-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0r3c1bmw.js → model-resolver-0r3c1bmw.js} +2 -2
- package/dist/chunks/{location-service-map-yr8x2904.js → model-resolver-0smnwsv0.js} +5 -5
- package/dist/chunks/{location-service-map-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-tbb5a1w1.js → model-resolver-0yjfzc4y.js} +9 -9
- package/dist/chunks/{location-service-map-k2x8eawc.js → model-resolver-1093zhcq.js} +14 -14
- package/dist/chunks/{location-service-map-q4pmfsgy.js → model-resolver-13cq8rcn.js} +47 -47
- package/dist/chunks/{location-service-map-6brfwhxh.js → model-resolver-13gay51w.js} +25 -25
- package/dist/chunks/{location-service-map-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-84h8c373.js → model-resolver-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-service-map-t2c8037n.js → model-resolver-1gn2mkkg.js} +11 -11
- package/dist/chunks/{location-service-map-abyp66j9.js → model-resolver-1p1dbgcw.js} +37 -37
- package/dist/chunks/{location-service-map-hyjcfdkb.js → model-resolver-1t43bwgc.js} +38 -38
- package/dist/chunks/{location-service-map-95x0wgpx.js → model-resolver-1w8tpf8c.js} +17 -17
- package/dist/chunks/{location-service-map-mfqp6xfm.js → model-resolver-1ygqh575.js} +6 -6
- package/dist/chunks/{location-service-map-6mzbzfrr.js → model-resolver-1zbgyhkq.js} +5 -5
- package/dist/chunks/{location-service-map-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-v39s7m1c.js → model-resolver-23mzt4g8.js} +8 -8
- package/dist/chunks/{location-service-map-cr3ncdfd.js → model-resolver-27w6v31t.js} +15 -15
- package/dist/chunks/{location-service-map-6rm5yzkt.js → model-resolver-29qym6xz.js} +4 -4
- package/dist/chunks/{location-service-map-1s5g5eje.js → model-resolver-2a545107.js} +14 -14
- package/dist/chunks/{location-service-map-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-y72zmemf.js → model-resolver-2aet7wja.js} +8 -8
- package/dist/chunks/{location-service-map-10jwe5ay.js → model-resolver-2fhst40w.js} +9 -9
- package/dist/chunks/{location-service-map-vdapyz2h.js → model-resolver-2g3v3994.js} +20 -20
- package/dist/chunks/{location-service-map-q4fmv0xv.js → model-resolver-2hg7qvzt.js} +5 -5
- package/dist/chunks/{location-service-map-t6qketva.js → model-resolver-2kewd2va.js} +9 -9
- package/dist/chunks/{location-service-map-jkddzpv8.js → model-resolver-2nw4ywcq.js} +43 -43
- package/dist/chunks/{location-service-map-8kxjzpk3.js → model-resolver-2pnbxc62.js} +11 -11
- package/dist/chunks/{location-service-map-h948vptj.js → model-resolver-2q0dq8kx.js} +22 -22
- package/dist/chunks/{location-service-map-ddgkytyd.js → model-resolver-2xwzbqew.js} +11 -11
- package/dist/chunks/{location-service-map-6spf7c8c.js → model-resolver-308n8ycv.js} +34 -34
- package/dist/chunks/{location-service-map-pcxghkgz.js → model-resolver-30krspkn.js} +4 -4
- package/dist/chunks/{location-service-map-df0gkme9.js → model-resolver-3f3sb00w.js} +15 -15
- package/dist/chunks/{location-service-map-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-av654rxn.js → model-resolver-3gz55zfp.js} +13 -13
- package/dist/chunks/{location-service-map-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-r6ncz69d.js → model-resolver-3kp3mpme.js} +11 -11
- package/dist/chunks/{location-service-map-85ggthef.js → model-resolver-3m0yxqav.js} +15 -15
- package/dist/chunks/{location-service-map-51f5btjf.js → model-resolver-3ppptnan.js} +6 -6
- package/dist/chunks/{location-service-map-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3v5tjer0.js → model-resolver-3v5tjer0.js} +2 -2
- package/dist/chunks/{location-service-map-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-9ym8d3zh.js → model-resolver-407ckyyg.js} +7 -7
- package/dist/chunks/{location-service-map-5w0cbzhs.js → model-resolver-42r0vthb.js} +41 -41
- package/dist/chunks/{location-service-map-mh42e4fs.js → model-resolver-4ek442ae.js} +22 -22
- package/dist/chunks/{location-service-map-rtdy27v2.js → model-resolver-4h9h96qc.js} +5 -5
- package/dist/chunks/{location-service-map-vt44rdpy.js → model-resolver-4jk0qxj4.js} +6 -6
- package/dist/chunks/{location-service-map-npwy0cf6.js → model-resolver-4n607a2z.js} +5 -5
- package/dist/chunks/{location-service-map-4ts7tf6z.js → model-resolver-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-service-map-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-9t85adt1.js → model-resolver-57pz8w7b.js} +5 -5
- package/dist/chunks/{location-service-map-y6f0p4jw.js → model-resolver-5cmxdwv8.js} +3 -3
- package/dist/chunks/{location-service-map-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-fcxfz2dh.js → model-resolver-5hvxb13s.js} +39 -39
- package/dist/chunks/{location-service-map-aqbp6ek4.js → model-resolver-5ms1yq5h.js} +17 -17
- package/dist/chunks/{location-service-map-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-mfw2awst.js → model-resolver-5vfmzxnc.js} +28 -28
- package/dist/chunks/{location-service-map-b7mgmgxj.js → model-resolver-5zt844k8.js} +6 -6
- package/dist/chunks/{location-service-map-kwc1fk34.js → model-resolver-60wzt80q.js} +18 -18
- package/dist/chunks/{location-service-map-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-x8jrs81k.js → model-resolver-66gm3q6y.js} +4 -4
- package/dist/chunks/{location-service-map-wdg2z0ry.js → model-resolver-6cjrbf46.js} +17 -17
- package/dist/chunks/{location-service-map-cpta1qkm.js → model-resolver-6qajxv40.js} +17 -17
- package/dist/chunks/{location-service-map-7exemf1h.js → model-resolver-6sy3a1sn.js} +57 -57
- package/dist/chunks/{location-service-map-se4rkp3h.js → model-resolver-70jrxnh2.js} +16 -16
- package/dist/chunks/{location-service-map-e2nptsr1.js → model-resolver-7190hwh5.js} +5 -5
- package/dist/chunks/{location-service-map-f75zav2x.js → model-resolver-71az546q.js} +2 -2
- package/dist/chunks/{location-service-map-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-a311kae6.js → model-resolver-7c08zpn2.js} +5 -5
- package/dist/chunks/{location-service-map-gq2rsxfw.js → model-resolver-7k895je9.js} +25 -25
- package/dist/chunks/{location-service-map-7qtyfg8k.js → model-resolver-7psexnws.js} +26 -26
- package/dist/chunks/{location-service-map-df8wfjhb.js → model-resolver-7r06ja40.js} +10 -10
- package/dist/chunks/{location-service-map-mdbvbt6p.js → model-resolver-7zdrdht4.js} +6 -6
- package/dist/chunks/{location-service-map-1cbn5x4t.js → model-resolver-815qh5kc.js} +15 -15
- package/dist/chunks/{location-service-map-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{location-service-map-nb9p6b26.js → model-resolver-86qzxe6p.js} +4 -4
- package/dist/chunks/{location-service-map-0c5rfxyj.js → model-resolver-8a61e19g.js} +9 -9
- package/dist/chunks/{location-service-map-9msa2vka.js → model-resolver-8d6mt9k1.js} +20 -20
- package/dist/chunks/{location-service-map-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-x4dqc0fn.js → model-resolver-8ejhbdfw.js} +3 -3
- package/dist/chunks/{location-service-map-0ka0548d.js → model-resolver-8nsvf304.js} +9 -9
- package/dist/chunks/{location-service-map-kwbd35qc.js → model-resolver-8q54bcf9.js} +17 -17
- package/dist/chunks/{location-service-map-py1x860b.js → model-resolver-8r34s1qs.js} +33 -33
- package/dist/chunks/{location-service-map-cdb7zjda.js → model-resolver-8r8vfh9s.js} +8 -8
- package/dist/chunks/{location-service-map-ts23464c.js → model-resolver-8sze2n9a.js} +8 -8
- package/dist/chunks/{location-service-map-j7vd8rf6.js → model-resolver-8w6zmm29.js} +8 -8
- package/dist/chunks/{location-service-map-t04r2rgd.js → model-resolver-91933pa3.js} +35 -35
- package/dist/chunks/{location-service-map-ab49173g.js → model-resolver-98nepyqz.js} +23 -23
- package/dist/chunks/{location-service-map-6xvqxa42.js → model-resolver-99cqk6xv.js} +8 -8
- package/dist/chunks/{location-service-map-kb9j3d72.js → model-resolver-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-service-map-pa8pe2x7.js → model-resolver-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-service-map-3p0js7tj.js → model-resolver-9hz0dqf5.js} +19 -19
- package/dist/chunks/{location-service-map-9vrgpej7.js → model-resolver-9j6n7gng.js} +32 -32
- package/dist/chunks/{location-service-map-kfj6926z.js → model-resolver-a28jd6sb.js} +10 -10
- package/dist/chunks/{location-service-map-84k2srrq.js → model-resolver-a37e8zcw.js} +22 -22
- package/dist/chunks/{location-service-map-q5dh8m3q.js → model-resolver-a8tp2z0n.js} +11 -11
- package/dist/chunks/{location-service-map-q97sqkfn.js → model-resolver-aads351p.js} +1 -1
- package/dist/chunks/{location-service-map-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-d0q9ckcg.js → model-resolver-ae2sw1mw.js} +11 -11
- package/dist/chunks/{location-service-map-jnz6aqx8.js → model-resolver-akfm9xjf.js} +14 -14
- package/dist/chunks/{location-service-map-wze5rqr2.js → model-resolver-ar6s7d1p.js} +13 -13
- package/dist/chunks/{location-service-map-hmahja3n.js → model-resolver-ay2xdk2g.js} +11 -11
- package/dist/chunks/{location-service-map-5q13c62c.js → model-resolver-b00xvs8t.js} +8 -8
- package/dist/chunks/{location-service-map-t4wbtgqf.js → model-resolver-b23z4qnb.js} +7 -7
- package/dist/chunks/{location-service-map-zyk1yjk8.js → model-resolver-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-service-map-ft7bzd3t.js → model-resolver-b3vyfqsd.js} +24 -24
- package/dist/chunks/{location-service-map-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-t1z79y3b.js → model-resolver-b9hjm50k.js} +12 -12
- package/dist/chunks/{location-service-map-kv333t4q.js → model-resolver-bpke0n4y.js} +11 -11
- package/dist/chunks/{location-service-map-r5dxw177.js → model-resolver-cdahn06p.js} +22 -22
- package/dist/chunks/{location-service-map-z655gt6v.js → model-resolver-cms9xxzm.js} +32 -32
- package/dist/chunks/{location-service-map-c7qsvfja.js → model-resolver-dbvwyaaj.js} +8 -8
- package/dist/chunks/{location-service-map-fq8drmz5.js → model-resolver-df54n7py.js} +12 -12
- package/dist/chunks/{location-service-map-7w3s9kd0.js → model-resolver-dg5bcj4q.js} +6 -6
- package/dist/chunks/{location-service-map-h31dk0az.js → model-resolver-dg8e6nc3.js} +24 -24
- package/dist/chunks/{location-service-map-t05ejhn4.js → model-resolver-djk2jk4m.js} +11 -11
- package/dist/chunks/{location-service-map-xkntkrq7.js → model-resolver-dmqcgk4z.js} +5 -5
- package/dist/chunks/{location-service-map-jh993r23.js → model-resolver-dnv1ypcb.js} +5 -5
- package/dist/chunks/{location-service-map-nxm207yx.js → model-resolver-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-service-map-v0a4b58r.js → model-resolver-dyv1acsa.js} +25 -25
- package/dist/chunks/{location-service-map-bhf6tzqf.js → model-resolver-ee0fmwbc.js} +13 -13
- package/dist/chunks/{location-service-map-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-e4hpnsth.js → model-resolver-efmywzjq.js} +8 -8
- package/dist/chunks/{location-service-map-zh198g07.js → model-resolver-eg948mnw.js} +26 -26
- package/dist/chunks/{location-service-map-ygge93n4.js → model-resolver-ekfwq4bz.js} +21 -21
- package/dist/chunks/{location-service-map-73tb2d7t.js → model-resolver-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-service-map-eny7che3.js → model-resolver-et0g6e5t.js} +33 -33
- package/dist/chunks/model-resolver-etcmb7zb.js +252 -0
- package/dist/chunks/{location-service-map-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-4h1rzmng.js → model-resolver-fc6w6yf8.js} +9 -9
- package/dist/chunks/{location-service-map-7dqw4kz8.js → model-resolver-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-service-map-rb8dxta3.js → model-resolver-fj6ewzsk.js} +43 -43
- package/dist/chunks/{location-service-map-v5jfzk8z.js → model-resolver-fwfvrmc2.js} +4 -4
- package/dist/chunks/{location-service-map-1pxz8ven.js → model-resolver-g6yfr6ja.js} +5 -5
- package/dist/chunks/{location-service-map-metwdsq9.js → model-resolver-gaep76ax.js} +7 -7
- package/dist/chunks/{location-service-map-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-kt2ww3gv.js → model-resolver-gfgy34x3.js} +13 -13
- package/dist/chunks/{location-service-map-52rtctva.js → model-resolver-gfvjxb5k.js} +1 -1
- package/dist/chunks/{location-service-map-wjjfwp4d.js → model-resolver-gkwvz8ht.js} +6 -6
- package/dist/chunks/{location-service-map-1bbzstzj.js → model-resolver-gp83hdk9.js} +43 -43
- package/dist/chunks/{location-service-map-4naftefb.js → model-resolver-gse0ck6f.js} +3 -3
- package/dist/chunks/{location-service-map-zcrspsvn.js → model-resolver-gst7axd9.js} +4 -4
- package/dist/chunks/{location-service-map-99zy7ww3.js → model-resolver-h0e1kdvt.js} +3 -3
- package/dist/chunks/{location-service-map-3cegwx68.js → model-resolver-h2b79v29.js} +2 -2
- package/dist/chunks/{location-service-map-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-jvhhxj5g.js → model-resolver-h9hhdsha.js} +32 -32
- package/dist/chunks/{location-service-map-7xpr2pn4.js → model-resolver-h9jfnbdc.js} +33 -31
- package/dist/chunks/{location-service-map-em9mvw3q.js → model-resolver-hbw5wb31.js} +5 -5
- package/dist/chunks/{location-service-map-82f3vqs9.js → model-resolver-hfm9a2d0.js} +2 -2
- package/dist/chunks/{location-service-map-dzt1gkzc.js → model-resolver-hns04bnr.js} +3 -3
- package/dist/chunks/{location-service-map-txhq5xat.js → model-resolver-j3w99yee.js} +20 -20
- package/dist/chunks/{location-service-map-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-vjwafz7y.js → model-resolver-jv7q5gx3.js} +9 -9
- package/dist/chunks/{location-service-map-jw80jp6b.js → model-resolver-jw80jp6b.js} +1 -1
- package/dist/chunks/{location-service-map-a9f1gx8x.js → model-resolver-jz1jgw4t.js} +4 -4
- package/dist/chunks/{location-service-map-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{location-service-map-wkctdrs2.js → model-resolver-k3hh5zvs.js} +32 -32
- package/dist/chunks/model-resolver-k40pk40z.js +26 -0
- package/dist/chunks/{location-service-map-w9s2aqss.js → model-resolver-k5hqpvc4.js} +56 -56
- package/dist/chunks/{location-service-map-jzzgdak2.js → model-resolver-k8f3jam7.js} +5 -5
- package/dist/chunks/{location-service-map-xbqt463g.js → model-resolver-kan6af9e.js} +22 -22
- package/dist/chunks/{location-service-map-n4e63efs.js → model-resolver-kmkk6jeb.js} +29 -29
- package/dist/chunks/{location-service-map-3bh1tg9j.js → model-resolver-ksdw2mz7.js} +22 -22
- package/dist/chunks/{location-service-map-kpw1vept.js → model-resolver-kwasnf1h.js} +94 -94
- package/dist/chunks/{location-service-map-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-6my31cvw.js → model-resolver-m3ma28tp.js} +48 -48
- package/dist/chunks/{location-service-map-4psr7dtd.js → model-resolver-m5ddjyhh.js} +47 -47
- package/dist/chunks/{location-service-map-85whx8ej.js → model-resolver-m73je9hm.js} +20 -20
- package/dist/chunks/{location-service-map-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-mazbtkaa.js → model-resolver-mazbtkaa.js} +2 -2
- package/dist/chunks/{location-service-map-7bvc3xat.js → model-resolver-mkpw75cb.js} +18 -18
- package/dist/chunks/{location-service-map-cw44182b.js → model-resolver-mmr9n9n6.js} +13 -13
- package/dist/chunks/{location-service-map-chkwe70y.js → model-resolver-mmxxk9et.js} +11 -11
- package/dist/chunks/{location-service-map-1g8q5gz5.js → model-resolver-mv3tycdn.js} +8 -8
- package/dist/chunks/{location-service-map-57793evp.js → model-resolver-myqg0pwz.js} +11 -11
- package/dist/chunks/{location-service-map-nntvhnn2.js → model-resolver-myw6wz04.js} +13 -13
- package/dist/chunks/{location-service-map-b95n020p.js → model-resolver-n3vygs5b.js} +6 -6
- package/dist/chunks/{location-service-map-cypa6x43.js → model-resolver-n5cn0tb9.js} +180 -180
- package/dist/chunks/{location-service-map-gh5z95q3.js → model-resolver-n8sna2wb.js} +9 -9
- package/dist/chunks/{location-service-map-x1t8ysfd.js → model-resolver-ne9ahhv5.js} +12 -12
- package/dist/chunks/{location-service-map-mbqaeapj.js → model-resolver-nkmk0g3b.js} +3 -3
- package/dist/chunks/model-resolver-npsq8fb9.js +507 -0
- package/dist/chunks/{location-service-map-asnr51jj.js → model-resolver-p17a2fe3.js} +15 -15
- package/dist/chunks/{location-service-map-cpy6gm2a.js → model-resolver-pf2hb43r.js} +6 -6
- package/dist/chunks/{location-service-map-krzsxqgn.js → model-resolver-pf4vdr5b.js} +3 -3
- package/dist/chunks/model-resolver-phz3h32g.js +18 -0
- package/dist/chunks/{location-service-map-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-ykt494b9.js → model-resolver-pkqb68ka.js} +4 -4
- package/dist/chunks/{location-service-map-hbbsc9bk.js → model-resolver-prt7p8he.js} +7 -7
- package/dist/chunks/{location-service-map-qxjpexte.js → model-resolver-pvxf3j12.js} +9 -9
- package/dist/chunks/{location-service-map-kzmggykm.js → model-resolver-q00e2evn.js} +11 -11
- package/dist/chunks/{location-service-map-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-service-map-q0yn0a00.js → model-resolver-q4kmjcgn.js} +25 -25
- package/dist/chunks/{location-service-map-dazn98v0.js → model-resolver-q639q6k1.js} +33 -33
- package/dist/chunks/{location-service-map-ryr25ayn.js → model-resolver-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-service-map-f9ms0q7x.js → model-resolver-qkp9yadg.js} +76 -76
- package/dist/chunks/{location-service-map-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-v2zvx02t.js → model-resolver-qp1n1vy7.js} +10 -10
- package/dist/chunks/{location-service-map-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-bw6w1hmt.js → model-resolver-qv8n8zgy.js} +28 -28
- package/dist/chunks/{location-service-map-eqr5kkcb.js → model-resolver-qzvme19v.js} +30 -30
- package/dist/chunks/{location-service-map-qmqgtz8f.js → model-resolver-r2m716tb.js} +9 -9
- package/dist/chunks/{location-service-map-0v53mg2y.js → model-resolver-r98e92ep.js} +4 -4
- package/dist/chunks/{location-service-map-n9j73x72.js → model-resolver-r9w3djhf.js} +9 -9
- package/dist/chunks/{location-service-map-q37wehsy.js → model-resolver-rc77m1db.js} +23 -23
- package/dist/chunks/{location-service-map-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-qwd2bpme.js → model-resolver-re5ckjab.js} +13 -13
- package/dist/chunks/{location-service-map-f82vcjah.js → model-resolver-rkqabadz.js} +44 -44
- package/dist/chunks/{location-service-map-5f6edhvt.js → model-resolver-rsdvke6b.js} +26 -26
- package/dist/chunks/{location-service-map-w34ck8dm.js → model-resolver-rz5y6gq8.js} +24 -24
- package/dist/chunks/{location-service-map-xwsw2x6r.js → model-resolver-rz96cyzp.js} +18 -18
- package/dist/chunks/{location-service-map-c35597j6.js → model-resolver-s30fyz93.js} +4 -4
- package/dist/chunks/{location-service-map-tcjtknhy.js → model-resolver-shcrmf00.js} +20 -20
- package/dist/chunks/{location-service-map-d4cj2fkp.js → model-resolver-skgj9ax5.js} +19 -19
- package/dist/chunks/{location-service-map-n7d8enq0.js → model-resolver-snag70gz.js} +31 -31
- package/dist/chunks/{location-service-map-rt0y1tb2.js → model-resolver-ss33t2y8.js} +6 -6
- package/dist/chunks/{location-service-map-thx56g7y.js → model-resolver-t3ta0jn1.js} +27 -27
- package/dist/chunks/{location-service-map-dhtngw88.js → model-resolver-t4phn8cw.js} +3 -3
- package/dist/chunks/{location-service-map-v9wendj7.js → model-resolver-t9kqhrb1.js} +13 -13
- package/dist/chunks/{location-service-map-vtf4aqe8.js → model-resolver-taxap598.js} +21 -21
- package/dist/chunks/{location-service-map-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-qcxsyce2.js → model-resolver-te3gjas8.js} +30 -30
- package/dist/chunks/{location-service-map-78bbcg6r.js → model-resolver-tsp4afg5.js} +11 -11
- package/dist/chunks/{location-service-map-gmdj5py7.js → model-resolver-tvjfdkdg.js} +16 -16
- package/dist/chunks/{location-service-map-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-wpqcga08.js → model-resolver-tx6hj8vh.js} +29 -29
- package/dist/chunks/{location-service-map-s5met55r.js → model-resolver-tx9w5tca.js} +8 -8
- package/dist/chunks/{location-service-map-9p4810dd.js → model-resolver-v2j2nd9r.js} +20 -20
- package/dist/chunks/{location-service-map-w6rwet04.js → model-resolver-v5g0yskm.js} +2 -2
- package/dist/chunks/{location-service-map-6s2safzc.js → model-resolver-v7aegc90.js} +32 -32
- package/dist/chunks/{location-service-map-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-zgx66p1n.js → model-resolver-vff75evq.js} +9 -9
- package/dist/chunks/{location-service-map-cd11xdjc.js → model-resolver-vkt5fbj2.js} +8 -8
- package/dist/chunks/{location-service-map-sbbrww74.js → model-resolver-vwfaknzj.js} +51 -51
- package/dist/chunks/{location-service-map-n7qqpvr7.js → model-resolver-vxtvrbna.js} +41 -41
- package/dist/chunks/{location-service-map-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-6mafzhpk.js → model-resolver-wegd5fp2.js} +9 -9
- package/dist/chunks/{location-service-map-aps0nfhj.js → model-resolver-wkr32rjm.js} +17 -17
- package/dist/chunks/{location-service-map-9t7a50xb.js → model-resolver-wv396vej.js} +6 -6
- package/dist/chunks/{location-service-map-atetzrn0.js → model-resolver-wv3dv6v0.js} +26 -26
- package/dist/chunks/{location-service-map-2d43av1a.js → model-resolver-ww2b7n8h.js} +8 -8
- package/dist/chunks/{location-service-map-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-a58kdqm7.js → model-resolver-x3pwywrr.js} +20 -20
- package/dist/chunks/{location-service-map-yx8jszhp.js → model-resolver-x73h0cn1.js} +4 -4
- package/dist/chunks/{location-service-map-w19d8598.js → model-resolver-xfkkasph.js} +5 -5
- package/dist/chunks/{location-service-map-hnb7ksa1.js → model-resolver-xk8t8a3e.js} +26 -26
- package/dist/chunks/{location-service-map-aqe4mp4b.js → model-resolver-xv43dmfe.js} +6 -6
- package/dist/chunks/{location-service-map-9jenw5nn.js → model-resolver-xvyvc58w.js} +2 -2
- package/dist/chunks/{location-service-map-7sae6mxy.js → model-resolver-y144jg7q.js} +20 -20
- package/dist/chunks/{location-service-map-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-f9c0v65h.js → model-resolver-y2naxmkz.js} +38 -38
- package/dist/chunks/{location-service-map-1b5n1my2.js → model-resolver-y3nba2x3.js} +4 -4
- package/dist/chunks/{location-service-map-09hznznf.js → model-resolver-y4z5xdc7.js} +23 -23
- package/dist/chunks/{location-service-map-dnxkq42g.js → model-resolver-y6bex35g.js} +4 -4
- package/dist/chunks/{location-service-map-t7hg4t9s.js → model-resolver-y7ts3hqa.js} +18 -18
- package/dist/chunks/{location-service-map-ydhspzmx.js → model-resolver-y8ny8g7a.js} +24 -24
- package/dist/chunks/{location-service-map-fsf6g8we.js → model-resolver-yacwftk6.js} +12 -12
- package/dist/chunks/{location-service-map-mkt34dw6.js → model-resolver-ybgaf8pp.js} +8 -8
- package/dist/chunks/{location-service-map-1acjjqhc.js → model-resolver-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-service-map-qvmmfpcq.js → model-resolver-ypnw9vt7.js} +18 -18
- package/dist/chunks/{location-service-map-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-cfnm11dz.js → model-resolver-yyjgzmbq.js} +89 -89
- package/dist/chunks/{location-service-map-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-cgwdnt8x.js → model-resolver-z1wzh4em.js} +27 -27
- package/dist/chunks/{location-service-map-r0xtmwc9.js → model-resolver-z4qahwf9.js} +24 -24
- package/dist/chunks/{location-service-map-v2hz81kc.js → model-resolver-zc5g640q.js} +12 -12
- package/dist/chunks/{location-service-map-admntmc4.js → model-resolver-zfe5250d.js} +22 -22
- package/dist/chunks/{location-service-map-g73vqmcr.js → model-resolver-zh60fjan.js} +21 -21
- package/dist/chunks/{location-service-map-9r5r9mea.js → model-resolver-zm76h1z5.js} +41 -41
- package/dist/chunks/{location-service-map-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-wead7aht.js → model-resolver-ztb5xmgg.js} +8 -8
- package/dist/chunks/{location-service-map-h8dz2c4h.js → model-resolver-zw9m0b6f.js} +19 -19
- package/dist/chunks/{location-service-map-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +3 -1
- package/dist/persistent-pty/binary.node.js +2 -0
- package/dist/persistent-pty/binary.workerd.js +2 -0
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/persistent-pty/binary.bun.d.ts +1 -0
- package/dist/types/persistent-pty/binary.node.d.ts +1 -0
- package/dist/types/persistent-pty/binary.workerd.d.ts +1 -0
- package/dist/types/persistent-pty/index.d.ts +1 -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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-service-map-eq4htthf.js +0 -507
- package/dist/chunks/location-service-map-kgh7dc64.js +0 -252
- package/dist/chunks/location-service-map-rap9a73h.js +0 -18
- package/dist/chunks/location-service-map-rvzt496k.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node58
|
|
4
|
+
} from "./model-resolver-a8tp2z0n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./model-resolver-70jrxnh2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./model-resolver-rz5y6gq8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID11,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-91933pa3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID10,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service71,
|
|
24
|
+
node75
|
|
25
|
+
} from "./model-resolver-q639q6k1.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info32,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service80,
|
|
33
33
|
node84
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-xvyvc58w.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID9,
|
|
37
|
+
Service70,
|
|
38
|
+
node74
|
|
39
|
+
} from "./model-resolver-cms9xxzm.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service68,
|
|
42
|
+
node72
|
|
43
|
+
} from "./model-resolver-2pnbxc62.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service49,
|
|
46
|
+
node51
|
|
47
|
+
} from "./model-resolver-2q0dq8kx.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service61,
|
|
50
|
+
node64
|
|
51
|
+
} from "./model-resolver-myw6wz04.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service65,
|
|
54
|
+
node69
|
|
55
|
+
} from "./model-resolver-8nsvf304.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID8,
|
|
58
|
+
Service69,
|
|
59
|
+
node73
|
|
60
|
+
} from "./model-resolver-qzvme19v.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID7
|
|
63
|
+
} from "./model-resolver-tx6hj8vh.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service21,
|
|
66
|
+
node24
|
|
67
|
+
} from "./model-resolver-vwfaknzj.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service78,
|
|
70
|
+
node82
|
|
71
|
+
} from "./model-resolver-tx9w5tca.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service75,
|
|
74
|
+
node79
|
|
75
|
+
} from "./model-resolver-6sy3a1sn.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service31,
|
|
78
|
+
node34
|
|
79
|
+
} from "./model-resolver-7k895je9.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source4,
|
|
82
|
+
Service53,
|
|
83
|
+
node55
|
|
84
|
+
} from "./model-resolver-kmkk6jeb.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info6,
|
|
87
|
+
Service33,
|
|
88
|
+
node36
|
|
89
|
+
} from "./model-resolver-eg948mnw.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service15,
|
|
92
|
+
node18
|
|
93
|
+
} from "./model-resolver-kwasnf1h.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service56,
|
|
96
|
+
node59
|
|
97
|
+
} from "./model-resolver-h9jfnbdc.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service51,
|
|
100
|
+
node53
|
|
101
|
+
} from "./model-resolver-akfm9xjf.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service14,
|
|
104
|
+
node17
|
|
105
|
+
} from "./model-resolver-zh60fjan.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID5,
|
|
108
|
+
Service35,
|
|
109
|
+
node38
|
|
110
|
+
} from "./model-resolver-wv3dv6v0.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service64,
|
|
113
|
+
node68
|
|
114
|
+
} from "./model-resolver-ypnw9vt7.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info21,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service63,
|
|
120
|
+
node67
|
|
121
|
+
} from "./model-resolver-vxtvrbna.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service66,
|
|
124
|
+
node70
|
|
125
|
+
} from "./model-resolver-q4kmjcgn.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,30 +143,30 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
151
|
-
const bus = yield*
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
146
|
+
const agents = yield* Service79;
|
|
147
|
+
const aisdk = yield* Service68;
|
|
148
|
+
const providers = yield* Service70;
|
|
149
|
+
const models = yield* Service69;
|
|
150
|
+
const commands = yield* Service49;
|
|
151
|
+
const bus = yield* Service83;
|
|
152
|
+
const integration = yield* Service71;
|
|
153
|
+
const kv = yield* Service61;
|
|
154
|
+
const mcp = yield* Service21;
|
|
155
155
|
const location = yield* Service80;
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
156
|
+
const reference = yield* Service53;
|
|
157
|
+
const rpc = yield* Service51;
|
|
158
|
+
const skill = yield* Service33;
|
|
159
|
+
const tools = yield* Service31;
|
|
160
|
+
const vcs = yield* Service14;
|
|
161
|
+
const websearch = yield* Service35;
|
|
162
|
+
const generate = yield* Service66;
|
|
163
|
+
const permission = yield* Service75;
|
|
164
|
+
const hooks = yield* Service78;
|
|
165
|
+
const sessions = yield* Service15;
|
|
166
|
+
const persistentPty = yield* Service56;
|
|
167
|
+
const locations = yield* Service65;
|
|
168
|
+
const worktrees = yield* Service63;
|
|
169
|
+
const worktreeStrategies = yield* Service64;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info32({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info21);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
185
|
const location = yield* Service80;
|
|
186
|
-
const agents = yield*
|
|
186
|
+
const agents = yield* Service79;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info32({
|
|
189
189
|
directory: location.directory,
|
|
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID15.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID15.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID15.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID9.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID9.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID11.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID9.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID9.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID9.make(providerID), ID8.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID9.make(providerID), ID8.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID9.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID9.make(providerID), ID8.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID9.make(providerID), ID8.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID9.make(providerID), ID8.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID9.make(providerID), ID8.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID9.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,14 +312,14 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID10.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID10.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,60 +327,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID10.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID10.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID10.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID10.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID10.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID10.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID10.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID10.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID11.make(connection.id) } : connection),
|
|
368
368
|
status: (input) => integration.connection.status({
|
|
369
|
-
integrationID:
|
|
370
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
369
|
+
integrationID: ID10.make(input.integrationID),
|
|
370
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID11.make(input.connection.id) } : input.connection,
|
|
371
371
|
status: input.status
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
transform: (callback) => integration.transform((editor) => {
|
|
375
375
|
callback({
|
|
376
376
|
list: () => mutable(editor.list()),
|
|
377
|
-
get: (id) => mutable(editor.get(
|
|
378
|
-
update: (id, update) => editor.update(
|
|
379
|
-
remove: (id) => editor.remove(
|
|
377
|
+
get: (id) => mutable(editor.get(ID10.make(id))),
|
|
378
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
379
|
+
remove: (id) => editor.remove(ID10.make(id)),
|
|
380
380
|
method: {
|
|
381
|
-
list: (id) => editor.method.list(
|
|
381
|
+
list: (id) => editor.method.list(ID10.make(id)),
|
|
382
382
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
383
|
-
remove: (id, method) => editor.method.remove(
|
|
383
|
+
remove: (id, method) => editor.method.remove(ID10.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
})
|
|
@@ -391,7 +391,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
391
391
|
if (ref && !isCurrentLocation(ref))
|
|
392
392
|
return Effect.gen(function* () {
|
|
393
393
|
const location = yield* Service80;
|
|
394
|
-
const mcp = yield*
|
|
394
|
+
const mcp = yield* Service21;
|
|
395
395
|
return {
|
|
396
396
|
location: new Info32({
|
|
397
397
|
directory: location.directory,
|
|
@@ -428,7 +428,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
428
428
|
reload: reference.reload,
|
|
429
429
|
transform: (callback) => reference.transform((editor) => {
|
|
430
430
|
callback({
|
|
431
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
431
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
|
|
432
432
|
remove: editor.remove,
|
|
433
433
|
list: editor.list,
|
|
434
434
|
get: editor.get
|
|
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
442
442
|
callback({
|
|
443
443
|
list: () => mutable(editor.list()),
|
|
444
444
|
get: editor.get,
|
|
445
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
445
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
|
|
446
446
|
update: editor.update,
|
|
447
447
|
remove: editor.remove
|
|
448
448
|
});
|
|
@@ -473,19 +473,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
473
473
|
providers: () => response(websearch.providers()),
|
|
474
474
|
query: (input) => response(websearch.query({
|
|
475
475
|
query: input.query,
|
|
476
|
-
providerID: input.providerID === undefined ? undefined :
|
|
476
|
+
providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
|
|
477
477
|
})),
|
|
478
478
|
reload: websearch.reload,
|
|
479
479
|
transform: (callback) => websearch.transform((editor) => {
|
|
480
480
|
callback({
|
|
481
481
|
add: (definition) => editor.add({
|
|
482
|
-
id:
|
|
482
|
+
id: ID5.make(definition.id),
|
|
483
483
|
name: definition.name,
|
|
484
484
|
execute: definition.execute
|
|
485
485
|
}),
|
|
486
486
|
default: {
|
|
487
487
|
get: editor.default.get,
|
|
488
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
488
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
})
|
|
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
545
545
|
return context;
|
|
546
546
|
});
|
|
547
547
|
var requirements3 = LayerNode.group([
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
node80,
|
|
552
|
-
node79,
|
|
553
|
-
node48,
|
|
554
|
-
node86,
|
|
555
|
-
node81,
|
|
556
|
-
node77,
|
|
557
|
-
node42,
|
|
558
|
-
node84,
|
|
548
|
+
node58,
|
|
549
|
+
node83,
|
|
550
|
+
node72,
|
|
559
551
|
node74,
|
|
560
|
-
node76,
|
|
561
|
-
node65,
|
|
562
|
-
node63,
|
|
563
552
|
node73,
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
553
|
+
node51,
|
|
554
|
+
node87,
|
|
555
|
+
node75,
|
|
556
|
+
node64,
|
|
557
|
+
node24,
|
|
558
|
+
node84,
|
|
559
|
+
node55,
|
|
560
|
+
node53,
|
|
561
|
+
node36,
|
|
562
|
+
node34,
|
|
563
|
+
node17,
|
|
564
|
+
node38,
|
|
565
|
+
node67,
|
|
566
|
+
node68,
|
|
569
567
|
node70,
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
568
|
+
node79,
|
|
569
|
+
node82,
|
|
570
|
+
node18,
|
|
571
|
+
node59,
|
|
572
|
+
node69
|
|
573
573
|
]);
|
|
574
574
|
function storage2(kv, pluginID) {
|
|
575
575
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -596,7 +596,7 @@ function methodImplementation(input) {
|
|
|
596
596
|
if ("authorize" in input) {
|
|
597
597
|
const refresh = input.refresh;
|
|
598
598
|
return {
|
|
599
|
-
integrationID:
|
|
599
|
+
integrationID: ID10.make(input.integrationID),
|
|
600
600
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
601
601
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
602
602
|
if (authorization.mode === "auto") {
|
|
@@ -616,18 +616,18 @@ function methodImplementation(input) {
|
|
|
616
616
|
}
|
|
617
617
|
if (input.method.type === "env") {
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID10.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
if (input.method.type === "command") {
|
|
624
624
|
return {
|
|
625
|
-
integrationID:
|
|
625
|
+
integrationID: ID10.make(input.integrationID),
|
|
626
626
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
return {
|
|
630
|
-
integrationID:
|
|
630
|
+
integrationID: ID10.make(input.integrationID),
|
|
631
631
|
method: input.method
|
|
632
632
|
};
|
|
633
633
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
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 Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, 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(Service10, 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 Service6.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(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node7, exports_discovery };
|