@opencode/core 0.0.0-dev-20621 → 0.0.0-dev-20625
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{tool-3sdb20zb.js → workspace-04792bgd.js} +11 -11
- package/dist/chunks/{tool-nkxtzyv4.js → workspace-077cgkzg.js} +23 -23
- package/dist/chunks/{tool-mx9vqzsb.js → workspace-07w59vex.js} +6 -6
- package/dist/chunks/{tool-4c8s8kge.js → workspace-08t9thee.js} +5 -5
- package/dist/chunks/{tool-zr70bgmb.js → workspace-0cnpbvek.js} +15 -15
- package/dist/chunks/{tool-dd40s8jk.js → workspace-0dygnakk.js} +4 -4
- package/dist/chunks/{tool-6qzp8a5z.js → workspace-0gh43fvp.js} +9 -9
- package/dist/chunks/{tool-qgn6gcr1.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{tool-hmb6jn2z.js → workspace-0k0tdk4v.js} +20 -20
- package/dist/chunks/{tool-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0emb60td.js → workspace-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-rjep82nj.js → workspace-0zm4vsbv.js} +17 -17
- package/dist/chunks/{tool-h65drem0.js → workspace-16m64twp.js} +16 -16
- package/dist/chunks/{tool-bcr0ksmf.js → workspace-1acz6075.js} +11 -11
- package/dist/chunks/{tool-4mpv5s2v.js → workspace-1d4zkfab.js} +40 -40
- package/dist/chunks/{tool-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-wk2zpc1v.js → workspace-1e10y0rh.js} +11 -11
- package/dist/chunks/{tool-j1ba0jw9.js → workspace-1fhw6qp6.js} +32 -32
- package/dist/chunks/{tool-40gsab6q.js → workspace-1v8896a1.js} +8 -8
- package/dist/chunks/{tool-r1z1z81h.js → workspace-24738xn5.js} +14 -14
- package/dist/chunks/{tool-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-rxn8twjw.js → workspace-2cabk1b6.js} +2 -2
- package/dist/chunks/{tool-vpfpr37q.js → workspace-2d4jh34x.js} +11 -11
- package/dist/chunks/{tool-350pbqn9.js → workspace-2eaaba8k.js} +26 -26
- package/dist/chunks/{tool-z26t8xx0.js → workspace-2g06r5p1.js} +15 -15
- package/dist/chunks/{tool-yxe8956e.js → workspace-2jygvae8.js} +11 -11
- package/dist/chunks/{tool-d0m8bny5.js → workspace-2kapx5s0.js} +21 -21
- package/dist/chunks/workspace-2qxg5hny.js +253 -0
- package/dist/chunks/{tool-7crx08a4.js → workspace-30ak4e5k.js} +8 -8
- package/dist/chunks/{tool-9thxh3x6.js → workspace-35vpxd0z.js} +7 -7
- package/dist/chunks/{tool-h43cy6bd.js → workspace-37gg4rjc.js} +8 -8
- package/dist/chunks/{tool-3cegwx68.js → workspace-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-51r1g0v9.js → workspace-3d5pf0rw.js} +11 -11
- package/dist/chunks/{tool-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-tcyk0gcq.js → workspace-3qny4s1r.js} +13 -13
- package/dist/chunks/{tool-zsr4wwhv.js → workspace-3sj8yt8v.js} +4 -4
- package/dist/chunks/{tool-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-dcgfqf6n.js → workspace-3wfp78gc.js} +6 -6
- package/dist/chunks/{tool-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-16pwk8my.js → workspace-49494kth.js} +18 -18
- package/dist/chunks/{tool-n3kz9j5v.js → workspace-4bf12bpw.js} +5 -5
- package/dist/chunks/{tool-j6rvrjb2.js → workspace-4ctbs581.js} +15 -15
- package/dist/chunks/{tool-9xafsdbn.js → workspace-4jcpse7m.js} +15 -15
- package/dist/chunks/{tool-4ts7tf6z.js → workspace-4ts7tf6z.js} +2 -2
- package/dist/chunks/{tool-54ma36ye.js → workspace-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-1ygqh575.js → workspace-56gdpj1q.js} +9 -9
- package/dist/chunks/{tool-tytd2jm0.js → workspace-56hrvcw3.js} +50 -50
- package/dist/chunks/{tool-p2y4rtdg.js → workspace-57nggxpn.js} +37 -37
- package/dist/chunks/{tool-a7bsh1ec.js → workspace-58twkbn2.js} +11 -11
- package/dist/chunks/{tool-23mntapz.js → workspace-5ct8ze0w.js} +11 -11
- package/dist/chunks/{tool-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-eaxx2kzt.js → workspace-5gjk7y31.js} +4 -4
- package/dist/chunks/{tool-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-wyyj98bv.js → workspace-5t0mhk5g.js} +3 -3
- package/dist/chunks/{tool-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-5yzzbxa7.js → workspace-5xtgfte3.js} +8 -8
- package/dist/chunks/{tool-8h9kzq6c.js → workspace-5xvy2j9s.js} +13 -13
- package/dist/chunks/workspace-619r8v3y.js +18 -0
- package/dist/chunks/{tool-zbt4vqdm.js → workspace-6b43n2qe.js} +23 -23
- package/dist/chunks/{tool-2n6fa56a.js → workspace-6j68t7ds.js} +1 -1
- package/dist/chunks/{tool-c1ant5c1.js → workspace-6kkym95p.js} +165 -165
- package/dist/chunks/{tool-e4gfb4rf.js → workspace-6n6n0wbe.js} +22 -22
- package/dist/chunks/{tool-w7jnj522.js → workspace-6qpyh92k.js} +18 -18
- package/dist/chunks/{tool-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-5jxm9yfz.js → workspace-6ygyve09.js} +26 -26
- package/dist/chunks/{tool-qt17f4h7.js → workspace-71tv947p.js} +15 -15
- package/dist/chunks/{tool-zcdqtjtf.js → workspace-74f6ffmn.js} +47 -47
- package/dist/chunks/{tool-ng6f7xag.js → workspace-7504msxf.js} +25 -25
- package/dist/chunks/{tool-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-x2jd95r3.js → workspace-7e820gef.js} +32 -32
- package/dist/chunks/{tool-yxnaqxdh.js → workspace-7naznwf1.js} +6 -6
- package/dist/chunks/{tool-ckag18vk.js → workspace-7w38sh68.js} +21 -21
- package/dist/chunks/{tool-84h8c373.js → workspace-84h8c373.js} +2 -2
- package/dist/chunks/{tool-84txncab.js → workspace-84txncab.js} +1 -1
- package/dist/chunks/{tool-6w4tq3mb.js → workspace-86km67cx.js} +9 -9
- package/dist/chunks/{tool-egspt8cm.js → workspace-86mjrc9q.js} +63 -63
- package/dist/chunks/{tool-w36j0bmk.js → workspace-8a6ws7jr.js} +9 -9
- package/dist/chunks/{tool-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-7q4nzkb9.js → workspace-8fkq3ra9.js} +16 -16
- package/dist/chunks/{tool-6m1hjez2.js → workspace-8gm8r8mn.js} +15 -15
- package/dist/chunks/{tool-qx8vbekt.js → workspace-8p3g3wy0.js} +11 -11
- package/dist/chunks/{tool-9swdtjav.js → workspace-8t5jjh5c.js} +5 -5
- package/dist/chunks/{tool-h9pcb0g7.js → workspace-8z7vm853.js} +5 -5
- package/dist/chunks/{tool-6zhvkmk5.js → workspace-94yy4jsn.js} +4 -4
- package/dist/chunks/{tool-g357tzjd.js → workspace-9jq6257y.js} +25 -25
- package/dist/chunks/{tool-b750x627.js → workspace-9rebvyz3.js} +4 -4
- package/dist/chunks/{tool-1x69mj4q.js → workspace-9vprb1nh.js} +12 -12
- package/dist/chunks/{tool-sxt8reb7.js → workspace-a3zzg5mb.js} +27 -27
- package/dist/chunks/{tool-kvvk39gs.js → workspace-a8bn8zg0.js} +4 -4
- package/dist/chunks/{tool-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-qtq3p0wt.js → workspace-aaqcndx2.js} +42 -42
- package/dist/chunks/{tool-g4ezwve1.js → workspace-ap1jses2.js} +23 -23
- package/dist/chunks/{tool-r9w3djhf.js → workspace-atytsmf1.js} +9 -9
- package/dist/chunks/{tool-c7f2cwkk.js → workspace-aw1g0m68.js} +3 -3
- package/dist/chunks/{tool-3j9bgvtg.js → workspace-axs6pdy0.js} +5 -5
- package/dist/chunks/{tool-9f2nvjyq.js → workspace-b3vk0wha.js} +3 -3
- package/dist/chunks/{tool-kzgmjn1f.js → workspace-b61vcdbg.js} +9 -9
- package/dist/chunks/{tool-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-2k71kv7p.js → workspace-bacyadyn.js} +4 -4
- package/dist/chunks/{tool-pz19f1h4.js → workspace-bf3ep3zf.js} +16 -16
- package/dist/chunks/{tool-scqzf1nw.js → workspace-bgnv3g07.js} +6 -6
- package/dist/chunks/{tool-mzrc21xj.js → workspace-bj5ap212.js} +40 -40
- package/dist/chunks/{tool-fe6bz30b.js → workspace-bjz294g4.js} +18 -18
- package/dist/chunks/{tool-yptech69.js → workspace-bq7qaacb.js} +38 -38
- package/dist/chunks/{tool-tdtgstz8.js → workspace-bt43sfkk.js} +18 -18
- package/dist/chunks/{tool-mktzjf14.js → workspace-bv2qvk3v.js} +48 -48
- package/dist/chunks/{tool-ydty4xqc.js → workspace-bvvmdrd3.js} +17 -17
- package/dist/chunks/{tool-s7nv2rwz.js → workspace-bx0gyb4h.js} +5 -5
- package/dist/chunks/{tool-42ayv7pm.js → workspace-bx4w3v62.js} +42 -42
- package/dist/chunks/{tool-3x1fhjfk.js → workspace-c1ka28h1.js} +5 -5
- package/dist/chunks/{tool-4xtwzbwp.js → workspace-ca6v8khj.js} +323 -323
- package/dist/chunks/{tool-vk9cvn9d.js → workspace-caf87exy.js} +27 -27
- package/dist/chunks/{tool-0xccjjzw.js → workspace-cg7s6gpq.js} +30 -30
- package/dist/chunks/{tool-kne8f3cn.js → workspace-ckf8nxjz.js} +4 -4
- package/dist/chunks/{tool-wpgamtwv.js → workspace-ckn890ey.js} +26 -26
- package/dist/chunks/{tool-4jjk64j7.js → workspace-cqqer672.js} +13 -13
- package/dist/chunks/{tool-2zv0bcyv.js → workspace-cscmnd2v.js} +8 -8
- package/dist/chunks/{tool-k1pmzggn.js → workspace-cvgbrmvq.js} +30 -30
- package/dist/chunks/{tool-2sejkfem.js → workspace-cwa6csj7.js} +9 -9
- package/dist/chunks/{tool-p10vm95c.js → workspace-d2ffjrg3.js} +7 -7
- package/dist/chunks/{tool-ynky3s72.js → workspace-desgj5fn.js} +26 -26
- package/dist/chunks/{tool-pdssdm3r.js → workspace-dwnnjgz6.js} +45 -45
- package/dist/chunks/{tool-rx871m47.js → workspace-e107jb5k.js} +2 -2
- package/dist/chunks/{tool-z5n58sqq.js → workspace-e2h0q4a9.js} +8 -8
- package/dist/chunks/{tool-1ewxhx38.js → workspace-e3gcztwa.js} +30 -30
- package/dist/chunks/{tool-pjsqfx9m.js → workspace-easapccs.js} +6 -6
- package/dist/chunks/{tool-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-9tqp4rjd.js → workspace-efbajcyc.js} +34 -34
- package/dist/chunks/{tool-853r27ye.js → workspace-ejgp49jg.js} +20 -20
- package/dist/chunks/{tool-txw06jcg.js → workspace-emx6shzs.js} +24 -24
- package/dist/chunks/{tool-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-mzraw8ha.js → workspace-ewx9y0me.js} +7 -7
- package/dist/chunks/{tool-bx021530.js → workspace-f6626pn0.js} +12 -12
- package/dist/chunks/{tool-f75zav2x.js → workspace-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-qk33d3eb.js → workspace-f7gr38pv.js} +5 -5
- package/dist/chunks/{tool-f4tfcf42.js → workspace-fte4edzz.js} +10 -10
- package/dist/chunks/{tool-81bpzke5.js → workspace-g38n4cbf.js} +11 -11
- package/dist/chunks/{tool-1cz6w5aa.js → workspace-g6cj2pz3.js} +5 -5
- package/dist/chunks/{tool-zab19jja.js → workspace-g762atc6.js} +9 -9
- package/dist/chunks/{tool-wfdj1abq.js → workspace-g79x7y0t.js} +11 -11
- package/dist/chunks/{tool-cz3qxt32.js → workspace-gamkna2f.js} +32 -32
- package/dist/chunks/{tool-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-cjdpndr5.js → workspace-gr68n6sk.js} +7 -7
- package/dist/chunks/{tool-bbpgpzrp.js → workspace-grtn0enx.js} +4 -4
- package/dist/chunks/{tool-6ysrkrkr.js → workspace-h275bwc7.js} +8 -8
- package/dist/chunks/{tool-sgd5yhbj.js → workspace-h2txwa5e.js} +9 -9
- package/dist/chunks/{tool-3w57jhwt.js → workspace-h4ckqw4f.js} +8 -8
- package/dist/chunks/{tool-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-w0jh0ny2.js → workspace-hd75z5fa.js} +10 -10
- package/dist/chunks/{tool-a65exzz3.js → workspace-heymn33v.js} +13 -13
- package/dist/chunks/{tool-303t2pvh.js → workspace-hfr420wr.js} +26 -26
- package/dist/chunks/{tool-393z7mah.js → workspace-hgnewnvf.js} +3 -3
- package/dist/chunks/{tool-qbd5ma0n.js → workspace-hns92ys1.js} +10 -10
- package/dist/chunks/{tool-6az9vrde.js → workspace-hp2fw5k6.js} +24 -24
- package/dist/chunks/{tool-gx34rq0y.js → workspace-hqf62ytx.js} +3 -3
- package/dist/chunks/{tool-r9t00hsy.js → workspace-hr5bc81f.js} +8 -8
- package/dist/chunks/workspace-j49cp3s0.js +26 -0
- package/dist/chunks/{tool-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-pvnmdee5.js → workspace-jdzksevj.js} +10 -10
- package/dist/chunks/{tool-cfsekr6v.js → workspace-jktqzjpa.js} +8 -8
- package/dist/chunks/{tool-75v4x8jp.js → workspace-jvddzxac.js} +14 -14
- package/dist/chunks/{tool-krzbbgtd.js → workspace-k2vb740h.js} +9 -9
- package/dist/chunks/{tool-66t34m9w.js → workspace-k30vhdc4.js} +12 -12
- package/dist/chunks/{tool-mwwxnxty.js → workspace-k3sn4jay.js} +4 -4
- package/dist/chunks/{tool-zqrhdrkc.js → workspace-k471ddga.js} +43 -43
- package/dist/chunks/{tool-cjxvfp5z.js → workspace-k569he40.js} +7 -7
- package/dist/chunks/{tool-tnjsmpmj.js → workspace-kaq877jq.js} +11 -11
- package/dist/chunks/{tool-kb9j3d72.js → workspace-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-p6hyfmfc.js → workspace-kgzx153c.js} +3 -3
- package/dist/chunks/{tool-kfdtc9qy.js → workspace-km0c42ps.js} +11 -11
- package/dist/chunks/{tool-pnzjke2r.js → workspace-kn0kwb9r.js} +22 -22
- package/dist/chunks/{tool-fhm77ccb.js → workspace-kprvgbka.js} +3 -3
- package/dist/chunks/{tool-qc3y4bn0.js → workspace-kpv8xpp3.js} +4 -4
- package/dist/chunks/{tool-4set99t9.js → workspace-kt4j6m51.js} +3 -3
- package/dist/chunks/{tool-vdg7jmx3.js → workspace-kzykqk6j.js} +12 -12
- package/dist/chunks/{tool-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-n7c1m45s.js → workspace-m6f5ap24.js} +15 -15
- package/dist/chunks/{tool-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-9y9sk2j9.js → workspace-mbnxefga.js} +2 -2
- package/dist/chunks/{tool-czkrkmgx.js → workspace-mh5wyt4r.js} +11 -11
- package/dist/chunks/{tool-xcmk6yw7.js → workspace-mhnyy3p3.js} +11 -11
- package/dist/chunks/{tool-xqq6j46d.js → workspace-mq716n2q.js} +18 -18
- package/dist/chunks/{tool-adfa1w2n.js → workspace-msr7hntd.js} +4 -4
- package/dist/chunks/{tool-a1gpj94z.js → workspace-mvfsc1pv.js} +3 -3
- package/dist/chunks/{tool-ncnm8wen.js → workspace-n2thn3nx.js} +1 -1
- package/dist/chunks/{tool-2xcf8v2e.js → workspace-nex76z7d.js} +15 -15
- package/dist/chunks/{tool-cwxwnzw8.js → workspace-nfj32nd6.js} +6 -6
- package/dist/chunks/{tool-8sq1nazw.js → workspace-nqsd8asp.js} +43 -43
- package/dist/chunks/{tool-61m1wdtq.js → workspace-nvdeaskg.js} +15 -15
- package/dist/chunks/{tool-dpkg50ah.js → workspace-nxm207yx.js} +4 -4
- package/dist/chunks/{tool-c3227a7e.js → workspace-p1f7zze4.js} +17 -17
- package/dist/chunks/{tool-b8yxdv3q.js → workspace-p2wa0wpq.js} +22 -22
- package/dist/chunks/{tool-na90p5sz.js → workspace-pbp90nbc.js} +27 -27
- package/dist/chunks/{tool-tpypbtav.js → workspace-pghsmdqn.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{tool-m9kfb99s.js → workspace-pqnryrb4.js} +9 -9
- package/dist/chunks/{tool-q0xm7vwc.js → workspace-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-mrtp8nr7.js → workspace-q1v6wmhm.js} +10 -10
- package/dist/chunks/{tool-56avvebe.js → workspace-qagmmt9n.js} +33 -33
- package/dist/chunks/{tool-7vp466hh.js → workspace-qc4y4x1d.js} +18 -18
- package/dist/chunks/{tool-690bn0hf.js → workspace-qhjkx6qf.js} +21 -21
- package/dist/chunks/{tool-npt101jb.js → workspace-qj3j2ed4.js} +26 -26
- package/dist/chunks/{tool-qnc92qwc.js → workspace-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-sm965ndy.js → workspace-qvb3nf84.js} +8 -8
- package/dist/chunks/{tool-gkwkvfez.js → workspace-qx4ps3zc.js} +20 -20
- package/dist/chunks/{tool-mdmbfqgq.js → workspace-r01t9b5y.js} +8 -8
- package/dist/chunks/{tool-swk0q7s9.js → workspace-r3p59fwg.js} +4 -4
- package/dist/chunks/{tool-1acjjqhc.js → workspace-r8xr0va3.js} +4 -4
- package/dist/chunks/{tool-a2zv89qz.js → workspace-r9htttdr.js} +13 -13
- package/dist/chunks/{tool-see9wd13.js → workspace-rd8yy9nb.js} +66 -66
- package/dist/chunks/{tool-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-qdm0xvfe.js → workspace-rfmnp9jb.js} +4 -4
- package/dist/chunks/{tool-9t7a50xb.js → workspace-rhjbct0v.js} +4 -4
- package/dist/chunks/{tool-nesyhtff.js → workspace-rksdhb0n.js} +18 -18
- package/dist/chunks/{tool-semz41dm.js → workspace-rrn10n85.js} +8 -8
- package/dist/chunks/{tool-axe3mf62.js → workspace-rrt0a0ha.js} +3 -3
- package/dist/chunks/{tool-at1kfnmk.js → workspace-rvf0m9x6.js} +8 -8
- package/dist/chunks/{tool-dbqekdzp.js → workspace-s6rbynpa.js} +5 -5
- package/dist/chunks/{tool-y6wve3t3.js → workspace-s76r9yk2.js} +13 -13
- package/dist/chunks/{tool-gfygj460.js → workspace-sb1pzkvh.js} +16 -16
- package/dist/chunks/{tool-ct5kn7sm.js → workspace-se3n8wcd.js} +18 -18
- package/dist/chunks/{tool-g0vvyb83.js → workspace-sfvft427.js} +11 -11
- package/dist/chunks/{tool-bvjdq5yq.js → workspace-sgcq822w.js} +5 -5
- package/dist/chunks/{tool-fgvy1g99.js → workspace-smq3dd2v.js} +31 -31
- package/dist/chunks/{tool-wdeky1ys.js → workspace-t13mbkgb.js} +22 -22
- package/dist/chunks/{tool-h6tdr0wz.js → workspace-t1fjxj08.js} +13 -13
- package/dist/chunks/{tool-8rqycdgd.js → workspace-t2fc4mz5.js} +7 -7
- package/dist/chunks/{tool-wkqs3fc0.js → workspace-t3039at6.js} +26 -26
- package/dist/chunks/{tool-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-hv8s3tg2.js → workspace-tdj9jt6q.js} +11 -11
- package/dist/chunks/{tool-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{tool-pzcaekwn.js → workspace-tdx4y9zn.js} +11 -11
- package/dist/chunks/{tool-0y2egbcr.js → workspace-tqrjxmaf.js} +8 -8
- package/dist/chunks/{tool-gxds6sjc.js → workspace-ty9zft9p.js} +15 -15
- package/dist/chunks/{tool-xecxzrdp.js → workspace-v0es1rhs.js} +2 -2
- package/dist/chunks/{tool-3936tkf8.js → workspace-v2fwckm2.js} +13 -13
- package/dist/chunks/{tool-apme4279.js → workspace-v9t2f4tw.js} +22 -22
- package/dist/chunks/{tool-ck2jvgzg.js → workspace-vaxgn10g.js} +25 -25
- package/dist/chunks/{tool-08ed4zmw.js → workspace-vbrdpthe.js} +6 -6
- package/dist/chunks/{tool-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-g6tpgah0.js → workspace-vgfxpara.js} +81 -81
- package/dist/chunks/{tool-kc6hkr7d.js → workspace-vhvtqta5.js} +6 -6
- package/dist/chunks/{tool-a1jynv3g.js → workspace-vjthrvv1.js} +12 -12
- package/dist/chunks/{tool-5d17xbav.js → workspace-vrpz8t5t.js} +5 -5
- package/dist/chunks/{tool-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-g5w8qwbj.js → workspace-w19d8598.js} +7 -7
- package/dist/chunks/{tool-g24rjnnt.js → workspace-w39jehkq.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-vcccfxhw.js → workspace-w8jg2tm8.js} +34 -34
- package/dist/chunks/{tool-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{tool-jy0x8hkf.js → workspace-wqzz8241.js} +8 -8
- package/dist/chunks/{tool-hqwyy3bj.js → workspace-x07w92bc.js} +3 -3
- package/dist/chunks/{tool-125pv97z.js → workspace-x2bhny64.js} +7 -7
- package/dist/chunks/{tool-a3c7ahw6.js → workspace-x3gqap9d.js} +4 -4
- package/dist/chunks/{tool-addxnjmp.js → workspace-x661k3y3.js} +4 -4
- package/dist/chunks/{tool-entbm7rc.js → workspace-xa1y625z.js} +20 -20
- package/dist/chunks/{tool-a2gqrh8v.js → workspace-xcjenepd.js} +31 -31
- package/dist/chunks/{tool-cy8n646y.js → workspace-xh51jhwy.js} +26 -26
- package/dist/chunks/{tool-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
- package/dist/chunks/{tool-xyafkbt0.js → workspace-xyafkbt0.js} +3 -3
- package/dist/chunks/{tool-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-e4q1gg2w.js → workspace-y2bx8ks4.js} +16 -16
- package/dist/chunks/{tool-m8tjqkzb.js → workspace-y2tx55zg.js} +5 -5
- package/dist/chunks/{tool-ymj5q7t9.js → workspace-yvmkmgn5.js} +12 -12
- package/dist/chunks/{tool-dwktjsma.js → workspace-ywd8qmyg.js} +1 -1
- package/dist/chunks/{tool-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-csdqyeex.js → workspace-z0cec5bd.js} +14 -14
- package/dist/chunks/{tool-b1axcb5r.js → workspace-z28g1vpv.js} +31 -31
- package/dist/chunks/{tool-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-7rm45jzf.js → workspace-zrbek4sy.js} +4 -4
- package/dist/chunks/{tool-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-scgrse2b.js → workspace-zyk1yjk8.js} +5 -5
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +354 -354
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- 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 +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- 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 +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/tool-39v3zkdd.js +0 -26
- package/dist/chunks/tool-gdn38z0d.js +0 -253
- package/dist/chunks/tool-q509s3k3.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → workspace-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2cabk1b6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./workspace-qhjkx6qf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service18,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-s76r9yk2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./workspace-58twkbn2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service60
|
|
17
|
+
} from "./workspace-74f6ffmn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service17,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-4ctbs581.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input2,
|
|
34
|
+
Output: () => Output2,
|
|
35
|
+
Plugin: () => Plugin3,
|
|
36
|
+
name: () => name2
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name2 = "edit";
|
|
43
|
+
var Input2 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output2 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin3 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service17;
|
|
110
|
+
const fileMutation = yield* Service18;
|
|
111
|
+
const environment = yield* Service45;
|
|
112
|
+
const formatter = yield* Service19;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service60;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name2,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input2,
|
|
120
|
+
output: Output2,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin25 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name2, Input2, Output2, Plugin3, exports_edit };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-rrt0a0ha.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError7,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-2cabk1b6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service45
|
|
11
|
+
} from "./workspace-qhjkx6qf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./workspace-58twkbn2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-s76r9yk2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./workspace-74f6ffmn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-4ctbs581.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin13,
|
|
42
|
+
name: () => name11,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name11 = "patch";
|
|
89
|
+
var Input11 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin13 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service45;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service19;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service60;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin22 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name11, Input11, Applied2, Output8, toModelContent5, Plugin13, exports_patch };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service48,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node51,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service48 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service48.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service48.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service48).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service48, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured6(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service48, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node51 = configured6();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options7, Service48, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured6, node51, exports_watcher };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-rfmnp9jb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node77 = makeLocationNode({ service: Service74, layer: layer24, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer24, node77, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./workspace-w8jg2tm8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin47,
|
|
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 Plugin47 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
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 Plugin14 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin47, exports_warming };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-kgzx153c.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-kb9j3d72.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-30ak4e5k.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-mbnxefga.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service61,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node63
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service61 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service61.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node63 = makeGlobalNode({ service: Service61, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service61, node63, exports_store };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-3cegwx68.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|