@opencode-ai/core 0.0.0-dev-19111 → 0.0.0-dev-19114
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{command-eccqmmqw.js → rpc-05x7kg3x.js} +10 -10
- package/dist/chunks/{command-qhzf1s86.js → rpc-08aze5ws.js} +28 -28
- package/dist/chunks/{command-nqeyrhbf.js → rpc-0c2bm2k8.js} +46 -46
- package/dist/chunks/{command-0e0xafbb.js → rpc-0e0xafbb.js} +2 -2
- package/dist/chunks/{command-5wmq78ra.js → rpc-0gxwyxn9.js} +11 -11
- package/dist/chunks/{command-507jwzhp.js → rpc-0n8tzkkd.js} +9 -9
- package/dist/chunks/{command-tppvcy65.js → rpc-0nsz8vzd.js} +9 -9
- package/dist/chunks/{command-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-36mzbjn4.js → rpc-0rag4e4f.js} +4 -4
- package/dist/chunks/{command-0s9ayhjt.js → rpc-0s9ayhjt.js} +1 -1
- package/dist/chunks/{command-r9gjvh9g.js → rpc-0vzfvg04.js} +8 -8
- package/dist/chunks/{command-hdmbq1xh.js → rpc-11zyvh05.js} +37 -37
- package/dist/chunks/{command-q53nydxb.js → rpc-13a4dv0y.js} +19 -19
- package/dist/chunks/{command-x7pjthx6.js → rpc-13wt57az.js} +150 -150
- package/dist/chunks/{command-1ct4r87x.js → rpc-1ct4r87x.js} +1 -1
- package/dist/chunks/{command-a5nkh94p.js → rpc-1f1wzhgc.js} +4 -4
- package/dist/chunks/{command-n4w2t69j.js → rpc-1hyh32dx.js} +1 -1
- package/dist/chunks/{command-5jbm950r.js → rpc-1mkf2rwt.js} +10 -10
- package/dist/chunks/{command-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{command-2402vzrj.js → rpc-2402vzrj.js} +1 -1
- package/dist/chunks/{command-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-xjqxrzvv.js → rpc-2bmk1p60.js} +32 -32
- package/dist/chunks/{command-2ht70gj7.js → rpc-2ht70gj7.js} +1 -1
- package/dist/chunks/{command-2jqmte8w.js → rpc-2jqmte8w.js} +2 -2
- package/dist/chunks/{command-b7hbr3r2.js → rpc-2kf7re16.js} +1 -1
- package/dist/chunks/{command-vk57p0r6.js → rpc-2ksdcbcj.js} +4 -4
- package/dist/chunks/{command-7d52aqke.js → rpc-2pka3nkn.js} +33 -33
- package/dist/chunks/{command-8bz0sd47.js → rpc-2ptt8nrr.js} +20 -20
- package/dist/chunks/{command-7nn4y7w6.js → rpc-362kye7e.js} +25 -25
- package/dist/chunks/{command-xw51m9r9.js → rpc-3bm3cy1r.js} +24 -24
- package/dist/chunks/{command-1mrma768.js → rpc-3cm4x8pz.js} +5 -5
- package/dist/chunks/{command-gdvy8fx6.js → rpc-3fc6dm20.js} +4 -4
- package/dist/chunks/{command-0xd2d7hb.js → rpc-3g2y1byn.js} +5 -5
- package/dist/chunks/{command-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3qzbfqsy.js → rpc-3qzbfqsy.js} +2 -2
- package/dist/chunks/{command-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-mh4ywd3j.js → rpc-3wv0wb6p.js} +3 -3
- package/dist/chunks/{command-qnr3jx13.js → rpc-3x4vyhkr.js} +4 -4
- package/dist/chunks/{command-454k5vzh.js → rpc-454k5vzh.js} +1 -1
- package/dist/chunks/{command-ybs14z4j.js → rpc-4cpnf65c.js} +32 -32
- package/dist/chunks/{command-kqetvnf7.js → rpc-4f62s5at.js} +27 -27
- package/dist/chunks/{command-4r2nyarf.js → rpc-4r2nyarf.js} +1 -1
- package/dist/chunks/{command-07jbfwff.js → rpc-4rkx0bt1.js} +7 -7
- package/dist/chunks/rpc-4v7qdvcn.js +18 -0
- package/dist/chunks/{command-ww1szn71.js → rpc-53rarqxp.js} +5 -5
- package/dist/chunks/{command-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{command-5fmxt4p5.js → rpc-5fmxt4p5.js} +1 -1
- package/dist/chunks/{command-5jvc5tg2.js → rpc-5jvc5tg2.js} +1 -1
- package/dist/chunks/{command-s4pt1ctc.js → rpc-5qvt5yk2.js} +35 -35
- package/dist/chunks/{command-wm5m1cpt.js → rpc-5t5ksy9c.js} +55 -55
- package/dist/chunks/{command-7tft0kbg.js → rpc-5z2s6r3m.js} +16 -16
- package/dist/chunks/{command-62qcn064.js → rpc-6426t8cq.js} +27 -27
- package/dist/chunks/{command-12gh2r0n.js → rpc-681pyqye.js} +4 -4
- package/dist/chunks/{command-3ywkksk4.js → rpc-68w074am.js} +9 -9
- package/dist/chunks/{command-33hp2zv2.js → rpc-6es5bxv4.js} +14 -14
- package/dist/chunks/{command-50m12935.js → rpc-6gbhcw7b.js} +31 -31
- package/dist/chunks/{command-6tf8tr4v.js → rpc-6tf8tr4v.js} +2 -2
- package/dist/chunks/{command-z1n2e8q4.js → rpc-6yk53f3y.js} +2 -2
- package/dist/chunks/{command-6z5bwd8g.js → rpc-6z5bwd8g.js} +2 -2
- package/dist/chunks/{command-8y13jkzv.js → rpc-6zynhbga.js} +22 -22
- package/dist/chunks/{command-711hfp6y.js → rpc-711hfp6y.js} +2 -2
- package/dist/chunks/{command-6fenjrr4.js → rpc-72scwqkv.js} +1 -1
- package/dist/chunks/{command-rmkjmdgc.js → rpc-759pz1a2.js} +8 -8
- package/dist/chunks/{command-wrv1mk8k.js → rpc-79e6z3n4.js} +5 -5
- package/dist/chunks/{command-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-ws5hqc9c.js → rpc-7frpa3vk.js} +20 -20
- package/dist/chunks/{command-5vf5ce74.js → rpc-7g2wyn62.js} +27 -27
- package/dist/chunks/{command-367jrrwj.js → rpc-7jdqkrnt.js} +11 -11
- package/dist/chunks/{command-ktx1hmb3.js → rpc-7jykqdz2.js} +10 -10
- package/dist/chunks/{command-ndtqzn46.js → rpc-7n09dgdk.js} +1 -1
- package/dist/chunks/{command-kxmj7br7.js → rpc-7p4c7sjp.js} +60 -60
- package/dist/chunks/rpc-835wsdkr.js +243 -0
- package/dist/chunks/{command-9tmgd7pk.js → rpc-88fx4v6q.js} +19 -19
- package/dist/chunks/{command-e1rfyyrx.js → rpc-8a1wqn9j.js} +6 -6
- package/dist/chunks/{command-v8yh8gmz.js → rpc-8enbe2zj.js} +8 -8
- package/dist/chunks/{command-ttdwytnm.js → rpc-8ftyy1y4.js} +4 -4
- package/dist/chunks/{command-f4payg1q.js → rpc-8tb94gac.js} +26 -26
- package/dist/chunks/{command-b4cmc4ha.js → rpc-8wp61sve.js} +16 -16
- package/dist/chunks/{command-avz8t4j1.js → rpc-8yb6ktry.js} +11 -11
- package/dist/chunks/{command-crb07ac6.js → rpc-8zj8e59x.js} +4 -4
- package/dist/chunks/{command-93a8yfjt.js → rpc-93a8yfjt.js} +2 -2
- package/dist/chunks/{command-6e958v7x.js → rpc-97f5v037.js} +4 -4
- package/dist/chunks/{command-cnrverm5.js → rpc-9aknjvfg.js} +15 -15
- package/dist/chunks/{command-etaqwdhb.js → rpc-9b0zy0qp.js} +35 -35
- package/dist/chunks/{command-2470z9n9.js → rpc-9e0xajhk.js} +13 -13
- package/dist/chunks/{command-9qm9egsn.js → rpc-9qm9egsn.js} +2 -2
- package/dist/chunks/{command-ttg35kwh.js → rpc-9ta1ym7w.js} +37 -37
- package/dist/chunks/{command-18vzz2sn.js → rpc-9zrnh5xs.js} +45 -45
- package/dist/chunks/{command-qs1c0g84.js → rpc-a82phm85.js} +3 -3
- package/dist/chunks/{command-1ydgq2r4.js → rpc-a9zfrvqc.js} +5 -5
- package/dist/chunks/{command-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{command-0nqpaxk7.js → rpc-aaqvfjmc.js} +280 -280
- package/dist/chunks/{command-fdsmhwy2.js → rpc-abz7a5b3.js} +9 -9
- package/dist/chunks/{command-t6keskfq.js → rpc-agbwq1v1.js} +9 -9
- package/dist/chunks/{command-yct8znxp.js → rpc-agypkckn.js} +23 -23
- package/dist/chunks/{command-ajtjthsy.js → rpc-ajtjthsy.js} +2 -2
- package/dist/chunks/{command-8g5xycft.js → rpc-akr89kgy.js} +12 -12
- package/dist/chunks/{command-3b6b9fm5.js → rpc-awvzwpe5.js} +4 -4
- package/dist/chunks/{command-1qn1pdz2.js → rpc-b53s1hq4.js} +11 -11
- package/dist/chunks/rpc-b5q5y4vk.js +4 -0
- package/dist/chunks/{command-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-w0zpdtzg.js → rpc-b9t840km.js} +57 -57
- package/dist/chunks/{command-b9wsbatv.js → rpc-b9wsbatv.js} +1 -1
- package/dist/chunks/{command-bcezcar3.js → rpc-bcezcar3.js} +2 -2
- package/dist/chunks/{command-dfe8djrf.js → rpc-bct739vz.js} +4 -4
- package/dist/chunks/{command-et2w1z4j.js → rpc-bpj5emke.js} +15 -15
- package/dist/chunks/{command-v08anw5k.js → rpc-bzxkbfsh.js} +2 -2
- package/dist/chunks/{command-7j0nj4pm.js → rpc-c45qpk7m.js} +5 -5
- package/dist/chunks/{command-zgc58s1t.js → rpc-c6p2r8tp.js} +1 -1
- package/dist/chunks/{command-0kfne21a.js → rpc-cn4y6mk1.js} +9 -9
- package/dist/chunks/{command-8j2k6enj.js → rpc-cv5vc9nm.js} +22 -22
- package/dist/chunks/{command-cbz1xrzf.js → rpc-cvhw1js2.js} +10 -10
- package/dist/chunks/{command-n62bh1ef.js → rpc-d2pvyrbx.js} +2 -2
- package/dist/chunks/{command-sw16r4ae.js → rpc-d54cj6d5.js} +17 -17
- package/dist/chunks/{command-d72308c8.js → rpc-d72308c8.js} +2 -2
- package/dist/chunks/{command-ev24k3w5.js → rpc-d8k9asg8.js} +7 -7
- package/dist/chunks/{command-0kjqcjxv.js → rpc-d910tjb6.js} +9 -9
- package/dist/chunks/{command-5jdmrxhb.js → rpc-dkxcwvcg.js} +9 -9
- package/dist/chunks/{command-g8vcfp1v.js → rpc-dkzv161j.js} +29 -29
- package/dist/chunks/{command-bwdms3f5.js → rpc-dnn1mfa9.js} +10 -10
- package/dist/chunks/{command-n9vsncbs.js → rpc-dw3xrg89.js} +1 -1
- package/dist/chunks/{command-d26dc0tg.js → rpc-dw7nx357.js} +28 -28
- package/dist/chunks/{command-n7w5zqem.js → rpc-dyjhg8hd.js} +29 -29
- package/dist/chunks/{command-0vynkq1k.js → rpc-e0c61twq.js} +25 -25
- package/dist/chunks/{command-2wjn61mn.js → rpc-e11tpvzs.js} +9 -9
- package/dist/chunks/{command-a0tjzrhq.js → rpc-e3gwwck0.js} +11 -11
- package/dist/chunks/{command-qk2s0wq8.js → rpc-e5e2w1y3.js} +15 -15
- package/dist/chunks/{command-ac3j6t8f.js → rpc-ecj1d35v.js} +8 -8
- package/dist/chunks/{command-zrrqbtv4.js → rpc-edyt7veh.js} +16 -16
- package/dist/chunks/{command-2697d8n0.js → rpc-eq7n8p4e.js} +8 -8
- package/dist/chunks/{command-aya6j6m3.js → rpc-esmjj44a.js} +9 -9
- package/dist/chunks/{command-dy3xyxz9.js → rpc-ex26y97c.js} +27 -27
- package/dist/chunks/{command-5sg4xzjf.js → rpc-ez5b8bq3.js} +7 -7
- package/dist/chunks/{command-q5jefrn9.js → rpc-f8qtv88y.js} +10 -10
- package/dist/chunks/{command-myp0nqk5.js → rpc-f9kjby5r.js} +7 -7
- package/dist/chunks/{command-9s3d2qf6.js → rpc-fcbhp7q1.js} +20 -20
- package/dist/chunks/{command-2k8khapm.js → rpc-fcrkznn8.js} +5 -5
- package/dist/chunks/{command-5pzwqq2j.js → rpc-fdybstan.js} +17 -17
- package/dist/chunks/{command-mm8fez2g.js → rpc-fjhz18m3.js} +20 -20
- package/dist/chunks/{command-jpf66q1b.js → rpc-fmxyf492.js} +24 -24
- package/dist/chunks/{command-vjvb94qs.js → rpc-fqae1sy2.js} +4 -4
- package/dist/chunks/{command-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-fxypknc8.js → rpc-fxypknc8.js} +1 -1
- package/dist/chunks/{command-ptd509h3.js → rpc-g0z069dn.js} +3 -3
- package/dist/chunks/{command-71p0ewq5.js → rpc-g9hcz8g4.js} +3 -3
- package/dist/chunks/{command-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-15zye2r5.js → rpc-gm9r9zqf.js} +16 -16
- package/dist/chunks/{command-d6wax2q4.js → rpc-gn28t5xn.js} +14 -14
- package/dist/chunks/{command-1r09dsq2.js → rpc-gqzvtz8d.js} +2 -2
- package/dist/chunks/{command-3p3achxg.js → rpc-gvj0n0b8.js} +43 -43
- package/dist/chunks/{command-rwh68y4k.js → rpc-gzbkpp9m.js} +6 -6
- package/dist/chunks/{command-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-sp02xnra.js → rpc-havr56k6.js} +8 -8
- package/dist/chunks/{command-heyhwy2w.js → rpc-heyhwy2w.js} +1 -1
- package/dist/chunks/{command-d7jhfk1z.js → rpc-hkfdkmkj.js} +20 -20
- package/dist/chunks/{command-awvh19kp.js → rpc-hky6zsj8.js} +4 -4
- package/dist/chunks/{command-vd7zqppv.js → rpc-hm8am6ct.js} +8 -8
- package/dist/chunks/{command-hrvm11jt.js → rpc-hrvm11jt.js} +3 -3
- package/dist/chunks/{command-d58yx3mx.js → rpc-hskdg1tj.js} +20 -20
- package/dist/chunks/{command-kvsjn1dr.js → rpc-hw4pv20g.js} +2 -2
- package/dist/chunks/{command-md0qwdy1.js → rpc-j1g84fdq.js} +16 -16
- package/dist/chunks/{command-6xw6ac85.js → rpc-j4wxjfwy.js} +30 -30
- package/dist/chunks/{command-5qd3pb7m.js → rpc-j935v87r.js} +2 -2
- package/dist/chunks/{command-ggs7d5mp.js → rpc-jg1vwa91.js} +13 -13
- package/dist/chunks/{command-ch60wd2z.js → rpc-jj3qxa52.js} +4 -4
- package/dist/chunks/{command-9s7m1fh2.js → rpc-jj9xsyb9.js} +11 -11
- package/dist/chunks/{command-99ks3syn.js → rpc-jjtztttc.js} +17 -17
- package/dist/chunks/{command-k200p2dv.js → rpc-jpnc116f.js} +9 -9
- package/dist/chunks/{command-jwcy2c2z.js → rpc-jwcy2c2z.js} +1 -1
- package/dist/chunks/{command-fj4x2m8g.js → rpc-k1a72sje.js} +21 -21
- package/dist/chunks/{command-ys04yrn6.js → rpc-k3fb46c0.js} +18 -18
- package/dist/chunks/{command-k4bwy1x5.js → rpc-k4bwy1x5.js} +1 -1
- package/dist/chunks/{command-h3wsk5t8.js → rpc-k6sj68zp.js} +14 -14
- package/dist/chunks/{command-5fpdng81.js → rpc-kejw0t4e.js} +5 -5
- package/dist/chunks/{command-4rftwdm7.js → rpc-kexr6zkj.js} +18 -18
- package/dist/chunks/{command-kg06axw8.js → rpc-kg06axw8.js} +1 -1
- package/dist/chunks/{command-fnptnz5b.js → rpc-kpzf6j9d.js} +10 -10
- package/dist/chunks/{command-e4kk8zzx.js → rpc-krmx2xyr.js} +41 -41
- package/dist/chunks/{command-z0y2k7gm.js → rpc-kyb8p98y.js} +31 -31
- package/dist/chunks/{command-yahcm7nx.js → rpc-m4673ea2.js} +26 -26
- package/dist/chunks/{command-a2bdyd3c.js → rpc-m51pq2yd.js} +6 -6
- package/dist/chunks/{command-2zsr04y1.js → rpc-m6v4gpqz.js} +12 -12
- package/dist/chunks/{command-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-z1s4wvth.js → rpc-mafy3fh7.js} +13 -13
- package/dist/chunks/{command-7yh4e7ss.js → rpc-mhkvc446.js} +3 -3
- package/dist/chunks/{command-5gv2kmhj.js → rpc-mke2843p.js} +22 -22
- package/dist/chunks/{command-xk7t5g8q.js → rpc-mpbw7sv7.js} +4 -4
- package/dist/chunks/{command-nzzxe9z3.js → rpc-mq8dv1hp.js} +24 -24
- package/dist/chunks/{command-zmm1cve0.js → rpc-mzsb370n.js} +10 -10
- package/dist/chunks/{command-nrz5c8c1.js → rpc-nrz5c8c1.js} +2 -2
- package/dist/chunks/{command-kmkwybff.js → rpc-p0b4ytnr.js} +6 -6
- package/dist/chunks/{command-e1patwpn.js → rpc-pb1tcd0x.js} +34 -34
- package/dist/chunks/{command-9cgz4z4t.js → rpc-pbv7m5sr.js} +3 -3
- package/dist/chunks/{command-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-1akmxprb.js → rpc-pkkvpc61.js} +14 -14
- package/dist/chunks/{command-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{command-7w010q1d.js → rpc-q3hv2sj9.js} +49 -49
- package/dist/chunks/{command-fbgbrvxb.js → rpc-q485ymv2.js} +81 -81
- package/dist/chunks/{command-hs09szwj.js → rpc-q55daa19.js} +9 -9
- package/dist/chunks/{command-279zjhpq.js → rpc-q58618g1.js} +79 -79
- package/dist/chunks/{command-806j49yq.js → rpc-qa3qhgw8.js} +4 -4
- package/dist/chunks/{command-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{command-9yaajp0h.js → rpc-qw4tavyr.js} +10 -10
- package/dist/chunks/{command-f5vdqjqt.js → rpc-r05hg6dq.js} +2 -2
- package/dist/chunks/{command-wnjdg9f5.js → rpc-r6p8n554.js} +14 -14
- package/dist/chunks/{command-r8dhm0tv.js → rpc-r8dhm0tv.js} +1 -1
- package/dist/chunks/{command-cv9knkrg.js → rpc-rde9wvyt.js} +11 -11
- package/dist/chunks/{command-7g7fb98j.js → rpc-re7ze2ma.js} +1 -1
- package/dist/chunks/{command-pctbbrby.js → rpc-rp7g6xwr.js} +8 -8
- package/dist/chunks/{command-38fdqmmq.js → rpc-rrq6kz97.js} +36 -36
- package/dist/chunks/{command-p325kmej.js → rpc-rvn46zq7.js} +9 -9
- package/dist/chunks/{command-sba4qhjf.js → rpc-sba4qhjf.js} +1 -1
- package/dist/chunks/{command-7sq5cger.js → rpc-sj09nt66.js} +17 -17
- package/dist/chunks/{command-z0caz8m8.js → rpc-sp67jf0a.js} +2 -2
- package/dist/chunks/{command-m09hh2qm.js → rpc-sqqtc4xq.js} +15 -15
- package/dist/chunks/{command-exy2v0tj.js → rpc-sygak18j.js} +15 -15
- package/dist/chunks/{command-ndxmc8jy.js → rpc-t28cy6st.js} +13 -13
- package/dist/chunks/{command-9rhh5gqv.js → rpc-t53mj6v6.js} +4 -4
- package/dist/chunks/{command-pcras68f.js → rpc-t6f6dd4d.js} +15 -15
- package/dist/chunks/{command-fvzk6cpt.js → rpc-t789mvnh.js} +36 -36
- package/dist/chunks/{command-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-89znhe33.js → rpc-tcezcvh9.js} +4 -4
- package/dist/chunks/{command-ysynen7x.js → rpc-tcqnna6w.js} +17 -17
- package/dist/chunks/{command-tjykrgmx.js → rpc-tjykrgmx.js} +1 -1
- package/dist/chunks/{command-y9j759kk.js → rpc-trt6hbzz.js} +4 -4
- package/dist/chunks/{command-d9jdb4zk.js → rpc-tv79vecj.js} +9 -9
- package/dist/chunks/{command-yd3gakm9.js → rpc-txppa427.js} +16 -16
- package/dist/chunks/{command-kzdh53w6.js → rpc-v0sae4m8.js} +26 -26
- package/dist/chunks/{command-fexqjycg.js → rpc-v550zfzq.js} +26 -26
- package/dist/chunks/{command-y1gygb79.js → rpc-v6ym2mbm.js} +38 -38
- package/dist/chunks/{command-w4tqxsac.js → rpc-vg1f7981.js} +6 -6
- package/dist/chunks/{command-6cnvhzhy.js → rpc-vg7vz8a0.js} +17 -17
- package/dist/chunks/{command-7r0r50e5.js → rpc-vrpz8t5t.js} +5 -5
- package/dist/chunks/{command-kmng5yeq.js → rpc-vv86pfn4.js} +12 -12
- package/dist/chunks/{command-e1mb8xhp.js → rpc-vvn5h3hg.js} +11 -11
- package/dist/chunks/{command-qvw3ex0p.js → rpc-vz05mr0w.js} +9 -9
- package/dist/chunks/{command-drsywa8d.js → rpc-w09bvaae.js} +47 -47
- package/dist/chunks/{command-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-1h95a3b9.js → rpc-w55q2m1g.js} +4 -4
- package/dist/chunks/{command-v0gwpyr8.js → rpc-w6k1qeax.js} +24 -24
- package/dist/chunks/{command-fpthsa93.js → rpc-w8h6fvwh.js} +2 -2
- package/dist/chunks/{command-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{command-tbeh7nm8.js → rpc-wjdvdpz4.js} +9 -9
- package/dist/chunks/{command-5tc0y89d.js → rpc-wnwn53rt.js} +11 -11
- package/dist/chunks/{command-x5s817a3.js → rpc-wta8nv8e.js} +1 -1
- package/dist/chunks/{command-fz4jwa6n.js → rpc-wtm3m4mv.js} +20 -20
- package/dist/chunks/{command-qh16mj05.js → rpc-wy3a9ktx.js} +6 -6
- package/dist/chunks/{command-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-r656qmc8.js → rpc-x64q5xrw.js} +1 -1
- package/dist/chunks/{command-zjxf22wa.js → rpc-xdqwr4d8.js} +9 -9
- package/dist/chunks/{command-taexzmrc.js → rpc-xgjn1vmq.js} +25 -25
- package/dist/chunks/{command-4rqr8y5g.js → rpc-xw7hdwrj.js} +24 -24
- package/dist/chunks/{command-nv1mfemk.js → rpc-y092mk2a.js} +6 -6
- package/dist/chunks/{command-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-kw4n94xb.js → rpc-y1wkrapf.js} +32 -32
- package/dist/chunks/{command-pa2jrwbg.js → rpc-y3xxj3sg.js} +9 -9
- package/dist/chunks/{command-ec7s3w8j.js → rpc-ydwy5z2b.js} +46 -46
- package/dist/chunks/{command-yfbd16n1.js → rpc-yfbd16n1.js} +2 -2
- package/dist/chunks/{command-wwach3d4.js → rpc-ygw4aaat.js} +25 -25
- package/dist/chunks/{command-9rp752s8.js → rpc-yq5tbn9k.js} +18 -18
- package/dist/chunks/{command-0s7aarrn.js → rpc-yrydy187.js} +14 -14
- package/dist/chunks/{command-035rcwns.js → rpc-yvsdtapc.js} +19 -19
- package/dist/chunks/{command-g4p2jaj6.js → rpc-ywpw23hy.js} +5 -5
- package/dist/chunks/{command-dn2favvt.js → rpc-ywszqpxp.js} +9 -9
- package/dist/chunks/{command-z1k01bn4.js → rpc-z1k01bn4.js} +2 -2
- package/dist/chunks/{command-h93sf8xp.js → rpc-z2zzq6cg.js} +2 -2
- package/dist/chunks/{command-z3xgatyd.js → rpc-z3xgatyd.js} +1 -1
- package/dist/chunks/{command-29x78va6.js → rpc-z63w68vq.js} +6 -6
- package/dist/chunks/{command-jzpht0s0.js → rpc-zjhjw14a.js} +32 -32
- package/dist/chunks/{command-j2rksbgg.js → rpc-zq9fnn7x.js} +11 -11
- package/dist/chunks/{command-k7c7fj4z.js → rpc-zt79yd0y.js} +8 -8
- package/dist/chunks/{command-7r1tj01c.js → rpc-ztb7vdkc.js} +20 -20
- package/dist/chunks/{command-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-bnqaaxy4.js → rpc-zy59706a.js} +10 -10
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- 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 +347 -347
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +4 -4
- package/dist/models-dev.js +86 -86
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +94 -94
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +94 -94
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +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 +4 -4
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +86 -86
- package/package.json +7 -7
- package/dist/chunks/command-7zk4hah4.js +0 -4
- package/dist/chunks/command-kkjhrqrd.js +0 -243
- package/dist/chunks/command-qc068m1q.js +0 -18
- /package/dist/chunks/{command-0fabt78z.js → rpc-0fabt78z.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t738kvx.js → rpc-3t738kvx.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-41nvscxy.js → rpc-41nvscxy.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-982e01ww.js → rpc-982e01ww.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mntxs535.js → rpc-mntxs535.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p8qxwesx.js → rpc-p8qxwesx.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-se0s1eqw.js → rpc-se0s1eqw.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x1b8g1yb.js → rpc-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → rpc-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zbjnn3ac.js → rpc-zbjnn3ac.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node64
|
|
7
|
+
} from "./rpc-mq8dv1hp.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service17,
|
|
17
|
+
node: () => node20,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode-ai/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service17 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service61;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service17.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node64] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service17, readText2, syncTextBom2, node20, exports_file_mutation };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./rpc-jjtztttc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./rpc-mq8dv1hp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service60
|
|
15
|
+
} from "./rpc-r6p8n554.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./rpc-6426t8cq.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service57
|
|
25
|
+
} from "./rpc-edyt7veh.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service64
|
|
28
|
+
} from "./rpc-b9t840km.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
38
|
-
Output: () =>
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
37
|
+
Input: () => Input12,
|
|
38
|
+
Output: () => Output8,
|
|
39
|
+
Plugin: () => Plugin27,
|
|
40
|
+
name: () => name12,
|
|
41
|
+
toModelContent: () => toModelContent6
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name12 = "glob";
|
|
47
|
+
var Input12 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,28 +56,28 @@ var Input5 = Schema.Struct({
|
|
|
56
56
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var Output8 = Schema.Array(Entry2);
|
|
60
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin27 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
|
-
const environment = yield*
|
|
71
|
-
const ripgrep = yield*
|
|
72
|
-
const location = yield*
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
70
|
+
const environment = yield* Service61;
|
|
71
|
+
const ripgrep = yield* Service60;
|
|
72
|
+
const location = yield* Service69;
|
|
73
|
+
const mutation = yield* Service57;
|
|
74
|
+
const permission = yield* Service64;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name12,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
79
|
+
input: Input12,
|
|
80
|
+
output: Output8,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
83
83
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -91,7 +91,7 @@ var Plugin35 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name12,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -119,18 +119,18 @@ var Plugin35 = {
|
|
|
119
119
|
orElse: () => Effect.fail(new ToolFailure({
|
|
120
120
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
121
121
|
}))
|
|
122
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
122
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
123
123
|
...entry,
|
|
124
124
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
125
125
|
}))));
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name12, Input12, Output8, toModelContent6, Plugin27, exports_glob };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-w55q2m1g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./rpc-ex26y97c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service55,
|
|
12
|
+
node58
|
|
13
|
+
} from "./rpc-mke2843p.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node73
|
|
20
|
+
} from "./rpc-jjtztttc.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-hw4pv20g.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-w6k1qeax.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-dnn1mfa9.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service56,
|
|
36
|
+
Event12,
|
|
37
|
+
node59
|
|
38
|
+
} from "./rpc-k3fb46c0.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./rpc-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options8,
|
|
48
|
+
Service: () => Service54,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node57,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options8 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service54 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service54, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service69;
|
|
100
|
+
const watcher = yield* Service55;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service76;
|
|
103
|
+
const wellknown = yield* Service56;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,8 +223,8 @@ var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service54.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured9(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service54,
|
|
248
|
+
layer: layer21(options),
|
|
249
|
+
deps: [node58, node83, FSUtil.node, Global.node, node73, node80, node59]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node57 = configured9();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options8, Service54, Test2, testLayer2, layer21, configured9, node57, exports_config };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-d8k9asg8.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-x64q5xrw.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info17
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info17 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info17, exports_attachment };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|