@opencode-ai/core 0.0.0-dev-19115 → 0.0.0-dev-19117
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 +79 -79
- 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/{command-jmkbp1h5.js → ripgrep-07yw2x03.js} +15 -15
- package/dist/chunks/{command-0e0xafbb.js → ripgrep-0e0xafbb.js} +2 -2
- package/dist/chunks/{command-s4ye7va7.js → ripgrep-0eqyng1a.js} +15 -15
- package/dist/chunks/{command-j15mfg1p.js → ripgrep-0gaj4617.js} +4 -4
- package/dist/chunks/{command-4we2taax.js → ripgrep-0gnwfkec.js} +11 -11
- package/dist/chunks/{command-4kfzb8gv.js → ripgrep-0ja1cg2h.js} +289 -289
- package/dist/chunks/{command-kwqsq9eb.js → ripgrep-0jn9ejg7.js} +1 -1
- package/dist/chunks/{command-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0s9ayhjt.js → ripgrep-0s9ayhjt.js} +1 -1
- package/dist/chunks/{command-zk8c4w5t.js → ripgrep-0t098hqn.js} +5 -5
- package/dist/chunks/{command-ff1sw35j.js → ripgrep-0yqj1sc4.js} +33 -33
- package/dist/chunks/{command-cxnm9dwg.js → ripgrep-0zdpcrzf.js} +13 -13
- package/dist/chunks/{command-k8962brh.js → ripgrep-19vf66h0.js} +7 -7
- package/dist/chunks/{command-1ct4r87x.js → ripgrep-1ct4r87x.js} +1 -1
- package/dist/chunks/{command-y0kje1kq.js → ripgrep-1f0wyff1.js} +5 -5
- package/dist/chunks/{command-14hmenm3.js → ripgrep-1hy241bm.js} +3 -3
- package/dist/chunks/{command-mznxs8d6.js → ripgrep-1k0gne18.js} +41 -41
- package/dist/chunks/{command-dzntxkaj.js → ripgrep-1tfkjp3e.js} +68 -68
- package/dist/chunks/{command-f1kgb3zy.js → ripgrep-1w5ptdxf.js} +11 -11
- package/dist/chunks/{command-hv5tmyxa.js → ripgrep-1y8p760r.js} +21 -21
- package/dist/chunks/{command-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{command-fvxhrhfw.js → ripgrep-21whxf52.js} +13 -13
- package/dist/chunks/{command-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{command-29x78va6.js → ripgrep-29x78va6.js} +2 -2
- package/dist/chunks/{command-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-2ht70gj7.js → ripgrep-2ht70gj7.js} +1 -1
- package/dist/chunks/{command-2jqmte8w.js → ripgrep-2jqmte8w.js} +2 -2
- package/dist/chunks/{command-kj8q7mtc.js → ripgrep-2srh953x.js} +24 -24
- package/dist/chunks/{command-mcxg6pmm.js → ripgrep-2w6bfmvf.js} +1 -1
- package/dist/chunks/{command-dv0xdbpz.js → ripgrep-2wjw4vy5.js} +12 -12
- package/dist/chunks/ripgrep-2y15j0tk.js +18 -0
- package/dist/chunks/{command-sjwwpfw7.js → ripgrep-32s9yjrm.js} +39 -39
- package/dist/chunks/{command-k8feg6vv.js → ripgrep-36mzbjn4.js} +4 -4
- package/dist/chunks/{command-w0117ta3.js → ripgrep-3djzqpk0.js} +26 -26
- package/dist/chunks/{command-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-73azkrsd.js → ripgrep-3kxajfcb.js} +13 -13
- package/dist/chunks/{command-yzsm82be.js → ripgrep-3mf5xj6g.js} +29 -29
- package/dist/chunks/{command-3qzbfqsy.js → ripgrep-3qzbfqsy.js} +2 -2
- package/dist/chunks/{command-t7rtampj.js → ripgrep-3qze2g25.js} +2 -2
- package/dist/chunks/{command-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-58dzf215.js → ripgrep-3ss45ava.js} +18 -18
- package/dist/chunks/{command-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-pgzzhbmy.js → ripgrep-3tz2ea3y.js} +11 -11
- package/dist/chunks/{command-d674kx35.js → ripgrep-40myj96f.js} +11 -11
- package/dist/chunks/{command-ykcesz1b.js → ripgrep-42gstqmc.js} +4 -4
- package/dist/chunks/{command-3jwbxfdj.js → ripgrep-44k9zdes.js} +32 -32
- package/dist/chunks/{command-454k5vzh.js → ripgrep-454k5vzh.js} +1 -1
- package/dist/chunks/{command-mw7ytvy7.js → ripgrep-46wy7nmf.js} +11 -11
- package/dist/chunks/{command-9x7bsm9r.js → ripgrep-48en1mwc.js} +89 -89
- package/dist/chunks/{command-xnz7e9v2.js → ripgrep-4epewzf2.js} +28 -28
- package/dist/chunks/{command-njfhyprf.js → ripgrep-4f96dzf6.js} +25 -25
- package/dist/chunks/{command-jnbaqc7b.js → ripgrep-4h7t20e0.js} +20 -20
- package/dist/chunks/{command-hjm0k3fp.js → ripgrep-4jtd95fb.js} +2 -2
- package/dist/chunks/{command-4r2nyarf.js → ripgrep-4r2nyarf.js} +1 -1
- package/dist/chunks/{command-v63xgfyn.js → ripgrep-5854x11z.js} +3 -3
- package/dist/chunks/{command-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{command-5fmxt4p5.js → ripgrep-5fmxt4p5.js} +1 -1
- package/dist/chunks/{command-qav3zztn.js → ripgrep-5j9k34kg.js} +23 -23
- package/dist/chunks/{command-5jvc5tg2.js → ripgrep-5jvc5tg2.js} +1 -1
- package/dist/chunks/{command-x0pd42vp.js → ripgrep-5rpr6ky1.js} +19 -19
- package/dist/chunks/{command-ez5b8bq3.js → ripgrep-5sg4xzjf.js} +7 -7
- package/dist/chunks/{command-s1zas8dv.js → ripgrep-5tc0y89d.js} +8 -8
- package/dist/chunks/{command-2p8f7m2b.js → ripgrep-5vqfft53.js} +6 -6
- package/dist/chunks/{command-mhsg1yty.js → ripgrep-5ycc874r.js} +10 -10
- package/dist/chunks/{command-s64tx33c.js → ripgrep-5ygrhnqv.js} +18 -18
- package/dist/chunks/{command-2vaz3fgd.js → ripgrep-67bet904.js} +38 -38
- package/dist/chunks/{command-6z5bwd8g.js → ripgrep-6abnk40k.js} +9 -9
- package/dist/chunks/{command-7vhvnd6j.js → ripgrep-6brqwvd5.js} +86 -86
- package/dist/chunks/{command-8zpj8ga2.js → ripgrep-6m03kfba.js} +6 -6
- package/dist/chunks/{command-4t040z03.js → ripgrep-6pg4jkhc.js} +16 -16
- package/dist/chunks/{command-c26ks60e.js → ripgrep-6skpevf5.js} +24 -24
- package/dist/chunks/{command-6tf8tr4v.js → ripgrep-6tf8tr4v.js} +2 -2
- package/dist/chunks/{command-8npyp30c.js → ripgrep-6w7e9vmm.js} +8 -8
- package/dist/chunks/{command-711hfp6y.js → ripgrep-711hfp6y.js} +2 -2
- package/dist/chunks/{command-pdgqnwae.js → ripgrep-74ey9zf4.js} +21 -21
- package/dist/chunks/{command-e5b0qn1c.js → ripgrep-768z0hjh.js} +1 -1
- package/dist/chunks/{command-ex99dnp9.js → ripgrep-76wr4mq2.js} +9 -9
- package/dist/chunks/{command-rzhgj3wg.js → ripgrep-78dqkwkk.js} +20 -20
- package/dist/chunks/{command-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-avf2gxwn.js → ripgrep-7d35953p.js} +23 -23
- package/dist/chunks/{command-w16pqxss.js → ripgrep-7dwcteqq.js} +19 -19
- package/dist/chunks/{command-zqj49qgm.js → ripgrep-7k0jwsa3.js} +32 -32
- package/dist/chunks/{command-vedqaezr.js → ripgrep-7kgtsxjw.js} +4 -4
- package/dist/chunks/{command-w21nff9d.js → ripgrep-7me1svnr.js} +28 -28
- package/dist/chunks/{command-vbr4w0aw.js → ripgrep-7pkp8xq8.js} +27 -27
- package/dist/chunks/{command-r9hy8h05.js → ripgrep-7qnza9rw.js} +5 -5
- package/dist/chunks/{command-9rem8hjd.js → ripgrep-7wyfdtz8.js} +11 -11
- package/dist/chunks/{command-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/ripgrep-7zk4hah4.js +4 -0
- package/dist/chunks/{command-ha4v9y42.js → ripgrep-8h6vxt8w.js} +13 -13
- package/dist/chunks/{command-7nbw4m6q.js → ripgrep-8j688k7y.js} +15 -15
- package/dist/chunks/{command-s41xc0fx.js → ripgrep-8ksg784e.js} +6 -6
- package/dist/chunks/{command-4jcgzkct.js → ripgrep-8xm2e362.js} +17 -17
- package/dist/chunks/{command-mxppkm1b.js → ripgrep-8xptgnz1.js} +31 -31
- package/dist/chunks/{command-48h7as0e.js → ripgrep-91q12184.js} +15 -15
- package/dist/chunks/{command-93a8yfjt.js → ripgrep-93a8yfjt.js} +2 -2
- package/dist/chunks/{command-nxbchyd1.js → ripgrep-96bmt5xb.js} +15 -15
- package/dist/chunks/{command-dxvz0qx6.js → ripgrep-9fpwc135.js} +13 -13
- package/dist/chunks/{command-megebd3a.js → ripgrep-9hhgj58j.js} +6 -6
- package/dist/chunks/{command-5k3f87xj.js → ripgrep-9pfqepek.js} +3 -3
- package/dist/chunks/{command-9qm9egsn.js → ripgrep-9qm9egsn.js} +2 -2
- package/dist/chunks/{command-mw9mt08r.js → ripgrep-9vbhqqdq.js} +25 -25
- package/dist/chunks/{command-ght27my6.js → ripgrep-9whdxbg9.js} +18 -18
- package/dist/chunks/{command-4ct4f13p.js → ripgrep-9z5bj76v.js} +18 -18
- package/dist/chunks/ripgrep-a21023rp.js +22 -0
- package/dist/chunks/{command-nkpkrkfc.js → ripgrep-a4f478em.js} +50 -50
- package/dist/chunks/{command-hzecryb5.js → ripgrep-a8mkyf75.js} +12 -12
- package/dist/chunks/{command-hjrjbgez.js → ripgrep-aa3g7qm9.js} +5 -5
- package/dist/chunks/{command-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{command-rmy3e5eg.js → ripgrep-aj7d9r5a.js} +3 -3
- package/dist/chunks/{command-ajtjthsy.js → ripgrep-ajtjthsy.js} +2 -2
- package/dist/chunks/{command-6h414ywr.js → ripgrep-awqyf91x.js} +5 -5
- package/dist/chunks/{command-zk6hkb9n.js → ripgrep-b0tdp1rr.js} +32 -32
- package/dist/chunks/ripgrep-b52w4pfb.js +20 -0
- package/dist/chunks/{command-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-3q0nngn9.js → ripgrep-b9pt6hex.js} +6 -6
- package/dist/chunks/{command-b9wsbatv.js → ripgrep-b9wsbatv.js} +1 -1
- package/dist/chunks/{command-rx0dsajq.js → ripgrep-bbxy1t52.js} +9 -9
- package/dist/chunks/{command-77tfyndb.js → ripgrep-bdmzwyaa.js} +9 -9
- package/dist/chunks/{command-3q60g5tw.js → ripgrep-bge6q0dt.js} +26 -26
- package/dist/chunks/{command-g8p4v1rh.js → ripgrep-bnc2083e.js} +5 -5
- package/dist/chunks/{command-3vdwy4mz.js → ripgrep-bvn2enxy.js} +10 -10
- package/dist/chunks/{command-4p3f57ee.js → ripgrep-bxrqv5tf.js} +11 -11
- package/dist/chunks/{command-zmnepbn3.js → ripgrep-by2d8rp5.js} +7 -7
- package/dist/chunks/{command-e0nkwt9z.js → ripgrep-che8skc9.js} +4 -4
- package/dist/chunks/{command-g41n1fn3.js → ripgrep-d1a1bt21.js} +5 -5
- package/dist/chunks/{command-bp4zbqtd.js → ripgrep-d36vjxce.js} +5 -5
- package/dist/chunks/{command-d72308c8.js → ripgrep-d72308c8.js} +2 -2
- package/dist/chunks/{command-4qs4g79n.js → ripgrep-dhkrg1xs.js} +43 -43
- package/dist/chunks/{command-67nkcjnx.js → ripgrep-dqwhaazx.js} +15 -15
- package/dist/chunks/{command-natwdt6v.js → ripgrep-ds0aszyw.js} +29 -29
- package/dist/chunks/{command-q8rpcfw0.js → ripgrep-dy5g39ka.js} +8 -8
- package/dist/chunks/{command-0ez61b8c.js → ripgrep-e1hrx4vk.js} +2 -2
- package/dist/chunks/{command-zzjwypeh.js → ripgrep-e8zgvj34.js} +6 -6
- package/dist/chunks/{command-x4f0ty3q.js → ripgrep-em5rm6ec.js} +10 -10
- package/dist/chunks/{command-bc0bp3re.js → ripgrep-eqpzyj2r.js} +8 -8
- package/dist/chunks/{command-n5gana85.js → ripgrep-ev2yz940.js} +25 -25
- package/dist/chunks/{command-qhdhv0w2.js → ripgrep-ewww49mf.js} +15 -15
- package/dist/chunks/{command-0ptrrsjf.js → ripgrep-eyfhpjry.js} +22 -22
- package/dist/chunks/{command-jwcy2c2z.js → ripgrep-f0nz223j.js} +4 -4
- package/dist/chunks/{command-jc31v14r.js → ripgrep-f1yhq58f.js} +9 -9
- package/dist/chunks/{command-1m2qxpbx.js → ripgrep-fggsr9ap.js} +9 -9
- package/dist/chunks/{command-ne4gjgk6.js → ripgrep-fjxg2ary.js} +13 -13
- package/dist/chunks/{command-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-fxypknc8.js → ripgrep-fxypknc8.js} +1 -1
- package/dist/chunks/{command-drn755cb.js → ripgrep-fyy0s8gy.js} +40 -40
- package/dist/chunks/{command-h2st8tcp.js → ripgrep-fz4jwa6n.js} +4 -4
- package/dist/chunks/{command-k5kpsmwm.js → ripgrep-g3z0m5pf.js} +16 -16
- package/dist/chunks/{command-bc8zabkg.js → ripgrep-g5ezvv16.js} +8 -8
- package/dist/chunks/{command-g7csxrs7.js → ripgrep-g7csxrs7.js} +4 -4
- package/dist/chunks/{command-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-4y9deqpk.js → ripgrep-gjhar930.js} +24 -24
- package/dist/chunks/{command-ehkcz9nm.js → ripgrep-gwszgtmr.js} +28 -28
- package/dist/chunks/{command-pcednt3p.js → ripgrep-gye7vvze.js} +42 -42
- package/dist/chunks/{command-rqajaxax.js → ripgrep-h4b9wg2c.js} +166 -166
- package/dist/chunks/{command-y3kam97a.js → ripgrep-h5hj52e4.js} +37 -37
- package/dist/chunks/{command-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-vvhr8ap4.js → ripgrep-hb1mzqn1.js} +21 -21
- package/dist/chunks/{command-3wfq9j39.js → ripgrep-hcdssky2.js} +12 -12
- package/dist/chunks/{command-e5rv1qf4.js → ripgrep-heem8ggn.js} +15 -15
- package/dist/chunks/{command-heyhwy2w.js → ripgrep-heyhwy2w.js} +1 -1
- package/dist/chunks/{command-p5d8w6vs.js → ripgrep-hhmxjvcb.js} +31 -31
- package/dist/chunks/{command-2qan6xse.js → ripgrep-hkvmnyc2.js} +33 -33
- package/dist/chunks/{command-hbwagpks.js → ripgrep-hpg5nh6v.js} +11 -11
- package/dist/chunks/{command-hrvm11jt.js → ripgrep-hrvm11jt.js} +3 -3
- package/dist/chunks/{command-thfv75je.js → ripgrep-je9hks3h.js} +5 -5
- package/dist/chunks/{command-7rsx16tt.js → ripgrep-jjtbt1qg.js} +10 -10
- package/dist/chunks/{command-xqsy6kp0.js → ripgrep-jnmmvqjs.js} +1 -1
- package/dist/chunks/{command-nakmymdz.js → ripgrep-jnypjjjz.js} +58 -58
- package/dist/chunks/{command-gzd7t3bg.js → ripgrep-js6asbw1.js} +4 -4
- package/dist/chunks/{command-xynvqm4b.js → ripgrep-jt44cnxn.js} +17 -17
- package/dist/chunks/{command-k4bwy1x5.js → ripgrep-k4bwy1x5.js} +1 -1
- package/dist/chunks/{command-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
- package/dist/chunks/{command-7ym5twnq.js → ripgrep-km4669cs.js} +43 -43
- package/dist/chunks/{command-kvsjn1dr.js → ripgrep-kvsjn1dr.js} +2 -2
- package/dist/chunks/{command-mv1gp3nd.js → ripgrep-kw4j1pbq.js} +34 -34
- package/dist/chunks/{command-2w9k586s.js → ripgrep-kxjsfdz8.js} +24 -24
- package/dist/chunks/{command-4rpnxrre.js → ripgrep-m21v4znd.js} +48 -48
- package/dist/chunks/{command-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-jvh9gk2c.js → ripgrep-ma5tpqfg.js} +25 -25
- package/dist/chunks/{command-4hj13xk2.js → ripgrep-mbc5mvmj.js} +6 -6
- package/dist/chunks/{command-1wndzdy1.js → ripgrep-mcqq6vbh.js} +28 -28
- package/dist/chunks/{command-mtcjf44p.js → ripgrep-mtcjf44p.js} +1 -1
- package/dist/chunks/{command-vw50vsx1.js → ripgrep-mv8wgq99.js} +14 -14
- package/dist/chunks/{command-j3v7m4b4.js → ripgrep-my77j7pt.js} +7 -7
- package/dist/chunks/{command-qr1qsn5r.js → ripgrep-n7wjrxzb.js} +16 -16
- package/dist/chunks/{command-7w3s9kd0.js → ripgrep-nca7p386.js} +4 -4
- package/dist/chunks/{command-f18yxx57.js → ripgrep-nevxv2d6.js} +9 -9
- package/dist/chunks/ripgrep-nfxm2j3p.js +243 -0
- package/dist/chunks/{command-60q8mcwp.js → ripgrep-nmgddbg4.js} +8 -8
- package/dist/chunks/{command-wsdbxk0t.js → ripgrep-nv4gk3n9.js} +7 -7
- package/dist/chunks/{command-wgxn7ww3.js → ripgrep-nw80mg4a.js} +4 -4
- package/dist/chunks/{command-9b3160jy.js → ripgrep-nzkt02mj.js} +9 -9
- package/dist/chunks/{command-m1annk93.js → ripgrep-p1zz6beh.js} +9 -9
- package/dist/chunks/{command-9qj8fy7h.js → ripgrep-p325kmej.js} +9 -9
- package/dist/chunks/{command-mt8fk037.js → ripgrep-p3szxjdh.js} +31 -31
- package/dist/chunks/{command-z2bjgnfj.js → ripgrep-pdtadr89.js} +14 -14
- package/dist/chunks/{command-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{command-pdae5shs.js → ripgrep-pkxk1635.js} +11 -11
- package/dist/chunks/{command-5w9qjdt3.js → ripgrep-pr9h59nx.js} +4 -4
- package/dist/chunks/{command-s3eqpch7.js → ripgrep-pt7wq7x0.js} +1 -1
- package/dist/chunks/{command-7k848sc6.js → ripgrep-pwtwj0bs.js} +27 -27
- package/dist/chunks/{command-1n22b4te.js → ripgrep-pxst6xf4.js} +11 -11
- package/dist/chunks/{command-cjy05afp.js → ripgrep-q1wfyw2p.js} +22 -22
- package/dist/chunks/{command-854ca1e8.js → ripgrep-q5j29kx8.js} +24 -24
- package/dist/chunks/{command-qgn6gcr1.js → ripgrep-qgn6gcr1.js} +1 -1
- package/dist/chunks/{command-86s3977f.js → ripgrep-qs4avvkb.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{command-tnsej14z.js → ripgrep-qyh9kz4d.js} +24 -24
- package/dist/chunks/{command-df9bnbjn.js → ripgrep-qzyjhkhb.js} +9 -9
- package/dist/chunks/{command-tj4a33e3.js → ripgrep-r1j3nz9t.js} +38 -38
- package/dist/chunks/{command-k6s5w27h.js → ripgrep-r1rbm2q7.js} +10 -10
- package/dist/chunks/{command-4sjd4f28.js → ripgrep-r4e8mhdp.js} +11 -11
- package/dist/chunks/{command-r8dhm0tv.js → ripgrep-r8dhm0tv.js} +1 -1
- package/dist/chunks/{command-3zxznrdw.js → ripgrep-rgv1ms02.js} +30 -30
- package/dist/chunks/{command-84gdxzwd.js → ripgrep-rk27q5w5.js} +8 -8
- package/dist/chunks/{command-cy3cnjq8.js → ripgrep-rkbnrd1t.js} +4 -4
- package/dist/chunks/{command-578j1xdj.js → ripgrep-rmha8y3b.js} +7 -7
- package/dist/chunks/{command-4z6b0fg6.js → ripgrep-rvb2zp0m.js} +6 -6
- package/dist/chunks/{command-yxwewdw9.js → ripgrep-rwzmbvvc.js} +9 -9
- package/dist/chunks/{command-1bdhjw18.js → ripgrep-ryr6cb0z.js} +5 -5
- package/dist/chunks/{command-sba4qhjf.js → ripgrep-sba4qhjf.js} +1 -1
- package/dist/chunks/{command-1z9d9trm.js → ripgrep-sczbbc3q.js} +11 -11
- package/dist/chunks/{command-9ym4a5yt.js → ripgrep-sdzmedwm.js} +21 -21
- package/dist/chunks/{command-fbfj6zdn.js → ripgrep-sh8ph4n7.js} +4 -4
- package/dist/chunks/{command-j57dr7w8.js → ripgrep-sqpx7b0d.js} +27 -27
- package/dist/chunks/{command-kx2gvdct.js → ripgrep-sxhwk0c0.js} +4 -4
- package/dist/chunks/{command-1eb7zprr.js → ripgrep-t4jvr5wy.js} +5 -5
- package/dist/chunks/{command-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-55yvdk0c.js → ripgrep-tdz2d0bf.js} +11 -11
- package/dist/chunks/{command-6dbg2gn2.js → ripgrep-tfvhtj86.js} +39 -39
- package/dist/chunks/{command-tjykrgmx.js → ripgrep-tjykrgmx.js} +1 -1
- package/dist/chunks/{command-s0fzeym9.js → ripgrep-tnsd1rs6.js} +10 -10
- package/dist/chunks/{command-52v0cq2v.js → ripgrep-tp7tf7xy.js} +11 -11
- package/dist/chunks/{command-dqwszdkc.js → ripgrep-tppvcy65.js} +9 -9
- package/dist/chunks/{command-zpgxjj6y.js → ripgrep-tq2fd8r9.js} +16 -16
- package/dist/chunks/{command-45kzw0p8.js → ripgrep-txm2bbyw.js} +10 -10
- package/dist/chunks/{command-ajeyjrs8.js → ripgrep-vakdx653.js} +6 -6
- package/dist/chunks/{command-j83byb14.js → ripgrep-ve4pfa0n.js} +4 -4
- package/dist/chunks/{command-c5rwfbwf.js → ripgrep-vfqqmq4r.js} +22 -22
- package/dist/chunks/{command-c28brx2k.js → ripgrep-vn1zxxz9.js} +6 -6
- package/dist/chunks/{command-18v0n603.js → ripgrep-vrnz0jpz.js} +20 -20
- package/dist/chunks/{command-rgks3f05.js → ripgrep-vyjva4w2.js} +8 -8
- package/dist/chunks/{command-rxsvjy6j.js → ripgrep-w18traxp.js} +29 -29
- package/dist/chunks/{command-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-jn88vsgf.js → ripgrep-w525msx4.js} +27 -27
- package/dist/chunks/{command-p4b86tx8.js → ripgrep-w8f6gg2r.js} +6 -6
- package/dist/chunks/{command-8f30jcen.js → ripgrep-w97cb5cg.js} +17 -17
- package/dist/chunks/{command-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{command-gpp6afyt.js → ripgrep-wg31t6sj.js} +22 -22
- package/dist/chunks/{command-s631mnhv.js → ripgrep-wjdcppan.js} +22 -22
- package/dist/chunks/{command-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-mh85gtv1.js → ripgrep-xsfpm1p4.js} +11 -11
- package/dist/chunks/{command-ag4rn41e.js → ripgrep-xw0r27ex.js} +4 -4
- package/dist/chunks/{command-5rw6je3s.js → ripgrep-xxz5bf5t.js} +3 -3
- package/dist/chunks/{command-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-p8vd7n39.js → ripgrep-y6yv2n5p.js} +18 -18
- package/dist/chunks/{command-3wbgnpam.js → ripgrep-ybt0syy4.js} +21 -21
- package/dist/chunks/{command-yfbd16n1.js → ripgrep-yfbd16n1.js} +2 -2
- package/dist/chunks/{command-c80ydkjz.js → ripgrep-ytezje8q.js} +46 -46
- package/dist/chunks/{command-z1k01bn4.js → ripgrep-z1k01bn4.js} +2 -2
- package/dist/chunks/{command-djtdz80w.js → ripgrep-z3xgatyd.js} +4 -4
- package/dist/chunks/{command-npkajqde.js → ripgrep-z8wxwp11.js} +18 -18
- package/dist/chunks/{command-zn2pq4p8.js → ripgrep-zajwd6at.js} +5 -5
- package/dist/chunks/{command-qfnycs03.js → ripgrep-zc06qzv2.js} +11 -11
- package/dist/chunks/{command-tz2h76xm.js → ripgrep-zgnmmxh6.js} +11 -11
- package/dist/chunks/{command-0yrmd491.js → ripgrep-zj3wcxn0.js} +14 -14
- package/dist/chunks/{command-ekmzxrqe.js → ripgrep-ztm1zg4x.js} +8 -8
- package/dist/chunks/{command-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-4k07pfeq.js → ripgrep-zytde4j9.js} +9 -9
- package/dist/chunks/{command-qbhkz4mz.js → ripgrep-zzz6jtjg.js} +36 -36
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +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 +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- 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 +114 -114
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +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 +1 -1
- 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 +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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +96 -96
- 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 +83 -83
- package/dist/model.js +8 -8
- 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 +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- 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 +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +74 -74
- 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 +125 -125
- 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 +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- 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 +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 +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +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 +13 -13
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +110 -110
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- 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 +75 -75
- package/dist/workspace/driver.js +5 -5
- 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/command-9sh4wc5j.js +0 -18
- package/dist/chunks/command-csvvt798.js +0 -22
- package/dist/chunks/command-f4j0pa50.js +0 -4
- package/dist/chunks/command-qgqmyz30.js +0 -243
- package/dist/chunks/command-y092mk2a.js +0 -20
- /package/dist/chunks/{command-0fabt78z.js → ripgrep-0fabt78z.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t738kvx.js → ripgrep-3t738kvx.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-41nvscxy.js → ripgrep-41nvscxy.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-982e01ww.js → ripgrep-982e01ww.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → ripgrep-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mntxs535.js → ripgrep-mntxs535.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p8qxwesx.js → ripgrep-p8qxwesx.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-se0s1eqw.js → ripgrep-se0s1eqw.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x1b8g1yb.js → ripgrep-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zbjnn3ac.js → ripgrep-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rvb2zp0m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./ripgrep-r4e8mhdp.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-e1hrx4vk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref3
|
|
20
|
+
} from "./ripgrep-hcdssky2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service59,
|
|
24
|
+
node61
|
|
25
|
+
} from "./ripgrep-7pkp8xq8.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service58,
|
|
28
|
+
node60
|
|
29
|
+
} from "./ripgrep-bge6q0dt.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service48,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
41
41
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
42
42
|
fromCatalogModel: () => fromCatalogModel2,
|
|
43
43
|
hasPackage: () => hasPackage2,
|
|
44
44
|
layer: () => layer18,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node50,
|
|
46
46
|
resolveModel: () => resolveModel2,
|
|
47
47
|
withVariant: () => withVariant2
|
|
48
48
|
});
|
|
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
|
|
|
52
52
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
53
53
|
import { Npm } from "@opencode-ai/util/npm";
|
|
54
54
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
55
|
-
providerID:
|
|
56
|
-
modelID:
|
|
55
|
+
providerID: ID16,
|
|
56
|
+
modelID: ID14,
|
|
57
57
|
variant: VariantID2
|
|
58
58
|
}) {
|
|
59
59
|
get message() {
|
|
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
65
|
-
providerID:
|
|
66
|
-
modelID:
|
|
65
|
+
providerID: ID16,
|
|
66
|
+
modelID: ID14,
|
|
67
67
|
package: Schema.String
|
|
68
68
|
}) {
|
|
69
69
|
get message() {
|
|
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
75
|
-
providerID:
|
|
76
|
-
modelID:
|
|
75
|
+
providerID: ID16,
|
|
76
|
+
modelID: ID14,
|
|
77
77
|
variables: Schema.Array(Schema.String)
|
|
78
78
|
}) {
|
|
79
79
|
get message() {
|
|
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service48 extends Context.Service()("@opencode/ModelResolver") {
|
|
85
85
|
}
|
|
86
86
|
var withVariant2 = (model, variantID) => {
|
|
87
87
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
203
203
|
});
|
|
204
204
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
205
205
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
206
|
-
var layer18 = Layer.effect(
|
|
207
|
-
const catalog = yield*
|
|
208
|
-
const integrations = yield*
|
|
206
|
+
var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
207
|
+
const catalog = yield* Service58;
|
|
208
|
+
const integrations = yield* Service59;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service50;
|
|
211
211
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
212
212
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
213
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
213
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID11.make(selected.providerID));
|
|
214
214
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
215
215
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
216
216
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -220,7 +220,7 @@ var layer18 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
220
220
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
221
221
|
return {
|
|
222
222
|
model: runtime,
|
|
223
|
-
ref:
|
|
223
|
+
ref: Ref3.make({
|
|
224
224
|
id: selected.id,
|
|
225
225
|
providerID: selected.providerID,
|
|
226
226
|
...variant === undefined ? {} : { variant }
|
|
@@ -230,7 +230,7 @@ var layer18 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service48.of({
|
|
234
234
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
235
235
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
236
236
|
if (!selected)
|
|
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
247
247
|
const name = packageName2(packageName);
|
|
248
248
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
|
|
249
249
|
}
|
|
250
|
-
var
|
|
251
|
-
service:
|
|
250
|
+
var node50 = makeLocationNode({
|
|
251
|
+
service: Service48,
|
|
252
252
|
layer: layer18,
|
|
253
|
-
deps: [
|
|
253
|
+
deps: [node60, node61, Npm.node, node52]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node50, exports_model_resolver };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./ripgrep-xsfpm1p4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node82
|
|
8
|
+
} from "./ripgrep-pkxk1635.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/credential.ts
|
|
17
17
|
var exports_credential = {};
|
|
18
18
|
__export(exports_credential, {
|
|
19
19
|
Credential: () => exports_credential,
|
|
20
20
|
Event: () => Event19,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
21
|
+
ID: () => ID15,
|
|
22
|
+
Info: () => Info28,
|
|
23
23
|
Key: () => Key4,
|
|
24
24
|
OAuth: () => OAuth3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service72,
|
|
26
26
|
Value: () => Value2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node75
|
|
28
28
|
});
|
|
29
29
|
import { asc, desc, eq } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
32
32
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
34
|
-
var
|
|
34
|
+
var ID15 = Credential.ID;
|
|
35
35
|
var OAuth3 = Credential.OAuth;
|
|
36
36
|
var Key4 = Credential.Key;
|
|
37
37
|
var Value2 = Credential.Value;
|
|
38
38
|
var Event19 = Credential.Event;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
41
|
+
id: ID15,
|
|
42
42
|
integrationID: Integration.ID,
|
|
43
43
|
label: Schema.String,
|
|
44
44
|
value: Value2
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service72 extends Context.Service()("@opencode/Credential") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
51
51
|
const db = (yield* Service80).db;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
53
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
54
54
|
const stored = (row) => {
|
|
55
55
|
if (!row.integration_id)
|
|
56
56
|
return;
|
|
57
|
-
return new
|
|
57
|
+
return new Info28({
|
|
58
58
|
id: row.id,
|
|
59
59
|
integrationID: row.integration_id,
|
|
60
60
|
label: row.label,
|
|
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
65
65
|
const credential = stored(row);
|
|
66
66
|
return credential ? [credential] : [];
|
|
67
67
|
});
|
|
68
|
-
return
|
|
68
|
+
return Service72.of({
|
|
69
69
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
70
70
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
71
71
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -73,8 +73,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
73
73
|
return row ? stored(row) : undefined;
|
|
74
74
|
}),
|
|
75
75
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
76
|
-
const credential = new
|
|
77
|
-
id:
|
|
76
|
+
const credential = new Info28({
|
|
77
|
+
id: ID15.create(),
|
|
78
78
|
integrationID: input.integrationID,
|
|
79
79
|
label: input.label ?? "default",
|
|
80
80
|
value: input.value
|
|
@@ -148,6 +148,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
}));
|
|
151
|
-
var
|
|
151
|
+
var node75 = makeGlobalNode({ service: Service72, layer, deps: [node83, node82] });
|
|
152
152
|
|
|
153
|
-
export {
|
|
153
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info28, Service72, node75, exports_credential };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./ripgrep-rvb2zp0m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID14,
|
|
16
|
+
Info: () => Info27,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref3,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode-ai/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID14 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref3 = Model.Ref;
|
|
33
|
+
var Info27 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info27, compatibility2, parse5, exports_model2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node76
|
|
4
|
+
} from "./ripgrep-8xm2e362.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-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: () => Service16,
|
|
17
|
+
node: () => node18
|
|
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 Service16 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service73;
|
|
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(Service53, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service16.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node18 = makeLocationNode({
|
|
91
|
+
service: Service16,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node76, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service16, node18, exports_formatter2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./ripgrep-8xm2e362.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service17
|
|
10
|
+
} from "./ripgrep-tq2fd8r9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service45
|
|
13
|
+
} from "./ripgrep-a4f478em.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service10
|
|
16
|
+
} from "./ripgrep-4h7t20e0.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./ripgrep-dqwhaazx.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Plugin: () => Plugin20,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name3 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input3 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin20 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service11;
|
|
66
|
+
const mutation = yield* Service17;
|
|
67
|
+
const permission = yield* Service45;
|
|
68
|
+
const sessionInstructions = yield* Service10;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service73;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name3,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input3,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin41 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name3,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin41 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent2 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name3, Input3, Plugin20, toModelContent2, exports_read };
|