@opencode/core 0.0.0-dev-20399 → 0.0.0-dev-20401

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{state-8rnn6t2g.js → wellknown-08f2t3aa.js} +16 -16
  8. package/dist/chunks/{state-avm8jn6n.js → wellknown-0f9afca0.js} +5 -5
  9. package/dist/chunks/{state-sm77csgv.js → wellknown-0hrf2yhq.js} +3 -3
  10. package/dist/chunks/{state-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{state-x1c67pw4.js → wellknown-0q1f136w.js} +53 -53
  12. package/dist/chunks/{state-ve4pfa0n.js → wellknown-0v53mg2y.js} +4 -4
  13. package/dist/chunks/{state-0bsghn5e.js → wellknown-0w11ndwm.js} +8 -8
  14. package/dist/chunks/{state-rwbt1vvv.js → wellknown-1a854nj1.js} +5 -5
  15. package/dist/chunks/{state-e6jwgc59.js → wellknown-1ap25sbt.js} +30 -30
  16. package/dist/chunks/{state-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{state-sfn0p3x3.js → wellknown-1eh65fmh.js} +12 -12
  18. package/dist/chunks/{state-h6bjgbqg.js → wellknown-1jgmt200.js} +17 -17
  19. package/dist/chunks/{state-jj6avjan.js → wellknown-1s6gcy5s.js} +43 -43
  20. package/dist/chunks/{state-7dabebq9.js → wellknown-1sa7dz1e.js} +16 -16
  21. package/dist/chunks/{state-32s37th8.js → wellknown-1xp5crwf.js} +32 -32
  22. package/dist/chunks/{state-21r38tys.js → wellknown-21r38tys.js} +1 -1
  23. package/dist/chunks/{state-spb6tddc.js → wellknown-21t3v64e.js} +29 -29
  24. package/dist/chunks/{state-5ynfe8h2.js → wellknown-21tvsb8b.js} +149 -149
  25. package/dist/chunks/{state-fh2tfnch.js → wellknown-260gyq39.js} +23 -23
  26. package/dist/chunks/{state-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{state-xe9sg8zb.js → wellknown-2bdw8h48.js} +11 -11
  28. package/dist/chunks/{state-zxs6a24a.js → wellknown-2k64ycz1.js} +8 -8
  29. package/dist/chunks/{state-sa273yf3.js → wellknown-2mqye2yj.js} +10 -10
  30. package/dist/chunks/{state-b3x448qn.js → wellknown-2x9aqbrw.js} +18 -18
  31. package/dist/chunks/{state-vg6qrb8m.js → wellknown-354df1dc.js} +24 -24
  32. package/dist/chunks/{state-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{state-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{state-d72h0ct2.js → wellknown-3hrymav8.js} +22 -22
  35. package/dist/chunks/{state-0p4abda4.js → wellknown-3n9eh797.js} +5 -5
  36. package/dist/chunks/{state-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{state-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{state-026a3pxx.js → wellknown-3zjyq5kp.js} +11 -11
  39. package/dist/chunks/{state-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  40. package/dist/chunks/wellknown-443fwh93.js +252 -0
  41. package/dist/chunks/{state-jewzahs7.js → wellknown-4bm5ja14.js} +4 -4
  42. package/dist/chunks/{state-vajs8ne8.js → wellknown-4df3h35c.js} +9 -9
  43. package/dist/chunks/{state-m48gk93k.js → wellknown-4e0602pb.js} +23 -23
  44. package/dist/chunks/{state-cmmdg65p.js → wellknown-4e8vs6eh.js} +4 -4
  45. package/dist/chunks/{state-qk0w6ykp.js → wellknown-4hzg1grx.js} +3 -3
  46. package/dist/chunks/{state-4z58m4b4.js → wellknown-4j4tgtq5.js} +4 -4
  47. package/dist/chunks/{state-zzd0v6bh.js → wellknown-4s51ma40.js} +16 -16
  48. package/dist/chunks/{state-zf62gzsh.js → wellknown-52my5p2r.js} +1 -1
  49. package/dist/chunks/{state-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
  50. package/dist/chunks/{state-ckecvw8r.js → wellknown-54tcyq79.js} +2 -2
  51. package/dist/chunks/{state-kkpyfm5t.js → wellknown-55kxqpgg.js} +32 -32
  52. package/dist/chunks/{state-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{state-fsyf11as.js → wellknown-5747269g.js} +4 -4
  54. package/dist/chunks/{state-57ez7d0k.js → wellknown-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{state-jytterhh.js → wellknown-5bzm3rcx.js} +4 -4
  56. package/dist/chunks/{state-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
  57. package/dist/chunks/{state-h2aqvaqe.js → wellknown-5mp13bbv.js} +11 -11
  58. package/dist/chunks/{state-bdqrk2vk.js → wellknown-5phqnecy.js} +9 -9
  59. package/dist/chunks/{state-e3qxr5gk.js → wellknown-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{state-hsr4f390.js → wellknown-5r2av5gd.js} +12 -12
  61. package/dist/chunks/{state-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{state-y8t82fx5.js → wellknown-642recst.js} +12 -12
  63. package/dist/chunks/{state-669tq793.js → wellknown-669tq793.js} +1 -1
  64. package/dist/chunks/{state-a8k20txy.js → wellknown-67cr51g4.js} +8 -8
  65. package/dist/chunks/{state-hqqvrbf6.js → wellknown-6ebn15x8.js} +3 -3
  66. package/dist/chunks/{state-6h3wybc7.js → wellknown-6h3wybc7.js} +6 -6
  67. package/dist/chunks/{state-xk6fmnkg.js → wellknown-6kqa1629.js} +9 -9
  68. package/dist/chunks/{state-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{state-ww4pz79z.js → wellknown-6yaj9rt4.js} +6 -6
  70. package/dist/chunks/{state-a1cedfep.js → wellknown-71zbrv9g.js} +16 -16
  71. package/dist/chunks/{state-kn5am6yy.js → wellknown-744r2be4.js} +34 -34
  72. package/dist/chunks/{state-vfgebdsx.js → wellknown-768rm808.js} +18 -18
  73. package/dist/chunks/{state-3w4da0bf.js → wellknown-7a838fem.js} +18 -18
  74. package/dist/chunks/{state-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{state-c2qp786d.js → wellknown-7q1q4j24.js} +24 -24
  76. package/dist/chunks/{state-84txncab.js → wellknown-84txncab.js} +1 -1
  77. package/dist/chunks/{state-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{state-3xkzbdqd.js → wellknown-8hydgdhp.js} +6 -6
  79. package/dist/chunks/{state-g1ced42j.js → wellknown-8jjxrpth.js} +13 -13
  80. package/dist/chunks/{state-41h2mdr0.js → wellknown-9534deet.js} +32 -32
  81. package/dist/chunks/{state-jp4bxf0b.js → wellknown-97qfe4sr.js} +48 -48
  82. package/dist/chunks/{state-1fw2a5v8.js → wellknown-9qny7dd3.js} +17 -17
  83. package/dist/chunks/{state-9sh4wc5j.js → wellknown-9sh4wc5j.js} +1 -1
  84. package/dist/chunks/{state-s8d7rejh.js → wellknown-9t7a50xb.js} +4 -4
  85. package/dist/chunks/{state-475vsxfq.js → wellknown-a0gecma7.js} +14 -14
  86. package/dist/chunks/{state-qxz26mk9.js → wellknown-a2em79jn.js} +38 -38
  87. package/dist/chunks/{state-ff0svapt.js → wellknown-a3r4dcrj.js} +2 -2
  88. package/dist/chunks/{state-emfaaa2t.js → wellknown-a6gmg8e2.js} +9 -9
  89. package/dist/chunks/{state-76x0exek.js → wellknown-a8xwqxmq.js} +7 -7
  90. package/dist/chunks/{state-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
  91. package/dist/chunks/{state-q5gv92h7.js → wellknown-aan7x28a.js} +85 -85
  92. package/dist/chunks/{state-md2ktbcf.js → wellknown-adcm3a54.js} +12 -12
  93. package/dist/chunks/{state-yvq8qe6t.js → wellknown-akzntyag.js} +17 -17
  94. package/dist/chunks/{state-fgprdtmf.js → wellknown-aqyyhm0b.js} +15 -15
  95. package/dist/chunks/{state-9n655km2.js → wellknown-atm8t10z.js} +5 -5
  96. package/dist/chunks/{state-c7rpvq7c.js → wellknown-ax139gcc.js} +32 -32
  97. package/dist/chunks/{state-cv56zjsy.js → wellknown-ax5feq3k.js} +15 -15
  98. package/dist/chunks/{state-22t6ymqa.js → wellknown-b0wk2k2j.js} +7 -7
  99. package/dist/chunks/{state-g82hej27.js → wellknown-b3s8px0x.js} +6 -6
  100. package/dist/chunks/{state-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{state-4238gvvk.js → wellknown-bfqjkbr4.js} +24 -24
  102. package/dist/chunks/{state-z07pqspn.js → wellknown-bjtzbw4r.js} +3 -3
  103. package/dist/chunks/{state-9ehh8z5c.js → wellknown-bn97v1ss.js} +1 -1
  104. package/dist/chunks/{state-xx0efrt7.js → wellknown-bqar0n6y.js} +5 -5
  105. package/dist/chunks/{state-pa8pe2x7.js → wellknown-br0tr5aq.js} +8 -8
  106. package/dist/chunks/{state-030jzqrs.js → wellknown-bsnpd98z.js} +1 -1
  107. package/dist/chunks/{state-cgpscxj9.js → wellknown-bv20hq7b.js} +18 -18
  108. package/dist/chunks/{state-hbjnfksx.js → wellknown-c231s8ta.js} +10 -10
  109. package/dist/chunks/wellknown-c6jdrc5c.js +26 -0
  110. package/dist/chunks/{state-cwa6csj7.js → wellknown-c765mh8b.js} +9 -9
  111. package/dist/chunks/{state-z3pw5915.js → wellknown-c78bbtc9.js} +5 -5
  112. package/dist/chunks/{state-crbh5ayy.js → wellknown-c8g3m7qr.js} +17 -17
  113. package/dist/chunks/{state-mxy2bzd7.js → wellknown-ca3j46nd.js} +34 -34
  114. package/dist/chunks/{state-6zma4dqp.js → wellknown-cq038mp1.js} +6 -6
  115. package/dist/chunks/{state-p77z413r.js → wellknown-css27r41.js} +10 -10
  116. package/dist/chunks/{state-gz4t4j50.js → wellknown-d57jdqnp.js} +11 -11
  117. package/dist/chunks/{state-9g1bwmtd.js → wellknown-d7hrbx3g.js} +39 -39
  118. package/dist/chunks/{state-xjtv0ejd.js → wellknown-damkmrvb.js} +20 -20
  119. package/dist/chunks/{state-chasyyfh.js → wellknown-dbf65cva.js} +21 -21
  120. package/dist/chunks/{state-zh8n6fvg.js → wellknown-dgeqw13h.js} +3 -3
  121. package/dist/chunks/{state-e7710hd6.js → wellknown-dh75pk8w.js} +8 -8
  122. package/dist/chunks/{state-gx3a42a4.js → wellknown-dnxkq42g.js} +4 -4
  123. package/dist/chunks/{state-dpkg50ah.js → wellknown-dpkg50ah.js} +1 -1
  124. package/dist/chunks/{state-hgzmshwk.js → wellknown-dtq5dwqq.js} +26 -26
  125. package/dist/chunks/{state-cm2g4gk6.js → wellknown-e3farn9z.js} +15 -15
  126. package/dist/chunks/{state-9cc4b95v.js → wellknown-e6m8eg10.js} +8 -8
  127. package/dist/chunks/{state-e1d45rdw.js → wellknown-e7vk2sgk.js} +15 -15
  128. package/dist/chunks/{state-g6yxzqxx.js → wellknown-ebxxptf3.js} +17 -17
  129. package/dist/chunks/{state-rmyrmc3b.js → wellknown-eep4qv10.js} +35 -35
  130. package/dist/chunks/{state-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{state-hnr5yq9h.js → wellknown-eq23s0y6.js} +5 -5
  132. package/dist/chunks/{state-5stztzc8.js → wellknown-eqntm3rh.js} +26 -26
  133. package/dist/chunks/{state-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{state-kb4we5bm.js → wellknown-f5xysmby.js} +5 -5
  135. package/dist/chunks/{state-vz2meb4r.js → wellknown-f6bdtgrs.js} +17 -17
  136. package/dist/chunks/{state-h1yrgtr6.js → wellknown-ff98bvnp.js} +16 -16
  137. package/dist/chunks/{state-pxz53wth.js → wellknown-g1q8vb0g.js} +4 -4
  138. package/dist/chunks/{state-bvgg99d4.js → wellknown-g4fbrt4z.js} +7 -7
  139. package/dist/chunks/{state-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{state-3tt1qkhr.js → wellknown-gebtr55s.js} +5 -5
  141. package/dist/chunks/{state-94ek1h2f.js → wellknown-gfvb90ym.js} +2 -2
  142. package/dist/chunks/{state-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{state-b9tbzjbv.js → wellknown-gx58f99x.js} +13 -13
  144. package/dist/chunks/{state-r11gfdxy.js → wellknown-h09p1vgn.js} +4 -4
  145. package/dist/chunks/{state-cwjmqj7d.js → wellknown-h2h81cz1.js} +14 -14
  146. package/dist/chunks/{state-qvc7rwfe.js → wellknown-h4jx48xg.js} +10 -10
  147. package/dist/chunks/{state-gptt3tzt.js → wellknown-h5k0xyz2.js} +15 -15
  148. package/dist/chunks/{state-7pr2hkwv.js → wellknown-h6b02349.js} +5 -5
  149. package/dist/chunks/{state-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{state-eyh1y9f4.js → wellknown-hbgyr91g.js} +3 -3
  151. package/dist/chunks/{state-3556dn8t.js → wellknown-hd8vw2pw.js} +1 -1
  152. package/dist/chunks/{state-byw7mfcf.js → wellknown-henaaq5n.js} +10 -10
  153. package/dist/chunks/{state-5ptk6qrn.js → wellknown-hm6dp6d2.js} +304 -304
  154. package/dist/chunks/{state-thkpyy1e.js → wellknown-hs334ye3.js} +18 -18
  155. package/dist/chunks/{state-h73fwzy4.js → wellknown-hsed1dh0.js} +6 -6
  156. package/dist/chunks/{state-ka9kg3q0.js → wellknown-hsteyg0z.js} +36 -36
  157. package/dist/chunks/{state-3wtv5frj.js → wellknown-hvv902j1.js} +16 -16
  158. package/dist/chunks/{state-325vrkv0.js → wellknown-hwa5qdjj.js} +5 -5
  159. package/dist/chunks/{state-k1yhx0mf.js → wellknown-hysx2fj2.js} +20 -20
  160. package/dist/chunks/{state-s3cc2cs9.js → wellknown-j02apccs.js} +3 -3
  161. package/dist/chunks/{state-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  162. package/dist/chunks/{state-6j71bdrn.js → wellknown-j594h3t6.js} +4 -4
  163. package/dist/chunks/{state-n73fkcwy.js → wellknown-jbxd6gbx.js} +11 -11
  164. package/dist/chunks/{state-6bsje7ws.js → wellknown-jexxy024.js} +3 -3
  165. package/dist/chunks/{state-gwna2mhe.js → wellknown-jhcj5yx9.js} +22 -22
  166. package/dist/chunks/{state-y5rf7nzv.js → wellknown-jpqeh2wc.js} +4 -4
  167. package/dist/chunks/{state-k5ghjtzv.js → wellknown-jzmza1h1.js} +22 -22
  168. package/dist/chunks/{state-ym7mf8x8.js → wellknown-k12yqhfe.js} +13 -13
  169. package/dist/chunks/{state-rzke9gk0.js → wellknown-k1s1cxft.js} +51 -51
  170. package/dist/chunks/{state-4wgy5v9e.js → wellknown-k25a84m3.js} +24 -24
  171. package/dist/chunks/{state-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
  172. package/dist/chunks/{state-b8vgw5fj.js → wellknown-k3zp8qmd.js} +12 -12
  173. package/dist/chunks/{state-jgt16j01.js → wellknown-k4tadaxs.js} +19 -19
  174. package/dist/chunks/{state-cp8b7tfh.js → wellknown-k74fhpa0.js} +4 -4
  175. package/dist/chunks/{state-axs6pdy0.js → wellknown-kbqjp078.js} +5 -5
  176. package/dist/chunks/{state-gnwckkcb.js → wellknown-kccjvgj9.js} +20 -20
  177. package/dist/chunks/{state-6s6k8698.js → wellknown-kcg2nfx1.js} +9 -9
  178. package/dist/chunks/{state-w969batc.js → wellknown-kf8xccby.js} +20 -20
  179. package/dist/chunks/{state-7a5vwq9w.js → wellknown-kfr3jwev.js} +11 -11
  180. package/dist/chunks/{state-3hts4nh5.js → wellknown-kg8gd9a1.js} +24 -24
  181. package/dist/chunks/{state-06x8he3q.js → wellknown-kne8f3cn.js} +4 -4
  182. package/dist/chunks/{state-gwdrm622.js → wellknown-kydcancx.js} +7 -7
  183. package/dist/chunks/{state-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{state-m58kmhef.js → wellknown-m58kmhef.js} +2 -2
  185. package/dist/chunks/{state-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{state-jvp68s7q.js → wellknown-mj4mdxkv.js} +32 -32
  187. package/dist/chunks/{state-vsp1fds9.js → wellknown-mjymc32g.js} +21 -21
  188. package/dist/chunks/{state-44pdqs77.js → wellknown-mwwxnxty.js} +4 -4
  189. package/dist/chunks/{state-zgzqctvw.js → wellknown-n513yaqk.js} +11 -11
  190. package/dist/chunks/{state-d1xrdev2.js → wellknown-n5hqsxyz.js} +27 -27
  191. package/dist/chunks/{state-xq5cbp2j.js → wellknown-nap4pwna.js} +9 -9
  192. package/dist/chunks/{state-s2rv4ncm.js → wellknown-ncqsayf8.js} +3 -3
  193. package/dist/chunks/{state-d8nxzx5d.js → wellknown-nngs6syj.js} +12 -12
  194. package/dist/chunks/{state-zgc61ws8.js → wellknown-npn1b5xx.js} +5 -5
  195. package/dist/chunks/{state-etzxwssw.js → wellknown-ns267dy3.js} +38 -38
  196. package/dist/chunks/{state-pnv527nz.js → wellknown-nscznvay.js} +9 -9
  197. package/dist/chunks/{state-d1fv27qq.js → wellknown-p73e7djm.js} +20 -20
  198. package/dist/chunks/{state-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{state-pknna89w.js → wellknown-pknna89w.js} +1 -1
  200. package/dist/chunks/{state-jxebx42g.js → wellknown-pqvx7e34.js} +38 -49
  201. package/dist/chunks/{state-wd3x2cqz.js → wellknown-psazpmmj.js} +2 -2
  202. package/dist/chunks/{state-cfsekr6v.js → wellknown-py3kkmfq.js} +2 -2
  203. package/dist/chunks/{state-wfwxzv8g.js → wellknown-q07vqkz7.js} +5 -5
  204. package/dist/chunks/{state-8ckcg3zf.js → wellknown-q2vdjp2s.js} +9 -9
  205. package/dist/chunks/{state-vbmd7ks8.js → wellknown-q4mn6wkk.js} +6 -6
  206. package/dist/chunks/{state-kmy8da6b.js → wellknown-q4pkjmzp.js} +12 -12
  207. package/dist/chunks/{state-fhff0x2d.js → wellknown-q58mka6k.js} +9 -9
  208. package/dist/chunks/{state-2k8khapm.js → wellknown-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{state-fm2qvscf.js → wellknown-qm0v3jhh.js} +7 -7
  210. package/dist/chunks/{state-ns8ct35d.js → wellknown-qn6tktv7.js} +30 -30
  211. package/dist/chunks/{state-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  212. package/dist/chunks/{state-7yh4e7ss.js → wellknown-r5x6zcsm.js} +3 -3
  213. package/dist/chunks/{state-5t6w898y.js → wellknown-r7yf4sta.js} +10 -10
  214. package/dist/chunks/{state-1acjjqhc.js → wellknown-r8xr0va3.js} +4 -4
  215. package/dist/chunks/{state-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{state-cc9yd0np.js → wellknown-rh7p7pce.js} +15 -15
  217. package/dist/chunks/{state-aqxjtcsj.js → wellknown-rjyargxg.js} +11 -11
  218. package/dist/chunks/{state-0awtbsan.js → wellknown-rmp2r1td.js} +11 -11
  219. package/dist/chunks/{state-5d6rpvta.js → wellknown-rybxqfgf.js} +27 -27
  220. package/dist/chunks/{state-7rwqf82v.js → wellknown-rzs3gq0x.js} +8 -8
  221. package/dist/chunks/{state-xt29f2pd.js → wellknown-s595vrx0.js} +27 -27
  222. package/dist/chunks/{state-vm3v4gr3.js → wellknown-scn1m38n.js} +13 -13
  223. package/dist/chunks/{state-m5skzvyv.js → wellknown-sf76q7np.js} +6 -6
  224. package/dist/chunks/{state-518c5t7m.js → wellknown-sfe33gz0.js} +8 -8
  225. package/dist/chunks/{state-qbm7jezs.js → wellknown-sfkbasvm.js} +9 -9
  226. package/dist/chunks/{state-s41z59kz.js → wellknown-sjn3sca5.js} +19 -19
  227. package/dist/chunks/{state-t6kcjggt.js → wellknown-str9awg2.js} +24 -24
  228. package/dist/chunks/{state-82nf7ed8.js → wellknown-sy8pvrsp.js} +20 -20
  229. package/dist/chunks/{state-pr5bwn0j.js → wellknown-szbq6dpj.js} +2 -2
  230. package/dist/chunks/{state-53t1r0k7.js → wellknown-t12g5egd.js} +43 -43
  231. package/dist/chunks/{state-dt3wvx3f.js → wellknown-t4nchsx9.js} +22 -22
  232. package/dist/chunks/{state-6t6v3d0p.js → wellknown-t7cg42xb.js} +13 -13
  233. package/dist/chunks/{state-tag6x3x4.js → wellknown-t9ew0xaf.js} +11 -11
  234. package/dist/chunks/{state-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{state-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{state-dhwr7h25.js → wellknown-tdhe5xga.js} +11 -11
  237. package/dist/chunks/{state-tdstcens.js → wellknown-tdstcens.js} +1 -1
  238. package/dist/chunks/{state-ns8p33ds.js → wellknown-tneh0x7b.js} +15 -15
  239. package/dist/chunks/{state-kg9rvkrr.js → wellknown-tnvxdpm3.js} +5 -5
  240. package/dist/chunks/{state-63jfhv3x.js → wellknown-tq61de9h.js} +21 -21
  241. package/dist/chunks/{state-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
  242. package/dist/chunks/{state-jzgb5xky.js → wellknown-v0kzg6mz.js} +13 -13
  243. package/dist/chunks/{state-m9s7qv8x.js → wellknown-v359qcvd.js} +30 -30
  244. package/dist/chunks/{state-jhb9dspf.js → wellknown-vach4kr4.js} +11 -11
  245. package/dist/chunks/{state-f9wz3e2s.js → wellknown-vc0vbezj.js} +11 -11
  246. package/dist/chunks/{state-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  247. package/dist/chunks/{state-wyetx6hk.js → wellknown-vjjxy6yb.js} +9 -9
  248. package/dist/chunks/{state-m6vzghbm.js → wellknown-vn5vaeq1.js} +11 -11
  249. package/dist/chunks/{state-ydhe5npn.js → wellknown-vp65ztdf.js} +37 -37
  250. package/dist/chunks/{state-6h3ncj6c.js → wellknown-vsxynn42.js} +30 -30
  251. package/dist/chunks/{state-xsd4ddn1.js → wellknown-vv07ew10.js} +8 -8
  252. package/dist/chunks/{state-f9h36e2w.js → wellknown-vys9s7rq.js} +18 -18
  253. package/dist/chunks/{state-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{state-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{state-sxzvkvgj.js → wellknown-w21bzq9q.js} +6 -6
  256. package/dist/chunks/{state-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{state-7yqjxrmz.js → wellknown-w4arg62q.js} +6 -6
  258. package/dist/chunks/{state-3h8f8rgq.js → wellknown-w4mba9tq.js} +17 -17
  259. package/dist/chunks/{state-xcd3tayp.js → wellknown-wckr6wjf.js} +13 -13
  260. package/dist/chunks/{state-wd87259q.js → wellknown-wd87259q.js} +1 -1
  261. package/dist/chunks/{state-wh176n5n.js → wellknown-wh176n5n.js} +5 -5
  262. package/dist/chunks/{state-an0fjdax.js → wellknown-whrrw1yc.js} +23 -23
  263. package/dist/chunks/{state-e9akvjhf.js → wellknown-wj3fzgk4.js} +12 -12
  264. package/dist/chunks/{state-0wev32e0.js → wellknown-wkh0553f.js} +24 -24
  265. package/dist/chunks/{state-wh8p5p12.js → wellknown-wpsrzqaa.js} +44 -44
  266. package/dist/chunks/{state-j3d0563g.js → wellknown-wrvpnekj.js} +80 -80
  267. package/dist/chunks/{state-m67aag9e.js → wellknown-wt5vxt9k.js} +24 -24
  268. package/dist/chunks/{state-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{state-s72bj1y6.js → wellknown-x70jfmtc.js} +9 -9
  270. package/dist/chunks/{state-wvvff302.js → wellknown-x9zaehp5.js} +8 -8
  271. package/dist/chunks/{state-g5w8qwbj.js → wellknown-xfkkasph.js} +4 -4
  272. package/dist/chunks/{state-t0r3rek8.js → wellknown-xjjqthj5.js} +3 -3
  273. package/dist/chunks/{state-xkntkrq7.js → wellknown-xkntkrq7.js} +2 -2
  274. package/dist/chunks/{state-bwa7sjpv.js → wellknown-xphsq29y.js} +5 -5
  275. package/dist/chunks/{state-q8f45dp9.js → wellknown-xywe86jr.js} +63 -63
  276. package/dist/chunks/{state-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{state-5xpznt2d.js → wellknown-y1gke2m2.js} +4 -4
  278. package/dist/chunks/{state-cbjpdsvm.js → wellknown-y4aaa54v.js} +39 -39
  279. package/dist/chunks/{state-y56ehv6b.js → wellknown-y56ehv6b.js} +2 -2
  280. package/dist/chunks/{state-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{state-s4enseaf.js → wellknown-yrznvahk.js} +2 -2
  282. package/dist/chunks/{state-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{state-0j6y2kgk.js → wellknown-z0gc4jcf.js} +11 -11
  284. package/dist/chunks/{state-29x78va6.js → wellknown-z63w68vq.js} +6 -6
  285. package/dist/chunks/{state-d3nanzm1.js → wellknown-z8jvdxfg.js} +6 -6
  286. package/dist/chunks/{state-1rfara83.js → wellknown-z8qfc15h.js} +20 -20
  287. package/dist/chunks/{state-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{state-anz1zs5v.js → wellknown-zggzp6kd.js} +33 -33
  289. package/dist/chunks/{state-xt02y0n1.js → wellknown-zj9f3ba2.js} +10 -10
  290. package/dist/chunks/{state-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{state-dwsv6nwq.js → wellknown-zsmpz0g2.js} +41 -41
  292. package/dist/chunks/{state-9tsamph0.js → wellknown-zvsfaaqm.js} +19 -19
  293. package/dist/chunks/{state-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +120 -120
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +75 -75
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +93 -93
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +226 -226
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +72 -72
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +79 -79
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +81 -81
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +75 -75
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +98 -98
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +3 -3
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +124 -124
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +1 -1
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +2 -2
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +228 -228
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +129 -129
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +209 -209
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +155 -155
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +214 -214
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +11 -11
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +122 -122
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +122 -122
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +101 -101
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +214 -214
  651. package/dist/tool/plugin/skill.js +107 -107
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +106 -106
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/state-92scpske.js +0 -26
  702. package/dist/chunks/state-txavf3vy.js +0 -252
  703. /package/dist/chunks/{state-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{state-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{state-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{state-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{state-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{state-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{state-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{state-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{state-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{state-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{state-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{state-3asan66x.js → wellknown-3asan66x.js} +0 -0
  715. /package/dist/chunks/{state-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{state-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{state-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{state-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{state-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{state-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{state-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{state-53557ph1.js → wellknown-53557ph1.js} +0 -0
  723. /package/dist/chunks/{state-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{state-6prwharc.js → wellknown-6prwharc.js} +0 -0
  725. /package/dist/chunks/{state-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{state-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{state-822emrt2.js → wellknown-822emrt2.js} +0 -0
  728. /package/dist/chunks/{state-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{state-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{state-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{state-922hggd3.js → wellknown-922hggd3.js} +0 -0
  732. /package/dist/chunks/{state-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{state-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{state-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{state-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{state-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{state-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{state-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{state-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{state-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{state-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{state-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{state-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{state-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{state-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{state-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{state-df08tz66.js → wellknown-df08tz66.js} +0 -0
  748. /package/dist/chunks/{state-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{state-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{state-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{state-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{state-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{state-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{state-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{state-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{state-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{state-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{state-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{state-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{state-g86h250q.js → wellknown-g86h250q.js} +0 -0
  761. /package/dist/chunks/{state-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{state-gftt206x.js → wellknown-gftt206x.js} +0 -0
  763. /package/dist/chunks/{state-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{state-hk9envan.js → wellknown-hk9envan.js} +0 -0
  765. /package/dist/chunks/{state-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{state-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{state-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{state-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{state-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{state-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{state-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{state-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{state-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{state-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{state-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{state-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{state-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{state-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{state-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{state-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{state-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{state-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{state-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{state-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{state-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{state-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{state-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{state-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{state-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{state-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{state-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{state-x61499pn.js → wellknown-x61499pn.js} +0 -0
  793. /package/dist/chunks/{state-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{state-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{state-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{state-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{state-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{state-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service76
3
- } from "./state-xcd3tayp.js";
2
+ Service80
3
+ } from "./wellknown-wckr6wjf.js";
4
4
  import {
5
- Service74
6
- } from "./state-vg6qrb8m.js";
5
+ Service40
6
+ } from "./wellknown-354df1dc.js";
7
7
  import {
8
- Service15,
8
+ Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./state-jzgb5xky.js";
11
+ } from "./wellknown-v0kzg6mz.js";
12
12
  import {
13
- Service13
14
- } from "./state-vfgebdsx.js";
13
+ Service74
14
+ } from "./wellknown-768rm808.js";
15
15
  import {
16
- Service56
17
- } from "./state-x1c67pw4.js";
16
+ Service67
17
+ } from "./wellknown-0q1f136w.js";
18
18
  import {
19
- Service14,
19
+ Service17,
20
20
  resolvePath2
21
- } from "./state-b3x448qn.js";
21
+ } from "./wellknown-2x9aqbrw.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./state-6prwharc.js";
24
+ } from "./wellknown-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./state-9rqn6x4v.js";
27
+ } from "./wellknown-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input5,
34
- Output: () => Output5,
35
- Plugin: () => Plugin23,
36
- name: () => name5
33
+ Input: () => Input10,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin31,
36
+ name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name5 = "edit";
43
- var Input5 = Schema.Struct({
42
+ var name10 = "edit";
43
+ var Input10 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin23 = {
106
+ var Plugin31 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service14;
110
- const fileMutation = yield* Service15;
111
- const environment = yield* Service74;
112
- const formatter = yield* Service13;
113
- const location = yield* Service76;
114
- const permission = yield* Service56;
109
+ const access = yield* Service17;
110
+ const fileMutation = yield* Service13;
111
+ const environment = yield* Service40;
112
+ const formatter = yield* Service74;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service67;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name5,
116
+ name: name10,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input5,
120
- output: Output5,
119
+ input: Input10,
120
+ output: Output7,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin23 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name5, Input5, Output5, Plugin23, exports_edit };
197
+ export { name10, Input10, Output7, Plugin31, exports_edit };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
10
- Info: () => Info20,
9
+ ConfigPermissionV1: () => exports_permission,
10
+ Info: () => Info11,
11
11
  Object: () => Object2,
12
- Rule: () => Rule3
12
+ Rule: () => Rule2
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule3),
20
- edit: Schema.optional(Rule3),
21
- glob: Schema.optional(Rule3),
22
- grep: Schema.optional(Rule3),
23
- list: Schema.optional(Rule3),
24
- bash: Schema.optional(Rule3),
25
- task: Schema.optional(Rule3),
26
- external_directory: Schema.optional(Rule3),
19
+ read: Schema.optional(Rule2),
20
+ edit: Schema.optional(Rule2),
21
+ glob: Schema.optional(Rule2),
22
+ grep: Schema.optional(Rule2),
23
+ list: Schema.optional(Rule2),
24
+ bash: Schema.optional(Rule2),
25
+ task: Schema.optional(Rule2),
26
+ external_directory: Schema.optional(Rule2),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule3),
28
+ webfetch: Schema.optional(Rule2),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule3),
30
+ lsp: Schema.optional(Rule2),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule3)
33
- }), [Schema.Record(Schema.String, Rule3)]);
32
+ skill: Schema.optional(Rule2)
33
+ }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info20 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info11 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule3, Info20, exports_permission2 };
41
+ export { Action2, Object2, Rule2, Info11, exports_permission };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin29,
11
+ Plugin: () => Plugin23,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin29 = {
67
+ var Plugin23 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin29 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin29, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin23, exports_opencode };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service66
3
- } from "./state-etzxwssw.js";
2
+ Service38
3
+ } from "./wellknown-ns267dy3.js";
4
4
  import {
5
- Service37
6
- } from "./state-fhff0x2d.js";
5
+ Service72
6
+ } from "./wellknown-q58mka6k.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-qsdy395h.js";
9
+ } from "./wellknown-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./wellknown-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin4
18
+ Plugin: () => Plugin12
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin4 = define({
22
+ var Plugin12 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service66;
26
- const image = yield* Service37;
25
+ const config = yield* Service38;
26
+ const image = yield* Service72;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin4 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin4, exports_image };
46
+ export { Plugin12, exports_image };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./state-r11gfdxy.js";
4
+ } from "./wellknown-h09p1vgn.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./state-wh176n5n.js";
8
+ } from "./wellknown-wh176n5n.js";
9
9
  import {
10
- Service76,
11
- node80
12
- } from "./state-xcd3tayp.js";
10
+ Service80,
11
+ node84
12
+ } from "./wellknown-wckr6wjf.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./state-9sh4wc5j.js";
15
+ } from "./wellknown-9sh4wc5j.js";
16
16
  import {
17
- Service67,
18
- node70
19
- } from "./state-4238gvvk.js";
17
+ Service39,
18
+ node42
19
+ } from "./wellknown-bfqjkbr4.js";
20
20
  import {
21
- node18
22
- } from "./state-cv56zjsy.js";
21
+ node23
22
+ } from "./wellknown-ax5feq3k.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./state-cwa6csj7.js";
24
+ Service7,
25
+ node9
26
+ } from "./wellknown-c765mh8b.js";
27
27
  import {
28
28
  __export
29
- } from "./state-9rqn6x4v.js";
29
+ } from "./wellknown-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service3,
36
- node: () => node4
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service3 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service3, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service67;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service39;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
- const policy = yield* Service12;
51
+ const policy = yield* Service7;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service3.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node4 = makeLocationNode({
106
- service: Service3,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node70, FSUtil.node, node80, node86, node87, node18, node14]
108
+ deps: [node42, FSUtil.node, node84, node86, node87, node23, node9]
109
109
  });
110
110
 
111
- export { Service3, node4, exports_location_watcher };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service42
3
- } from "./state-sxzvkvgj.js";
2
+ Service46
3
+ } from "./wellknown-w21bzq9q.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./state-9sh4wc5j.js";
6
+ } from "./wellknown-9sh4wc5j.js";
7
7
  import {
8
- Service64
9
- } from "./state-wh8p5p12.js";
8
+ Service36
9
+ } from "./wellknown-wpsrzqaa.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./state-vzs5sf6e.js";
12
+ } from "./wellknown-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./wellknown-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service42;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service64), instances.provide(input.session));
25
+ const instances = yield* Service46;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID10
3
- } from "./state-hgzmshwk.js";
2
+ ID12
3
+ } from "./wellknown-dtq5dwqq.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-xx0efrt7.js";
3
+ } from "./wellknown-bqar0n6y.js";
4
4
  import {
5
5
  Service83
6
- } from "./state-r11gfdxy.js";
6
+ } from "./wellknown-h09p1vgn.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./state-byw7mfcf.js";
10
+ } from "./wellknown-henaaq5n.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./state-e9akvjhf.js";
14
+ } from "./wellknown-wj3fzgk4.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./state-pjvnvgmy.js";
18
+ } from "./wellknown-pjvnvgmy.js";
19
19
  import {
20
- ID11,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./state-chasyyfh.js";
23
+ } from "./wellknown-dbf65cva.js";
24
24
  import {
25
25
  get5
26
- } from "./state-54ma36ye.js";
26
+ } from "./wellknown-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID11.openai);
184
+ const item = providers.get(ID13.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID11.openai)) {
203
+ for (const model of models.list(ID13.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,12 +231,12 @@ var OpenAIPlugin2 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID11.openai });
234
+ }), { providerID: ID13.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID11.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
241
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./state-x1c67pw4.js";
3
+ } from "./wellknown-0q1f136w.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin44
12
+ Plugin: () => Plugin43
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin44 = define({
32
+ var Plugin43 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin44, exports_plan };
109
+ export { Plugin43, exports_plan };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./state-r11gfdxy.js";
4
+ } from "./wellknown-h09p1vgn.js";
5
5
  import {
6
6
  Event19,
7
7
  Service78,
8
8
  node82
9
- } from "./state-byw7mfcf.js";
9
+ } from "./wellknown-henaaq5n.js";
10
10
  import {
11
- Service67,
12
- node70
13
- } from "./state-4238gvvk.js";
11
+ Service39,
12
+ node42
13
+ } from "./wellknown-bfqjkbr4.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./state-922hggd3.js";
16
+ } from "./wellknown-922hggd3.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./state-xcd3tayp.js";
18
+ Service80,
19
+ node84
20
+ } from "./wellknown-wckr6wjf.js";
21
21
  import {
22
22
  substitute2
23
- } from "./state-s4enseaf.js";
23
+ } from "./wellknown-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./state-m67aag9e.js";
26
+ } from "./wellknown-wt5vxt9k.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./state-wfwxzv8g.js";
30
+ } from "./wellknown-q07vqkz7.js";
31
31
  import {
32
32
  plan2
33
- } from "./state-j56e64zr.js";
33
+ } from "./wellknown-j56e64zr.js";
34
34
  import {
35
- Service68,
36
- Event15,
37
- node71
38
- } from "./state-cgpscxj9.js";
35
+ Service65,
36
+ Event13,
37
+ node69
38
+ } from "./wellknown-bv20hq7b.js";
39
39
  import {
40
40
  __export
41
- } from "./state-9rqn6x4v.js";
41
+ } from "./wellknown-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service66,
47
+ Options: () => Options6,
48
+ Service: () => Service38,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer23,
53
- node: () => node69,
52
+ layer: () => layer16,
53
+ node: () => node41,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options6 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service66 extends Context.Service()("@opencode/Config") {
74
+ class Service38 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service66, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service38, service), Context.add(Test2, service));
93
93
  }));
94
- var layer23 = (options) => Layer.effect(Service66, Effect.gen(function* () {
94
+ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service76;
97
- const watcher = yield* Service67;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service39;
98
98
  const bus = yield* Service83;
99
99
  const credentials = yield* Service78;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service68;
101
+ const wellknown = yield* Service65;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -222,7 +222,7 @@ var layer23 = (options) => Layer.effect(Service66, Effect.gen(function* () {
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
224
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer23 = (options) => Layer.effect(Service66, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service66.of({
253
+ return Service38.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer23 = (options) => Layer.effect(Service66, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured8(options) {
265
+ function configured6(options) {
266
266
  return makeLocationNode({
267
- service: Service66,
268
- layer: layer23(options),
269
- deps: [node70, node87, FSUtil.node, Global.node, node80, node82, node71]
267
+ service: Service38,
268
+ layer: layer16(options),
269
+ deps: [node42, node87, FSUtil.node, Global.node, node84, node82, node69]
270
270
  });
271
271
  }
272
- var node69 = configured8();
272
+ var node41 = configured6();
273
273
 
274
- export { latest2, Options7, Service66, Test2, testLayer2, layer23, configured8, node69, exports_config };
274
+ export { latest2, Options6, Service38, Test2, testLayer2, layer16, configured6, node41, exports_config };