@opencode/core 0.0.0-dev-892 → 0.0.0-dev-904
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 +86 -86
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +238 -238
- package/dist/bus.js +84 -84
- package/dist/chunks/{event-logger-e1gc2t3g.js → tool-00gmy8xm.js} +174 -174
- package/dist/chunks/{event-logger-1vw1hhqb.js → tool-083k8jjw.js} +40 -40
- package/dist/chunks/{event-logger-4mahgh79.js → tool-0af2ej1h.js} +4 -4
- package/dist/chunks/{event-logger-63xym3gh.js → tool-0ahs07zn.js} +4 -4
- package/dist/chunks/{event-logger-bpc17s8v.js → tool-0fzn8tne.js} +15 -15
- package/dist/chunks/{event-logger-r0yxyc6f.js → tool-0gfhqxdg.js} +11 -11
- package/dist/chunks/{event-logger-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
- package/dist/chunks/{event-logger-0php2d2a.js → tool-0mgprbja.js} +4 -4
- package/dist/chunks/{event-logger-189zs3b8.js → tool-0w17snvd.js} +10 -10
- package/dist/chunks/{event-logger-fdrbqvh6.js → tool-0yktd958.js} +9 -9
- package/dist/chunks/{event-logger-3w343411.js → tool-0z237fz4.js} +27 -27
- package/dist/chunks/{event-logger-m170w9hk.js → tool-144d3hy7.js} +16 -16
- package/dist/chunks/{event-logger-23wmfp43.js → tool-1460q3hj.js} +26 -26
- package/dist/chunks/{event-logger-ead14kf1.js → tool-155c7zz5.js} +38 -38
- package/dist/chunks/{event-logger-59hd7tc6.js → tool-19b2ztj7.js} +11 -11
- package/dist/chunks/{event-logger-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
- package/dist/chunks/{event-logger-bx958sf8.js → tool-1bbvyrj8.js} +24 -24
- package/dist/chunks/{event-logger-axskksgc.js → tool-1cnspxhw.js} +25 -25
- package/dist/chunks/{event-logger-ntaabztc.js → tool-1pbe9gq9.js} +6 -6
- package/dist/chunks/{event-logger-q5h1hz5x.js → tool-1r35gkft.js} +24 -24
- package/dist/chunks/{event-logger-51kt8vqr.js → tool-1w0d05zm.js} +88 -88
- package/dist/chunks/{event-logger-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-bdhd9h6e.js → tool-1yq9hg58.js} +5 -5
- package/dist/chunks/{event-logger-2bswbpgz.js → tool-1z3v6jst.js} +5 -5
- package/dist/chunks/{event-logger-k46dd5bg.js → tool-20pht57w.js} +4 -4
- package/dist/chunks/{event-logger-yjh7jbr3.js → tool-2224nmbs.js} +26 -26
- package/dist/chunks/{event-logger-cmffm6qs.js → tool-22z3ngk3.js} +7 -7
- package/dist/chunks/{event-logger-8b3vzgkx.js → tool-25h84942.js} +4 -4
- package/dist/chunks/{event-logger-1ep2p91f.js → tool-27w5k9zf.js} +2 -2
- package/dist/chunks/{event-logger-nhmg6cd1.js → tool-2946nwq7.js} +41 -41
- package/dist/chunks/{event-logger-z33yrdx8.js → tool-2bd99pfg.js} +6 -6
- package/dist/chunks/{event-logger-2fc7eemy.js → tool-2fc7eemy.js} +1 -1
- package/dist/chunks/{event-logger-s1ba0vj0.js → tool-2p60zmnr.js} +2 -2
- package/dist/chunks/{event-logger-074qhhck.js → tool-2pwd5hea.js} +6 -6
- package/dist/chunks/{event-logger-qt7xm8h2.js → tool-2qr0rzrp.js} +8 -8
- package/dist/chunks/{event-logger-hrfssxzn.js → tool-2t9rfbr1.js} +31 -31
- package/dist/chunks/{event-logger-xjbsd7zy.js → tool-3adw4bt5.js} +9 -9
- package/dist/chunks/{event-logger-cr44ae3x.js → tool-3ay6yzp4.js} +5 -5
- package/dist/chunks/{event-logger-h49hp34r.js → tool-3bbjthkp.js} +13 -13
- package/dist/chunks/{event-logger-ayjs7tqn.js → tool-3cbjf1nt.js} +2 -2
- package/dist/chunks/{event-logger-gdb8gb6g.js → tool-3dcz9emx.js} +3 -3
- package/dist/chunks/{event-logger-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-mzy1mbez.js → tool-3ktek22a.js} +14 -14
- package/dist/chunks/{event-logger-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
- package/dist/chunks/{event-logger-4wqemmxb.js → tool-3nsns975.js} +2 -2
- package/dist/chunks/{event-logger-7zek9829.js → tool-3pa842pg.js} +37 -37
- package/dist/chunks/{event-logger-hkf8spj2.js → tool-3qgwywyc.js} +7 -7
- package/dist/chunks/tool-3qhreq2y.js +16 -0
- package/dist/chunks/{event-logger-r58d7y94.js → tool-405anx19.js} +3 -3
- package/dist/chunks/{event-logger-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
- package/dist/chunks/{event-logger-9xzr77jx.js → tool-4260v68q.js} +52 -52
- package/dist/chunks/{event-logger-jxd6f16v.js → tool-44pmzq9c.js} +2 -2
- package/dist/chunks/{event-logger-qqarxf7p.js → tool-45s7g4aj.js} +34 -34
- package/dist/chunks/{event-logger-rvnns7rr.js → tool-4b8smedx.js} +28 -28
- package/dist/chunks/{event-logger-hxmw4pfp.js → tool-4dfd3vjk.js} +57 -57
- package/dist/chunks/{event-logger-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
- package/dist/chunks/{event-logger-aew8rpfa.js → tool-4mx18a8z.js} +14 -14
- package/dist/chunks/{event-logger-9kh3h3y0.js → tool-4pk3sz26.js} +11 -11
- package/dist/chunks/{event-logger-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
- package/dist/chunks/{event-logger-gxx5n6vy.js → tool-4qgen1r6.js} +33 -33
- package/dist/chunks/{event-logger-4v008n1t.js → tool-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-xyp0w5w2.js → tool-4v0wh7cn.js} +15 -15
- package/dist/chunks/{event-logger-3jgbjpr1.js → tool-51q9w6yf.js} +13 -13
- package/dist/chunks/{event-logger-m46fgh23.js → tool-54vy2vdt.js} +21 -21
- package/dist/chunks/{event-logger-3ztwrxep.js → tool-5c9ayr0a.js} +25 -25
- package/dist/chunks/{event-logger-vt2d6wap.js → tool-5ckkk9bj.js} +4 -4
- package/dist/chunks/{event-logger-zbxcwakx.js → tool-5gwtjps0.js} +12 -10
- package/dist/chunks/{event-logger-mptv2b35.js → tool-5h9rmw1n.js} +5 -5
- package/dist/chunks/{event-logger-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-7jmaf9hv.js → tool-5myx731x.js} +3 -3
- package/dist/chunks/{event-logger-bh44pqhp.js → tool-5nqnk5zt.js} +16 -16
- package/dist/chunks/{event-logger-6n43x6px.js → tool-5yy869d1.js} +2 -2
- package/dist/chunks/{event-logger-7ke2z32d.js → tool-5zpqhmp2.js} +3 -3
- package/dist/chunks/{event-logger-61qraad9.js → tool-61qraad9.js} +2 -2
- package/dist/chunks/{event-logger-3h5z7vgp.js → tool-65j8xpqd.js} +20 -20
- package/dist/chunks/{event-logger-62zd5tzk.js → tool-694dpcrp.js} +4 -4
- package/dist/chunks/{event-logger-0n9bx249.js → tool-6ay1c1t0.js} +22 -22
- package/dist/chunks/{event-logger-q500dmz2.js → tool-6b8qs503.js} +17 -17
- package/dist/chunks/{event-logger-31avdb49.js → tool-6f6jm3cp.js} +5 -5
- package/dist/chunks/{event-logger-jj0fxw73.js → tool-6ge1y5qj.js} +8 -8
- package/dist/chunks/{event-logger-d4tmeg7z.js → tool-6p2yvgd8.js} +28 -28
- package/dist/chunks/{event-logger-hyq7ny1j.js → tool-6p47f7n7.js} +17 -17
- package/dist/chunks/{event-logger-0rdj797v.js → tool-6q4fvzhp.js} +5 -5
- package/dist/chunks/{event-logger-ggz19km9.js → tool-706wky23.js} +30 -30
- package/dist/chunks/{event-logger-ngyqh69c.js → tool-71bdgds2.js} +29 -29
- package/dist/chunks/{event-logger-m1vrgpkz.js → tool-71jvkvdc.js} +16 -16
- package/dist/chunks/{event-logger-t48jrnqq.js → tool-73ff1310.js} +3 -3
- package/dist/chunks/{event-logger-f45mtqja.js → tool-74h3v0cj.js} +25 -25
- package/dist/chunks/{event-logger-pgmzfdk5.js → tool-74nkrfhp.js} +7 -7
- package/dist/chunks/{event-logger-79k544d0.js → tool-79k544d0.js} +1 -1
- package/dist/chunks/{event-logger-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-9f4w71gj.js → tool-7fsc8m4k.js} +20 -20
- package/dist/chunks/{event-logger-byg8gfhm.js → tool-7j1hj9ek.js} +4 -4
- package/dist/chunks/{event-logger-pct4p3yk.js → tool-7jh0e0w6.js} +6 -6
- package/dist/chunks/{event-logger-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-0xkg24zk.js → tool-7w7ts1mc.js} +10 -10
- package/dist/chunks/{event-logger-7weczvnd.js → tool-7weczvnd.js} +1 -1
- package/dist/chunks/{event-logger-80mg3ag8.js → tool-80mg3ag8.js} +3 -3
- package/dist/chunks/{event-logger-9d6wjg0a.js → tool-84h32f71.js} +23 -23
- package/dist/chunks/{event-logger-17452w76.js → tool-85vpeagd.js} +8 -8
- package/dist/chunks/{event-logger-8523rkyj.js → tool-86x0psh9.js} +14 -14
- package/dist/chunks/{event-logger-89287pr7.js → tool-89287pr7.js} +1 -1
- package/dist/chunks/{event-logger-8cg7mtm3.js → tool-8cg7mtm3.js} +1 -1
- package/dist/chunks/{event-logger-hm1ec11z.js → tool-8m8kx3ws.js} +10 -10
- package/dist/chunks/{event-logger-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
- package/dist/chunks/tool-8x060fmy.js +18 -0
- package/dist/chunks/{event-logger-mb7mbhnz.js → tool-8z6m94af.js} +3 -3
- package/dist/chunks/{event-logger-8zv0xmg5.js → tool-8zv0xmg5.js} +1 -1
- package/dist/chunks/{event-logger-zyfhsknv.js → tool-963hk181.js} +9 -9
- package/dist/chunks/{event-logger-23ppzeqs.js → tool-96vqe6h0.js} +21 -21
- package/dist/chunks/{event-logger-ke8d4nz8.js → tool-9g08pa91.js} +15 -15
- package/dist/chunks/{event-logger-hn1m907y.js → tool-9mnt82q7.js} +9 -9
- package/dist/chunks/{event-logger-y1g0wtcd.js → tool-9sr5avzc.js} +3 -3
- package/dist/chunks/{event-logger-jhkq54md.js → tool-9vnsmb12.js} +37 -37
- package/dist/chunks/{event-logger-034tev2y.js → tool-aj7mw0zk.js} +2 -2
- package/dist/chunks/{event-logger-srcdbpr2.js → tool-an1v5wex.js} +6 -6
- package/dist/chunks/{event-logger-czx3by8z.js → tool-atgf0zmr.js} +18 -18
- package/dist/chunks/{event-logger-s4mprw62.js → tool-avqh07yg.js} +5 -5
- package/dist/chunks/{event-logger-k2qpt0zk.js → tool-ax9rm43e.js} +34 -34
- package/dist/chunks/{event-logger-mdrjseww.js → tool-b0d5d3xj.js} +32 -32
- package/dist/chunks/{event-logger-80n0ya2z.js → tool-b1zs6axd.js} +7 -7
- package/dist/chunks/{event-logger-g4txs7zc.js → tool-b26ddj6h.js} +4 -4
- package/dist/chunks/{event-logger-nhfg700v.js → tool-b5atjet8.js} +22 -22
- package/dist/chunks/{event-logger-gnkmn8c6.js → tool-b7nkz392.js} +1 -1
- package/dist/chunks/{event-logger-8sxe6kv8.js → tool-bb3mmwvh.js} +2 -2
- package/dist/chunks/{event-logger-0k9p0h2k.js → tool-be7sh31c.js} +14 -14
- package/dist/chunks/{event-logger-mc2cd50f.js → tool-bm3kvz7r.js} +13 -13
- package/dist/chunks/{event-logger-26xw1n6q.js → tool-bma3xgyt.js} +13 -13
- package/dist/chunks/{event-logger-emwsg0fj.js → tool-bsq94p9g.js} +39 -39
- package/dist/chunks/{event-logger-bstexjd6.js → tool-bstexjd6.js} +1 -1
- package/dist/chunks/{event-logger-by8ty0bx.js → tool-by8ty0bx.js} +1 -1
- package/dist/chunks/{event-logger-c7cw818c.js → tool-c7cw818c.js} +2 -2
- package/dist/chunks/{event-logger-vqmth87c.js → tool-cc7ea13d.js} +16 -16
- package/dist/chunks/{event-logger-fpjxw46t.js → tool-cg3fcpn4.js} +6 -6
- package/dist/chunks/{event-logger-cxvat2mj.js → tool-cgg9h89b.js} +25 -25
- package/dist/chunks/{event-logger-68teftay.js → tool-cjehnj7d.js} +18 -18
- package/dist/chunks/{event-logger-b9pvq46e.js → tool-cpqh714d.js} +13 -13
- package/dist/chunks/{event-logger-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
- package/dist/chunks/{event-logger-j3k739k1.js → tool-cyvaxqay.js} +11 -11
- package/dist/chunks/{event-logger-83jaandp.js → tool-d4p3rnnj.js} +22 -22
- package/dist/chunks/{event-logger-h0aw0xcs.js → tool-d4r41s9p.js} +9 -9
- package/dist/chunks/{event-logger-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-w57p72p4.js → tool-d581z8cy.js} +20 -20
- package/dist/chunks/{event-logger-kyq61t9j.js → tool-d88ap0rw.js} +17 -17
- package/dist/chunks/{event-logger-160yv0cs.js → tool-ddvn7d3w.js} +8 -8
- package/dist/chunks/{event-logger-spysdwxw.js → tool-dm0jrs5z.js} +9 -9
- package/dist/chunks/{event-logger-6ejjbczr.js → tool-dsxayadk.js} +6 -6
- package/dist/chunks/{event-logger-dt77769w.js → tool-dt77769w.js} +1 -1
- package/dist/chunks/{event-logger-vhcs6f4s.js → tool-e1gdjb2y.js} +19 -19
- package/dist/chunks/{event-logger-e834z07m.js → tool-e834z07m.js} +1 -1
- package/dist/chunks/{event-logger-csbkhh9r.js → tool-edt06h0g.js} +23 -23
- package/dist/chunks/{event-logger-5js5wbdj.js → tool-edv5vwyt.js} +27 -27
- package/dist/chunks/{event-logger-cyw90pqg.js → tool-efeabf90.js} +9 -9
- package/dist/chunks/{event-logger-8h77agxq.js → tool-egjbmy1y.js} +18 -18
- package/dist/chunks/{event-logger-v0p3ytcm.js → tool-ehts27c3.js} +29 -29
- package/dist/chunks/{event-logger-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
- package/dist/chunks/{event-logger-bzz00sbm.js → tool-et9cjmd7.js} +5 -5
- package/dist/chunks/{event-logger-3rq8m51m.js → tool-f0sqvxyf.js} +18 -18
- package/dist/chunks/{event-logger-2gcw5fz7.js → tool-f1qx1v58.js} +9 -9
- package/dist/chunks/{event-logger-vdyb4s6e.js → tool-f3z4j9vv.js} +19 -19
- package/dist/chunks/{event-logger-qpw46gtf.js → tool-f6r9v5q7.js} +17 -17
- package/dist/chunks/{event-logger-ycwj4jqj.js → tool-f9vhsqwm.js} +12 -12
- package/dist/chunks/{event-logger-p0fvjn2m.js → tool-fbkmqcfv.js} +4 -4
- package/dist/chunks/{event-logger-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
- package/dist/chunks/{event-logger-qj3ncjqk.js → tool-fgv8yzeg.js} +7 -7
- package/dist/chunks/{event-logger-tjvrwq0k.js → tool-fmdffz6v.js} +4 -4
- package/dist/chunks/{event-logger-kytm3xky.js → tool-ft7ja7xf.js} +9 -9
- package/dist/chunks/{event-logger-tb6fee1v.js → tool-fw86ygjm.js} +1 -1
- package/dist/chunks/{event-logger-7hxw40qb.js → tool-fxgynan5.js} +9 -9
- package/dist/chunks/{event-logger-7dykt898.js → tool-fyzk5b1r.js} +31 -31
- package/dist/chunks/{event-logger-3450dmdx.js → tool-g093g6qd.js} +18 -13
- package/dist/chunks/{event-logger-ff2d2kf1.js → tool-g0sw756x.js} +5 -5
- package/dist/chunks/{event-logger-3mryy5hd.js → tool-g3v175ht.js} +5 -5
- package/dist/chunks/{event-logger-a35sr0b6.js → tool-g8vemvpr.js} +11 -11
- package/dist/chunks/{event-logger-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
- package/dist/chunks/{event-logger-sr0y9bv7.js → tool-gdqab8my.js} +5 -5
- package/dist/chunks/{event-logger-ghrv1g9c.js → tool-ghrv1g9c.js} +1 -1
- package/dist/chunks/{event-logger-hz63kff2.js → tool-gn56hyyd.js} +4 -4
- package/dist/chunks/{event-logger-0q7dyhp6.js → tool-gnz2hs5p.js} +6 -6
- package/dist/chunks/{event-logger-8c3a1y3h.js → tool-gzbn54hn.js} +1 -1
- package/dist/chunks/{event-logger-md69vhb1.js → tool-ha1v2dhf.js} +8 -8
- package/dist/chunks/{event-logger-bdaygxa6.js → tool-hdrb5058.js} +24 -24
- package/dist/chunks/{event-logger-hgzwgvze.js → tool-hgzwgvze.js} +2 -2
- package/dist/chunks/{event-logger-jhem0d9a.js → tool-hhegnqrw.js} +6 -6
- package/dist/chunks/{event-logger-xnreh5ed.js → tool-hkh4ktw2.js} +7 -7
- package/dist/chunks/{event-logger-nz6g494t.js → tool-hna9x47e.js} +25 -25
- package/dist/chunks/{event-logger-qmpm55vb.js → tool-j1ms48vw.js} +16 -16
- package/dist/chunks/{event-logger-grzj74dp.js → tool-j63r4wxs.js} +351 -357
- package/dist/chunks/{event-logger-19s9nrwf.js → tool-jaftvzjf.js} +4 -4
- package/dist/chunks/{event-logger-srabb7dz.js → tool-jkfj84cm.js} +10 -10
- package/dist/chunks/{event-logger-jm70asfg.js → tool-jm70asfg.js} +1 -1
- package/dist/chunks/{event-logger-55271zqq.js → tool-jy9jrrph.js} +14 -14
- package/dist/chunks/{event-logger-8dmpkg7y.js → tool-k4y08jtq.js} +29 -29
- package/dist/chunks/{event-logger-yj1d80n7.js → tool-k72r4xn5.js} +10 -10
- package/dist/chunks/{event-logger-nwyfjcs7.js → tool-k732j073.js} +8 -8
- package/dist/chunks/{event-logger-eqxe8rhz.js → tool-k7cnkcnj.js} +11 -11
- package/dist/chunks/{event-logger-jndeg0s5.js → tool-kjef077q.js} +8 -8
- package/dist/chunks/{event-logger-kpqqccsm.js → tool-kjgrvgjg.js} +8 -8
- package/dist/chunks/{event-logger-k6acvzzp.js → tool-kt3bjfbg.js} +2 -12
- package/dist/chunks/{event-logger-5asgddgx.js → tool-ktck1cjp.js} +6 -6
- package/dist/chunks/{event-logger-02ct3eem.js → tool-kxhajdy2.js} +5 -5
- package/dist/chunks/{event-logger-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
- package/dist/chunks/{event-logger-xrsq8sp2.js → tool-m0ge85pr.js} +26 -26
- package/dist/chunks/{event-logger-m1714858.js → tool-m1714858.js} +1 -1
- package/dist/chunks/{event-logger-dcd7sf2d.js → tool-m4d441dw.js} +10 -10
- package/dist/chunks/{event-logger-tqpaksp0.js → tool-m5rpg4mw.js} +8 -8
- package/dist/chunks/{event-logger-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-0ex746g5.js → tool-mfnrxmk2.js} +4 -4
- package/dist/chunks/{event-logger-a3z1q8zt.js → tool-msa5m8am.js} +16 -16
- package/dist/chunks/{event-logger-0h86f0az.js → tool-msd2a3qm.js} +4 -4
- package/dist/chunks/{event-logger-deq7zezz.js → tool-mzjgx79y.js} +11 -11
- package/dist/chunks/{event-logger-azqdag7d.js → tool-n320gsn2.js} +4 -4
- package/dist/chunks/{event-logger-4mcv9g69.js → tool-nbrkvs9p.js} +11 -11
- package/dist/chunks/{event-logger-qxc5t3fh.js → tool-nhshg12m.js} +5 -5
- package/dist/chunks/{event-logger-jkdcm5hg.js → tool-njx9gg5k.js} +4 -4
- package/dist/chunks/{event-logger-zc8yksyc.js → tool-nnapdt59.js} +15 -15
- package/dist/chunks/{event-logger-8gpdtejb.js → tool-nnvmas47.js} +22 -22
- package/dist/chunks/{event-logger-g4zsvtq0.js → tool-nr7prwvg.js} +13 -13
- package/dist/chunks/{event-logger-tjaqvmna.js → tool-nrqvtcd8.js} +25 -25
- package/dist/chunks/{event-logger-wegkxhrn.js → tool-nx4vzyjd.js} +2 -2
- package/dist/chunks/{event-logger-7s1wk4pk.js → tool-p1p5zv4x.js} +12 -12
- package/dist/chunks/{event-logger-z88rdk3t.js → tool-p2tvx8t7.js} +9 -9
- package/dist/chunks/{event-logger-zxrwfkf3.js → tool-p5dv4rwg.js} +36 -36
- package/dist/chunks/{event-logger-572t6fnq.js → tool-padba6h1.js} +5 -5
- package/dist/chunks/{event-logger-9bs8vsaq.js → tool-pak53k0g.js} +76 -76
- package/dist/chunks/{event-logger-51zaerfh.js → tool-pbbrhaxk.js} +36 -36
- package/dist/chunks/{event-logger-8054w6j6.js → tool-pc077hap.js} +9 -9
- package/dist/chunks/{event-logger-eqn2xv21.js → tool-pez7as0x.js} +41 -41
- package/dist/chunks/{event-logger-vzg9t7w7.js → tool-pfnrdc1y.js} +6 -6
- package/dist/chunks/{event-logger-qcsq32s1.js → tool-pfzasy7k.js} +6 -6
- package/dist/chunks/{event-logger-4pw98qd4.js → tool-pgqxr0th.js} +4 -4
- package/dist/chunks/{event-logger-y8hpk01c.js → tool-pheg3pak.js} +9 -9
- package/dist/chunks/{event-logger-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-aax7r870.js → tool-ppy7a7my.js} +6 -6
- package/dist/chunks/{event-logger-ejgeqqx1.js → tool-pr7b356r.js} +8 -8
- package/dist/chunks/{event-logger-fg9p65nk.js → tool-prq7xxp2.js} +6 -6
- package/dist/chunks/{event-logger-v3qajxv2.js → tool-q11dte8f.js} +16 -16
- package/dist/chunks/{event-logger-yrfzjmxs.js → tool-q1y2c6x5.js} +33 -33
- package/dist/chunks/{event-logger-dy7cgtbm.js → tool-q36dsedj.js} +59 -59
- package/dist/chunks/{event-logger-vh1gbyr9.js → tool-q48415cr.js} +43 -43
- package/dist/chunks/{event-logger-e253s4ac.js → tool-q9djgp4e.js} +17 -17
- package/dist/chunks/{event-logger-ex1wgdz4.js → tool-q9sa360e.js} +18 -18
- package/dist/chunks/{event-logger-tsskc6h9.js → tool-qd0hwsad.js} +9 -9
- package/dist/chunks/{event-logger-na4zh7w6.js → tool-qe8srvhz.js} +5 -5
- package/dist/chunks/{event-logger-jhmmfs20.js → tool-qna7kvz1.js} +5 -5
- package/dist/chunks/{event-logger-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
- package/dist/chunks/{event-logger-7dbrtjsx.js → tool-qp8qp7xq.js} +9 -9
- package/dist/chunks/{event-logger-czsg6qa7.js → tool-qrj805cr.js} +52 -71
- package/dist/chunks/{event-logger-wfdx5ztx.js → tool-qsdghx1p.js} +4 -4
- package/dist/chunks/{event-logger-fyfzbt3s.js → tool-qtf35215.js} +3 -3
- package/dist/chunks/{event-logger-m3k4f4wp.js → tool-r1zdtk3v.js} +22 -22
- package/dist/chunks/{event-logger-r542h3bh.js → tool-r542h3bh.js} +1 -1
- package/dist/chunks/tool-r6r1w0bn.js +265 -0
- package/dist/chunks/{event-logger-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-t8rdgqhb.js → tool-rfjyfe4k.js} +11 -11
- package/dist/chunks/{event-logger-rgc9cx3e.js → tool-rgc9cx3e.js} +2 -2
- package/dist/chunks/{event-logger-0d9h2c3x.js → tool-rj7jtxy8.js} +3 -3
- package/dist/chunks/{event-logger-bbzy17b9.js → tool-rs87zcqc.js} +59 -59
- package/dist/chunks/{event-logger-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
- package/dist/chunks/{event-logger-xyktq1rn.js → tool-s1td2z6q.js} +49 -49
- package/dist/chunks/{event-logger-matrc5aw.js → tool-sby54dqk.js} +2 -2
- package/dist/chunks/{event-logger-sbya78hr.js → tool-sbya78hr.js} +1 -1
- package/dist/chunks/{event-logger-s1s15f1s.js → tool-sgx9k6cw.js} +13 -13
- package/dist/chunks/{event-logger-mecrap0n.js → tool-sk7x78xs.js} +8 -8
- package/dist/chunks/{event-logger-xj142ye1.js → tool-sn4t5eh4.js} +12 -12
- package/dist/chunks/{event-logger-0j7gp832.js → tool-sqjzf8x2.js} +4 -4
- package/dist/chunks/{event-logger-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
- package/dist/chunks/{event-logger-mzhnyth5.js → tool-svr136ng.js} +4 -4
- package/dist/chunks/{event-logger-76sc5fc6.js → tool-szfm0m93.js} +36 -36
- package/dist/chunks/{event-logger-461f2rcz.js → tool-t19d8bxp.js} +3 -3
- package/dist/chunks/{event-logger-jtn88xg7.js → tool-t3qgac3j.js} +5 -5
- package/dist/chunks/{event-logger-n3j33rb6.js → tool-t62dywgn.js} +4 -4
- package/dist/chunks/{event-logger-tbpn7jtk.js → tool-tbpn7jtk.js} +1 -1
- package/dist/chunks/{event-logger-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-w6ab945r.js → tool-tew3ekv0.js} +19 -19
- package/dist/chunks/{event-logger-tg7s7b5t.js → tool-tg7s7b5t.js} +1 -1
- package/dist/chunks/{event-logger-5wyzzdh8.js → tool-tjakpvzb.js} +11 -11
- package/dist/chunks/{event-logger-cttnq2ya.js → tool-tn7x3vke.js} +11 -11
- package/dist/chunks/{event-logger-j376ae4e.js → tool-tr8x705m.js} +5 -5
- package/dist/chunks/{event-logger-zxwn8npj.js → tool-ttb0zajd.js} +49 -53
- package/dist/chunks/{event-logger-jgegbhe4.js → tool-tvjkm9e1.js} +47 -47
- package/dist/chunks/{event-logger-mm06edep.js → tool-tvtps2q9.js} +6 -7
- package/dist/chunks/{event-logger-twssxy5n.js → tool-twssxy5n.js} +2 -2
- package/dist/chunks/{event-logger-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-9beqts2g.js → tool-v2xkqqn9.js} +19 -19
- package/dist/chunks/{event-logger-2rwbqqk4.js → tool-v5wd13jm.js} +7 -7
- package/dist/chunks/{event-logger-wfzyh5a9.js → tool-v6j3d7ww.js} +4 -4
- package/dist/chunks/{event-logger-t2s9kz02.js → tool-v9gj58d7.js} +3 -3
- package/dist/chunks/{event-logger-37yf26y7.js → tool-v9p4ps2q.js} +3 -3
- package/dist/chunks/{event-logger-kcrxe5g6.js → tool-vag1bze5.js} +32 -32
- package/dist/chunks/{event-logger-v8bjwhbx.js → tool-vek77fn1.js} +4 -4
- package/dist/chunks/{event-logger-nznkv68n.js → tool-vfpdh65y.js} +10 -10
- package/dist/chunks/{event-logger-gn6qas9s.js → tool-vj50rhab.js} +8 -8
- package/dist/chunks/{event-logger-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
- package/dist/chunks/{event-logger-teav1bzy.js → tool-vq0qa3sh.js} +9 -9
- package/dist/chunks/{event-logger-xbfsqk1q.js → tool-vtsctq43.js} +10 -10
- package/dist/chunks/{event-logger-xwmw33nn.js → tool-vwdemqyb.js} +4 -4
- package/dist/chunks/{event-logger-7v9favrf.js → tool-vztdkk27.js} +31 -31
- package/dist/chunks/{event-logger-w2eysc6j.js → tool-w2eysc6j.js} +2 -2
- package/dist/chunks/{event-logger-zqvy8w2r.js → tool-w2y7d4w3.js} +2 -2
- package/dist/chunks/{event-logger-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-3gv0spa2.js → tool-w76xjer3.js} +4 -4
- package/dist/chunks/{event-logger-c0r5cqvh.js → tool-w778kp5v.js} +10 -10
- package/dist/chunks/{event-logger-v0t96s7a.js → tool-w79nt68w.js} +4 -4
- package/dist/chunks/{event-logger-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-s6rsk2n9.js → tool-wftqf8ja.js} +20 -20
- package/dist/chunks/{event-logger-wr3re1en.js → tool-wr3re1en.js} +1 -1
- package/dist/chunks/{event-logger-bpqkk4rq.js → tool-wsv88edq.js} +81 -81
- package/dist/chunks/{event-logger-tr50er13.js → tool-wvk4qw2j.js} +18 -18
- package/dist/chunks/{event-logger-67s37gp7.js → tool-wyfwz6yz.js} +4 -4
- package/dist/chunks/{event-logger-km9kxtn8.js → tool-wzpeeaw7.js} +30 -30
- package/dist/chunks/{event-logger-rjpqygew.js → tool-x09zhxa3.js} +14 -14
- package/dist/chunks/{event-logger-z0c26qk4.js → tool-x150ncgg.js} +2 -2
- package/dist/chunks/{event-logger-p96srfh5.js → tool-x30nvd7p.js} +19 -19
- package/dist/chunks/{event-logger-x4mcewfn.js → tool-x4mcewfn.js} +2 -2
- package/dist/chunks/{event-logger-5byntdag.js → tool-xd94f5nm.js} +21 -21
- package/dist/chunks/{event-logger-q92r6wg6.js → tool-xdxfw927.js} +26 -26
- package/dist/chunks/{event-logger-s11v5awe.js → tool-xfdma5f7.js} +11 -11
- package/dist/chunks/{event-logger-j995642n.js → tool-xjf7t5qy.js} +9 -9
- package/dist/chunks/{event-logger-xxschbft.js → tool-xxschbft.js} +1 -1
- package/dist/chunks/{event-logger-9h9gknhd.js → tool-y05fgwsx.js} +10 -10
- package/dist/chunks/{event-logger-9deqve51.js → tool-y4864fy3.js} +15 -15
- package/dist/chunks/{event-logger-v2x06h94.js → tool-y67jcnvv.js} +7 -7
- package/dist/chunks/{event-logger-6538m5zf.js → tool-y98jxswp.js} +10 -10
- package/dist/chunks/{event-logger-25hkaegy.js → tool-y9h7p0q4.js} +13 -13
- package/dist/chunks/{event-logger-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-t0608nav.js → tool-yk4ram99.js} +3 -3
- package/dist/chunks/{event-logger-r40cwf40.js → tool-ypmz62e0.js} +47 -18
- package/dist/chunks/{event-logger-yr705xyq.js → tool-yr705xyq.js} +1 -1
- package/dist/chunks/{event-logger-ts3bqvg1.js → tool-yrv28rr1.js} +19 -19
- package/dist/chunks/{event-logger-e7gzwz94.js → tool-ysnehdgc.js} +14 -14
- package/dist/chunks/{event-logger-8xz27cp9.js → tool-yts2a8qm.js} +4 -4
- package/dist/chunks/{event-logger-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
- package/dist/chunks/{event-logger-65ckc8p3.js → tool-yy48g898.js} +13 -13
- package/dist/chunks/{event-logger-38aws4xb.js → tool-z080rjh6.js} +4 -4
- package/dist/chunks/{event-logger-vsjvrq8f.js → tool-z5c1r2f6.js} +23 -23
- package/dist/chunks/{event-logger-ze75qvmd.js → tool-ze75qvmd.js} +3 -3
- package/dist/chunks/{event-logger-9rztdry8.js → tool-zgpeczg8.js} +11 -11
- package/dist/chunks/{event-logger-zpzp6d8n.js → tool-zq96bstz.js} +8 -8
- package/dist/chunks/{event-logger-3dk66214.js → tool-zr0eec27.js} +20 -20
- package/dist/chunks/{event-logger-whyespqn.js → tool-zw5t7e3y.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +83 -83
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +83 -83
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +87 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +109 -109
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +181 -181
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +252 -252
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +247 -247
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +104 -104
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +234 -234
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +152 -152
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/config/plugin/entry-observer.d.ts +1 -5
- package/dist/types/config.d.ts +0 -5
- package/dist/types/console-access.d.ts +0 -12
- package/dist/types/plugin/internal.d.ts +1 -3
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/event-logger-ffm8k566.js +0 -265
- package/dist/chunks/event-logger-qmh7vbk2.js +0 -18
- package/dist/chunks/event-logger-qwz12hkq.js +0 -16
- /package/dist/chunks/{event-logger-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-108x4f4w.js → tool-108x4f4w.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kah00gy.js → tool-1kah00gy.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3af0jn4w.js → tool-3af0jn4w.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
- /package/dist/chunks/{event-logger-6agm2x70.js → tool-6agm2x70.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-beh6qq61.js → tool-beh6qq61.js} +0 -0
- /package/dist/chunks/{event-logger-bhmrqjy3.js → tool-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-syrav9an.js → tool-syrav9an.js} +0 -0
- /package/dist/chunks/{event-logger-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
- /package/dist/chunks/{event-logger-ty7weeps.js → tool-ty7weeps.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-vtarvj67.js → tool-vtarvj67.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x4th4bpe.js → tool-x4th4bpe.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z0h12gs8.js → tool-z0h12gs8.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → tool-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zxpyjp51.js → tool-zxpyjp51.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node94
|
|
7
|
+
} from "./tool-cyvaxqay.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service87,
|
|
11
|
+
node90
|
|
12
|
+
} from "./tool-r1zdtk3v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service88,
|
|
15
|
+
node91
|
|
16
|
+
} from "./tool-6p47f7n7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node64
|
|
20
|
+
} from "./tool-d581z8cy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID19,
|
|
23
|
+
Service86,
|
|
24
|
+
node89
|
|
25
|
+
} from "./tool-1r35gkft.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID18,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service85,
|
|
34
|
+
node88
|
|
35
|
+
} from "./tool-b0d5d3xj.js";
|
|
36
36
|
import {
|
|
37
37
|
make26
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-qna7kvz1.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
Service44,
|
|
41
41
|
key2,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node47
|
|
43
|
+
} from "./tool-5nqnk5zt.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./tool-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/index.ts
|
|
49
49
|
var exports_mcp4 = {};
|
|
50
50
|
__export(exports_mcp4, {
|
|
51
51
|
Mcp: () => exports_mcp4,
|
|
52
|
-
NotFoundError: () =>
|
|
52
|
+
NotFoundError: () => NotFoundError6,
|
|
53
53
|
Options: () => Options4,
|
|
54
54
|
PromptsChanged: () => PromptsChanged2,
|
|
55
55
|
Resource: () => Resource2,
|
|
@@ -57,12 +57,12 @@ __export(exports_mcp4, {
|
|
|
57
57
|
ResourceContent: () => ResourceContent2,
|
|
58
58
|
ResourceTemplate: () => ResourceTemplate2,
|
|
59
59
|
ServerName: () => ServerName2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service43,
|
|
61
61
|
Status: () => Status3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
configured: () => configured4,
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
64
|
+
layer: () => layer18,
|
|
65
|
+
node: () => node46
|
|
66
66
|
});
|
|
67
67
|
import { Mcp } from "@opencode/schema/mcp";
|
|
68
68
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -95,7 +95,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
95
95
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
96
96
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
97
97
|
|
|
98
|
-
class
|
|
98
|
+
class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
99
99
|
server: ServerName2
|
|
100
100
|
}) {
|
|
101
101
|
get message() {
|
|
@@ -128,7 +128,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
128
128
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
129
129
|
var cloneConfig = (config) => structuredClone(config);
|
|
130
130
|
|
|
131
|
-
class
|
|
131
|
+
class Service43 extends Context.Service()("@opencode/MCP") {
|
|
132
132
|
}
|
|
133
133
|
var Options4 = Schema.Struct({
|
|
134
134
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -136,15 +136,15 @@ var Options4 = Schema.Struct({
|
|
|
136
136
|
version: Schema.String
|
|
137
137
|
}))
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const location = yield*
|
|
141
|
-
const environment = yield*
|
|
139
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
140
|
+
const location = yield* Service88;
|
|
141
|
+
const environment = yield* Service62;
|
|
142
142
|
const bus = yield* Service91;
|
|
143
|
-
const forms = yield*
|
|
144
|
-
const integration = yield*
|
|
145
|
-
const credentials = yield*
|
|
143
|
+
const forms = yield* Service86;
|
|
144
|
+
const integration = yield* Service85;
|
|
145
|
+
const credentials = yield* Service87;
|
|
146
146
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
147
|
-
const pool = yield*
|
|
147
|
+
const pool = yield* Service44;
|
|
148
148
|
const root = yield* Effect.scope;
|
|
149
149
|
const fork = yield* FiberSet.makeRuntime();
|
|
150
150
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -160,7 +160,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
160
160
|
return;
|
|
161
161
|
const remote = entry.config;
|
|
162
162
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
163
|
-
const integrationID =
|
|
163
|
+
const integrationID = ID18.make(suffix);
|
|
164
164
|
entry.integrationID = integrationID;
|
|
165
165
|
const methodID = MethodID2.make(suffix);
|
|
166
166
|
const scope = yield* Scope.fork(root);
|
|
@@ -175,7 +175,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
175
175
|
method: { id: methodID, type: "oauth", label: name },
|
|
176
176
|
authorize: () => Effect.gen(function* () {
|
|
177
177
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
178
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service87, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
}).pipe(Scope.provide(scope));
|
|
@@ -183,7 +183,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
183
183
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
184
184
|
const entry = entries.get(name);
|
|
185
185
|
if (!entry)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError6({ server: name });
|
|
187
187
|
return entry;
|
|
188
188
|
});
|
|
189
189
|
const connected = Effect.fnUntraced(function* (name) {
|
|
@@ -196,12 +196,12 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
196
196
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
197
197
|
return;
|
|
198
198
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
199
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(
|
|
199
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service87, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
200
200
|
});
|
|
201
201
|
const elicitation = {
|
|
202
202
|
create: (input) => Effect.gen(function* () {
|
|
203
203
|
if (input.params.mode === "url") {
|
|
204
|
-
const formID =
|
|
204
|
+
const formID = ID19.create();
|
|
205
205
|
const elicitationID = input.params.elicitationId;
|
|
206
206
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
207
207
|
if (key)
|
|
@@ -238,7 +238,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
238
238
|
content: Object.fromEntries(Object.entries(state.answer).map(([key, value]) => typeof value === "object" ? [key, Array.from(value)] : [key, value]))
|
|
239
239
|
};
|
|
240
240
|
}));
|
|
241
|
-
}).pipe(Effect.provideService(
|
|
241
|
+
}).pipe(Effect.provideService(Service88, location)),
|
|
242
242
|
complete: (input) => Effect.gen(function* () {
|
|
243
243
|
const formID = urlElicitations.get(input.server + "\x00" + input.elicitationID);
|
|
244
244
|
if (!formID)
|
|
@@ -357,10 +357,10 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
357
357
|
});
|
|
358
358
|
const replaceServer = Effect.fnUntraced(function* (name, serverConfig) {
|
|
359
359
|
const previous = entries.get(name);
|
|
360
|
-
const entry = makeEntry(name, serverConfig, yield* Clock.currentTimeMillis);
|
|
361
|
-
entries.set(name, entry);
|
|
362
360
|
if (previous)
|
|
363
361
|
yield* disposeServer(previous);
|
|
362
|
+
const entry = makeEntry(name, serverConfig, yield* Clock.currentTimeMillis);
|
|
363
|
+
entries.set(name, entry);
|
|
364
364
|
yield* Effect.gen(function* () {
|
|
365
365
|
yield* register(name, entry);
|
|
366
366
|
if (serverConfig.disabled) {
|
|
@@ -412,7 +412,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
412
412
|
clientInfo: options?.clientInfo
|
|
413
413
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
414
414
|
closed = true;
|
|
415
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
415
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
416
416
|
const register = Effect.gen(function* () {
|
|
417
417
|
if (closed) {
|
|
418
418
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -511,7 +511,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
511
511
|
}),
|
|
512
512
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
513
513
|
});
|
|
514
|
-
return
|
|
514
|
+
return Service43.of({
|
|
515
515
|
transform: state.transform,
|
|
516
516
|
reload: state.reload,
|
|
517
517
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -645,21 +645,21 @@ function mergeCatalogs(catalogs) {
|
|
|
645
645
|
}
|
|
646
646
|
function configured4(options) {
|
|
647
647
|
return makeLocationNode({
|
|
648
|
-
service:
|
|
649
|
-
layer:
|
|
648
|
+
service: Service43,
|
|
649
|
+
layer: layer18(options),
|
|
650
650
|
deps: [
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
node95,
|
|
651
|
+
node91,
|
|
652
|
+
node64,
|
|
654
653
|
node94,
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
node89,
|
|
655
|
+
node88,
|
|
656
|
+
node90,
|
|
657
657
|
httpFetch,
|
|
658
|
-
|
|
658
|
+
node47
|
|
659
659
|
]
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var node46 = configured4();
|
|
663
663
|
function toElicitationField(key, property, required) {
|
|
664
664
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
665
665
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
713
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service43, Options4, layer18, configured4, node46, exports_mcp4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-ttb0zajd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info13,
|
|
9
|
+
ID10,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-5c9ayr0a.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
@@ -33,22 +33,22 @@ Use this guide as the starting point for work involving OpenCode itself. It
|
|
|
33
33
|
covers the core concepts needed to configure and customize OpenCode, extend it
|
|
34
34
|
with plugins, and build integrations with the OpenCode SDK, clients, and API.
|
|
35
35
|
|
|
36
|
-
Full documentation is available at <https://opencode.ai/
|
|
36
|
+
Full documentation is available at <https://opencode.ai/docs/>. This overview is
|
|
37
37
|
only an index of core concepts. Before answering a question about a topic below,
|
|
38
38
|
fetch the URL named in that section and use the full page as the source of
|
|
39
39
|
truth. Follow links from that page when the question needs more detail. Fetch
|
|
40
|
-
<https://opencode.ai/
|
|
40
|
+
<https://opencode.ai/docs/> first when you need to discover the relevant
|
|
41
41
|
documentation page.
|
|
42
42
|
|
|
43
43
|
A machine-readable documentation index is available at
|
|
44
|
-
<https://opencode.ai/
|
|
44
|
+
<https://opencode.ai/docs/llms.txt>.
|
|
45
45
|
|
|
46
46
|
## Version policy
|
|
47
47
|
|
|
48
48
|
Always answer for OpenCode V2 unless the user explicitly asks about V1,
|
|
49
49
|
legacy OpenCode, or migrating from V1.
|
|
50
50
|
|
|
51
|
-
Use only <https://opencode.ai/
|
|
51
|
+
Use only <https://opencode.ai/docs/> documentation as the source of truth for V2.
|
|
52
52
|
Do not use <https://opencode.ai/docs/>, which documents V1, and do not use
|
|
53
53
|
general web search to resolve a V2 documentation question when the V2 docs or
|
|
54
54
|
linked pages cover it. The schema served from
|
|
@@ -60,11 +60,11 @@ V1 documentation and syntax may be consulted only when the user explicitly
|
|
|
60
60
|
asks about V1 or when needed as migration input. Outputs and recommendations
|
|
61
61
|
must still use V2 unless the user specifically requests a V1 result.
|
|
62
62
|
|
|
63
|
-
## [CLI](https://opencode.ai/
|
|
63
|
+
## [CLI](https://opencode.ai/docs/cli)
|
|
64
64
|
|
|
65
65
|
For questions about the terminal interface, command-line invocation, \`run\`,
|
|
66
66
|
\`mini\`, terminal providers, or other CLI behavior, fetch the
|
|
67
|
-
[CLI guide](https://opencode.ai/
|
|
67
|
+
[CLI guide](https://opencode.ai/docs/cli) and the relevant page linked from
|
|
68
68
|
that section.
|
|
69
69
|
|
|
70
70
|
CLI and TUI preferences are separate from OpenCode's server and project
|
|
@@ -74,15 +74,15 @@ project-local CLI configuration. Set \`OPENCODE_CLI_CONFIG_CONTENT\` to merge
|
|
|
74
74
|
inline JSON over the global settings. Most preferences can also be changed from
|
|
75
75
|
the TUI by pressing \`Ctrl+P\` and selecting **Open settings**.
|
|
76
76
|
|
|
77
|
-
### [Settings](https://opencode.ai/
|
|
77
|
+
### [Settings](https://opencode.ai/docs/cli/config)
|
|
78
78
|
|
|
79
|
-
Fetch the full [CLI settings reference](https://opencode.ai/
|
|
79
|
+
Fetch the full [CLI settings reference](https://opencode.ai/docs/cli/config)
|
|
80
80
|
before editing \`cli.json\`. It documents every terminal-only setting, accepted
|
|
81
81
|
values, and examples, including themes, input, sessions, tabs, diffs, alerts,
|
|
82
82
|
Mini, keybindings, terminal plugins, and debugging. Do not put these settings
|
|
83
83
|
in \`opencode.json(c)\`.
|
|
84
84
|
|
|
85
|
-
### [Keybinds](https://opencode.ai/
|
|
85
|
+
### [Keybinds](https://opencode.ai/docs/cli/keybinds)
|
|
86
86
|
|
|
87
87
|
Configure keybindings under \`keybinds\` in \`cli.json\`. The leader key is the
|
|
88
88
|
\`keybinds.leader\` entry; leader timing is configured separately under
|
|
@@ -91,10 +91,10 @@ when event behavior such as \`preventDefault\` is required. Disable a binding
|
|
|
91
91
|
with \`"none"\` or \`false\`.
|
|
92
92
|
|
|
93
93
|
Never guess a command ID, default binding, or accepted key syntax. Fetch the
|
|
94
|
-
full [keybind reference](https://opencode.ai/
|
|
94
|
+
full [keybind reference](https://opencode.ai/docs/cli/keybinds), which lists
|
|
95
95
|
the current IDs and defaults, before answering or editing a binding.
|
|
96
96
|
|
|
97
|
-
## [OpenCode configuration](https://opencode.ai/
|
|
97
|
+
## [OpenCode configuration](https://opencode.ai/docs/config)
|
|
98
98
|
|
|
99
99
|
OpenCode's server and project configuration uses JSON or JSONC. Include the
|
|
100
100
|
published schema so the user's editor can validate fields and provide
|
|
@@ -124,7 +124,7 @@ Common configuration fields include \`model\`, \`default_agent\`, \`permissions\
|
|
|
124
124
|
\`references\`, \`formatter\`, and \`lsp\`.
|
|
125
125
|
|
|
126
126
|
This configuration is distinct from \`cli.json\`. Use the
|
|
127
|
-
[CLI settings reference](https://opencode.ai/
|
|
127
|
+
[CLI settings reference](https://opencode.ai/docs/cli/config) for terminal
|
|
128
128
|
preferences, especially themes and keybindings.
|
|
129
129
|
|
|
130
130
|
Config changes apply without a restart. OpenCode watches config files and
|
|
@@ -137,10 +137,10 @@ linked topic guide as the source of truth, and preserve unrelated settings when
|
|
|
137
137
|
editing an existing file. Keep the published \`$schema\` URL in configuration
|
|
138
138
|
examples, but do not fetch it to determine the V2 configuration shape.
|
|
139
139
|
|
|
140
|
-
See the [full configuration guide](https://opencode.ai/
|
|
140
|
+
See the [full configuration guide](https://opencode.ai/docs/config) for
|
|
141
141
|
every field, examples, config locations, and links to dedicated feature guides.
|
|
142
142
|
|
|
143
|
-
## [MCP servers](https://opencode.ai/
|
|
143
|
+
## [MCP servers](https://opencode.ai/docs/mcp-servers)
|
|
144
144
|
|
|
145
145
|
Configure MCP servers under \`mcp.servers\`. Prefer the CLI because it preserves
|
|
146
146
|
unrelated configuration. Use \`--global\` when the user asks to set up a service
|
|
@@ -167,11 +167,11 @@ only when OAuth is unavailable or the user explicitly requires them, and use an
|
|
|
167
167
|
environment substitution such as \`{env:MCP_API_KEY}\` instead of writing a
|
|
168
168
|
secret into configuration.
|
|
169
169
|
|
|
170
|
-
## [V1 to V2 migration](https://opencode.ai/
|
|
170
|
+
## [V1 to V2 migration](https://opencode.ai/docs/migrate-v1)
|
|
171
171
|
|
|
172
172
|
For any request to migrate OpenCode configuration, agents, commands, skills,
|
|
173
173
|
plugins, integrations, or other behavior from V1 to V2, read the full
|
|
174
|
-
[migration guide](https://opencode.ai/
|
|
174
|
+
[migration guide](https://opencode.ai/docs/migrate-v1) before acting. In
|
|
175
175
|
the repository, its source is \`services/site/src/docs/content/migrate-v1.mdx\`.
|
|
176
176
|
|
|
177
177
|
V1 config files and \`.opencode/\` definitions are intended to remain compatible.
|
|
@@ -180,22 +180,22 @@ V2 config uses more ergonomic shapes, but conversion is optional. When the user
|
|
|
180
180
|
requests conversion, inspect the complete configuration, preserve behavior and
|
|
181
181
|
unrelated settings, and apply only the relevant migrations from the guide. For
|
|
182
182
|
plugin migrations, fetch and follow both the migration guide and the full
|
|
183
|
-
[plugins guide](https://opencode.ai/
|
|
183
|
+
[plugins guide](https://opencode.ai/docs/build/plugins). If non-API V1
|
|
184
184
|
functionality fails in V2, use the \`report\` skill to file it as a compatibility
|
|
185
185
|
bug.
|
|
186
186
|
|
|
187
|
-
## [Plugins](https://opencode.ai/
|
|
187
|
+
## [Plugins](https://opencode.ai/docs/build/plugins)
|
|
188
188
|
|
|
189
189
|
For questions about creating, configuring, loading, publishing, or migrating
|
|
190
|
-
plugins, fetch the full [plugins guide](https://opencode.ai/
|
|
190
|
+
plugins, fetch the full [plugins guide](https://opencode.ai/docs/build/plugins)
|
|
191
191
|
before answering. Refer to this guide when the user wants to build a plugin. It
|
|
192
192
|
covers hooks, transforms, tools, plugin context capabilities, and package
|
|
193
193
|
entrypoints. Plugins can also extend the TUI; for those, fetch the
|
|
194
|
-
[CLI plugin guide](https://opencode.ai/
|
|
194
|
+
[CLI plugin guide](https://opencode.ai/docs/build/plugins/cli).
|
|
195
195
|
For custom methods and events shared with other plugins or clients, fetch the
|
|
196
|
-
[RPC guide](https://opencode.ai/
|
|
196
|
+
[RPC guide](https://opencode.ai/docs/build/plugins/rpc).
|
|
197
197
|
|
|
198
|
-
## [Service](https://opencode.ai/
|
|
198
|
+
## [Service](https://opencode.ai/docs/troubleshooting#check-the-background-service)
|
|
199
199
|
|
|
200
200
|
OpenCode uses a client-server architecture. Interfaces such as the TUI connect
|
|
201
201
|
to a background OpenCode service, which owns sessions, configuration, plugins,
|
|
@@ -215,7 +215,7 @@ Check its status after restarting:
|
|
|
215
215
|
opencode service status
|
|
216
216
|
\`\`\`
|
|
217
217
|
|
|
218
|
-
## [API](https://opencode.ai/
|
|
218
|
+
## [API](https://opencode.ai/docs/api)
|
|
219
219
|
|
|
220
220
|
OpenCode exposes an HTTP API from its server. The API is described by an
|
|
221
221
|
OpenAPI document available from the running server at \`/openapi.json\`.
|
|
@@ -248,15 +248,15 @@ connected to an explicit server instead of its managed background service, use
|
|
|
248
248
|
the same configured server and authentication context rather than constructing
|
|
249
249
|
an unauthenticated request separately.
|
|
250
250
|
|
|
251
|
-
See the [full API reference](https://opencode.ai/
|
|
251
|
+
See the [full API reference](https://opencode.ai/docs/api) for available
|
|
252
252
|
endpoints, parameters, request bodies, and response schemas. The
|
|
253
|
-
raw [OpenAPI specification](https://opencode.ai/
|
|
253
|
+
raw [OpenAPI specification](https://opencode.ai/docs/openapi.json) is also
|
|
254
254
|
available for code generation and other tooling.
|
|
255
255
|
|
|
256
|
-
## [Client](https://opencode.ai/
|
|
256
|
+
## [Client](https://opencode.ai/docs/build/client)
|
|
257
257
|
|
|
258
258
|
For questions about connecting an application to OpenCode over the network,
|
|
259
|
-
fetch the full [client guide](https://opencode.ai/
|
|
259
|
+
fetch the full [client guide](https://opencode.ai/docs/build/client) before
|
|
260
260
|
answering.
|
|
261
261
|
|
|
262
262
|
\`@opencode/client\` is the generated TypeScript client for the OpenCode HTTP
|
|
@@ -267,17 +267,17 @@ exposes typed Effects, Streams, and decoded OpenCode schema values. Its
|
|
|
267
267
|
\`Service\` API can discover, start, stop, and authenticate with the local
|
|
268
268
|
background service from a Node application.
|
|
269
269
|
|
|
270
|
-
## [SDK](https://opencode.ai/
|
|
270
|
+
## [SDK](https://opencode.ai/docs/build/sdk)
|
|
271
271
|
|
|
272
272
|
For questions about embedding OpenCode directly in an application, fetch the
|
|
273
|
-
full [SDK guide](https://opencode.ai/
|
|
273
|
+
full [SDK guide](https://opencode.ai/docs/build/sdk) before answering. The SDK
|
|
274
274
|
hosts OpenCode in the application without opening an HTTP listener.
|
|
275
275
|
|
|
276
|
-
Use the [Effect SDK guide](https://opencode.ai/
|
|
276
|
+
Use the [Effect SDK guide](https://opencode.ai/docs/build/sdk/effect) for
|
|
277
277
|
Effect applications. For Cloudflare Durable Objects, use the
|
|
278
|
-
[Cloudflare SDK guide](https://opencode.ai/
|
|
278
|
+
[Cloudflare SDK guide](https://opencode.ai/docs/build/sdk/cloudflare).
|
|
279
279
|
|
|
280
|
-
## [Troubleshooting](https://opencode.ai/
|
|
280
|
+
## [Troubleshooting](https://opencode.ai/docs/troubleshooting)
|
|
281
281
|
|
|
282
282
|
OpenCode runs a client and a background server. Start by determining whether a
|
|
283
283
|
problem belongs to the client, the shared server, or one project.
|
|
@@ -297,7 +297,7 @@ problem belongs to the client, the shared server, or one project.
|
|
|
297
297
|
- Redact API keys, authorization headers, prompts, file contents, and other
|
|
298
298
|
sensitive data before sharing diagnostics.
|
|
299
299
|
|
|
300
|
-
See the [full troubleshooting guide](https://opencode.ai/
|
|
300
|
+
See the [full troubleshooting guide](https://opencode.ai/docs/troubleshooting)
|
|
301
301
|
for service lifecycle commands, API inspection, log locations, explicit server
|
|
302
302
|
connections, issue-reporting details, and local development paths.
|
|
303
303
|
`;
|
|
@@ -439,15 +439,15 @@ var Plugin49 = define({
|
|
|
439
439
|
effect: Effect.fn(function* (ctx) {
|
|
440
440
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
441
441
|
yield* ctx.skill.transform((editor) => {
|
|
442
|
-
editor.add(
|
|
443
|
-
id:
|
|
442
|
+
editor.add(Info13.make({
|
|
443
|
+
id: ID10.make("opencode"),
|
|
444
444
|
name: Name2.make("OpenCode"),
|
|
445
445
|
description: OpencodeDescription2,
|
|
446
446
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
447
447
|
content: OpencodeContent2
|
|
448
448
|
}));
|
|
449
|
-
editor.add(
|
|
450
|
-
id:
|
|
449
|
+
editor.add(Info13.make({
|
|
450
|
+
id: ID10.make("report"),
|
|
451
451
|
name: Name2.make("Report"),
|
|
452
452
|
description: REPORT_DESCRIPTION,
|
|
453
453
|
path: AbsolutePath2.make("skill://report/SKILL.md"),
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node64
|
|
9
|
+
} from "./tool-d581z8cy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./tool-wftqf8ja.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service42,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node45,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service42 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -331,13 +331,13 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
return index + 1;
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
|
-
var layer = Layer.effect(
|
|
335
|
-
const environment = yield*
|
|
336
|
-
return
|
|
334
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
335
|
+
const environment = yield* Service62;
|
|
336
|
+
return Service42.of({
|
|
337
337
|
list: environment.files.list,
|
|
338
338
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
339
339
|
});
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
341
|
+
var node45 = makeLocationNode({ service: Service42, layer, deps: [node64] });
|
|
342
342
|
|
|
343
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
343
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service42, read2, node45, exports_read_filesystem };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make32,
|
|
5
5
|
listUpdate2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-t62dywgn.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-pbbrhaxk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service43,
|
|
12
|
+
node46
|
|
13
|
+
} from "./tool-q36dsedj.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name16
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-4qgen1r6.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions6 = {};
|
|
24
24
|
__export(exports_instructions6, {
|
|
25
25
|
McpInstructions: () => exports_instructions6,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service40,
|
|
27
|
+
layer: () => layer16,
|
|
28
|
+
node: () => node43
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,13 +57,13 @@ var update = listUpdate2({
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service40 extends Context.Service()("@opencode/McpInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const mcp = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
63
|
+
const mcp = yield* Service43;
|
|
64
|
+
return Service40.of({
|
|
65
65
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
66
|
-
const source = (value) =>
|
|
66
|
+
const source = (value) => make32({
|
|
67
67
|
key: Key3.make("core/mcp-guidance"),
|
|
68
68
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
69
69
|
read: Effect.succeed(value),
|
|
@@ -90,6 +90,6 @@ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
}));
|
|
93
|
-
var
|
|
93
|
+
var node43 = makeLocationNode({ service: Service40, layer: layer16, deps: [node46] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { Service40, layer16, node43, exports_instructions6 };
|