@opencode/core 0.0.0-dev-20194 → 0.0.0-dev-20195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{reference-t550f9t1.js → config-02nrjc1r.js} +8 -8
- package/dist/chunks/{reference-xp3d2160.js → config-07v9x2xm.js} +14 -14
- package/dist/chunks/{reference-yfxpx2t9.js → config-0anx78yw.js} +9 -9
- package/dist/chunks/{reference-q2s2wz1h.js → config-0f6jxcrw.js} +5 -5
- package/dist/chunks/{reference-fydrzrkb.js → config-0fbxv240.js} +8 -8
- package/dist/chunks/{reference-f6rweyq9.js → config-0hwvvjm7.js} +1 -1
- package/dist/chunks/{reference-fzts1kpm.js → config-0jtesnr4.js} +11 -11
- package/dist/chunks/{reference-0f9b925g.js → config-0ntvbc7j.js} +40 -40
- package/dist/chunks/{reference-vgr5e0ea.js → config-0ny8pk0m.js} +5 -5
- package/dist/chunks/{reference-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-v5hpcsb0.js → config-0r7yqxbf.js} +2 -2
- package/dist/chunks/{reference-yjvnj1zk.js → config-0raz1yy5.js} +8 -8
- package/dist/chunks/{reference-qb1aeqnr.js → config-0sm4f45j.js} +29 -29
- package/dist/chunks/{reference-8rw29dk0.js → config-19m0y6e0.js} +26 -26
- package/dist/chunks/{reference-eq1pz5kg.js → config-1bbkgx8g.js} +3 -3
- package/dist/chunks/{reference-vvfvm01x.js → config-1cf5abn8.js} +13 -13
- package/dist/chunks/{reference-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-8ha6ga5e.js → config-1h80sv90.js} +8 -8
- package/dist/chunks/{reference-fqjhatxe.js → config-1sh6c7wg.js} +35 -35
- package/dist/chunks/{reference-rr9dycgk.js → config-1v5g7h7z.js} +7 -7
- package/dist/chunks/{reference-c35p20hr.js → config-1zgcewym.js} +23 -23
- package/dist/chunks/{reference-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{reference-4a6kxgsg.js → config-23vj23fc.js} +6 -6
- package/dist/chunks/{reference-6h73sxmp.js → config-2402vzrj.js} +5 -5
- package/dist/chunks/{reference-hkcbg3z4.js → config-27s8bqjz.js} +7 -7
- package/dist/chunks/{reference-y2r3h4fb.js → config-2851hzkp.js} +15 -15
- package/dist/chunks/{reference-9m59q143.js → config-295dersz.js} +19 -19
- package/dist/chunks/{reference-t2j5vcca.js → config-297axkkc.js} +15 -15
- package/dist/chunks/{reference-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-51f5btjf.js → config-2a6rn6yr.js} +6 -6
- package/dist/chunks/{reference-wqkzg7sy.js → config-2m1z897j.js} +11 -11
- package/dist/chunks/{reference-7vvdj7v1.js → config-2vas31rw.js} +17 -17
- package/dist/chunks/{reference-1ygqh575.js → config-33w4ejhs.js} +6 -6
- package/dist/chunks/{reference-3eexfaf4.js → config-35zdc76s.js} +12 -12
- package/dist/chunks/config-36j2y7hk.js +507 -0
- package/dist/chunks/{reference-9j56qjm9.js → config-3acv6brs.js} +11 -11
- package/dist/chunks/{reference-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-n2bd736z.js → config-3t2xcng8.js} +99 -106
- package/dist/chunks/{reference-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-1f5yd8z2.js → config-3xn3pbdy.js} +88 -88
- package/dist/chunks/{reference-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-v1h7jmyp.js → config-43zyxgq8.js} +1 -1
- package/dist/chunks/{reference-pntwmbjc.js → config-454kp9wr.js} +8 -8
- package/dist/chunks/{reference-81bye27z.js → config-47q4gzaj.js} +22 -22
- package/dist/chunks/{reference-jqcdp112.js → config-4b92gd6e.js} +30 -30
- package/dist/chunks/{reference-ngffvtk2.js → config-4eem5j9w.js} +26 -26
- package/dist/chunks/{reference-5jrh7n3y.js → config-4k1w60t0.js} +9 -9
- package/dist/chunks/{reference-156a9j9s.js → config-4qjdqxbv.js} +28 -28
- package/dist/chunks/{reference-5958cd08.js → config-4vek9trb.js} +27 -27
- package/dist/chunks/{reference-x5xe0bd0.js → config-4wgr6ws5.js} +32 -32
- package/dist/chunks/{reference-qwkdrh69.js → config-52tph2md.js} +31 -31
- package/dist/chunks/{reference-54tcyq79.js → config-54tcyq79.js} +2 -2
- package/dist/chunks/{reference-ypd49sxc.js → config-56ee48df.js} +11 -11
- package/dist/chunks/{reference-d9s573fh.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{reference-1zys84da.js → config-59dka41c.js} +11 -11
- package/dist/chunks/{reference-5vyyh9tt.js → config-5ay8pqcq.js} +36 -36
- package/dist/chunks/{reference-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-6fmnkfnr.js → config-5ezt1pd0.js} +22 -22
- package/dist/chunks/{reference-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{reference-jkcb4v42.js → config-6736kgvh.js} +13 -13
- package/dist/chunks/{reference-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-py3kkmfq.js → config-6pc27hjz.js} +6 -6
- package/dist/chunks/{reference-zvteq2sz.js → config-6rkpdbb3.js} +37 -37
- package/dist/chunks/{reference-wd5k3756.js → config-6vda3hdz.js} +25 -25
- package/dist/chunks/{reference-cab88dx5.js → config-6wksry55.js} +20 -20
- package/dist/chunks/{reference-p9g6edyn.js → config-6zycmakc.js} +11 -11
- package/dist/chunks/{reference-qdbakdjh.js → config-705e2ap1.js} +5 -5
- package/dist/chunks/{reference-d7mqv6pa.js → config-70gxshxr.js} +1 -1
- package/dist/chunks/{reference-be7pa3qf.js → config-73k9rh6w.js} +8 -8
- package/dist/chunks/{reference-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-9qb76avw.js → config-7bv32vg5.js} +13 -13
- package/dist/chunks/{reference-2k8khapm.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{reference-9qs04gms.js → config-7gzq7424.js} +30 -30
- package/dist/chunks/{reference-nezp3nh3.js → config-7hvbv13b.js} +33 -33
- package/dist/chunks/{reference-tgcnk5sw.js → config-7np6y5v9.js} +12 -12
- package/dist/chunks/{reference-b15rjjj6.js → config-7r2ns73q.js} +24 -24
- package/dist/chunks/{reference-nc0myf7t.js → config-7tbn3xvm.js} +14 -14
- package/dist/chunks/{reference-thddb0yg.js → config-7tx5g9sa.js} +32 -32
- package/dist/chunks/{reference-44zaxtg7.js → config-80nef7dm.js} +25 -25
- package/dist/chunks/{reference-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-tdkwvqdy.js → config-8gx3jvtz.js} +32 -32
- package/dist/chunks/{reference-q72jbytn.js → config-8j758wh3.js} +4 -4
- package/dist/chunks/{reference-bsqx64w4.js → config-8qvzptz7.js} +4 -4
- package/dist/chunks/{reference-3b3jy36q.js → config-8zwfmhx2.js} +15 -15
- package/dist/chunks/{reference-t7y3dpm9.js → config-96aey767.js} +35 -35
- package/dist/chunks/{reference-ws016w0z.js → config-96gkbmz7.js} +5 -5
- package/dist/chunks/{reference-p37cw4rj.js → config-9hn6k4tm.js} +8 -8
- package/dist/chunks/{reference-4j4tgtq5.js → config-a81kfqvn.js} +4 -4
- package/dist/chunks/{reference-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-s31h5w29.js → config-abney02d.js} +25 -25
- package/dist/chunks/{reference-ykprmxnv.js → config-ak1tpw6q.js} +2 -2
- package/dist/chunks/{reference-v8nsmxgn.js → config-akrnn5pm.js} +8 -8
- package/dist/chunks/{reference-2t8jpbpj.js → config-apwn9spd.js} +13 -13
- package/dist/chunks/{reference-6e87vakz.js → config-ar4a8fck.js} +19 -19
- package/dist/chunks/{reference-yf72js65.js → config-axcxkett.js} +18 -18
- package/dist/chunks/{reference-8pn44ehn.js → config-b37sgj8e.js} +12 -12
- package/dist/chunks/{reference-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-n11m6crk.js → config-bd9sv20n.js} +29 -29
- package/dist/chunks/{reference-avbsach8.js → config-bdgvyade.js} +17 -17
- package/dist/chunks/{reference-vwfyqj1a.js → config-bey3dpw7.js} +22 -22
- package/dist/chunks/{reference-67f3c5a6.js → config-bhf2qwfw.js} +5 -5
- package/dist/chunks/{reference-bjtzbw4r.js → config-bjtzbw4r.js} +3 -3
- package/dist/chunks/{reference-0gg825j3.js → config-bkxzp8j2.js} +3 -3
- package/dist/chunks/{reference-c4989wfm.js → config-bt976gfq.js} +15 -15
- package/dist/chunks/{reference-h9pnpq88.js → config-btbmdjwj.js} +4 -4
- package/dist/chunks/{reference-0kfypxfq.js → config-ce09rktv.js} +19 -19
- package/dist/chunks/{reference-ysh0bc3c.js → config-chx6d6tt.js} +10 -10
- package/dist/chunks/{reference-bg7sr6g1.js → config-cmfxejye.js} +5 -5
- package/dist/chunks/{reference-v9cwmph0.js → config-cmwcq0ka.js} +17 -17
- package/dist/chunks/{reference-h6r3nrb9.js → config-cpj0znwe.js} +4 -4
- package/dist/chunks/{reference-djszqvmq.js → config-cpneeje0.js} +9 -9
- package/dist/chunks/{reference-z98sedxz.js → config-cve16y82.js} +3 -3
- package/dist/chunks/{reference-3e8yqhxk.js → config-d0g0pqf7.js} +10 -10
- package/dist/chunks/{reference-t4btr8yn.js → config-d7vvjxwr.js} +21 -21
- package/dist/chunks/{reference-h3h6bw0z.js → config-d9tzqxjz.js} +20 -20
- package/dist/chunks/{reference-dmqcgk4z.js → config-dmqcgk4z.js} +2 -2
- package/dist/chunks/{reference-y71avatq.js → config-dpkg50ah.js} +4 -4
- package/dist/chunks/{reference-xfkkasph.js → config-drwq78ky.js} +4 -4
- package/dist/chunks/{reference-chweyq95.js → config-e3dd7bme.js} +6 -6
- package/dist/chunks/{reference-as35gwv2.js → config-e93201sm.js} +15 -15
- package/dist/chunks/{reference-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{reference-1qadeb1c.js → config-ed84fsvm.js} +24 -24
- package/dist/chunks/{reference-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-sc1tzy0m.js → config-eh4jt04e.js} +12 -12
- package/dist/chunks/{reference-fxb44a1q.js → config-ekp917ff.js} +15 -15
- package/dist/chunks/{reference-faj6f0em.js → config-ekr1tkzw.js} +3 -3
- package/dist/chunks/{reference-y560y7p4.js → config-epaabzb0.js} +24 -24
- package/dist/chunks/{reference-rxyp0enr.js → config-eq102nfe.js} +177 -177
- package/dist/chunks/{reference-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-5sj81wm5.js → config-evbgk2k8.js} +5 -5
- package/dist/chunks/{reference-3sph9hsg.js → config-eytwkb2e.js} +24 -24
- package/dist/chunks/{reference-ma2yn7zc.js → config-ez1k74tj.js} +35 -35
- package/dist/chunks/{reference-a6fdbjg5.js → config-f3qy8zjn.js} +11 -11
- package/dist/chunks/{reference-hz0q9sdq.js → config-f5gy8qwh.js} +8 -8
- package/dist/chunks/{reference-jm5a5pey.js → config-f72dzx6j.js} +23 -23
- package/dist/chunks/config-f81tjggh.js +18 -0
- package/dist/chunks/{reference-ssrktsty.js → config-fs4g4s7s.js} +20 -20
- package/dist/chunks/{reference-2e6dphxw.js → config-ft0c832p.js} +9 -9
- package/dist/chunks/{reference-eqy59tqm.js → config-fvve35qg.js} +35 -35
- package/dist/chunks/{reference-se4rjrwe.js → config-fwmkx0kr.js} +9 -9
- package/dist/chunks/{reference-b2a4mx33.js → config-fx5e6na3.js} +4 -4
- package/dist/chunks/{reference-0z2rg4rm.js → config-g15xs6qb.js} +36 -36
- package/dist/chunks/{reference-ww5pdtvn.js → config-g29bj6y9.js} +32 -32
- package/dist/chunks/{reference-4yner5sa.js → config-g3e158x3.js} +18 -18
- package/dist/chunks/{reference-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-gfvb90ym.js → config-gfvb90ym.js} +2 -2
- package/dist/chunks/{reference-fh8xxmnr.js → config-gg3hnhsj.js} +12 -10
- package/dist/chunks/{reference-0h711vda.js → config-gmwd0m74.js} +54 -54
- package/dist/chunks/{reference-yyb7tjpc.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{reference-f26ddygf.js → config-h2gfwxs3.js} +89 -89
- package/dist/chunks/{reference-yead9t7b.js → config-h4ekgxw3.js} +3 -3
- package/dist/chunks/{reference-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-fgbgrse6.js → config-h75129nt.js} +5 -5
- package/dist/chunks/{reference-bqszwq89.js → config-had4kgfk.js} +4 -4
- package/dist/chunks/{reference-14794zc1.js → config-hdfwwe2n.js} +6 -6
- package/dist/chunks/{reference-a3r4dcrj.js → config-hkagk5ex.js} +2 -2
- package/dist/chunks/{reference-mnkndwyg.js → config-hx4rcwcn.js} +8 -8
- package/dist/chunks/{reference-m77p9bps.js → config-hy7sqhkh.js} +15 -15
- package/dist/chunks/{reference-3yzf73xp.js → config-hywngpvt.js} +9 -9
- package/dist/chunks/{reference-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-w6yg8354.js → config-j9bb3hnd.js} +15 -15
- package/dist/chunks/{reference-rer9h1m0.js → config-jb5eh492.js} +16 -16
- package/dist/chunks/{reference-qevex4z1.js → config-je7tdbs0.js} +33 -33
- package/dist/chunks/{reference-8aaqm6qj.js → config-jhpaar4x.js} +8 -8
- package/dist/chunks/{reference-3s9dhbpg.js → config-jjem1y9x.js} +32 -32
- package/dist/chunks/{reference-96p72y45.js → config-jjzhwb0d.js} +11 -11
- package/dist/chunks/{reference-thjmag0n.js → config-js1bgrk5.js} +12 -12
- package/dist/chunks/{reference-xg0dkexn.js → config-js82azy0.js} +22 -22
- package/dist/chunks/{reference-htqg6e4e.js → config-jt56r67m.js} +13 -13
- package/dist/chunks/{reference-pk3z8zwb.js → config-jtd5a63n.js} +9 -9
- package/dist/chunks/{reference-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/{reference-nx90x7kt.js → config-kn2sx07v.js} +28 -28
- package/dist/chunks/{reference-g4x6f0m8.js → config-knqa2gk8.js} +18 -18
- package/dist/chunks/{reference-pmwpe40e.js → config-kzc3h1h3.js} +4 -4
- package/dist/chunks/{reference-177cmxdg.js → config-m265mxzt.js} +21 -21
- package/dist/chunks/{reference-5na37vb4.js → config-m2wvpmrz.js} +20 -20
- package/dist/chunks/{reference-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-fxpk8e1k.js → config-md4c1mf5.js} +41 -41
- package/dist/chunks/{reference-dv36yjgc.js → config-mff2yvab.js} +5 -5
- package/dist/chunks/{reference-24mjcg6m.js → config-mnb5mnp1.js} +8 -8
- package/dist/chunks/{reference-ypp73q3k.js → config-mnn4rm54.js} +22 -22
- package/dist/chunks/{reference-t265p2pq.js → config-mrm2rqc2.js} +4 -4
- package/dist/chunks/{reference-yqa20cga.js → config-mwwmpq4r.js} +36 -36
- package/dist/chunks/{reference-3jq6wq7y.js → config-n05ctsyv.js} +5 -5
- package/dist/chunks/{reference-krnctd4r.js → config-n3mwpccg.js} +19 -19
- package/dist/chunks/{reference-pwehtxr6.js → config-n9ymfxxx.js} +32 -32
- package/dist/chunks/{reference-jexxy024.js → config-ndmv45hp.js} +3 -3
- package/dist/chunks/{reference-bdqrk2vk.js → config-ndqtf2h8.js} +6 -6
- package/dist/chunks/config-nmmpegqz.js +26 -0
- package/dist/chunks/{reference-fmfggwz4.js → config-npk6dv14.js} +13 -13
- package/dist/chunks/{reference-z4470vjq.js → config-nr672dpf.js} +23 -23
- package/dist/chunks/{reference-ba38qkz5.js → config-p0pcj68s.js} +8 -8
- package/dist/chunks/{reference-mev7xm92.js → config-p3dfpxct.js} +29 -29
- package/dist/chunks/{reference-cpy6gm2a.js → config-pf2hb43r.js} +6 -6
- package/dist/chunks/{reference-yw63brvc.js → config-pf8nwgds.js} +15 -15
- package/dist/chunks/{reference-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{reference-psazpmmj.js → config-psazpmmj.js} +2 -2
- package/dist/chunks/{reference-aqeafnz7.js → config-py6e26kd.js} +14 -14
- package/dist/chunks/{reference-yws4pbzc.js → config-q2bwdck2.js} +32 -32
- package/dist/chunks/{reference-r9e31c0d.js → config-q8w7nh62.js} +32 -32
- package/dist/chunks/{reference-ddg1q8r0.js → config-qdcc6b4g.js} +19 -19
- package/dist/chunks/{reference-mjymc32g.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{reference-b4tbyby1.js → config-qr30w61m.js} +35 -35
- package/dist/chunks/{reference-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-vhfvd2jp.js → config-qys7aaaj.js} +19 -19
- package/dist/chunks/config-r3bb402n.js +655 -0
- package/dist/chunks/{reference-0jq9fyba.js → config-r9w3djhf.js} +9 -9
- package/dist/chunks/{reference-34rkz0x9.js → config-ratrq7cm.js} +7 -7
- package/dist/chunks/{reference-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-wsrgfmp7.js → config-ref9hxfn.js} +8 -8
- package/dist/chunks/{reference-7zg2wc6k.js → config-rjbxhfgb.js} +49 -49
- package/dist/chunks/{reference-wnys78fq.js → config-rmxzq7f5.js} +5 -5
- package/dist/chunks/{reference-kgajg4t2.js → config-rxbrkmj1.js} +14 -14
- package/dist/chunks/{reference-axd321tm.js → config-s0e1y9y9.js} +12 -12
- package/dist/chunks/{reference-hmmwrfz7.js → config-s10erfkq.js} +4 -4
- package/dist/chunks/{reference-kb3wdknj.js → config-s6ymxyzv.js} +6 -6
- package/dist/chunks/{reference-bkyy3065.js → config-sjnymxq5.js} +46 -46
- package/dist/chunks/{reference-e12g3w7z.js → config-spn7hksh.js} +12 -12
- package/dist/chunks/{reference-ps6kahe0.js → config-sskdr19r.js} +3 -3
- package/dist/chunks/{reference-bhvqvkry.js → config-syxj7ex2.js} +12 -12
- package/dist/chunks/{reference-bk2c8kx1.js → config-sz7jdn1d.js} +5 -5
- package/dist/chunks/{reference-knx0mxy4.js → config-szzydw97.js} +17 -17
- package/dist/chunks/{reference-0b8npddv.js → config-t1930g8y.js} +10 -10
- package/dist/chunks/{reference-sv8w0sp0.js → config-t2zkwxfg.js} +3 -3
- package/dist/chunks/{reference-31ywrma3.js → config-t5vtp9rn.js} +12 -12
- package/dist/chunks/{reference-nrc70r1t.js → config-t7jgv0pg.js} +54 -54
- package/dist/chunks/{reference-jvf3yq6v.js → config-t7n9q6bq.js} +4 -4
- package/dist/chunks/{reference-sx1n432n.js → config-t9zs3egg.js} +4 -4
- package/dist/chunks/{reference-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-11pm3r9v.js → config-tb3b9sw6.js} +12 -12
- package/dist/chunks/{reference-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-8ryk0bb9.js → config-tdpndm1c.js} +5 -5
- package/dist/chunks/{reference-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{reference-yfz2gavf.js → config-tmyxw72k.js} +5 -5
- package/dist/chunks/{reference-hxg08g5j.js → config-tp4em4fx.js} +12 -12
- package/dist/chunks/config-tsgjpmhp.js +252 -0
- package/dist/chunks/{reference-6hqe4q59.js → config-ttcp5xkb.js} +13 -13
- package/dist/chunks/{reference-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-0m9cq689.js → config-tw2sz0rq.js} +20 -20
- package/dist/chunks/{reference-pmjz3wtp.js → config-v03b5pvj.js} +26 -26
- package/dist/chunks/{reference-wbrq6ka8.js → config-v991q2ks.js} +4 -4
- package/dist/chunks/{reference-nqw1h68k.js → config-vc4tj14c.js} +18 -18
- package/dist/chunks/{reference-5hqxtq21.js → config-vd4t73rm.js} +25 -25
- package/dist/chunks/{reference-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-r4453y51.js → config-vj9s6wy4.js} +58 -58
- package/dist/chunks/{reference-8vsk6s2a.js → config-vp67wfqm.js} +24 -24
- package/dist/chunks/{reference-xkxsh21d.js → config-vzbf696k.js} +4 -4
- package/dist/chunks/{reference-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{reference-ybhbtxjg.js → config-wrmrmykr.js} +6 -6
- package/dist/chunks/{reference-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-q6cph699.js → config-xa04810w.js} +27 -27
- package/dist/chunks/{reference-g74mfj6n.js → config-xk747vep.js} +5 -5
- package/dist/chunks/{reference-1jsptwm6.js → config-xpac2x5a.js} +6 -6
- package/dist/chunks/{reference-hs32c6fx.js → config-xq1shfhv.js} +10 -10
- package/dist/chunks/{reference-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-pnde1qtn.js → config-y1zffv57.js} +6 -6
- package/dist/chunks/{reference-afq9djet.js → config-y2062v7b.js} +19 -19
- package/dist/chunks/{reference-yp2x3t23.js → config-yp2x3t23.js} +1 -1
- package/dist/chunks/{reference-t4m9kaws.js → config-yqz2244c.js} +48 -48
- package/dist/chunks/{reference-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-4xz89tjk.js → config-yt0fqk68.js} +5 -5
- package/dist/chunks/{reference-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{reference-cyww2hg1.js → config-z9aq390g.js} +8 -8
- package/dist/chunks/{reference-bf7x6yrd.js → config-zcrw2f69.js} +33 -33
- package/dist/chunks/{reference-gbtx73hb.js → config-ze75yzft.js} +8 -8
- package/dist/chunks/{reference-rq775frq.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-x5rq2qdm.js → config-zf4vab36.js} +46 -46
- package/dist/chunks/{reference-td3sphkw.js → config-zj8g04kx.js} +10 -10
- package/dist/chunks/{reference-sqmzwr9m.js → config-zn5v3n4q.js} +9 -9
- package/dist/chunks/{reference-m655g54e.js → config-znhb3s94.js} +5 -5
- package/dist/chunks/{reference-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{reference-4azmnb77.js → config-zxt09vhx.js} +11 -11
- package/dist/chunks/{reference-3v9eaqqc.js → config-zyzwya36.js} +8 -8
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +140 -144
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/session/compaction.d.ts +30 -55
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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 +2 -2
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/reference-4wvg2h98.js +0 -252
- package/dist/chunks/reference-587j3zfx.js +0 -39
- package/dist/chunks/reference-5kveh0cp.js +0 -26
- package/dist/chunks/reference-dxj72tfx.js +0 -18
- package/dist/chunks/reference-jxxs5s4h.js +0 -511
- package/dist/chunks/reference-s3adcg6q.js +0 -624
- package/dist/plugin/compaction.js +0 -136
- package/dist/types/plugin/compaction.d.ts +0 -3
- /package/dist/chunks/{reference-0mesazry.js → config-0mesazry.js} +0 -0
- /package/dist/chunks/{reference-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./config-t5vtp9rn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./config-7hvbv13b.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node82
|
|
16
|
+
} from "./config-s0e1y9y9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node65
|
|
20
|
+
} from "./config-vp67wfqm.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID9,
|
|
23
|
+
Service69,
|
|
24
|
+
node72
|
|
25
|
+
} from "./config-kn2sx07v.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node71
|
|
35
|
+
} from "./config-q8w7nh62.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./config-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: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service36,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node39
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service79;
|
|
106
|
+
const environment = yield* Service62;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service69;
|
|
109
|
+
const integration = yield* Service68;
|
|
110
|
+
const credentials = yield* Service70;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID8.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID9.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
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(
|
|
262
|
+
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(Service62, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service36.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured5(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service36,
|
|
522
|
+
layer: layer14(options),
|
|
523
|
+
deps: [node82, node65, node86, node72, node71, node73]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node39 = configured5();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer14, configured5, node39, exports_mcp4 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID14,
|
|
3
|
+
Info29,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-ndmv45hp.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-ekr1tkzw.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./config-t5vtp9rn.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-rxbrkmj1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service47,
|
|
24
|
+
node49
|
|
25
|
+
} from "./config-2a6rn6yr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-bjtzbw4r.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node50
|
|
34
|
+
} from "./config-m2wvpmrz.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./config-fx5e6na3.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-pf8nwgds.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node44
|
|
47
|
+
} from "./config-ce09rktv.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node60
|
|
51
|
+
} from "./config-0jtesnr4.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./config-wrmrmykr.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service75,
|
|
68
|
+
node78
|
|
69
|
+
} from "./config-js1bgrk5.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service60,
|
|
72
|
+
node63
|
|
73
|
+
} from "./config-szzydw97.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service44,
|
|
76
|
+
node47
|
|
77
|
+
} from "./config-5ay8pqcq.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./config-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service39,
|
|
83
|
+
node42
|
|
84
|
+
} from "./config-6zycmakc.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./config-spn7hksh.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./config-z9aq390g.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service63,
|
|
93
|
+
node66
|
|
94
|
+
} from "./config-ft0c832p.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service41,
|
|
100
|
+
node43
|
|
101
|
+
} from "./config-t7jgv0pg.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service55,
|
|
104
|
+
node57
|
|
105
|
+
} from "./config-jhpaar4x.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make15
|
|
108
|
+
} from "./config-qr30w61m.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./config-0fbxv240.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./config-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID14,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info29,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service30,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node33
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput4;
|
|
152
|
-
class
|
|
152
|
+
class Service30 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
158
|
+
const bus = yield* Service82;
|
|
159
159
|
const projects = yield* Service81;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service44;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service39;
|
|
163
|
+
const store = yield* Service75;
|
|
164
|
+
const instances = yield* Service47;
|
|
165
|
+
const moves = yield* Service41;
|
|
166
|
+
const jobs = yield* Service60;
|
|
167
|
+
const environments = yield* Service55;
|
|
168
|
+
const locations = yield* Service63;
|
|
169
|
+
const sessions = yield* make15();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service30.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service47, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node33 = Node.makeGlobalNode({
|
|
331
|
+
service: Service30,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node63,
|
|
335
|
+
node57,
|
|
336
336
|
node88,
|
|
337
|
-
|
|
337
|
+
node86,
|
|
338
338
|
node85,
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
node47,
|
|
340
|
+
node42,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node78,
|
|
343
|
+
node49,
|
|
344
|
+
node50,
|
|
345
|
+
node43,
|
|
346
|
+
node44,
|
|
347
|
+
node66,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node60
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service30, node33, exports_session };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-mrm2rqc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./config-fvve35qg.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID7.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node84,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node84 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node84, exports_driver };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-4qjdqxbv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID11.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|