@opencode/core 0.0.0-dev-20439 → 0.0.0-dev-20440
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{variant-qvf13fnr.js → location-03qkt8xx.js} +11 -11
- package/dist/chunks/{variant-q0xm7vwc.js → location-0j77ygfz.js} +6 -6
- package/dist/chunks/{variant-25a4t902.js → location-0p1ba10h.js} +18 -18
- package/dist/chunks/{variant-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-k86ryq5x.js → location-0q7vd0e7.js} +14 -14
- package/dist/chunks/{variant-c73eachg.js → location-0qyf8xfc.js} +6 -6
- package/dist/chunks/{variant-50bj4n03.js → location-0sprneqr.js} +22 -22
- package/dist/chunks/{variant-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-v54kchrq.js → location-12g5858n.js} +11 -11
- package/dist/chunks/{variant-weg9ntdf.js → location-1645hs46.js} +9 -9
- package/dist/chunks/{variant-kqsbn90b.js → location-16hw9d12.js} +48 -48
- package/dist/chunks/{variant-1acjjqhc.js → location-1acjjqhc.js} +1 -1
- package/dist/chunks/{variant-p6wxjpka.js → location-1b4m0bzf.js} +4 -4
- package/dist/chunks/{variant-517vs525.js → location-1dangqhw.js} +8 -8
- package/dist/chunks/{variant-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-1dvck2a7.js → location-1dvck2a7.js} +2 -2
- package/dist/chunks/{variant-07q3v8ms.js → location-1gb3jw67.js} +37 -37
- package/dist/chunks/{variant-6szg9m6g.js → location-1tdzqxb9.js} +28 -28
- package/dist/chunks/{variant-1f3k22r2.js → location-1w9zpvw0.js} +11 -11
- package/dist/chunks/{variant-yy9wtzs9.js → location-1zd5t2vq.js} +25 -25
- package/dist/chunks/{variant-tk612nqt.js → location-217k1aq0.js} +5 -5
- package/dist/chunks/{variant-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{variant-tdjsa322.js → location-22kmp0xz.js} +27 -27
- package/dist/chunks/{variant-yf6pnrx7.js → location-23z2s8ty.js} +34 -34
- package/dist/chunks/{variant-fvxg17y2.js → location-256nx13v.js} +3 -3
- package/dist/chunks/{variant-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-2v8pqagd.js → location-2aqr678w.js} +330 -330
- package/dist/chunks/{variant-4ts7tf6z.js → location-2ccvkpx1.js} +2 -2
- package/dist/chunks/{variant-ajwerf3h.js → location-2tcky1mt.js} +8 -8
- package/dist/chunks/{variant-y6kgs8hj.js → location-3124xjv5.js} +5 -5
- package/dist/chunks/{variant-hekxc47r.js → location-325sge2s.js} +1 -1
- package/dist/chunks/{variant-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
- package/dist/chunks/{variant-p0b4ytnr.js → location-35agz59w.js} +6 -6
- package/dist/chunks/{variant-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-f3sqmsb9.js → location-3fm26c60.js} +15 -15
- package/dist/chunks/{variant-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-xjza7kx6.js → location-42by9dkz.js} +11 -11
- package/dist/chunks/{variant-6nd6aznx.js → location-4aqnkmwy.js} +23 -23
- package/dist/chunks/{variant-pcxghkgz.js → location-4eq8w0dz.js} +4 -4
- package/dist/chunks/{variant-16w9ecqz.js → location-4r508d4e.js} +11 -11
- package/dist/chunks/{variant-g0cknp2d.js → location-4s3tpmrn.js} +13 -13
- package/dist/chunks/{variant-z4ym9awj.js → location-4x12h4qm.js} +46 -46
- package/dist/chunks/{variant-cann05ez.js → location-4yp603wd.js} +42 -42
- package/dist/chunks/{variant-aacyrw2e.js → location-56pbwxwa.js} +33 -33
- package/dist/chunks/{variant-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-a72r2k07.js → location-5y599e6r.js} +17 -17
- package/dist/chunks/{variant-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{variant-tfwvc9sw.js → location-67dtadj1.js} +5 -5
- package/dist/chunks/{variant-8j08zm4r.js → location-68kk42m8.js} +16 -16
- package/dist/chunks/{variant-tkx9gh3c.js → location-6dcrc66s.js} +9 -9
- package/dist/chunks/{variant-c0yg3yaa.js → location-6f7g1gep.js} +27 -27
- package/dist/chunks/{variant-svb96c7g.js → location-6hjx5zpb.js} +9 -9
- package/dist/chunks/{variant-41czef58.js → location-6rm5yzkt.js} +4 -4
- package/dist/chunks/{variant-6qmtfge3.js → location-6tp2e4nh.js} +14 -14
- package/dist/chunks/{variant-g8pm3x4z.js → location-6wpq4p86.js} +21 -21
- package/dist/chunks/{variant-3kcc9g8w.js → location-6yzh683s.js} +23 -23
- package/dist/chunks/{variant-zw6qz0tx.js → location-6z9mwsmt.js} +24 -24
- package/dist/chunks/{variant-71az546q.js → location-71az546q.js} +2 -2
- package/dist/chunks/{variant-vskqw7qy.js → location-75djp3vm.js} +29 -29
- package/dist/chunks/{variant-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-2k8khapm.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/location-7fj5dwt0.js +18 -0
- package/dist/chunks/{variant-0g91z8as.js → location-7kxjkgp1.js} +12 -12
- package/dist/chunks/{variant-vj9qpvrk.js → location-7n68x724.js} +3 -3
- package/dist/chunks/{variant-0z8vjex2.js → location-7sd9q442.js} +9 -9
- package/dist/chunks/{variant-y6mhz57t.js → location-80scg3y3.js} +4 -4
- package/dist/chunks/{variant-hry7yjep.js → location-813cbmj3.js} +20 -20
- package/dist/chunks/{variant-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{variant-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-14v92p14.js → location-8eh0rnbq.js} +23 -23
- package/dist/chunks/{variant-z2zv94aj.js → location-8nzm4pg7.js} +31 -31
- package/dist/chunks/{variant-fd4k4kgm.js → location-8py83gfk.js} +5 -5
- package/dist/chunks/{variant-b53k4bdr.js → location-8t7qd4rg.js} +26 -26
- package/dist/chunks/{variant-5bgh4dzz.js → location-8wc3wjta.js} +8 -8
- package/dist/chunks/{variant-mc5axvaa.js → location-90qvvky9.js} +4 -4
- package/dist/chunks/{variant-rpnewtr1.js → location-90zqzmt2.js} +35 -35
- package/dist/chunks/{variant-c0d2pnej.js → location-992hz17m.js} +27 -27
- package/dist/chunks/{variant-t89fqycx.js → location-9c3np669.js} +8 -8
- package/dist/chunks/{variant-7r87hsp1.js → location-9d02ejc3.js} +13 -13
- package/dist/chunks/{variant-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
- package/dist/chunks/{variant-5xesbvpt.js → location-9xg80nvy.js} +10 -10
- package/dist/chunks/{variant-8kq48qmj.js → location-9yc87yg7.js} +11 -11
- package/dist/chunks/{variant-px5nxgea.js → location-a1w0edtg.js} +7 -7
- package/dist/chunks/{variant-gr8khd20.js → location-a5kvvdnp.js} +20 -20
- package/dist/chunks/{variant-w3jg838k.js → location-a881zpfh.js} +9 -9
- package/dist/chunks/{variant-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-xeav5w26.js → location-adxtbyr6.js} +8 -8
- package/dist/chunks/{variant-1hzkdvcb.js → location-af43y7nd.js} +26 -26
- package/dist/chunks/{variant-398qtpyw.js → location-ag8xxyx6.js} +16 -16
- package/dist/chunks/{variant-mzseknbn.js → location-ank5f68a.js} +9 -9
- package/dist/chunks/{variant-vxmbdp5g.js → location-apg4zytr.js} +2 -2
- package/dist/chunks/{variant-mkfpjzad.js → location-asbmekhj.js} +15 -15
- package/dist/chunks/{variant-scgrse2b.js → location-b3f8fkhc.js} +5 -5
- package/dist/chunks/{variant-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-bcrgek8j.js → location-b86tfdzm.js} +11 -11
- package/dist/chunks/{variant-skgznvtr.js → location-b9rwv01j.js} +12 -12
- package/dist/chunks/{variant-9tcgwzn8.js → location-bnd5ydr3.js} +23 -23
- package/dist/chunks/{variant-ynpe6tcd.js → location-c0ke6nr1.js} +12 -12
- package/dist/chunks/{variant-vtfaj6fm.js → location-c1rz9jmh.js} +5 -5
- package/dist/chunks/{variant-zkr7fetz.js → location-cjvftz2e.js} +20 -20
- package/dist/chunks/{variant-cwa6csj7.js → location-cwa6csj7.js} +2 -2
- package/dist/chunks/{variant-wtas89nq.js → location-czb31bpy.js} +16 -16
- package/dist/chunks/{variant-qkn9jtjt.js → location-d74mdtkm.js} +11 -11
- package/dist/chunks/{variant-t2kw1cd0.js → location-d75b88se.js} +11 -11
- package/dist/chunks/{variant-shp9g25n.js → location-d8jzy0c0.js} +6 -6
- package/dist/chunks/{variant-cx4dwxh6.js → location-da6w1prp.js} +30 -30
- package/dist/chunks/{variant-dfe8djrf.js → location-dfe8djrf.js} +1 -1
- package/dist/chunks/{variant-ctmr8zqa.js → location-dhmh7aw6.js} +4 -4
- package/dist/chunks/{variant-32grcv6n.js → location-dmxvvwbd.js} +3 -3
- package/dist/chunks/{variant-5w4kbhzj.js → location-dnpvkg52.js} +36 -36
- package/dist/chunks/{variant-srjtz9mv.js → location-dqx71bew.js} +36 -36
- package/dist/chunks/{variant-9hwaqfsw.js → location-dsr2y3g9.js} +5 -5
- package/dist/chunks/{variant-m6pcnaq2.js → location-dx6krq16.js} +20 -20
- package/dist/chunks/{variant-8arhm12g.js → location-e1wndh8r.js} +24 -24
- package/dist/chunks/{variant-hfgwpwpp.js → location-e241tn6m.js} +9 -9
- package/dist/chunks/{variant-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{variant-cjg42c8t.js → location-e6cr48re.js} +29 -29
- package/dist/chunks/{variant-xzrre6xp.js → location-e6hkw39t.js} +4 -4
- package/dist/chunks/{variant-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-q6gppffy.js → location-eg94g7be.js} +22 -22
- package/dist/chunks/{variant-vcgjavzm.js → location-em2dyr67.js} +15 -15
- package/dist/chunks/{variant-7ph72h93.js → location-emg0brma.js} +16 -16
- package/dist/chunks/{variant-c2cehf6b.js → location-emwyyrd1.js} +7 -7
- package/dist/chunks/{variant-z01wj9c4.js → location-enwhk1j2.js} +18 -18
- package/dist/chunks/{variant-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{variant-kpbb4v73.js → location-eq65txyb.js} +19 -19
- package/dist/chunks/{variant-p4zjnn1b.js → location-etf6549t.js} +32 -32
- package/dist/chunks/{variant-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-1qrvjt31.js → location-extssn6f.js} +18 -18
- package/dist/chunks/{variant-8vtqv0ab.js → location-f3zzdq7f.js} +33 -33
- package/dist/chunks/{variant-xs9h3ep0.js → location-f94a1y6m.js} +38 -38
- package/dist/chunks/{variant-jh4mddbt.js → location-f9nqsp9x.js} +14 -14
- package/dist/chunks/{variant-xrsga2b8.js → location-fy4vq0cf.js} +32 -32
- package/dist/chunks/{variant-p37cw4rj.js → location-g0445xdp.js} +8 -8
- package/dist/chunks/{variant-vxby77fw.js → location-g1sxm558.js} +8 -8
- package/dist/chunks/{variant-m359rxbq.js → location-g60b13bx.js} +24 -24
- package/dist/chunks/{variant-xzfnxand.js → location-gb1t5ear.js} +22 -22
- package/dist/chunks/{variant-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-djsestcq.js → location-ge91jyf8.js} +33 -33
- package/dist/chunks/{variant-n8sna2wb.js → location-gh5z95q3.js} +9 -9
- package/dist/chunks/{variant-pp48bh1f.js → location-gp6frtdn.js} +185 -185
- package/dist/chunks/{variant-84gad1zv.js → location-gpnawc23.js} +12 -12
- package/dist/chunks/{variant-x8a719yx.js → location-gxp16drv.js} +13 -13
- package/dist/chunks/{variant-h2b79v29.js → location-h2b79v29.js} +2 -2
- package/dist/chunks/{variant-10cxjgch.js → location-h5je9f4x.js} +5 -5
- package/dist/chunks/{variant-qfb0b5c2.js → location-h6jz5xhf.js} +1 -1
- package/dist/chunks/{variant-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-wh6zw745.js → location-h83xjv7f.js} +5 -5
- package/dist/chunks/{variant-eymke9sh.js → location-h9phamz0.js} +2 -2
- package/dist/chunks/{variant-32jztgwf.js → location-hc3dhjeq.js} +23 -23
- package/dist/chunks/{variant-6xwnd5n0.js → location-hfx60ehd.js} +54 -54
- package/dist/chunks/{variant-abp7q8sa.js → location-hpa0c1fz.js} +5 -5
- package/dist/chunks/{variant-4k5wkrh9.js → location-j2fqgjg4.js} +33 -33
- package/dist/chunks/{variant-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-9gn2e1q5.js → location-j8pqfbxb.js} +63 -63
- package/dist/chunks/{variant-pfj2krk7.js → location-jcbq1zyg.js} +15 -15
- package/dist/chunks/{variant-tdpndm1c.js → location-jgttmm4a.js} +5 -5
- package/dist/chunks/{variant-py3kkmfq.js → location-jktqzjpa.js} +8 -8
- package/dist/chunks/{variant-fhw597r0.js → location-jss687sr.js} +14 -14
- package/dist/chunks/{variant-17bspyb1.js → location-jtqztzh3.js} +50 -50
- package/dist/chunks/{variant-p226k876.js → location-jzhw4a2s.js} +6 -6
- package/dist/chunks/{variant-fqj9nv8j.js → location-k5m0fz1p.js} +6 -6
- package/dist/chunks/{variant-qr0tztqq.js → location-k6z6f32a.js} +36 -36
- package/dist/chunks/{variant-3v5tjer0.js → location-kgh2b2bb.js} +7 -7
- package/dist/chunks/{variant-396xe5we.js → location-kgxa73cw.js} +3 -3
- package/dist/chunks/{variant-7cx9cvsh.js → location-kj77vvpy.js} +1 -1
- package/dist/chunks/{variant-atg4dcqk.js → location-kqz56n1q.js} +4 -4
- package/dist/chunks/{variant-19wa5dg2.js → location-krj0eg2e.js} +6 -6
- package/dist/chunks/{variant-g1r7w4ks.js → location-krndrss9.js} +4 -4
- package/dist/chunks/{variant-dmsv4044.js → location-kxccgd9w.js} +22 -22
- package/dist/chunks/{variant-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-94svnpff.js → location-m8jsr5mr.js} +5 -5
- package/dist/chunks/{variant-qdp2stk8.js → location-m9gf3t53.js} +15 -15
- package/dist/chunks/{variant-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-kyd65svd.js → location-m9xh08tq.js} +27 -27
- package/dist/chunks/{variant-mazbtkaa.js → location-mazbtkaa.js} +2 -2
- package/dist/chunks/{variant-2y89dd9a.js → location-mb00kzbv.js} +15 -15
- package/dist/chunks/{variant-zfyd4z1t.js → location-mmawpaae.js} +11 -11
- package/dist/chunks/{variant-ypqp8gqh.js → location-mmd0gw8c.js} +28 -28
- package/dist/chunks/{variant-addxnjmp.js → location-mpk0rfs5.js} +4 -4
- package/dist/chunks/{variant-7wdw4sn7.js → location-mqjsfeb3.js} +16 -16
- package/dist/chunks/{variant-2g5mhw7z.js → location-mv09mkpd.js} +26 -26
- package/dist/chunks/{variant-trf9v1m0.js → location-netcfpy4.js} +10 -10
- package/dist/chunks/{variant-x9m4a9xf.js → location-nhb2zym4.js} +41 -41
- package/dist/chunks/{variant-hdtje8j6.js → location-nmpkdpqb.js} +9 -9
- package/dist/chunks/{variant-01n0fn3n.js → location-nn7fcnbv.js} +5 -5
- package/dist/chunks/{variant-6d98qxkn.js → location-np8489tv.js} +19 -19
- package/dist/chunks/{variant-pzw80991.js → location-npqbz8a8.js} +5 -5
- package/dist/chunks/{variant-ag3xtcd7.js → location-nqpfe4yw.js} +35 -35
- package/dist/chunks/{variant-baqpbr50.js → location-nsvjz0cs.js} +9 -9
- package/dist/chunks/{variant-fyqce8v0.js → location-nwephgj9.js} +13 -13
- package/dist/chunks/{variant-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/location-p23xwksy.js +26 -0
- package/dist/chunks/{variant-18126dgn.js → location-p7stdnfg.js} +27 -27
- package/dist/chunks/{variant-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-e30mydyk.js → location-pjx5ckar.js} +12 -12
- package/dist/chunks/{variant-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{variant-predqs4e.js → location-pvpsxjwk.js} +23 -23
- package/dist/chunks/{variant-t62k6cwy.js → location-pwqr2q9q.js} +18 -18
- package/dist/chunks/{variant-x7kbtnka.js → location-px1tv9jh.js} +12 -12
- package/dist/chunks/{variant-2fhv8f0b.js → location-q0bh82a3.js} +44 -44
- package/dist/chunks/{variant-brp8zeym.js → location-q5xvhvda.js} +6 -6
- package/dist/chunks/{variant-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-atm978tp.js → location-qtdzdy31.js} +15 -15
- package/dist/chunks/{variant-10zwexjt.js → location-qxjhtxm0.js} +18 -18
- package/dist/chunks/{variant-k844m94c.js → location-r083r3aj.js} +71 -71
- package/dist/chunks/location-r0x0b8pt.js +252 -0
- package/dist/chunks/{variant-qqtgdjgj.js → location-r21rr99m.js} +3 -3
- package/dist/chunks/{variant-vj7qk97t.js → location-r7bddz8h.js} +13 -13
- package/dist/chunks/{variant-54ma36ye.js → location-r94pvvab.js} +4 -4
- package/dist/chunks/{variant-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-1qfm3kg7.js → location-re14xf2b.js} +88 -88
- package/dist/chunks/{variant-v86rjf98.js → location-rfrg8xj3.js} +16 -16
- package/dist/chunks/{variant-pgbadr74.js → location-rpfnbr88.js} +9 -9
- package/dist/chunks/{variant-b9dr4ekr.js → location-rsc5nvjd.js} +22 -22
- package/dist/chunks/{variant-9jgd0g1z.js → location-ryq0szgz.js} +8 -8
- package/dist/chunks/{variant-eaj1djv9.js → location-s8d7rejh.js} +6 -6
- package/dist/chunks/{variant-0sep86pb.js → location-sm3wmrvw.js} +58 -58
- package/dist/chunks/{variant-9a5pyt9z.js → location-svhm0fyq.js} +4 -4
- package/dist/chunks/{variant-sf4zj9sn.js → location-sxchd0y6.js} +10 -10
- package/dist/chunks/{variant-367xe4pb.js → location-t09n1j92.js} +21 -21
- package/dist/chunks/{variant-vd86y6dk.js → location-t56z8npx.js} +17 -17
- package/dist/chunks/{variant-nz6s4zm9.js → location-t7h9p78s.js} +17 -17
- package/dist/chunks/{variant-awte1d78.js → location-t90zj35m.js} +36 -36
- package/dist/chunks/{variant-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-2myva995.js → location-tcay1cqt.js} +6 -6
- package/dist/chunks/{variant-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{variant-y1jyntcw.js → location-te5fms12.js} +42 -42
- package/dist/chunks/{variant-qd6m6a6s.js → location-thwpkt87.js} +20 -20
- package/dist/chunks/{variant-pmtnnnej.js → location-tmf6w2rh.js} +11 -11
- package/dist/chunks/{variant-49d935aw.js → location-tnd5nfdf.js} +6 -6
- package/dist/chunks/{variant-qkcvdzb0.js → location-tq5pwzt5.js} +15 -15
- package/dist/chunks/{variant-886x1de6.js → location-tqgzeth9.js} +29 -29
- package/dist/chunks/{variant-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-c5xf5z0j.js → location-tz3yymxp.js} +8 -8
- package/dist/chunks/{variant-3160htdx.js → location-v0c4n2cp.js} +5 -5
- package/dist/chunks/{variant-67h7xkhv.js → location-v79tvran.js} +23 -23
- package/dist/chunks/{variant-y0z8gwh2.js → location-vbzg75yf.js} +10 -10
- package/dist/chunks/{variant-d5fw341f.js → location-vemxbn5z.js} +18 -18
- package/dist/chunks/{variant-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-4erxxbbf.js → location-vg61vdbq.js} +35 -35
- package/dist/chunks/{variant-yt6cqe55.js → location-vj3r3k01.js} +11 -11
- package/dist/chunks/{variant-zc3c5803.js → location-vpkc3sbb.js} +35 -35
- package/dist/chunks/{variant-aj7xgpkt.js → location-vryj651x.js} +9 -9
- package/dist/chunks/{variant-dss9tgbb.js → location-vx27faas.js} +24 -24
- package/dist/chunks/{variant-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-xfkkasph.js → location-w19d8598.js} +5 -5
- package/dist/chunks/{variant-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{variant-6abt9vd9.js → location-wkpd98kw.js} +13 -13
- package/dist/chunks/{variant-zxgz6j12.js → location-wnf0vmz9.js} +7 -7
- package/dist/chunks/{variant-75dbh3sm.js → location-wnn0w2aw.js} +26 -26
- package/dist/chunks/{variant-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-6hh8tjw2.js → location-xb02k0wq.js} +4 -4
- package/dist/chunks/{variant-g190xswt.js → location-xdk9p2qn.js} +21 -21
- package/dist/chunks/{variant-dmqcgk4z.js → location-xkntkrq7.js} +5 -5
- package/dist/chunks/{variant-28m0ec4d.js → location-xnvw6qay.js} +41 -41
- package/dist/chunks/{variant-ydr4sfaa.js → location-xq8mjgp9.js} +11 -11
- package/dist/chunks/{variant-qy1zqqd8.js → location-xqbw3ymd.js} +3 -3
- package/dist/chunks/{variant-97ch1fd3.js → location-xqsnpyss.js} +24 -24
- package/dist/chunks/{variant-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-tjx3ap9d.js → location-y4709w2r.js} +40 -40
- package/dist/chunks/{variant-fw852r6x.js → location-y5nkv4ac.js} +10 -10
- package/dist/chunks/{variant-nxm207yx.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{variant-hfa8a3rd.js → location-y71hsdwf.js} +22 -22
- package/dist/chunks/{variant-5gd79jxb.js → location-y878aysx.js} +8 -8
- package/dist/chunks/{variant-qxz90s08.js → location-y8mggemk.js} +21 -21
- package/dist/chunks/{variant-1d10jwk2.js → location-yc68shpb.js} +13 -13
- package/dist/chunks/{variant-bq6v1dby.js → location-yenj50gr.js} +93 -93
- package/dist/chunks/{variant-reg6q42h.js → location-yq14pbr7.js} +5 -5
- package/dist/chunks/{variant-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-x1fg9w2t.js → location-ytkyka6t.js} +23 -23
- package/dist/chunks/{variant-mads3xza.js → location-yyg6k5dk.js} +12 -12
- package/dist/chunks/{variant-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-yqwyk71w.js → location-z7zmhm1c.js} +11 -11
- package/dist/chunks/{variant-jkvxnthz.js → location-zfs4r4te.js} +3 -3
- package/dist/chunks/{variant-pgsrtt9v.js → location-zfs8ae4p.js} +4 -4
- package/dist/chunks/{variant-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-1brx5qyk.js → location-zs1a0fk2.js} +37 -37
- package/dist/chunks/{variant-zxq2ej10.js → location-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 +123 -123
- 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 +125 -125
- 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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +81 -81
- 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 +87 -87
- 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 +129 -129
- 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 +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- 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 +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/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 +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- 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 +7 -7
- 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 +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- 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 +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- 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/variant-611kkatt.js +0 -252
- package/dist/chunks/variant-hgd4btym.js +0 -18
- package/dist/chunks/variant-w191f00y.js +0 -26
- /package/dist/chunks/{variant-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-px1tv9jh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node75
|
|
7
|
+
} from "./location-6z9mwsmt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service6,
|
|
10
|
+
node7
|
|
11
|
+
} from "./location-992hz17m.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service38
|
|
14
|
+
} from "./location-7fj5dwt0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node18,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-0p1ba10h.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service5,
|
|
21
|
+
node6
|
|
22
|
+
} from "./location-g0445xdp.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-2aqr678w.js";
|
|
28
28
|
import {
|
|
29
29
|
make3,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-3124xjv5.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service2,
|
|
35
|
+
node3
|
|
36
|
+
} from "./location-4s3tpmrn.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service4,
|
|
39
|
+
node5
|
|
40
|
+
} from "./location-6hjx5zpb.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
128
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
129
|
+
const registry = yield* Service38;
|
|
130
|
+
const sdk = yield* Service2;
|
|
131
|
+
const instance = yield* Service5;
|
|
132
|
+
const sources = yield* Service6;
|
|
133
133
|
const modules = yield* make3();
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
134
|
+
const bus = yield* Service81;
|
|
135
|
+
const updates = yield* Service4;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
node4,
|
|
212
|
-
node5,
|
|
210
|
+
node18,
|
|
213
211
|
node3,
|
|
214
212
|
node6,
|
|
215
|
-
|
|
213
|
+
node7,
|
|
214
|
+
node5,
|
|
215
|
+
node85,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node75,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-emg0brma.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-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: () => Service63,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node67,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node67 = LayerNode.unbound(Service63, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service63;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service63, node67, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-adxtbyr6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./location-px1tv9jh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event19,
|
|
11
|
+
Service76
|
|
12
|
+
} from "./location-ge91jyf8.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mpk0rfs5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-f3zzdq7f.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-90zqzmt2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID11,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info25
|
|
28
|
+
} from "./location-56pbwxwa.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID12.openai;
|
|
45
|
+
var integrationID = ID13.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -171,8 +171,8 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service81;
|
|
175
|
+
const credentials = yield* Service76;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID14.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info25.default(ID12.openai, ID11.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make15,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make15(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make15,
|
|
50
|
+
export { make15, render2, exports_system_prompt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-emg0brma.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./location-4x12h4qm.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-p7stdnfg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin38
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin38 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service70;
|
|
35
|
+
const location = yield* Service78;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin38, exports_reference };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-56pbwxwa.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-4x12h4qm.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-tnd5nfdf.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -36,7 +36,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service70;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-px1tv9jh.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-j8pqfbxb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info11,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service59,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node63,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info11 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service59 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service81;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service59.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node63 = makeLocationNode({
|
|
112
|
+
service: Service59,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node85]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info11, ID6, Name2, available2, toModelOutput3, prepare3, Service59, node63, exports_skill5, Event11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info23
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info23 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info23, exports_command5 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info21,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info21 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info21, exports_permission2 };
|