@opencode/core 0.0.0-dev-21357 → 0.0.0-dev-21362
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{config-wty6bgg7.js → tool-01rpkdw6.js} +5 -5
- package/dist/chunks/{config-m5s739gf.js → tool-0413hwj4.js} +39 -39
- package/dist/chunks/{config-8m3cssw6.js → tool-073332rd.js} +20 -20
- package/dist/chunks/{config-g31rm23e.js → tool-08vgyj7k.js} +14 -14
- package/dist/chunks/{config-yswgg9qv.js → tool-0976wqw8.js} +18 -18
- package/dist/chunks/{config-wymva24z.js → tool-0j3c2sb1.js} +11 -11
- package/dist/chunks/{config-jcbq9qyv.js → tool-0mcdt3xm.js} +20 -20
- package/dist/chunks/{config-xkzfnk1e.js → tool-0nyyp0wg.js} +14 -14
- package/dist/chunks/{config-qne3fa44.js → tool-0r3c1bmw.js} +5 -5
- package/dist/chunks/{config-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-b0sy7btn.js → tool-0zprb6es.js} +27 -27
- package/dist/chunks/{config-52jgfbpk.js → tool-1fqwyhye.js} +54 -54
- package/dist/chunks/{config-dcm3phq5.js → tool-1pwk8kcs.js} +14 -14
- package/dist/chunks/{config-z8swzr19.js → tool-1rgsmk43.js} +10 -10
- package/dist/chunks/{config-ynmknp8q.js → tool-2ae0q92z.js} +7 -7
- package/dist/chunks/{config-nekmryzb.js → tool-2d2h4qhb.js} +33 -33
- package/dist/chunks/{config-mwfpcask.js → tool-2fpns0sv.js} +30 -30
- package/dist/chunks/{config-5qfavyey.js → tool-2kjm689e.js} +20 -20
- package/dist/chunks/{config-jkcvv5zp.js → tool-2nhcazd0.js} +17 -17
- package/dist/chunks/{config-zevtz36z.js → tool-2s6t35ks.js} +7 -7
- package/dist/chunks/{config-nzxs01ks.js → tool-2t1tfy87.js} +16 -16
- package/dist/chunks/{config-01w2j48t.js → tool-2tny0edy.js} +186 -186
- package/dist/chunks/{config-9r4817sq.js → tool-3493q4kq.js} +17 -17
- package/dist/chunks/{config-p88vvsz3.js → tool-37nhdnh0.js} +4 -4
- package/dist/chunks/{config-g2yfkae0.js → tool-3eneve4b.js} +43 -43
- package/dist/chunks/{config-qpvqe435.js → tool-3f43s8b4.js} +44 -44
- package/dist/chunks/{config-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{config-1h3v5wkf.js → tool-3jt1eddq.js} +60 -60
- package/dist/chunks/{config-qefw6cfz.js → tool-3nmfsz90.js} +14 -14
- package/dist/chunks/{config-9q85pybg.js → tool-3p3jney2.js} +29 -29
- package/dist/chunks/{config-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-15wkt9r0.js → tool-455yydvh.js} +26 -26
- package/dist/chunks/{config-22sd1qqc.js → tool-4e8vs6eh.js} +8 -8
- package/dist/chunks/{config-9b55rd9h.js → tool-4k7jacjp.js} +11 -11
- package/dist/chunks/{config-d9xej2qg.js → tool-4kjbsxnw.js} +4 -4
- package/dist/chunks/tool-4vgve9x2.js +26 -0
- package/dist/chunks/{config-6mg66w46.js → tool-4xcz4xpr.js} +17 -17
- package/dist/chunks/{config-4mwpykj0.js → tool-52hb404k.js} +6 -6
- package/dist/chunks/{config-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{config-3fzp089a.js → tool-58vmr7wj.js} +16 -16
- package/dist/chunks/{config-yz37vbp4.js → tool-5bnha4a9.js} +2 -2
- package/dist/chunks/{config-3nkcb2f7.js → tool-5ee0ck5t.js} +23 -23
- package/dist/chunks/{config-9yy9ab6f.js → tool-5ehgcgpr.js} +44 -44
- package/dist/chunks/{config-vep9yay1.js → tool-5g57z1ma.js} +4 -4
- package/dist/chunks/{config-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{config-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-j3bw3kw0.js → tool-61b1kan1.js} +30 -30
- package/dist/chunks/{config-6827pfxn.js → tool-6827pfxn.js} +1 -1
- package/dist/chunks/{config-e1n9zcw9.js → tool-6efjf592.js} +19 -19
- package/dist/chunks/{config-gxeds83z.js → tool-6kfemk62.js} +51 -51
- package/dist/chunks/{config-m5paqf2g.js → tool-6mbm070j.js} +32 -32
- package/dist/chunks/{config-6pc27hjz.js → tool-6pc27hjz.js} +2 -2
- package/dist/chunks/{config-k850gnf2.js → tool-6tz1jnny.js} +5 -5
- package/dist/chunks/{config-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-bzkayexk.js → tool-6ysb8vkt.js} +22 -22
- package/dist/chunks/{config-bnaqkdcm.js → tool-6zt8z75t.js} +27 -27
- package/dist/chunks/{config-b7an2wpv.js → tool-713g62m8.js} +332 -332
- package/dist/chunks/{config-cpzrm4es.js → tool-76ejvhhr.js} +15 -15
- package/dist/chunks/{config-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{config-15rsdq6e.js → tool-793g28qj.js} +24 -24
- package/dist/chunks/{config-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-8a27v2a9.js → tool-7cnnqjpd.js} +6 -6
- package/dist/chunks/{config-cac2amd6.js → tool-7def0ggy.js} +38 -38
- package/dist/chunks/{config-fcrkznn8.js → tool-7dqw4kz8.js} +5 -5
- package/dist/chunks/{config-7byx5q39.js → tool-7hrceg3g.js} +37 -37
- package/dist/chunks/{config-8rgyadme.js → tool-7k4nsz29.js} +11 -11
- package/dist/chunks/{config-snbmbkyq.js → tool-7kkywtdn.js} +14 -14
- package/dist/chunks/{config-8p4aw0bd.js → tool-7shzd1td.js} +23 -23
- package/dist/chunks/{config-5s9rh5zt.js → tool-7t04q73r.js} +23 -23
- package/dist/chunks/{config-kstnevy1.js → tool-7vjhz70e.js} +3 -3
- package/dist/chunks/{config-5fec3t3w.js → tool-81f7vt2z.js} +8 -8
- package/dist/chunks/{config-x6pefea0.js → tool-82ep1r6s.js} +5 -5
- package/dist/chunks/{config-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{config-w9enybe6.js → tool-86kfezyq.js} +7 -7
- package/dist/chunks/{config-jgmf5dt5.js → tool-88jzmhd2.js} +8 -8
- package/dist/chunks/{config-qvapsqgq.js → tool-8d5fwhns.js} +1 -1
- package/dist/chunks/{config-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-pfgcdf6c.js → tool-8mv6xfqh.js} +5 -5
- package/dist/chunks/{config-8mywswrd.js → tool-8mywswrd.js} +1 -1
- package/dist/chunks/{config-180t97jp.js → tool-8x9ys1f9.js} +19 -19
- package/dist/chunks/{config-12tcmyxx.js → tool-8yapk0fv.js} +29 -29
- package/dist/chunks/{config-r2mahbrd.js → tool-9ay43wn2.js} +21 -21
- package/dist/chunks/{config-9ndxqh6g.js → tool-9eyh9j7p.js} +32 -32
- package/dist/chunks/{config-2s6fx24g.js → tool-9jtmtwne.js} +13 -13
- package/dist/chunks/{config-mtrbqqrq.js → tool-9w4ppqge.js} +5 -5
- package/dist/chunks/{config-jscyxzwk.js → tool-9wjqfw83.js} +4 -4
- package/dist/chunks/{config-7v6vae4w.js → tool-a20pjse5.js} +3 -3
- package/dist/chunks/{config-gn31e51v.js → tool-a5rre0n2.js} +11 -11
- package/dist/chunks/{config-s0dvnttc.js → tool-aawdsyze.js} +4 -4
- package/dist/chunks/{config-dgpsrprm.js → tool-addxnjmp.js} +4 -4
- package/dist/chunks/{config-5epte933.js → tool-arz7hw7x.js} +3 -3
- package/dist/chunks/{config-xd76gghg.js → tool-asd51m7s.js} +91 -91
- package/dist/chunks/{config-nvcb2me1.js → tool-atsf9aqe.js} +11 -11
- package/dist/chunks/{config-52v926c4.js → tool-b14jzmzs.js} +31 -31
- package/dist/chunks/{config-a01j9zgm.js → tool-b4nzaj04.js} +5 -5
- package/dist/chunks/{config-4q9d5zmx.js → tool-b762m4xg.js} +29 -29
- package/dist/chunks/{config-4xdpab2z.js → tool-bacj9t34.js} +9 -9
- package/dist/chunks/{config-bcmq4rdz.js → tool-bdx6mn17.js} +9 -9
- package/dist/chunks/{config-c72jc7ts.js → tool-bec822vs.js} +6 -6
- package/dist/chunks/{config-1ffvrpkg.js → tool-bjx1sjef.js} +6 -6
- package/dist/chunks/{config-y45vxbtn.js → tool-byq8e8jd.js} +11 -11
- package/dist/chunks/{config-1zbharsm.js → tool-bz29cs86.js} +25 -25
- package/dist/chunks/{config-1ep4rre3.js → tool-bzeyqsqd.js} +4 -4
- package/dist/chunks/{config-hqam50bx.js → tool-c3j8ne37.js} +20 -20
- package/dist/chunks/{config-rj3eygr5.js → tool-c41wscbt.js} +2 -2
- package/dist/chunks/{config-mrxs1jjw.js → tool-c7hvxrkm.js} +22 -22
- package/dist/chunks/{config-sa8ekw3f.js → tool-c8ax2afj.js} +2 -2
- package/dist/chunks/{config-e411ahfn.js → tool-cg54xxwj.js} +12 -12
- package/dist/chunks/{config-amaj7c21.js → tool-cg9p582w.js} +9 -9
- package/dist/chunks/{config-qp9tjspb.js → tool-ck0e8gek.js} +20 -20
- package/dist/chunks/{config-ha0sjevb.js → tool-ckjpj2pw.js} +3 -3
- package/dist/chunks/{config-01dnnh97.js → tool-cmcz3sb1.js} +12 -12
- package/dist/chunks/{config-9hn6k4tm.js → tool-cmwkp3r5.js} +8 -8
- package/dist/chunks/{config-amv78yhn.js → tool-cn8yddnn.js} +28 -28
- package/dist/chunks/{config-8ypvz7qz.js → tool-ctd2f7xq.js} +30 -30
- package/dist/chunks/{config-qdm6e7vz.js → tool-cthpwpgv.js} +50 -50
- package/dist/chunks/{config-098mw7j8.js → tool-cw1n2y8y.js} +19 -19
- package/dist/chunks/{config-8qbxhjh4.js → tool-d2ms787s.js} +20 -20
- package/dist/chunks/{config-4ww92429.js → tool-djw0pnbs.js} +87 -87
- package/dist/chunks/{config-rmg23tmx.js → tool-dnc7w57r.js} +14 -14
- package/dist/chunks/{config-0k354qyb.js → tool-dnt051dx.js} +34 -34
- package/dist/chunks/{config-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
- package/dist/chunks/{config-drwq78ky.js → tool-drwq78ky.js} +1 -1
- package/dist/chunks/{config-d7nwkqpz.js → tool-dt8v8cc6.js} +16 -16
- package/dist/chunks/{config-2vvbbmgf.js → tool-dv6fhex8.js} +5 -5
- package/dist/chunks/tool-dxj72tfx.js +18 -0
- package/dist/chunks/{config-zcrspsvn.js → tool-e2hjzebn.js} +4 -4
- package/dist/chunks/{config-nma959mg.js → tool-e80seqcp.js} +3 -3
- package/dist/chunks/{config-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-2n7mj27j.js → tool-ehkcedfy.js} +5 -5
- package/dist/chunks/{config-c1fqxshp.js → tool-es1vcfrp.js} +3 -3
- package/dist/chunks/{config-zs3nsmqd.js → tool-esfwjqg1.js} +13 -13
- package/dist/chunks/{config-6rk0qtx5.js → tool-f5ct3k6s.js} +17 -17
- package/dist/chunks/{config-2tbjjbgs.js → tool-f872t808.js} +20 -20
- package/dist/chunks/{config-f6ssxvba.js → tool-f8fhdr9r.js} +33 -33
- package/dist/chunks/{config-fcy631f0.js → tool-fcy631f0.js} +1 -1
- package/dist/chunks/{config-r2m716tb.js → tool-ft3hqk2c.js} +9 -9
- package/dist/chunks/{config-fxaymqdw.js → tool-fxaymqdw.js} +1 -1
- package/dist/chunks/{config-2y5zvhyc.js → tool-fxs30z0y.js} +22 -22
- package/dist/chunks/{config-zj1j3pwt.js → tool-fxyrfkeq.js} +11 -11
- package/dist/chunks/{config-bjje5kk1.js → tool-g44aby64.js} +17 -17
- package/dist/chunks/{config-50dha6f4.js → tool-g50kefr8.js} +12 -12
- package/dist/chunks/{config-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-7rkcz7sg.js → tool-gftpqfcq.js} +4 -4
- package/dist/chunks/{config-4sgmmrrd.js → tool-gybdh0a0.js} +26 -26
- package/dist/chunks/{config-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-n0f1vr5p.js → tool-hb7c6vf9.js} +13 -13
- package/dist/chunks/{config-tt8gc4fv.js → tool-hbb7npd7.js} +6 -6
- package/dist/chunks/{config-0am8fjdy.js → tool-hbq1mjfv.js} +24 -24
- package/dist/chunks/{config-c6zmkhp3.js → tool-he8dq86x.js} +26 -26
- package/dist/chunks/{config-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{config-eb2d9dj2.js → tool-hjhxarjg.js} +2 -2
- package/dist/chunks/{config-eyh2h61y.js → tool-hqd7seh4.js} +18 -18
- package/dist/chunks/{config-4adxw2q2.js → tool-hxtet8kv.js} +8 -8
- package/dist/chunks/{config-32pxjafj.js → tool-ja6ama36.js} +15 -15
- package/dist/chunks/{config-f04qpyrt.js → tool-jr4tj8tx.js} +23 -23
- package/dist/chunks/{config-z6z398pq.js → tool-jv204pn8.js} +6 -6
- package/dist/chunks/{config-w9qd1epz.js → tool-kq8anxe4.js} +11 -11
- package/dist/chunks/{config-xkyhk0aw.js → tool-krhn2nch.js} +14 -14
- package/dist/chunks/{config-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
- package/dist/chunks/{config-vs4d0xe8.js → tool-m5wnc3h6.js} +15 -15
- package/dist/chunks/{config-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{config-kcz5hpxv.js → tool-mchgfn78.js} +14 -14
- package/dist/chunks/{config-9ph9narp.js → tool-mhbktqx9.js} +11 -11
- package/dist/chunks/{config-0146ehcd.js → tool-mhe84b87.js} +41 -41
- package/dist/chunks/{config-3m8ztwev.js → tool-mhrn1b6p.js} +49 -49
- package/dist/chunks/{config-e7pp2s8c.js → tool-mmwmp5se.js} +9 -9
- package/dist/chunks/{config-5pt2mcnr.js → tool-mn1waazh.js} +37 -37
- package/dist/chunks/{config-y06s3qmd.js → tool-myq527w7.js} +24 -24
- package/dist/chunks/{config-xsyaf836.js → tool-mzrjd0cd.js} +11 -11
- package/dist/chunks/{config-11dqjexa.js → tool-n37c4crj.js} +9 -9
- package/dist/chunks/{config-ba4pvmzc.js → tool-n4rwe75z.js} +47 -47
- package/dist/chunks/{config-tgnctp9w.js → tool-nd7csjtk.js} +13 -13
- package/dist/chunks/{config-cgsh41s3.js → tool-nj4kxd9v.js} +45 -45
- package/dist/chunks/{config-v13b12ef.js → tool-nz56sr1f.js} +5 -5
- package/dist/chunks/{config-skhmt099.js → tool-p19xwqz2.js} +9 -9
- package/dist/chunks/{config-hbkz9y4g.js → tool-p1ayhfez.js} +13 -13
- package/dist/chunks/{config-8jqzjjgp.js → tool-p56jdh79.js} +1 -1
- package/dist/chunks/{config-czx6xwt7.js → tool-p9e5fkyj.js} +16 -16
- package/dist/chunks/{config-t8x95368.js → tool-pc58ekcv.js} +11 -11
- package/dist/chunks/{config-tj1mb8k7.js → tool-pd6tx8e2.js} +19 -19
- package/dist/chunks/{config-dj68pnee.js → tool-ph842b28.js} +4 -4
- package/dist/chunks/{config-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{config-mpk95cj2.js → tool-pz07xgh4.js} +9 -9
- package/dist/chunks/{config-f04b7fkv.js → tool-q2dz4afa.js} +27 -27
- package/dist/chunks/{config-0ryw2dh8.js → tool-q846csbm.js} +21 -21
- package/dist/chunks/{config-vpdhx3rn.js → tool-q8nrjm55.js} +10 -10
- package/dist/chunks/{config-a2ew8a62.js → tool-qa3qhgw8.js} +4 -4
- package/dist/chunks/{config-yt2d26s8.js → tool-qdqb97nm.js} +13 -13
- package/dist/chunks/{config-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{config-3v7yvdjz.js → tool-qnw1j25x.js} +21 -21
- package/dist/chunks/{config-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{config-gnnqajqc.js → tool-r1rfp8t8.js} +8 -8
- package/dist/chunks/{config-by382cv3.js → tool-r7epa8w9.js} +10 -10
- package/dist/chunks/{config-qc37ryp5.js → tool-rdsy7yvm.js} +14 -14
- package/dist/chunks/{config-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-zg7zaxa7.js → tool-rf0v5n98.js} +31 -31
- package/dist/chunks/{config-0gdmqesm.js → tool-rhjbct0v.js} +4 -4
- package/dist/chunks/{config-vt49cx54.js → tool-rk2kcxcc.js} +18 -18
- package/dist/chunks/{config-cj7b5bvp.js → tool-rmc73zzm.js} +24 -24
- package/dist/chunks/{config-e8gmhsy9.js → tool-rns4py0f.js} +74 -74
- package/dist/chunks/{config-qap5887j.js → tool-rpvr12zk.js} +15 -15
- package/dist/chunks/{config-n6jsk7we.js → tool-rwasyrp5.js} +43 -43
- package/dist/chunks/{config-fw181sc9.js → tool-ry6831an.js} +9 -9
- package/dist/chunks/{config-9qgvjr2e.js → tool-s1d318ea.js} +3 -3
- package/dist/chunks/{config-4ywq529d.js → tool-s23kegdt.js} +9 -9
- package/dist/chunks/{config-b89refpb.js → tool-s8n8peb1.js} +4 -4
- package/dist/chunks/{config-c53xjpva.js → tool-stcs9p48.js} +6 -6
- package/dist/chunks/{config-z88jw627.js → tool-stf95kdk.js} +6 -6
- package/dist/chunks/{config-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{config-p4g5r354.js → tool-t5pnv4sj.js} +32 -32
- package/dist/chunks/{config-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{config-r5d9wbyh.js → tool-tehwna3t.js} +7 -7
- package/dist/chunks/{config-rert0e01.js → tool-tkb22qbm.js} +2 -2
- package/dist/chunks/{config-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
- package/dist/chunks/{config-f4kwc7sz.js → tool-trj535fm.js} +3 -3
- package/dist/chunks/{config-7rsqhaa1.js → tool-twben05b.js} +12 -12
- package/dist/chunks/{config-f8e526k5.js → tool-txssyqt7.js} +6 -6
- package/dist/chunks/{config-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{config-g5yn26t0.js → tool-tzs5ptya.js} +11 -11
- package/dist/chunks/{config-ywwy23a8.js → tool-v210v162.js} +9 -9
- package/dist/chunks/{config-11pezjhg.js → tool-v56xwjn6.js} +35 -35
- package/dist/chunks/{config-6drhhcgp.js → tool-v5e4b0wx.js} +18 -18
- package/dist/chunks/{config-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{config-0xqyf95c.js → tool-v7z2bvyd.js} +4 -4
- package/dist/chunks/{config-2dryst3t.js → tool-vbrars45.js} +8 -8
- package/dist/chunks/{config-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{config-g80172w6.js → tool-vmdagwb0.js} +19 -19
- package/dist/chunks/{config-jge05sef.js → tool-vnn07649.js} +3 -3
- package/dist/chunks/{config-edj4339e.js → tool-vvzbhhck.js} +4 -4
- package/dist/chunks/{config-5n3frxbd.js → tool-vw63prre.js} +10 -10
- package/dist/chunks/{config-fvwy1vyc.js → tool-vx00tebk.js} +4 -4
- package/dist/chunks/{config-ybacsgwy.js → tool-vymc59vb.js} +35 -35
- package/dist/chunks/{config-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-t364h0ga.js → tool-w4sgd07z.js} +25 -25
- package/dist/chunks/{config-jzd62m09.js → tool-w73xcbgf.js} +15 -15
- package/dist/chunks/{config-g3fevjja.js → tool-w9sgbs7k.js} +22 -22
- package/dist/chunks/{config-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{config-57myy5jh.js → tool-wh6zw745.js} +5 -5
- package/dist/chunks/{config-5ve7jj82.js → tool-wjapg7ww.js} +5 -5
- package/dist/chunks/{config-ffxepqpn.js → tool-wpafx981.js} +23 -23
- package/dist/chunks/{config-y0ce904t.js → tool-wpj6vp23.js} +26 -26
- package/dist/chunks/{config-3hpw86qk.js → tool-wss5z80w.js} +5 -5
- package/dist/chunks/{config-w3h4062d.js → tool-wy45m17f.js} +2 -2
- package/dist/chunks/{config-63ak3stf.js → tool-x3jgdmpg.js} +8 -8
- package/dist/chunks/{config-x7c6yhp3.js → tool-x4c1mtyt.js} +15 -15
- package/dist/chunks/{config-wezx3yaj.js → tool-xag3qx04.js} +17 -17
- package/dist/chunks/{config-ys7bpb1s.js → tool-xr8wmf3z.js} +16 -16
- package/dist/chunks/tool-xrbvcvxz.js +257 -0
- package/dist/chunks/{config-v9km43zh.js → tool-xsft43nm.js} +50 -50
- package/dist/chunks/{config-kxkke69v.js → tool-xypd4wdp.js} +9 -9
- package/dist/chunks/{config-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-ykgnd92y.js → tool-yb5r4v0q.js} +12 -12
- package/dist/chunks/{config-nn3p50dy.js → tool-yh238p43.js} +22 -22
- package/dist/chunks/{config-vn2b5ja7.js → tool-ypcn87gg.js} +13 -13
- package/dist/chunks/{config-y72zmemf.js → tool-yvvvp4gn.js} +8 -8
- package/dist/chunks/{config-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-z18fegx4.js → tool-z18fegx4.js} +1 -1
- package/dist/chunks/{config-0q3gqcca.js → tool-z629hdve.js} +5 -5
- package/dist/chunks/{config-9c366hpc.js → tool-z9hatdac.js} +12 -12
- package/dist/chunks/{config-cja2h5j5.js → tool-zc68hza3.js} +22 -22
- package/dist/chunks/{config-z348g6gc.js → tool-zgha0hsw.js} +23 -23
- package/dist/chunks/{config-x9z4gqn5.js → tool-zkaac646.js} +10 -10
- package/dist/chunks/{config-esa7kqcn.js → tool-zkkgz3mx.js} +18 -18
- package/dist/chunks/{config-r19d657x.js → tool-zpfaeg84.js} +30 -30
- package/dist/chunks/{config-2c9v7a19.js → tool-zr0b5yc7.js} +16 -16
- package/dist/chunks/{config-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-9r3hany2.js → tool-ztyv0636.js} +28 -28
- package/dist/chunks/{config-av20eqx4.js → tool-zwevc33g.js} +11 -11
- package/dist/chunks/{config-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-kz72sk14.js → tool-zyx4ag0r.js} +30 -30
- package/dist/chunks/{config-p6tf2z3c.js → tool-zz29nx1c.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +74 -74
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +87 -87
- 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 +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/config-619r8v3y.js +0 -18
- package/dist/chunks/config-7qbkbymg.js +0 -257
- package/dist/chunks/config-kdcahg00.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{config-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-2nhcazd0.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-yh238p43.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service24,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
25
|
+
configured: () => configured4,
|
|
26
26
|
layer: () => layer12,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node27
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,12 +36,12 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
@@ -51,10 +51,10 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service24 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service24.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -260,16 +260,16 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
262
|
var layer12 = makeLayer();
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service24,
|
|
265
265
|
layer: options === undefined ? layer12 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node27 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError3, NotFoundError4, Service24, layer12, configured4, node27, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
3
|
+
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2nhcazd0.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event7,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
26
|
+
Options: () => Options6,
|
|
27
|
+
Service: () => Service40,
|
|
28
|
+
configured: () => configured6,
|
|
29
29
|
layer: () => layer18,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node43
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,18 +39,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event7 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options6 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var layer18 = (options) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,9 +69,9 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service40.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured6(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
106
|
+
service: Service40,
|
|
107
107
|
layer: layer18(options),
|
|
108
108
|
deps: [node87]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node43 = configured6();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event7, Options6, Service40, layer18, configured6, node43, exports_instruction_discovery };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-8d5fwhns.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-vnn07649.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
11
|
Info: () => Info16,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule2
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(
|
|
24
|
+
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./tool-9eyh9j7p.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-bec822vs.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./tool-rwasyrp5.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin7,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin7 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin29 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin7, exports_warming };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./tool-ck0e8gek.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./tool-52hb404k.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-dxj72tfx.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service58;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-1fqwyhye.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin13 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin13, exports_plan };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./tool-3493q4kq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service16,
|
|
12
|
+
node18
|
|
13
|
+
} from "./tool-wpj6vp23.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -33,11 +33,11 @@ __export(exports_filesystem, {
|
|
|
33
33
|
Match: () => Match2,
|
|
34
34
|
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service15,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node17
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
107
107
|
}
|
|
108
108
|
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service81;
|
|
115
|
+
const search = yield* Service16;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -131,7 +131,7 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
131
131
|
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node17 = makeLocationNode({
|
|
175
|
+
service: Service15,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node85, node18]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|