@opencode/core 0.0.0-dev-19335 → 0.0.0-dev-19336
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 +73 -73
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{integration-6hpga0xb.js → location-services-00v0w1pn.js} +25 -25
- package/dist/chunks/{integration-xq5vd1g3.js → location-services-0387ntk2.js} +15 -15
- package/dist/chunks/{integration-5c0f1prt.js → location-services-06dxphr1.js} +4 -4
- package/dist/chunks/{integration-wvmccxaf.js → location-services-0aqaye2v.js} +21 -21
- package/dist/chunks/location-services-0ckm5bhw.js +22 -0
- package/dist/chunks/{integration-nxhqveyz.js → location-services-0f9afca0.js} +5 -5
- package/dist/chunks/{integration-tz90ke85.js → location-services-0kghfr31.js} +36 -36
- package/dist/chunks/location-services-0mesazry.js +4 -0
- package/dist/chunks/{integration-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-5c6m6vsk.js → location-services-0qk6n2y7.js} +36 -36
- package/dist/chunks/{integration-hnr5yq9h.js → location-services-0r7yqxbf.js} +5 -5
- package/dist/chunks/{integration-5h4dzmft.js → location-services-12behdsj.js} +11 -11
- package/dist/chunks/{integration-6rb3844k.js → location-services-1at44jv2.js} +14 -14
- package/dist/chunks/{integration-54artk0j.js → location-services-1c4qjgv9.js} +1 -1
- package/dist/chunks/{integration-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-1dfhrqqs.js → location-services-1dfhrqqs.js} +2 -2
- package/dist/chunks/{integration-x1ngw0s8.js → location-services-1ktzqmb5.js} +15 -15
- package/dist/chunks/{integration-62yneyxz.js → location-services-1s1fbqj5.js} +14 -14
- package/dist/chunks/{integration-3t0sa62q.js → location-services-1sfmn0at.js} +20 -20
- package/dist/chunks/{integration-7q5gmfr7.js → location-services-1v3d03cy.js} +32 -32
- package/dist/chunks/{integration-3r0v66sm.js → location-services-1vb9fm0n.js} +32 -32
- package/dist/chunks/location-services-1x11rq2a.js +18 -0
- package/dist/chunks/{integration-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{integration-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{integration-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-8qcmgz3z.js → location-services-2q8h11r1.js} +9 -9
- package/dist/chunks/{integration-97c0fx89.js → location-services-30qzt7jy.js} +25 -25
- package/dist/chunks/{integration-2chp6tba.js → location-services-31zm1s50.js} +31 -31
- package/dist/chunks/{integration-77k3n89b.js → location-services-34na97t4.js} +4 -4
- package/dist/chunks/{integration-xfzgq77v.js → location-services-3am5m0cf.js} +21 -21
- package/dist/chunks/{integration-gdvy8fx6.js → location-services-3fc6dm20.js} +4 -4
- package/dist/chunks/{integration-wgts12ht.js → location-services-3g0xtcs6.js} +13 -13
- package/dist/chunks/{integration-01gcv941.js → location-services-3gt2xagq.js} +26 -26
- package/dist/chunks/{integration-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-1yvqcgns.js → location-services-3mmc2xt1.js} +11 -11
- package/dist/chunks/{integration-70z1vbrh.js → location-services-3rz3vg39.js} +57 -57
- package/dist/chunks/{integration-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-9fwp41vh.js → location-services-3tey5e4w.js} +10 -10
- package/dist/chunks/{integration-fegk541e.js → location-services-3tt1qkhr.js} +5 -5
- package/dist/chunks/{integration-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-evbgk2k8.js → location-services-3w0fmcng.js} +5 -5
- package/dist/chunks/{integration-j13s2yy7.js → location-services-3xh3zrfj.js} +10 -10
- package/dist/chunks/{integration-trn6vfc7.js → location-services-3znngwgn.js} +9 -9
- package/dist/chunks/{integration-psq2ts59.js → location-services-4crx14pj.js} +10 -10
- package/dist/chunks/{integration-zrrhsv9d.js → location-services-4eavgkwb.js} +8 -8
- package/dist/chunks/{integration-s49bppn0.js → location-services-4hzm3hzr.js} +69 -69
- package/dist/chunks/{integration-pqd1mzxt.js → location-services-4j4p0yst.js} +9 -9
- package/dist/chunks/{integration-hfqk3xwb.js → location-services-4pg6n0t4.js} +14 -14
- package/dist/chunks/{integration-nnffx9v7.js → location-services-4ttr90xy.js} +20 -20
- package/dist/chunks/{integration-d7cw8m3z.js → location-services-4wdwamv9.js} +18 -18
- package/dist/chunks/{integration-adgzdewx.js → location-services-4ycxm7c6.js} +18 -18
- package/dist/chunks/{integration-4j96gx1k.js → location-services-54td8zkb.js} +5 -5
- package/dist/chunks/{integration-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
- package/dist/chunks/{integration-6rj0pkd8.js → location-services-5ap78ss6.js} +41 -41
- package/dist/chunks/{integration-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-jf14zfns.js → location-services-5thce3ah.js} +35 -35
- package/dist/chunks/{integration-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{integration-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-rnfsqz71.js → location-services-6nh5w358.js} +11 -11
- package/dist/chunks/{integration-nnf6b75y.js → location-services-6qtdhq9p.js} +32 -32
- package/dist/chunks/{integration-g7b0jb5m.js → location-services-6t5esrgx.js} +13 -13
- package/dist/chunks/{integration-mhb8h3pe.js → location-services-6wwkxy3b.js} +3 -3
- package/dist/chunks/{integration-71q4at8m.js → location-services-71q4at8m.js} +1 -1
- package/dist/chunks/{integration-11mqr01d.js → location-services-7amtd6bp.js} +13 -13
- package/dist/chunks/{integration-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-0fcsp1cp.js → location-services-7dh69f0v.js} +7 -7
- package/dist/chunks/{integration-qgn6gcr1.js → location-services-7dqw4kz8.js} +5 -5
- package/dist/chunks/{integration-g316fa4m.js → location-services-7emx6ety.js} +13 -13
- package/dist/chunks/{integration-7z7az0f5.js → location-services-7sqxeqwy.js} +4 -4
- package/dist/chunks/{integration-hsvyyagr.js → location-services-7tkmrrpv.js} +40 -40
- package/dist/chunks/{integration-tr6g8z48.js → location-services-81s162yb.js} +9 -9
- package/dist/chunks/{integration-qny5sbzp.js → location-services-8azq3xgr.js} +23 -23
- package/dist/chunks/{integration-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-x93zays9.js → location-services-8f0zq1qa.js} +6 -6
- package/dist/chunks/{integration-a9yqag6z.js → location-services-8jywm6xd.js} +18 -18
- package/dist/chunks/{integration-8p4f9s12.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{integration-t1bhcjx3.js → location-services-96yt6zt0.js} +1 -1
- package/dist/chunks/{integration-axwbg76g.js → location-services-98cmn0hr.js} +17 -17
- package/dist/chunks/{integration-3pft0tdh.js → location-services-98r3f9c4.js} +24 -24
- package/dist/chunks/{integration-em03vsep.js → location-services-9r3q67g7.js} +84 -84
- package/dist/chunks/{integration-tcaxewzn.js → location-services-9tdt6gn5.js} +13 -13
- package/dist/chunks/{integration-296w2s1t.js → location-services-9w95a7ga.js} +23 -23
- package/dist/chunks/{integration-ea0n3w35.js → location-services-9wrk0c7x.js} +15 -15
- package/dist/chunks/{integration-nyh387a9.js → location-services-9xx5ccgp.js} +25 -25
- package/dist/chunks/{integration-nf1dwszp.js → location-services-9yks55mb.js} +17 -17
- package/dist/chunks/{integration-151gbk82.js → location-services-a103fdm3.js} +23 -23
- package/dist/chunks/{integration-a1bz86dw.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{integration-pdv4nb29.js → location-services-a3vv4rs0.js} +9 -9
- package/dist/chunks/{integration-9eh54gx5.js → location-services-a4j6dykb.js} +15 -15
- package/dist/chunks/{integration-zedhchgb.js → location-services-a5y8eyny.js} +24 -24
- package/dist/chunks/{integration-9gh06r58.js → location-services-a8xcd0w8.js} +4 -4
- package/dist/chunks/{integration-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-dghgjkkt.js → location-services-aj8kkpvr.js} +4 -4
- package/dist/chunks/{integration-3pbjq009.js → location-services-akrnn5pm.js} +8 -8
- package/dist/chunks/{integration-r7mna007.js → location-services-b1t5snx6.js} +22 -22
- package/dist/chunks/{integration-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-00a2vb47.js → location-services-bcbmvgj8.js} +46 -46
- package/dist/chunks/{integration-f79e7acg.js → location-services-bcnz578n.js} +2 -2
- package/dist/chunks/{integration-sx1n432n.js → location-services-bf0ztrs3.js} +4 -4
- package/dist/chunks/{integration-gcyqv0ba.js → location-services-bmwmmh03.js} +10 -10
- package/dist/chunks/{integration-z1f4gy9p.js → location-services-bv56xrks.js} +8 -8
- package/dist/chunks/{integration-cfpkc3c9.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/location-services-cgxejw6v.js +462 -0
- package/dist/chunks/{integration-b1vav3zj.js → location-services-cknngr8n.js} +7 -7
- package/dist/chunks/{integration-hfdr1yjj.js → location-services-cq37gk0t.js} +4 -4
- package/dist/chunks/{integration-xwwp0fmq.js → location-services-cy9hrc59.js} +43 -43
- package/dist/chunks/{integration-50zrjbre.js → location-services-d20tfxtv.js} +8 -8
- package/dist/chunks/{integration-b3t12aqp.js → location-services-d50f2zf5.js} +1 -1
- package/dist/chunks/{integration-2nnvtzgn.js → location-services-d5ta482m.js} +5 -5
- package/dist/chunks/{integration-rf2xy082.js → location-services-d9hczm2r.js} +17 -17
- package/dist/chunks/{integration-tjt84ys6.js → location-services-dcfrmvyb.js} +22 -22
- package/dist/chunks/{integration-p2z3a8zb.js → location-services-dcg0h0ke.js} +35 -35
- package/dist/chunks/{integration-gxpp6yv2.js → location-services-dg94tkx3.js} +26 -26
- package/dist/chunks/{integration-5xtgfte3.js → location-services-dgj0dq1g.js} +8 -8
- package/dist/chunks/{integration-vkwcx7sj.js → location-services-dhambjr8.js} +21 -21
- package/dist/chunks/{integration-mj28zxs4.js → location-services-dt6arx9z.js} +5 -5
- package/dist/chunks/{integration-22ce2812.js → location-services-dtz1dq5w.js} +11 -11
- package/dist/chunks/{integration-tcq89gq0.js → location-services-dx15qm69.js} +22 -22
- package/dist/chunks/{integration-jq7fcpt3.js → location-services-e255sby6.js} +29 -29
- package/dist/chunks/{integration-fqh7r1mg.js → location-services-e6ywpf8t.js} +6 -6
- package/dist/chunks/{integration-5jqftpyq.js → location-services-e7v4kvvc.js} +16 -16
- package/dist/chunks/{integration-wd7nrggg.js → location-services-ebcw7cv9.js} +8 -8
- package/dist/chunks/{integration-bc9tah8j.js → location-services-eeaf82dq.js} +8 -8
- package/dist/chunks/{integration-znh9e8s1.js → location-services-efrqks1z.js} +16 -16
- package/dist/chunks/{integration-xq6a131c.js → location-services-egdp0v7k.js} +8 -8
- package/dist/chunks/{integration-v6kh18tr.js → location-services-er56z9m3.js} +4 -4
- package/dist/chunks/{integration-7kn6mjqn.js → location-services-erd68jx8.js} +24 -24
- package/dist/chunks/{integration-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-9gps35nj.js → location-services-ewqwwm8c.js} +8 -8
- package/dist/chunks/{integration-nnsszj5x.js → location-services-f32vetax.js} +11 -11
- package/dist/chunks/{integration-f828m53h.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{integration-n5zjdcc0.js → location-services-f8q7mv7a.js} +1 -1
- package/dist/chunks/{integration-6w2rqcm5.js → location-services-fbrz957q.js} +30 -30
- package/dist/chunks/{integration-1fa9ans5.js → location-services-fgh0kbhd.js} +1 -1
- package/dist/chunks/{integration-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-322atyht.js → location-services-fxf97kjq.js} +10 -10
- package/dist/chunks/{integration-fmmn8x74.js → location-services-fygdb7h7.js} +3 -3
- package/dist/chunks/{integration-6anpkmcx.js → location-services-g35h8zvz.js} +24 -24
- package/dist/chunks/{integration-d26f51j3.js → location-services-g56x3r05.js} +17 -17
- package/dist/chunks/{integration-bq9rkr49.js → location-services-g764418v.js} +3 -3
- package/dist/chunks/{integration-nmng2596.js → location-services-gbjggf4w.js} +41 -41
- package/dist/chunks/{integration-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-h06ac2p8.js → location-services-gjes9ycv.js} +83 -83
- package/dist/chunks/{integration-prqqf107.js → location-services-gkk9gzwj.js} +13 -13
- package/dist/chunks/{integration-s9y8b899.js → location-services-gp27hab3.js} +6 -6
- package/dist/chunks/{integration-64fzttx6.js → location-services-gqsqt983.js} +7 -7
- package/dist/chunks/{integration-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{integration-9mrrxw6m.js → location-services-h0r85tvv.js} +11 -11
- package/dist/chunks/{integration-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-b87wvgj6.js → location-services-h7merwq8.js} +20 -20
- package/dist/chunks/{integration-hwagt9fk.js → location-services-hewa18pm.js} +42 -42
- package/dist/chunks/{integration-e82z9tr0.js → location-services-hjt4xg1x.js} +7 -7
- package/dist/chunks/{integration-mh9q4v61.js → location-services-hk3dp6b5.js} +2 -2
- package/dist/chunks/{integration-7e5zvqnb.js → location-services-hm9cthtf.js} +26 -26
- package/dist/chunks/{integration-evdgyt3t.js → location-services-hmtdza7e.js} +43 -43
- package/dist/chunks/{integration-hqg6sb4q.js → location-services-hqxaqnsz.js} +13 -13
- package/dist/chunks/{integration-eftvq2tf.js → location-services-hv7wfk6h.js} +38 -38
- package/dist/chunks/{integration-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-kpr8tjbf.js → location-services-j8b7ra2y.js} +160 -160
- package/dist/chunks/{integration-6n0cjhwh.js → location-services-jd31tk7v.js} +22 -22
- package/dist/chunks/{integration-72mq2vzh.js → location-services-jw1smgdw.js} +6 -6
- package/dist/chunks/{integration-qssq5wvh.js → location-services-k16ay38w.js} +1 -1
- package/dist/chunks/{integration-aj7efv6t.js → location-services-k33dzkhb.js} +25 -25
- package/dist/chunks/{integration-mgw9bq57.js → location-services-k4f6a3yg.js} +22 -22
- package/dist/chunks/{integration-r65t6xh7.js → location-services-k50vc20r.js} +6 -6
- package/dist/chunks/{integration-gvnha4xr.js → location-services-kap76w5z.js} +18 -18
- package/dist/chunks/{integration-a025dhy9.js → location-services-kc564ayd.js} +9 -9
- package/dist/chunks/{integration-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{integration-07hzebz1.js → location-services-kp0f7k9w.js} +4 -4
- package/dist/chunks/{integration-24sbpj7j.js → location-services-kqd2wwpf.js} +4 -4
- package/dist/chunks/{integration-hf8cnsjw.js → location-services-ksz0h0wp.js} +1 -1
- package/dist/chunks/{integration-7mchzbps.js → location-services-m016k5dt.js} +11 -11
- package/dist/chunks/{integration-1ear0pxv.js → location-services-m14v0kx0.js} +13 -13
- package/dist/chunks/{integration-dt849bc4.js → location-services-m27pyyd3.js} +6 -6
- package/dist/chunks/{integration-981c06fr.js → location-services-m2m38rh4.js} +3 -3
- package/dist/chunks/{integration-afdssyjb.js → location-services-m70sbz6t.js} +4 -4
- package/dist/chunks/{integration-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-bscb95cy.js → location-services-marnn1hp.js} +7 -7
- package/dist/chunks/{integration-jexxy024.js → location-services-mf9m2v67.js} +3 -3
- package/dist/chunks/{integration-epzez8zj.js → location-services-mgn1q268.js} +23 -23
- package/dist/chunks/{integration-mkcjrzeh.js → location-services-mkcjrzeh.js} +1 -1
- package/dist/chunks/{integration-eq1pz5kg.js → location-services-mvfsc1pv.js} +3 -3
- package/dist/chunks/{integration-zd4pz5th.js → location-services-n0ps73j4.js} +37 -37
- package/dist/chunks/{integration-f3p0nvhn.js → location-services-n1wtw7cf.js} +33 -33
- package/dist/chunks/{integration-mbbvnryx.js → location-services-n26aazvb.js} +6 -6
- package/dist/chunks/{integration-v51hrxtf.js → location-services-n3ehebhz.js} +12 -12
- package/dist/chunks/{integration-ds04w90c.js → location-services-n3pz4r15.js} +16 -16
- package/dist/chunks/{integration-a1ehgdnj.js → location-services-n65r81b4.js} +4 -4
- package/dist/chunks/{integration-6jex2xta.js → location-services-n76fdqym.js} +5 -5
- package/dist/chunks/{integration-0frfe85v.js → location-services-nakqg6cg.js} +22 -22
- package/dist/chunks/{integration-2gftwxby.js → location-services-ne17v9pc.js} +18 -18
- package/dist/chunks/{integration-x6332jt5.js → location-services-npm3wgeg.js} +13 -13
- package/dist/chunks/{integration-r1207mrt.js → location-services-nq6tkbxw.js} +17 -17
- package/dist/chunks/{integration-gq6s43k6.js → location-services-nw0bqh17.js} +11 -11
- package/dist/chunks/{integration-n99th6kw.js → location-services-p12hzc12.js} +35 -35
- package/dist/chunks/{integration-tbc4e8rx.js → location-services-p4j0k99t.js} +30 -30
- package/dist/chunks/{integration-8ktk8fvc.js → location-services-p75j69a2.js} +20 -20
- package/dist/chunks/{integration-0fqf4df7.js → location-services-p79ar1tw.js} +11 -11
- package/dist/chunks/{integration-z095fj7m.js → location-services-pjsas99n.js} +6 -6
- package/dist/chunks/{integration-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{integration-dr0zz7zk.js → location-services-pnean495.js} +5 -5
- package/dist/chunks/{integration-5x1f6fxb.js → location-services-q70gtfmt.js} +16 -16
- package/dist/chunks/{integration-depwzj9d.js → location-services-qa4rp7fn.js} +9 -9
- package/dist/chunks/{integration-f3ngv102.js → location-services-qj8eh1ht.js} +4 -4
- package/dist/chunks/{integration-2336b01z.js → location-services-qm7jrdpz.js} +8 -8
- package/dist/chunks/{integration-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-5c1ms1gc.js → location-services-qtmpnr27.js} +47 -47
- package/dist/chunks/{integration-6ymymyv8.js → location-services-r01t9b5y.js} +6 -6
- package/dist/chunks/{integration-ab9238g2.js → location-services-r33ff4dw.js} +4 -4
- package/dist/chunks/{integration-7s02b6me.js → location-services-r9babyk8.js} +1 -1
- package/dist/chunks/{integration-wcbqwdj0.js → location-services-rbr5swsa.js} +18 -18
- package/dist/chunks/{integration-fz9d5ssd.js → location-services-rhd00fat.js} +9 -9
- package/dist/chunks/{integration-s8d7rejh.js → location-services-rhjbct0v.js} +4 -4
- package/dist/chunks/{integration-rk0rec3h.js → location-services-rk0rec3h.js} +2 -2
- package/dist/chunks/{integration-2pncvxwm.js → location-services-rpsdx5vs.js} +7 -7
- package/dist/chunks/{integration-79f8efvt.js → location-services-rv7qyr27.js} +27 -27
- package/dist/chunks/location-services-rvz3wna3.js +247 -0
- package/dist/chunks/{integration-vdbz7hp2.js → location-services-s0avzt1k.js} +27 -27
- package/dist/chunks/{integration-fkctdg7j.js → location-services-s2jzy5b9.js} +11 -11
- package/dist/chunks/{integration-rrxh0c2s.js → location-services-s78rk26g.js} +19 -19
- package/dist/chunks/{integration-cenppacd.js → location-services-sktxfqvp.js} +6 -6
- package/dist/chunks/{integration-atwweske.js → location-services-skw6ndhb.js} +36 -36
- package/dist/chunks/{integration-8s5w1czn.js → location-services-t2bav4cb.js} +10 -10
- package/dist/chunks/{integration-2a4vj1s4.js → location-services-t3nckq9e.js} +18 -18
- package/dist/chunks/{integration-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{integration-awm5ey78.js → location-services-tjasw5j2.js} +22 -22
- package/dist/chunks/{integration-yjrbxx7s.js → location-services-tjbdzdwh.js} +18 -18
- package/dist/chunks/{integration-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-vavfmh0d.js → location-services-twy35tz0.js} +9 -9
- package/dist/chunks/{integration-v5dkyp31.js → location-services-v5dkyp31.js} +1 -1
- package/dist/chunks/{integration-q280h65c.js → location-services-v5w9803s.js} +8 -8
- package/dist/chunks/{integration-pz0tgjyq.js → location-services-v6654y3b.js} +14 -14
- package/dist/chunks/{integration-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-pdbx66ww.js → location-services-vfx896b4.js} +20 -20
- package/dist/chunks/{integration-257dq995.js → location-services-vgtd617j.js} +9 -9
- package/dist/chunks/{integration-4m2pmvxz.js → location-services-vkez6a4k.js} +6 -6
- package/dist/chunks/{integration-fban3jjy.js → location-services-vvv3thrh.js} +12 -12
- package/dist/chunks/{integration-epvhn8rf.js → location-services-vz505d38.js} +8 -8
- package/dist/chunks/{integration-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-3ezse2vx.js → location-services-w0pkcsrz.js} +17 -17
- package/dist/chunks/{integration-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-tdhbec06.js → location-services-w5qh34h0.js} +16 -16
- package/dist/chunks/{integration-qqzfp6vg.js → location-services-w8v69kqr.js} +8 -8
- package/dist/chunks/{integration-p5nfdbsd.js → location-services-wd1wk3fx.js} +25 -25
- package/dist/chunks/{integration-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{integration-8aa1j6tz.js → location-services-wpmxaqyc.js} +6 -6
- package/dist/chunks/{integration-yap5dk6s.js → location-services-wrmagx7v.js} +54 -54
- package/dist/chunks/{integration-320c2pyt.js → location-services-wzxndrfm.js} +25 -25
- package/dist/chunks/{integration-agy7y5ez.js → location-services-x0b2ccgt.js} +26 -26
- package/dist/chunks/{integration-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-x43y2vfs.js → location-services-x43y2vfs.js} +2 -2
- package/dist/chunks/{integration-eag1s9wb.js → location-services-x95pbp60.js} +36 -36
- package/dist/chunks/{integration-6jnybvqn.js → location-services-xekzrwwc.js} +9 -9
- package/dist/chunks/{integration-fv2dr89n.js → location-services-xvbxf676.js} +32 -32
- package/dist/chunks/{integration-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{integration-h5e20h2k.js → location-services-y9gdx2th.js} +4 -4
- package/dist/chunks/{integration-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{integration-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{integration-mmvk1zyz.js → location-services-yt1hy964.js} +20 -20
- package/dist/chunks/{integration-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-q4xjn5nd.js → location-services-z5jxp7ad.js} +27 -27
- package/dist/chunks/{integration-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{integration-2ee8pmxs.js → location-services-z69s9t6b.js} +5 -5
- package/dist/chunks/{integration-sadc1m9b.js → location-services-z7vx10hx.js} +15 -15
- package/dist/chunks/{integration-nccr955a.js → location-services-z7wszd63.js} +18 -18
- package/dist/chunks/{integration-bzbb1kp2.js → location-services-zd0y80kv.js} +11 -11
- package/dist/chunks/{integration-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-437h2b82.js → location-services-zg809rcf.js} +27 -27
- package/dist/chunks/{integration-8ndvbjad.js → location-services-zhj44hqa.js} +3 -3
- package/dist/chunks/{integration-egy33snj.js → location-services-zmm5wz6q.js} +46 -46
- package/dist/chunks/{integration-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-0nm12y21.js → location-services-zv3e7t68.js} +2 -2
- package/dist/chunks/{integration-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- 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 +75 -75
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +72 -72
- package/dist/file-access.js +99 -99
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- 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 +353 -353
- package/dist/instruction-discovery.js +79 -79
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- 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 +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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 +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- 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 +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- 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 +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- 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 +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- 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 +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/integration-45th5jwr.js +0 -18
- package/dist/chunks/integration-5re7vdb3.js +0 -247
- package/dist/chunks/integration-gbadjzag.js +0 -4
- package/dist/chunks/integration-r3v06hfv.js +0 -22
- package/dist/chunks/integration-ypk4vtwt.js +0 -462
- /package/dist/chunks/{integration-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-paphc93g.js → location-services-paphc93g.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./location-services-q70gtfmt.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event20
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-00v0w1pn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-z5jxp7ad.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-m27pyyd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID5,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-dg94tkx3.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID5
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -53,7 +53,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
53
53
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
54
54
|
function oauth(http) {
|
|
55
55
|
return {
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID14.make("opencode"),
|
|
57
57
|
method: {
|
|
58
58
|
id: methodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -93,7 +93,7 @@ function oauth(http) {
|
|
|
93
93
|
var OpencodePlugin2 = define({
|
|
94
94
|
id: "opencode.provider.opencode",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
|
-
const bus = yield*
|
|
96
|
+
const bus = yield* Service78;
|
|
97
97
|
const http = yield* HttpClient.HttpClient;
|
|
98
98
|
const loading = Semaphore.makeUnsafe(1);
|
|
99
99
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -119,7 +119,7 @@ var OpencodePlugin2 = define({
|
|
|
119
119
|
catalog.provider.update(providerID, (provider) => {
|
|
120
120
|
if (source && source.provider !== provider)
|
|
121
121
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
122
|
-
provider.integrationID =
|
|
122
|
+
provider.integrationID = ID14.make("opencode");
|
|
123
123
|
if (item.canonical !== undefined)
|
|
124
124
|
provider.canonical = item.canonical;
|
|
125
125
|
if (item.name !== undefined)
|
|
@@ -182,7 +182,7 @@ var OpencodePlugin2 = define({
|
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
const item = catalog.provider.get(
|
|
185
|
+
const item = catalog.provider.get(ID18.opencode);
|
|
186
186
|
if (!item)
|
|
187
187
|
return;
|
|
188
188
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -243,7 +243,7 @@ var OpencodePlugin2 = define({
|
|
|
243
243
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
244
244
|
});
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
246
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
246
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
248
248
|
})
|
|
249
249
|
});
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service71,
|
|
9
|
+
node76
|
|
10
|
+
} from "./location-services-3tey5e4w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service69,
|
|
13
|
+
node74
|
|
14
|
+
} from "./location-services-1s1fbqj5.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service71;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service69;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node45 = makeLocationNode({
|
|
139
|
+
service: Service42,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node76, Global.node, node74]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service42, Service42.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -158,4 +158,4 @@ function failure(operation, cause) {
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error2, Service42, node45, noopLayer3, exports_snapshot2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-f32vetax.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-services-q70gtfmt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./location-services-00v0w1pn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./location-services-z5jxp7ad.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID18
|
|
23
|
+
} from "./location-services-m27pyyd3.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-7dh69f0v.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID18.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service77;
|
|
57
|
+
const integrations = yield* Service75;
|
|
58
|
+
const bus = yield* Service78;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-services-0aqaye2v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./location-services-hmtdza7e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service44
|
|
14
|
+
} from "./location-services-dg94tkx3.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin14,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description5,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin14 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service61;
|
|
53
|
+
const forms = yield* Service76;
|
|
54
|
+
const websearch = yield* Service44;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description5,
|
|
59
|
-
input:
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin14, exports_websearch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./location-services-hewa18pm.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin24
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin24 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin24, exports_policy };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./location-services-4ttr90xy.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service41
|
|
13
|
+
} from "./location-services-a5y8eyny.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./location-services-1s1fbqj5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin30
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin30 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service41;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service69;
|
|
42
|
+
const watcher = yield* Service55;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin30, exports_instruction };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./location-services-q70gtfmt.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service41,
|
|
31
31
|
configured: () => configured5,
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
layer: () => layer18,
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,7 +42,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options5 = Schema.Struct({
|
|
@@ -50,10 +50,10 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service41 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service78;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service41.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service41,
|
|
110
|
+
layer: layer18(options),
|
|
111
|
+
deps: [node83]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node44 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options5, Service41, layer18, configured5, node44, exports_instruction_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-3am5m0cf.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-m27pyyd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID16
|
|
7
|
+
} from "./location-services-vvv3thrh.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID16.make("gpt-5-chat-latest"), ID16.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|