@opencode/core 0.0.0-dev-21108 → 0.0.0-dev-21112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{vcs-tcdv4xxx.js → job-08zhq3v6.js} +3 -3
- package/dist/chunks/{vcs-ev6xeesc.js → job-0bf787b1.js} +8 -8
- package/dist/chunks/{vcs-b6770wny.js → job-0ks9zhpr.js} +44 -44
- package/dist/chunks/{vcs-0p6hghjm.js → job-0qyq0657.js} +11 -11
- package/dist/chunks/{vcs-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-st8atvy4.js → job-0w52vqev.js} +2 -2
- package/dist/chunks/{vcs-694900vg.js → job-0wjm486e.js} +17 -17
- package/dist/chunks/{vcs-gz9sjfgx.js → job-1248teyj.js} +6 -6
- package/dist/chunks/{vcs-57mezkvj.js → job-190jc4zy.js} +26 -26
- package/dist/chunks/{vcs-j9s0qvjv.js → job-1bfrgapb.js} +12 -12
- package/dist/chunks/{vcs-apbzx1qy.js → job-1dxcywt8.js} +1 -1
- package/dist/chunks/{vcs-b4gkm0yn.js → job-1g3z0azh.js} +15 -15
- package/dist/chunks/{vcs-5fykfdj7.js → job-1pxz8ven.js} +5 -5
- package/dist/chunks/{vcs-70n7ee7d.js → job-1v130mpx.js} +33 -33
- package/dist/chunks/{vcs-6jn4zywt.js → job-1v8dj1h2.js} +20 -20
- package/dist/chunks/{vcs-kzc3h1h3.js → job-1y283654.js} +4 -4
- package/dist/chunks/{vcs-trt0dew0.js → job-1zj7cxje.js} +47 -47
- package/dist/chunks/{vcs-qzawr4c0.js → job-2358bwaq.js} +46 -46
- package/dist/chunks/{vcs-1bmjn0qh.js → job-2395y7e1.js} +8 -8
- package/dist/chunks/{vcs-1xwjxjf0.js → job-247t7n51.js} +45 -45
- package/dist/chunks/{vcs-8wpwcw2c.js → job-2txft6xz.js} +26 -26
- package/dist/chunks/{vcs-wbzy543d.js → job-2ygtdfg2.js} +29 -29
- package/dist/chunks/{vcs-31xfzrxg.js → job-31xfzrxg.js} +2 -2
- package/dist/chunks/{vcs-6e6k9ee1.js → job-32w60ewp.js} +6 -6
- package/dist/chunks/{vcs-9dawpgdd.js → job-33a8026s.js} +6 -6
- package/dist/chunks/{vcs-kbgg0xp7.js → job-3bbkcze6.js} +28 -28
- package/dist/chunks/{vcs-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-r5tp3nbh.js → job-3ga9zd2f.js} +4 -4
- package/dist/chunks/{vcs-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → job-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-2x84g0hg.js → job-3k0ta86q.js} +16 -16
- package/dist/chunks/{vcs-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-ewcy99y7.js → job-3zxgx73k.js} +26 -26
- package/dist/chunks/{vcs-f00h63f7.js → job-42g932k2.js} +33 -33
- package/dist/chunks/{vcs-mm8g4k7x.js → job-44nt178b.js} +39 -39
- package/dist/chunks/{vcs-8034592z.js → job-4e4k5cgw.js} +20 -20
- package/dist/chunks/{vcs-nxe4pcap.js → job-4j4tgtq5.js} +4 -4
- package/dist/chunks/{vcs-bcq6ngff.js → job-4meka6v1.js} +85 -85
- package/dist/chunks/{vcs-g1kppfdc.js → job-4s76bvka.js} +28 -28
- package/dist/chunks/{vcs-t7nkm7zy.js → job-4yxncqzk.js} +11 -11
- package/dist/chunks/{vcs-9h5geed1.js → job-54jctmtt.js} +25 -25
- package/dist/chunks/{vcs-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-kwztdq7h.js → job-5802gy43.js} +12 -12
- package/dist/chunks/{vcs-z0c53cnc.js → job-5f78e0bk.js} +15 -15
- package/dist/chunks/{vcs-15fn43ap.js → job-5hr13e4c.js} +8 -8
- package/dist/chunks/{vcs-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/job-619r8v3y.js +18 -0
- package/dist/chunks/{vcs-2cmv458r.js → job-66r9f6z1.js} +5 -5
- package/dist/chunks/{vcs-bh74vh5r.js → job-67690ebn.js} +21 -21
- package/dist/chunks/job-67mv0zeb.js +26 -0
- package/dist/chunks/{vcs-zsaystjn.js → job-696t2cy7.js} +17 -17
- package/dist/chunks/{vcs-98v90pwc.js → job-6cav1d9v.js} +24 -24
- package/dist/chunks/{vcs-a72zk5vh.js → job-6ek5mamz.js} +4 -4
- package/dist/chunks/{vcs-py94f0e0.js → job-6f203fky.js} +21 -21
- package/dist/chunks/{vcs-mq3zggt6.js → job-6n5tmcsn.js} +24 -24
- package/dist/chunks/{vcs-t0pyhqcw.js → job-6v23mrsw.js} +11 -11
- package/dist/chunks/{vcs-6xb47vfp.js → job-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-7jsc1qpe.js → job-6xcd06cn.js} +3 -3
- package/dist/chunks/{vcs-abwx4fz1.js → job-744z4pjx.js} +14 -14
- package/dist/chunks/{vcs-775gj3j1.js → job-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-qf76qvkk.js → job-782zrs06.js} +5 -5
- package/dist/chunks/{vcs-749m9j3c.js → job-78jnw47a.js} +7 -7
- package/dist/chunks/{vcs-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-nrkkc40d.js → job-7ehe1q82.js} +84 -84
- package/dist/chunks/{vcs-pn9m0qmr.js → job-7kvnyt6p.js} +5 -5
- package/dist/chunks/{vcs-3febqyrh.js → job-7n3gnz9r.js} +19 -19
- package/dist/chunks/{vcs-d216944b.js → job-7sbkp4xb.js} +7 -7
- package/dist/chunks/{vcs-mp6m6hpj.js → job-802megp1.js} +10 -10
- package/dist/chunks/{vcs-3bz86aqc.js → job-81q2xnhg.js} +20 -20
- package/dist/chunks/{vcs-tf57n56z.js → job-84mtzs8k.js} +14 -14
- package/dist/chunks/{vcs-kbvzwwv7.js → job-866j0qgd.js} +14 -14
- package/dist/chunks/{vcs-j758eka2.js → job-8a0tbawn.js} +17 -17
- package/dist/chunks/{vcs-9s83jr1p.js → job-8a524ch7.js} +7 -7
- package/dist/chunks/{vcs-23fmqdqn.js → job-8hmjtt7t.js} +13 -13
- package/dist/chunks/{vcs-zae46mp4.js → job-8jxeyxc9.js} +5 -5
- package/dist/chunks/{vcs-wdk0efzn.js → job-8kvx9d9a.js} +16 -16
- package/dist/chunks/{vcs-8m6m0r52.js → job-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-aqab6bvk.js → job-8tayx2nk.js} +4 -4
- package/dist/chunks/{vcs-91qna3x0.js → job-91qna3x0.js} +3 -3
- package/dist/chunks/{vcs-gcr4j17e.js → job-95vmf0cx.js} +29 -29
- package/dist/chunks/{vcs-6xnzn5r9.js → job-98h8vcmf.js} +15 -15
- package/dist/chunks/{vcs-bsegt2fq.js → job-9ahf605z.js} +5 -5
- package/dist/chunks/{vcs-80vk4pbp.js → job-9cememrc.js} +13 -13
- package/dist/chunks/{vcs-e7x5qhf1.js → job-9csbzq3k.js} +327 -327
- package/dist/chunks/{vcs-qkfkzs5q.js → job-9k0qe3x2.js} +22 -22
- package/dist/chunks/{vcs-e497y9d1.js → job-9mbkb3sc.js} +9 -9
- package/dist/chunks/{vcs-81ncqz2m.js → job-9pg1zzvb.js} +20 -20
- package/dist/chunks/{vcs-y1kqc1p7.js → job-9r4f3n38.js} +40 -40
- package/dist/chunks/{vcs-stwte7t7.js → job-a3tzcvmz.js} +32 -32
- package/dist/chunks/{vcs-n8rrra3a.js → job-ad1gt5z6.js} +12 -12
- package/dist/chunks/{vcs-tz4n1mmd.js → job-afdssyjb.js} +4 -4
- package/dist/chunks/{vcs-zbzfepeb.js → job-am8zjywx.js} +4 -4
- package/dist/chunks/{vcs-j2s852az.js → job-ay56yawg.js} +30 -30
- package/dist/chunks/{vcs-q6cvmfpv.js → job-b039cdhy.js} +13 -13
- package/dist/chunks/{vcs-278dshqs.js → job-b39124se.js} +11 -11
- package/dist/chunks/{vcs-y4v5ah6d.js → job-b8s6fp5j.js} +23 -23
- package/dist/chunks/{vcs-5bvwnfz3.js → job-bkp4f76d.js} +9 -9
- package/dist/chunks/{vcs-mv3hx7wz.js → job-bmr56wjg.js} +4 -4
- package/dist/chunks/{vcs-zz2r6mts.js → job-bte6ngej.js} +26 -26
- package/dist/chunks/{vcs-az977ysh.js → job-bvd5z42w.js} +35 -35
- package/dist/chunks/{vcs-c1fqxshp.js → job-c1fqxshp.js} +3 -3
- package/dist/chunks/{vcs-kbs69a2x.js → job-cgzvyhvv.js} +3 -3
- package/dist/chunks/{vcs-0pnx5nh0.js → job-ck327ev6.js} +13 -13
- package/dist/chunks/{vcs-0aqfmf5v.js → job-cs1fz2ym.js} +33 -33
- package/dist/chunks/{vcs-cwa6csj7.js → job-cwa6csj7.js} +2 -2
- package/dist/chunks/{vcs-5z6fkxtw.js → job-d1rddd69.js} +9 -9
- package/dist/chunks/{vcs-v9cgcx37.js → job-d2wek193.js} +28 -28
- package/dist/chunks/{vcs-2kz8np98.js → job-d38556p2.js} +31 -31
- package/dist/chunks/{vcs-sswp2h42.js → job-d88k20pt.js} +14 -14
- package/dist/chunks/{vcs-5ywzfb3j.js → job-da185en6.js} +6 -6
- package/dist/chunks/{vcs-gdvrp62c.js → job-dp9jtaaz.js} +7 -7
- package/dist/chunks/{vcs-fn9t717r.js → job-dq407baf.js} +6 -6
- package/dist/chunks/{vcs-dqxsqydv.js → job-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-drwq78ky.js → job-drwq78ky.js} +1 -1
- package/dist/chunks/{vcs-a8r1ndjr.js → job-dxxdd5gf.js} +11 -11
- package/dist/chunks/{vcs-7em5ghts.js → job-e04mjppw.js} +17 -17
- package/dist/chunks/{vcs-q0qjy1zt.js → job-e2f548m5.js} +19 -19
- package/dist/chunks/{vcs-sesj2hvf.js → job-e9w0xgk5.js} +45 -45
- package/dist/chunks/{vcs-rhjbct0v.js → job-eaj1djv9.js} +8 -8
- package/dist/chunks/{vcs-wt2f84b9.js → job-ee0kfng7.js} +4 -4
- package/dist/chunks/{vcs-eej6y6fw.js → job-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-29m6mk6w.js → job-eqdqwaa8.js} +8 -8
- package/dist/chunks/{vcs-g72yd4k4.js → job-er2q2s93.js} +12 -12
- package/dist/chunks/{vcs-gqmeawtn.js → job-ez6t5hx2.js} +23 -23
- package/dist/chunks/{vcs-8vkwsqvz.js → job-f5r4rnzc.js} +14 -14
- package/dist/chunks/{vcs-z3nay82g.js → job-faj2svbs.js} +9 -9
- package/dist/chunks/{vcs-fcy631f0.js → job-fcy631f0.js} +1 -1
- package/dist/chunks/{vcs-de3tz8ce.js → job-fn5wdjwd.js} +6 -6
- package/dist/chunks/{vcs-5hpssq55.js → job-fwb3fm18.js} +30 -30
- package/dist/chunks/{vcs-e7w08kap.js → job-gbqsrtzy.js} +32 -32
- package/dist/chunks/{vcs-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-z1z60s25.js → job-gdc55jvc.js} +4 -4
- package/dist/chunks/{vcs-c44mjgcb.js → job-gp792ppf.js} +21 -21
- package/dist/chunks/{vcs-bf12m7kx.js → job-gt0x4809.js} +17 -17
- package/dist/chunks/{vcs-7h4aqy0s.js → job-gwaf4cyv.js} +10 -10
- package/dist/chunks/{vcs-02e36gs3.js → job-gx4kjbww.js} +20 -20
- package/dist/chunks/{vcs-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-cv00cvbs.js → job-hder4p07.js} +55 -55
- package/dist/chunks/{vcs-vrja8bfg.js → job-hfqcc610.js} +1 -1
- package/dist/chunks/{vcs-hgz4x7wa.js → job-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-fkyvq0kx.js → job-hk4kyacq.js} +26 -26
- package/dist/chunks/{vcs-84msw036.js → job-hmf5dsnm.js} +10 -10
- package/dist/chunks/{vcs-w7xw82wb.js → job-hvg55y1m.js} +11 -11
- package/dist/chunks/{vcs-74g3bhj7.js → job-jhc0stxs.js} +8 -8
- package/dist/chunks/{vcs-ps6734b0.js → job-jk42ka2z.js} +15 -15
- package/dist/chunks/{vcs-n1f7gktn.js → job-jxpbf905.js} +27 -27
- package/dist/chunks/{vcs-ssprmpe5.js → job-jxrsvt8d.js} +14 -14
- package/dist/chunks/{vcs-wqffb857.js → job-jxty7jvr.js} +13 -13
- package/dist/chunks/{vcs-q4rtw0sm.js → job-k0qzeszc.js} +50 -50
- package/dist/chunks/{vcs-1a430sh5.js → job-kf8xxjz9.js} +11 -11
- package/dist/chunks/{vcs-fxaymqdw.js → job-khmqacep.js} +4 -4
- package/dist/chunks/{vcs-z4rktwb2.js → job-kq0z1tjb.js} +11 -11
- package/dist/chunks/{vcs-7hvkf8ba.js → job-kq1kh5hf.js} +29 -29
- package/dist/chunks/{vcs-kwb1v3vj.js → job-kwb1v3vj.js} +1 -1
- package/dist/chunks/{vcs-yyjjzvwv.js → job-kya4n3gt.js} +45 -45
- package/dist/chunks/{vcs-2hcv2g42.js → job-m8cz1ghn.js} +11 -11
- package/dist/chunks/{vcs-7ar02ars.js → job-m9n427xj.js} +17 -17
- package/dist/chunks/{vcs-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → job-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-1vayj7pv.js → job-mccdgat0.js} +7 -7
- package/dist/chunks/{vcs-jwkxpzhb.js → job-mgh2a7gf.js} +153 -153
- package/dist/chunks/{vcs-tprpskj3.js → job-mjtg0kct.js} +3 -3
- package/dist/chunks/{vcs-r70na3yp.js → job-nd4tfyg0.js} +9 -9
- package/dist/chunks/{vcs-a2wv01vg.js → job-nfnb91wf.js} +15 -15
- package/dist/chunks/{vcs-yx0rmv9r.js → job-nm4299rz.js} +8 -8
- package/dist/chunks/{vcs-kr3za5q8.js → job-nxm9x0fe.js} +37 -37
- package/dist/chunks/{vcs-t1n56gek.js → job-nz36rv7r.js} +64 -64
- package/dist/chunks/{vcs-ecja6gpk.js → job-p3tsgby1.js} +5 -5
- package/dist/chunks/{vcs-pa8pe2x7.js → job-p4mj4rdp.js} +8 -8
- package/dist/chunks/{vcs-8mnysrst.js → job-p5jqnpch.js} +3 -3
- package/dist/chunks/{vcs-tx5fk5pn.js → job-p6y63wrz.js} +4 -4
- package/dist/chunks/{vcs-0qke7b7v.js → job-pa6wp5yh.js} +18 -18
- package/dist/chunks/{vcs-x1bbg2xd.js → job-pc0k0p8h.js} +13 -13
- package/dist/chunks/{vcs-xa1ekjr5.js → job-pdb8rjdp.js} +18 -18
- package/dist/chunks/{vcs-5ryha89e.js → job-pe2b4pg4.js} +19 -19
- package/dist/chunks/{vcs-vh1d1c6z.js → job-pfvte5ex.js} +23 -23
- package/dist/chunks/{vcs-my0tytnd.js → job-ph29776d.js} +24 -24
- package/dist/chunks/{vcs-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-c8zwaxmp.js → job-pt1ss6jy.js} +3 -3
- package/dist/chunks/{vcs-rd3e5ygt.js → job-q54p6b31.js} +14 -14
- package/dist/chunks/{vcs-ec487xam.js → job-q9en3hpz.js} +16 -16
- package/dist/chunks/{vcs-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
- package/dist/chunks/{vcs-2cybgqhz.js → job-qmgn8zg7.js} +2 -2
- package/dist/chunks/{vcs-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-d1pkjdrj.js → job-qrytbsaj.js} +34 -34
- package/dist/chunks/{vcs-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-ppbmqrvr.js → job-qvb3nf84.js} +8 -8
- package/dist/chunks/{vcs-6fh64ftw.js → job-r21rn0zz.js} +19 -19
- package/dist/chunks/{vcs-regzcayk.js → job-r38b4gm7.js} +9 -9
- package/dist/chunks/{vcs-f2n192rq.js → job-r8xr0va3.js} +4 -4
- package/dist/chunks/{vcs-m27qakrx.js → job-rcph0yae.js} +17 -17
- package/dist/chunks/{vcs-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-pa2b1817.js → job-re0zn3g0.js} +42 -42
- package/dist/chunks/{vcs-rert0e01.js → job-rert0e01.js} +2 -2
- package/dist/chunks/{vcs-rj3eygr5.js → job-rj3eygr5.js} +2 -2
- package/dist/chunks/{vcs-rkprpv83.js → job-rkprpv83.js} +2 -2
- package/dist/chunks/{vcs-9zm0mfan.js → job-rkx677gg.js} +5 -5
- package/dist/chunks/{vcs-9jvzcmy4.js → job-rm21d51n.js} +5 -5
- package/dist/chunks/{vcs-jxg22agt.js → job-rrz44tnd.js} +12 -12
- package/dist/chunks/{vcs-tb2eav5j.js → job-rwsg7th0.js} +24 -24
- package/dist/chunks/{vcs-rnn4727b.js → job-rxn86gf6.js} +13 -13
- package/dist/chunks/{vcs-jwrbm3d8.js → job-rzcz91ek.js} +22 -22
- package/dist/chunks/{vcs-my4qtva3.js → job-s1f6gdw2.js} +19 -19
- package/dist/chunks/{vcs-cqwdbp8s.js → job-s2navjnm.js} +21 -21
- package/dist/chunks/{vcs-mwpybj7y.js → job-s74x8zwn.js} +12 -12
- package/dist/chunks/{vcs-sa8ekw3f.js → job-sa8ekw3f.js} +2 -2
- package/dist/chunks/{vcs-5wzb8f99.js → job-sjhrg4z8.js} +23 -23
- package/dist/chunks/{vcs-jj5ks10b.js → job-spec05k6.js} +2 -2
- package/dist/chunks/{vcs-w6xajd1d.js → job-swymws4c.js} +18 -18
- package/dist/chunks/{vcs-e80seqcp.js → job-sxcaecc0.js} +3 -3
- package/dist/chunks/{vcs-syv4x271.js → job-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-xset6v8e.js → job-t2rny1q8.js} +29 -29
- package/dist/chunks/{vcs-p9p9s22a.js → job-t79xkb5x.js} +9 -9
- package/dist/chunks/{vcs-k80zjrbm.js → job-t8gxprjd.js} +29 -29
- package/dist/chunks/{vcs-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-89znhe33.js → job-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-jhf3jymm.js → job-tegs1ycp.js} +6 -6
- package/dist/chunks/{vcs-eyn1arby.js → job-tfskcm3z.js} +47 -47
- package/dist/chunks/{vcs-jypkjyjj.js → job-tk518f6g.js} +179 -179
- package/dist/chunks/{vcs-tm0kqsz3.js → job-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-ksqkdsfg.js → job-tpg09gg7.js} +33 -33
- package/dist/chunks/{vcs-3xxwenrj.js → job-tpw005b1.js} +11 -11
- package/dist/chunks/{vcs-pgcq6gba.js → job-tqa9g821.js} +10 -10
- package/dist/chunks/{vcs-ah9qjh8p.js → job-tsrjfj85.js} +11 -11
- package/dist/chunks/{vcs-zrq8kphx.js → job-tx9w5tca.js} +8 -8
- package/dist/chunks/{vcs-tyytaxap.js → job-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-v0es1rhs.js → job-v0es1rhs.js} +2 -2
- package/dist/chunks/{vcs-bbpptzmy.js → job-v3xkyz7p.js} +26 -26
- package/dist/chunks/{vcs-v7p4zvkq.js → job-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-sdkx3pjx.js → job-vcbrf7nh.js} +47 -47
- package/dist/chunks/{vcs-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-4ztejm5p.js → job-vfz1kjtz.js} +19 -19
- package/dist/chunks/{vcs-yh2wrcre.js → job-vhdxrt7h.js} +29 -29
- package/dist/chunks/{vcs-gxv64e4w.js → job-vmc6r1cj.js} +19 -19
- package/dist/chunks/{vcs-b3xja3vs.js → job-vqq02yr7.js} +11 -11
- package/dist/chunks/{vcs-xbarvga5.js → job-vscxjy0v.js} +47 -47
- package/dist/chunks/{vcs-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-84txncab.js → job-w1eejvng.js} +5 -5
- package/dist/chunks/{vcs-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-kw0erqyq.js → job-waj06c1d.js} +18 -18
- package/dist/chunks/{vcs-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-kqx1b4hy.js → job-wg81ww38.js} +4 -4
- package/dist/chunks/{vcs-82rhge12.js → job-wk5z6jzv.js} +9 -9
- package/dist/chunks/{vcs-3k043h5p.js → job-wzhq9xxz.js} +9 -9
- package/dist/chunks/{vcs-j0bxzt0p.js → job-x2prm6ae.js} +4 -4
- package/dist/chunks/{vcs-cqbghwqx.js → job-x8mwr189.js} +30 -30
- package/dist/chunks/{vcs-8chrd1c9.js → job-xh9n323v.js} +10 -10
- package/dist/chunks/{vcs-c1dxt66b.js → job-xnb4btwz.js} +14 -14
- package/dist/chunks/{vcs-6xcvt31d.js → job-xt4njr3s.js} +1 -1
- package/dist/chunks/{vcs-p1j52kwe.js → job-xxa9ptsg.js} +8 -8
- package/dist/chunks/{vcs-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-7evj5wva.js → job-y4qwpzs9.js} +6 -6
- package/dist/chunks/{vcs-0xqyf95c.js → job-y5rf7nzv.js} +4 -4
- package/dist/chunks/{vcs-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-gzx41zxb.js → job-y7sdd497.js} +28 -28
- package/dist/chunks/{vcs-wtv33j88.js → job-ye9cngvp.js} +32 -32
- package/dist/chunks/{vcs-3wvege5j.js → job-yfq0f3ty.js} +5 -5
- package/dist/chunks/{vcs-gj71zhbs.js → job-ygdna4kr.js} +5 -5
- package/dist/chunks/{vcs-yw1yd8am.js → job-yjsx3ryv.js} +11 -11
- package/dist/chunks/{vcs-rqds5wzt.js → job-yn9v0zkv.js} +14 -14
- package/dist/chunks/{vcs-1ffvrpkg.js → job-ywt8jp22.js} +6 -6
- package/dist/chunks/{vcs-at768xak.js → job-yyc2c3pa.js} +18 -18
- package/dist/chunks/{vcs-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-tre5yt63.js → job-z0dmr40s.js} +8 -8
- package/dist/chunks/{vcs-cjmfqnq2.js → job-z0gr4p3m.js} +34 -34
- package/dist/chunks/{vcs-pymsrck8.js → job-z9g794zs.js} +16 -16
- package/dist/chunks/{vcs-6kbcj5hv.js → job-zqy5zsvc.js} +8 -8
- package/dist/chunks/{vcs-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-t08z9s5h.js → job-zv29qtws.js} +8 -8
- package/dist/chunks/{vcs-jf22arnf.js → job-zvy6w0zs.js} +3 -3
- package/dist/chunks/{vcs-mxvxcxwy.js → job-zw2hpfmh.js} +4 -4
- package/dist/chunks/{vcs-snhrfy7w.js → job-zwe6tn9h.js} +28 -28
- package/dist/chunks/{vcs-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/vcs-ht5y0zrb.js +0 -18
- package/dist/chunks/vcs-xb6h6tjx.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → job-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → job-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → job-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → job-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → job-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → job-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → job-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → job-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → job-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-6xcd06cn.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node88
|
|
9
|
+
} from "./job-1bfrgapb.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-775gj3j1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-0bf787b1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service75,
|
|
21
|
+
node79
|
|
22
|
+
} from "./job-yn9v0zkv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node29
|
|
26
|
+
} from "./job-7ehe1q82.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -59,10 +59,10 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
61
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service26;
|
|
65
|
+
const store = yield* Service75;
|
|
66
66
|
const db = (yield* Service86).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node3 = makeLocationNode({
|
|
151
151
|
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node88, llmClient2, node29, node79, node90]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-hmf5dsnm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./job-1bfrgapb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./job-tpg09gg7.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-zw2hpfmh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-1v130mpx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./job-gwaf4cyv.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID6,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-ye9cngvp.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-42g932k2.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve3
|
|
33
|
+
} from "./job-y4qwpzs9.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID3,
|
|
36
|
+
Input13,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./job-3bbkcze6.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID3
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID7.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -176,10 +176,10 @@ function oauth(http) {
|
|
|
176
176
|
var OpencodePlugin2 = define({
|
|
177
177
|
id: "opencode.provider.opencode",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
|
-
const bus = yield*
|
|
179
|
+
const bus = yield* Service84;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service16;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID7.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
|
|
|
267
267
|
model.limit = { ...model.limit, ...config.limit };
|
|
268
268
|
if (config.capabilities?.reasoning !== undefined)
|
|
269
269
|
model.variants = [
|
|
270
|
-
...
|
|
270
|
+
...resolve3({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
271
271
|
];
|
|
272
272
|
for (const variant of config.variants ?? []) {
|
|
273
273
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID6.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID6.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
|
|
|
349
349
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
350
350
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
351
351
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
352
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
352
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
353
353
|
query: input.query,
|
|
354
354
|
providerID: descriptor.providerID
|
|
355
355
|
}));
|
|
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID6.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
411
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
412
412
|
})
|
|
413
413
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service81,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node85,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service81 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service81.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service81, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node85 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service81, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node85, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./job-tfskcm3z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./job-faj2svbs.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin6
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin6 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service45;
|
|
26
|
+
const image = yield* Service38;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin49 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin6, exports_image };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./job-1bfrgapb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./job-tpg09gg7.js";
|
|
13
13
|
import {
|
|
14
14
|
Service82,
|
|
15
15
|
node86
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-0w52vqev.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service53,
|
|
19
|
+
node57
|
|
20
|
+
} from "./job-gp792ppf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID9,
|
|
23
|
+
Service70,
|
|
24
|
+
node74
|
|
25
|
+
} from "./job-t2rny1q8.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node72
|
|
35
|
+
} from "./job-1v130mpx.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./job-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service36,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer17,
|
|
57
|
+
node: () => node39
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service82;
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
116
|
+
const environment = yield* Service53;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
|
+
const forms = yield* Service70;
|
|
119
|
+
const integration = yield* Service68;
|
|
120
|
+
const credentials = yield* Service69;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID7.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service69, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service69, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID9.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service36.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node86,
|
|
535
|
+
service: Service36,
|
|
536
|
+
layer: layer17(options),
|
|
537
|
+
deps: [node86, node57, node88, node74, node72, node73]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node39 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options4, layer17, configured4, node39, exports_mcp4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|