@opencode/core 0.0.0-dev-21049 → 0.0.0-dev-21054

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{tool-92jqywd0.js → generate-01t0v2a1.js} +17 -17
  8. package/dist/chunks/{tool-tp63ett8.js → generate-05srcpjk.js} +8 -8
  9. package/dist/chunks/{tool-d0ge418f.js → generate-071n8q0k.js} +2 -2
  10. package/dist/chunks/{tool-vx1yezxz.js → generate-0anmdph3.js} +4 -4
  11. package/dist/chunks/{tool-1b7ejmxt.js → generate-0ap853b9.js} +8 -8
  12. package/dist/chunks/{tool-6g7e4dd5.js → generate-0bg0bx69.js} +9 -9
  13. package/dist/chunks/{tool-fcrkznn8.js → generate-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{tool-5ds65g7m.js → generate-0nk3877v.js} +153 -153
  15. package/dist/chunks/{tool-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{tool-d9rb3zvs.js → generate-1070ksmc.js} +70 -70
  17. package/dist/chunks/{tool-93jnn70z.js → generate-1bmjn0qh.js} +8 -8
  18. package/dist/chunks/{tool-qa5pp94n.js → generate-1h4e0rj0.js} +8 -8
  19. package/dist/chunks/{tool-09qqh49h.js → generate-1h971vmj.js} +26 -26
  20. package/dist/chunks/{tool-gv51xe32.js → generate-1k5dztrp.js} +16 -16
  21. package/dist/chunks/{tool-cnrvnbz5.js → generate-1n6yzk0h.js} +28 -28
  22. package/dist/chunks/{tool-12t6z3cz.js → generate-1r2e3bq1.js} +1 -1
  23. package/dist/chunks/{tool-m01k28hg.js → generate-1vekecep.js} +20 -20
  24. package/dist/chunks/{tool-khmqacep.js → generate-1w2wqhfv.js} +4 -4
  25. package/dist/chunks/{tool-87b0tycv.js → generate-2hy9kqsr.js} +11 -11
  26. package/dist/chunks/{tool-47bgsghd.js → generate-2mx25k6g.js} +3 -3
  27. package/dist/chunks/{tool-f8c51dk5.js → generate-2vzrqptq.js} +13 -13
  28. package/dist/chunks/{tool-ehyjreag.js → generate-2wwmqsg4.js} +21 -21
  29. package/dist/chunks/{tool-afrtgck4.js → generate-3ewed21c.js} +4 -4
  30. package/dist/chunks/{tool-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{tool-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{tool-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{tool-eeaf82dq.js → generate-3rtxz4nr.js} +8 -8
  34. package/dist/chunks/{tool-5kpd3qqk.js → generate-3sedkwj5.js} +3 -3
  35. package/dist/chunks/{tool-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{tool-fkpfeb1d.js → generate-3tnvxzxk.js} +27 -27
  37. package/dist/chunks/{tool-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{tool-jcc9efy7.js → generate-3w9g8mjh.js} +15 -15
  39. package/dist/chunks/{tool-nck54nhp.js → generate-3wv0f6jd.js} +20 -20
  40. package/dist/chunks/{tool-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{tool-jb4mrxfg.js → generate-40ghg7kt.js} +17 -17
  42. package/dist/chunks/{tool-c29z7hcx.js → generate-4cqhey0z.js} +29 -29
  43. package/dist/chunks/{tool-mx9vqzsb.js → generate-4mwpykj0.js} +6 -6
  44. package/dist/chunks/{tool-95f8ca4q.js → generate-4pw4dpny.js} +13 -13
  45. package/dist/chunks/{tool-54ma36ye.js → generate-54ma36ye.js} +1 -1
  46. package/dist/chunks/{tool-5kmqhqkx.js → generate-54t6wcfs.js} +14 -14
  47. package/dist/chunks/{tool-87t3sg69.js → generate-5c4744th.js} +10 -10
  48. package/dist/chunks/{tool-6yz0wx8n.js → generate-5fykfdj7.js} +5 -5
  49. package/dist/chunks/{tool-kwh0g9yr.js → generate-5j0rxhfv.js} +6 -6
  50. package/dist/chunks/{tool-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{tool-376dj1j3.js → generate-5n9j5wtj.js} +10 -10
  52. package/dist/chunks/{tool-70h0erza.js → generate-5pcd22tw.js} +35 -35
  53. package/dist/chunks/{tool-xa2yqved.js → generate-5q337x67.js} +20 -20
  54. package/dist/chunks/{tool-4fjma7m8.js → generate-5vamn5f0.js} +16 -16
  55. package/dist/chunks/{tool-kp9fp1hg.js → generate-63tw8ewp.js} +27 -27
  56. package/dist/chunks/{tool-r6ewd7yw.js → generate-69j36hsy.js} +11 -11
  57. package/dist/chunks/{tool-gpvphjq8.js → generate-6dsr17hj.js} +7 -7
  58. package/dist/chunks/{tool-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{tool-pf9eybg4.js → generate-6xj5atjz.js} +17 -17
  60. package/dist/chunks/{tool-fmabef4g.js → generate-7097t0y6.js} +30 -30
  61. package/dist/chunks/{tool-v5qvjexb.js → generate-71a08fe0.js} +4 -4
  62. package/dist/chunks/{tool-yd6x1vtb.js → generate-72hthxnt.js} +15 -15
  63. package/dist/chunks/{tool-x2a7tbvm.js → generate-76anbyf9.js} +25 -25
  64. package/dist/chunks/{tool-775gj3j1.js → generate-775gj3j1.js} +2 -2
  65. package/dist/chunks/{tool-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{tool-yyptd6zt.js → generate-7csh27a2.js} +8 -8
  67. package/dist/chunks/{tool-cwq5cw92.js → generate-7knbdkcv.js} +6 -6
  68. package/dist/chunks/{tool-1hz0wgam.js → generate-7m5zb45r.js} +22 -22
  69. package/dist/chunks/{tool-0nxben1n.js → generate-7s875pzt.js} +35 -35
  70. package/dist/chunks/{tool-8f721ffb.js → generate-7wr00f7v.js} +2 -2
  71. package/dist/chunks/{tool-k7b35hhb.js → generate-82q34vh5.js} +1 -1
  72. package/dist/chunks/{tool-84txncab.js → generate-84txncab.js} +1 -1
  73. package/dist/chunks/{tool-tcezcvh9.js → generate-89znhe33.js} +4 -4
  74. package/dist/chunks/{tool-kkcq69qv.js → generate-8b7vdg12.js} +22 -22
  75. package/dist/chunks/{tool-8022akpp.js → generate-8gwrms8p.js} +30 -30
  76. package/dist/chunks/{tool-gg52rjyc.js → generate-8gzbm524.js} +21 -21
  77. package/dist/chunks/{tool-mbdexebc.js → generate-8m5nbx44.js} +9 -9
  78. package/dist/chunks/{tool-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{tool-btsvt50k.js → generate-8pmds7gm.js} +8 -8
  80. package/dist/chunks/{tool-0qrpzpdx.js → generate-8vb5d0k9.js} +11 -11
  81. package/dist/chunks/{tool-52zr48d6.js → generate-8z19v7kn.js} +18 -18
  82. package/dist/chunks/{tool-j09zfasm.js → generate-91qna3x0.js} +3 -3
  83. package/dist/chunks/{tool-m1z5ek08.js → generate-96kj8cwg.js} +8 -8
  84. package/dist/chunks/{tool-t0stdxg1.js → generate-9bqxbpd3.js} +18 -18
  85. package/dist/chunks/{tool-0eyv36ts.js → generate-9cgfz7h7.js} +36 -36
  86. package/dist/chunks/{tool-5ezpm4ww.js → generate-9dsttw4z.js} +15 -15
  87. package/dist/chunks/{tool-t27cpqqf.js → generate-9jbscvjb.js} +11 -11
  88. package/dist/chunks/generate-9zdhvgqs.js +18 -0
  89. package/dist/chunks/{tool-e0f7tvrt.js → generate-a4x9zvh4.js} +28 -28
  90. package/dist/chunks/{tool-r0b0zdb7.js → generate-a9bxyrk7.js} +19 -19
  91. package/dist/chunks/{tool-cyt5dtwd.js → generate-agxmfjyz.js} +12 -12
  92. package/dist/chunks/{tool-9rpqzg1a.js → generate-ahpvh0qh.js} +15 -15
  93. package/dist/chunks/{tool-dp9e102f.js → generate-am1pfj1j.js} +16 -16
  94. package/dist/chunks/{tool-enceqnms.js → generate-amwffs47.js} +11 -11
  95. package/dist/chunks/{tool-bhwamkf8.js → generate-apjfvd4b.js} +15 -15
  96. package/dist/chunks/{tool-4k48dskj.js → generate-ar5mc61q.js} +45 -45
  97. package/dist/chunks/{tool-xjjxg6fg.js → generate-b3n2m6z1.js} +10 -10
  98. package/dist/chunks/{tool-2z796rds.js → generate-b4xz3rj2.js} +24 -24
  99. package/dist/chunks/{tool-t7t1s02j.js → generate-bkxy3fmj.js} +17 -17
  100. package/dist/chunks/{tool-espax8zg.js → generate-bp8fbaqn.js} +4 -4
  101. package/dist/chunks/{tool-jvtxec42.js → generate-bq0dpqvb.js} +24 -24
  102. package/dist/chunks/{tool-bnpshxh6.js → generate-bydx84xj.js} +10 -10
  103. package/dist/chunks/{tool-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
  104. package/dist/chunks/{tool-vgsjm2js.js → generate-ccccg9p9.js} +12 -12
  105. package/dist/chunks/{tool-xcd5qje4.js → generate-cfh86604.js} +28 -28
  106. package/dist/chunks/{tool-fprpd8rr.js → generate-cv2pnjjr.js} +9 -9
  107. package/dist/chunks/{tool-b44y2phb.js → generate-cw4qzwxd.js} +29 -29
  108. package/dist/chunks/{tool-rxva3spn.js → generate-d46vhdw9.js} +17 -17
  109. package/dist/chunks/{tool-z44d18ne.js → generate-d667439x.js} +11 -11
  110. package/dist/chunks/{tool-xahevxwt.js → generate-d8ej1z2n.js} +22 -22
  111. package/dist/chunks/{tool-vsp43hx6.js → generate-d92v4ckc.js} +11 -11
  112. package/dist/chunks/{tool-4ka8hhjj.js → generate-df1qmfr6.js} +5 -5
  113. package/dist/chunks/{tool-q9099wq0.js → generate-dhcb13vn.js} +11 -11
  114. package/dist/chunks/{tool-49zdgxhw.js → generate-dk4hwhdr.js} +29 -29
  115. package/dist/chunks/{tool-dqxsqydv.js → generate-dqxsqydv.js} +1 -1
  116. package/dist/chunks/{tool-57b9ws8p.js → generate-drwq78ky.js} +5 -5
  117. package/dist/chunks/{tool-9b00c1fb.js → generate-dtqg9ce1.js} +5 -5
  118. package/dist/chunks/{tool-4704tty5.js → generate-dvkgpknc.js} +2 -2
  119. package/dist/chunks/{tool-g8a3dkpa.js → generate-e9601x98.js} +18 -18
  120. package/dist/chunks/{tool-t550f9t1.js → generate-eaj1djv9.js} +8 -8
  121. package/dist/chunks/{tool-cqw1m3c7.js → generate-eddengze.js} +17 -17
  122. package/dist/chunks/{tool-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{tool-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{tool-vq6g8cn6.js → generate-enkjvn5q.js} +15 -15
  125. package/dist/chunks/{tool-en4jjy2t.js → generate-esegdgmk.js} +25 -25
  126. package/dist/chunks/{tool-560byads.js → generate-evk6zkcq.js} +4 -4
  127. package/dist/chunks/{tool-jqsqbmjz.js → generate-evsfckqf.js} +41 -41
  128. package/dist/chunks/{tool-yp2x3t23.js → generate-f2n192rq.js} +4 -4
  129. package/dist/chunks/{tool-ga7mt0se.js → generate-f4363qyc.js} +12 -12
  130. package/dist/chunks/{tool-m6vhnv41.js → generate-f81ndarb.js} +10 -10
  131. package/dist/chunks/{tool-r9z49qnw.js → generate-faa69vmx.js} +22 -22
  132. package/dist/chunks/generate-fbenq8x7.js +253 -0
  133. package/dist/chunks/{tool-wd141nz2.js → generate-fmrd1syc.js} +24 -24
  134. package/dist/chunks/{tool-s2j6jbe4.js → generate-frnezgjg.js} +11 -11
  135. package/dist/chunks/{tool-6jpn1xds.js → generate-g5wck6q5.js} +1 -1
  136. package/dist/chunks/{tool-5gq9j52j.js → generate-g86p3sbb.js} +17 -17
  137. package/dist/chunks/{tool-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{tool-47jkzegy.js → generate-gj71zhbs.js} +5 -5
  139. package/dist/chunks/{tool-7b2ys08c.js → generate-gkje6q8k.js} +10 -10
  140. package/dist/chunks/{tool-nncsyyge.js → generate-gm7mr6jh.js} +12 -12
  141. package/dist/chunks/{tool-e0yqexzb.js → generate-gsmxa9xr.js} +57 -57
  142. package/dist/chunks/{tool-n19kh25r.js → generate-gwaf4cyv.js} +9 -9
  143. package/dist/chunks/{tool-g6q255vp.js → generate-gxb21q80.js} +29 -29
  144. package/dist/chunks/{tool-jabbs2pc.js → generate-h0snx40f.js} +46 -46
  145. package/dist/chunks/{tool-xkgdf0k8.js → generate-h270dq38.js} +20 -20
  146. package/dist/chunks/{tool-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{tool-h7s7r6s9.js → generate-h7s7r6s9.js} +2 -2
  148. package/dist/chunks/{tool-zsr4wwhv.js → generate-h9wp8z5w.js} +4 -4
  149. package/dist/chunks/{tool-h28ky92f.js → generate-hahwqeq8.js} +24 -24
  150. package/dist/chunks/{tool-wqm3ja7g.js → generate-hd83dh2f.js} +37 -37
  151. package/dist/chunks/{tool-2th9fvys.js → generate-hgbd7cxk.js} +19 -19
  152. package/dist/chunks/{tool-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{tool-0dy26cax.js → generate-hhesmccg.js} +33 -33
  154. package/dist/chunks/{tool-jjw2fst0.js → generate-hn6a15xx.js} +11 -11
  155. package/dist/chunks/{tool-230ecda4.js → generate-j3gc35s1.js} +9 -9
  156. package/dist/chunks/{tool-9pa8tak9.js → generate-j52rd44q.js} +2 -2
  157. package/dist/chunks/{tool-62jddv0q.js → generate-jdzprmf9.js} +94 -94
  158. package/dist/chunks/{tool-c00bz1vb.js → generate-jk8p456r.js} +15 -15
  159. package/dist/chunks/{tool-d43tgzm4.js → generate-jvvc3tfq.js} +9 -9
  160. package/dist/chunks/{tool-15zrfa03.js → generate-k16vc511.js} +3 -3
  161. package/dist/chunks/{tool-eh6ej367.js → generate-k1n0z3hy.js} +5 -5
  162. package/dist/chunks/{tool-n9axg7zh.js → generate-k3ep6trx.js} +4 -4
  163. package/dist/chunks/{tool-wpvb0vtd.js → generate-k4zyw2nm.js} +13 -13
  164. package/dist/chunks/{tool-tkwrxyh9.js → generate-k9jhgjja.js} +31 -31
  165. package/dist/chunks/{tool-n721bpxh.js → generate-ka08c8ay.js} +55 -55
  166. package/dist/chunks/{tool-0spfg2bb.js → generate-kc73d18f.js} +11 -11
  167. package/dist/chunks/{tool-mcgg1rg4.js → generate-kwb1v3vj.js} +8 -12
  168. package/dist/chunks/{tool-qdafbg7b.js → generate-kyyfcrk0.js} +88 -88
  169. package/dist/chunks/{tool-6mvkgxje.js → generate-m3s5jpc5.js} +5 -5
  170. package/dist/chunks/{tool-v4cvsrx9.js → generate-m8memjz6.js} +23 -23
  171. package/dist/chunks/{tool-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{tool-maspj1v3.js → generate-maspj1v3.js} +1 -1
  173. package/dist/chunks/{tool-jc5z6esd.js → generate-mm8rx0zc.js} +11 -11
  174. package/dist/chunks/{tool-70qn9w1v.js → generate-mnbgc3d3.js} +22 -22
  175. package/dist/chunks/{tool-mqqhst8y.js → generate-mv3hx7wz.js} +4 -4
  176. package/dist/chunks/{tool-x661k3y3.js → generate-mxvxcxwy.js} +4 -4
  177. package/dist/chunks/{tool-7myztyss.js → generate-n2n11v5a.js} +47 -47
  178. package/dist/chunks/{tool-s2b5phw1.js → generate-n52r0562.js} +19 -19
  179. package/dist/chunks/{tool-prg7pynr.js → generate-nb3f6w45.js} +3 -3
  180. package/dist/chunks/{tool-fwa0h3zy.js → generate-nkgy7qzc.js} +37 -37
  181. package/dist/chunks/{tool-v42hp0t0.js → generate-nne9m83r.js} +53 -53
  182. package/dist/chunks/{tool-vzjqqmke.js → generate-nyf3r9sv.js} +13 -13
  183. package/dist/chunks/{tool-b92e8n45.js → generate-p11w4b9k.js} +13 -13
  184. package/dist/chunks/{tool-pa8pe2x7.js → generate-p4mj4rdp.js} +8 -8
  185. package/dist/chunks/{tool-6hh8tjw2.js → generate-pbfwh0cy.js} +7 -7
  186. package/dist/chunks/{tool-5714egxe.js → generate-pg92tjkz.js} +3 -3
  187. package/dist/chunks/{tool-15qc111y.js → generate-pgnbkjx3.js} +11 -11
  188. package/dist/chunks/{tool-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{tool-pknna89w.js → generate-pknna89w.js} +1 -1
  190. package/dist/chunks/{tool-143qq2q9.js → generate-ppw6hb80.js} +3 -3
  191. package/dist/chunks/{tool-ktw141zw.js → generate-pqjexccd.js} +9 -9
  192. package/dist/chunks/{tool-29eykq4v.js → generate-pvrvkbhh.js} +15 -15
  193. package/dist/chunks/{tool-3cdf983x.js → generate-pxy8n8h3.js} +31 -31
  194. package/dist/chunks/{tool-jmsw07fh.js → generate-q0ned2s3.js} +6 -6
  195. package/dist/chunks/{tool-twvynhvt.js → generate-q2csr2es.js} +9 -9
  196. package/dist/chunks/{tool-e58xrjgm.js → generate-q6bbd52s.js} +14 -14
  197. package/dist/chunks/{tool-fdv8dmm1.js → generate-qaqya2pp.js} +16 -16
  198. package/dist/chunks/{tool-qmqgtz8f.js → generate-qmqgtz8f.js} +2 -2
  199. package/dist/chunks/{tool-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{tool-qsdy395h.js → generate-qsdy395h.js} +1 -1
  201. package/dist/chunks/{tool-9z41w441.js → generate-qt9t7q4b.js} +9 -9
  202. package/dist/chunks/{tool-sgs6tqcg.js → generate-qv7zpqjy.js} +18 -18
  203. package/dist/chunks/{tool-98wwwshm.js → generate-qy68wck0.js} +20 -20
  204. package/dist/chunks/{tool-vdnkbznm.js → generate-r1bjv49t.js} +37 -37
  205. package/dist/chunks/{tool-wwx93a2b.js → generate-r2p171t1.js} +14 -14
  206. package/dist/chunks/{tool-g686f6pq.js → generate-r70na3yp.js} +9 -9
  207. package/dist/chunks/{tool-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{tool-rert0e01.js → generate-rert0e01.js} +2 -2
  209. package/dist/chunks/{tool-xkskqrtp.js → generate-rgnm4ne9.js} +46 -46
  210. package/dist/chunks/{tool-jh7q4nc1.js → generate-rh34kz5h.js} +20 -20
  211. package/dist/chunks/{tool-jpakg8mx.js → generate-rhpcbsgm.js} +13 -12
  212. package/dist/chunks/{tool-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{tool-w92k2e0p.js → generate-rkprpv83.js} +8 -8
  214. package/dist/chunks/{tool-f8a4hwr2.js → generate-rnkfkjx7.js} +9 -9
  215. package/dist/chunks/{tool-vn4qg1y1.js → generate-ry3xr853.js} +308 -308
  216. package/dist/chunks/{tool-2bekqz3a.js → generate-s375a249.js} +17 -17
  217. package/dist/chunks/{tool-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{tool-pbzbjmff.js → generate-sayz7w61.js} +31 -31
  219. package/dist/chunks/{tool-e8ajjxsc.js → generate-se19yq23.js} +30 -30
  220. package/dist/chunks/{tool-0n5ns49k.js → generate-sg61y373.js} +4 -4
  221. package/dist/chunks/{tool-wyszaa0p.js → generate-sgv997by.js} +23 -23
  222. package/dist/chunks/{tool-vw9027f9.js → generate-sk0624bk.js} +45 -45
  223. package/dist/chunks/{tool-3pytycam.js → generate-sp3pgdf2.js} +3 -3
  224. package/dist/chunks/{tool-dvr9mxdx.js → generate-stjjdw20.js} +6 -6
  225. package/dist/chunks/{tool-3wfexhse.js → generate-sw9b0dc0.js} +13 -13
  226. package/dist/chunks/{tool-sxcaecc0.js → generate-sxcaecc0.js} +1 -1
  227. package/dist/chunks/{tool-syv4x271.js → generate-syv4x271.js} +1 -1
  228. package/dist/chunks/{tool-m22hh5g2.js → generate-t05b08ea.js} +32 -32
  229. package/dist/chunks/{tool-1w2t7fyn.js → generate-t64a1aj0.js} +4 -4
  230. package/dist/chunks/generate-t68wqmfr.js +26 -0
  231. package/dist/chunks/{tool-j49xa6cy.js → generate-t9vjgvv8.js} +1 -1
  232. package/dist/chunks/{tool-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{tool-axr9kwmj.js → generate-tc10cd1e.js} +50 -50
  234. package/dist/chunks/{tool-tdstcens.js → generate-tdstcens.js} +1 -1
  235. package/dist/chunks/{tool-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
  236. package/dist/chunks/{tool-jgxf7b5z.js → generate-tn5v4cx9.js} +3 -3
  237. package/dist/chunks/{tool-tyytaxap.js → generate-tyytaxap.js} +1 -1
  238. package/dist/chunks/{tool-z082bpte.js → generate-tzm94any.js} +20 -20
  239. package/dist/chunks/{tool-v4nfzjvf.js → generate-v4nfzjvf.js} +1 -1
  240. package/dist/chunks/{tool-g5j27e7f.js → generate-v6fdb8n6.js} +9 -9
  241. package/dist/chunks/{tool-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{tool-yy7ctzsd.js → generate-ve62rjje.js} +19 -19
  243. package/dist/chunks/{tool-wn04sytp.js → generate-veh1f6j0.js} +7 -7
  244. package/dist/chunks/{tool-veqvce7d.js → generate-veqvce7d.js} +1 -1
  245. package/dist/chunks/{tool-a6j5r86g.js → generate-vk8wgjyj.js} +5 -5
  246. package/dist/chunks/{tool-99va16k7.js → generate-vzpgjgke.js} +22 -22
  247. package/dist/chunks/{tool-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{tool-cdb4d5hn.js → generate-w3bj1jer.js} +8 -8
  249. package/dist/chunks/{tool-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{tool-7kfb2kjh.js → generate-w5td0veh.js} +12 -12
  251. package/dist/chunks/{tool-6yybhc5e.js → generate-w96edct9.js} +3 -3
  252. package/dist/chunks/{tool-wd87259q.js → generate-wd87259q.js} +1 -1
  253. package/dist/chunks/{tool-tyjrg911.js → generate-wk5z6jzv.js} +9 -9
  254. package/dist/chunks/{tool-w6v0a0a0.js → generate-wrx4sjkw.js} +14 -14
  255. package/dist/chunks/{tool-11w9b7qd.js → generate-wx35xcjk.js} +27 -27
  256. package/dist/chunks/{tool-qbxqra2w.js → generate-x5rxe7a3.js} +4 -4
  257. package/dist/chunks/{tool-7grdpmn4.js → generate-x7wx9fmc.js} +34 -34
  258. package/dist/chunks/{tool-pr04h4tn.js → generate-xds5mpa8.js} +3 -3
  259. package/dist/chunks/{tool-dx4kydrk.js → generate-xfzg7nd9.js} +9 -9
  260. package/dist/chunks/{tool-s1s9gt8f.js → generate-xt8h6gjm.js} +16 -16
  261. package/dist/chunks/{tool-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{tool-fr6f0teb.js → generate-y5hem6kv.js} +26 -26
  263. package/dist/chunks/{tool-f0nz223j.js → generate-y71avatq.js} +4 -4
  264. package/dist/chunks/{tool-s43hmkm2.js → generate-yf8a7cch.js} +6 -6
  265. package/dist/chunks/{tool-he27pt63.js → generate-yqc6bamn.js} +1 -1
  266. package/dist/chunks/{tool-t3zshges.js → generate-yv7jpcsm.js} +9 -9
  267. package/dist/chunks/{tool-ywt8jp22.js → generate-ywt8jp22.js} +2 -2
  268. package/dist/chunks/{tool-exasynrg.js → generate-yy7d5g6b.js} +3 -3
  269. package/dist/chunks/{tool-a79qvj6d.js → generate-yytdzks0.js} +29 -29
  270. package/dist/chunks/{tool-9zt3hyj2.js → generate-yzd8hexf.js} +25 -25
  271. package/dist/chunks/{tool-61xwzbr6.js → generate-z07grcde.js} +31 -31
  272. package/dist/chunks/{tool-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{tool-1gjkdexd.js → generate-z795g1hq.js} +10 -10
  274. package/dist/chunks/{tool-teddrkej.js → generate-zawpzr3y.js} +29 -29
  275. package/dist/chunks/{tool-jvf3yq6v.js → generate-zcrspsvn.js} +4 -4
  276. package/dist/chunks/{tool-n9asf4py.js → generate-zcs6gcpb.js} +21 -21
  277. package/dist/chunks/{tool-vb6sw3y2.js → generate-zn0jbbhx.js} +19 -19
  278. package/dist/chunks/{tool-djs19gy2.js → generate-zpmvc38s.js} +2 -2
  279. package/dist/chunks/{tool-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{tool-cmmdg65p.js → generate-zrq8kphx.js} +8 -8
  281. package/dist/chunks/{tool-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{tool-zyk1yjk8.js → generate-zyk1yjk8.js} +2 -2
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +9 -9
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +85 -85
  288. package/dist/config/discovery.js +86 -86
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +116 -118
  292. package/dist/config/plugin/command.js +205 -207
  293. package/dist/config/plugin/compaction.js +154 -156
  294. package/dist/config/plugin/compatibility.js +134 -136
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -119
  297. package/dist/config/plugin/image.js +116 -118
  298. package/dist/config/plugin/instruction.js +114 -116
  299. package/dist/config/plugin/location-watcher.js +116 -118
  300. package/dist/config/plugin/mcp.js +123 -125
  301. package/dist/config/plugin/policy.js +115 -117
  302. package/dist/config/plugin/provider.js +116 -118
  303. package/dist/config/plugin/reference.js +118 -120
  304. package/dist/config/plugin/shell.js +116 -118
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +135 -137
  307. package/dist/config/plugin/snapshot.js +116 -118
  308. package/dist/config/plugin/source.js +113 -115
  309. package/dist/config/plugin/tool-output.js +117 -119
  310. package/dist/config/plugin/websearch.js +115 -117
  311. package/dist/config/plugin/worktree.js +118 -120
  312. package/dist/config/variable.js +1 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -123
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +85 -85
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -368
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +91 -91
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +3 -3
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +76 -76
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +218 -220
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +101 -101
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +2 -2
  425. package/dist/formatter.js +89 -89
  426. package/dist/generate.js +107 -107
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +101 -101
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +357 -359
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +80 -80
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +136 -136
  460. package/dist/location-lifecycle.js +109 -109
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +354 -356
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +6 -6
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +111 -111
  467. package/dist/mcp/instructions.js +131 -131
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +101 -101
  472. package/dist/model-resolver.js +100 -100
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +105 -105
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +84 -84
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +92 -92
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +76 -76
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -213
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +329 -331
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +115 -117
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +116 -118
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +116 -118
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -115
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -116
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -114
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +113 -115
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +123 -125
  515. package/dist/plugin/provider/local.js +122 -124
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +125 -127
  520. package/dist/plugin/provider/openai.js +118 -120
  521. package/dist/plugin/provider/opencode.js +99 -99
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -117
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +125 -127
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +167 -169
  534. package/dist/plugin/sdk.js +78 -78
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +114 -116
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +99 -99
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +93 -93
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +137 -137
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -219
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +156 -156
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +81 -81
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -226
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +2 -2
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -166
  605. package/dist/session/shell.js +130 -132
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +75 -75
  609. package/dist/session/store.js +89 -89
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -207
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +213 -215
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +132 -134
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +109 -109
  625. package/dist/skill.js +116 -116
  626. package/dist/snapshot.js +91 -91
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +128 -128
  631. package/dist/tool/plugin/edit.js +122 -122
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +126 -126
  634. package/dist/tool/plugin/grep.js +126 -126
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +124 -124
  638. package/dist/tool/plugin/question.js +105 -105
  639. package/dist/tool/plugin/read.js +127 -127
  640. package/dist/tool/plugin/shell.js +208 -210
  641. package/dist/tool/plugin/skill.js +109 -109
  642. package/dist/tool/plugin/subagent.js +212 -214
  643. package/dist/tool/plugin/webfetch.js +112 -112
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +124 -124
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +12 -12
  650. package/dist/types/config/variable.d.ts +1 -43
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +23 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +86 -86
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +1 -1
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +80 -80
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/tool-q0xm7vwc.js +0 -25
  685. package/dist/chunks/tool-qc068m1q.js +0 -18
  686. package/dist/chunks/tool-qtqva6ax.js +0 -253
  687. package/dist/chunks/tool-y7mkpdv1.js +0 -26
  688. /package/dist/chunks/{tool-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{tool-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{tool-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{tool-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{tool-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{tool-24dcb14g.js → generate-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{tool-2710q6r3.js → generate-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{tool-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{tool-2bv980vf.js → generate-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{tool-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{tool-359p4xyc.js → generate-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{tool-3asan66x.js → generate-3asan66x.js} +0 -0
  700. /package/dist/chunks/{tool-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{tool-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{tool-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{tool-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{tool-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{tool-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{tool-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{tool-53557ph1.js → generate-53557ph1.js} +0 -0
  708. /package/dist/chunks/{tool-550bvhaj.js → generate-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{tool-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{tool-6prwharc.js → generate-6prwharc.js} +0 -0
  711. /package/dist/chunks/{tool-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{tool-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{tool-7m9af43g.js → generate-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{tool-822emrt2.js → generate-822emrt2.js} +0 -0
  715. /package/dist/chunks/{tool-84wd9syh.js → generate-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{tool-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{tool-8n3pysct.js → generate-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{tool-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{tool-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{tool-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{tool-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{tool-af5trqkr.js → generate-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{tool-afrmfg78.js → generate-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{tool-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{tool-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{tool-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{tool-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{tool-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{tool-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{tool-d9fn303g.js → generate-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{tool-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{tool-dajrwvna.js → generate-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{tool-dap0rakb.js → generate-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{tool-df08tz66.js → generate-df08tz66.js} +0 -0
  735. /package/dist/chunks/{tool-dy18nga0.js → generate-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{tool-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{tool-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{tool-ec1grn59.js → generate-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{tool-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{tool-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{tool-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{tool-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{tool-faypxj3z.js → generate-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{tool-fd410y7t.js → generate-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{tool-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{tool-g86h250q.js → generate-g86h250q.js} +0 -0
  747. /package/dist/chunks/{tool-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{tool-gftt206x.js → generate-gftt206x.js} +0 -0
  749. /package/dist/chunks/{tool-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{tool-hk9envan.js → generate-hk9envan.js} +0 -0
  751. /package/dist/chunks/{tool-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{tool-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{tool-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{tool-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{tool-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{tool-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{tool-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{tool-m18g726c.js → generate-m18g726c.js} +0 -0
  759. /package/dist/chunks/{tool-mp448xyj.js → generate-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{tool-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{tool-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{tool-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{tool-njntx4h6.js → generate-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{tool-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{tool-pyv0edze.js → generate-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{tool-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{tool-q74kybfr.js → generate-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{tool-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{tool-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{tool-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{tool-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{tool-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{tool-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{tool-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{tool-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{tool-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{tool-w803qqfp.js → generate-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{tool-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{tool-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{tool-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{tool-wtztk69x.js → generate-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{tool-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{tool-x61499pn.js → generate-x61499pn.js} +0 -0
  784. /package/dist/chunks/{tool-y44na4kk.js → generate-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{tool-y8f7s663.js → generate-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{tool-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{tool-ym463w8f.js → generate-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{tool-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{tool-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  Failed2
3
- } from "./tool-hgz4x7wa.js";
3
+ } from "./generate-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./tool-eej6y6fw.js";
6
+ } from "./generate-eej6y6fw.js";
7
7
  import {
8
8
  Service85,
9
9
  node89
10
- } from "./tool-jgxf7b5z.js";
10
+ } from "./generate-tn5v4cx9.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./tool-f0nz223j.js";
13
+ } from "./generate-y71avatq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
17
  node62
18
- } from "./tool-v4nfzjvf.js";
18
+ } from "./generate-v4nfzjvf.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./tool-faypxj3z.js";
21
+ } from "./generate-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./tool-9rqn6x4v.js";
24
+ } from "./generate-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID7,
31
- Info: () => Info11,
30
+ ID: () => ID10,
31
+ Info: () => Info17,
32
32
  NotFound: () => NotFound2,
33
33
  Service: () => Service59,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured8,
35
+ configured: () => configured9,
36
36
  node: () => node61
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID7 = Workspace.ID;
44
+ var ID10 = Workspace.ID;
45
45
 
46
- class Info11 extends Schema.Class("Workspace.Info")({
47
- id: ID7,
46
+ class Info17 extends Schema.Class("Workspace.Info")({
47
+ id: ID10,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,11 +52,11 @@ class Info11 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID7,
59
+ workspaceID: ID10,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
@@ -64,7 +64,7 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
64
64
 
65
65
  class Service59 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured8 = (options = {}) => makeGlobalNode({
67
+ var configured9 = (options = {}) => makeGlobalNode({
68
68
  service: Service59,
69
69
  layer: layer(options),
70
70
  deps: [node89, node62]
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info11({
89
+ const info = (row, binding) => new Info17({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -166,7 +166,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
167
  return Service59.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID7.create();
169
+ const workspaceID = input.id ?? ID10.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node61 = configured8();
245
+ var node61 = configured9();
246
246
 
247
- export { ID7, Info11, NotFound2, CreateConflict2, Service59, configured8, node61, exports_workspace };
247
+ export { ID10, Info17, NotFound2, CreateConflict2, Service59, configured9, node61, exports_workspace };
@@ -1,49 +1,49 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./tool-e58xrjgm.js";
2
+ Service84,
3
+ node88
4
+ } from "./generate-q6bbd52s.js";
5
5
  import {
6
- node66
7
- } from "./tool-70qn9w1v.js";
6
+ node41
7
+ } from "./generate-mnbgc3d3.js";
8
8
  import {
9
9
  Service4,
10
10
  node6
11
- } from "./tool-bhwamkf8.js";
11
+ } from "./generate-apjfvd4b.js";
12
12
  import {
13
- Service17
14
- } from "./tool-n19kh25r.js";
13
+ Service16
14
+ } from "./generate-gwaf4cyv.js";
15
15
  import {
16
- Service37
17
- } from "./tool-qc068m1q.js";
16
+ Service30
17
+ } from "./generate-9zdhvgqs.js";
18
18
  import {
19
- node16,
20
- ID2
21
- } from "./tool-xahevxwt.js";
19
+ node23,
20
+ ID3
21
+ } from "./generate-d8ej1z2n.js";
22
22
  import {
23
- Service6,
24
- node8
25
- } from "./tool-pa8pe2x7.js";
23
+ Service13,
24
+ node15
25
+ } from "./generate-p4mj4rdp.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./tool-vn4qg1y1.js";
30
+ } from "./generate-ry3xr853.js";
31
31
  import {
32
32
  make10,
33
33
  LoadError2
34
- } from "./tool-t27cpqqf.js";
34
+ } from "./generate-9jbscvjb.js";
35
35
  import {
36
36
  Updated2,
37
+ Service12,
38
+ node14
39
+ } from "./generate-p11w4b9k.js";
40
+ import {
37
41
  Service5,
38
42
  node7
39
- } from "./tool-b92e8n45.js";
40
- import {
41
- Service7,
42
- node9
43
- } from "./tool-tyjrg911.js";
43
+ } from "./generate-wk5z6jzv.js";
44
44
  import {
45
45
  __export
46
- } from "./tool-9rqn6x4v.js";
46
+ } from "./generate-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID2.make(plugin.id),
130
+ id: ID3.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service17;
141
- const registry = yield* Service37;
142
- const sdk = yield* Service5;
143
- const instance = yield* Service6;
140
+ const managed = yield* Service16;
141
+ const registry = yield* Service30;
142
+ const sdk = yield* Service12;
143
+ const instance = yield* Service13;
144
144
  const sources = yield* Service4;
145
145
  const modules = yield* make10();
146
- const bus = yield* Service82;
147
- const updates = yield* Service7;
146
+ const bus = yield* Service84;
147
+ const updates = yield* Service5;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node16,
224
- node7,
225
- node8,
223
+ node23,
224
+ node14,
225
+ node15,
226
226
  node6,
227
- node9,
228
- node85,
227
+ node7,
228
+ node88,
229
229
  Npm.node,
230
- node66,
230
+ node41,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service63
3
- } from "./tool-70qn9w1v.js";
2
+ Service38
3
+ } from "./generate-mnbgc3d3.js";
4
4
  import {
5
- Service79
6
- } from "./tool-dp9e102f.js";
5
+ Service80
6
+ } from "./generate-am1pfj1j.js";
7
7
  import {
8
- Service62
9
- } from "./tool-v42hp0t0.js";
8
+ Service37
9
+ } from "./generate-nne9m83r.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./tool-t550f9t1.js";
12
+ } from "./generate-eaj1djv9.js";
13
13
  import {
14
14
  File2,
15
- Service48
16
- } from "./tool-a79qvj6d.js";
15
+ Service83
16
+ } from "./generate-yytdzks0.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
@@ -34,14 +34,14 @@ import { HttpClient, HttpClientRequest } from "effect/http";
34
34
  var Plugin17 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service48;
37
+ const discovery = yield* Service83;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service62;
39
+ const config = yield* Service37;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service79;
44
- const watcher = yield* Service63;
43
+ const location = yield* Service80;
44
+ const watcher = yield* Service38;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./generate-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service13,
11
+ Service: () => Service8,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node15
13
+ node: () => node10
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service13, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service13.of({
66
+ return Service8.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service13, node15, exports_discovery };
155
+ export { Service8, node10, exports_discovery };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./tool-qfa1cgps.js";
3
+ } from "./generate-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./tool-rj3eygr5.js";
6
+ } from "./generate-rj3eygr5.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./generate-z5v4ffb3.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./tool-jgxf7b5z.js";
7
+ } from "./generate-tn5v4cx9.js";
8
8
  import {
9
- Service82,
10
- node85
11
- } from "./tool-e58xrjgm.js";
9
+ Service84,
10
+ node88
11
+ } from "./generate-q6bbd52s.js";
12
12
  import {
13
- Service81,
14
- node84
15
- } from "./tool-cyt5dtwd.js";
13
+ Service82,
14
+ node86
15
+ } from "./generate-agxmfjyz.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./tool-6g7e4dd5.js";
23
+ } from "./generate-0bg0bx69.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./tool-rj3eygr5.js";
27
+ } from "./generate-rj3eygr5.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./tool-sa8ekw3f.js";
30
+ } from "./generate-sa8ekw3f.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-9rqn6x4v.js";
33
+ } from "./generate-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info27,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node85,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID16 = ID17;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info27 = Info28;
62
+ var Info28 = Info29;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
65
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID16
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service80 extends Context.Service()("@opencode/Project") {
77
+ class Service81 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,11 +98,11 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service80, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service81;
103
+ const git = yield* Service82;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service82;
105
+ const bus = yield* Service84;
106
106
  const db = (yield* Service85).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event21.Updated, fromRow(changed));
115
+ yield* bus.publish(Event20.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID16.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
173
173
  if (!row)
174
174
  return yield* new NotFoundError11({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event21.Updated, project);
176
+ yield* bus.publish(Event20.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event21.Updated, fromRow(row));
187
+ yield* bus.publish(Event20.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID16.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID16.make(node) : undefined;
242
+ return node ? ID17.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID16.global,
251
+ id: id ?? ID17.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID16.global,
268
+ id: id ?? ID17.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID16.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event21.Updated, fromRow(row));
304
+ yield* bus.publish(Event20.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service80.of({ list, update, activate, resolve, sweep });
307
+ return Service81.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node83 = makeGlobalNode({
310
- service: Service80,
309
+ var node85 = makeGlobalNode({
310
+ service: Service81,
311
311
  layer,
312
- deps: [node85, node89, FSUtil.node, node84, AppProcess.node]
312
+ deps: [node88, node89, FSUtil.node, node86, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service80;
317
+ const project = yield* Service81;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node83]
320
+ deps: [node85]
321
321
  });
322
322
 
323
- export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service80, node83, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, sweepNode2, exports_project };