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

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 (768) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{command-eccqmmqw.js → rpc-05x7kg3x.js} +10 -10
  9. package/dist/chunks/{command-qhzf1s86.js → rpc-08aze5ws.js} +28 -28
  10. package/dist/chunks/{command-nqeyrhbf.js → rpc-0c2bm2k8.js} +46 -46
  11. package/dist/chunks/{command-0e0xafbb.js → rpc-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{command-5wmq78ra.js → rpc-0gxwyxn9.js} +11 -11
  13. package/dist/chunks/{command-507jwzhp.js → rpc-0n8tzkkd.js} +9 -9
  14. package/dist/chunks/{command-tppvcy65.js → rpc-0nsz8vzd.js} +9 -9
  15. package/dist/chunks/{command-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{command-36mzbjn4.js → rpc-0rag4e4f.js} +4 -4
  17. package/dist/chunks/{command-0s9ayhjt.js → rpc-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{command-r9gjvh9g.js → rpc-0vzfvg04.js} +8 -8
  19. package/dist/chunks/{command-hdmbq1xh.js → rpc-11zyvh05.js} +37 -37
  20. package/dist/chunks/{command-q53nydxb.js → rpc-13a4dv0y.js} +19 -19
  21. package/dist/chunks/{command-x7pjthx6.js → rpc-13wt57az.js} +150 -150
  22. package/dist/chunks/{command-1ct4r87x.js → rpc-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{command-a5nkh94p.js → rpc-1f1wzhgc.js} +4 -4
  24. package/dist/chunks/{command-n4w2t69j.js → rpc-1hyh32dx.js} +1 -1
  25. package/dist/chunks/{command-5jbm950r.js → rpc-1mkf2rwt.js} +10 -10
  26. package/dist/chunks/{command-21r38tys.js → rpc-21r38tys.js} +1 -1
  27. package/dist/chunks/{command-2402vzrj.js → rpc-2402vzrj.js} +1 -1
  28. package/dist/chunks/{command-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{command-xjqxrzvv.js → rpc-2bmk1p60.js} +32 -32
  30. package/dist/chunks/{command-2ht70gj7.js → rpc-2ht70gj7.js} +1 -1
  31. package/dist/chunks/{command-2jqmte8w.js → rpc-2jqmte8w.js} +2 -2
  32. package/dist/chunks/{command-b7hbr3r2.js → rpc-2kf7re16.js} +1 -1
  33. package/dist/chunks/{command-vk57p0r6.js → rpc-2ksdcbcj.js} +4 -4
  34. package/dist/chunks/{command-7d52aqke.js → rpc-2pka3nkn.js} +33 -33
  35. package/dist/chunks/{command-8bz0sd47.js → rpc-2ptt8nrr.js} +20 -20
  36. package/dist/chunks/{command-7nn4y7w6.js → rpc-362kye7e.js} +25 -25
  37. package/dist/chunks/{command-xw51m9r9.js → rpc-3bm3cy1r.js} +24 -24
  38. package/dist/chunks/{command-1mrma768.js → rpc-3cm4x8pz.js} +5 -5
  39. package/dist/chunks/{command-gdvy8fx6.js → rpc-3fc6dm20.js} +4 -4
  40. package/dist/chunks/{command-0xd2d7hb.js → rpc-3g2y1byn.js} +5 -5
  41. package/dist/chunks/{command-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{command-3qzbfqsy.js → rpc-3qzbfqsy.js} +2 -2
  43. package/dist/chunks/{command-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{command-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{command-mh4ywd3j.js → rpc-3wv0wb6p.js} +3 -3
  46. package/dist/chunks/{command-qnr3jx13.js → rpc-3x4vyhkr.js} +4 -4
  47. package/dist/chunks/{command-454k5vzh.js → rpc-454k5vzh.js} +1 -1
  48. package/dist/chunks/{command-ybs14z4j.js → rpc-4cpnf65c.js} +32 -32
  49. package/dist/chunks/{command-kqetvnf7.js → rpc-4f62s5at.js} +27 -27
  50. package/dist/chunks/{command-4r2nyarf.js → rpc-4r2nyarf.js} +1 -1
  51. package/dist/chunks/{command-07jbfwff.js → rpc-4rkx0bt1.js} +7 -7
  52. package/dist/chunks/rpc-4v7qdvcn.js +18 -0
  53. package/dist/chunks/{command-ww1szn71.js → rpc-53rarqxp.js} +5 -5
  54. package/dist/chunks/{command-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  55. package/dist/chunks/{command-5fmxt4p5.js → rpc-5fmxt4p5.js} +1 -1
  56. package/dist/chunks/{command-5jvc5tg2.js → rpc-5jvc5tg2.js} +1 -1
  57. package/dist/chunks/{command-s4pt1ctc.js → rpc-5qvt5yk2.js} +35 -35
  58. package/dist/chunks/{command-wm5m1cpt.js → rpc-5t5ksy9c.js} +55 -55
  59. package/dist/chunks/{command-7tft0kbg.js → rpc-5z2s6r3m.js} +16 -16
  60. package/dist/chunks/{command-62qcn064.js → rpc-6426t8cq.js} +27 -27
  61. package/dist/chunks/{command-12gh2r0n.js → rpc-681pyqye.js} +4 -4
  62. package/dist/chunks/{command-3ywkksk4.js → rpc-68w074am.js} +9 -9
  63. package/dist/chunks/{command-33hp2zv2.js → rpc-6es5bxv4.js} +14 -14
  64. package/dist/chunks/{command-50m12935.js → rpc-6gbhcw7b.js} +31 -31
  65. package/dist/chunks/{command-6tf8tr4v.js → rpc-6tf8tr4v.js} +2 -2
  66. package/dist/chunks/{command-z1n2e8q4.js → rpc-6yk53f3y.js} +2 -2
  67. package/dist/chunks/{command-6z5bwd8g.js → rpc-6z5bwd8g.js} +2 -2
  68. package/dist/chunks/{command-8y13jkzv.js → rpc-6zynhbga.js} +22 -22
  69. package/dist/chunks/{command-711hfp6y.js → rpc-711hfp6y.js} +2 -2
  70. package/dist/chunks/{command-6fenjrr4.js → rpc-72scwqkv.js} +1 -1
  71. package/dist/chunks/{command-rmkjmdgc.js → rpc-759pz1a2.js} +8 -8
  72. package/dist/chunks/{command-wrv1mk8k.js → rpc-79e6z3n4.js} +5 -5
  73. package/dist/chunks/{command-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{command-ws5hqc9c.js → rpc-7frpa3vk.js} +20 -20
  75. package/dist/chunks/{command-5vf5ce74.js → rpc-7g2wyn62.js} +27 -27
  76. package/dist/chunks/{command-367jrrwj.js → rpc-7jdqkrnt.js} +11 -11
  77. package/dist/chunks/{command-ktx1hmb3.js → rpc-7jykqdz2.js} +10 -10
  78. package/dist/chunks/{command-ndtqzn46.js → rpc-7n09dgdk.js} +1 -1
  79. package/dist/chunks/{command-kxmj7br7.js → rpc-7p4c7sjp.js} +60 -60
  80. package/dist/chunks/rpc-835wsdkr.js +243 -0
  81. package/dist/chunks/{command-9tmgd7pk.js → rpc-88fx4v6q.js} +19 -19
  82. package/dist/chunks/{command-e1rfyyrx.js → rpc-8a1wqn9j.js} +6 -6
  83. package/dist/chunks/{command-v8yh8gmz.js → rpc-8enbe2zj.js} +8 -8
  84. package/dist/chunks/{command-ttdwytnm.js → rpc-8ftyy1y4.js} +4 -4
  85. package/dist/chunks/{command-f4payg1q.js → rpc-8tb94gac.js} +26 -26
  86. package/dist/chunks/{command-b4cmc4ha.js → rpc-8wp61sve.js} +16 -16
  87. package/dist/chunks/{command-avz8t4j1.js → rpc-8yb6ktry.js} +11 -11
  88. package/dist/chunks/{command-crb07ac6.js → rpc-8zj8e59x.js} +4 -4
  89. package/dist/chunks/{command-93a8yfjt.js → rpc-93a8yfjt.js} +2 -2
  90. package/dist/chunks/{command-6e958v7x.js → rpc-97f5v037.js} +4 -4
  91. package/dist/chunks/{command-cnrverm5.js → rpc-9aknjvfg.js} +15 -15
  92. package/dist/chunks/{command-etaqwdhb.js → rpc-9b0zy0qp.js} +35 -35
  93. package/dist/chunks/{command-2470z9n9.js → rpc-9e0xajhk.js} +13 -13
  94. package/dist/chunks/{command-9qm9egsn.js → rpc-9qm9egsn.js} +2 -2
  95. package/dist/chunks/{command-ttg35kwh.js → rpc-9ta1ym7w.js} +37 -37
  96. package/dist/chunks/{command-18vzz2sn.js → rpc-9zrnh5xs.js} +45 -45
  97. package/dist/chunks/{command-qs1c0g84.js → rpc-a82phm85.js} +3 -3
  98. package/dist/chunks/{command-1ydgq2r4.js → rpc-a9zfrvqc.js} +5 -5
  99. package/dist/chunks/{command-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  100. package/dist/chunks/{command-0nqpaxk7.js → rpc-aaqvfjmc.js} +280 -280
  101. package/dist/chunks/{command-fdsmhwy2.js → rpc-abz7a5b3.js} +9 -9
  102. package/dist/chunks/{command-t6keskfq.js → rpc-agbwq1v1.js} +9 -9
  103. package/dist/chunks/{command-yct8znxp.js → rpc-agypkckn.js} +23 -23
  104. package/dist/chunks/{command-ajtjthsy.js → rpc-ajtjthsy.js} +2 -2
  105. package/dist/chunks/{command-8g5xycft.js → rpc-akr89kgy.js} +12 -12
  106. package/dist/chunks/{command-3b6b9fm5.js → rpc-awvzwpe5.js} +4 -4
  107. package/dist/chunks/{command-1qn1pdz2.js → rpc-b53s1hq4.js} +11 -11
  108. package/dist/chunks/rpc-b5q5y4vk.js +4 -0
  109. package/dist/chunks/{command-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{command-w0zpdtzg.js → rpc-b9t840km.js} +57 -57
  111. package/dist/chunks/{command-b9wsbatv.js → rpc-b9wsbatv.js} +1 -1
  112. package/dist/chunks/{command-bcezcar3.js → rpc-bcezcar3.js} +2 -2
  113. package/dist/chunks/{command-dfe8djrf.js → rpc-bct739vz.js} +4 -4
  114. package/dist/chunks/{command-et2w1z4j.js → rpc-bpj5emke.js} +15 -15
  115. package/dist/chunks/{command-v08anw5k.js → rpc-bzxkbfsh.js} +2 -2
  116. package/dist/chunks/{command-7j0nj4pm.js → rpc-c45qpk7m.js} +5 -5
  117. package/dist/chunks/{command-zgc58s1t.js → rpc-c6p2r8tp.js} +1 -1
  118. package/dist/chunks/{command-0kfne21a.js → rpc-cn4y6mk1.js} +9 -9
  119. package/dist/chunks/{command-8j2k6enj.js → rpc-cv5vc9nm.js} +22 -22
  120. package/dist/chunks/{command-cbz1xrzf.js → rpc-cvhw1js2.js} +10 -10
  121. package/dist/chunks/{command-n62bh1ef.js → rpc-d2pvyrbx.js} +2 -2
  122. package/dist/chunks/{command-sw16r4ae.js → rpc-d54cj6d5.js} +17 -17
  123. package/dist/chunks/{command-d72308c8.js → rpc-d72308c8.js} +2 -2
  124. package/dist/chunks/{command-ev24k3w5.js → rpc-d8k9asg8.js} +7 -7
  125. package/dist/chunks/{command-0kjqcjxv.js → rpc-d910tjb6.js} +9 -9
  126. package/dist/chunks/{command-5jdmrxhb.js → rpc-dkxcwvcg.js} +9 -9
  127. package/dist/chunks/{command-g8vcfp1v.js → rpc-dkzv161j.js} +29 -29
  128. package/dist/chunks/{command-bwdms3f5.js → rpc-dnn1mfa9.js} +10 -10
  129. package/dist/chunks/{command-n9vsncbs.js → rpc-dw3xrg89.js} +1 -1
  130. package/dist/chunks/{command-d26dc0tg.js → rpc-dw7nx357.js} +28 -28
  131. package/dist/chunks/{command-n7w5zqem.js → rpc-dyjhg8hd.js} +29 -29
  132. package/dist/chunks/{command-0vynkq1k.js → rpc-e0c61twq.js} +25 -25
  133. package/dist/chunks/{command-2wjn61mn.js → rpc-e11tpvzs.js} +9 -9
  134. package/dist/chunks/{command-a0tjzrhq.js → rpc-e3gwwck0.js} +11 -11
  135. package/dist/chunks/{command-qk2s0wq8.js → rpc-e5e2w1y3.js} +15 -15
  136. package/dist/chunks/{command-ac3j6t8f.js → rpc-ecj1d35v.js} +8 -8
  137. package/dist/chunks/{command-zrrqbtv4.js → rpc-edyt7veh.js} +16 -16
  138. package/dist/chunks/{command-2697d8n0.js → rpc-eq7n8p4e.js} +8 -8
  139. package/dist/chunks/{command-aya6j6m3.js → rpc-esmjj44a.js} +9 -9
  140. package/dist/chunks/{command-dy3xyxz9.js → rpc-ex26y97c.js} +27 -27
  141. package/dist/chunks/{command-5sg4xzjf.js → rpc-ez5b8bq3.js} +7 -7
  142. package/dist/chunks/{command-q5jefrn9.js → rpc-f8qtv88y.js} +10 -10
  143. package/dist/chunks/{command-myp0nqk5.js → rpc-f9kjby5r.js} +7 -7
  144. package/dist/chunks/{command-9s3d2qf6.js → rpc-fcbhp7q1.js} +20 -20
  145. package/dist/chunks/{command-2k8khapm.js → rpc-fcrkznn8.js} +5 -5
  146. package/dist/chunks/{command-5pzwqq2j.js → rpc-fdybstan.js} +17 -17
  147. package/dist/chunks/{command-mm8fez2g.js → rpc-fjhz18m3.js} +20 -20
  148. package/dist/chunks/{command-jpf66q1b.js → rpc-fmxyf492.js} +24 -24
  149. package/dist/chunks/{command-vjvb94qs.js → rpc-fqae1sy2.js} +4 -4
  150. package/dist/chunks/{command-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{command-fxypknc8.js → rpc-fxypknc8.js} +1 -1
  152. package/dist/chunks/{command-ptd509h3.js → rpc-g0z069dn.js} +3 -3
  153. package/dist/chunks/{command-71p0ewq5.js → rpc-g9hcz8g4.js} +3 -3
  154. package/dist/chunks/{command-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{command-15zye2r5.js → rpc-gm9r9zqf.js} +16 -16
  156. package/dist/chunks/{command-d6wax2q4.js → rpc-gn28t5xn.js} +14 -14
  157. package/dist/chunks/{command-1r09dsq2.js → rpc-gqzvtz8d.js} +2 -2
  158. package/dist/chunks/{command-3p3achxg.js → rpc-gvj0n0b8.js} +43 -43
  159. package/dist/chunks/{command-rwh68y4k.js → rpc-gzbkpp9m.js} +6 -6
  160. package/dist/chunks/{command-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{command-sp02xnra.js → rpc-havr56k6.js} +8 -8
  162. package/dist/chunks/{command-heyhwy2w.js → rpc-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{command-d7jhfk1z.js → rpc-hkfdkmkj.js} +20 -20
  164. package/dist/chunks/{command-awvh19kp.js → rpc-hky6zsj8.js} +4 -4
  165. package/dist/chunks/{command-vd7zqppv.js → rpc-hm8am6ct.js} +8 -8
  166. package/dist/chunks/{command-hrvm11jt.js → rpc-hrvm11jt.js} +3 -3
  167. package/dist/chunks/{command-d58yx3mx.js → rpc-hskdg1tj.js} +20 -20
  168. package/dist/chunks/{command-kvsjn1dr.js → rpc-hw4pv20g.js} +2 -2
  169. package/dist/chunks/{command-md0qwdy1.js → rpc-j1g84fdq.js} +16 -16
  170. package/dist/chunks/{command-6xw6ac85.js → rpc-j4wxjfwy.js} +30 -30
  171. package/dist/chunks/{command-5qd3pb7m.js → rpc-j935v87r.js} +2 -2
  172. package/dist/chunks/{command-ggs7d5mp.js → rpc-jg1vwa91.js} +13 -13
  173. package/dist/chunks/{command-ch60wd2z.js → rpc-jj3qxa52.js} +4 -4
  174. package/dist/chunks/{command-9s7m1fh2.js → rpc-jj9xsyb9.js} +11 -11
  175. package/dist/chunks/{command-99ks3syn.js → rpc-jjtztttc.js} +17 -17
  176. package/dist/chunks/{command-k200p2dv.js → rpc-jpnc116f.js} +9 -9
  177. package/dist/chunks/{command-jwcy2c2z.js → rpc-jwcy2c2z.js} +1 -1
  178. package/dist/chunks/{command-fj4x2m8g.js → rpc-k1a72sje.js} +21 -21
  179. package/dist/chunks/{command-ys04yrn6.js → rpc-k3fb46c0.js} +18 -18
  180. package/dist/chunks/{command-k4bwy1x5.js → rpc-k4bwy1x5.js} +1 -1
  181. package/dist/chunks/{command-h3wsk5t8.js → rpc-k6sj68zp.js} +14 -14
  182. package/dist/chunks/{command-5fpdng81.js → rpc-kejw0t4e.js} +5 -5
  183. package/dist/chunks/{command-4rftwdm7.js → rpc-kexr6zkj.js} +18 -18
  184. package/dist/chunks/{command-kg06axw8.js → rpc-kg06axw8.js} +1 -1
  185. package/dist/chunks/{command-fnptnz5b.js → rpc-kpzf6j9d.js} +10 -10
  186. package/dist/chunks/{command-e4kk8zzx.js → rpc-krmx2xyr.js} +41 -41
  187. package/dist/chunks/{command-z0y2k7gm.js → rpc-kyb8p98y.js} +31 -31
  188. package/dist/chunks/{command-yahcm7nx.js → rpc-m4673ea2.js} +26 -26
  189. package/dist/chunks/{command-a2bdyd3c.js → rpc-m51pq2yd.js} +6 -6
  190. package/dist/chunks/{command-2zsr04y1.js → rpc-m6v4gpqz.js} +12 -12
  191. package/dist/chunks/{command-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{command-z1s4wvth.js → rpc-mafy3fh7.js} +13 -13
  193. package/dist/chunks/{command-7yh4e7ss.js → rpc-mhkvc446.js} +3 -3
  194. package/dist/chunks/{command-5gv2kmhj.js → rpc-mke2843p.js} +22 -22
  195. package/dist/chunks/{command-xk7t5g8q.js → rpc-mpbw7sv7.js} +4 -4
  196. package/dist/chunks/{command-nzzxe9z3.js → rpc-mq8dv1hp.js} +24 -24
  197. package/dist/chunks/{command-zmm1cve0.js → rpc-mzsb370n.js} +10 -10
  198. package/dist/chunks/{command-nrz5c8c1.js → rpc-nrz5c8c1.js} +2 -2
  199. package/dist/chunks/{command-kmkwybff.js → rpc-p0b4ytnr.js} +6 -6
  200. package/dist/chunks/{command-e1patwpn.js → rpc-pb1tcd0x.js} +34 -34
  201. package/dist/chunks/{command-9cgz4z4t.js → rpc-pbv7m5sr.js} +3 -3
  202. package/dist/chunks/{command-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{command-1akmxprb.js → rpc-pkkvpc61.js} +14 -14
  204. package/dist/chunks/{command-pknna89w.js → rpc-pknna89w.js} +1 -1
  205. package/dist/chunks/{command-7w010q1d.js → rpc-q3hv2sj9.js} +49 -49
  206. package/dist/chunks/{command-fbgbrvxb.js → rpc-q485ymv2.js} +81 -81
  207. package/dist/chunks/{command-hs09szwj.js → rpc-q55daa19.js} +9 -9
  208. package/dist/chunks/{command-279zjhpq.js → rpc-q58618g1.js} +79 -79
  209. package/dist/chunks/{command-806j49yq.js → rpc-qa3qhgw8.js} +4 -4
  210. package/dist/chunks/{command-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  211. package/dist/chunks/{command-9yaajp0h.js → rpc-qw4tavyr.js} +10 -10
  212. package/dist/chunks/{command-f5vdqjqt.js → rpc-r05hg6dq.js} +2 -2
  213. package/dist/chunks/{command-wnjdg9f5.js → rpc-r6p8n554.js} +14 -14
  214. package/dist/chunks/{command-r8dhm0tv.js → rpc-r8dhm0tv.js} +1 -1
  215. package/dist/chunks/{command-cv9knkrg.js → rpc-rde9wvyt.js} +11 -11
  216. package/dist/chunks/{command-7g7fb98j.js → rpc-re7ze2ma.js} +1 -1
  217. package/dist/chunks/{command-pctbbrby.js → rpc-rp7g6xwr.js} +8 -8
  218. package/dist/chunks/{command-38fdqmmq.js → rpc-rrq6kz97.js} +36 -36
  219. package/dist/chunks/{command-p325kmej.js → rpc-rvn46zq7.js} +9 -9
  220. package/dist/chunks/{command-sba4qhjf.js → rpc-sba4qhjf.js} +1 -1
  221. package/dist/chunks/{command-7sq5cger.js → rpc-sj09nt66.js} +17 -17
  222. package/dist/chunks/{command-z0caz8m8.js → rpc-sp67jf0a.js} +2 -2
  223. package/dist/chunks/{command-m09hh2qm.js → rpc-sqqtc4xq.js} +15 -15
  224. package/dist/chunks/{command-exy2v0tj.js → rpc-sygak18j.js} +15 -15
  225. package/dist/chunks/{command-ndxmc8jy.js → rpc-t28cy6st.js} +13 -13
  226. package/dist/chunks/{command-9rhh5gqv.js → rpc-t53mj6v6.js} +4 -4
  227. package/dist/chunks/{command-pcras68f.js → rpc-t6f6dd4d.js} +15 -15
  228. package/dist/chunks/{command-fvzk6cpt.js → rpc-t789mvnh.js} +36 -36
  229. package/dist/chunks/{command-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{command-89znhe33.js → rpc-tcezcvh9.js} +4 -4
  231. package/dist/chunks/{command-ysynen7x.js → rpc-tcqnna6w.js} +17 -17
  232. package/dist/chunks/{command-tjykrgmx.js → rpc-tjykrgmx.js} +1 -1
  233. package/dist/chunks/{command-y9j759kk.js → rpc-trt6hbzz.js} +4 -4
  234. package/dist/chunks/{command-d9jdb4zk.js → rpc-tv79vecj.js} +9 -9
  235. package/dist/chunks/{command-yd3gakm9.js → rpc-txppa427.js} +16 -16
  236. package/dist/chunks/{command-kzdh53w6.js → rpc-v0sae4m8.js} +26 -26
  237. package/dist/chunks/{command-fexqjycg.js → rpc-v550zfzq.js} +26 -26
  238. package/dist/chunks/{command-y1gygb79.js → rpc-v6ym2mbm.js} +38 -38
  239. package/dist/chunks/{command-w4tqxsac.js → rpc-vg1f7981.js} +6 -6
  240. package/dist/chunks/{command-6cnvhzhy.js → rpc-vg7vz8a0.js} +17 -17
  241. package/dist/chunks/{command-7r0r50e5.js → rpc-vrpz8t5t.js} +5 -5
  242. package/dist/chunks/{command-kmng5yeq.js → rpc-vv86pfn4.js} +12 -12
  243. package/dist/chunks/{command-e1mb8xhp.js → rpc-vvn5h3hg.js} +11 -11
  244. package/dist/chunks/{command-qvw3ex0p.js → rpc-vz05mr0w.js} +9 -9
  245. package/dist/chunks/{command-drsywa8d.js → rpc-w09bvaae.js} +47 -47
  246. package/dist/chunks/{command-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{command-1h95a3b9.js → rpc-w55q2m1g.js} +4 -4
  248. package/dist/chunks/{command-v0gwpyr8.js → rpc-w6k1qeax.js} +24 -24
  249. package/dist/chunks/{command-fpthsa93.js → rpc-w8h6fvwh.js} +2 -2
  250. package/dist/chunks/{command-wd87259q.js → rpc-wd87259q.js} +1 -1
  251. package/dist/chunks/{command-tbeh7nm8.js → rpc-wjdvdpz4.js} +9 -9
  252. package/dist/chunks/{command-5tc0y89d.js → rpc-wnwn53rt.js} +11 -11
  253. package/dist/chunks/{command-x5s817a3.js → rpc-wta8nv8e.js} +1 -1
  254. package/dist/chunks/{command-fz4jwa6n.js → rpc-wtm3m4mv.js} +20 -20
  255. package/dist/chunks/{command-qh16mj05.js → rpc-wy3a9ktx.js} +6 -6
  256. package/dist/chunks/{command-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{command-r656qmc8.js → rpc-x64q5xrw.js} +1 -1
  258. package/dist/chunks/{command-zjxf22wa.js → rpc-xdqwr4d8.js} +9 -9
  259. package/dist/chunks/{command-taexzmrc.js → rpc-xgjn1vmq.js} +25 -25
  260. package/dist/chunks/{command-4rqr8y5g.js → rpc-xw7hdwrj.js} +24 -24
  261. package/dist/chunks/{command-nv1mfemk.js → rpc-y092mk2a.js} +6 -6
  262. package/dist/chunks/{command-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{command-kw4n94xb.js → rpc-y1wkrapf.js} +32 -32
  264. package/dist/chunks/{command-pa2jrwbg.js → rpc-y3xxj3sg.js} +9 -9
  265. package/dist/chunks/{command-ec7s3w8j.js → rpc-ydwy5z2b.js} +46 -46
  266. package/dist/chunks/{command-yfbd16n1.js → rpc-yfbd16n1.js} +2 -2
  267. package/dist/chunks/{command-wwach3d4.js → rpc-ygw4aaat.js} +25 -25
  268. package/dist/chunks/{command-9rp752s8.js → rpc-yq5tbn9k.js} +18 -18
  269. package/dist/chunks/{command-0s7aarrn.js → rpc-yrydy187.js} +14 -14
  270. package/dist/chunks/{command-035rcwns.js → rpc-yvsdtapc.js} +19 -19
  271. package/dist/chunks/{command-g4p2jaj6.js → rpc-ywpw23hy.js} +5 -5
  272. package/dist/chunks/{command-dn2favvt.js → rpc-ywszqpxp.js} +9 -9
  273. package/dist/chunks/{command-z1k01bn4.js → rpc-z1k01bn4.js} +2 -2
  274. package/dist/chunks/{command-h93sf8xp.js → rpc-z2zzq6cg.js} +2 -2
  275. package/dist/chunks/{command-z3xgatyd.js → rpc-z3xgatyd.js} +1 -1
  276. package/dist/chunks/{command-29x78va6.js → rpc-z63w68vq.js} +6 -6
  277. package/dist/chunks/{command-jzpht0s0.js → rpc-zjhjw14a.js} +32 -32
  278. package/dist/chunks/{command-j2rksbgg.js → rpc-zq9fnn7x.js} +11 -11
  279. package/dist/chunks/{command-k7c7fj4z.js → rpc-zt79yd0y.js} +8 -8
  280. package/dist/chunks/{command-7r1tj01c.js → rpc-ztb7vdkc.js} +20 -20
  281. package/dist/chunks/{command-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{command-bnqaaxy4.js → rpc-zy59706a.js} +10 -10
  283. package/dist/codemode/catalog.js +3 -3
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +79 -79
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +114 -114
  291. package/dist/config/plugin/command.js +205 -205
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +123 -123
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +134 -134
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +118 -118
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +80 -80
  314. package/dist/database/database.js +64 -64
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +1 -1
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +68 -68
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +217 -217
  412. package/dist/filesystem/protected.js +3 -3
  413. package/dist/filesystem/search.js +99 -99
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +13 -13
  416. package/dist/filesystem.js +102 -102
  417. package/dist/form.js +84 -84
  418. package/dist/formatter/builtins.js +4 -4
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +90 -90
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +7 -7
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +5 -5
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +81 -81
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +85 -85
  451. package/dist/job.js +75 -75
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +83 -83
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +84 -84
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +102 -102
  461. package/dist/mcp/instructions.js +120 -120
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +7 -7
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +4 -4
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +80 -80
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +109 -109
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +84 -84
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +94 -94
  479. package/dist/plugin/command.js +93 -93
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +208 -208
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +94 -94
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +4 -4
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +114 -114
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +114 -114
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +79 -79
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +3 -3
  527. package/dist/plugin/skill.js +129 -129
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +335 -335
  530. package/dist/plugin/system-prompt.js +5 -5
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +8 -8
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +2 -2
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +217 -217
  543. package/dist/project/schema.js +8 -8
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +85 -85
  546. package/dist/provider.js +3 -3
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +94 -94
  551. package/dist/reference/instructions.js +84 -84
  552. package/dist/reference.js +84 -84
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +91 -91
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +125 -125
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +214 -214
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +146 -146
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +82 -82
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +75 -75
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +110 -110
  577. package/dist/session/model-transport.js +7 -7
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +1 -1
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +83 -83
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +2 -2
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +3 -3
  592. package/dist/session/session.js +165 -165
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +208 -208
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +209 -209
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +11 -11
  610. package/dist/shell.js +132 -132
  611. package/dist/skill/discovery.js +2 -2
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +100 -100
  614. package/dist/snapshot.js +86 -86
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +119 -119
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +119 -119
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +116 -116
  625. package/dist/tool/plugin/question.js +99 -99
  626. package/dist/tool/plugin/read.js +120 -120
  627. package/dist/tool/plugin/shell.js +210 -210
  628. package/dist/tool/plugin/skill.js +107 -107
  629. package/dist/tool/plugin/subagent.js +210 -210
  630. package/dist/tool/plugin/webfetch.js +102 -102
  631. package/dist/tool/plugin/websearch.js +108 -108
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +15 -15
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +3 -3
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +5 -5
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +5 -5
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +7 -7
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +82 -82
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +77 -77
  666. package/dist/workspace/driver.js +5 -5
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +76 -76
  669. package/dist/worktree/directory.js +2 -2
  670. package/dist/worktree/git.js +5 -5
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +86 -86
  673. package/package.json +7 -7
  674. package/dist/chunks/command-7zk4hah4.js +0 -4
  675. package/dist/chunks/command-kkjhrqrd.js +0 -243
  676. package/dist/chunks/command-qc068m1q.js +0 -18
  677. /package/dist/chunks/{command-0fabt78z.js → rpc-0fabt78z.js} +0 -0
  678. /package/dist/chunks/{command-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  679. /package/dist/chunks/{command-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  680. /package/dist/chunks/{command-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  681. /package/dist/chunks/{command-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  682. /package/dist/chunks/{command-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  683. /package/dist/chunks/{command-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  684. /package/dist/chunks/{command-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  685. /package/dist/chunks/{command-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  686. /package/dist/chunks/{command-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  687. /package/dist/chunks/{command-3asan66x.js → rpc-3asan66x.js} +0 -0
  688. /package/dist/chunks/{command-3t738kvx.js → rpc-3t738kvx.js} +0 -0
  689. /package/dist/chunks/{command-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  690. /package/dist/chunks/{command-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  691. /package/dist/chunks/{command-41nvscxy.js → rpc-41nvscxy.js} +0 -0
  692. /package/dist/chunks/{command-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  693. /package/dist/chunks/{command-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  694. /package/dist/chunks/{command-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  695. /package/dist/chunks/{command-53557ph1.js → rpc-53557ph1.js} +0 -0
  696. /package/dist/chunks/{command-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  697. /package/dist/chunks/{command-6prwharc.js → rpc-6prwharc.js} +0 -0
  698. /package/dist/chunks/{command-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  699. /package/dist/chunks/{command-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  700. /package/dist/chunks/{command-822emrt2.js → rpc-822emrt2.js} +0 -0
  701. /package/dist/chunks/{command-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  702. /package/dist/chunks/{command-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  703. /package/dist/chunks/{command-982e01ww.js → rpc-982e01ww.js} +0 -0
  704. /package/dist/chunks/{command-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  705. /package/dist/chunks/{command-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  706. /package/dist/chunks/{command-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
  707. /package/dist/chunks/{command-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  708. /package/dist/chunks/{command-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  709. /package/dist/chunks/{command-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  710. /package/dist/chunks/{command-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  711. /package/dist/chunks/{command-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  712. /package/dist/chunks/{command-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  713. /package/dist/chunks/{command-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  714. /package/dist/chunks/{command-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  715. /package/dist/chunks/{command-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  716. /package/dist/chunks/{command-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  717. /package/dist/chunks/{command-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  718. /package/dist/chunks/{command-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  719. /package/dist/chunks/{command-df08tz66.js → rpc-df08tz66.js} +0 -0
  720. /package/dist/chunks/{command-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  721. /package/dist/chunks/{command-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  722. /package/dist/chunks/{command-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  723. /package/dist/chunks/{command-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  724. /package/dist/chunks/{command-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  725. /package/dist/chunks/{command-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  726. /package/dist/chunks/{command-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  727. /package/dist/chunks/{command-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  728. /package/dist/chunks/{command-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  729. /package/dist/chunks/{command-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  730. /package/dist/chunks/{command-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  731. /package/dist/chunks/{command-g86h250q.js → rpc-g86h250q.js} +0 -0
  732. /package/dist/chunks/{command-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  733. /package/dist/chunks/{command-hk9envan.js → rpc-hk9envan.js} +0 -0
  734. /package/dist/chunks/{command-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  735. /package/dist/chunks/{command-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  736. /package/dist/chunks/{command-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  737. /package/dist/chunks/{command-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  738. /package/dist/chunks/{command-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  739. /package/dist/chunks/{command-mntxs535.js → rpc-mntxs535.js} +0 -0
  740. /package/dist/chunks/{command-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  741. /package/dist/chunks/{command-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  742. /package/dist/chunks/{command-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  743. /package/dist/chunks/{command-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  744. /package/dist/chunks/{command-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  745. /package/dist/chunks/{command-p8qxwesx.js → rpc-p8qxwesx.js} +0 -0
  746. /package/dist/chunks/{command-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  747. /package/dist/chunks/{command-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  748. /package/dist/chunks/{command-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  749. /package/dist/chunks/{command-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  750. /package/dist/chunks/{command-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  751. /package/dist/chunks/{command-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  752. /package/dist/chunks/{command-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  753. /package/dist/chunks/{command-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  754. /package/dist/chunks/{command-se0s1eqw.js → rpc-se0s1eqw.js} +0 -0
  755. /package/dist/chunks/{command-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  756. /package/dist/chunks/{command-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  757. /package/dist/chunks/{command-twg0f83k.js → rpc-twg0f83k.js} +0 -0
  758. /package/dist/chunks/{command-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  759. /package/dist/chunks/{command-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  760. /package/dist/chunks/{command-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  761. /package/dist/chunks/{command-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  762. /package/dist/chunks/{command-x1b8g1yb.js → rpc-x1b8g1yb.js} +0 -0
  763. /package/dist/chunks/{command-x61499pn.js → rpc-x61499pn.js} +0 -0
  764. /package/dist/chunks/{command-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  765. /package/dist/chunks/{command-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  766. /package/dist/chunks/{command-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  767. /package/dist/chunks/{command-z9919s4g.js → rpc-z9919s4g.js} +0 -0
  768. /package/dist/chunks/{command-zbjnn3ac.js → rpc-zbjnn3ac.js} +0 -0
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./command-3t738kvx.js";
7
+ } from "./rpc-3t738kvx.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./command-6tf8tr4v.js";
11
+ } from "./rpc-6tf8tr4v.js";
12
12
  import {
13
13
  create3
14
- } from "./command-kg06axw8.js";
14
+ } from "./rpc-kg06axw8.js";
15
15
  import {
16
- Service47,
17
- node49
18
- } from "./command-0kjqcjxv.js";
16
+ Service53,
17
+ node56
18
+ } from "./rpc-d910tjb6.js";
19
19
  import {
20
- Service63,
21
- node66
22
- } from "./command-r9gjvh9g.js";
20
+ Service68,
21
+ node72
22
+ } from "./rpc-0vzfvg04.js";
23
23
  import {
24
24
  match2
25
- } from "./command-y1fvbwt7.js";
25
+ } from "./rpc-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./command-9rqn6x4v.js";
28
+ } from "./rpc-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
35
- Error: () => Error2,
34
+ Content: () => Content3,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service42,
38
+ Service: () => Service52,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node44
41
+ node: () => node55
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
44
44
  import { ToolDefinition } from "@opencode-ai/ai";
45
45
  import { Tool } from "@opencode-ai/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service42 extends Context.Service()("@opencode/Tool") {
54
+ class Service52 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service42, Effect.gen(function* () {
57
- const hooks = yield* Service63;
58
- const image = yield* Service47;
56
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
57
+ const hooks = yield* Service68;
58
+ const image = yield* Service53;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service42.of({
183
+ return Service52.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node44 = makeLocationNode({
266
- service: Service42,
265
+ var node55 = makeLocationNode({
266
+ service: Service52,
267
267
  layer,
268
- deps: [node66, node49]
268
+ deps: [node72, node56]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service42, node44, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service52, node55, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./command-mh4ywd3j.js";
4
+ } from "./rpc-3wv0wb6p.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./command-jwcy2c2z.js";
7
+ } from "./rpc-jwcy2c2z.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node79
12
- } from "./command-e1rfyyrx.js";
11
+ node66
12
+ } from "./rpc-8a1wqn9j.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./command-faypxj3z.js";
15
+ } from "./rpc-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID16,
25
- Info: () => Info29,
24
+ ID: () => ID6,
25
+ Info: () => Info21,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service75,
27
+ Service: () => Service62,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured11,
30
- node: () => node78
30
+ node: () => node65
31
31
  });
32
32
  import { Workspace } from "@opencode-ai/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID16 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info29 extends Schema.Class("Workspace.Info")({
41
- id: ID16,
40
+ class Info21 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID16,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service75 extends Context.Service()("@opencode/Workspace") {
59
+ class Service62 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service75,
62
+ service: Service62,
63
63
  layer: layer(options),
64
- deps: [node84, node79]
64
+ deps: [node84, node66]
65
65
  });
66
- var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info29({
83
+ const info = (row, binding) => new Info21({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service75.of({
157
+ return Service62.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID16.create();
159
+ const workspaceID = input.id ?? ID6.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node78 = configured11();
224
+ var node65 = configured11();
225
225
 
226
- export { ID16, Info29, NotFound3, CreateConflict2, Service75, configured11, node78, exports_workspace };
226
+ export { ID6, Info21, NotFound3, CreateConflict2, Service62, configured11, node65, exports_workspace };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service38,
10
- node: () => node40
9
+ Service: () => Service33,
10
+ node: () => node35
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode-ai/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
15
15
 
16
- class Service38 extends Context.Service()("@opencode/Instance") {
16
+ class Service33 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node40 = LayerNode.unbound(Service38, Node.tags.values.global);
18
+ var node35 = LayerNode.unbound(Service33, Node.tags.values.global);
19
19
 
20
- export { Service38, node40, exports_service2 };
20
+ export { Service33, node35, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,73 +1,73 @@
1
1
  import {
2
- Service74
3
- } from "./command-nzzxe9z3.js";
2
+ Service61
3
+ } from "./rpc-mq8dv1hp.js";
4
4
  import {
5
- Service14,
5
+ Service17,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./command-2470z9n9.js";
8
+ } from "./rpc-9e0xajhk.js";
9
9
  import {
10
- Service22
11
- } from "./command-cnrverm5.js";
10
+ Service20
11
+ } from "./rpc-9aknjvfg.js";
12
12
  import {
13
13
  externalDirectoryPermission2,
14
- Service16
15
- } from "./command-zrrqbtv4.js";
14
+ Service57
15
+ } from "./rpc-edyt7veh.js";
16
16
  import {
17
- Service60
18
- } from "./command-w0zpdtzg.js";
17
+ Service64
18
+ } from "./rpc-b9t840km.js";
19
19
  import {
20
20
  fileDiff2
21
- } from "./command-6prwharc.js";
21
+ } from "./rpc-6prwharc.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./rpc-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/write.ts
27
27
  var exports_write = {};
28
28
  __export(exports_write, {
29
- Input: () => Input12,
30
- Output: () => Output8,
31
- Plugin: () => Plugin43,
29
+ Input: () => Input4,
30
+ Output: () => Output4,
31
+ Plugin: () => Plugin18,
32
32
  WriteTool: () => exports_write,
33
- name: () => name12,
34
- toModelContent: () => toModelContent6
33
+ name: () => name4,
34
+ toModelContent: () => toModelContent4
35
35
  });
36
36
  import { ToolFailure } from "@opencode-ai/ai";
37
37
  import { Effect, Schema } from "effect";
38
38
  import { Bom } from "@opencode-ai/util/bom";
39
- var name12 = "write";
40
- var Input12 = Schema.Struct({
39
+ var name4 = "write";
40
+ var Input4 = Schema.Struct({
41
41
  path: Schema.String.annotate({
42
42
  description: "Path to the file to write to"
43
43
  }),
44
44
  content: Schema.String.annotate({ description: "Content to write to the file" })
45
45
  });
46
- var Output8 = Schema.Struct({
46
+ var Output4 = Schema.Struct({
47
47
  operation: Schema.Literal("write"),
48
48
  target: Schema.String,
49
49
  resource: Schema.String,
50
50
  existed: Schema.Boolean
51
51
  });
52
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
- var Plugin43 = {
52
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
+ var Plugin18 = {
54
54
  id: "opencode.tool.write",
55
55
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
56
- const mutation = yield* Service16;
57
- const fileMutation = yield* Service14;
58
- const environment = yield* Service74;
59
- const formatter = yield* Service22;
60
- const permission = yield* Service60;
56
+ const mutation = yield* Service57;
57
+ const fileMutation = yield* Service17;
58
+ const environment = yield* Service61;
59
+ const formatter = yield* Service20;
60
+ const permission = yield* Service64;
61
61
  yield* ctx.tool.transform((editor) => editor.add({
62
- name: name12,
62
+ name: name4,
63
63
  options: { codemode: false, permission: "edit" },
64
64
  description: `Writes a file to the local filesystem, overwriting if one exists.
65
65
 
66
66
  Missing parent directories are created automatically.
67
67
 
68
68
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
69
- input: Input12,
70
- output: Output8,
69
+ input: Input4,
70
+ output: Output4,
71
71
  execute: (input, context) => Effect.gen(function* () {
72
72
  const source = {
73
73
  type: "tool",
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
101
101
  yield* syncTextBom2(environment.files, target.absolute, bom);
102
102
  }
103
103
  return result;
104
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
104
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
105
105
  })).pipe(Effect.orDie);
106
106
  })
107
107
  };
108
108
 
109
- export { name12, Input12, Output8, toModelContent6, Plugin43, exports_write };
109
+ export { name4, Input4, Output4, toModelContent4, Plugin18, exports_write };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service79
3
- } from "./command-1h95a3b9.js";
3
+ } from "./rpc-w55q2m1g.js";
4
4
  import {
5
5
  OAuth3,
6
- Event18
7
- } from "./command-dy3xyxz9.js";
6
+ Event19
7
+ } from "./rpc-ex26y97c.js";
8
8
  import {
9
- ID6,
9
+ ID15,
10
10
  MethodID2
11
- } from "./command-yahcm7nx.js";
11
+ } from "./rpc-m4673ea2.js";
12
12
  import {
13
13
  ID14,
14
14
  aisdk2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2
17
- } from "./command-9rhh5gqv.js";
17
+ } from "./rpc-t53mj6v6.js";
18
18
 
19
19
  // src/plugin/provider/opencode.ts
20
20
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
44
44
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
45
45
  function oauth(http) {
46
46
  return {
47
- integrationID: ID6.make("opencode"),
47
+ integrationID: ID15.make("opencode"),
48
48
  method: {
49
49
  id: methodID,
50
50
  type: "oauth",
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
112
112
  catalog.provider.update(providerID, (provider) => {
113
113
  if (source && source.provider !== provider)
114
114
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
115
- provider.integrationID = ID6.make("opencode");
115
+ provider.integrationID = ID15.make("opencode");
116
116
  if (item.canonical !== undefined)
117
117
  provider.canonical = item.canonical;
118
118
  if (item.name !== undefined)
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  }
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
199
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  })
201
201
  });
202
202
  function fetchProviders(http, value) {
@@ -1,141 +1,141 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./command-jzg6c2d5.js";
3
+ } from "./rpc-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./command-q3sfg36h.js";
6
+ } from "./rpc-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./command-1cnp2v09.js";
9
+ } from "./rpc-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./command-rcb2kzg1.js";
12
+ } from "./rpc-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./command-msx8hqn2.js";
15
+ } from "./rpc-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./command-bkyjaxrp.js";
18
+ } from "./rpc-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./command-g86h250q.js";
21
+ } from "./rpc-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./command-jr7sbwjy.js";
24
+ } from "./rpc-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./command-7m9af43g.js";
27
+ } from "./rpc-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./command-j2ntwpah.js";
30
+ } from "./rpc-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./command-njntx4h6.js";
33
+ } from "./rpc-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./command-qrg20bc0.js";
36
+ } from "./rpc-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./command-z9919s4g.js";
39
+ } from "./rpc-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./command-43n2bw4t.js";
42
+ } from "./rpc-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./command-n3j8tn72.js";
45
+ } from "./rpc-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./command-d9jj8t3e.js";
48
+ } from "./rpc-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./command-fd410y7t.js";
51
+ } from "./rpc-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./command-e5kj55wp.js";
54
+ } from "./rpc-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./command-f6n9ztr4.js";
57
+ } from "./rpc-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./command-q74kybfr.js";
60
+ } from "./rpc-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./command-53557ph1.js";
63
+ } from "./rpc-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./command-7akdwqpd.js";
66
+ } from "./rpc-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./command-wer8tq1h.js";
69
+ } from "./rpc-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./command-wtztk69x.js";
72
+ } from "./rpc-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./command-ssg3fenm.js";
75
+ } from "./rpc-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./command-2c3vjs8z.js";
78
+ } from "./rpc-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./command-17cy0kzp.js";
81
+ } from "./rpc-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./command-hk9envan.js";
84
+ } from "./rpc-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./command-w803qqfp.js";
87
+ } from "./rpc-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./command-jwfs4k6c.js";
90
+ } from "./rpc-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./command-mp448xyj.js";
93
+ } from "./rpc-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./command-aqzs7mqg.js";
96
+ } from "./rpc-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./command-ygaqb7jw.js";
99
+ } from "./rpc-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./command-8n3pysct.js";
102
+ } from "./rpc-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./command-d9fn303g.js";
105
+ } from "./rpc-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./command-cvy3z8tj.js";
108
+ } from "./rpc-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./command-9a4afbnw.js";
111
+ } from "./rpc-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./command-n05xt0ee.js";
114
+ } from "./rpc-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./command-sdp7kfr6.js";
117
+ } from "./rpc-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./command-0fabt78z.js";
120
+ } from "./rpc-0fabt78z.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./command-4knz6hnm.js";
123
+ } from "./rpc-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./command-df08tz66.js";
126
+ } from "./rpc-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./command-bmr6ed5q.js";
129
+ } from "./rpc-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./command-atq7p7m5.js";
132
+ } from "./rpc-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./command-qb87gjwd.js";
135
+ } from "./rpc-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./command-359p4xyc.js";
138
+ } from "./rpc-359p4xyc.js";
139
139
 
140
140
  // src/database/migration.gen.ts
141
141
  var migrations2 = [
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./command-982e01ww.js";
3
+ } from "./rpc-982e01ww.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};