@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-ekr1tkzw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service42,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node45,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service42 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service42.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node45 = makeLocationNode({ service: Service42, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service42, node45, exports_instruction_entry };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./config-sjnymxq5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./config-cpneeje0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin37 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin46, exports_location_watcher };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-cpj0znwe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./config-t5vtp9rn.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./config-7hvbv13b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-q8w7nh62.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./config-fvve35qg.js";
|
|
21
21
|
import {
|
|
22
22
|
ID6
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-g29bj6y9.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-454kp9wr.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-0jtesnr4.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./config-ed84fsvm.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
62
62
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
63
63
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
64
64
|
var oauth = (app) => ({
|
|
65
|
-
integrationID:
|
|
65
|
+
integrationID: ID8.make("github-copilot"),
|
|
66
66
|
method: {
|
|
67
67
|
id: methodID,
|
|
68
68
|
type: "oauth",
|
|
@@ -160,8 +160,8 @@ var oauth = (app) => ({
|
|
|
160
160
|
var GithubCopilotPlugin2 = define({
|
|
161
161
|
id: "opencode.provider.github.copilot",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const providers = yield*
|
|
164
|
-
const bus = yield*
|
|
163
|
+
const providers = yield* Service67;
|
|
164
|
+
const bus = yield* Service82;
|
|
165
165
|
const loading = Semaphore.makeUnsafe(1);
|
|
166
166
|
const loaded = {};
|
|
167
167
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -177,7 +177,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
180
|
-
const provider = yield* providers.get(
|
|
180
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
181
181
|
const remote = yield* Effect.tryPromise({
|
|
182
182
|
try: () => load3(url, {
|
|
183
183
|
...provider?.headers,
|
|
@@ -199,7 +199,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
199
199
|
editor.method.update(oauth(ctx.app));
|
|
200
200
|
});
|
|
201
201
|
yield* ctx.provider.transform((evt) => {
|
|
202
|
-
const item = evt.get(
|
|
202
|
+
const item = evt.get(ID7.githubCopilot);
|
|
203
203
|
if (!item)
|
|
204
204
|
return;
|
|
205
205
|
if (loaded.models) {
|
|
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
if (models.get(
|
|
223
|
-
models.update(
|
|
222
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
223
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
224
224
|
model.enabled = false;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
|
-
if (evt.model.providerID !==
|
|
232
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
233
233
|
return;
|
|
234
234
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
235
235
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
239
239
|
}));
|
|
240
240
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
244
244
|
return;
|
|
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
248
248
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
249
249
|
if (interaction !== "conversation-agent")
|
|
250
250
|
evt.headers["x-initiator"] = "agent";
|
|
251
|
-
}), { providerID:
|
|
251
|
+
}), { providerID: ID7.githubCopilot });
|
|
252
252
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
256
256
|
return;
|
|
257
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
257
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
258
258
|
return;
|
|
259
259
|
}));
|
|
260
260
|
if (agent?.data.model)
|
|
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
|
-
}), { providerID:
|
|
268
|
+
}), { providerID: ID7.githubCopilot });
|
|
269
269
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
270
|
-
if (evt.model.providerID !==
|
|
270
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
271
271
|
return;
|
|
272
272
|
const token = evt.request.headers.get("x-api-key");
|
|
273
273
|
if (!token)
|
|
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
276
276
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
277
277
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID7.githubCopilot });
|
|
279
279
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
280
|
-
if (evt.model.providerID !==
|
|
280
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
281
281
|
return;
|
|
282
282
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
283
283
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./config-t5vtp9rn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./config-7hvbv13b.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-kn2sx07v.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service68,
|
|
44
|
+
node: () => node71
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
66
|
+
var ID8 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info23 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID8,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service68 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service70;
|
|
110
|
+
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info23.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service68.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key3.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node71 = makeLocationNode({
|
|
584
|
+
service: Service68,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node73, node86, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node71, exports_integration, Event14 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-0jtesnr4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./config-t5vtp9rn.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./config-7hvbv13b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-q8w7nh62.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID7,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-fvve35qg.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID8.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID8.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service82;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID7.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID7.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID7.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -318,4 +318,4 @@ function claim(token) {
|
|
|
318
318
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info19,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info19, exports_permission };
|