@opencode/core 0.0.0-dev-21406 → 0.0.0-dev-21411
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{agent-4vfzemd0.js → app-01w6yd27.js} +25 -25
- package/dist/chunks/{agent-z9vmg6yp.js → app-02hfk95k.js} +32 -32
- package/dist/chunks/{agent-83wmws4f.js → app-04bksjyr.js} +5 -5
- package/dist/chunks/{agent-48kw51zw.js → app-08rawchj.js} +3 -3
- package/dist/chunks/{agent-hzvmf2xy.js → app-0ge0ytsf.js} +43 -43
- package/dist/chunks/{agent-67yefhx6.js → app-0gtx652r.js} +13 -13
- package/dist/chunks/{agent-0emb60td.js → app-0vbcp93d.js} +2 -2
- package/dist/chunks/{agent-2ns3sh3v.js → app-0vtpdq1r.js} +17 -17
- package/dist/chunks/{agent-wsktzrj4.js → app-10rz5vwm.js} +25 -25
- package/dist/chunks/{agent-4errqqkt.js → app-1c4akytr.js} +35 -35
- package/dist/chunks/{agent-4k34fdzq.js → app-1jjf4jkt.js} +23 -23
- package/dist/chunks/{agent-7tsk134r.js → app-1n5hf5ba.js} +37 -37
- package/dist/chunks/{agent-b0eyz8c6.js → app-1p03vfn4.js} +77 -77
- package/dist/chunks/{agent-rkprpv83.js → app-1p07q0wb.js} +4 -4
- package/dist/chunks/{agent-avafw0st.js → app-21815rkk.js} +8 -8
- package/dist/chunks/{agent-dzse07y5.js → app-2a6rn6yr.js} +6 -6
- package/dist/chunks/{agent-5yetjxfm.js → app-2bxygntm.js} +47 -47
- package/dist/chunks/{agent-nxh1x0e6.js → app-2egdt11g.js} +4 -4
- package/dist/chunks/{agent-wkywfvx2.js → app-2g7r75c8.js} +34 -34
- package/dist/chunks/{agent-n0mggk70.js → app-2hmmd9mz.js} +7 -7
- package/dist/chunks/{agent-p34jt0r0.js → app-2t3f3h3v.js} +9 -9
- package/dist/chunks/{agent-wcb0e0c5.js → app-2zmkgr11.js} +37 -37
- package/dist/chunks/{agent-51136wbh.js → app-33twk7td.js} +20 -20
- package/dist/chunks/{agent-adarn49r.js → app-35r6c8aq.js} +36 -36
- package/dist/chunks/{agent-fs86bht4.js → app-395hsw9s.js} +14 -14
- package/dist/chunks/{agent-tt8gc4fv.js → app-395q6j9z.js} +6 -6
- package/dist/chunks/{agent-z0y78ctd.js → app-3g642jy4.js} +10 -10
- package/dist/chunks/{agent-zv1ky7bp.js → app-3gsxew2z.js} +13 -13
- package/dist/chunks/{agent-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3hwn7j4h.js → app-3hwn7j4h.js} +2 -2
- package/dist/chunks/{agent-ytcwff8w.js → app-3mbjaxrm.js} +14 -14
- package/dist/chunks/{agent-8rfkbrwf.js → app-3mcypt51.js} +30 -26
- package/dist/chunks/{agent-dhb2hta4.js → app-3n40wvxh.js} +5 -5
- package/dist/chunks/{agent-7styb3mj.js → app-3nx13vd1.js} +12 -12
- package/dist/chunks/{agent-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-ztbcatd2.js → app-3spee4my.js} +5 -5
- package/dist/chunks/{agent-gfhhve88.js → app-3tt1qkhr.js} +5 -5
- package/dist/chunks/{agent-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-vxyj8dbg.js → app-3wxa55zc.js} +8 -8
- package/dist/chunks/{agent-ttk95yaa.js → app-3z4hrsve.js} +2 -2
- package/dist/chunks/{agent-h16h8dr2.js → app-3zdeh69c.js} +33 -33
- package/dist/chunks/{agent-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-rwf1b84d.js → app-4c58vr43.js} +21 -21
- package/dist/chunks/{agent-5t93s459.js → app-4efwv2ta.js} +21 -21
- package/dist/chunks/{agent-ekgsfedd.js → app-4xj1j0qs.js} +175 -175
- package/dist/chunks/{agent-24k0zg7j.js → app-506qh2eh.js} +25 -25
- package/dist/chunks/{agent-c0t9grq8.js → app-51jrggqn.js} +10 -10
- package/dist/chunks/{agent-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{agent-s0tzm455.js → app-55j2kpp2.js} +21 -21
- package/dist/chunks/{agent-drwq78ky.js → app-57b9ws8p.js} +5 -5
- package/dist/chunks/{agent-648rfa8c.js → app-5c78yest.js} +9 -9
- package/dist/chunks/{agent-wdvgmdgr.js → app-5dh3ccx6.js} +11 -11
- package/dist/chunks/{agent-2ktf0ed2.js → app-5eer2xf9.js} +8 -8
- package/dist/chunks/{agent-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-2105cad3.js → app-60m77pxd.js} +20 -20
- package/dist/chunks/{agent-6827pfxn.js → app-6827pfxn.js} +1 -1
- package/dist/chunks/{agent-0j86m4bq.js → app-6d9zwne9.js} +11 -11
- package/dist/chunks/{agent-fb5vvrxc.js → app-6fz33m9z.js} +48 -48
- package/dist/chunks/{agent-mfqd2w1w.js → app-6k17ymsq.js} +11 -11
- package/dist/chunks/{agent-v7z2bvyd.js → app-6t4hr8r6.js} +4 -4
- package/dist/chunks/{agent-6xb47vfp.js → app-6xb47vfp.js} +1 -1
- package/dist/chunks/{agent-gskka0f2.js → app-745kjdj7.js} +3 -3
- package/dist/chunks/{agent-775gj3j1.js → app-775gj3j1.js} +2 -2
- package/dist/chunks/app-776rezxm.js +26 -0
- package/dist/chunks/{agent-6ztqc8am.js → app-7bby5qjk.js} +28 -28
- package/dist/chunks/{agent-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-fcrkznn8.js → app-7dqw4kz8.js} +5 -5
- package/dist/chunks/{agent-a20pjse5.js → app-7v6vae4w.js} +3 -3
- package/dist/chunks/{agent-krkmjgqt.js → app-7vp7zh91.js} +4 -4
- package/dist/chunks/{agent-7peb95f4.js → app-7zs5h68r.js} +17 -17
- package/dist/chunks/{agent-3f7b88yc.js → app-810j31mb.js} +5 -5
- package/dist/chunks/{agent-h7p9ang8.js → app-83tqccq8.js} +16 -16
- package/dist/chunks/{agent-990hmman.js → app-89yg4t31.js} +5 -5
- package/dist/chunks/{agent-0rn1xwp2.js → app-8gykzef1.js} +35 -35
- package/dist/chunks/{agent-1r4j4yg9.js → app-8jv4b5jg.js} +6 -6
- package/dist/chunks/{agent-8m6m0r52.js → app-8m6m0r52.js} +1 -1
- package/dist/chunks/{agent-8mywswrd.js → app-8mywswrd.js} +1 -1
- package/dist/chunks/{agent-rfw5rhm2.js → app-8qbwyrzn.js} +28 -28
- package/dist/chunks/{agent-0xg80fyc.js → app-8qq9n4p1.js} +38 -38
- package/dist/chunks/{agent-r8fetm84.js → app-8tdwe2tg.js} +30 -30
- package/dist/chunks/{agent-bhxykftm.js → app-8v5fxa6j.js} +18 -18
- package/dist/chunks/{agent-g0445xdp.js → app-8v6pyhej.js} +8 -8
- package/dist/chunks/{agent-3d0wbggw.js → app-8wdeee1m.js} +32 -32
- package/dist/chunks/{agent-769tdh5t.js → app-93tcbfj1.js} +9 -9
- package/dist/chunks/{agent-2806g74y.js → app-94pqe243.js} +21 -21
- package/dist/chunks/{agent-s7mka24n.js → app-95pq4zmg.js} +10 -10
- package/dist/chunks/{agent-19ewsxs1.js → app-9erf4zgz.js} +13 -13
- package/dist/chunks/{agent-3fsbjx5g.js → app-9gddavys.js} +14 -14
- package/dist/chunks/{agent-b32gwffb.js → app-9gk1mpfq.js} +13 -13
- package/dist/chunks/{agent-rt4fnzs6.js → app-9wxbrahq.js} +29 -29
- package/dist/chunks/{agent-azwe5p1w.js → app-addxnjmp.js} +4 -4
- package/dist/chunks/{agent-258tza17.js → app-axp4ehpq.js} +6 -6
- package/dist/chunks/{agent-fpqdxcxh.js → app-ayq3a5jh.js} +25 -25
- package/dist/chunks/{agent-3vq2z5ky.js → app-azf60x8w.js} +24 -24
- package/dist/chunks/{agent-fdx5estd.js → app-b1xsayxh.js} +7 -7
- package/dist/chunks/{agent-6hh8tjw2.js → app-b27vhd2z.js} +4 -4
- package/dist/chunks/{agent-e8ene3dj.js → app-baw7bc8n.js} +1 -1
- package/dist/chunks/{agent-8vn1y58j.js → app-bd3sq8cm.js} +38 -38
- package/dist/chunks/{agent-w1d288hs.js → app-bq7b46md.js} +11 -11
- package/dist/chunks/{agent-myq0d0f8.js → app-brax6zbd.js} +50 -50
- package/dist/chunks/{agent-kdbj1bp6.js → app-brzmcc6s.js} +32 -32
- package/dist/chunks/{agent-vtccvqmx.js → app-byfh7d48.js} +11 -11
- package/dist/chunks/{agent-1ep4rre3.js → app-bzeyqsqd.js} +4 -4
- package/dist/chunks/{agent-es1vcfrp.js → app-c1fqxshp.js} +3 -3
- package/dist/chunks/{agent-8zw1ss66.js → app-c1jz289b.js} +15 -15
- package/dist/chunks/{agent-ef7ha0bw.js → app-c9yxyrjr.js} +60 -60
- package/dist/chunks/{agent-x8sfg8by.js → app-cefkz2r6.js} +4 -4
- package/dist/chunks/{agent-vqawp4fr.js → app-ckf8drkn.js} +27 -27
- package/dist/chunks/{agent-1k0445q3.js → app-ct9aj8kz.js} +3 -3
- package/dist/chunks/{agent-25pr2p8h.js → app-cvaenhkt.js} +15 -15
- package/dist/chunks/{agent-ft3hqk2c.js → app-d4he2qe1.js} +9 -9
- package/dist/chunks/{agent-9x2418wc.js → app-d4rcdqjc.js} +33 -33
- package/dist/chunks/{agent-6rzpq3dm.js → app-d4ybhg6z.js} +12 -12
- package/dist/chunks/{agent-szjae43c.js → app-d64jjb5b.js} +17 -17
- package/dist/chunks/{agent-dx93tj1b.js → app-d7x0sh0y.js} +9 -9
- package/dist/chunks/{agent-xnjezwp4.js → app-dbqrmbed.js} +6 -6
- package/dist/chunks/{agent-skj0g5v1.js → app-dr7fh3sa.js} +24 -24
- package/dist/chunks/{agent-qy5x06df.js → app-dstnbgee.js} +14 -14
- package/dist/chunks/{agent-wrj35e6x.js → app-dt7158se.js} +25 -25
- package/dist/chunks/{agent-2yj9p1ch.js → app-dv7zq4c5.js} +19 -19
- package/dist/chunks/{agent-q2n0rt41.js → app-dwba477g.js} +27 -27
- package/dist/chunks/{agent-zrnfzdm4.js → app-dx5kq8ty.js} +17 -17
- package/dist/chunks/{agent-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{agent-nd8yk64t.js → app-e4q0tsf7.js} +21 -21
- package/dist/chunks/{agent-e7gxy7fd.js → app-e7gxy7fd.js} +1 -1
- package/dist/chunks/{agent-r2z489rp.js → app-e80seqcp.js} +3 -3
- package/dist/chunks/{agent-txyw6bh0.js → app-ea6pkrn3.js} +2 -2
- package/dist/chunks/{agent-nm12rwgq.js → app-ea9g3ztt.js} +35 -35
- package/dist/chunks/{agent-7b3yybgh.js → app-eaxvasn1.js} +28 -28
- package/dist/chunks/{agent-5sr1d0gb.js → app-eb51sxke.js} +14 -14
- package/dist/chunks/{agent-eej6y6fw.js → app-eej6y6fw.js} +2 -2
- package/dist/chunks/{agent-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-mv1ymdtg.js → app-exd21m6k.js} +19 -19
- package/dist/chunks/{agent-413rtwqn.js → app-ez0r22v1.js} +29 -29
- package/dist/chunks/{agent-w3prdgep.js → app-f3c2zttt.js} +22 -22
- package/dist/chunks/{agent-41fs7rd0.js → app-f3jaxv9k.js} +5 -5
- package/dist/chunks/{agent-4yhgmfzd.js → app-fa02t2bn.js} +15 -15
- package/dist/chunks/{agent-fcy631f0.js → app-fcy631f0.js} +1 -1
- package/dist/chunks/{agent-q8wzy7az.js → app-fdyjnnys.js} +23 -23
- package/dist/chunks/{agent-2sjbdn5v.js → app-fgzzk5k2.js} +3 -3
- package/dist/chunks/{agent-kr5tz9tg.js → app-fkcvgkd2.js} +13 -13
- package/dist/chunks/{agent-arkvwkjz.js → app-fn56pjed.js} +28 -28
- package/dist/chunks/{agent-ph7nwd8c.js → app-fqcabnwy.js} +15 -15
- package/dist/chunks/{agent-7j94r4am.js → app-fsjq9990.js} +11 -11
- package/dist/chunks/{agent-xczw7yg4.js → app-fx95f4zk.js} +19 -19
- package/dist/chunks/{agent-e9zedmrt.js → app-fz1z8sj8.js} +20 -20
- package/dist/chunks/{agent-6vmcxv92.js → app-gcf24hxb.js} +40 -40
- package/dist/chunks/{agent-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-b42w3z1p.js → app-gdapre4m.js} +45 -45
- package/dist/chunks/{agent-wb348f7j.js → app-ggacc04k.js} +12 -12
- package/dist/chunks/{agent-m932xw4h.js → app-ghbwxza9.js} +96 -96
- package/dist/chunks/{agent-0e3fqjja.js → app-gmahx3v0.js} +4 -4
- package/dist/chunks/{agent-5g0489kz.js → app-gnjhzwdv.js} +1 -1
- package/dist/chunks/{agent-52wp07n9.js → app-h02wzggg.js} +15 -15
- package/dist/chunks/{agent-chebftdj.js → app-h2vqet0g.js} +23 -23
- package/dist/chunks/{agent-wbr94c2z.js → app-h5qxqv87.js} +14 -14
- package/dist/chunks/{agent-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-npqh6ge9.js → app-hg5a641v.js} +27 -27
- package/dist/chunks/{agent-hgz4x7wa.js → app-hgz4x7wa.js} +1 -1
- package/dist/chunks/{agent-zy7kxqpe.js → app-hhmw6x4g.js} +18 -18
- package/dist/chunks/{agent-j3yj9s0t.js → app-hk3kyyg7.js} +50 -50
- package/dist/chunks/{agent-bk5jw64x.js → app-hwbgf2sa.js} +20 -20
- package/dist/chunks/{agent-06anjssm.js → app-hxxy0m65.js} +342 -342
- package/dist/chunks/{agent-frvft4h3.js → app-hyc0wd7j.js} +36 -36
- package/dist/chunks/{agent-y8w5cv04.js → app-j2a9z9dt.js} +33 -33
- package/dist/chunks/{agent-swa3405n.js → app-j8qfxhbw.js} +11 -11
- package/dist/chunks/{agent-ewpt59p9.js → app-j9k2gg04.js} +17 -17
- package/dist/chunks/{agent-ke0h2g6m.js → app-jjec1xd0.js} +2 -2
- package/dist/chunks/{agent-kv4cnfdg.js → app-jpsfykv1.js} +11 -11
- package/dist/chunks/{agent-87e86qhn.js → app-jtcwbvnd.js} +13 -13
- package/dist/chunks/{agent-785qcqx9.js → app-k44jame8.js} +60 -60
- package/dist/chunks/{agent-yw5dp6ck.js → app-k8y1s9ga.js} +8 -8
- package/dist/chunks/{agent-y38n4jcf.js → app-kc0qzw43.js} +13 -13
- package/dist/chunks/{agent-hq3c8me3.js → app-khmqacep.js} +4 -4
- package/dist/chunks/{agent-wz92t8pf.js → app-kmcvvdyf.js} +20 -20
- package/dist/chunks/{agent-d2agymww.js → app-kn7rp92r.js} +14 -14
- package/dist/chunks/{agent-kwb1v3vj.js → app-kwb1v3vj.js} +1 -1
- package/dist/chunks/{agent-p11y68zd.js → app-m83c6x7a.js} +88 -88
- package/dist/chunks/{agent-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → app-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-c5zgdys3.js → app-mnxh9yq3.js} +11 -11
- package/dist/chunks/{agent-zxck4pyt.js → app-ms2k4vg8.js} +19 -19
- package/dist/chunks/{agent-0h9t1hvk.js → app-my19zf6g.js} +20 -20
- package/dist/chunks/{agent-zzw58bf3.js → app-n45rh7cs.js} +8 -8
- package/dist/chunks/{agent-fpvfk2w9.js → app-nbrqwas9.js} +14 -14
- package/dist/chunks/{agent-fyt5qzsq.js → app-nhq245vr.js} +45 -45
- package/dist/chunks/{agent-zktsegv2.js → app-nmtgcsjx.js} +3 -3
- package/dist/chunks/{agent-v13b12ef.js → app-nz56sr1f.js} +5 -5
- package/dist/chunks/{agent-0mxkd3yj.js → app-p1tgra7p.js} +27 -27
- package/dist/chunks/{agent-x1gzjej3.js → app-p3ddyk8a.js} +28 -28
- package/dist/chunks/{agent-znsyjbg0.js → app-p8hqtkgc.js} +21 -21
- package/dist/chunks/{agent-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-mqqhst8y.js → app-pkj8hqbd.js} +9 -9
- package/dist/chunks/{agent-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{agent-qkq2g0a5.js → app-pkptyy4p.js} +26 -26
- package/dist/chunks/{agent-jsxyagrf.js → app-ptva87mk.js} +7 -7
- package/dist/chunks/{agent-311a602a.js → app-pz405bx5.js} +11 -11
- package/dist/chunks/{agent-5t6265c7.js → app-q1x8y5de.js} +7 -7
- package/dist/chunks/{agent-tt3gk2hg.js → app-q2j64v3h.js} +3 -3
- package/dist/chunks/{agent-5acs8yhy.js → app-qbbzbnf3.js} +32 -32
- package/dist/chunks/app-qc068m1q.js +18 -0
- package/dist/chunks/{agent-6ytgs7sy.js → app-qgms3ddt.js} +16 -16
- package/dist/chunks/{agent-bqm60g8j.js → app-qk484hn9.js} +15 -15
- package/dist/chunks/{agent-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{agent-43kvem2p.js → app-qne3fa44.js} +5 -5
- package/dist/chunks/{agent-r3dq8634.js → app-qry4x5hn.js} +29 -25
- package/dist/chunks/{agent-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-0bxh5w1j.js → app-qt3v0hbz.js} +27 -27
- package/dist/chunks/{agent-ga7ghyrz.js → app-qt8p0yf7.js} +9 -9
- package/dist/chunks/{agent-r66ezcem.js → app-rahsp83x.js} +5 -5
- package/dist/chunks/{agent-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-pem2t63f.js → app-rdy985vw.js} +30 -30
- package/dist/chunks/{agent-tkb22qbm.js → app-rert0e01.js} +2 -2
- package/dist/chunks/{agent-c41wscbt.js → app-rj3eygr5.js} +2 -2
- package/dist/chunks/{agent-gvyg44wk.js → app-rqdvf2vf.js} +14 -14
- package/dist/chunks/{agent-80dnw97j.js → app-rqhgdp0n.js} +18 -18
- package/dist/chunks/{agent-5hrhvvkv.js → app-rvphw0ra.js} +12 -12
- package/dist/chunks/{agent-c8ax2afj.js → app-sa8ekw3f.js} +2 -2
- package/dist/chunks/{agent-ja4zcwdc.js → app-sb33ej8s.js} +13 -13
- package/dist/chunks/{agent-kv09cb3a.js → app-scw4869w.js} +27 -27
- package/dist/chunks/{agent-tyvgjd0d.js → app-sk16zj2h.js} +5 -5
- package/dist/chunks/{agent-gk8a4wxr.js → app-sxkhgf9c.js} +4 -4
- package/dist/chunks/{agent-syv4x271.js → app-syv4x271.js} +1 -1
- package/dist/chunks/{agent-7qr8wxzf.js → app-szyc73at.js} +11 -11
- package/dist/chunks/{agent-c0k7v243.js → app-t41wtgtc.js} +14 -14
- package/dist/chunks/{agent-eaj1djv9.js → app-t550f9t1.js} +8 -8
- package/dist/chunks/app-t7vywfem.js +257 -0
- package/dist/chunks/{agent-qazp8rf3.js → app-t8mmftw3.js} +7 -7
- package/dist/chunks/{agent-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{agent-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{agent-cxbh1760.js → app-tk14y25j.js} +5 -5
- package/dist/chunks/{agent-tm0kqsz3.js → app-tm0kqsz3.js} +1 -1
- package/dist/chunks/{agent-pxs39pc3.js → app-tmfxf5e7.js} +11 -11
- package/dist/chunks/{agent-jekssrtq.js → app-tx6qfw4f.js} +8 -8
- package/dist/chunks/{agent-tyytaxap.js → app-tyytaxap.js} +1 -1
- package/dist/chunks/{agent-nt7xys9a.js → app-tyz9ehdt.js} +6 -6
- package/dist/chunks/{agent-rm4mkcw0.js → app-v210v162.js} +2 -2
- package/dist/chunks/{agent-kfy1bhn0.js → app-v2ahh25p.js} +9 -9
- package/dist/chunks/{agent-9pfmptwy.js → app-v32bmf27.js} +4 -4
- package/dist/chunks/{agent-v7p4zvkq.js → app-v7p4zvkq.js} +2 -2
- package/dist/chunks/{agent-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-xayeaa42.js → app-vmpk7bmm.js} +11 -11
- package/dist/chunks/{agent-patgj9rf.js → app-vps92m75.js} +9 -9
- package/dist/chunks/{agent-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{agent-84txncab.js → app-w1eejvng.js} +5 -5
- package/dist/chunks/{agent-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-3dkckj9q.js → app-w4x7tahc.js} +11 -11
- package/dist/chunks/{agent-64zrm0g5.js → app-w7w7qh17.js} +27 -27
- package/dist/chunks/{agent-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{agent-bjx1sjef.js → app-wjr9rjd7.js} +6 -6
- package/dist/chunks/{agent-prq7hedt.js → app-wk5z6jzv.js} +9 -9
- package/dist/chunks/{agent-jeapw6wp.js → app-wvg3hh94.js} +46 -46
- package/dist/chunks/{agent-77590sxh.js → app-x9kfwvv8.js} +32 -32
- package/dist/chunks/{agent-y87j8r2r.js → app-xdz6c9ad.js} +6 -6
- package/dist/chunks/{agent-8nwjdb3a.js → app-xgcp54jd.js} +16 -16
- package/dist/chunks/{agent-2r33jwsv.js → app-xymv3rjy.js} +19 -19
- package/dist/chunks/{agent-f8a3nfk1.js → app-y140at0t.js} +4 -4
- package/dist/chunks/{agent-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-zmr2d85t.js → app-y1td6ty3.js} +25 -21
- package/dist/chunks/{agent-9j735w9d.js → app-y5n9bnc9.js} +4 -4
- package/dist/chunks/{agent-dpkg50ah.js → app-y71avatq.js} +4 -4
- package/dist/chunks/{agent-7j2qha59.js → app-y72zmemf.js} +8 -8
- package/dist/chunks/{agent-mpt2r5zq.js → app-y94ehg41.js} +27 -27
- package/dist/chunks/{agent-vhmbycym.js → app-y9feepx6.js} +11 -11
- package/dist/chunks/{agent-phs0t85n.js → app-yh7srtg1.js} +24 -24
- package/dist/chunks/{agent-r061574r.js → app-yqwgxt4z.js} +11 -11
- package/dist/chunks/{agent-mfr6y76k.js → app-yrmyvmqn.js} +32 -32
- package/dist/chunks/{agent-ph842b28.js → app-z0aj456m.js} +4 -4
- package/dist/chunks/{agent-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-z18fegx4.js → app-z18fegx4.js} +1 -1
- package/dist/chunks/{agent-dbwwhbac.js → app-z4t314xt.js} +5 -5
- package/dist/chunks/{agent-5ska0mvd.js → app-zc8dp112.js} +9 -9
- package/dist/chunks/{agent-tc1y46p2.js → app-zhgjc21e.js} +50 -50
- package/dist/chunks/{agent-gkt49qec.js → app-zmee91gq.js} +9 -9
- package/dist/chunks/{agent-5n7p33rt.js → app-znt7b5aj.js} +24 -24
- package/dist/chunks/{agent-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-89rmaqwz.js → app-zv6c582t.js} +24 -24
- package/dist/chunks/{agent-baaqp4zd.js → app-zvt5dnpc.js} +4 -4
- package/dist/chunks/{agent-rm9y9bjp.js → app-zx8g16fw.js} +5 -5
- package/dist/chunks/{agent-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +84 -84
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +10 -10
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/agent-9zdhvgqs.js +0 -18
- package/dist/chunks/agent-tf3jhtnp.js +0 -26
- package/dist/chunks/agent-v8w58kqh.js +0 -257
- /package/dist/chunks/{agent-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → app-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-pyv0edze.js → app-pyv0edze.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → app-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-szyc73at.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./app-83tqccq8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./app-hyc0wd7j.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-d4rcdqjc.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-1c4akytr.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./app-2zmkgr11.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-xdz6c9ad.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
|
+
var integrationID = ID14.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service82;
|
|
183
|
+
const credentials = yield* Service78;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./app-mnxh9yq3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./app-2a6rn6yr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-qc068m1q.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-5dh3ccx6.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-7bby5qjk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service32
|
|
18
|
+
} from "./app-m83c6x7a.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-fcy631f0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service47;
|
|
36
|
+
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service32;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./app-mnxh9yq3.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
19
|
-
ListInput: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
17
|
+
ID: () => ID7,
|
|
18
|
+
Info: () => Info12,
|
|
19
|
+
ListInput: () => ListInput4,
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
23
|
UpdateInput: () => UpdateInput3,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node65
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,9 +29,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
29
29
|
import { Project } from "@opencode/schema/project";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
32
|
+
var ID7 = PermissionSaved.ID;
|
|
33
|
+
var Info12 = PermissionSaved.Info;
|
|
34
|
+
var ListInput4 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
37
37
|
var AddInput2 = Schema.Struct({
|
|
@@ -40,27 +40,27 @@ var AddInput2 = Schema.Struct({
|
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
42
|
var UpdateInput3 = Schema.Struct({
|
|
43
|
-
id:
|
|
43
|
+
id: ID7,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
id:
|
|
48
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
|
+
id: ID7
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
54
|
+
id: ID7,
|
|
55
55
|
action: Schema.String,
|
|
56
56
|
resource: Schema.String
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service63 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const db = (yield*
|
|
62
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
63
|
+
const db = (yield* Service86).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
66
66
|
return rows.map(info);
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
69
69
|
if (!input.resources.length)
|
|
70
70
|
return;
|
|
71
71
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
72
|
+
id: ID7.create(),
|
|
73
73
|
project_id: input.projectID,
|
|
74
74
|
action: input.action,
|
|
75
75
|
resource
|
|
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
78
78
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
79
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
80
|
if (!current)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
82
82
|
const action = input.action ?? current.action;
|
|
83
83
|
const resource = input.resource ?? current.resource;
|
|
84
84
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
85
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
86
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
87
87
|
return info(updated);
|
|
88
88
|
});
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service63.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node65 = makeGlobalNode({ service: Service63, layer, deps: [node90] });
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ID7, Info12, ListInput4, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service63, node65, exports_saved };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-pkj8hqbd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./app-tmfxf5e7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info16
|
|
12
|
+
} from "./app-b27vhd2z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info18
|
|
15
|
+
} from "./app-tk14y25j.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info17
|
|
21
|
+
} from "./app-qne3fa44.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-7vp7zh91.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info18, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -435,7 +435,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
435
435
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
436
436
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
437
437
|
return [];
|
|
438
|
-
const provider = decodeValue(
|
|
438
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
439
439
|
if (provider === undefined)
|
|
440
440
|
return [];
|
|
441
441
|
const destination = providerID2(name);
|
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./app-mnxh9yq3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./app-83tqccq8.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service65,
|
|
15
|
+
node67
|
|
16
|
+
} from "./app-p1tgra7p.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node79
|
|
23
|
+
} from "./app-2zmkgr11.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
truncateToolOutput2,
|
|
34
34
|
serializeToolContent2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./app-8mywswrd.js";
|
|
36
36
|
import {
|
|
37
37
|
isNativeCompaction2,
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
load4
|
|
39
|
+
} from "./app-5dh3ccx6.js";
|
|
40
40
|
import {
|
|
41
41
|
toLLMMessages2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-3z4hrsve.js";
|
|
43
43
|
import {
|
|
44
44
|
outputLimit2,
|
|
45
45
|
baseTranscript2,
|
|
46
46
|
unsupportedParts2,
|
|
47
47
|
boundImages2,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service34,
|
|
49
|
+
node38
|
|
50
|
+
} from "./app-7bby5qjk.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service46,
|
|
53
|
+
node48
|
|
54
|
+
} from "./app-3gsxew2z.js";
|
|
55
55
|
import {
|
|
56
56
|
isRetryable2,
|
|
57
57
|
policy2
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./app-395q6j9z.js";
|
|
59
59
|
import {
|
|
60
60
|
toSessionError2,
|
|
61
61
|
contentFilterError2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./app-zx8g16fw.js";
|
|
63
63
|
import {
|
|
64
64
|
calculateCost2,
|
|
65
65
|
record2,
|
|
66
66
|
add2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./app-tdstcens.js";
|
|
68
68
|
import {
|
|
69
69
|
__export
|
|
70
|
-
} from "./
|
|
70
|
+
} from "./app-9rqn6x4v.js";
|
|
71
71
|
|
|
72
72
|
// src/session/compaction.ts
|
|
73
73
|
var exports_compaction2 = {};
|
|
74
74
|
__export(exports_compaction2, {
|
|
75
|
-
Service: () =>
|
|
75
|
+
Service: () => Service6,
|
|
76
76
|
SessionCompaction: () => exports_compaction2,
|
|
77
77
|
buildPrompt: () => buildPrompt2,
|
|
78
78
|
estimateContext: () => estimateContext2,
|
|
79
79
|
estimatePrompt: () => estimatePrompt2,
|
|
80
|
-
layer: () =>
|
|
81
|
-
node: () =>
|
|
80
|
+
layer: () => layer6,
|
|
81
|
+
node: () => node8,
|
|
82
82
|
recentUserMessages: () => recentUserMessages2
|
|
83
83
|
});
|
|
84
84
|
import {
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "@opencode/ai";
|
|
95
95
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
96
96
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
97
|
-
class
|
|
97
|
+
class Service6 extends Context.Service()("@opencode/SessionCompaction") {
|
|
98
98
|
}
|
|
99
99
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
100
100
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -173,14 +173,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
173
173
|
};
|
|
174
174
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
175
175
|
var LEGACY_HEADING = "## Additional Context";
|
|
176
|
-
var
|
|
177
|
-
const agents = yield*
|
|
178
|
-
const bus = yield*
|
|
176
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
177
|
+
const agents = yield* Service65;
|
|
178
|
+
const bus = yield* Service82;
|
|
179
179
|
const llm = yield* LLMClient.Service;
|
|
180
|
-
const catalog = yield*
|
|
181
|
-
const models = yield*
|
|
182
|
-
const db = (yield*
|
|
183
|
-
const requests = yield*
|
|
180
|
+
const catalog = yield* Service75;
|
|
181
|
+
const models = yield* Service46;
|
|
182
|
+
const db = (yield* Service86).db;
|
|
183
|
+
const requests = yield* Service34;
|
|
184
184
|
const state = create3({
|
|
185
185
|
name: "session-compaction",
|
|
186
186
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -198,7 +198,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
198
198
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
199
199
|
return { status: "skipped" };
|
|
200
200
|
const native = context.model.compaction?.type === "native";
|
|
201
|
-
const agent = native ? undefined : yield* agents.get(
|
|
201
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
202
202
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
203
203
|
return;
|
|
204
204
|
})))) ?? context.model;
|
|
@@ -273,7 +273,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
273
273
|
const send = (request) => {
|
|
274
274
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
275
275
|
return Effect.gen(function* () {
|
|
276
|
-
const history = yield*
|
|
276
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
277
277
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
278
278
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
279
279
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service6.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node8 = makeLocationNode({
|
|
482
|
+
service: Service6,
|
|
483
|
+
layer: layer6,
|
|
484
|
+
deps: [node67, node86, node90, llmClient2, node79, node38, node48]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -630,4 +630,4 @@ var estimateMedia = (mime) => {
|
|
|
630
630
|
return 0;
|
|
631
631
|
};
|
|
632
632
|
|
|
633
|
-
export {
|
|
633
|
+
export { Service6, buildPrompt2, layer6, node8, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|