@opencode-ai/core 0.0.0-dev-19182 → 0.0.0-dev-19184
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 +77 -77
- 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/{location-c77qvs9x.js → job-02bxyhdh.js} +11 -11
- package/dist/chunks/{location-7svt03y5.js → job-09s42jda.js} +12 -12
- package/dist/chunks/{location-0e0xafbb.js → job-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-099yzkay.js → job-0f1c069v.js} +11 -11
- package/dist/chunks/{location-0k2w8cze.js → job-0k72pry1.js} +4 -4
- package/dist/chunks/{location-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-gd1sbhjk.js → job-0q6xrvgj.js} +31 -31
- package/dist/chunks/{location-0s9ayhjt.js → job-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-fd8bdhp3.js → job-0z9wyxgm.js} +15 -15
- package/dist/chunks/{location-1ct4r87x.js → job-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-ktkbhg1n.js → job-1hzxw0tj.js} +77 -77
- package/dist/chunks/{location-tv6ed4t8.js → job-1twky2jm.js} +16 -16
- package/dist/chunks/{location-0xf4rbjv.js → job-2064z0jh.js} +15 -15
- package/dist/chunks/{location-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{location-mhz8fptg.js → job-22et5zeg.js} +35 -35
- package/dist/chunks/{location-22j3pzs9.js → job-27ccdvw2.js} +7 -7
- package/dist/chunks/{location-29x78va6.js → job-29x78va6.js} +2 -2
- package/dist/chunks/{location-d47nst9j.js → job-2a1cv4k1.js} +15 -15
- package/dist/chunks/{location-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-r33ff4dw.js → job-2d57kztd.js} +5 -5
- package/dist/chunks/{location-ms52v0md.js → job-2db6y7ze.js} +6 -13
- package/dist/chunks/{location-qf24q2gc.js → job-2dhcxaw1.js} +22 -22
- package/dist/chunks/{location-2ht70gj7.js → job-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-madcmxva.js → job-2zryskc1.js} +4 -4
- package/dist/chunks/{location-0qnr3fek.js → job-3a95v3xn.js} +13 -13
- package/dist/chunks/{location-r6mjjjfn.js → job-3dbe24dq.js} +12 -12
- package/dist/chunks/{location-2drkfcgp.js → job-3eskwthn.js} +39 -39
- package/dist/chunks/{location-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-qypgck77.js → job-3gwyd720.js} +35 -35
- package/dist/chunks/{location-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-hx11aksh.js → job-3kwfatbg.js} +9 -9
- package/dist/chunks/{location-3qzbfqsy.js → job-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-wzv8aag1.js → job-3vv4p4vn.js} +11 -11
- package/dist/chunks/{location-3g5pjnhh.js → job-3xkqgm7n.js} +28 -28
- package/dist/chunks/{location-ghsrwkmd.js → job-3yjpcw2x.js} +13 -13
- package/dist/chunks/{location-454k5vzh.js → job-454k5vzh.js} +1 -1
- package/dist/chunks/{location-ghajtkjr.js → job-4dce09ht.js} +30 -30
- package/dist/chunks/{location-y04krdpn.js → job-4dd5a8sw.js} +15 -15
- package/dist/chunks/{location-f9anq697.js → job-4dxz6g2t.js} +14 -14
- package/dist/chunks/{location-w1s907pf.js → job-4n8qc73g.js} +2 -2
- package/dist/chunks/{location-3dh86x81.js → job-4nrv6rf6.js} +19 -19
- package/dist/chunks/{location-4r2nyarf.js → job-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-me42z315.js → job-4tj0308d.js} +33 -33
- package/dist/chunks/{location-ph6d59n1.js → job-4vcv65ph.js} +21 -21
- package/dist/chunks/{location-4x0nmcjx.js → job-4z9ne5jz.js} +9 -9
- package/dist/chunks/{location-nj2y53n9.js → job-5429z1bt.js} +11 -11
- package/dist/chunks/{location-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{location-5fmxt4p5.js → job-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-5jvc5tg2.js → job-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-sx35gfrx.js → job-5q3ervc3.js} +15 -15
- package/dist/chunks/{location-4henhw4d.js → job-5thnz3gh.js} +9 -9
- package/dist/chunks/{location-yfnsbj1e.js → job-5tvenq5z.js} +13 -13
- package/dist/chunks/{location-16s6chgv.js → job-609h7r9w.js} +7 -7
- package/dist/chunks/{location-ek2fqqy0.js → job-65zrdwzm.js} +18 -18
- package/dist/chunks/{location-dnwnzy9r.js → job-66mvy4rh.js} +15 -15
- package/dist/chunks/{location-6abnk40k.js → job-6abnk40k.js} +2 -2
- package/dist/chunks/{location-thpc82ks.js → job-6gvvk2ba.js} +6 -6
- package/dist/chunks/{location-4zwh31cg.js → job-6h1jvax1.js} +31 -31
- package/dist/chunks/{location-2402vzrj.js → job-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-xj1dwba3.js → job-6m5v218x.js} +24 -24
- package/dist/chunks/{location-bve5bdy4.js → job-6qb1jm5z.js} +6 -6
- package/dist/chunks/{location-nphz3sty.js → job-6xsmrfqj.js} +11 -11
- package/dist/chunks/{location-tenhjnm9.js → job-6y7j49bw.js} +15 -15
- package/dist/chunks/{location-711hfp6y.js → job-711hfp6y.js} +2 -2
- package/dist/chunks/{location-72nftnjy.js → job-72nftnjy.js} +2 -2
- package/dist/chunks/{location-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-7hqpjwy9.js → job-7db7x6xf.js} +18 -18
- package/dist/chunks/{location-wvgh3gdf.js → job-7dz4r7mk.js} +8 -8
- package/dist/chunks/{location-7grmgsg7.js → job-7grmgsg7.js} +1 -1
- package/dist/chunks/{location-kg2v5vbd.js → job-7m12h8nb.js} +8 -8
- package/dist/chunks/{location-yhe302t1.js → job-7p7j7gh5.js} +56 -56
- package/dist/chunks/{location-06da17n0.js → job-7sp2pcg7.js} +10 -10
- package/dist/chunks/job-7zk4hah4.js +4 -0
- package/dist/chunks/{location-jtxymww5.js → job-87zxc0hn.js} +9 -9
- package/dist/chunks/{location-97y5dmbw.js → job-8pfq4m20.js} +14 -14
- package/dist/chunks/{location-eqtasyqd.js → job-8pm7xw7g.js} +15 -15
- package/dist/chunks/{location-8rzkd790.js → job-8ykh7x82.js} +16 -16
- package/dist/chunks/{location-1bk5txm0.js → job-980sga6b.js} +23 -23
- package/dist/chunks/{location-8491r7tk.js → job-9hsfhq9z.js} +23 -23
- package/dist/chunks/{location-bwt96rmt.js → job-9k8ga460.js} +1 -1
- package/dist/chunks/{location-9qm9egsn.js → job-9qm9egsn.js} +2 -2
- package/dist/chunks/{location-z3jc06sm.js → job-9v7rjn4h.js} +5 -5
- package/dist/chunks/{location-mh0wjfxe.js → job-a332ga15.js} +20 -20
- package/dist/chunks/{location-cezbqba5.js → job-a9qpe8qh.js} +6 -6
- package/dist/chunks/{location-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{location-apnx2qk7.js → job-afs33nb8.js} +26 -26
- package/dist/chunks/{location-639gdf4d.js → job-agt1qkvz.js} +9 -9
- package/dist/chunks/{location-4ex15pvw.js → job-ah84y693.js} +1 -1
- package/dist/chunks/{location-ajtjthsy.js → job-ajtjthsy.js} +2 -2
- package/dist/chunks/{location-c8z193w6.js → job-aph3fsn5.js} +25 -25
- package/dist/chunks/{location-75qt4cx3.js → job-b5wgn8bf.js} +33 -33
- package/dist/chunks/{location-86je1vae.js → job-b6f7s0g4.js} +19 -19
- package/dist/chunks/{location-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-thcxaxg6.js → job-b75ft6nf.js} +4 -4
- package/dist/chunks/{location-b9wsbatv.js → job-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-ztyxqxtg.js → job-bg4dxgdr.js} +6 -6
- package/dist/chunks/{location-w1bqf0dm.js → job-bkmt26be.js} +20 -20
- package/dist/chunks/{location-yj4j1qeh.js → job-bntmfpb4.js} +20 -20
- package/dist/chunks/{location-rae26gbb.js → job-bw6y50md.js} +8 -8
- package/dist/chunks/{location-fdhdqrxd.js → job-c87dbwev.js} +4 -4
- package/dist/chunks/{location-5ktyes22.js → job-ca8ntzdc.js} +17 -17
- package/dist/chunks/{location-m6zh5m6k.js → job-cfb4ez1f.js} +11 -11
- package/dist/chunks/job-cfn9rvpv.js +18 -0
- package/dist/chunks/{location-kpnhzsay.js → job-cm8d67t9.js} +11 -11
- package/dist/chunks/{location-sa86hhh4.js → job-csd1199e.js} +37 -37
- package/dist/chunks/{location-ag4rn41e.js → job-cxmh4q5b.js} +4 -4
- package/dist/chunks/{location-re9ss62v.js → job-cy44mvmp.js} +4 -4
- package/dist/chunks/{location-xk03nspc.js → job-cyaaer0t.js} +20 -20
- package/dist/chunks/{location-d72308c8.js → job-d72308c8.js} +2 -2
- package/dist/chunks/{location-v5x978b2.js → job-d890h9sp.js} +8 -8
- package/dist/chunks/{location-j5208yae.js → job-dg5bcj4q.js} +6 -6
- package/dist/chunks/{location-gq0p26s4.js → job-djybk775.js} +1 -1
- package/dist/chunks/{location-4dqndjrv.js → job-dz7wbq1s.js} +27 -27
- package/dist/chunks/{location-dyg53c9h.js → job-e0tgremq.js} +23 -23
- package/dist/chunks/{location-9te76ggx.js → job-e1b3d454.js} +20 -20
- package/dist/chunks/{location-1ayrcz9m.js → job-e9egqfbd.js} +24 -24
- package/dist/chunks/{location-0y9gq4bp.js → job-ebsvjtbn.js} +11 -11
- package/dist/chunks/{location-9y5wqfte.js → job-eg4pr325.js} +10 -10
- package/dist/chunks/{location-ew2tj2vj.js → job-ejqghcay.js} +3 -3
- package/dist/chunks/{location-j7a4wd22.js → job-evfdbawk.js} +5 -5
- package/dist/chunks/{location-z05r840e.js → job-ey8rdeqq.js} +22 -22
- package/dist/chunks/{location-mswj03b3.js → job-f0vdmdj0.js} +20 -20
- package/dist/chunks/{location-fy8q56jn.js → job-f4wpndmk.js} +3 -3
- package/dist/chunks/{location-hfwwmt6p.js → job-f575bfnr.js} +46 -46
- package/dist/chunks/{location-830tx1xt.js → job-f5jghqe5.js} +11 -11
- package/dist/chunks/{location-zdj4gqfz.js → job-f6bxf1y3.js} +22 -22
- package/dist/chunks/{location-5wca7bce.js → job-f7fp4m8t.js} +4 -4
- package/dist/chunks/{location-s97jcm3f.js → job-fjtpgy32.js} +11 -11
- package/dist/chunks/{location-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-fxypknc8.js → job-fxypknc8.js} +1 -1
- package/dist/chunks/job-fy8tftem.js +247 -0
- package/dist/chunks/{location-637qq8n2.js → job-fz1pdqz4.js} +9 -9
- package/dist/chunks/{location-bmr95yyq.js → job-g0t53x8k.js} +3 -3
- package/dist/chunks/{location-69wcn9zj.js → job-g7csxrs7.js} +4 -4
- package/dist/chunks/{location-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-h2r6zf7a.js → job-gpvbfbv1.js} +15 -15
- package/dist/chunks/{location-zxkvh7j1.js → job-gw6z9r46.js} +17 -17
- package/dist/chunks/{location-38ccjcnc.js → job-gxw5qzxr.js} +11 -11
- package/dist/chunks/{location-rvfzszgw.js → job-gzhrch6w.js} +20 -20
- package/dist/chunks/{location-1hs7c9vy.js → job-h14evann.js} +4 -4
- package/dist/chunks/{location-k9rndcxy.js → job-h2f3z6kt.js} +9 -9
- package/dist/chunks/{location-dqpp7xtx.js → job-h5ekgej8.js} +24 -24
- package/dist/chunks/{location-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-8kfmb256.js → job-h78209bt.js} +37 -37
- package/dist/chunks/{location-heyhwy2w.js → job-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-1358r5b6.js → job-hp9tz1t0.js} +17 -17
- package/dist/chunks/{location-hrvm11jt.js → job-hrvm11jt.js} +3 -3
- package/dist/chunks/{location-mrz6efe2.js → job-htjzpxps.js} +10 -10
- package/dist/chunks/{location-jpcaj8m5.js → job-hyh8v8zs.js} +15 -15
- package/dist/chunks/{location-dftw4z4t.js → job-j3s4xfhb.js} +41 -41
- package/dist/chunks/{location-av2t16y3.js → job-j4cdj4qy.js} +16 -16
- package/dist/chunks/{location-1dthfd4v.js → job-jbr8yybr.js} +22 -22
- package/dist/chunks/{location-g92whbrj.js → job-je2a8yvd.js} +11 -11
- package/dist/chunks/{location-c3w06mmk.js → job-jn9a8690.js} +29 -29
- package/dist/chunks/{location-vke5y7t4.js → job-jnphjmd7.js} +7 -7
- package/dist/chunks/{location-a3pcjqte.js → job-jqg8ax99.js} +28 -28
- package/dist/chunks/{location-tvtwyg9m.js → job-jrpeh8d2.js} +4 -4
- package/dist/chunks/{location-qz1nk4mn.js → job-js768sr4.js} +7 -7
- package/dist/chunks/{location-2zwygsj0.js → job-js8ve4g5.js} +6 -6
- package/dist/chunks/{location-ttxh07c1.js → job-jx5vaz62.js} +11 -11
- package/dist/chunks/{location-dkj4qht8.js → job-k0sqxq8y.js} +9 -9
- package/dist/chunks/{location-p0waw8z6.js → job-k0t36p8t.js} +8 -8
- package/dist/chunks/{location-k4bwy1x5.js → job-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-1nk2mnc0.js → job-k6300pcm.js} +3 -3
- package/dist/chunks/{location-g8d3gcyj.js → job-k8962brh.js} +4 -4
- package/dist/chunks/{location-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{location-kk3rr3qh.js → job-kk3rr3qh.js} +2 -2
- package/dist/chunks/{location-y6apgg1j.js → job-kkm1c4fb.js} +1 -1
- package/dist/chunks/{location-h60nam6t.js → job-knzj16bx.js} +39 -39
- package/dist/chunks/{location-w1s1ra18.js → job-kpe4sfyz.js} +6 -6
- package/dist/chunks/{location-kvsjn1dr.js → job-kvsjn1dr.js} +2 -2
- package/dist/chunks/{location-xwm8he1j.js → job-kwz9fzca.js} +13 -13
- package/dist/chunks/{location-p04155vs.js → job-m61kp2d9.js} +24 -24
- package/dist/chunks/{location-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-b53d63he.js → job-mj72xa1v.js} +50 -50
- package/dist/chunks/{location-682nnvw5.js → job-mqact3bs.js} +40 -40
- package/dist/chunks/{location-yhr218qz.js → job-mtcjf44p.js} +4 -4
- package/dist/chunks/{location-rh86c5k9.js → job-mya7jach.js} +289 -289
- package/dist/chunks/{location-vqvq0533.js → job-n0zzw4by.js} +6 -6
- package/dist/chunks/{location-zdyy6p88.js → job-n1m3pdym.js} +34 -34
- package/dist/chunks/{location-810ayxav.js → job-n541m3ke.js} +6 -6
- package/dist/chunks/{location-06qbn9zd.js → job-n5f15nnr.js} +9 -9
- package/dist/chunks/{location-n3fvsc7x.js → job-n7e39qm9.js} +33 -33
- package/dist/chunks/{location-na3y75gh.js → job-na3y75gh.js} +2 -2
- package/dist/chunks/{location-nrha7cz6.js → job-nbyzd2fq.js} +36 -36
- package/dist/chunks/{location-kgyry3vk.js → job-njjgymf9.js} +15 -15
- package/dist/chunks/{location-xnxd0px6.js → job-p57kafe0.js} +10 -10
- package/dist/chunks/{location-tmxppmmw.js → job-p8yecnf8.js} +47 -47
- package/dist/chunks/{location-m538xkc9.js → job-p9pg2hvv.js} +22 -22
- package/dist/chunks/{location-8wvrh9f5.js → job-pjncx1t8.js} +1 -1
- package/dist/chunks/{location-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{location-77dqx344.js → job-pr20j1nj.js} +23 -23
- package/dist/chunks/{location-jz74dd58.js → job-pvfwsgm1.js} +3 -3
- package/dist/chunks/{location-rxwhsv4j.js → job-pw8dfkn0.js} +11 -11
- package/dist/chunks/{location-th1g352w.js → job-pxmke92c.js} +22 -22
- package/dist/chunks/{location-sjv0717j.js → job-q6xhv6e5.js} +14 -14
- package/dist/chunks/{location-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
- package/dist/chunks/{location-ftbb7tdg.js → job-qhvqyjy9.js} +24 -24
- package/dist/chunks/{location-4tppse3b.js → job-qm8hf8xg.js} +10 -10
- package/dist/chunks/{location-qwnjk9y7.js → job-qqvc5avd.js} +4 -4
- package/dist/chunks/{location-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{location-vrngk91y.js → job-qsftxw63.js} +23 -23
- package/dist/chunks/{location-g3v2a77t.js → job-qz6y97rf.js} +9 -9
- package/dist/chunks/{location-77y10504.js → job-r2tnwzf5.js} +7 -7
- package/dist/chunks/{location-25thvgnz.js → job-r4vzq1gz.js} +41 -41
- package/dist/chunks/{location-7yh4e7ss.js → job-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-r8dhm0tv.js → job-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-r9hy8h05.js → job-r9hy8h05.js} +2 -2
- package/dist/chunks/{location-jd00bmkr.js → job-rd5jvw8m.js} +6 -6
- package/dist/chunks/{location-nbwyzmjh.js → job-rmj7f2b7.js} +20 -20
- package/dist/chunks/{location-ew6k544p.js → job-rms9ppq5.js} +8 -8
- package/dist/chunks/{location-305k387t.js → job-rs7d7ay9.js} +1 -1
- package/dist/chunks/{location-g6z4jyvm.js → job-s13jwd54.js} +27 -27
- package/dist/chunks/{location-sba4qhjf.js → job-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-4222c8h2.js → job-sbbdavyt.js} +5 -5
- package/dist/chunks/{location-0v2z2dt2.js → job-sdx8r7mr.js} +6 -6
- package/dist/chunks/{location-gpkgrk3z.js → job-sfgd47vq.js} +2 -2
- package/dist/chunks/{location-eexhp90h.js → job-sp18p0y7.js} +31 -31
- package/dist/chunks/{location-h9gn2f9p.js → job-srsjt1nn.js} +3 -3
- package/dist/chunks/{location-79x7mafq.js → job-stbyx3mv.js} +18 -18
- package/dist/chunks/{location-g376t9v5.js → job-t1thndgd.js} +83 -83
- package/dist/chunks/{location-kt2yjrhz.js → job-t656rjz2.js} +6 -6
- package/dist/chunks/{location-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-je9hks3h.js → job-thfv75je.js} +5 -5
- package/dist/chunks/{location-tjykrgmx.js → job-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-56b1m769.js → job-tmgm3j45.js} +5 -5
- package/dist/chunks/{location-wb29ggtc.js → job-tppvcy65.js} +9 -9
- package/dist/chunks/{location-bp916t1p.js → job-ttbkqz8v.js} +4 -4
- package/dist/chunks/{location-yw1nvbcs.js → job-ty41k21p.js} +3 -3
- package/dist/chunks/{location-gr827txg.js → job-v4pbsw3g.js} +4 -4
- package/dist/chunks/{location-v6ghzfeb.js → job-v6ghzfeb.js} +5 -5
- package/dist/chunks/{location-6mxvj815.js → job-v6p69a6j.js} +16 -16
- package/dist/chunks/{location-neh68hxw.js → job-v98339m9.js} +5 -5
- package/dist/chunks/{location-djtdz80w.js → job-vep9yay1.js} +4 -4
- package/dist/chunks/{location-0r82rn0f.js → job-vgxv8r92.js} +43 -43
- package/dist/chunks/{location-pmr4s4kc.js → job-vncycja5.js} +4 -4
- package/dist/chunks/{location-fc48qkc5.js → job-vpyax6jy.js} +10 -10
- package/dist/chunks/{location-nm29mynh.js → job-vqfqq7df.js} +24 -24
- package/dist/chunks/{location-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-6hws6qdh.js → job-w4q2nban.js} +10 -10
- package/dist/chunks/{location-q11djy6h.js → job-w51an37d.js} +34 -34
- package/dist/chunks/{location-8n4wb1gp.js → job-w59a6phg.js} +12 -12
- package/dist/chunks/{location-fty3fzgh.js → job-wa9thkz4.js} +16 -16
- package/dist/chunks/{location-henbvbzz.js → job-wd2f12th.js} +10 -10
- package/dist/chunks/{location-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{location-sms1b131.js → job-wwr3ad35.js} +1 -1
- package/dist/chunks/{location-56s0b4tg.js → job-wybz6hrf.js} +9 -9
- package/dist/chunks/{location-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-6mmthzyr.js → job-xf9mnr3x.js} +12 -12
- package/dist/chunks/{location-40myj96f.js → job-xhcaseqn.js} +7 -7
- package/dist/chunks/{location-7vhmdqap.js → job-xhtgrbvc.js} +8 -8
- package/dist/chunks/{location-06nv7jxy.js → job-xsmkv770.js} +2 -2
- package/dist/chunks/{location-24hkfxm1.js → job-xspyb9m3.js} +8 -8
- package/dist/chunks/{location-wksq6qf1.js → job-xt1f22df.js} +22 -22
- package/dist/chunks/{location-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-93a8yfjt.js → job-y2cqme3r.js} +5 -5
- package/dist/chunks/{location-v7n4f447.js → job-y3b1dp8q.js} +16 -16
- package/dist/chunks/{location-prjd7rz0.js → job-y6mxwddf.js} +166 -166
- package/dist/chunks/{location-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{location-p6yzb5ay.js → job-ygkvt82s.js} +4 -4
- package/dist/chunks/{location-d5hq6bb0.js → job-yhaeervb.js} +14 -14
- package/dist/chunks/{location-26n7px8t.js → job-yht60hk8.js} +10 -10
- package/dist/chunks/{location-g21wvy94.js → job-yxt9m8zd.js} +6 -6
- package/dist/chunks/{location-t54a95zk.js → job-yz70yf3b.js} +14 -14
- package/dist/chunks/{location-41mncz27.js → job-yzd93mfj.js} +5 -5
- package/dist/chunks/{location-z1k01bn4.js → job-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-sjtc86f5.js → job-z1pvxdba.js} +23 -23
- package/dist/chunks/{location-g50541fs.js → job-z235z5bk.js} +3 -3
- package/dist/chunks/{location-kdken766.js → job-z36s3nfk.js} +46 -46
- package/dist/chunks/{location-maje4ax4.js → job-z5c620kp.js} +11 -11
- package/dist/chunks/{location-mkvjn4ta.js → job-zvbn7w68.js} +32 -32
- package/dist/chunks/{location-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- 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 +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- 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 +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- 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 +80 -80
- 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 +358 -358
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +92 -92
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- 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 +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- 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 +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +79 -79
- 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 +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +80 -80
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +123 -123
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- 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 +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +120 -120
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +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 +117 -117
- 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 +147 -147
- 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 +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +84 -84
- 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 +206 -206
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +110 -110
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +11 -11
- package/dist/types/plugin/optimize.d.ts +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/location-b5q5y4vk.js +0 -4
- package/dist/chunks/location-sw98rrvn.js +0 -247
- package/dist/chunks/location-ydckrtmx.js +0 -18
- /package/dist/chunks/{location-0fabt78z.js → job-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t738kvx.js → job-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-41nvscxy.js → job-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-982e01ww.js → job-982e01ww.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-j935v87r.js → job-j935v87r.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mntxs535.js → job-mntxs535.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p8qxwesx.js → job-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-se0s1eqw.js → job-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x1b8g1yb.js → job-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → job-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-zbjnn3ac.js → job-zbjnn3ac.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-z235z5bk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-f7fp4m8t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node74
|
|
12
|
+
} from "./job-gw6z9r46.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service34,
|
|
15
|
+
node38
|
|
16
|
+
} from "./job-kpe4sfyz.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-mntxs535.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./job-vep9yay1.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service30
|
|
26
|
+
} from "./job-cxmh4q5b.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-n0zzw4by.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service49,
|
|
32
|
+
node52
|
|
33
|
+
} from "./job-09s42jda.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./job-c87dbwev.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./job-a332ga15.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./job-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service29,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer12,
|
|
50
|
+
node: () => node34,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service29 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service49;
|
|
70
|
+
const instances = yield* Service34;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service69;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service30.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make15({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service29.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node34 = makeGlobalNode({
|
|
132
|
+
service: Service29,
|
|
133
|
+
layer: layer12,
|
|
134
|
+
deps: [node52, node38, node84, node85, node74]
|
|
135
135
|
});
|
|
136
|
-
var noopLayer2 = Layer.succeed(
|
|
136
|
+
var noopLayer2 = Layer.succeed(Service29, Service29.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service28, Service28.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service29, terminal2, layer12, node34, noopLayer2, exports_execution };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./job-ca8ntzdc.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./job-j3s4xfhb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./job-hyh8v8zs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make5
|
|
13
|
+
} from "./job-r5x6zcsm.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode-ai/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin16 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service56;
|
|
37
|
+
const formatter = yield* Service13;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service76;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin17 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make5({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin17 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin16, exports_formatter };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9qm9egsn.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Plugin36
|
|
3
|
+
} from "./job-xhtgrbvc.js";
|
|
4
4
|
import {
|
|
5
5
|
Plugin35
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Plugin36
|
|
9
|
-
} from "./location-dkj4qht8.js";
|
|
6
|
+
} from "./job-pvfwsgm1.js";
|
|
10
7
|
import {
|
|
11
8
|
Plugin34
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./job-k0sqxq8y.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./job-d890h9sp.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/index.ts
|
|
15
15
|
var WebSearchPlugins2 = [
|
|
16
|
-
Plugin37,
|
|
17
|
-
Plugin35,
|
|
18
16
|
Plugin36,
|
|
19
|
-
|
|
17
|
+
Plugin35,
|
|
18
|
+
Plugin34,
|
|
19
|
+
Plugin37
|
|
20
20
|
];
|
|
21
21
|
|
|
22
22
|
export { WebSearchPlugins2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./job-ca8ntzdc.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service13 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service76;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service13.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service13,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node81, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service13, node16, exports_formatter2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-f7fp4m8t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./job-dz7wbq1s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node60
|
|
13
|
+
} from "./job-f0vdmdj0.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./job-ca8ntzdc.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-kvsjn1dr.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-stbyx3mv.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-v98339m9.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service58,
|
|
36
|
+
Event14,
|
|
37
|
+
node61
|
|
38
|
+
} from "./job-65zrdwzm.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./job-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options6,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service56,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer20,
|
|
53
|
+
node: () => node59,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -78,7 +78,7 @@ var Options6 = Schema.Struct({
|
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service56 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service56, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service76;
|
|
100
|
+
const watcher = yield* Service57;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service65;
|
|
103
|
+
const wellknown = yield* Service58;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer19 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer19 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service56.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured6(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service56,
|
|
248
|
+
layer: layer20(options),
|
|
249
|
+
deps: [node60, node84, FSUtil.node, Global.node, node81, node68, node61]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node59 = configured6();
|
|
253
253
|
|
|
254
|
-
export { latest2, Options6,
|
|
254
|
+
export { latest2, Options6, Service56, Test2, testLayer2, layer20, configured6, node59, exports_config };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./job-wybz6hrf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./job-kpe4sfyz.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-cfn9rvpv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service59
|
|
15
|
+
} from "./job-7dz4r7mk.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-n0zzw4by.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service46
|
|
23
|
+
} from "./job-jbr8yybr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service34;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service59;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service46;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service73;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|