@opencode-ai/core 0.0.0-dev-19114 → 0.0.0-dev-19116

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.
Files changed (770) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{rpc-krmx2xyr.js → persistent-pty-02ghykkt.js} +47 -47
  9. package/dist/chunks/{rpc-e0c61twq.js → persistent-pty-038hmbfv.js} +26 -26
  10. package/dist/chunks/{rpc-q55daa19.js → persistent-pty-039t5jx1.js} +11 -11
  11. package/dist/chunks/{rpc-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{rpc-bzxkbfsh.js → persistent-pty-0ez61b8c.js} +2 -2
  13. package/dist/chunks/{rpc-fcrkznn8.js → persistent-pty-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{rpc-jj3qxa52.js → persistent-pty-0k2v0y72.js} +4 -4
  15. package/dist/chunks/{rpc-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{rpc-qw4tavyr.js → persistent-pty-0q7jjq5p.js} +12 -12
  17. package/dist/chunks/{rpc-0rag4e4f.js → persistent-pty-0rag4e4f.js} +1 -1
  18. package/dist/chunks/{rpc-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
  19. package/dist/chunks/{rpc-bct739vz.js → persistent-pty-0v53mg2y.js} +4 -4
  20. package/dist/chunks/{rpc-681pyqye.js → persistent-pty-12gh2r0n.js} +4 -4
  21. package/dist/chunks/{rpc-13a4dv0y.js → persistent-pty-13b7zb7a.js} +25 -25
  22. package/dist/chunks/{rpc-dw3xrg89.js → persistent-pty-14hmenm3.js} +3 -3
  23. package/dist/chunks/{rpc-k1a72sje.js → persistent-pty-15vsdprz.js} +28 -28
  24. package/dist/chunks/{rpc-3bm3cy1r.js → persistent-pty-1cse2xtn.js} +24 -24
  25. package/dist/chunks/{rpc-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
  26. package/dist/chunks/persistent-pty-1k2nkqs9.js +243 -0
  27. package/dist/chunks/{rpc-362kye7e.js → persistent-pty-1pae77tt.js} +28 -28
  28. package/dist/chunks/{rpc-dyjhg8hd.js → persistent-pty-1qdvjv25.js} +28 -28
  29. package/dist/chunks/{rpc-fqae1sy2.js → persistent-pty-1t8g2pth.js} +4 -4
  30. package/dist/chunks/{rpc-gm9r9zqf.js → persistent-pty-1xdvak68.js} +24 -24
  31. package/dist/chunks/{rpc-hm8am6ct.js → persistent-pty-1zmt232p.js} +8 -8
  32. package/dist/chunks/persistent-pty-20s8sfqs.js +450 -0
  33. package/dist/chunks/{rpc-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  34. package/dist/chunks/{rpc-dnn1mfa9.js → persistent-pty-22wknqry.js} +10 -10
  35. package/dist/chunks/{rpc-ywszqpxp.js → persistent-pty-23c0csww.js} +9 -9
  36. package/dist/chunks/{rpc-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  37. package/dist/chunks/{rpc-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{rpc-4f62s5at.js → persistent-pty-2grmq5yz.js} +36 -36
  39. package/dist/chunks/{rpc-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
  40. package/dist/chunks/{rpc-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
  41. package/dist/chunks/{rpc-wtm3m4mv.js → persistent-pty-2m4g9ewj.js} +4 -4
  42. package/dist/chunks/{rpc-cn4y6mk1.js → persistent-pty-2nhytzg2.js} +12 -12
  43. package/dist/chunks/{rpc-qa3qhgw8.js → persistent-pty-34rkz0x9.js} +7 -7
  44. package/dist/chunks/{rpc-agypkckn.js → persistent-pty-3bmsdbgc.js} +20 -20
  45. package/dist/chunks/{rpc-3cm4x8pz.js → persistent-pty-3cm4x8pz.js} +2 -2
  46. package/dist/chunks/{rpc-kexr6zkj.js → persistent-pty-3d8pr09w.js} +15 -15
  47. package/dist/chunks/{rpc-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{rpc-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{rpc-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{rpc-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{rpc-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{rpc-0n8tzkkd.js → persistent-pty-41j7tnv9.js} +9 -9
  53. package/dist/chunks/{rpc-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
  54. package/dist/chunks/{rpc-akr89kgy.js → persistent-pty-4ffy803j.js} +12 -12
  55. package/dist/chunks/{rpc-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
  56. package/dist/chunks/{rpc-t53mj6v6.js → persistent-pty-4z6b0fg6.js} +6 -6
  57. package/dist/chunks/{rpc-5t5ksy9c.js → persistent-pty-51nwj3e2.js} +62 -62
  58. package/dist/chunks/{rpc-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  59. package/dist/chunks/{rpc-sj09nt66.js → persistent-pty-5djpcxd2.js} +17 -17
  60. package/dist/chunks/{rpc-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{rpc-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{rpc-pbv7m5sr.js → persistent-pty-5k3f87xj.js} +1 -1
  63. package/dist/chunks/{rpc-x64q5xrw.js → persistent-pty-608x8pfm.js} +1 -1
  64. package/dist/chunks/{rpc-dkzv161j.js → persistent-pty-61vgpbh6.js} +37 -37
  65. package/dist/chunks/{rpc-ywpw23hy.js → persistent-pty-6cmxkhbe.js} +10 -10
  66. package/dist/chunks/{rpc-8zj8e59x.js → persistent-pty-6ehp7zc5.js} +4 -4
  67. package/dist/chunks/{rpc-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
  68. package/dist/chunks/{rpc-awvzwpe5.js → persistent-pty-6xkccwtq.js} +6 -6
  69. package/dist/chunks/{rpc-vvn5h3hg.js → persistent-pty-6y243n7t.js} +11 -11
  70. package/dist/chunks/{rpc-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
  71. package/dist/chunks/{rpc-xw7hdwrj.js → persistent-pty-75ecc7tz.js} +29 -29
  72. package/dist/chunks/{rpc-ygw4aaat.js → persistent-pty-75yd3t4x.js} +28 -28
  73. package/dist/chunks/{rpc-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{rpc-2ptt8nrr.js → persistent-pty-7d3hynex.js} +23 -23
  75. package/dist/chunks/{rpc-dw7nx357.js → persistent-pty-7ejv2hd0.js} +41 -41
  76. package/dist/chunks/{rpc-ecj1d35v.js → persistent-pty-7hw31dwt.js} +8 -8
  77. package/dist/chunks/{rpc-b53s1hq4.js → persistent-pty-7rgs2zq8.js} +11 -11
  78. package/dist/chunks/{rpc-gzbkpp9m.js → persistent-pty-7w3s9kd0.js} +4 -4
  79. package/dist/chunks/{rpc-e11tpvzs.js → persistent-pty-7z714152.js} +9 -9
  80. package/dist/chunks/{rpc-0gxwyxn9.js → persistent-pty-7zak5xvr.js} +9 -9
  81. package/dist/chunks/persistent-pty-7zk4hah4.js +4 -0
  82. package/dist/chunks/{rpc-wta8nv8e.js → persistent-pty-86s3977f.js} +1 -1
  83. package/dist/chunks/{rpc-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  84. package/dist/chunks/{rpc-mzsb370n.js → persistent-pty-8ftz6ejv.js} +13 -13
  85. package/dist/chunks/{rpc-vz05mr0w.js → persistent-pty-8p28ygyr.js} +9 -9
  86. package/dist/chunks/{rpc-93a8yfjt.js → persistent-pty-93a8yfjt.js} +2 -2
  87. package/dist/chunks/{rpc-y3xxj3sg.js → persistent-pty-9aq2mrk7.js} +13 -13
  88. package/dist/chunks/{rpc-g9hcz8g4.js → persistent-pty-9fm1kxq4.js} +3 -3
  89. package/dist/chunks/{rpc-6zynhbga.js → persistent-pty-9mwzjgyd.js} +28 -28
  90. package/dist/chunks/{rpc-jpnc116f.js → persistent-pty-9staja66.js} +3 -3
  91. package/dist/chunks/{rpc-f9kjby5r.js → persistent-pty-9x2w7v1q.js} +7 -7
  92. package/dist/chunks/{rpc-xgjn1vmq.js → persistent-pty-9xmd3vp9.js} +25 -25
  93. package/dist/chunks/{rpc-0c2bm2k8.js → persistent-pty-a3pq3n59.js} +44 -44
  94. package/dist/chunks/{rpc-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  95. package/dist/chunks/{rpc-bpj5emke.js → persistent-pty-ad75gk38.js} +15 -15
  96. package/dist/chunks/{rpc-5qvt5yk2.js → persistent-pty-ahexa12d.js} +40 -40
  97. package/dist/chunks/{rpc-8ftyy1y4.js → persistent-pty-ak6efjp5.js} +4 -4
  98. package/dist/chunks/{rpc-3g2y1byn.js → persistent-pty-awqyf91x.js} +5 -5
  99. package/dist/chunks/{rpc-vrpz8t5t.js → persistent-pty-b0grxa7w.js} +5 -5
  100. package/dist/chunks/{rpc-6gbhcw7b.js → persistent-pty-b4wqy378.js} +31 -31
  101. package/dist/chunks/{rpc-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{rpc-v550zfzq.js → persistent-pty-b8r2rjw8.js} +26 -26
  103. package/dist/chunks/{rpc-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
  104. package/dist/chunks/{rpc-y092mk2a.js → persistent-pty-ba9rkfcs.js} +6 -6
  105. package/dist/chunks/{rpc-3x4vyhkr.js → persistent-pty-bf4rn6za.js} +6 -6
  106. package/dist/chunks/{rpc-p0b4ytnr.js → persistent-pty-bjs2yq5f.js} +6 -6
  107. package/dist/chunks/{rpc-t6f6dd4d.js → persistent-pty-bnxgfjcz.js} +9 -9
  108. package/dist/chunks/{rpc-2bmk1p60.js → persistent-pty-byd5pdh7.js} +32 -32
  109. package/dist/chunks/{rpc-sqqtc4xq.js → persistent-pty-c3cb06f5.js} +13 -13
  110. package/dist/chunks/{rpc-jjtztttc.js → persistent-pty-c44391z3.js} +17 -17
  111. package/dist/chunks/{rpc-tv79vecj.js → persistent-pty-c69vx815.js} +13 -13
  112. package/dist/chunks/{rpc-9ta1ym7w.js → persistent-pty-cb52j08x.js} +37 -37
  113. package/dist/chunks/{rpc-zq9fnn7x.js → persistent-pty-cmp1gbzr.js} +11 -11
  114. package/dist/chunks/{rpc-13wt57az.js → persistent-pty-cnzcswpq.js} +161 -161
  115. package/dist/chunks/{rpc-w09bvaae.js → persistent-pty-cq3yemdf.js} +51 -51
  116. package/dist/chunks/{rpc-xdqwr4d8.js → persistent-pty-csd2kfzw.js} +9 -9
  117. package/dist/chunks/{rpc-4rkx0bt1.js → persistent-pty-ctqk5yba.js} +7 -7
  118. package/dist/chunks/{rpc-z3xgatyd.js → persistent-pty-djtdz80w.js} +4 -4
  119. package/dist/chunks/{rpc-j4wxjfwy.js → persistent-pty-dm4vv4a6.js} +32 -32
  120. package/dist/chunks/{rpc-cvhw1js2.js → persistent-pty-dnk7gmhh.js} +7 -7
  121. package/dist/chunks/{rpc-7p4c7sjp.js → persistent-pty-dskqvp6c.js} +71 -71
  122. package/dist/chunks/{rpc-d8k9asg8.js → persistent-pty-dypfnnxv.js} +7 -7
  123. package/dist/chunks/{rpc-dkxcwvcg.js → persistent-pty-e18bnnvs.js} +9 -9
  124. package/dist/chunks/{rpc-05x7kg3x.js → persistent-pty-e3bzzpkn.js} +10 -10
  125. package/dist/chunks/{rpc-fcbhp7q1.js → persistent-pty-e3rf8krc.js} +20 -20
  126. package/dist/chunks/{rpc-mke2843p.js → persistent-pty-e4b60twv.js} +22 -22
  127. package/dist/chunks/{rpc-2kf7re16.js → persistent-pty-e5b0qn1c.js} +1 -1
  128. package/dist/chunks/{rpc-9b0zy0qp.js → persistent-pty-e8zb6afy.js} +36 -36
  129. package/dist/chunks/{rpc-m4673ea2.js → persistent-pty-egz8g656.js} +33 -33
  130. package/dist/chunks/{rpc-mhkvc446.js → persistent-pty-eq1pz5kg.js} +3 -3
  131. package/dist/chunks/{rpc-trt6hbzz.js → persistent-pty-ey1a04aj.js} +4 -4
  132. package/dist/chunks/{rpc-ez5b8bq3.js → persistent-pty-ez5b8bq3.js} +1 -1
  133. package/dist/chunks/{rpc-esmjj44a.js → persistent-pty-ezq5zned.js} +9 -9
  134. package/dist/chunks/{rpc-jwcy2c2z.js → persistent-pty-f0nz223j.js} +4 -4
  135. package/dist/chunks/{rpc-8enbe2zj.js → persistent-pty-f2c1rw5q.js} +8 -8
  136. package/dist/chunks/{rpc-4cpnf65c.js → persistent-pty-f4h69zw7.js} +32 -32
  137. package/dist/chunks/{rpc-t28cy6st.js → persistent-pty-f7p58vk5.js} +16 -16
  138. package/dist/chunks/{rpc-e3gwwck0.js → persistent-pty-f86dfzph.js} +11 -11
  139. package/dist/chunks/{rpc-w8h6fvwh.js → persistent-pty-f8r5v8zg.js} +2 -2
  140. package/dist/chunks/{rpc-08aze5ws.js → persistent-pty-fadw8aff.js} +29 -29
  141. package/dist/chunks/{rpc-rde9wvyt.js → persistent-pty-fak1e3ja.js} +16 -16
  142. package/dist/chunks/{rpc-97f5v037.js → persistent-pty-fgjfecz2.js} +8 -8
  143. package/dist/chunks/{rpc-rrq6kz97.js → persistent-pty-fsea1w0p.js} +36 -36
  144. package/dist/chunks/{rpc-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{rpc-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
  146. package/dist/chunks/{rpc-9e0xajhk.js → persistent-pty-fy3x4dmh.js} +13 -13
  147. package/dist/chunks/{rpc-hrvm11jt.js → persistent-pty-g2dy4bvs.js} +3 -3
  148. package/dist/chunks/{rpc-d72308c8.js → persistent-pty-g2gt0w0k.js} +2 -2
  149. package/dist/chunks/{rpc-zy59706a.js → persistent-pty-g3xm713x.js} +11 -11
  150. package/dist/chunks/{rpc-re7ze2ma.js → persistent-pty-g41n1fn3.js} +5 -5
  151. package/dist/chunks/{rpc-agbwq1v1.js → persistent-pty-g9a9rqx4.js} +15 -15
  152. package/dist/chunks/{rpc-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{rpc-w55q2m1g.js → persistent-pty-gfze89fe.js} +18 -18
  154. package/dist/chunks/{rpc-3wv0wb6p.js → persistent-pty-gg2fk1c4.js} +15 -15
  155. package/dist/chunks/{rpc-vv86pfn4.js → persistent-pty-ggsr10e7.js} +12 -12
  156. package/dist/chunks/{rpc-gn28t5xn.js → persistent-pty-gkvzh88r.js} +14 -14
  157. package/dist/chunks/{rpc-fjhz18m3.js → persistent-pty-h0z0jvv9.js} +22 -22
  158. package/dist/chunks/{rpc-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{rpc-nrz5c8c1.js → persistent-pty-h9k9cmfx.js} +9 -9
  160. package/dist/chunks/{rpc-53rarqxp.js → persistent-pty-hc00199r.js} +10 -10
  161. package/dist/chunks/{rpc-tcqnna6w.js → persistent-pty-heq22s2d.js} +17 -17
  162. package/dist/chunks/{rpc-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{rpc-g0z069dn.js → persistent-pty-hmt4vayt.js} +5 -5
  164. package/dist/chunks/{rpc-6426t8cq.js → persistent-pty-hnhdj7rj.js} +27 -27
  165. package/dist/chunks/{rpc-hkfdkmkj.js → persistent-pty-hqty32ca.js} +25 -25
  166. package/dist/chunks/{rpc-v0sae4m8.js → persistent-pty-hrabpqyz.js} +29 -29
  167. package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
  168. package/dist/chunks/{rpc-hw4pv20g.js → persistent-pty-hw4pv20g.js} +2 -2
  169. package/dist/chunks/{rpc-sp67jf0a.js → persistent-pty-j0y8f0xq.js} +3 -3
  170. package/dist/chunks/{rpc-e5e2w1y3.js → persistent-pty-j2y37yhm.js} +26 -26
  171. package/dist/chunks/{rpc-11zyvh05.js → persistent-pty-j3kams4z.js} +37 -37
  172. package/dist/chunks/{rpc-kejw0t4e.js → persistent-pty-j43tf9gr.js} +5 -5
  173. package/dist/chunks/{rpc-wjdvdpz4.js → persistent-pty-j53zazwc.js} +9 -9
  174. package/dist/chunks/{rpc-mpbw7sv7.js → persistent-pty-j7s4pw35.js} +4 -4
  175. package/dist/chunks/{rpc-vg1f7981.js → persistent-pty-j844sf2z.js} +6 -6
  176. package/dist/chunks/{rpc-1mkf2rwt.js → persistent-pty-jcsk617h.js} +13 -13
  177. package/dist/chunks/{rpc-v6ym2mbm.js → persistent-pty-jg2z2cg4.js} +39 -39
  178. package/dist/chunks/{rpc-5z2s6r3m.js → persistent-pty-jx8dgn9c.js} +19 -19
  179. package/dist/chunks/{rpc-7frpa3vk.js → persistent-pty-k37hxh7q.js} +22 -22
  180. package/dist/chunks/{rpc-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
  181. package/dist/chunks/{rpc-7jykqdz2.js → persistent-pty-k6gmgah6.js} +11 -11
  182. package/dist/chunks/{rpc-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  183. package/dist/chunks/{rpc-yfbd16n1.js → persistent-pty-kk3rr3qh.js} +5 -5
  184. package/dist/chunks/{rpc-m51pq2yd.js → persistent-pty-kyktj0vd.js} +6 -6
  185. package/dist/chunks/{rpc-rvn46zq7.js → persistent-pty-m1peg48k.js} +9 -9
  186. package/dist/chunks/{rpc-zt79yd0y.js → persistent-pty-m8s7yz94.js} +8 -8
  187. package/dist/chunks/{rpc-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{rpc-1hyh32dx.js → persistent-pty-mcxg6pmm.js} +1 -1
  189. package/dist/chunks/{rpc-759pz1a2.js → persistent-pty-msqakgxm.js} +4 -4
  190. package/dist/chunks/{rpc-jj9xsyb9.js → persistent-pty-mszhq5w3.js} +16 -16
  191. package/dist/chunks/{rpc-d2pvyrbx.js → persistent-pty-mzr3jh1b.js} +4 -4
  192. package/dist/chunks/{rpc-7jdqkrnt.js → persistent-pty-mzr4n29e.js} +24 -24
  193. package/dist/chunks/{rpc-q3hv2sj9.js → persistent-pty-n0cjdfmr.js} +53 -53
  194. package/dist/chunks/{rpc-sygak18j.js → persistent-pty-n2jk6qtv.js} +19 -19
  195. package/dist/chunks/{rpc-6es5bxv4.js → persistent-pty-n8c15cqp.js} +16 -16
  196. package/dist/chunks/{rpc-eq7n8p4e.js → persistent-pty-nejtgedz.js} +10 -10
  197. package/dist/chunks/{rpc-r6p8n554.js → persistent-pty-njxgh0n2.js} +14 -14
  198. package/dist/chunks/{rpc-hky6zsj8.js → persistent-pty-nnhtcagv.js} +4 -4
  199. package/dist/chunks/{rpc-7g2wyn62.js → persistent-pty-nqajw534.js} +27 -27
  200. package/dist/chunks/{rpc-zjhjw14a.js → persistent-pty-nrvhq0he.js} +32 -32
  201. package/dist/chunks/{rpc-6yk53f3y.js → persistent-pty-nvem0zh0.js} +2 -2
  202. package/dist/chunks/{rpc-pb1tcd0x.js → persistent-pty-nxa8wnw5.js} +35 -35
  203. package/dist/chunks/{rpc-0vzfvg04.js → persistent-pty-p317p1wz.js} +8 -8
  204. package/dist/chunks/{rpc-68w074am.js → persistent-pty-p4vsqmpc.js} +11 -11
  205. package/dist/chunks/{rpc-8a1wqn9j.js → persistent-pty-pf6xx1eb.js} +4 -4
  206. package/dist/chunks/{rpc-m6v4gpqz.js → persistent-pty-pfdftes8.js} +11 -11
  207. package/dist/chunks/{rpc-k6sj68zp.js → persistent-pty-pha9f2e6.js} +7 -7
  208. package/dist/chunks/{rpc-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{rpc-txppa427.js → persistent-pty-pjw71kmm.js} +16 -16
  210. package/dist/chunks/{rpc-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  211. package/dist/chunks/{rpc-fdybstan.js → persistent-pty-psg7avar.js} +20 -20
  212. package/dist/chunks/{rpc-yvsdtapc.js → persistent-pty-pt72vb4m.js} +22 -22
  213. package/dist/chunks/{rpc-ydwy5z2b.js → persistent-pty-pt9vp53c.js} +46 -46
  214. package/dist/chunks/{rpc-f8qtv88y.js → persistent-pty-q3b0vsmg.js} +10 -10
  215. package/dist/chunks/{rpc-2ksdcbcj.js → persistent-pty-qf2z5hbw.js} +4 -4
  216. package/dist/chunks/{rpc-t789mvnh.js → persistent-pty-qkvqzff6.js} +32 -32
  217. package/dist/chunks/{rpc-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  218. package/dist/chunks/{rpc-9qm9egsn.js → persistent-pty-qvbcabdc.js} +2 -2
  219. package/dist/chunks/{rpc-hskdg1tj.js → persistent-pty-r2kxtd6z.js} +22 -22
  220. package/dist/chunks/{rpc-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
  221. package/dist/chunks/{rpc-b9t840km.js → persistent-pty-rbyt0q31.js} +50 -50
  222. package/dist/chunks/{rpc-ex26y97c.js → persistent-pty-rc2v55kv.js} +35 -35
  223. package/dist/chunks/{rpc-1f1wzhgc.js → persistent-pty-rgpp5x08.js} +4 -4
  224. package/dist/chunks/{rpc-7n09dgdk.js → persistent-pty-rmy3e5eg.js} +3 -3
  225. package/dist/chunks/{rpc-8wp61sve.js → persistent-pty-rys4mg1v.js} +17 -17
  226. package/dist/chunks/{rpc-72scwqkv.js → persistent-pty-s3eqpch7.js} +1 -1
  227. package/dist/chunks/{rpc-a82phm85.js → persistent-pty-s5f025jh.js} +6 -6
  228. package/dist/chunks/{rpc-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
  229. package/dist/chunks/{rpc-gvj0n0b8.js → persistent-pty-sg6b5yba.js} +40 -40
  230. package/dist/chunks/{rpc-yrydy187.js → persistent-pty-sgv9af10.js} +14 -14
  231. package/dist/chunks/{rpc-9aknjvfg.js → persistent-pty-t0av4jg5.js} +15 -15
  232. package/dist/chunks/{rpc-9zrnh5xs.js → persistent-pty-t5zy0tn8.js} +48 -48
  233. package/dist/chunks/{rpc-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{rpc-edyt7veh.js → persistent-pty-tcsbw5z6.js} +16 -16
  235. package/dist/chunks/{rpc-havr56k6.js → persistent-pty-tdz2d0bf.js} +11 -11
  236. package/dist/chunks/{rpc-yq5tbn9k.js → persistent-pty-tge6005x.js} +17 -17
  237. package/dist/chunks/{rpc-bcezcar3.js → persistent-pty-thfv75je.js} +5 -5
  238. package/dist/chunks/{rpc-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
  239. package/dist/chunks/{rpc-8tb94gac.js → persistent-pty-v59vraf9.js} +32 -32
  240. package/dist/chunks/{rpc-0nsz8vzd.js → persistent-pty-v60ecprk.js} +9 -9
  241. package/dist/chunks/{rpc-k3fb46c0.js → persistent-pty-v6d825jm.js} +23 -23
  242. package/dist/chunks/{rpc-kyb8p98y.js → persistent-pty-vpcrvpem.js} +24 -24
  243. package/dist/chunks/{rpc-fmxyf492.js → persistent-pty-vsj8va3n.js} +20 -20
  244. package/dist/chunks/{rpc-cv5vc9nm.js → persistent-pty-vta8yyap.js} +31 -31
  245. package/dist/chunks/{rpc-gqzvtz8d.js → persistent-pty-vtmd3szc.js} +4 -4
  246. package/dist/chunks/{rpc-8yb6ktry.js → persistent-pty-vyrgm4zq.js} +11 -11
  247. package/dist/chunks/{rpc-mafy3fh7.js → persistent-pty-vyrse5sf.js} +20 -20
  248. package/dist/chunks/{rpc-6z5bwd8g.js → persistent-pty-w3jym6ha.js} +6 -6
  249. package/dist/chunks/{rpc-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{rpc-vg7vz8a0.js → persistent-pty-w7v3ectx.js} +20 -20
  251. package/dist/chunks/{rpc-wy3a9ktx.js → persistent-pty-wanpp1k7.js} +8 -8
  252. package/dist/chunks/{rpc-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  253. package/dist/chunks/{rpc-ztb7vdkc.js → persistent-pty-wdsftsg6.js} +23 -23
  254. package/dist/chunks/{rpc-abz7a5b3.js → persistent-pty-wfhhk81x.js} +9 -9
  255. package/dist/chunks/{rpc-q58618g1.js → persistent-pty-wfhxja34.js} +84 -84
  256. package/dist/chunks/{rpc-mq8dv1hp.js → persistent-pty-wfq5jtmb.js} +24 -24
  257. package/dist/chunks/{rpc-pkkvpc61.js → persistent-pty-wkq1a691.js} +18 -18
  258. package/dist/chunks/persistent-pty-wpa9nskr.js +22 -0
  259. package/dist/chunks/{rpc-79e6z3n4.js → persistent-pty-wpgkb29z.js} +10 -10
  260. package/dist/chunks/{rpc-y1wkrapf.js → persistent-pty-ws50g6ew.js} +32 -32
  261. package/dist/chunks/{rpc-r05hg6dq.js → persistent-pty-wy1gn0qd.js} +5 -5
  262. package/dist/chunks/{rpc-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{rpc-d910tjb6.js → persistent-pty-x4bzwk8v.js} +9 -9
  264. package/dist/chunks/{rpc-2pka3nkn.js → persistent-pty-xba749n3.js} +36 -36
  265. package/dist/chunks/{rpc-w6k1qeax.js → persistent-pty-xe339285.js} +22 -22
  266. package/dist/chunks/{rpc-q485ymv2.js → persistent-pty-xm1jwy74.js} +85 -85
  267. package/dist/chunks/{rpc-c6p2r8tp.js → persistent-pty-xqsy6kp0.js} +1 -1
  268. package/dist/chunks/{rpc-j1g84fdq.js → persistent-pty-xt7b81sn.js} +30 -30
  269. package/dist/chunks/{rpc-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{rpc-wnwn53rt.js → persistent-pty-y4avtqgk.js} +8 -8
  271. package/dist/chunks/{rpc-ajtjthsy.js → persistent-pty-yg7sb877.js} +2 -2
  272. package/dist/chunks/{rpc-88fx4v6q.js → persistent-pty-ygpseft7.js} +22 -22
  273. package/dist/chunks/{rpc-d54cj6d5.js → persistent-pty-yrcexxg5.js} +17 -17
  274. package/dist/chunks/{rpc-a9zfrvqc.js → persistent-pty-yvfkj8fv.js} +5 -5
  275. package/dist/chunks/{rpc-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{rpc-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  277. package/dist/chunks/{rpc-c45qpk7m.js → persistent-pty-zjey93np.js} +5 -5
  278. package/dist/chunks/{rpc-z2zzq6cg.js → persistent-pty-zn2pq4p8.js} +5 -5
  279. package/dist/chunks/{rpc-kpzf6j9d.js → persistent-pty-zrz343zw.js} +10 -10
  280. package/dist/chunks/{rpc-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  281. package/dist/chunks/{rpc-jg1vwa91.js → persistent-pty-zyvs8cv6.js} +13 -13
  282. package/dist/codemode/catalog.js +1 -1
  283. package/dist/codemode/instructions.js +9 -9
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +83 -83
  286. package/dist/config/discovery.js +79 -79
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +116 -116
  290. package/dist/config/plugin/command.js +207 -207
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +116 -116
  297. package/dist/config/plugin/mcp.js +125 -125
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +117 -117
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +116 -116
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +114 -114
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +82 -82
  313. package/dist/database/database.js +72 -72
  314. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  315. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +15 -15
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +16 -16
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +77 -77
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +3 -3
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +90 -90
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +72 -72
  401. package/dist/file-mutation.js +89 -89
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +6 -6
  410. package/dist/filesystem/location-watcher.js +217 -217
  411. package/dist/filesystem/protected.js +3 -3
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +15 -15
  415. package/dist/filesystem.js +102 -102
  416. package/dist/form.js +84 -84
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +90 -90
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +3 -3
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +5 -5
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +81 -81
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +5 -5
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +85 -85
  450. package/dist/job.js +71 -71
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +86 -86
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +81 -81
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +84 -84
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +102 -102
  460. package/dist/mcp/instructions.js +118 -118
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +3 -3
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +6 -6
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +80 -80
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +103 -103
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +86 -86
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +98 -98
  478. package/dist/plugin/command.js +95 -95
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +208 -208
  481. package/dist/plugin/instance.js +3 -3
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +2 -2
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +116 -116
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +116 -116
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +77 -77
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +70 -70
  525. package/dist/plugin/service.js +3 -3
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +335 -335
  529. package/dist/plugin/system-prompt.js +1 -1
  530. package/dist/plugin/update.js +6 -6
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +8 -8
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +4 -4
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +219 -219
  542. package/dist/project/schema.js +8 -8
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +85 -85
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +92 -92
  550. package/dist/reference/instructions.js +84 -84
  551. package/dist/reference.js +80 -80
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +91 -91
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +127 -127
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +3 -3
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +214 -214
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +144 -144
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +4 -4
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +112 -112
  576. package/dist/session/model-transport.js +9 -9
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +85 -85
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +165 -165
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +73 -73
  596. package/dist/session/store.js +84 -84
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +203 -203
  599. package/dist/session/system-prompt.js +1 -1
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +216 -216
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +209 -209
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +13 -13
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +97 -97
  612. package/dist/skill.js +98 -98
  613. package/dist/snapshot.js +86 -86
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +117 -117
  618. package/dist/tool/plugin/edit.js +114 -114
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +119 -119
  621. package/dist/tool/plugin/grep.js +119 -119
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +116 -116
  624. package/dist/tool/plugin/question.js +95 -95
  625. package/dist/tool/plugin/read.js +116 -116
  626. package/dist/tool/plugin/shell.js +210 -210
  627. package/dist/tool/plugin/skill.js +107 -107
  628. package/dist/tool/plugin/subagent.js +212 -212
  629. package/dist/tool/plugin/webfetch.js +102 -102
  630. package/dist/tool/plugin/websearch.js +108 -108
  631. package/dist/tool/plugin/write.js +116 -116
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +15 -15
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +5 -5
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +5 -5
  646. package/dist/v1/config/config.js +16 -16
  647. package/dist/v1/config/error.js +2 -2
  648. package/dist/v1/config/formatter.js +3 -3
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +5 -5
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +3 -3
  654. package/dist/v1/config/plugin.js +3 -3
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +2 -2
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +85 -85
  662. package/dist/websearch.js +80 -80
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +79 -79
  665. package/dist/workspace/driver.js +3 -3
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +78 -78
  668. package/dist/worktree/directory.js +2 -2
  669. package/dist/worktree/git.js +5 -5
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +88 -88
  672. package/package.json +7 -7
  673. package/dist/chunks/rpc-4v7qdvcn.js +0 -18
  674. package/dist/chunks/rpc-835wsdkr.js +0 -243
  675. package/dist/chunks/rpc-aaqvfjmc.js +0 -450
  676. package/dist/chunks/rpc-b5q5y4vk.js +0 -4
  677. package/dist/chunks/rpc-rp7g6xwr.js +0 -22
  678. /package/dist/chunks/{rpc-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{rpc-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{rpc-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{rpc-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{rpc-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{rpc-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{rpc-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{rpc-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{rpc-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{rpc-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{rpc-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  689. /package/dist/chunks/{rpc-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{rpc-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{rpc-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{rpc-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{rpc-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{rpc-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{rpc-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{rpc-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  697. /package/dist/chunks/{rpc-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{rpc-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  699. /package/dist/chunks/{rpc-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  700. /package/dist/chunks/{rpc-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  701. /package/dist/chunks/{rpc-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  702. /package/dist/chunks/{rpc-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  703. /package/dist/chunks/{rpc-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  704. /package/dist/chunks/{rpc-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
  705. /package/dist/chunks/{rpc-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  706. /package/dist/chunks/{rpc-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  707. /package/dist/chunks/{rpc-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
  708. /package/dist/chunks/{rpc-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  709. /package/dist/chunks/{rpc-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  710. /package/dist/chunks/{rpc-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  711. /package/dist/chunks/{rpc-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  712. /package/dist/chunks/{rpc-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  713. /package/dist/chunks/{rpc-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  714. /package/dist/chunks/{rpc-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  715. /package/dist/chunks/{rpc-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  716. /package/dist/chunks/{rpc-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  717. /package/dist/chunks/{rpc-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  718. /package/dist/chunks/{rpc-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  719. /package/dist/chunks/{rpc-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  720. /package/dist/chunks/{rpc-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  721. /package/dist/chunks/{rpc-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  722. /package/dist/chunks/{rpc-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  723. /package/dist/chunks/{rpc-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  724. /package/dist/chunks/{rpc-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  725. /package/dist/chunks/{rpc-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  726. /package/dist/chunks/{rpc-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  727. /package/dist/chunks/{rpc-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  728. /package/dist/chunks/{rpc-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  729. /package/dist/chunks/{rpc-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  730. /package/dist/chunks/{rpc-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  731. /package/dist/chunks/{rpc-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  732. /package/dist/chunks/{rpc-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  733. /package/dist/chunks/{rpc-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  734. /package/dist/chunks/{rpc-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  735. /package/dist/chunks/{rpc-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  736. /package/dist/chunks/{rpc-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  737. /package/dist/chunks/{rpc-j935v87r.js → persistent-pty-j935v87r.js} +0 -0
  738. /package/dist/chunks/{rpc-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{rpc-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{rpc-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{rpc-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
  742. /package/dist/chunks/{rpc-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{rpc-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{rpc-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{rpc-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{rpc-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{rpc-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{rpc-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{rpc-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{rpc-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{rpc-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{rpc-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{rpc-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{rpc-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{rpc-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{rpc-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{rpc-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{rpc-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{rpc-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{rpc-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{rpc-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{rpc-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{rpc-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{rpc-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{rpc-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  766. /package/dist/chunks/{rpc-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{rpc-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{rpc-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{rpc-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{rpc-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./rpc-2a5m3afh.js";
3
+ } from "./persistent-pty-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./rpc-p8qxwesx.js";
6
+ } from "./persistent-pty-p8qxwesx.js";
7
7
  import {
8
- Service69
9
- } from "./rpc-jjtztttc.js";
8
+ Service75
9
+ } from "./persistent-pty-c44391z3.js";
10
10
  import {
11
- Service61
12
- } from "./rpc-mq8dv1hp.js";
11
+ Service72
12
+ } from "./persistent-pty-wfq5jtmb.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service60
16
- } from "./rpc-r6p8n554.js";
15
+ Service71
16
+ } from "./persistent-pty-njxgh0n2.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry2,
21
+ Entry4,
22
22
  Match2
23
- } from "./rpc-6426t8cq.js";
23
+ } from "./persistent-pty-hnhdj7rj.js";
24
24
  import {
25
25
  externalDirectoryPermission2,
26
- Service57
27
- } from "./rpc-edyt7veh.js";
26
+ Service45
27
+ } from "./persistent-pty-tcsbw5z6.js";
28
28
  import {
29
- Service64
30
- } from "./rpc-b9t840km.js";
29
+ Service61
30
+ } from "./persistent-pty-rbyt0q31.js";
31
31
  import {
32
32
  __export
33
- } from "./rpc-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input3,
40
- Output: () => Output3,
41
- Plugin: () => Plugin17,
42
- name: () => name3,
43
- toModelContent: () => toModelContent3
39
+ Input: () => Input10,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin40,
42
+ name: () => name10,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode-ai/ai";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name3 = "grep";
49
- var Input3 = Schema.Struct({
48
+ var name10 = "grep";
49
+ var Input10 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input3 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output3 = Schema.Array(Match2);
70
- var toModelContent3 = (matches, truncated = false) => {
69
+ var Output8 = Schema.Array(Match2);
70
+ var toModelContent6 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,20 +84,20 @@ var toModelContent3 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin17 = {
87
+ var Plugin40 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service61;
91
- const ripgrep = yield* Service60;
92
- const location = yield* Service69;
93
- const mutation = yield* Service57;
94
- const permission = yield* Service64;
90
+ const environment = yield* Service72;
91
+ const ripgrep = yield* Service71;
92
+ const location = yield* Service75;
93
+ const mutation = yield* Service45;
94
+ const permission = yield* Service61;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name3,
96
+ name: name10,
97
97
  options: { codemode: false },
98
98
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
99
- input: Input3,
100
- output: Output3,
99
+ input: Input10,
100
+ output: Output8,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const source = { type: "tool", messageID: context.messageID, id: context.id };
103
103
  const target = yield* mutation.resolve({ path: input.path ?? "." });
@@ -109,7 +109,7 @@ var Plugin17 = {
109
109
  source
110
110
  });
111
111
  yield* permission.assert({
112
- action: name3,
112
+ action: name10,
113
113
  resources: [input.pattern],
114
114
  save: ["*"],
115
115
  metadata: {
@@ -143,7 +143,7 @@ var Plugin17 = {
143
143
  }))
144
144
  }), Effect.map((result) => result.map((match) => Match2.make({
145
145
  ...match,
146
- entry: Entry2.make({
146
+ entry: Entry4.make({
147
147
  ...match.entry,
148
148
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
149
149
  })
@@ -151,7 +151,7 @@ var Plugin17 = {
151
151
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
152
152
  }).pipe(Effect.map((result) => ({
153
153
  output: result.matches,
154
- content: toModelContent3(result.matches.map((match) => ({
154
+ content: toModelContent6(result.matches.map((match) => ({
155
155
  ...match,
156
156
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
157
157
  })), result.truncated),
@@ -161,4 +161,4 @@ var Plugin17 = {
161
161
  })
162
162
  };
163
163
 
164
- export { name3, Input3, Output3, toModelContent3, Plugin17, exports_grep };
164
+ export { name10, Input10, Output8, toModelContent6, Plugin40, exports_grep };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./rpc-t53mj6v6.js";
4
+ } from "./persistent-pty-4z6b0fg6.js";
5
5
  import {
6
6
  __export
7
- } from "./rpc-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin13,
12
+ Plugin: () => Plugin25,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
18
18
  import { Model } from "@opencode-ai/schema/model";
19
- var Plugin13 = define({
19
+ var Plugin25 = define({
20
20
  id: "opencode.variant",
21
21
  effect: Effect.fn(function* (ctx) {
22
22
  yield* ctx.catalog.transform((catalog) => {
@@ -52,4 +52,4 @@ function generate2(model, provider) {
52
52
  }));
53
53
  }
54
54
 
55
- export { Plugin13, generate2, exports_variant };
55
+ export { Plugin25, generate2, exports_variant };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./rpc-jwcy2c2z.js";
3
+ } from "./persistent-pty-f0nz223j.js";
4
4
  import {
5
5
  __export
6
- } from "./rpc-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service4,
13
- node: () => node6
12
+ Service: () => Service3,
13
+ node: () => node4
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode-ai/util/npm";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service4 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service3 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service4, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service4.of({
27
+ return Service3.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node6, exports_update };
54
+ export { Service3, node4, exports_update };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./rpc-0paq2nw3.js";
4
+ } from "./persistent-pty-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./rpc-t53mj6v6.js";
7
+ } from "./persistent-pty-4z6b0fg6.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./rpc-ywpw23hy.js";
11
+ } from "./persistent-pty-6cmxkhbe.js";
12
12
  import {
13
13
  __export
14
- } from "./rpc-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID15,
3
- Service74
4
- } from "./rpc-m4673ea2.js";
2
+ ID7,
3
+ Service57
4
+ } from "./persistent-pty-egz8g656.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./rpc-t53mj6v6.js";
8
+ } from "./persistent-pty-4z6b0fg6.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service74;
16
+ const integrations = yield* Service57;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID15.make(item.provider.id)))
28
+ if (!configured.has(ID7.make(item.provider.id)))
29
29
  continue;
30
30
  evt.provider.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service54
3
- } from "./rpc-9zrnh5xs.js";
2
+ Service46
3
+ } from "./persistent-pty-t5zy0tn8.js";
4
4
  import {
5
- Service40
6
- } from "./rpc-q3hv2sj9.js";
5
+ Service34
6
+ } from "./persistent-pty-n0cjdfmr.js";
7
7
  import {
8
8
  __export
9
- } from "./rpc-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin32,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin17,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin32 = define({
20
+ var Plugin17 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service54;
28
- const mcp = yield* Service40;
27
+ const config = yield* Service46;
28
+ const mcp = yield* Service34;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin32, register2, exports_mcp2 };
49
+ export { Plugin17, register2, exports_mcp };
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID9,
3
- Service67
4
- } from "./rpc-3bm3cy1r.js";
2
+ ID13,
3
+ Service64
4
+ } from "./persistent-pty-1cse2xtn.js";
5
5
  import {
6
6
  latest2,
7
- Service54
8
- } from "./rpc-9zrnh5xs.js";
7
+ Service46
8
+ } from "./persistent-pty-t5zy0tn8.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./rpc-sp67jf0a.js";
11
+ } from "./persistent-pty-j0y8f0xq.js";
12
12
  import {
13
13
  Service37
14
- } from "./rpc-t6f6dd4d.js";
14
+ } from "./persistent-pty-bnxgfjcz.js";
15
15
  import {
16
16
  evaluate2,
17
- Service64
18
- } from "./rpc-b9t840km.js";
17
+ Service61
18
+ } from "./persistent-pty-rbyt0q31.js";
19
19
  import {
20
- Service22
21
- } from "./rpc-q58618g1.js";
20
+ Service17
21
+ } from "./persistent-pty-wfhxja34.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./rpc-x1ezjp6w.js";
24
+ } from "./persistent-pty-x1ezjp6w.js";
25
25
  import {
26
- make7
27
- } from "./rpc-0gxwyxn9.js";
26
+ make9
27
+ } from "./persistent-pty-7zak5xvr.js";
28
28
  import {
29
29
  __export
30
- } from "./rpc-9rqn6x4v.js";
30
+ } from "./persistent-pty-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input5,
36
- Output: () => Output5,
37
- Plugin: () => Plugin19,
35
+ Input: () => Input4,
36
+ Output: () => Output3,
37
+ Plugin: () => Plugin34,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description2,
40
- name: () => name5
39
+ description: () => description3,
40
+ name: () => name4
41
41
  });
42
42
  import { ToolFailure } from "@opencode-ai/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name5 = "subagent";
44
+ var name4 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input5 = Schema.Struct({
55
+ var Input4 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input5 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output5 = Schema.Struct({
66
+ var Output3 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description2 = [
71
+ var description3 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description2 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin19 = {
80
+ var Plugin34 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service22;
83
+ const sessions = yield* Service17;
84
84
  const jobs = yield* Service37;
85
- const agents = yield* Service67;
86
- const config = yield* Service54;
87
- const permission = yield* Service64;
88
- const subagents = yield* make7;
85
+ const agents = yield* Service64;
86
+ const config = yield* Service46;
87
+ const permission = yield* Service61;
88
+ const subagents = yield* make9;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name5,
90
+ name: name4,
91
91
  options: { codemode: false },
92
- description: description2,
93
- input: Input5,
94
- output: Output5,
92
+ description: description3,
93
+ input: Input4,
94
+ output: Output3,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin19 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name5,
114
+ action: name4,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin19 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID9.make(input.agent),
137
+ agent: ID13.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name5];
187
+ const tool = event.tools[name4];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name5, Input5, Output5, description2, Plugin19, exports_subagent };
207
+ export { name4, Input4, Output3, description3, Plugin34, exports_subagent };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service69,
3
- node73
4
- } from "./rpc-jjtztttc.js";
2
+ Service75,
3
+ node78
4
+ } from "./persistent-pty-c44391z3.js";
5
5
  import {
6
- Key3,
7
- make20,
6
+ Key4,
7
+ make18,
8
8
  combine2
9
- } from "./rpc-97f5v037.js";
9
+ } from "./persistent-pty-fgjfecz2.js";
10
10
  import {
11
11
  __export
12
- } from "./rpc-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service31,
19
- node: () => node33
18
+ Service: () => Service29,
19
+ node: () => node31
20
20
  });
21
21
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode-ai/util/global";
24
- class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service31, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service69;
29
- return Service31.of({
28
+ const location = yield* Service75;
29
+ return Service29.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make20({
32
- key: Key3.make("core/environment"),
31
+ make18({
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make20({
53
- key: Key3.make("core/date"),
52
+ make18({
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node33 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node73] });
64
+ var node31 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node78] });
65
65
 
66
- export { Service31, node33, exports_builtins };
66
+ export { Service29, node31, exports_builtins };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./rpc-0e0xafbb.js";
3
+ } from "./persistent-pty-0e0xafbb.js";
4
4
  import {
5
- Service59,
6
- node62
7
- } from "./rpc-dkzv161j.js";
5
+ Service55,
6
+ node57
7
+ } from "./persistent-pty-61vgpbh6.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service58,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node61
17
+ Service: () => Service38,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer16,
20
+ node: () => node40
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode-ai/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,45 +27,45 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service58 extends Context.Service()("@opencode/Generate") {
36
+ class Service38 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer23 = Layer.effect(Service58, Effect.gen(function* () {
38
+ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service59;
40
+ const resolver = yield* Service55;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
44
44
  "SessionRunnerModel.UnsupportedPackageError",
45
45
  "SessionRunnerModel.UnresolvedProviderVariablesError"
46
46
  ], (error) => {
47
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
47
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
48
48
  return Effect.fail(mapped);
49
49
  }));
50
50
  if (!resolved)
51
51
  return yield* new ModelSelectionError2({
52
52
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
53
53
  });
54
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
54
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
55
55
  message: error.message,
56
56
  service: resolved.ref.providerID
57
57
  })));
58
58
  return response.text;
59
59
  });
60
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
60
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
61
61
  message: "Generation credentials are unavailable"
62
62
  })));
63
- return Service58.of({ text });
63
+ return Service38.of({ text });
64
64
  }));
65
- var node61 = makeLocationNode({
66
- service: Service58,
67
- layer: layer23,
68
- deps: [node62, llmClient2]
65
+ var node40 = makeLocationNode({
66
+ service: Service38,
67
+ layer: layer16,
68
+ deps: [node57, llmClient2]
69
69
  });
70
70
 
71
- export { ModelSelectionError2, UnavailableError3, Service58, layer23, node61, exports_generate2 };
71
+ export { ModelSelectionError2, UnavailableError2, Service38, layer16, node40, exports_generate2 };