@opencode-ai/core 0.0.0-dev-19093 → 0.0.0-dev-19094
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{kv-0e0xafbb.js → command-0e0xafbb.js} +2 -2
- package/dist/chunks/{kv-e6v427vd.js → command-0ez61b8c.js} +2 -2
- package/dist/chunks/{kv-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
- package/dist/chunks/{kv-csjjrfxs.js → command-0yrmd491.js} +15 -15
- package/dist/chunks/{kv-7ry09vv5.js → command-14hmenm3.js} +3 -3
- package/dist/chunks/{kv-ywss3cf1.js → command-167yerzm.js} +17 -17
- package/dist/chunks/{kv-vn7dnbkg.js → command-17ze61ga.js} +22 -22
- package/dist/chunks/{kv-7908ykgb.js → command-1bdhjw18.js} +8 -8
- package/dist/chunks/{kv-1ct4r87x.js → command-1ct4r87x.js} +1 -1
- package/dist/chunks/{kv-0vp2h810.js → command-1eb7zprr.js} +5 -5
- package/dist/chunks/{kv-hbhn1exa.js → command-1hzpknhe.js} +35 -35
- package/dist/chunks/{kv-mbc7zawv.js → command-1m2qxpbx.js} +9 -9
- package/dist/chunks/{kv-xzjsw50f.js → command-1n22b4te.js} +10 -10
- package/dist/chunks/{kv-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{kv-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-w9f7wb0e.js → command-26x1nfsd.js} +13 -13
- package/dist/chunks/{kv-c2rr8at4.js → command-283x2hdr.js} +11 -11
- package/dist/chunks/{kv-z63w68vq.js → command-29x78va6.js} +6 -6
- package/dist/chunks/{kv-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-2ht70gj7.js → command-2ht70gj7.js} +1 -1
- package/dist/chunks/{kv-2jqmte8w.js → command-2jqmte8w.js} +2 -2
- package/dist/chunks/{kv-rt9c2rpv.js → command-2p8f7m2b.js} +4 -4
- package/dist/chunks/{kv-n08wtfc0.js → command-2w9k586s.js} +25 -25
- package/dist/chunks/{kv-tgc5gq4n.js → command-2wxr2xvt.js} +8 -8
- package/dist/chunks/{kv-6c7eyv5g.js → command-32m8x2r5.js} +20 -20
- package/dist/chunks/{kv-x7a9f5qc.js → command-332w5sq1.js} +11 -11
- package/dist/chunks/{kv-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-nc7q88x6.js → command-3jwbxfdj.js} +37 -37
- package/dist/chunks/{kv-yhemmazy.js → command-3q0nngn9.js} +6 -6
- package/dist/chunks/{kv-fqf57vhm.js → command-3q60g5tw.js} +23 -23
- package/dist/chunks/{kv-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
- package/dist/chunks/{kv-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-pmqshxn9.js → command-3wbgnpam.js} +21 -21
- package/dist/chunks/{kv-azv14p53.js → command-3wfq9j39.js} +10 -10
- package/dist/chunks/{kv-4ahqr3ea.js → command-3zxznrdw.js} +32 -32
- package/dist/chunks/{kv-454k5vzh.js → command-454k5vzh.js} +1 -1
- package/dist/chunks/{kv-e9zqpvgt.js → command-45kzw0p8.js} +6 -6
- package/dist/chunks/{kv-pq3hsm1q.js → command-46xfq78f.js} +18 -18
- package/dist/chunks/{kv-x6560wra.js → command-48h7as0e.js} +20 -20
- package/dist/chunks/{kv-c7r09442.js → command-4jcgzkct.js} +14 -14
- package/dist/chunks/{kv-keptat7v.js → command-4p3f57ee.js} +10 -10
- package/dist/chunks/{kv-4r2nyarf.js → command-4r2nyarf.js} +1 -1
- package/dist/chunks/{kv-hs1w2bsr.js → command-4sjd4f28.js} +11 -11
- package/dist/chunks/{kv-fjp933gm.js → command-4t040z03.js} +16 -16
- package/dist/chunks/{kv-v9qvtgmd.js → command-4ved7yaj.js} +7 -7
- package/dist/chunks/{kv-94exngkb.js → command-4y9deqpk.js} +24 -24
- package/dist/chunks/{kv-64z8z5x5.js → command-4z6b0fg6.js} +6 -6
- package/dist/chunks/{kv-07h2bzrz.js → command-518jw6te.js} +11 -11
- package/dist/chunks/{kv-y0bse006.js → command-55yvdk0c.js} +11 -11
- package/dist/chunks/{kv-2exvmxnk.js → command-578j1xdj.js} +10 -10
- package/dist/chunks/{kv-gr3mfh83.js → command-57jd71w6.js} +28 -28
- package/dist/chunks/{kv-tk0q86eg.js → command-58dzf215.js} +14 -14
- package/dist/chunks/{kv-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
- package/dist/chunks/{kv-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
- package/dist/chunks/{kv-hgeb4s25.js → command-5k3f87xj.js} +1 -1
- package/dist/chunks/{kv-j935v87r.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{kv-cq35m6me.js → command-5rw6je3s.js} +3 -3
- package/dist/chunks/{kv-3gqhfq1r.js → command-5w9qjdt3.js} +4 -4
- package/dist/chunks/{kv-syctsqr6.js → command-60q8mcwp.js} +8 -8
- package/dist/chunks/{kv-rcaq9zsf.js → command-62dw8djd.js} +36 -36
- package/dist/chunks/{kv-eszkm5vj.js → command-63bjv6jc.js} +6 -6
- package/dist/chunks/{kv-8brfdvrk.js → command-67nkcjnx.js} +17 -17
- package/dist/chunks/{kv-6h414ywr.js → command-6h414ywr.js} +2 -2
- package/dist/chunks/{kv-6tf8tr4v.js → command-6tf8tr4v.js} +2 -2
- package/dist/chunks/{kv-6abnk40k.js → command-6z5bwd8g.js} +9 -9
- package/dist/chunks/{kv-711hfp6y.js → command-711hfp6y.js} +2 -2
- package/dist/chunks/{kv-wh6ksyj4.js → command-73azkrsd.js} +12 -12
- package/dist/chunks/{kv-jdszapxk.js → command-77tfyndb.js} +9 -9
- package/dist/chunks/{kv-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-cf4t2kv8.js → command-7k848sc6.js} +26 -26
- package/dist/chunks/{kv-rr97n57r.js → command-7nbw4m6q.js} +15 -15
- package/dist/chunks/{kv-c2pdtwhf.js → command-7rsx16tt.js} +8 -8
- package/dist/chunks/{kv-waa9wdep.js → command-7w3s9kd0.js} +6 -6
- package/dist/chunks/{kv-0c65v11p.js → command-7ym5twnq.js} +41 -41
- package/dist/chunks/{kv-5hwm4egr.js → command-84gdxzwd.js} +8 -8
- package/dist/chunks/{kv-6z7yq735.js → command-854ca1e8.js} +24 -24
- package/dist/chunks/{kv-f9x6rp1j.js → command-86s3977f.js} +1 -1
- package/dist/chunks/{kv-9rjp7yvj.js → command-8asq1gjq.js} +31 -31
- package/dist/chunks/{kv-rszjw5nd.js → command-8f30jcen.js} +17 -17
- package/dist/chunks/{kv-3gnxtrwc.js → command-8h5q56ar.js} +7 -7
- package/dist/chunks/{kv-8npyp30c.js → command-8npyp30c.js} +1 -1
- package/dist/chunks/{kv-nyhhhmd8.js → command-8zpj8ga2.js} +3 -3
- package/dist/chunks/{kv-93a8yfjt.js → command-93a8yfjt.js} +2 -2
- package/dist/chunks/{kv-483apw73.js → command-943mky1d.js} +10 -10
- package/dist/chunks/{kv-rvn46zq7.js → command-9qj8fy7h.js} +9 -9
- package/dist/chunks/{kv-9qm9egsn.js → command-9qm9egsn.js} +2 -2
- package/dist/chunks/command-9sh4wc5j.js +18 -0
- package/dist/chunks/{kv-ba79cv5k.js → command-9x7bsm9r.js} +83 -83
- package/dist/chunks/{kv-rn7fzfzb.js → command-9ym4a5yt.js} +15 -15
- package/dist/chunks/{kv-284xm0g3.js → command-a6ff0ad6.js} +11 -11
- package/dist/chunks/{kv-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-wsfy2223.js → command-ag4rn41e.js} +4 -4
- package/dist/chunks/{kv-mw36zcxb.js → command-ajeyjrs8.js} +6 -6
- package/dist/chunks/{kv-ajtjthsy.js → command-ajtjthsy.js} +2 -2
- package/dist/chunks/{kv-sdrecbr4.js → command-avf2gxwn.js} +27 -27
- package/dist/chunks/{kv-9p05ydt5.js → command-b21g3jx5.js} +11 -11
- package/dist/chunks/{kv-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-a3mv2pdz.js → command-b89m47td.js} +76 -76
- package/dist/chunks/{kv-b9wsbatv.js → command-b9wsbatv.js} +1 -1
- package/dist/chunks/{kv-n4qddg0w.js → command-bc8zabkg.js} +8 -8
- package/dist/chunks/{kv-tn0mb6rm.js → command-bp4zbqtd.js} +5 -5
- package/dist/chunks/{kv-ssbg0cn7.js → command-bs2z2x57.js} +35 -35
- package/dist/chunks/{kv-aw8agfgj.js → command-c28brx2k.js} +7 -7
- package/dist/chunks/{kv-ztwbsy28.js → command-c80ydkjz.js} +46 -46
- package/dist/chunks/{kv-v9m13ysc.js → command-cjy05afp.js} +24 -24
- package/dist/chunks/command-csvvt798.js +22 -0
- package/dist/chunks/{kv-62pfnrxw.js → command-cxnm9dwg.js} +13 -13
- package/dist/chunks/{kv-jtgs360h.js → command-cy3cnjq8.js} +4 -4
- package/dist/chunks/{kv-z0r88r3d.js → command-d674kx35.js} +11 -11
- package/dist/chunks/{kv-d72308c8.js → command-d72308c8.js} +2 -2
- package/dist/chunks/{kv-y8d1ay0e.js → command-df9bnbjn.js} +9 -9
- package/dist/chunks/{kv-djtdz80w.js → command-djtdz80w.js} +1 -1
- package/dist/chunks/{kv-wb29ggtc.js → command-dqwszdkc.js} +5 -5
- package/dist/chunks/{kv-wywtm3b4.js → command-drn755cb.js} +23 -23
- package/dist/chunks/{kv-mpsa3nes.js → command-dv0xdbpz.js} +12 -12
- package/dist/chunks/{kv-y8gp91n4.js → command-dxvz0qx6.js} +13 -13
- package/dist/chunks/{kv-yktzjgkc.js → command-e0nkwt9z.js} +4 -4
- package/dist/chunks/{kv-7nxyxket.js → command-e5b0qn1c.js} +1 -1
- package/dist/chunks/{kv-fngmbr2j.js → command-e5rv1qf4.js} +15 -15
- package/dist/chunks/{kv-pk93fgsn.js → command-e7xh6vke.js} +7 -7
- package/dist/chunks/{kv-1j6eeha2.js → command-ehkcz9nm.js} +28 -28
- package/dist/chunks/{kv-327n2tt7.js → command-ekmzxrqe.js} +8 -8
- package/dist/chunks/{kv-8s5g27jy.js → command-ex99dnp9.js} +8 -8
- package/dist/chunks/{kv-ctydmyak.js → command-eynqnfnw.js} +38 -38
- package/dist/chunks/{kv-ez5b8bq3.js → command-ez5b8bq3.js} +1 -1
- package/dist/chunks/{kv-rbss7vdr.js → command-f18yxx57.js} +6 -6
- package/dist/chunks/{kv-pzhf940q.js → command-f1kgb3zy.js} +17 -17
- package/dist/chunks/command-f4j0pa50.js +4 -0
- package/dist/chunks/{kv-vdex1qw9.js → command-f7pzrnm7.js} +6 -6
- package/dist/chunks/{kv-dyrrjrjh.js → command-fbfj6zdn.js} +4 -4
- package/dist/chunks/{kv-hsgbf354.js → command-fe9wffpa.js} +25 -25
- package/dist/chunks/{kv-grsggjxz.js → command-ff1sw35j.js} +29 -29
- package/dist/chunks/{kv-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-fxypknc8.js → command-fxypknc8.js} +1 -1
- package/dist/chunks/{kv-986p65m9.js → command-g41n1fn3.js} +5 -5
- package/dist/chunks/{kv-zqg3qsz2.js → command-g7csxrs7.js} +4 -4
- package/dist/chunks/{kv-t445f1bj.js → command-g8p4v1rh.js} +10 -10
- package/dist/chunks/{kv-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-11tw25g0.js → command-gzd7t3bg.js} +4 -4
- package/dist/chunks/{kv-g14v1841.js → command-gzzg4n28.js} +44 -44
- package/dist/chunks/{kv-cvwaz07y.js → command-h0v6k4wq.js} +19 -19
- package/dist/chunks/{kv-hj3nn2ka.js → command-h2st8tcp.js} +20 -20
- package/dist/chunks/{kv-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-0c2smd8y.js → command-ha4v9y42.js} +14 -14
- package/dist/chunks/{kv-y9deds22.js → command-haxwcv5r.js} +10 -10
- package/dist/chunks/{kv-gva7hxj4.js → command-hb55mknr.js} +52 -52
- package/dist/chunks/{kv-heyhwy2w.js → command-heyhwy2w.js} +1 -1
- package/dist/chunks/{kv-amc59nhp.js → command-hjm0k3fp.js} +2 -2
- package/dist/chunks/{kv-41mncz27.js → command-hjrjbgez.js} +5 -5
- package/dist/chunks/{kv-hrvm11jt.js → command-hrvm11jt.js} +3 -3
- package/dist/chunks/{kv-cyae2b53.js → command-hv5tmyxa.js} +20 -20
- package/dist/chunks/{kv-3jn85j34.js → command-hzecryb5.js} +18 -18
- package/dist/chunks/{kv-e6hd9jay.js → command-j15mfg1p.js} +6 -6
- package/dist/chunks/{kv-a04vk3pp.js → command-j57dr7w8.js} +24 -24
- package/dist/chunks/{kv-bct739vz.js → command-j83byb14.js} +4 -4
- package/dist/chunks/{kv-5kceqzn1.js → command-jc31v14r.js} +9 -9
- package/dist/chunks/{kv-avcz7j5r.js → command-jmkbp1h5.js} +9 -9
- package/dist/chunks/{kv-j04nvffp.js → command-jn88vsgf.js} +36 -36
- package/dist/chunks/{kv-wtmp9133.js → command-jnbaqc7b.js} +19 -19
- package/dist/chunks/{kv-rf1xepha.js → command-js91r231.js} +20 -20
- package/dist/chunks/{kv-jnv71sbj.js → command-jvh9gk2c.js} +21 -21
- package/dist/chunks/{kv-jwcy2c2z.js → command-jwcy2c2z.js} +1 -1
- package/dist/chunks/{kv-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
- package/dist/chunks/{kv-9dcr27t6.js → command-k5kpsmwm.js} +20 -20
- package/dist/chunks/{kv-v5dkyp31.js → command-k8962brh.js} +7 -7
- package/dist/chunks/{kv-0rag4e4f.js → command-k8feg6vv.js} +4 -4
- package/dist/chunks/{kv-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-k9jet765.js → command-kj8q7mtc.js} +24 -24
- package/dist/chunks/{kv-hw4pv20g.js → command-kvsjn1dr.js} +2 -2
- package/dist/chunks/{kv-cgxfzgsr.js → command-kwqsq9eb.js} +1 -1
- package/dist/chunks/{kv-rvhss2m2.js → command-kx2gvdct.js} +4 -4
- package/dist/chunks/{kv-y5j2xpyk.js → command-m1annk93.js} +11 -11
- package/dist/chunks/{kv-0763wtqz.js → command-m28de2s3.js} +139 -139
- package/dist/chunks/{kv-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-v8gy3pjr.js → command-mcxg6pmm.js} +1 -1
- package/dist/chunks/{kv-51dky10w.js → command-md316dae.js} +24 -24
- package/dist/chunks/{kv-3rps85z5.js → command-mh85gtv1.js} +3 -3
- package/dist/chunks/{kv-mvfsc1pv.js → command-mhkvc446.js} +3 -3
- package/dist/chunks/{kv-fw8cvjkv.js → command-mhsg1yty.js} +10 -10
- package/dist/chunks/{kv-6e958v7x.js → command-mtcjf44p.js} +4 -4
- package/dist/chunks/{kv-g385kr8a.js → command-mv1gp3nd.js} +33 -33
- package/dist/chunks/{kv-2xwcamwv.js → command-mw9mt08r.js} +25 -25
- package/dist/chunks/{kv-5w5f5h43.js → command-mxppkm1b.js} +29 -29
- package/dist/chunks/{kv-m01f3ztw.js → command-mz1rhhtj.js} +10 -10
- package/dist/chunks/{kv-r3y5s33r.js → command-mznxs8d6.js} +36 -36
- package/dist/chunks/{kv-2kmdnfsa.js → command-natwdt6v.js} +32 -32
- package/dist/chunks/{kv-kg9yxd3j.js → command-nd78q6e5.js} +14 -14
- package/dist/chunks/{kv-dec85aak.js → command-njfhyprf.js} +28 -28
- package/dist/chunks/{kv-nsdz1sxb.js → command-nkpkrkfc.js} +51 -51
- package/dist/chunks/{kv-5ag54q36.js → command-npkajqde.js} +26 -26
- package/dist/chunks/{kv-bvtk4tvq.js → command-nxbchyd1.js} +15 -15
- package/dist/chunks/{kv-8y3p0gjc.js → command-nxhj2y70.js} +4 -4
- package/dist/chunks/{kv-e0vtkr8g.js → command-p4b86tx8.js} +6 -6
- package/dist/chunks/{kv-hsm8v5na.js → command-p5d8w6vs.js} +31 -31
- package/dist/chunks/command-p83dzjp9.js +243 -0
- package/dist/chunks/{kv-0m99z42p.js → command-p8vd7n39.js} +15 -15
- package/dist/chunks/{kv-g12117d9.js → command-pcednt3p.js} +42 -42
- package/dist/chunks/{kv-9j3fyze8.js → command-pdae5shs.js} +4 -4
- package/dist/chunks/{kv-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{kv-j36q68jf.js → command-pma9t47h.js} +21 -21
- package/dist/chunks/{kv-p6nrge75.js → command-ppktrk37.js} +30 -30
- package/dist/chunks/{kv-4zamrek1.js → command-q8rpcfw0.js} +8 -8
- package/dist/chunks/{kv-set6m918.js → command-qav3zztn.js} +20 -20
- package/dist/chunks/{kv-we11dx6z.js → command-qfnycs03.js} +14 -14
- package/dist/chunks/{kv-0jwsre1p.js → command-qgn6gcr1.js} +5 -5
- package/dist/chunks/{kv-1edtvy0k.js → command-qhdhv0w2.js} +15 -15
- package/dist/chunks/{kv-pcdwj75n.js → command-qhghjm17.js} +279 -279
- package/dist/chunks/{kv-nde3t6pb.js → command-qr1qsn5r.js} +13 -13
- package/dist/chunks/{kv-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
- package/dist/chunks/{kv-1ydgq2r4.js → command-r9hy8h05.js} +5 -5
- package/dist/chunks/{kv-94kekqj1.js → command-rgks3f05.js} +8 -8
- package/dist/chunks/{kv-apjnhj61.js → command-rmy3e5eg.js} +3 -3
- package/dist/chunks/{kv-fpdzc529.js → command-rx0dsajq.js} +9 -9
- package/dist/chunks/{kv-2xgyk5yr.js → command-rxsvjy6j.js} +27 -27
- package/dist/chunks/{kv-3vzcwd0g.js → command-rzhgj3wg.js} +18 -18
- package/dist/chunks/{kv-tkd6bwd8.js → command-s1zas8dv.js} +11 -11
- package/dist/chunks/{kv-qbyj8qxd.js → command-s3eqpch7.js} +1 -1
- package/dist/chunks/{kv-rsdvpskb.js → command-s41xc0fx.js} +6 -6
- package/dist/chunks/{kv-zkbmddfw.js → command-s4ye7va7.js} +15 -15
- package/dist/chunks/{kv-c9pb9e7v.js → command-s631mnhv.js} +24 -24
- package/dist/chunks/{kv-q334rcf3.js → command-s64tx33c.js} +20 -20
- package/dist/chunks/{kv-sba4qhjf.js → command-sba4qhjf.js} +1 -1
- package/dist/chunks/{kv-bgt6msk1.js → command-t7rtampj.js} +2 -2
- package/dist/chunks/{kv-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-r5s1f9ds.js → command-thfv75je.js} +5 -5
- package/dist/chunks/{kv-tjykrgmx.js → command-tjykrgmx.js} +1 -1
- package/dist/chunks/{kv-8fjpabk1.js → command-tnsej14z.js} +24 -24
- package/dist/chunks/{kv-7m27rx9w.js → command-tr5yhgb5.js} +39 -39
- package/dist/chunks/{kv-6ycxekxv.js → command-txrprq48.js} +9 -9
- package/dist/chunks/{kv-6h1zm1av.js → command-ty47vh7p.js} +9 -9
- package/dist/chunks/{kv-4r9k75he.js → command-tz2h76xm.js} +8 -8
- package/dist/chunks/{kv-ygze9xf4.js → command-v63xgfyn.js} +3 -3
- package/dist/chunks/{kv-hbtmpj90.js → command-vbr4w0aw.js} +19 -19
- package/dist/chunks/{kv-4gdhbjcs.js → command-vedqaezr.js} +4 -4
- package/dist/chunks/{kv-4a9hv4gp.js → command-vjejhr4b.js} +32 -32
- package/dist/chunks/{kv-kawst5yz.js → command-vr2z3agv.js} +62 -62
- package/dist/chunks/{kv-91fwk46n.js → command-vvhr8ap4.js} +11 -11
- package/dist/chunks/{kv-ynvk86gk.js → command-vw50vsx1.js} +14 -14
- package/dist/chunks/{kv-4qjr8vj0.js → command-w0117ta3.js} +24 -24
- package/dist/chunks/{kv-xdvenhre.js → command-w16pqxss.js} +22 -22
- package/dist/chunks/{kv-54dwvch8.js → command-w21nff9d.js} +28 -28
- package/dist/chunks/{kv-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{kv-pkpgy38q.js → command-wgxn7ww3.js} +4 -4
- package/dist/chunks/{kv-7sc33ysb.js → command-wxgpaprx.js} +10 -10
- package/dist/chunks/{kv-98p2q5zs.js → command-x0pd42vp.js} +15 -15
- package/dist/chunks/{kv-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-0n419b4w.js → command-xnz7e9v2.js} +26 -26
- package/dist/chunks/{kv-qyewj5s0.js → command-xqgz45ap.js} +11 -11
- package/dist/chunks/{kv-z2wsashg.js → command-xqkd9jrt.js} +13 -13
- package/dist/chunks/{kv-7ng7exzm.js → command-xqsy6kp0.js} +1 -1
- package/dist/chunks/{kv-sp5wnj6d.js → command-y092mk2a.js} +6 -6
- package/dist/chunks/{kv-ghvapxam.js → command-y0kje1kq.js} +3 -3
- package/dist/chunks/{kv-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-de6hrhrf.js → command-y3kam97a.js} +35 -35
- package/dist/chunks/{kv-qvs4vh02.js → command-y5x79gk7.js} +16 -16
- package/dist/chunks/{kv-yfbd16n1.js → command-yfbd16n1.js} +2 -2
- package/dist/chunks/{kv-3gng8nv9.js → command-yzsm82be.js} +22 -22
- package/dist/chunks/{kv-z1k01bn4.js → command-z1k01bn4.js} +2 -2
- package/dist/chunks/{kv-df3bq64p.js → command-z2bjgnfj.js} +18 -18
- package/dist/chunks/{kv-4rdnd30x.js → command-zk6hkb9n.js} +37 -37
- package/dist/chunks/{kv-ykczf8eq.js → command-zk8c4w5t.js} +5 -5
- package/dist/chunks/{kv-tr6k467p.js → command-zmnepbn3.js} +7 -7
- package/dist/chunks/{kv-kxnt8qcg.js → command-zn2pq4p8.js} +5 -5
- package/dist/chunks/{kv-j0msafmp.js → command-zpgxjj6y.js} +16 -16
- package/dist/chunks/{kv-7vqq5csv.js → command-zqj49qgm.js} +32 -32
- package/dist/chunks/{kv-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-fn7btw4k.js → command-zzjwypeh.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +112 -112
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +74 -74
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +3 -3
- 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 +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +1 -1
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +128 -128
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +82 -82
- 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 +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- 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 +4 -4
- 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 +2 -2
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/kv-e3ze3pba.js +0 -4
- package/dist/chunks/kv-jqh9b0xq.js +0 -18
- package/dist/chunks/kv-pba9ahe1.js +0 -22
- package/dist/chunks/kv-pbpghnj4.js +0 -243
- /package/dist/chunks/{kv-0fabt78z.js → command-0fabt78z.js} +0 -0
- /package/dist/chunks/{kv-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t738kvx.js → command-3t738kvx.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-41nvscxy.js → command-41nvscxy.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-982e01ww.js → command-982e01ww.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mntxs535.js → command-mntxs535.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p8qxwesx.js → command-p8qxwesx.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-se0s1eqw.js → command-se0s1eqw.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{kv-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-55yvdk0c.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-pdae5shs.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-vvhr8ap4.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-vbr4w0aw.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID18,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-4z6b0fg6.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID18.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -218,7 +218,7 @@ var OpenAIPlugin2 = define({
|
|
|
218
218
|
evt.baseURL = codexBaseURL;
|
|
219
219
|
evt.headers.originator = "opencode";
|
|
220
220
|
evt.headers["session-id"] = evt.sessionID;
|
|
221
|
-
}), { providerID:
|
|
221
|
+
}), { providerID: ID18.openai });
|
|
222
222
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
223
223
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
})
|
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./command-4jcgzkct.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./command-4y9deqpk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service53
|
|
14
|
+
} from "./command-e5rv1qf4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service50,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-cxnm9dwg.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service13
|
|
24
|
+
} from "./command-zpgxjj6y.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service42
|
|
27
|
+
} from "./command-nkpkrkfc.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
|
+
Output: () => Output4,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin36,
|
|
43
|
+
name: () => name6,
|
|
44
|
+
toModelContent: () => toModelContent2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name6 = "patch";
|
|
90
|
+
var Input6 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output4 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent2 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin36 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service55;
|
|
113
|
+
const mutation = yield* Service13;
|
|
114
|
+
const fileMutation = yield* Service50;
|
|
115
|
+
const formatter = yield* Service53;
|
|
116
|
+
const location = yield* Service68;
|
|
117
|
+
const permission = yield* Service42;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name6,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input6,
|
|
123
|
+
output: Output4,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -273,7 +273,7 @@ var Plugin12 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent2(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name6, Input6, Applied2, Output4, toModelContent2, Plugin36, exports_patch };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-pdae5shs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service68,
|
|
7
|
+
node71
|
|
8
|
+
} from "./command-4jcgzkct.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-mntxs535.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service44,
|
|
14
|
+
node46
|
|
15
|
+
} from "./command-ha4v9y42.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service44;
|
|
41
|
+
const location = yield* Service68;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node83, FSUtil.node,
|
|
101
|
+
deps: [node83, FSUtil.node, node71, node46]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./command-cjy05afp.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./command-s1zas8dv.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-nxhj2y70.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./command-tr5yhgb5.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin20
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin20 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service57;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin17 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID6.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID6.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin20, exports_agent2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-pdae5shs.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode-ai/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode-ai/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer23 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -89,7 +89,7 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
89
89
|
});
|
|
90
90
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID15.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node77 = makeLocationNode({ service: Service74, layer: layer23, deps: [node83] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID15, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer23, node77, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-mh85gtv1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-pdae5shs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service33
|
|
9
|
+
} from "./command-y092mk2a.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service49
|
|
16
|
+
} from "./command-yzsm82be.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-c28brx2k.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service33;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service49;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service33;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service49;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info19
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info19 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info19, exports_command4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make13(tools) {
|
|
32
32
|
const instructions = [];
|
|
33
33
|
if (tools.includes("shell")) {
|
|
34
34
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.");
|
|
@@ -43,4 +43,4 @@ function make16(tools) {
|
|
|
43
43
|
`));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { make13, exports_system_prompt2 };
|