@opencode-ai/core 0.0.0-dev-19117 → 0.0.0-dev-19118
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 +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{ripgrep-p3szxjdh.js → job-0btdqww6.js} +30 -30
- package/dist/chunks/{ripgrep-0e0xafbb.js → job-0e0xafbb.js} +2 -2
- package/dist/chunks/{ripgrep-4jtd95fb.js → job-0jjx206k.js} +2 -2
- package/dist/chunks/{ripgrep-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0s9ayhjt.js → job-0s9ayhjt.js} +1 -1
- package/dist/chunks/{ripgrep-8ksg784e.js → job-0th9t2kg.js} +6 -6
- package/dist/chunks/{ripgrep-eqpzyj2r.js → job-0wqrqfxc.js} +8 -8
- package/dist/chunks/{ripgrep-nmgddbg4.js → job-10qv4wd5.js} +8 -8
- package/dist/chunks/{ripgrep-dy5g39ka.js → job-15pj8rnv.js} +8 -8
- package/dist/chunks/{ripgrep-jnypjjjz.js → job-16tg7smk.js} +56 -56
- package/dist/chunks/{ripgrep-r4e8mhdp.js → job-18rw269z.js} +9 -9
- package/dist/chunks/{ripgrep-nw80mg4a.js → job-1bwaarmf.js} +4 -4
- package/dist/chunks/{ripgrep-1ct4r87x.js → job-1ct4r87x.js} +1 -1
- package/dist/chunks/{ripgrep-ryr6cb0z.js → job-1ea5x22e.js} +8 -8
- package/dist/chunks/{ripgrep-1hy241bm.js → job-1hy241bm.js} +1 -1
- package/dist/chunks/{ripgrep-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-rwzmbvvc.js → job-27f7rjaq.js} +9 -9
- package/dist/chunks/{ripgrep-mtcjf44p.js → job-28pcbh69.js} +4 -4
- package/dist/chunks/{ripgrep-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-40myj96f.js → job-2h8jgcrm.js} +11 -11
- package/dist/chunks/{ripgrep-2ht70gj7.js → job-2ht70gj7.js} +1 -1
- package/dist/chunks/{ripgrep-2jqmte8w.js → job-2jqmte8w.js} +2 -2
- package/dist/chunks/{ripgrep-bnc2083e.js → job-2ms6k9cn.js} +5 -5
- package/dist/chunks/{ripgrep-7wyfdtz8.js → job-2sgw42tr.js} +11 -11
- package/dist/chunks/{ripgrep-2w6bfmvf.js → job-2w6bfmvf.js} +1 -1
- package/dist/chunks/{ripgrep-bdmzwyaa.js → job-2zyj32sc.js} +9 -9
- package/dist/chunks/{ripgrep-0jn9ejg7.js → job-35578s5n.js} +1 -1
- package/dist/chunks/{ripgrep-y6yv2n5p.js → job-3g7g9ggh.js} +18 -18
- package/dist/chunks/{ripgrep-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/job-3k8be1mw.js +243 -0
- package/dist/chunks/{ripgrep-hcdssky2.js → job-3mrm2hwf.js} +8 -8
- package/dist/chunks/{ripgrep-5ygrhnqv.js → job-3q0cqqj6.js} +20 -20
- package/dist/chunks/{ripgrep-3qzbfqsy.js → job-3qzbfqsy.js} +2 -2
- package/dist/chunks/{ripgrep-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-67bet904.js → job-3xr078r2.js} +38 -38
- package/dist/chunks/{ripgrep-h4b9wg2c.js → job-44ax3a64.js} +157 -157
- package/dist/chunks/{ripgrep-454k5vzh.js → job-454k5vzh.js} +1 -1
- package/dist/chunks/{ripgrep-my77j7pt.js → job-46n9n21h.js} +7 -7
- package/dist/chunks/{ripgrep-2srh953x.js → job-48fnsstq.js} +24 -24
- package/dist/chunks/{ripgrep-w97cb5cg.js → job-4h57wxq9.js} +17 -17
- package/dist/chunks/{ripgrep-9hhgj58j.js → job-4kbjwcge.js} +4 -4
- package/dist/chunks/{ripgrep-vrnz0jpz.js → job-4qck5215.js} +17 -17
- package/dist/chunks/{ripgrep-eyfhpjry.js → job-4qma25wy.js} +20 -20
- package/dist/chunks/{ripgrep-4r2nyarf.js → job-4r2nyarf.js} +1 -1
- package/dist/chunks/{ripgrep-9fpwc135.js → job-4xw211qy.js} +13 -13
- package/dist/chunks/{ripgrep-sdzmedwm.js → job-50jhk3hn.js} +16 -16
- package/dist/chunks/{ripgrep-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-5fmxt4p5.js → job-5fmxt4p5.js} +1 -1
- package/dist/chunks/{ripgrep-7qnza9rw.js → job-5fnfwqar.js} +5 -5
- package/dist/chunks/{ripgrep-0t098hqn.js → job-5hx7d1d6.js} +5 -5
- package/dist/chunks/{ripgrep-5jvc5tg2.js → job-5jvc5tg2.js} +1 -1
- package/dist/chunks/{ripgrep-qyh9kz4d.js → job-5mfyzt34.js} +26 -26
- package/dist/chunks/{ripgrep-1w5ptdxf.js → job-5mhvc9ws.js} +15 -15
- package/dist/chunks/{ripgrep-5sg4xzjf.js → job-5sg4xzjf.js} +1 -1
- package/dist/chunks/{ripgrep-tdz2d0bf.js → job-60yfj30v.js} +11 -11
- package/dist/chunks/{ripgrep-p325kmej.js → job-67jyh53q.js} +9 -9
- package/dist/chunks/{ripgrep-6abnk40k.js → job-6abnk40k.js} +2 -2
- package/dist/chunks/{ripgrep-0eqyng1a.js → job-6bfhvh0h.js} +15 -15
- package/dist/chunks/{ripgrep-js6asbw1.js → job-6k404gxp.js} +4 -4
- package/dist/chunks/{ripgrep-kw4j1pbq.js → job-6nrw9prn.js} +32 -32
- package/dist/chunks/{ripgrep-6tf8tr4v.js → job-6tf8tr4v.js} +2 -2
- package/dist/chunks/{ripgrep-7d35953p.js → job-6z2sa7jc.js} +21 -21
- package/dist/chunks/job-70jsskm8.js +18 -0
- package/dist/chunks/{ripgrep-711hfp6y.js → job-711hfp6y.js} +2 -2
- package/dist/chunks/{ripgrep-t4jvr5wy.js → job-7319g7yt.js} +5 -5
- package/dist/chunks/{ripgrep-768z0hjh.js → job-768z0hjh.js} +1 -1
- package/dist/chunks/{ripgrep-em5rm6ec.js → job-7a913jhw.js} +10 -10
- package/dist/chunks/{ripgrep-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-vyjva4w2.js → job-7g8xccct.js} +8 -8
- package/dist/chunks/{ripgrep-ewww49mf.js → job-7nfnjkp7.js} +15 -15
- package/dist/chunks/{ripgrep-q5j29kx8.js → job-83nnjx99.js} +26 -26
- package/dist/chunks/{ripgrep-n7wjrxzb.js → job-85cc2c4h.js} +19 -19
- package/dist/chunks/{ripgrep-vn1zxxz9.js → job-8b5tyv7a.js} +9 -9
- package/dist/chunks/{ripgrep-7kgtsxjw.js → job-8emfhm5v.js} +4 -4
- package/dist/chunks/{ripgrep-tfvhtj86.js → job-8kadg3td.js} +42 -42
- package/dist/chunks/{ripgrep-bvn2enxy.js → job-8mk0kgx1.js} +10 -10
- package/dist/chunks/{ripgrep-8xptgnz1.js → job-8q7dhh8n.js} +31 -31
- package/dist/chunks/{ripgrep-93a8yfjt.js → job-93a8yfjt.js} +2 -2
- package/dist/chunks/{ripgrep-w18traxp.js → job-946h5rhj.js} +29 -29
- package/dist/chunks/{ripgrep-bge6q0dt.js → job-9afcvx35.js} +23 -23
- package/dist/chunks/{ripgrep-dhkrg1xs.js → job-9bzmsse2.js} +43 -43
- package/dist/chunks/{ripgrep-wg31t6sj.js → job-9f003kxj.js} +22 -22
- package/dist/chunks/{ripgrep-hpg5nh6v.js → job-9kz5pc73.js} +11 -11
- package/dist/chunks/{ripgrep-9pfqepek.js → job-9pfqepek.js} +1 -1
- package/dist/chunks/{ripgrep-6pg4jkhc.js → job-9prtx3kt.js} +16 -16
- package/dist/chunks/{ripgrep-bbxy1t52.js → job-9qgy71j7.js} +9 -9
- package/dist/chunks/{ripgrep-9qm9egsn.js → job-9qm9egsn.js} +2 -2
- package/dist/chunks/{ripgrep-19vf66h0.js → job-a2ew8a62.js} +4 -4
- package/dist/chunks/{ripgrep-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-3qze2g25.js → job-ahxzhcff.js} +2 -2
- package/dist/chunks/{ripgrep-aj7d9r5a.js → job-aj7d9r5a.js} +1 -1
- package/dist/chunks/{ripgrep-ajtjthsy.js → job-ajtjthsy.js} +2 -2
- package/dist/chunks/{ripgrep-wjdcppan.js → job-ak1zs6cs.js} +24 -24
- package/dist/chunks/{ripgrep-zgnmmxh6.js → job-awef7rea.js} +9 -9
- package/dist/chunks/{ripgrep-tp7tf7xy.js → job-ayxrghyw.js} +11 -11
- package/dist/chunks/job-b5q5y4vk.js +4 -0
- package/dist/chunks/{ripgrep-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-b9wsbatv.js → job-b9wsbatv.js} +1 -1
- package/dist/chunks/{ripgrep-je9hks3h.js → job-bcezcar3.js} +5 -5
- package/dist/chunks/{ripgrep-vakdx653.js → job-bddv8fmn.js} +6 -6
- package/dist/chunks/{ripgrep-ve4pfa0n.js → job-bf0ztrs3.js} +4 -4
- package/dist/chunks/{ripgrep-8j688k7y.js → job-bpydn4kw.js} +15 -15
- package/dist/chunks/{ripgrep-awqyf91x.js → job-btc4hvws.js} +5 -5
- package/dist/chunks/{ripgrep-pxst6xf4.js → job-c09kva8g.js} +11 -11
- package/dist/chunks/{ripgrep-8h6vxt8w.js → job-c91s5gke.js} +17 -17
- package/dist/chunks/{ripgrep-0ja1cg2h.js → job-c99jj7v8.js} +284 -284
- package/dist/chunks/{ripgrep-3ss45ava.js → job-cj66esvq.js} +18 -18
- package/dist/chunks/{ripgrep-tnsd1rs6.js → job-ckwkgvrt.js} +10 -10
- package/dist/chunks/{ripgrep-mbc5mvmj.js → job-cmz0bryw.js} +4 -4
- package/dist/chunks/{ripgrep-6m03kfba.js → job-csr079x2.js} +6 -6
- package/dist/chunks/{ripgrep-d1a1bt21.js → job-d1a1bt21.js} +1 -1
- package/dist/chunks/job-d40ef2x4.js +22 -0
- package/dist/chunks/{ripgrep-d72308c8.js → job-d72308c8.js} +2 -2
- package/dist/chunks/{ripgrep-sxhwk0c0.js → job-dbggaqw1.js} +4 -4
- package/dist/chunks/{ripgrep-9vbhqqdq.js → job-dhtbjb2w.js} +25 -25
- package/dist/chunks/{ripgrep-tq2fd8r9.js → job-dqs7g4t8.js} +16 -16
- package/dist/chunks/{ripgrep-5tc0y89d.js → job-dr4sghex.js} +11 -11
- package/dist/chunks/{ripgrep-7pkp8xq8.js → job-dt7ke0cz.js} +25 -25
- package/dist/chunks/{ripgrep-e1hrx4vk.js → job-e1hrx4vk.js} +2 -2
- package/dist/chunks/job-e2dcn2jx.js +20 -0
- package/dist/chunks/{ripgrep-hkvmnyc2.js → job-e7y2q7j4.js} +33 -33
- package/dist/chunks/{ripgrep-9z5bj76v.js → job-ecx34a5q.js} +18 -18
- package/dist/chunks/{ripgrep-nca7p386.js → job-edme2h3e.js} +9 -9
- package/dist/chunks/{ripgrep-ev2yz940.js → job-es0mq72s.js} +27 -27
- package/dist/chunks/{ripgrep-32s9yjrm.js → job-f0c97n7f.js} +39 -39
- package/dist/chunks/{ripgrep-mcqq6vbh.js → job-f2a3x54z.js} +25 -25
- package/dist/chunks/{ripgrep-4h7t20e0.js → job-f4yhk0zg.js} +20 -20
- package/dist/chunks/{ripgrep-6brqwvd5.js → job-fdvq1v68.js} +87 -87
- package/dist/chunks/{ripgrep-5ycc874r.js → job-fnptnz5b.js} +10 -10
- package/dist/chunks/{ripgrep-ma5tpqfg.js → job-fr5x210x.js} +18 -18
- package/dist/chunks/{ripgrep-km4669cs.js → job-ftwv96jh.js} +43 -43
- package/dist/chunks/{ripgrep-heem8ggn.js → job-fw05b7c3.js} +18 -18
- package/dist/chunks/{ripgrep-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-d36vjxce.js → job-fxjmm0ya.js} +5 -5
- package/dist/chunks/{ripgrep-fxypknc8.js → job-fxypknc8.js} +1 -1
- package/dist/chunks/{ripgrep-42gstqmc.js → job-fy6n5twb.js} +4 -4
- package/dist/chunks/{ripgrep-g7csxrs7.js → job-g585tkj2.js} +4 -4
- package/dist/chunks/{ripgrep-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-3fc6dm20.js → job-gdvy8fx6.js} +4 -4
- package/dist/chunks/{ripgrep-jjtbt1qg.js → job-gksdshpz.js} +8 -8
- package/dist/chunks/{ripgrep-pr9h59nx.js → job-gtayc572.js} +2 -2
- package/dist/chunks/{ripgrep-p1zz6beh.js → job-gv3xhkv5.js} +11 -11
- package/dist/chunks/{ripgrep-5854x11z.js → job-gx171wzx.js} +3 -3
- package/dist/chunks/{ripgrep-7dwcteqq.js → job-h4j8xtsy.js} +23 -23
- package/dist/chunks/{ripgrep-sh8ph4n7.js → job-h4n2ef1t.js} +4 -4
- package/dist/chunks/{ripgrep-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-heyhwy2w.js → job-heyhwy2w.js} +1 -1
- package/dist/chunks/{ripgrep-fz4jwa6n.js → job-hj3nn2ka.js} +20 -20
- package/dist/chunks/{ripgrep-74ey9zf4.js → job-hpwwyar4.js} +10 -10
- package/dist/chunks/{ripgrep-hrvm11jt.js → job-hrvm11jt.js} +3 -3
- package/dist/chunks/{ripgrep-kvsjn1dr.js → job-hw4pv20g.js} +2 -2
- package/dist/chunks/{ripgrep-48en1mwc.js → job-hw83ew9d.js} +89 -89
- package/dist/chunks/{ripgrep-44k9zdes.js → job-hwb7s7hn.js} +35 -35
- package/dist/chunks/{ripgrep-7yh4e7ss.js → job-j028xdjb.js} +3 -3
- package/dist/chunks/{ripgrep-g5ezvv16.js → job-j901a4qz.js} +8 -8
- package/dist/chunks/{ripgrep-5qd3pb7m.js → job-j935v87r.js} +2 -2
- package/dist/chunks/{ripgrep-pdtadr89.js → job-j9mhyrra.js} +18 -18
- package/dist/chunks/{ripgrep-jnmmvqjs.js → job-jnmmvqjs.js} +1 -1
- package/dist/chunks/{ripgrep-che8skc9.js → job-jp2wbqm1.js} +4 -4
- package/dist/chunks/{ripgrep-5rpr6ky1.js → job-jpqh7gfb.js} +15 -15
- package/dist/chunks/{ripgrep-m21v4znd.js → job-jqa8z6zt.js} +49 -49
- package/dist/chunks/{ripgrep-f0nz223j.js → job-jwcy2c2z.js} +4 -4
- package/dist/chunks/{ripgrep-ds0aszyw.js → job-jyg6rkr3.js} +29 -29
- package/dist/chunks/{ripgrep-k4bwy1x5.js → job-k4bwy1x5.js} +1 -1
- package/dist/chunks/{ripgrep-36mzbjn4.js → job-k8feg6vv.js} +4 -4
- package/dist/chunks/{ripgrep-b9pt6hex.js → job-kejyb2x0.js} +9 -9
- package/dist/chunks/{ripgrep-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{ripgrep-pkxk1635.js → job-kqbpc9q5.js} +11 -11
- package/dist/chunks/{ripgrep-bxrqv5tf.js → job-m0cwky14.js} +11 -11
- package/dist/chunks/{ripgrep-0gnwfkec.js → job-m2fmr5t4.js} +11 -11
- package/dist/chunks/{ripgrep-fyy0s8gy.js → job-m4yjb678.js} +25 -25
- package/dist/chunks/{ripgrep-rmha8y3b.js → job-m8tcekea.js} +10 -10
- package/dist/chunks/{ripgrep-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-0zdpcrzf.js → job-mj4n74vr.js} +13 -13
- package/dist/chunks/{ripgrep-a4f478em.js → job-mpsk2es2.js} +57 -57
- package/dist/chunks/{ripgrep-f1yhq58f.js → job-my6essfs.js} +9 -9
- package/dist/chunks/{ripgrep-nzkt02mj.js → job-n1a2t0ww.js} +9 -9
- package/dist/chunks/{ripgrep-3djzqpk0.js → job-n1k6p5yy.js} +23 -23
- package/dist/chunks/{ripgrep-91q12184.js → job-n2hm8f0c.js} +20 -20
- package/dist/chunks/{ripgrep-6skpevf5.js → job-n2qjf2wd.js} +24 -24
- package/dist/chunks/{ripgrep-xw0r27ex.js → job-n3jkd22a.js} +4 -4
- package/dist/chunks/{ripgrep-g3z0m5pf.js → job-n6s9nzrb.js} +17 -17
- package/dist/chunks/{ripgrep-a8mkyf75.js → job-n7z8rwmy.js} +16 -16
- package/dist/chunks/{ripgrep-kxjsfdz8.js → job-nf7j6g0s.js} +26 -26
- package/dist/chunks/{ripgrep-5vqfft53.js → job-nhwtr1pc.js} +6 -6
- package/dist/chunks/{ripgrep-1tfkjp3e.js → job-nyh9yrk7.js} +66 -66
- package/dist/chunks/{ripgrep-rk27q5w5.js → job-p0ynmz4j.js} +10 -10
- package/dist/chunks/{ripgrep-mv8wgq99.js → job-p6qgmdkk.js} +11 -11
- package/dist/chunks/{ripgrep-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-sczbbc3q.js → job-pk2zcqpn.js} +9 -9
- package/dist/chunks/{ripgrep-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-by2d8rp5.js → job-pnvdtg0w.js} +7 -7
- package/dist/chunks/{ripgrep-vfqqmq4r.js → job-ppc0658n.js} +22 -22
- package/dist/chunks/{ripgrep-q1wfyw2p.js → job-psjng72d.js} +25 -25
- package/dist/chunks/{ripgrep-pt7wq7x0.js → job-pt7wq7x0.js} +1 -1
- package/dist/chunks/{ripgrep-ybt0syy4.js → job-q40m3x69.js} +23 -23
- package/dist/chunks/{ripgrep-0yqj1sc4.js → job-q4r5qz8q.js} +33 -33
- package/dist/chunks/{ripgrep-1y8p760r.js → job-q90qmqvm.js} +21 -21
- package/dist/chunks/{ripgrep-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
- package/dist/chunks/{ripgrep-7k0jwsa3.js → job-qncx3hba.js} +29 -29
- package/dist/chunks/{ripgrep-nv4gk3n9.js → job-qrmtf44y.js} +7 -7
- package/dist/chunks/{ripgrep-qs4avvkb.js → job-qs4avvkb.js} +1 -1
- package/dist/chunks/{ripgrep-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-b0tdp1rr.js → job-qvz0mstn.js} +29 -29
- package/dist/chunks/{ripgrep-dqwhaazx.js → job-qwtjsqs5.js} +15 -15
- package/dist/chunks/{ripgrep-21whxf52.js → job-r25yqspz.js} +13 -13
- package/dist/chunks/{ripgrep-xxz5bf5t.js → job-r6xmjf87.js} +3 -3
- package/dist/chunks/{ripgrep-r8dhm0tv.js → job-r8dhm0tv.js} +1 -1
- package/dist/chunks/{ripgrep-4f96dzf6.js → job-re0h2561.js} +30 -30
- package/dist/chunks/{ripgrep-fjxg2ary.js → job-re5mh1em.js} +10 -10
- package/dist/chunks/{ripgrep-nevxv2d6.js → job-rma47dj5.js} +9 -9
- package/dist/chunks/{ripgrep-07yw2x03.js → job-rpeaw09y.js} +10 -10
- package/dist/chunks/{ripgrep-0gaj4617.js → job-rph3zd4r.js} +6 -6
- package/dist/chunks/{ripgrep-zytde4j9.js → job-rqc3g00m.js} +9 -9
- package/dist/chunks/{ripgrep-9whdxbg9.js → job-rrm5x7m0.js} +12 -12
- package/dist/chunks/{ripgrep-rvb2zp0m.js → job-rvb2zp0m.js} +1 -1
- package/dist/chunks/{ripgrep-zzz6jtjg.js → job-s6t43sme.js} +32 -32
- package/dist/chunks/{ripgrep-8xm2e362.js → job-s8r7jtd6.js} +14 -14
- package/dist/chunks/{ripgrep-sba4qhjf.js → job-sba4qhjf.js} +1 -1
- package/dist/chunks/{ripgrep-r1j3nz9t.js → job-sc33qmz3.js} +37 -37
- package/dist/chunks/{ripgrep-zj3wcxn0.js → job-sp4hjahe.js} +16 -16
- package/dist/chunks/{ripgrep-jt44cnxn.js → job-sr771y1d.js} +17 -17
- package/dist/chunks/{ripgrep-3kxajfcb.js → job-ssb0ehrn.js} +16 -16
- package/dist/chunks/{ripgrep-pwtwj0bs.js → job-t1mdxq6d.js} +19 -19
- package/dist/chunks/{ripgrep-w8f6gg2r.js → job-t6msp11s.js} +6 -6
- package/dist/chunks/{ripgrep-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-4epewzf2.js → job-te2bj7xz.js} +28 -28
- package/dist/chunks/{ripgrep-tjykrgmx.js → job-tjykrgmx.js} +1 -1
- package/dist/chunks/{ripgrep-tppvcy65.js → job-tppvcy65.js} +2 -2
- package/dist/chunks/{ripgrep-5j9k34kg.js → job-v0e6f0mp.js} +20 -20
- package/dist/chunks/{ripgrep-6w7e9vmm.js → job-v8yh8gmz.js} +8 -8
- package/dist/chunks/{ripgrep-hhmxjvcb.js → job-v9sc9168.js} +31 -31
- package/dist/chunks/{ripgrep-z3xgatyd.js → job-vep9yay1.js} +4 -4
- package/dist/chunks/{ripgrep-3mf5xj6g.js → job-vez0m4e7.js} +24 -24
- package/dist/chunks/{ripgrep-h5hj52e4.js → job-vxand066.js} +33 -33
- package/dist/chunks/{ripgrep-w525msx4.js → job-w1y4676r.js} +36 -36
- package/dist/chunks/{ripgrep-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-qzyjhkhb.js → job-wta9sx1g.js} +9 -9
- package/dist/chunks/{ripgrep-rkbnrd1t.js → job-wy3g45e0.js} +4 -4
- package/dist/chunks/{ripgrep-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-2wjw4vy5.js → job-xaqp5che.js} +12 -12
- package/dist/chunks/{ripgrep-rgv1ms02.js → job-xd1wx6xm.js} +30 -30
- package/dist/chunks/{ripgrep-3tz2ea3y.js → job-xg1wrpr4.js} +11 -11
- package/dist/chunks/{ripgrep-gjhar930.js → job-xk9j8rng.js} +24 -24
- package/dist/chunks/{ripgrep-7me1svnr.js → job-xw3cw7rt.js} +25 -25
- package/dist/chunks/{ripgrep-z8wxwp11.js → job-xyvckd2s.js} +27 -27
- package/dist/chunks/{ripgrep-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-1k0gne18.js → job-y4c28rh3.js} +38 -38
- package/dist/chunks/{ripgrep-gye7vvze.js → job-y8k3s664.js} +50 -50
- package/dist/chunks/{ripgrep-yfbd16n1.js → job-yfbd16n1.js} +2 -2
- package/dist/chunks/{ripgrep-1f0wyff1.js → job-ygkg1k8b.js} +5 -5
- package/dist/chunks/{ripgrep-78dqkwkk.js → job-yjzbvh1e.js} +18 -18
- package/dist/chunks/{ripgrep-xsfpm1p4.js → job-ynhf546z.js} +11 -11
- package/dist/chunks/{ripgrep-96bmt5xb.js → job-yt4p3xrd.js} +12 -12
- package/dist/chunks/{ripgrep-76wr4mq2.js → job-ytcbjck8.js} +5 -5
- package/dist/chunks/{ripgrep-hb1mzqn1.js → job-ywh3ajq2.js} +21 -21
- package/dist/chunks/{ripgrep-ytezje8q.js → job-yzf9ffkr.js} +46 -46
- package/dist/chunks/{ripgrep-z1k01bn4.js → job-z1k01bn4.js} +2 -2
- package/dist/chunks/{ripgrep-fggsr9ap.js → job-z3bmvn69.js} +9 -9
- package/dist/chunks/{ripgrep-gwszgtmr.js → job-z546nxfv.js} +28 -28
- package/dist/chunks/{ripgrep-29x78va6.js → job-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-aa3g7qm9.js → job-z78tg67p.js} +5 -5
- package/dist/chunks/{ripgrep-txm2bbyw.js → job-z8c9zcae.js} +8 -8
- package/dist/chunks/{ripgrep-zajwd6at.js → job-zajwd6at.js} +2 -2
- package/dist/chunks/{ripgrep-r1rbm2q7.js → job-zhtgdjwq.js} +10 -10
- package/dist/chunks/{ripgrep-zc06qzv2.js → job-zj8w0xf7.js} +14 -14
- package/dist/chunks/{ripgrep-e8zgvj34.js → job-zmetzt27.js} +8 -8
- package/dist/chunks/{ripgrep-sqpx7b0d.js → job-ztnraygn.js} +27 -27
- package/dist/chunks/{ripgrep-ztm1zg4x.js → job-zvnk5jqh.js} +8 -8
- package/dist/chunks/{ripgrep-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-46wy7nmf.js → job-zxsmea59.js} +11 -11
- package/dist/codemode/catalog.js +3 -3
- 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 +115 -115
- 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 +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +3 -3
- 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 +70 -70
- 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 +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- 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 +7 -7
- package/dist/instance.js +347 -347
- 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 +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +84 -84
- 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 +104 -104
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +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 +5 -5
- package/dist/plugin/skill.js +127 -127
- 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 +8 -8
- 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 +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +1 -1
- 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 +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 +93 -93
- 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 +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- 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 +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +3 -3
- 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 +84 -84
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +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 +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- 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 +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- 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 +114 -114
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/ripgrep-2y15j0tk.js +0 -18
- package/dist/chunks/ripgrep-7zk4hah4.js +0 -4
- package/dist/chunks/ripgrep-a21023rp.js +0 -22
- package/dist/chunks/ripgrep-b52w4pfb.js +0 -20
- package/dist/chunks/ripgrep-nfxm2j3p.js +0 -243
- /package/dist/chunks/{ripgrep-0fabt78z.js → job-0fabt78z.js} +0 -0
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t738kvx.js → job-3t738kvx.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-41nvscxy.js → job-41nvscxy.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-982e01ww.js → job-982e01ww.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mntxs535.js → job-mntxs535.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-p8qxwesx.js → job-p8qxwesx.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-se0s1eqw.js → job-se0s1eqw.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x1b8g1yb.js → job-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → job-z9919s4g.js} +0 -0
- /package/dist/chunks/{ripgrep-zbjnn3ac.js → job-zbjnn3ac.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./job-ynhf546z.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node83
|
|
11
|
+
} from "./job-kqbpc9q5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node82
|
|
15
|
+
} from "./job-fnptnz5b.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-tppvcy65.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-9qm9egsn.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-ajtjthsy.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -38,12 +38,12 @@ __export(exports_project, {
|
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID17,
|
|
40
40
|
Info: () => Info31,
|
|
41
|
-
NotFoundError: () =>
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,7 +61,7 @@ var Current2 = Current3;
|
|
|
61
61
|
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
65
|
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
171
|
yield* bus.publish(Event20.Updated, project);
|
|
172
172
|
return project;
|
|
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service77.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node81 = makeGlobalNode({
|
|
276
|
+
service: Service77,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node83, node84, FSUtil.node, node82, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { ID17, Vcs2, Current2, Info31, UpdateInput3,
|
|
281
|
+
export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-r6xmjf87.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-8b5tyv7a.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-28pcbh69.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-hrvm11jt.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-g585tkj2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/session/history.ts
|
|
26
26
|
var exports_history = {};
|
|
@@ -30,7 +30,7 @@ __export(exports_history, {
|
|
|
30
30
|
entriesForRunner: () => entriesForRunner2,
|
|
31
31
|
firstUserMessage: () => firstUserMessage2,
|
|
32
32
|
latestCompaction: () => latestCompaction2,
|
|
33
|
-
load: () =>
|
|
33
|
+
load: () => load4,
|
|
34
34
|
preview: () => preview2
|
|
35
35
|
});
|
|
36
36
|
import { and, asc, desc, eq, gte, sql } from "drizzle-orm";
|
|
@@ -48,7 +48,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID) {
|
|
|
48
48
|
const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), compaction ? gte(SessionMessageTable2.seq, compaction.seq) : undefined)).orderBy(asc(SessionMessageTable2.seq)).all().pipe(Effect.orDie);
|
|
49
49
|
return yield* Effect.forEach(rows, (row) => decodeMessageRow2(row).pipe(Effect.map((message) => ({ seq: row.seq, message }))));
|
|
50
50
|
});
|
|
51
|
-
var
|
|
51
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
|
|
52
52
|
return (yield* messageEntries(db, sessionID)).map((entry) => entry.message);
|
|
53
53
|
});
|
|
54
54
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions) {
|
|
@@ -84,4 +84,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
84
84
|
return message?.type === "user" ? message : undefined;
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
87
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node62
|
|
7
|
+
} from "./job-xk9j8rng.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service59,
|
|
17
|
+
node: () => node61,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode-ai/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service59 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service60;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service59.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node61 = makeLocationNode({ service: Service59, layer, deps: [node62] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service59, readText2, syncTextBom2, node61, exports_file_mutation };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./job-kqbpc9q5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./job-s8r7jtd6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID7,
|
|
11
|
+
Service52,
|
|
12
|
+
node54
|
|
13
|
+
} from "./job-psjng72d.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError7
|
|
16
|
+
} from "./job-8b5tyv7a.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service51,
|
|
19
|
+
node53
|
|
20
|
+
} from "./job-c91s5gke.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service50,
|
|
26
|
+
node52
|
|
27
|
+
} from "./job-3g7g9ggh.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service56,
|
|
30
|
+
node58
|
|
31
|
+
} from "./job-zvnk5jqh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./job-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event12,
|
|
46
|
+
ID: () => ID5,
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service49,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node51
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode-ai/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
|
|
64
|
+
import { Event as Event12 } from "@opencode-ai/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID5 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID5.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID7.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID5,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID5,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID5
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service49 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service52;
|
|
134
|
+
const sessions = yield* Service51;
|
|
135
|
+
const saved = yield* Service50;
|
|
136
|
+
const hooks = yield* Service56;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError7({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID5.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service49.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node51 = makeLocationNode({
|
|
289
|
+
service: Service49,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node83, node80, node54, node53, node52, node58]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID5, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service49, node51, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service55,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node57
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service55 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service55.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node57 = makeLocationNode({ service: Service55, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node57, exports_image2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service29
|
|
3
|
+
} from "./job-e2dcn2jx.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-70jsskm8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./job-jqa8z6zt.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service29;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./job-kqbpc9q5.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/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Service: () => Service37,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node39
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode-ai/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event7 } from "@opencode-ai/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError3 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service37 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer17 = Layer.effect(Service37, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service37.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError3({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node39 = makeLocationNode({
|
|
75
|
+
service: Service37,
|
|
76
|
+
layer: layer17,
|
|
77
|
+
deps: [node83]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError3, ExecutionError2, Service37, layer17, node39, exports_command4, Event7 };
|